summaryrefslogtreecommitdiff
path: root/net/bind9/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2005-03-18 01:14:32 +0000
committertron <tron@pkgsrc.org>2005-03-18 01:14:32 +0000
commit476627d1bb5a51762d9d8c85c89e037f8ec6e7da (patch)
tree24cd767f9f0f1c67002c31bb66d793ec21facb8c /net/bind9/Makefile
parent778a69fd6522d91b28081979ec6e04851c0fa5bd (diff)
downloadpkgsrc-476627d1bb5a51762d9d8c85c89e037f8ec6e7da.tar.gz
- Incooperate change root non-root support from NetBSD's "/etc/rc.d/named"
into "named9.sh". - Create a user and a group "named" for running the name server. - Add a message file which encourages to run the name server in a change root non-root configuration. This address PR pkg/14876 by Greg A. Woods. Bump package revision because of the above changes.
Diffstat (limited to 'net/bind9/Makefile')
-rw-r--r--net/bind9/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/bind9/Makefile b/net/bind9/Makefile
index 0f164a36888..c92b4ee4868 100644
--- a/net/bind9/Makefile
+++ b/net/bind9/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.67 2005/03/16 13:56:24 tron Exp $
+# $NetBSD: Makefile,v 1.68 2005/03/18 01:14:32 tron Exp $
DISTNAME= bind-${BIND_VERSION}
PKGNAME= bind-${BIND_VERSION}pl1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/
@@ -35,8 +35,13 @@ CONFIGURE_ARGS+=--with-libtool=yes \
# include at the bottom to use OpenSSL shipped with BIND9.
CONFIGURE_ARGS+=--with-openssl=${SSLBASE}
+PKG_USERS= ${BIND_USER}:${BIND_GROUP}::Named\\ pseudo-user:${BIND_DIR}:${NOLOGIN}
+PKG_GROUPS= ${BIND_GROUP}
+
PTHREAD_OPTS+= native
+FILES_SUBST+= BIND_GROUP=${BIND_GROUP} BIND_USER=${BIND_USER} PAX=${PAX}
+MESSAGE_SUBST+= BIND_DIR=${BIND_DIR} BIND_USER=${BIND_USER}
# include/isc/ipv6.h is installed on non-ipv6 platforms
.if defined(USE_INET6) && (${USE_INET6} == "YES")
PLIST_SUBST+= IPV6H="@comment "