pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/mit-krb5 Import MIT Kerberos 5 as security/mi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b1bf17ec496a
branches: trunk
changeset: 471735:b1bf17ec496a
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Mar 30 18:07:17 2004 +0000
description:
Import MIT Kerberos 5 as security/mit-krb5. This package is partly based
on the wip/mit-krb5 package by Jeremy Reed, but heavily modified by me to
libtoolize the build.
Kerberos V5 is an authentication system developed at MIT. It is a network
authentication protocol designed to provide strong authentication for
client/server applications by using secret-key cryptography. (Kerberos
5 is discussed in RFC 1510.)
This package provides Kerberos and GSSAPI (Generic Security Services
Application Programming Interface) development headers and libraries.
It also includes Kerberos ticket and principal tools, and Kerberized
r-services, telnet and ftp services.
diffstat:
security/mit-krb5/DESCR | 9 ++
security/mit-krb5/Makefile | 121 +++++++++++++++++++++++++++++++++
security/mit-krb5/PLIST | 133 +++++++++++++++++++++++++++++++++++++
security/mit-krb5/buildlink2.mk | 33 +++++++++
security/mit-krb5/buildlink3.mk | 18 +++++
security/mit-krb5/distinfo | 13 +++
security/mit-krb5/files/kadmind.sh | 24 ++++++
security/mit-krb5/files/kdc.sh | 24 ++++++
security/mit-krb5/patches/patch-aa | 81 ++++++++++++++++++++++
security/mit-krb5/patches/patch-ab | 23 ++++++
security/mit-krb5/patches/patch-ac | 15 ++++
security/mit-krb5/patches/patch-ad | 69 +++++++++++++++++++
security/mit-krb5/patches/patch-ae | 35 +++++++++
security/mit-krb5/patches/patch-af | 95 ++++++++++++++++++++++++++
security/mit-krb5/patches/patch-ag | 28 +++++++
security/mit-krb5/patches/patch-ah | 31 ++++++++
security/mit-krb5/patches/patch-ai | 13 +++
17 files changed, 765 insertions(+), 0 deletions(-)
diffs (truncated from 833 to 300 lines):
diff -r f2fd68562f2e -r b1bf17ec496a security/mit-krb5/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/mit-krb5/DESCR Tue Mar 30 18:07:17 2004 +0000
@@ -0,0 +1,9 @@
+Kerberos V5 is an authentication system developed at MIT. It is a network
+authentication protocol designed to provide strong authentication for
+client/server applications by using secret-key cryptography. (Kerberos
+5 is discussed in RFC 1510.)
+
+This package provides Kerberos and GSSAPI (Generic Security Services
+Application Programming Interface) development headers and libraries.
+It also includes Kerberos ticket and principal tools, and Kerberized
+r-services, telnet and ftp services.
diff -r f2fd68562f2e -r b1bf17ec496a security/mit-krb5/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/mit-krb5/Makefile Tue Mar 30 18:07:17 2004 +0000
@@ -0,0 +1,121 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/03/30 18:07:18 jlam Exp $
+
+DISTNAME= krb5-1.3.1
+PKGNAME= mit-${DISTNAME}
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+CATEGORIES= security
+
+MAINTAINER= jlam%NetBSD.org@localhost
+HOMEPAGE= http://web.mit.edu/kerberos/www/
+COMMENT= MIT Kerberos 5 authentication system
+
+RESTRICTED= "Redistribution not permitted"
+NO_SRC_ON_FTP= ${RESTRICTED}
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(USE_MIT_KRB5_MASTER_SITE)
+MASTER_SITE= # empty
+EXTRACT_SUFX= .tar
+DOWNLOAD= http://web.mit.edu/network/kerberos-form.html
+INTERACTIVE_STAGE= fetch
+
+_FETCH_MESSAGE= \
+ ${ECHO} "==============================================================="; \
+ ${ECHO} " MIT Kerberos V5 source code (${DISTNAME}${EXTRACT_SUFX}) can be fetched"; \
+ ${ECHO} " into ${DISTDIR} from"; \
+ ${ECHO} " ${DOWNLOAD}."; \
+ ${ECHO} "==============================================================="
+
+post-extract:
+ cd ${WRKDIR} && ${PAX} -O -rzf ${WRKDIR}/${DISTNAME}.tar.gz
+.else
+MASTER_SITES= http://www.crypto-publish.org/dist/mit-kerberos5/ \
+ http://www.mirrors.wiretapped.net/security/cryptography/apps/kerberos/krb5-mit/unix/
+EXTRACT_SUFX= .tar.gz
+.endif
+
+CONFLICTS+= heimdal-[0-9]*
+CONFLICTS+= kth-krb4-[0-9]*
+
+.if !exists(/usr/bin/yacc)
+BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+YACC= ${LOCALBASE}/bin/bison -y
+.endif
+
+USE_BUILDLINK3= yes
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+# The actual KDC databases are stored in ${MIT_KRB5_STATEDIR}/krb5kdc.
+MIT_KRB5_STATEDIR?= /var
+FILES_SUBST+= MIT_KRB5_STATEDIR=${MIT_KRB5_STATEDIR}
+
+CONFIGURE_ARGS+= --localstatedir=${MIT_KRB5_STATEDIR}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --enable-shared
+CONFIGURE_ARGS+= --enable-pkgsrc-libtool
+CONFIGURE_ARGS+= --enable-dns
+CONFIGURE_ARGS+= --enable-kdc-replay-cache
+CONFIGURE_ARGS+= --without-krb4
+CONFIGURE_ARGS+= --without-tcl
+MAKE_ENV+= ROOT_USER=${ROOT_USER}
+
+# Rename some of MIT krb5's applications so they won't conflict with
+# other packages.
+#
+BUILD_DEFS+= KERBEROS_PREFIX_CMDS
+.if !empty(KERBEROS_PREFIX_CMDS:M[yY][eE][sS])
+KRB5_PREFIX= k
+MIT_KRB5_TRANSFORM= s/^ftp/${KRB5_PREFIX}&/; \
+ s/^rcp/${KRB5_PREFIX}&/; \
+ s/^rlogin/${KRB5_PREFIX}&/; \
+ s/^rsh/${KRB5_PREFIX}&/; \
+ s/^telnet/${KRB5_PREFIX}&/
+.else
+KRB5_PREFIX= # empty
+MIT_KRB5_TRANSFORM= s/^ftp/k&/
+.endif
+PLIST_SUBST+= KRB5_PREFIX=${KRB5_PREFIX}
+CONFIGURE_ARGS+= --program-transform-name="${MIT_KRB5_TRANSFORM}"
+
+# Fix some places in the MIT krb5 sources that don't point to the correct
+# Kerberized binaries when exec'ing programs.
+#
+SUBST_CLASSES+= mit-krb5
+SUBST_STAGE.mit-krb5= pre-configure
+SUBST_FILES.mit-krb5= include/krb5/stock/osconf.h
+SUBST_SED.mit-krb5= -e "/KRB5_PATH_RLOGIN/s,/rlogin,/${KRB5_PREFIX}rlogin,g"
+
+INFO_FILES= krb425.info krb5-admin.info krb5-install.info krb5-user.info
+
+USE_PKGINSTALL= yes
+OWN_DIRS_PERMS= ${MIT_KRB5_STATEDIR}/krb5kdc \
+ ${ROOT_USER} ${ROOT_GROUP} 0700
+RCD_SCRIPTS= kadmind kdc
+
+INSTALLATION_DIRS= bin info lib sbin
+
+pre-configure:
+ @cd ${WRKSRC}; ${FIND} . -name configure -print | \
+ while read file; do \
+ (dir=`${DIRNAME} $$file`; \
+ ${ECHO} "=> Generating configure in $$dir"; \
+ cd $$dir && ${AUTOCONF} -I ${WRKSRC} -f); \
+ done
+
+post-install:
+ cd ${WRKSRC}/../doc; for info in ${INFO_FILES}; do \
+ ${INSTALL_MAN} $$info ${PREFIX}/info; \
+ for file in $$info-[0-9]*; do \
+ if [ -f "$$file" ]; then \
+ ${INSTALL_MAN} $$file ${PREFIX}/info; \
+ fi; \
+ done; \
+ done
+
+.include "../../mk/autoconf.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f2fd68562f2e -r b1bf17ec496a security/mit-krb5/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/mit-krb5/PLIST Tue Mar 30 18:07:17 2004 +0000
@@ -0,0 +1,133 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/30 18:07:18 jlam Exp $
+bin/compile_et
+bin/gss-client
+bin/kdestroy
+bin/kftp
+bin/kinit
+bin/klist
+bin/kpasswd
+bin/krb5-config
+bin/${KRB5_PREFIX}rcp
+bin/${KRB5_PREFIX}rlogin
+bin/${KRB5_PREFIX}rsh
+bin/ksu
+bin/${KRB5_PREFIX}telnet
+bin/kvno
+bin/sclient
+bin/sim_client
+bin/uuclient
+bin/v5passwd
+etc/rc.d/kadmind
+etc/rc.d/kdc
+include/com_err.h
+include/gssapi/gssapi.h
+include/gssapi/gssapi_generic.h
+include/gssapi/gssapi_krb5.h
+include/krb5.h
+include/profile.h
+lib/libcom_err.a
+lib/libcom_err.la
+lib/libcom_err.so
+lib/libcom_err.so.3
+lib/libcom_err.so.3.0
+lib/libdes425.a
+lib/libdes425.la
+lib/libdes425.so
+lib/libdes425.so.3
+lib/libdes425.so.3.0
+lib/libgssapi_krb5.a
+lib/libgssapi_krb5.la
+lib/libgssapi_krb5.so
+lib/libgssapi_krb5.so.2
+lib/libgssapi_krb5.so.2.2
+lib/libgssrpc.a
+lib/libgssrpc.la
+lib/libgssrpc.so
+lib/libgssrpc.so.3
+lib/libgssrpc.so.3.0
+lib/libk5crypto.a
+lib/libk5crypto.la
+lib/libk5crypto.so
+lib/libk5crypto.so.3
+lib/libk5crypto.so.3.0
+lib/libkadm5clnt.a
+lib/libkadm5clnt.la
+lib/libkadm5clnt.so
+lib/libkadm5clnt.so.5
+lib/libkadm5clnt.so.5.1
+lib/libkadm5srv.a
+lib/libkadm5srv.la
+lib/libkadm5srv.so
+lib/libkadm5srv.so.5
+lib/libkadm5srv.so.5.1
+lib/libkdb5.a
+lib/libkdb5.la
+lib/libkdb5.so
+lib/libkdb5.so.4
+lib/libkdb5.so.4.0
+lib/libkrb5.a
+lib/libkrb5.la
+lib/libkrb5.so
+lib/libkrb5.so.3
+lib/libkrb5.so.3.2
+man/man1/compile_et.1
+man/man1/kdestroy.1
+man/man1/kerberos.1
+man/man1/kftp.1
+man/man1/kinit.1
+man/man1/klist.1
+man/man1/kpasswd.1
+man/man1/krb5-send-pr.1
+man/man1/${KRB5_PREFIX}rcp.1
+man/man1/${KRB5_PREFIX}rlogin.1
+man/man1/${KRB5_PREFIX}rsh.1
+man/man1/ksu.1
+man/man1/${KRB5_PREFIX}telnet.1
+man/man1/kvno.1
+man/man1/sclient.1
+man/man1/v5passwd.1
+man/man5/.k5login.5
+man/man5/kdc.conf.5
+man/man5/krb5.conf.5
+man/man8/k5srvutil.8
+man/man8/kadmin.8
+man/man8/kadmin.local.8
+man/man8/kadmind.8
+man/man8/kdb5_util.8
+man/man8/kftpd.8
+man/man8/klogind.8
+man/man8/kprop.8
+man/man8/kpropd.8
+man/man8/krb5kdc.8
+man/man8/kshd.8
+man/man8/${KRB5_PREFIX}telnetd.8
+man/man8/ktutil.8
+man/man8/login.krb5.8
+man/man8/sserver.8
+sbin/gss-server
+sbin/k5srvutil
+sbin/kadmin
+sbin/kadmin.local
+sbin/kadmind
+sbin/kdb5_util
+sbin/${KRB5_PREFIX}ftpd
+sbin/klogind
+sbin/kprop
+sbin/kpropd
+sbin/krb5-send-pr
+sbin/krb5kdc
+sbin/kshd
+sbin/${KRB5_PREFIX}telnetd
+sbin/ktutil
+sbin/login.krb5
+sbin/sim_server
+sbin/sserver
+sbin/uuserver
+sbin/v5passwdd
+share/et/et_c.awk
+share/et/et_h.awk
+share/gnats/mit
+@dirrm share/gnats
+@dirrm share/et
+@dirrm include/kerberosIV
+@dirrm include/gssapi
diff -r f2fd68562f2e -r b1bf17ec496a security/mit-krb5/buildlink2.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/mit-krb5/buildlink2.mk Tue Mar 30 18:07:17 2004 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/03/30 18:07:18 jlam Exp $
+
+.if !defined(MITKRB5_BUILDLINK2_MK)
+MITKRB5_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= mit-krb5
+BUILDLINK_DEPENDS.mit-krb5?= mit-krb5>=1.3.1
+BUILDLINK_PKGSRCDIR.mit-krb5?= ../../wip/mit-krb5
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.mit-krb5=mit-krb5
+BUILDLINK_PREFIX.mit-krb5_DEFAULT= ${LOCALBASE}
+
+BUILDLINK_FILES.mit-krb5= include/com_err.h
+BUILDLINK_FILES.mit-krb5+= include/kerberosIV/*
+BUILDLINK_FILES.mit-krb5+= include/gssapi/*
+BUILDLINK_FILES.mit-krb5+= include/krb5.h
+BUILDLINK_FILES.mit-krb5+= include/profile.h
+BUILDLINK_FILES.mit-krb5+= lib/libcom_err.*
+BUILDLINK_FILES.mit-krb5+= lib/libdes425.*
+BUILDLINK_FILES.mit-krb5+= lib/libgssapi_krb5.*
+BUILDLINK_FILES.mit-krb5+= lib/libgssrpc.*
Home |
Main Index |
Thread Index |
Old Index