pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/ipsec-tools allow radius support to be disabl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7b6e4bc7b884
branches: trunk
changeset: 483362:7b6e4bc7b884
user: grant <grant%pkgsrc.org@localhost>
date: Thu Nov 11 11:49:15 2004 +0000
description:
allow radius support to be disabled by moving it to PKG_OPTIONS.
no PKGREVISION bump as it is still enabled by default.
diffstat:
security/ipsec-tools/Makefile | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 7f4ff0f1fb35 -r 7b6e4bc7b884 security/ipsec-tools/Makefile
--- a/security/ipsec-tools/Makefile Thu Nov 11 10:53:08 2004 +0000
+++ b/security/ipsec-tools/Makefile Thu Nov 11 11:49:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/11/11 10:53:08 manu Exp $
+# $NetBSD: Makefile,v 1.7 2004/11/11 11:49:15 grant Exp $
#
DISTNAME= ipsec-tools-0.5.pre20041109
@@ -15,7 +15,17 @@
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-libradius --enable-frag --enable-hybrid
+PKG_OPTIONS_VAR= PKG_OPTIONS.ipsec-tools
+PKG_DEFAULT_OPTIONS+= radius
+PKG_SUPPORTED_OPTIONS+= radius
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mradius)
+CONFIGURE_ARGS+= --with-libradius
+.endif
+
+CONFIGURE_ARGS+= --enable-frag --enable-hybrid
# Require a kernel patch not integrated yet (IPR problem)
#CONFIGURE_ARGS+= --enable-natt
Home |
Main Index |
Thread Index |
Old Index