summaryrefslogtreecommitdiff
path: root/network/nss-mdns/nss-mdns.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2020-11-01 20:27:39 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-07 14:02:49 +0700
commitf49c762498a66a976801251e7df5230eb5b7a356 (patch)
treedd8f7c4a74320bd045310dc10a9e08e532d7adf6 /network/nss-mdns/nss-mdns.SlackBuild
parent8e873e96ddd01e44cc0b102e2c881155fac53f43 (diff)
downloadslackbuilds-f49c762498a66a976801251e7df5230eb5b7a356.tar.gz
network/nss-mdns: Updated for version 0.14.1.
Thanks to Mário Antunes for the heads-up. Signed-off-by: Robby Workman <rworkman@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/nss-mdns/nss-mdns.SlackBuild')
-rw-r--r--network/nss-mdns/nss-mdns.SlackBuild15
1 files changed, 7 insertions, 8 deletions
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 <druiloor@zonnet.nl>
-# Maintained by Robby Workman <rw@rlworkman.net>
+# Maintained by Robby Workman <rworkman@slackbuilds.org>
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