diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2020-11-30 02:57:00 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-12-06 07:59:42 +0700 |
commit | e5f3733e5542ab31834d06ea5a37b5a5562be6e7 (patch) | |
tree | c135aac10933988e55d2601da033b75be60ac978 /network/avahi/avahi.SlackBuild | |
parent | f3ee13c19336bd949e2ec83a3e9333011d144843 (diff) | |
download | slackbuilds-e5f3733e5542ab31834d06ea5a37b5a5562be6e7.tar.gz |
network/avahi: Updated for version 0.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/avahi/avahi.SlackBuild')
-rw-r--r-- | network/avahi/avahi.SlackBuild | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/network/avahi/avahi.SlackBuild b/network/avahi/avahi.SlackBuild index 0593618738..f95c392152 100644 --- a/network/avahi/avahi.SlackBuild +++ b/network/avahi/avahi.SlackBuild @@ -2,11 +2,8 @@ # Slackware build script for avahi -# Written by David Somero <dsomero@hotmail.com> -# Derived from Slackware's Slackbuilds. -# -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA # Copyright 2008-2012 David Somero (dsomero@hotmail.com) Athens, TN, USA +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=avahi -VERSION=${VERSION:-0.7} +VERSION=${VERSION:-0.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -96,8 +93,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Thanks to Robby Workman for this patch. patch -p1 --verbose < $CWD/fixup_avahi-dnsconfd.action.patch +patch -p1 --verbose < $CWD/ipv6_race_condition_fix.patch # thanks, LFS + +# Okay, I had to cheat a bit on the manual pages; there's a commit +# in git that will fix this, so I just built a git checkout, grabbed +# the built manual pages, and we'll drop them into place so the build +# will work for this released version... +cat $CWD/build-db > service-type-database/build-db +chmod 0755 service-type-database/build-db +cat $CWD/bssh.1 > man/bssh.1 +cat $CWD/avahi-discover.1 > man/avahi-discover.1 CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -108,23 +114,21 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --with-systemdsystemunitdir=no \ --enable-tests \ --disable-static \ --disable-monodoc \ --disable-autoipd \ --enable-python-dbus \ - --enable-pygtk\ --enable-glib \ --enable-dbus \ --enable-python \ --enable-gtk \ --enable-gtk3 \ - --enable-qt4 \ + --disable-qt4 \ --disable-qt3 \ --enable-core-docs \ - --enable-compat-howl \ - --enable-compat-libdns_sd \ - --with-dbus-sys=/etc/dbus-1/system.d \ + --with-dbus-sys=/usr/share/dbus-1/system.d \ --with-avahi-user=avahi \ --with-avahi-group=avahi \ --with-avahi-priv-access-group=netdev \ @@ -137,10 +141,6 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -# howl and mdnsresponder compatability -(cd $PKG/usr/include; ln -s avahi-compat-libdns_sd/dns_sd.h dns_sd.h; ln -s avahi-compat-howl howl) -(cd $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig; ln -s avahi-compat-howl.pc howl.pc) - find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -150,8 +150,6 @@ for i in $(find $PKG/usr/man -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; 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 mv $PKG/etc/avahi/avahi-daemon.conf $PKG/etc/avahi/avahi-daemon.conf.new -mv $PKG/etc/dbus-1/system.d/avahi-dbus.conf \ - $PKG/etc/dbus-1/system.d/avahi-dbus.conf.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE docs/* $PKG/usr/doc/$PRGNAM-$VERSION |