aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp30-server/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-17 12:54:35 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-17 12:54:35 +0000
commita3252db60d439f69cf11ded01212bf87a8bdeed1 (patch)
treeaf7543cd5778e00afbbbf557799b1e6003ef3cb2 /net/isc-dhcp30-server/Makefile
parent335b7e4c696d17c3afc3b99063cfed20f9044c08 (diff)
downloadports-a3252db60d439f69cf11ded01212bf87a8bdeed1.tar.gz
ports-a3252db60d439f69cf11ded01212bf87a8bdeed1.zip
Notes
Diffstat (limited to 'net/isc-dhcp30-server/Makefile')
-rw-r--r--net/isc-dhcp30-server/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/isc-dhcp30-server/Makefile b/net/isc-dhcp30-server/Makefile
index d3d322fe2a60..c33041add4ec 100644
--- a/net/isc-dhcp30-server/Makefile
+++ b/net/isc-dhcp30-server/Makefile
@@ -8,7 +8,7 @@
PORTNAME= dhcp
PORTVERSION= 3.0.1.r14
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= dhcp dhcp/dhcp-3.0-history
@@ -161,6 +161,11 @@ PLIST_SUB+= LDAP="@comment "
.endif
REINPLACE_SUB= PREFIX=${PREFIX}
RCSCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
+.if ${OSVERSION} >= 502100
+RCSCRIPTS_SUB+= NOLOGIN=/usr/sbin/nologin
+.else
+RCSCRIPTS_SUB+= NOLOGIN=/sbin/nologin
+.endif
.if !defined(WITHOUT_DHCP_PARANOIA)
RCSCRIPTS_SUB+= PARANOIA=YES
.else