summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortez <tez>2011-03-23 00:01:38 +0000
committertez <tez>2011-03-23 00:01:38 +0000
commite9a4e7aca734d2048655e68933fb9a87e7e37450 (patch)
tree6a66a3fcb53b77e6eda980accad80580a8406325 /security
parent2e9ef6a51f5d1b8ef7f61e086f60901a4aae861b (diff)
downloadpkgsrc-e9a4e7aca734d2048655e68933fb9a87e7e37450.tar.gz
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 MIT Kerberos applications and servers for telnet, the r-services and ftp. These were recently split from the mit-krb5 package due to upstream making the same split.
Diffstat (limited to 'security')
-rw-r--r--security/mit-krb5-appl/DESCR7
-rw-r--r--security/mit-krb5-appl/Makefile62
-rw-r--r--security/mit-krb5-appl/PLIST21
-rw-r--r--security/mit-krb5-appl/distinfo6
-rw-r--r--security/mit-krb5-appl/patches/patch-ab14
5 files changed, 110 insertions, 0 deletions
diff --git a/security/mit-krb5-appl/DESCR b/security/mit-krb5-appl/DESCR
new file mode 100644
index 00000000000..5bd72e14112
--- /dev/null
+++ b/security/mit-krb5-appl/DESCR
@@ -0,0 +1,7 @@
+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 applications and servers for telnet,
+the r-services and ftp.
diff --git a/security/mit-krb5-appl/Makefile b/security/mit-krb5-appl/Makefile
new file mode 100644
index 00000000000..528336315b4
--- /dev/null
+++ b/security/mit-krb5-appl/Makefile
@@ -0,0 +1,62 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/03/23 00:01:38 tez Exp $
+
+DISTNAME= krb5-appl-1.0.1
+PKGNAME= mit-${DISTNAME}
+CATEGORIES= security
+MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5-appl/1.0/
+DISTFILES= ${DISTNAME}-signed${EXTRACT_SUFX}
+EXTRACT_SUFX= .tar
+
+MAINTAINER= tez@NetBSD.org
+HOMEPAGE= http://web.mit.edu/kerberos/
+COMMENT= MIT Kerberos 5 authentication system applications
+
+PKG_DESTDIR_SUPPORT= user-destdir
+MAKE_JOBS_SAFE= no
+
+.include "../../mk/bsd.prefs.mk"
+
+CONFLICTS+= heimdal-[0-9]*
+CONFLICTS+= kth-krb4-[0-9]*
+CONFLICTS+= mit-krb5<1.8
+
+USE_TOOLS+= yacc
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.mit-krb5
+PKG_SUPPORTED_OPTIONS= kerberos-prefix-cmds
+
+.include "../../mk/bsd.options.mk"
+
+# Rename some of MIT krb5's applications so they won't conflict with
+# other packages.
+#
+.if !empty(PKG_OPTIONS:Mkerberos-prefix-cmds)
+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:Q}
+CONFIGURE_ARGS+= --program-transform-name=${MIT_KRB5_TRANSFORM:Q}
+
+INSTALLATION_DIRS= bin sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
+
+# The MIT krb5 distribution is actually a tar file that contains the
+# real .tar.gz distfile and a PGP signature.
+#
+post-extract:
+ @${ECHO} "=> Extracting internal tarball"; \
+ extract_file="${WRKDIR}/${DISTNAME}.tar.gz"; \
+ cd ${WRKDIR} && ${EXTRACT_CMD}
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../security/mit-krb5/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/mit-krb5-appl/PLIST b/security/mit-krb5-appl/PLIST
new file mode 100644
index 00000000000..2aa76f14785
--- /dev/null
+++ b/security/mit-krb5-appl/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/03/23 00:01:38 tez Exp $
+bin/kftp
+bin/${KRB5_PREFIX}rcp
+bin/${KRB5_PREFIX}rlogin
+bin/${KRB5_PREFIX}rsh
+bin/${KRB5_PREFIX}telnet
+man/man1/kftp.1
+man/man1/${KRB5_PREFIX}rcp.1
+man/man1/${KRB5_PREFIX}rlogin.1
+man/man1/${KRB5_PREFIX}rsh.1
+man/man1/${KRB5_PREFIX}telnet.1
+man/man8/kftpd.8
+man/man8/klogind.8
+man/man8/kshd.8
+man/man8/${KRB5_PREFIX}telnetd.8
+man/man8/login.krb5.8
+sbin/kftpd
+sbin/klogind
+sbin/kshd
+sbin/${KRB5_PREFIX}telnetd
+sbin/login.krb5
diff --git a/security/mit-krb5-appl/distinfo b/security/mit-krb5-appl/distinfo
new file mode 100644
index 00000000000..7361ad99058
--- /dev/null
+++ b/security/mit-krb5-appl/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/03/23 00:01:38 tez Exp $
+
+SHA1 (krb5-appl-1.0.1-signed.tar) = 128662c9860f61a51c9bcaf1b6217467faa12324
+RMD160 (krb5-appl-1.0.1-signed.tar) = ca0668b623dcf4dc5a0699fa47d86660aac5544a
+Size (krb5-appl-1.0.1-signed.tar) = 645120 bytes
+SHA1 (patch-ab) = 4522fcdb396d2079ac6405926a64f907d94a2593
diff --git a/security/mit-krb5-appl/patches/patch-ab b/security/mit-krb5-appl/patches/patch-ab
new file mode 100644
index 00000000000..7b3bd7573bb
--- /dev/null
+++ b/security/mit-krb5-appl/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2011/03/23 00:01:38 tez Exp $
+
+Do not install un-needed and non-standard make file
+
+--- telnet/telnet/Makefile.in.orig 2011-01-07 20:14:58.251779200 -0600
++++ telnet/telnet/Makefile.in 2011-01-07 20:15:09.328436300 -0600
+@@ -60,7 +60,6 @@
+ $(INSTALL_DATA) $(srcdir)/$$f.1 \
+ ${DESTDIR}$(CLIENT_MANDIR)/`echo $$f|sed '$(transform)'`.1; \
+ done
+- $(INSTALL_DATA) $(srcdir)/tmac.doc ${DESTDIR}$(CLIENT_MANDIR)/tmac.doc
+
+ authenc.o: defines.h externs.h general.h ring.h types.h $(ARPA_TELNET)
+ commands.o: defines.h externs.h general.h ring.h types.h $(ARPA_TELNET)