aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2006-04-12 13:02:44 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2006-04-12 13:02:44 +0000
commit3a2ac39b8d0066b871736a4efcb5b245c16cc98a (patch)
tree0f86211408229460ed17eb06ea4e0d9325ef6bf8 /dns
parenta6f7588d4d8a58545d96bb584f6d33fd9ce0d516 (diff)
downloadports-3a2ac39b8d0066b871736a4efcb5b245c16cc98a.tar.gz
ports-3a2ac39b8d0066b871736a4efcb5b245c16cc98a.zip
Add new port -- Resolver re-initialization NSS module.
Notes
Notes: svn path=/head/; revision=159372
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/nss_resinit/Makefile28
-rw-r--r--dns/nss_resinit/distinfo3
-rw-r--r--dns/nss_resinit/pkg-descr9
4 files changed, 41 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index edf5b75910a8..3be1fb2e367b 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -60,6 +60,7 @@
SUBDIR += nsd
SUBDIR += nslint
SUBDIR += nsping
+ SUBDIR += nss_resinit
SUBDIR += odsclient
SUBDIR += p5-BIND-Conf_Parser
SUBDIR += p5-DNS-Config
diff --git a/dns/nss_resinit/Makefile b/dns/nss_resinit/Makefile
new file mode 100644
index 000000000000..55ddefe1ae7a
--- /dev/null
+++ b/dns/nss_resinit/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: nss_resinit
+# Date Created: Apr 11 2006
+# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nss_resinit
+PORTVERSION= 20060412
+#PORTREVISION= 0
+CATEGORIES= dns
+MASTER_SITES= http://www.imasy.or.jp/~ume/FreeBSD/
+
+MAINTAINER= ume@FreeBSD.org
+COMMENT= Resolver re-initialization NSS module
+
+PLIST_FILES= lib/nss_resinit.so lib/nss_resinit.so.1
+
+MAN8= nss_resinit.8
+MANCOMPRESSED= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500112
+IGNORE= name-service switch support in libc is required
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/dns/nss_resinit/distinfo b/dns/nss_resinit/distinfo
new file mode 100644
index 000000000000..8ec23ea97e11
--- /dev/null
+++ b/dns/nss_resinit/distinfo
@@ -0,0 +1,3 @@
+MD5 (nss_resinit-20060412.tar.gz) = a17116552c08e62cc16cb63c3c95f5f0
+SHA256 (nss_resinit-20060412.tar.gz) = 535c3e74fea4f9c24cc5e99f944e440d18844387888cc792e998b6db710849f1
+SIZE (nss_resinit-20060412.tar.gz) = 3591
diff --git a/dns/nss_resinit/pkg-descr b/dns/nss_resinit/pkg-descr
new file mode 100644
index 000000000000..39f350413872
--- /dev/null
+++ b/dns/nss_resinit/pkg-descr
@@ -0,0 +1,9 @@
+The nss_resinit is a module for the nsswitch subsystem which makes
+resolver(3) reread /etc/resolv.conf when it is updated. In the
+traditional implementation of resolver(3) it is initialized by the
+application once and never reread /etc/resolv.conf after that even if
+the file is updated. This module is useful especially when name
+servers in /etc/resolv.conf are changed frequently as seen in mobile
+environment.
+
+- Hajimu UMEMOTO <ume@FreeBSD.org>