diff options
author | tnn <tnn> | 2009-09-08 10:06:50 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-09-08 10:06:50 +0000 |
commit | 35ee9e5d9bdbcaeb9c2ba7b56d5f42b8bc2712f2 (patch) | |
tree | 50dfeb78428f345b7e985529280fa9f708764613 /net | |
parent | b750432a0458ea1a07aeddb2027aef92f01f7261 (diff) | |
download | pkgsrc-35ee9e5d9bdbcaeb9c2ba7b56d5f42b8bc2712f2.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 |