From f49c762498a66a976801251e7df5230eb5b7a356 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 1 Nov 2020 20:27:39 -0600 Subject: network/nss-mdns: Updated for version 0.14.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Mário Antunes for the heads-up. Signed-off-by: Robby Workman Signed-off-by: Willy Sudiarto Raharjo --- network/nss-mdns/nss-mdns.SlackBuild | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'network/nss-mdns/nss-mdns.SlackBuild') diff --git a/network/nss-mdns/nss-mdns.SlackBuild b/network/nss-mdns/nss-mdns.SlackBuild index e3984e3cd1..42aeafa5f8 100644 --- a/network/nss-mdns/nss-mdns.SlackBuild +++ b/network/nss-mdns/nss-mdns.SlackBuild @@ -2,11 +2,11 @@ # Slackware build script for nss-mdns # Written by Menno Duursma -# Maintained by Robby Workman +# Maintained by Robby Workman PRGNAM=nss-mdns -VERSION=${VERSION:-0.10} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.14.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -51,8 +51,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -patch -p1 < $CWD/look-in-run-for-avahi-socket.patch +#patch -p1 < $CWD/look-in-run-for-avahi-socket.patch +AVAHI_SOCKET="/run/avahi-daemon/socket" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -60,8 +61,7 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ - --disable-legacy \ - --enable-avahi \ + --mandir=/usr/man \ --build=$ARCH-slackware-linux make @@ -74,9 +74,8 @@ mkdir -p $PKG/etc cat $CWD/mdns.allow > $PKG/etc/mdns.allow.new cat $CWD/nsswitch.conf-mdns > $PKG/etc/nsswitch.conf-mdns.new -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a [A-Z][A-Z]* $PKG/usr/doc/$PRGNAM-$VERSION -cp -a doc/README.html $PKG/usr/doc/$PRGNAM-$VERSION/html cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3