diff options
author | tnn <tnn> | 2009-09-08 10:06:50 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-09-08 10:06:50 +0000 |
commit | 76e292270894c0fa018447f2fe1ebe1946e969c2 (patch) | |
tree | 50dfeb78428f345b7e985529280fa9f708764613 /net | |
parent | 561bdef60bb1f177e85c08aa6b685bcd9b0ebe65 (diff) | |
download | pkgsrc-76e292270894c0fa018447f2fe1ebe1946e969c2.tar.gz |
Build with chroot jail support on platforms that support it.
Diffstat (limited to 'net')
-rw-r--r-- | net/ntp4/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile index ed8761dfc95..fd514e9e385 100644 --- a/net/ntp4/Makefile +++ b/net/ntp4/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.62 2009/09/08 08:40:26 tnn Exp $ +# $NetBSD: Makefile,v 1.63 2009/09/08 10:06:50 tnn Exp $ # DISTNAME= ntp-4.2.4p7 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net time MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \ ftp://ftp.udel.edu/pub/ntp/ntp4/ @@ -50,6 +50,15 @@ PLIST.timetrim= yes PLIST.ntptime= yes .endif +# chroot jail support +.if ${OPSYS} == "NetBSD" +CONFIGURE_ARGS+= --enable-clockctl +.elif ${OPSYS} == "Linux" && exists(/usr/include/sys/capability.h) +CONFIGURE_ARGS+= --enable-linuxcaps +.else +# no chroot/privilege drop supported +.endif + .include "../../security/openssl/buildlink3.mk" CONFIGURE_ARGS+= --with-openssl-incdir=${SSLBASE}/include |