pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/kth-krb4 Pull in value of KRB4_PREFIX_CMDS fr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d314b5c10ae
branches:  trunk
changeset: 468021:3d314b5c10ae
user:      wennmach <wennmach%pkgsrc.org@localhost>
date:      Mon Feb 09 17:36:37 2004 +0000

description:
Pull in value of KRB4_PREFIX_CMDS from KERBEROS_PREFIX_CMDS.

This provides both, simple and fine-grained control over the Kerberos
prefix. If not specified, KRB4_PREFIX_CMDS will default to the value
of KERBEROS_PREFIX_CMDS. If specified, it overrides KERBEROS_PREFIX_CMDS.

diffstat:

 security/kth-krb4/Makefile |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r 93180df66f4f -r 3d314b5c10ae security/kth-krb4/Makefile
--- a/security/kth-krb4/Makefile        Mon Feb 09 15:46:51 2004 +0000
+++ b/security/kth-krb4/Makefile        Mon Feb 09 17:36:37 2004 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.29 2004/02/09 12:54:31 wennmach Exp $
+# $NetBSD: Makefile,v 1.30 2004/02/09 17:36:37 wennmach Exp $
 #
 
 DISTNAME=              krb4-1.2.1
 PKGNAME=               kth-krb4-1.2.1
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            security net
 MASTER_SITES=          ftp://ftp.pdc.kth.se/pub/krb/src/
 
@@ -27,10 +27,11 @@
 CONFIGURE_ARGS+=       --includedir=${PREFIX}/include/kerberosIV
 
 .include "../../mk/bsd.prefs.mk"
-KRB4_PREFIX_CMDS?=     no
+KERBEROS_PREFIX_CMDS?= no
+KRB4_PREFIX_CMDS?=     ${KERBEROS_PREFIX_CMDS}
 BUILD_DEFS+=           KRB4_PREFIX_CMDS
 .if !empty(KRB4_PREFIX_CMDS:M[yY][eE][sS])
-MIT_KRB4_TRANSFORM=    s/^ftp/k4&/;\
+KTH_KRB4_TRANSFORM=    s/^ftp/k4&/;\
                        s/^rcp/k4&/;\
                        s/^rlogin/k4&/;\
                        s/^rsh/k4&/;\
@@ -38,10 +39,10 @@
                        s/^telnet/k4&/
 PLIST_SUBST+=          KRB4_PREFIX=k4
 .else
-MIT_KRB4_TRANSFORM=    s/^ftp$$/k4&/   # always k4ftp
+KTH_KRB4_TRANSFORM=    s/^ftp$$/k4&/   # always k4ftp
 PLIST_SUBST+=          KRB4_PREFIX=
 .endif
-CONFIGURE_ARGS+=       --program-transform="${MIT_KRB4_TRANSFORM}"
+CONFIGURE_ARGS+=       --program-transform="${KTH_KRB4_TRANSFORM}"
 
 USE_LIBTOOL=           yes
 LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool



Home | Main Index | Thread Index | Old Index