aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2006-04-12 21:02:44 +0800
committerume <ume@FreeBSD.org>2006-04-12 21:02:44 +0800
commitb26d0cb2d6ba2e2ea21b2ceb68907e42a2759ddd (patch)
tree1509fd7183f6678e812e53c3a9131676bbd2d074 /dns
parente2104ff0dae2dfb7a92f3d65d5a6fc541e2ca8d8 (diff)
downloadfreebsd-ports-gnome-b26d0cb2d6ba2e2ea21b2ceb68907e42a2759ddd.tar.gz
freebsd-ports-gnome-b26d0cb2d6ba2e2ea21b2ceb68907e42a2759ddd.tar.zst
freebsd-ports-gnome-b26d0cb2d6ba2e2ea21b2ceb68907e42a2759ddd.zip
Add new port -- Resolver re-initialization NSS module.
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>