summaryrefslogtreecommitdiff
path: root/network/avahi
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-08-15 20:14:32 -0500
committerErik Hanson <erik@slackbuilds.org>2010-08-15 20:53:59 -0500
commit46a013f84c95497db89297bf4109da6b50de23a1 (patch)
treed99c12c46bd7259e1fa831add3dd3a5a4d25a030 /network/avahi
parentdc39d4e94da933d74caf789a04ef3d6ecbef616b (diff)
downloadslackbuilds-46a013f84c95497db89297bf4109da6b50de23a1.tar.gz
network/avahi: Updated for version 0.6.27.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/avahi')
-rw-r--r--network/avahi/avahi.SlackBuild21
-rw-r--r--network/avahi/avahi.info8
2 files changed, 14 insertions, 15 deletions
diff --git a/network/avahi/avahi.SlackBuild b/network/avahi/avahi.SlackBuild
index f5e39adf2a..5974a83141 100644
--- a/network/avahi/avahi.SlackBuild
+++ b/network/avahi/avahi.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=avahi
-VERSION=0.6.25
+VERSION=0.6.27
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,16 +54,16 @@ warn_accounts() {
echo " Something like this should suffice for most systems: "
echo " # groupadd -g 214 avahi"
echo " # useradd -u 214 -g 214 -c "Avahi" -d /dev/null -s /bin/false avahi"
- exit 1
+ exit 1
}
# Bail if user and/or group isn't valid on your system
if ! grep -q "^avahi:" /etc/passwd; then
warn_accounts
-fi
+fi
if ! grep -q "^avahi:" /etc/group ; then
warn_accounts
-fi
+fi
if [ "${ARCH}" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -83,7 +83,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
@@ -108,6 +108,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-dbus \
--enable-python \
--enable-gtk \
+ --disable-gtk3 \
--enable-qt4 \
--disable-qt3 \
--enable-core-docs \
@@ -116,12 +117,12 @@ CXXFLAGS="$SLKCFLAGS" \
--with-dbus-sys=/etc/dbus-1/system.d \
--with-avahi-user=avahi \
--with-avahi-group=avahi \
- --with-avahi-priv-access-group=root \
+ --with-avahi-priv-access-group=netdev \
--with-distro=slackware \
--program-prefix= \
--program-suffix= \
--build=$ARCH-slackware-linux \
- $MONO
+ $MONO
make
make install DESTDIR=$PKG
@@ -129,10 +130,8 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man || exit 1
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $(find $PKG/usr/man -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done
mv $PKG/etc/rc.d/rc.avahidaemon $PKG/etc/rc.d/rc.avahidaemon.new
mv $PKG/etc/rc.d/rc.avahidnsconfd $PKG/etc/rc.d/rc.avahidnsconfd.new
diff --git a/network/avahi/avahi.info b/network/avahi/avahi.info
index 94621d7a38..1d2265951c 100644
--- a/network/avahi/avahi.info
+++ b/network/avahi/avahi.info
@@ -1,10 +1,10 @@
PRGNAM="avahi"
-VERSION="0.6.25"
+VERSION="0.6.27"
HOMEPAGE="http://avahi.org/"
-DOWNLOAD="http://avahi.org/download/avahi-0.6.25.tar.gz"
-MD5SUM="a83155a6e29e3988f07e5eea3287b21e"
+DOWNLOAD="http://avahi.org/download/avahi-0.6.27.tar.gz"
+MD5SUM="74b40f87aeab07fc77af25f725b32f04"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"
-APPROVED="rworkman"
+APPROVED="Erik Hanson"