summaryrefslogtreecommitdiff
path: root/network/nss-mdns
diff options
context:
space:
mode:
Diffstat (limited to 'network/nss-mdns')
-rw-r--r--network/nss-mdns/look-in-run-for-avahi-socket.patch24
-rw-r--r--network/nss-mdns/nss-mdns.SlackBuild15
-rw-r--r--network/nss-mdns/nss-mdns.info8
3 files changed, 11 insertions, 36 deletions
diff --git a/network/nss-mdns/look-in-run-for-avahi-socket.patch b/network/nss-mdns/look-in-run-for-avahi-socket.patch
deleted file mode 100644
index 4190ae87f6..0000000000
--- a/network/nss-mdns/look-in-run-for-avahi-socket.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Nur nss-mdns-0.10.orig/src/Makefile.am nss-mdns-0.10/src/Makefile.am
---- nss-mdns-0.10.orig/src/Makefile.am 2007-02-08 10:42:23.000000000 -0600
-+++ nss-mdns-0.10/src/Makefile.am 2019-08-28 23:24:49.690739951 -0500
-@@ -22,7 +22,7 @@
- AM_CFLAGS = \
- -DMDNS_ALLOW_FILE=\"$(sysconfdir)/mdns.allow\" \
- -DRESOLV_CONF_FILE=\"$(sysconfdir)/resolv.conf\" \
-- -DAVAHI_SOCKET=\"$(localstatedir)/run/avahi-daemon/socket\"
-+ -DAVAHI_SOCKET=\"/run/avahi-daemon/socket\"
-
- #AM_CFLAGS += -DNDEBUG=1 -Os
-
-diff -Nur nss-mdns-0.10.orig/src/Makefile.in nss-mdns-0.10/src/Makefile.in
---- nss-mdns-0.10.orig/src/Makefile.in 2007-05-12 09:55:34.000000000 -0500
-+++ nss-mdns-0.10/src/Makefile.in 2019-08-28 23:24:39.273681707 -0500
-@@ -409,7 +409,7 @@
- # This cool debug trap works on i386/gcc only
- AM_CFLAGS = -DMDNS_ALLOW_FILE=\"$(sysconfdir)/mdns.allow\" \
- -DRESOLV_CONF_FILE=\"$(sysconfdir)/resolv.conf\" \
-- -DAVAHI_SOCKET=\"$(localstatedir)/run/avahi-daemon/socket\" \
-+ -DAVAHI_SOCKET=\"/run/avahi-daemon/socket\" \
- '-DDEBUG_TRAP=__asm__("int $$3")'
- AM_LDFLAGS = -avoid-version -module -export-dynamic
- lib_LTLIBRARIES = $(am__append_1) $(am__append_2)
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
diff --git a/network/nss-mdns/nss-mdns.info b/network/nss-mdns/nss-mdns.info
index c4eaec54a6..db0d6deb38 100644
--- a/network/nss-mdns/nss-mdns.info
+++ b/network/nss-mdns/nss-mdns.info
@@ -1,8 +1,8 @@
PRGNAM="nss-mdns"
-VERSION="0.10"
-HOMEPAGE="http://0pointer.de/lennart/projects/nss-mdns/"
-DOWNLOAD="http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-0.10.tar.gz"
-MD5SUM="03938f17646efbb50aa70ba5f99f51d7"
+VERSION="0.14.1"
+HOMEPAGE="https://github.com/lathiat/nss-mdns"
+DOWNLOAD="https://github.com/lathiat/nss-mdns/releases/download/v0.14.1/nss-mdns-0.14.1.tar.gz"
+MD5SUM="39b7f6ccfa0605321c7ee6e78478b83b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="avahi"