summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorassar <assar>2001-03-04 03:26:50 +0000
committerassar <assar>2001-03-04 03:26:50 +0000
commitd43106e98795c65d0ebd1bb7be683dc29d309b03 (patch)
tree091f46327abf4b32aaf37549d798280b2d450c56
parente61d931b9499b02143f5c75604e3212b6742cd7f (diff)
downloadpkgsrc-d43106e98795c65d0ebd1bb7be683dc29d309b03.tar.gz
turn KERBEROS into a binary switch
-rw-r--r--databases/openldap/Makefile4
-rw-r--r--mail/fetchmail/Makefile4
-rw-r--r--mail/nmh/Makefile4
-rw-r--r--mail/qpopper/Makefile7
-rw-r--r--mk/mk.conf.example4
-rw-r--r--net/radius/Makefile4
-rw-r--r--net/zephyr/Makefile4
-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
11 files changed, 33 insertions, 38 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile
index ce9f2f48b6e..27e0c68e358 100644
--- a/databases/openldap/Makefile
+++ b/databases/openldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2001/02/16 14:17:29 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2001/03/04 03:26:50 assar Exp $
#
DISTNAME= openldap-1.2.11
@@ -41,7 +41,7 @@ post-build:
post-configure:
${ECHO} "SLAPD_LIBS = " >> ${WRKSRC}/servers/slapd/tools/Makefile
-.if defined(KERBEROS) && ${KERBEROS} == 4
+.if defined(KERBEROS)
USE_KERBEROS= yes
CONFIGURE_ARGS+=--with-kerberos
.else
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 9a8abc8ca4a..52c77af5664 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.86 2001/03/03 12:27:50 frueauf Exp $
+# $NetBSD: Makefile,v 1.87 2001/03/04 03:26:50 assar Exp $
#
DISTNAME= fetchmail-5.7.0
@@ -34,7 +34,7 @@ CONFIGURE_ARGS+=--without-ssl
BUILD_DEFS+= FETCHMAIL_USE_SSL
-.if defined(KERBEROS) && ${KERBEROS} == 4
+.if defined(KERBEROS)
USE_KERBEROS= yes
CONFIGURE_ARGS+=--with-kerberos=yes
.else
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index f3735a9c0d9..f00f444414a 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2001/02/17 18:24:57 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2001/03/04 03:26:50 assar Exp $
# FreeBSD Id: Makefile,v 1.2 1997/08/04 06:51:28 markm Exp
#
@@ -38,7 +38,7 @@ CONFIGURE_ARGS+= --with-editor=${NMH_EDITOR}
CONFIGURE_ARGS+= --with-pager=${NMH_PAGER}
.endif
-.if defined(KERBEROS) && ${KERBEROS} == 4
+.if defined(KERBEROS)
USE_KERBEROS= # defined
CONFIGURE_ARGS+= --with-krb4
.else
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 4f817de1386..314fd3239b9 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2001/02/17 18:25:03 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2001/03/04 03:26:51 assar Exp $
#
DISTNAME= qpopper3.1.2
@@ -21,6 +21,11 @@ CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec \
.include "../../mk/bsd.prefs.mk"
+.if defined(KERBEROS)
+USE_KERBEROS= # defined
+CONFIGURE_ARGS+= --enable-kerberos
+.endif
+
BUILD_DEFS+= QPOPPER_SERVERMODE USE_INET6
.include "../../mk/bsd.prefs.mk"
diff --git a/mk/mk.conf.example b/mk/mk.conf.example
index 12e7c32587a..2914ffef772 100644
--- a/mk/mk.conf.example
+++ b/mk/mk.conf.example
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf.example,v 1.175 2001/02/26 18:09:41 lukem Exp $
+# $NetBSD: mk.conf.example,v 1.176 2001/03/04 03:26:52 assar Exp $
#
# Sample /etc/mk.conf file, which can be used to set specific values
@@ -484,7 +484,7 @@
#KERBEROS=
# Used in many packages to specify use of a Kerberos (or compatible)
# subsystem. Requires Kerberos libraries in /usr/lib.
-# Possible: 4, 5, not defined
+# Possible: defined, not defined
# Default: not defined
#KERMIT_SUID_UUCP
diff --git a/net/radius/Makefile b/net/radius/Makefile
index c3cc4e0d369..1c59a6c95ee 100644
--- a/net/radius/Makefile
+++ b/net/radius/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2001/02/17 18:19:31 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2001/03/04 03:26:51 assar Exp $
#
# Tempted to install another radius package?
#
@@ -26,7 +26,7 @@ DIST_SUBDIR= radius
CFLAGS+= -DHAVE_SETVBUF -DNOSHADOW
-.if defined(KERBEROS) && ${KERBEROS} == 4
+.if defined(KERBEROS)
USE_KERBEROS= yes
CFLAGS+= -DM_KERB -I/usr/include/kerberosIV
RADLIBS= -lkrb -ldes
diff --git a/net/zephyr/Makefile b/net/zephyr/Makefile
index a9004d0d009..e321e714691 100644
--- a/net/zephyr/Makefile
+++ b/net/zephyr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2001/02/25 04:18:10 hubertf Exp $
+# $NetBSD: Makefile,v 1.21 2001/03/04 03:26:51 assar Exp $
#
DISTNAME= zephyr-2.0.4
@@ -11,7 +11,7 @@ COMMENT= Zephyr Messaging Service
.include "../../mk/bsd.prefs.mk"
-.if defined(KERBEROS) && ${KERBEROS} == 4
+.if defined(KERBEROS)
USE_KERBEROS= yes
CONFIGURE_ARGS+="--with-krb4"
CONFIGURE_ENV+= CPPFLAGS=-I/usr/include/kerberosIV
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