diff options
-rw-r--r-- | databases/openldap/Makefile | 11 | ||||
-rw-r--r-- | devel/cvs-current/Makefile | 10 | ||||
-rw-r--r-- | devel/cvs/Makefile | 10 | ||||
-rw-r--r-- | mail/cyrus/Makefile | 22 | ||||
-rw-r--r-- | mail/fetchmail/Makefile | 11 | ||||
-rw-r--r-- | mail/nmh/Makefile | 10 | ||||
-rw-r--r-- | mk/bsd.pkg.mk | 7 | ||||
-rw-r--r-- | mk/mk.conf.example | 20 | ||||
-rw-r--r-- | net/radius/Makefile | 8 | ||||
-rw-r--r-- | net/zephyr/Makefile | 10 | ||||
-rw-r--r-- | security/sudo/Makefile | 14 |
11 files changed, 73 insertions, 60 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile index b7640200806..9bf0a6d02c4 100644 --- a/databases/openldap/Makefile +++ b/databases/openldap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 1999/09/10 10:41:39 hwr Exp $ +# $NetBSD: Makefile,v 1.12 1999/09/14 02:32:21 kim Exp $ # DISTNAME= openldap-1.2.7 @@ -23,14 +23,13 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+=--enable-dns --enable-cldap \ --enable-wrappers --enable-passwd --enable-shell -BUILD_DEFS+= USE_KERBEROS4 - .include "../../mk/bsd.prefs.mk" -.if !defined(USE_KERBEROS4) -CONFIGURE_ARGS+=--without-kerberos +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes +CONFIGURE_ARGS+=--with-kerberos .else -RESTRICTED= uses Kerberos encryption code +CONFIGURE_ARGS+=--without-kerberos .endif .include "../../mk/bsd.pkg.mk" diff --git a/devel/cvs-current/Makefile b/devel/cvs-current/Makefile index 04acfd0aadd..daaa31041fc 100644 --- a/devel/cvs-current/Makefile +++ b/devel/cvs-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1999/09/13 14:01:29 kim Exp $ +# $NetBSD: Makefile,v 1.4 1999/09/14 02:32:22 kim Exp $ # DISTNAME= cvs-1.10.6 @@ -11,17 +11,19 @@ HOMEPAGE= http://www.cyclic.com/cvs/info.html GNU_CONFIGURE= yes USE_GTEXINFO= yes -BUILD_DEFS+= USE_KERBEROS4 USE_KERBEROS5 RCS_LOCALID +BUILD_DEFS+= RCS_LOCALID .include "../../mk/bsd.prefs.mk" -.if defined(USE_KERBEROS4) +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes CONFIGURE_ARGS+= --with-krb4=/usr --enable-encryption .else CONFIGURE_ARGS+= --with-krb4=no .endif -.if defined(USE_KERBEROS5) +.if defined(KERBEROS) && ${KERBEROS} == 5 +USE_KERBEROS= yes CONFIGURE_ARGS+= --with-gssapi .else CONFIGURE_ARGS+= --with-gssapi=no diff --git a/devel/cvs/Makefile b/devel/cvs/Makefile index 171ad8e3838..e6ae648fbeb 100644 --- a/devel/cvs/Makefile +++ b/devel/cvs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 1999/08/18 09:04:17 agc Exp $ +# $NetBSD: Makefile,v 1.23 1999/09/14 02:32:23 kim Exp $ # DISTNAME= cvs-1.10 @@ -11,17 +11,19 @@ HOMEPAGE= http://www.cyclic.com/cvs/info.html GNU_CONFIGURE= yes USE_GTEXINFO= yes -BUILD_DEFS+= USE_KERBEROS4 USE_KERBEROS5 RCS_LOCALID +BUILD_DEFS+= RCS_LOCALID .include "../../mk/bsd.prefs.mk" -.if defined(USE_KERBEROS4) +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes CONFIGURE_ARGS+= --with-krb4=/usr --enable-encryption .else CONFIGURE_ARGS+= --with-krb4=no .endif -.if defined(USE_KERBEROS5) +.if defined(KERBEROS) && ${KERBEROS} == 5 +USE_KERBEROS= yes CONFIGURE_ARGS+= --with-gssapi .else CONFIGURE_ARGS+= --with-gssapi=no diff --git a/mail/cyrus/Makefile b/mail/cyrus/Makefile index 7ad64082c9e..a131f445861 100644 --- a/mail/cyrus/Makefile +++ b/mail/cyrus/Makefile @@ -1,14 +1,14 @@ -# $NetBSD: Makefile,v 1.6 1999/08/18 09:28:02 agc Exp $ +# $NetBSD: Makefile,v 1.7 1999/09/14 02:32:23 kim Exp $ -DISTNAME= cyrus-imapd-v1.5.14 -CATEGORIES= mail -MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ +DISTNAME= cyrus-imapd-v1.5.14 +CATEGORIES= mail +MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ -MAINTAINER= kim@tac.nyc.ny.us +MAINTAINER= kim@tac.nyc.ny.us -DEPENDS+= tcl-8.0.5:../../lang/tcl80 +DEPENDS+= tcl-8.0.5:../../lang/tcl80 -GNU_CONFIGURE= yes +GNU_CONFIGURE= yes # XXX This package is not ready for general use! # XXX I've imported it because my work on it has @@ -24,15 +24,13 @@ CONFIGURE_ARGS+= --with-statedir=/var/run CONFIGURE_ARGS+= --includedir=${LOCALBASE}/include/tcl8.0 CONFIGURE_ARGS+= --enable-netscapehack -BUILD_DEFS+= USE_KERBEROS4 - .include "../../mk/bsd.prefs.mk" -.if defined(USE_KERBEROS4) +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes CONFIGURE_ARGS+= --with-login=krb -RESTRICTED= uses Kerberos encryption code .endif .include "../../mk/bsd.pkg.mk" -PKGNAME!= ${ECHO} "${DISTNAME}" | ${SED} -e 's/-imapd-v/-/' +PKGNAME!= ${ECHO} "${DISTNAME}" | ${SED} -e 's/-imapd-v/-/' diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile index f87133a3e1e..1110d2cd214 100644 --- a/mail/fetchmail/Makefile +++ b/mail/fetchmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 1999/09/03 22:00:52 tron Exp $ +# $NetBSD: Makefile,v 1.53 1999/09/14 02:32:24 kim Exp $ # DISTNAME= fetchmail-5.0.7 @@ -15,14 +15,17 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf GNU_CONFIGURE= yes CONFIGURE_ENV= LDFLAGS="${CFLAGS}" -BUILD_DEFS+= USE_KERBEROS4 USE_INET6 +BUILD_DEFS+= USE_INET6 .include "../../mk/bsd.prefs.mk" -.if defined(USE_KERBEROS4) +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes CONFIGURE_ARGS+=--with-kerberos=yes -RESTRICTED= uses Kerberos encryption code +.else +CONFIGURE_ARGS+=--with-kerberos=no .endif + .if defined(USE_INET6) && ${USE_INET6} == YES CONFIGURE_ARGS+=--enable-inet6 .endif diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile index 9edc0abb73f..87dd2e48925 100644 --- a/mail/nmh/Makefile +++ b/mail/nmh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 1999/08/20 14:05:15 enami Exp $ +# $NetBSD: Makefile,v 1.29 1999/09/14 02:32:24 kim Exp $ # FreeBSD Id: Makefile,v 1.2 1997/08/04 06:51:28 markm Exp # @@ -35,14 +35,16 @@ CONFIGURE_ARGS+= --with-editor=${NMH_EDITOR} CONFIGURE_ARGS+= --with-pager=${NMH_PAGER} .endif -.if defined(USE_KERBEROS4) +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes CONFIGURE_ARGS+=--with-krb4=yes -RESTRICTED= uses Kerberos encryption code +.else +CONFIGURE_ARGS+=--with-krb4=no .endif DOCDIR= share/doc/nmh -BUILD_DEFS+= USE_KERBEROS4 NMH_MTA NMH_EDITOR NMH_PAGER NMH_HASH_BACKUP +BUILD_DEFS+= NMH_MTA NMH_EDITOR NMH_PAGER NMH_HASH_BACKUP # Since we patch the autoconf files as well as their outputs, avoid attempt # to regenerate header input files with 'autoheader' by Makefile. diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index bff7c93a551..33d1d76d15f 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.337 1999/09/09 02:01:21 hubertf Exp $ +# $NetBSD: bsd.pkg.mk,v 1.338 1999/09/14 02:32:24 kim Exp $ # # This file is in the public domain. # @@ -97,6 +97,11 @@ GMAKE?= gmake MAKE_PROGRAM= ${MAKE} .endif +.if defined(USE_KERBEROS) +RESTRICTED?= uses Kerberos encryption code +BUILD_DEFS+= KERBEROS +.endif + .if defined(USE_PERL5) DEPENDS+= perl-5.00404:${PKGSRCDIR}/lang/perl5 .endif diff --git a/mk/mk.conf.example b/mk/mk.conf.example index 59df61e0937..6ce17556f3e 100644 --- a/mk/mk.conf.example +++ b/mk/mk.conf.example @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf.example,v 1.73 1999/09/07 14:55:37 jlam Exp $ +# $NetBSD: mk.conf.example,v 1.74 1999/09/14 02:32:25 kim Exp $ # # Sample /etc/mk.conf file, which can be used to set specific values @@ -241,6 +241,12 @@ # Possible: not defined, british # Default: not defined +#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 + # Default: not defined + #LIBWRAP_FWD= # Used in ssh package to make libwrap also # compare against forwarded connection attempts # Possible: not defined, YES @@ -337,10 +343,9 @@ PAPERSIZE= A4 # Default paper size for packages. # Possible: YES, or NO. # Default: NO -#USE_KERBEROS4= # Used in many packages to specify use of - # Kerberos 4 (or a compatible) subsystem. - # Requires Kerberos libraries in /usr/lib. - # Possible: defined, not defined +#USE_INET6= # Enable IPv6 support on certain packages. + # Use IPv6-ready kernel if you define this. + # Possible: not defined, YES # Default: not defined #USE_INN= # Used in trn and nn to specify use of @@ -393,11 +398,6 @@ PAPERSIZE= A4 # Default paper size for packages. # Possible: defined, not defined # Default: not defined -#USE_INET6= # Enable IPv6 support on certain packages. - # Use IPv6-ready kernel if you define this. - # Possible: not defined, YES - # Default: not defined - # # Overrides for faster or cheaper sites. # diff --git a/net/radius/Makefile b/net/radius/Makefile index f66f90b1bd3..e402b5fb286 100644 --- a/net/radius/Makefile +++ b/net/radius/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 1999/08/18 09:28:02 agc Exp $ +# $NetBSD: Makefile,v 1.13 1999/09/14 02:32:26 kim Exp $ # # Tempted to install another radius package? # @@ -31,14 +31,12 @@ MAKE_ENV+= RADLIBS="${RADLIBS} -lskey" LIBS=-lcrypt \ INSTALL="${INSTALL} -c" # XXX Kerberos IV support is known to be broken. -#.if defined(USE_KERBEROS4) +#.if defined(KERBEROS) && ${KERBEROS} == 4 +#USE_KERBEROS= yes #CFLAGS+= -DM_KERB -I/usr/include/kerberosIV #RADLIBS= -lkrb -ldes -#RESTRICTED= uses Kerberos encryption code #.endif -BUILD_DEFS+= USE_KERBEROS4 - .include "../../mk/bsd.prefs.mk" pre-patch: diff --git a/net/zephyr/Makefile b/net/zephyr/Makefile index 498b89aaef0..7ad0a5ed38b 100644 --- a/net/zephyr/Makefile +++ b/net/zephyr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 1999/08/18 09:28:02 agc Exp $ +# $NetBSD: Makefile,v 1.17 1999/09/14 02:32:26 kim Exp $ # DISTNAME= zephyr-2.0.4 @@ -8,14 +8,14 @@ MASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/zephyr/dist/ MAINTAINER= mycroft@netbsd.org HOMEPAGE= http://web.mit.edu/olh/Zephyr/index.html -BUILD_DEFS+= USE_KERBEROS4 - .include "../../mk/bsd.prefs.mk" -.if defined(USE_KERBEROS4) +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes CONFIGURE_ARGS+="--with-krb4" CONFIGURE_ENV+= CPPFLAGS=-I/usr/include/kerberosIV -RESTRICTED= uses Kerberos encryption code +.else +CONFIGURE_ARGS+="--without-krb4" .endif USE_X11= yes diff --git a/security/sudo/Makefile b/security/sudo/Makefile index ff431c8e7a0..0a0cf992524 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 1999/09/13 13:30:45 kim Exp $ +# $NetBSD: Makefile,v 1.18 1999/09/14 02:32:26 kim Exp $ # FreeBSD Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp # @@ -15,8 +15,6 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf .include "../../mk/bsd.prefs.mk" -BUILD_DEFS+= USE_KERBEROS4 USE_KERBEROS5 - GNU_CONFIGURE= yes .if ${OPSYS} == "NetBSD" @@ -25,12 +23,18 @@ CONFIGURE_ARGS+=--with-skey CONFIGURE_ARGS+=--without-skey .endif -.if defined(USE_KERBEROS4) +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes CONFIGURE_ARGS+=--with-kerb4 +.else +CONFIGURE_ARGS+=--without-kerb4 .endif -.if defined(USE_KERBEROS5) +.if defined(KERBEROS) && ${KERBEROS} == 5 +USE_KERBEROS= yes CONFIGURE_ARGS+=--with-kerb5 +.else +CONFIGURE_ARGS+=--without-kerb5 .endif CONFIGURE_ARGS+=--with-C2 --with-nbsdops --disable-path-info |