diff options
author | David Somero <dsomero@hotmail.com> | 2010-08-15 20:14:32 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-15 20:53:59 -0500 |
commit | 46a013f84c95497db89297bf4109da6b50de23a1 (patch) | |
tree | d99c12c46bd7259e1fa831add3dd3a5a4d25a030 /network/avahi/avahi.SlackBuild | |
parent | dc39d4e94da933d74caf789a04ef3d6ecbef616b (diff) |
network/avahi: Updated for version 0.6.27.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/avahi/avahi.SlackBuild')
-rw-r--r-- | network/avahi/avahi.SlackBuild | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/network/avahi/avahi.SlackBuild b/network/avahi/avahi.SlackBuild index f5e39adf2a459..5974a83141f51 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 |