diff options
author | tnn <tnn@pkgsrc.org> | 2009-09-08 10:06:50 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-09-08 10:06:50 +0000 |
commit | 7f67b5f2a6e791fd5490a0700a63b5d4828fb28f (patch) | |
tree | 50dfeb78428f345b7e985529280fa9f708764613 | |
parent | a6f5aa147ff3cf1b683ce731d337a3b2c84cc812 (diff) | |
download | pkgsrc-7f67b5f2a6e791fd5490a0700a63b5d4828fb28f.tar.gz |
Build with chroot jail support on platforms that support it.
-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 |