turn KERBEROS into a binary switch

This commit is contained in:
assar 2001-03-04 03:26:50 +00:00
parent 912af0eecf
commit 55da32de67
11 changed files with 33 additions and 38 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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