summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorassar <assar@pkgsrc.org>2001-03-04 03:26:50 +0000
committerassar <assar@pkgsrc.org>2001-03-04 03:26:50 +0000
commit55da32de67858dd68e54badc3323ada1928b4e0d (patch)
tree091f46327abf4b32aaf37549d798280b2d450c56 /security
parent912af0eecffc40a808025dc4206a786152c6c9b5 (diff)
downloadpkgsrc-55da32de67858dd68e54badc3323ada1928b4e0d.tar.gz
turn KERBEROS into a binary switch
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl/Makefile17
-rw-r--r--security/ssh/Makefile4
-rw-r--r--security/ssh6/Makefile4
-rw-r--r--security/sudo/Makefile15
4 files changed, 15 insertions, 25 deletions
diff --git a/security/cyrus-sasl/Makefile b/security/cyrus-sasl/Makefile
index 1a9527156eb..63709f45c50 100644
--- a/security/cyrus-sasl/Makefile
+++ b/security/cyrus-sasl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/02/17 17:49:41 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2001/03/04 03:26:51 assar Exp $
DISTNAME= cyrus-sasl-1.5.24
PKGNAME= ${DISTNAME}nb3
@@ -52,20 +52,17 @@ CONFIGURE_ARGS+= --disable-sia # --- no SIA
CONFIGURE_ARGS+= --disable-srp # --- no SRP
CONFIGURE_ARGS+= --disable-x509 # --- no X.509
-.if defined(KERBEROS) && ${KERBEROS} == 4
-CONFIGURE_ARGS+= --enable-krb4=${PREFIX} # KERBEROS_V4
+.if defined(KERBEROS)
+USE_KERBEROS= # defined
+CONFIGURE_ARGS+= --enable-krb4=${PREFIX} --enable-gssapi=/usr # KERBEROS_V4
DEPENDS+= kth-krb4-*:../../security/kth-krb4
-PLIST_SRC+= ${PKGDIR}/PLIST.krb4
-.else
-CONFIGURE_ARGS+= --disable-krb4 # --- no KERBEROS_V4
-.endif
-
-.if ${OPSYS} == "SunOS" || (defined(KERBEROS) && ${KERBEROS} == 5)
+PLIST_SRC+= ${PKGDIR}/PLIST.krb4 ${PKGDIR}/PLIST.krb5
+.elif ${OPSYS} == "SunOS"
USE_KERBEROS= # defined
CONFIGURE_ARGS+= --enable-gssapi=/usr # GSSAPI
PLIST_SRC+= ${PKGDIR}/PLIST.krb5
.else
-CONFIGURE_ARGS+= --disable-gssapi # --- no GSSAPI
+CONFIGURE_ARGS+= --disable-krb4 --disable-gssapi # --- no KERBEROS_V4
.endif
PLIST_SRC+= ${PKGDIR}/PLIST.plugins
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index ce6cb9a8d35..d8b70634a55 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.88 2001/02/25 04:18:14 hubertf Exp $
+# $NetBSD: Makefile,v 1.89 2001/03/04 03:26:51 assar Exp $
# FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp
#
@@ -103,7 +103,7 @@ DEPENDS+= socks5-1.0.2:../../net/socks5
# PATCHFILES+= ssh-1.2.27-afs-kerberos.patch-1
# MD5 (ssh-1.2.27-afs-kerberos.patch-1) = d440f74958d9c3805b76dbc13e97e87d
-.if defined(KERBEROS) && ${KERBEROS} == 4
+.if defined(KERBEROS)
USE_KERBEROS= yes
CONFIGURE_ARGS+= --with-krb4=/usr
.endif
diff --git a/security/ssh6/Makefile b/security/ssh6/Makefile
index 1472ee45223..f1a3a01e914 100644
--- a/security/ssh6/Makefile
+++ b/security/ssh6/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2001/02/25 04:18:14 hubertf Exp $
+# $NetBSD: Makefile,v 1.14 2001/03/04 03:26:52 assar Exp $
# FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp
#
@@ -95,7 +95,7 @@ DEPENDS+= socks5-1.0.2:../../net/socks5
# PATCHFILES+= ssh-1.2.27-afs-kerberos.patch-1
# MD5 (ssh-1.2.27-afs-kerberos.patch-1) = d440f74958d9c3805b76dbc13e97e87d
-.if defined(KERBEROS) && ${KERBEROS} == 4
+.if defined(KERBEROS)
USE_KERBEROS= yes
CONFIGURE_ARGS+= --with-krb4=/usr
.endif
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 5a607782fa9..10872442332 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2001/02/23 08:11:35 itojun Exp $
+# $NetBSD: Makefile,v 1.33 2001/03/04 03:26:52 assar Exp $
# FreeBSD Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp
#
@@ -26,18 +26,11 @@ CONFIGURE_ARGS+= --with-skey
CONFIGURE_ARGS+= --without-skey
.endif
-.if defined(KERBEROS) && ${KERBEROS} == 4
+.if defined(KERBEROS)
USE_KERBEROS= # defined
-CONFIGURE_ARGS+= --with-kerb4
+CONFIGURE_ARGS+= --with-kerb4 --with-kerb5
.else
-CONFIGURE_ARGS+= --without-kerb4
-.endif
-
-.if defined(KERBEROS) && ${KERBEROS} == 5
-USE_KERBEROS= # defined
-CONFIGURE_ARGS+= --with-kerb5
-.else
-CONFIGURE_ARGS+= --without-kerb5
+CONFIGURE_ARGS+= --without-kerb4 --without-kerb5
.endif
CONFIGURE_ARGS+= --with-nbsdops --disable-path-info