summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/nss-mdns/.footprint9
-rw-r--r--extra/nss-mdns/.md5sum2
-rw-r--r--extra/nss-mdns/Pkgfile22
-rw-r--r--extra/nss-mdns/mdns.allow4
4 files changed, 37 insertions, 0 deletions
diff --git a/extra/nss-mdns/.footprint b/extra/nss-mdns/.footprint
new file mode 100644
index 000000000..1fe7355c1
--- /dev/null
+++ b/extra/nss-mdns/.footprint
@@ -0,0 +1,9 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/mdns.allow
+drwxr-xr-x root/root lib/
+-rwxr-xr-x root/root lib/libnss_mdns.so.2
+-rwxr-xr-x root/root lib/libnss_mdns4.so.2
+-rwxr-xr-x root/root lib/libnss_mdns4_minimal.so.2
+-rwxr-xr-x root/root lib/libnss_mdns6.so.2
+-rwxr-xr-x root/root lib/libnss_mdns6_minimal.so.2
+-rwxr-xr-x root/root lib/libnss_mdns_minimal.so.2
diff --git a/extra/nss-mdns/.md5sum b/extra/nss-mdns/.md5sum
new file mode 100644
index 000000000..62fef20f0
--- /dev/null
+++ b/extra/nss-mdns/.md5sum
@@ -0,0 +1,2 @@
+80468c84bff77cbf892163ca3f522105 mdns.allow
+03938f17646efbb50aa70ba5f99f51d7 nss-mdns-0.10.tar.gz
diff --git a/extra/nss-mdns/Pkgfile b/extra/nss-mdns/Pkgfile
new file mode 100644
index 000000000..338ea319e
--- /dev/null
+++ b/extra/nss-mdns/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Plugin pour glibc permettant la resolution de noms via mDNS
+# URL: http://0pointer.de/lennart/projects/nss-mdns/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: glibc
+
+name=nss-mdns
+version=0.10
+release=1
+source=(http://0pointer.de/lennart/projects/$name/$name-$version.tar.gz\
+ mdns.allow)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/ \
+ --disable-lynx \
+ --enable-avahi
+ make
+ mkdir -p $PKG/etc
+ install -m644 ../mdns.allow $PKG/etc/mdns.allow
+ make DESTDIR=$PKG install
+}
diff --git a/extra/nss-mdns/mdns.allow b/extra/nss-mdns/mdns.allow
new file mode 100644
index 000000000..a55599562
--- /dev/null
+++ b/extra/nss-mdns/mdns.allow
@@ -0,0 +1,4 @@
+# Begin of /etc/mdns.allow
+.local.
+.local
+# End of /etc/mdns.allow