aboutsummaryrefslogtreecommitdiff
path: root/security/pam_krb5
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2003-02-12 04:38:19 +0000
committerCy Schubert <cy@FreeBSD.org>2003-02-12 04:38:19 +0000
commite103223c78ee4dcab56b63865efd539168c9f9c3 (patch)
tree97d5fb5fd005ecb9ac567e5db861d047807aec42 /security/pam_krb5
parentcb9a70023bc23ad85b6f2d4fcb2d2fda214e53e1 (diff)
downloadports-e103223c78ee4dcab56b63865efd539168c9f9c3.tar.gz
ports-e103223c78ee4dcab56b63865efd539168c9f9c3.zip
Notes
Diffstat (limited to 'security/pam_krb5')
-rw-r--r--security/pam_krb5/Makefile56
-rw-r--r--security/pam_krb5/distinfo1
-rw-r--r--security/pam_krb5/files/patch-pam_krb5_sess.c12
-rw-r--r--security/pam_krb5/pkg-comment1
-rw-r--r--security/pam_krb5/pkg-descr4
-rw-r--r--security/pam_krb5/pkg-plist2
6 files changed, 76 insertions, 0 deletions
diff --git a/security/pam_krb5/Makefile b/security/pam_krb5/Makefile
new file mode 100644
index 000000000000..a2a9c08e7963
--- /dev/null
+++ b/security/pam_krb5/Makefile
@@ -0,0 +1,56 @@
+# Ports collection Makefile for: pam_krb5
+# Date created: 11/03/2000
+# Whom: nectar@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= pam_krb5
+PORTVERSION= 1.0.3
+CATEGORIES= security
+MASTER_SITES= http://www.komquats.com/distfiles/
+
+MAINTAINER= cy@FreeBSD.org
+
+MAN8= pam_krb5.8
+
+USE_BZIP2= yes
+USE_PERL5= yes
+GNU_CONFIGURE= yes
+
+.if defined(PACKAGE_BUILDING)
+KRB5_IMPL= mit
+.endif
+
+.if defined(KRB5_IMPL) && ${KRB5_IMPL} == heimdal
+LIB_DEPENDS= krb5.18:${PORTSDIR}/security/heimdal
+.if defined(HEIMDAL_HOME)
+KRB5_DIR?= ${HEIMDAL_HOME}
+.endif
+.elif defined(KRB5_IMPL) && ${KRB5_IMPL} == mit
+LIB_DEPENDS= krb5.3:${PORTSDIR}/security/krb5
+.if defined(KRB5_HOME)
+KRB5_DIR?= ${KRB5_HOME}
+.endif
+.else
+BROKEN= You must define KRB5_IMPL to be \"mit\" or \"heimdal\"
+.endif
+
+.if defined(PREFIX)
+MANDIR= ${PREFIX}/man
+.else
+PREFIX= ${DESTDIR}/usr
+MANPREFIX= ${DESTDIR}/usr/share
+MANDIR= ${PREFIX}/share/man
+.endif
+KRB5_DIR?= ${LOCALBASE}
+CONFIGURE_ENV= CFLAGS="${CFLAGS}"
+CONFIGURE_ARGS= --with-krb5="${KRB5_DIR}" \
+ --with-pamdir="${PREFIX}/lib" \
+ --with-man-sect=8 \
+ --mandir=${MANDIR}
+
+post-install:
+ cd ${WRKSRC} && ${MAKE} install-man
+
+.include <bsd.port.mk>
diff --git a/security/pam_krb5/distinfo b/security/pam_krb5/distinfo
new file mode 100644
index 000000000000..d4ca0cefe37e
--- /dev/null
+++ b/security/pam_krb5/distinfo
@@ -0,0 +1 @@
+MD5 (pam_krb5-1.0.3.tar.bz2) = 9a3b26dc8a52e9882bdaf41f8e50d721
diff --git a/security/pam_krb5/files/patch-pam_krb5_sess.c b/security/pam_krb5/files/patch-pam_krb5_sess.c
new file mode 100644
index 000000000000..c16b06f9c84a
--- /dev/null
+++ b/security/pam_krb5/files/patch-pam_krb5_sess.c
@@ -0,0 +1,12 @@
+*** pam_krb5_sess.c.orig Sat Sep 7 10:42:40 2002
+--- pam_krb5_sess.c Sat Sep 7 10:43:02 2002
+***************
+*** 9,14 ****
+--- 9,15 ----
+ static const char rcsid[] = "$Id: pam_krb5_sess.c,v 1.1.1.1.2.5 2001/09/24 14:58:15 nectar Exp $";
+
+ #include <krb5.h>
++ #include <syslog.h>
+ #include "pam_krb5.h"
+
+ /* Initiate session management */
diff --git a/security/pam_krb5/pkg-comment b/security/pam_krb5/pkg-comment
new file mode 100644
index 000000000000..7e718e8bbb10
--- /dev/null
+++ b/security/pam_krb5/pkg-comment
@@ -0,0 +1 @@
+A Pluggable Authentication Module for Kerberos 5
diff --git a/security/pam_krb5/pkg-descr b/security/pam_krb5/pkg-descr
new file mode 100644
index 000000000000..89603de2f45b
--- /dev/null
+++ b/security/pam_krb5/pkg-descr
@@ -0,0 +1,4 @@
+A Pluggable Authentication Module for Kerberos 5, which can
+be compiled for either Heimdal or MIT Kerberos.
+
+WWW: http://www.fcusack.com/
diff --git a/security/pam_krb5/pkg-plist b/security/pam_krb5/pkg-plist
new file mode 100644
index 000000000000..2c1938c01a42
--- /dev/null
+++ b/security/pam_krb5/pkg-plist
@@ -0,0 +1,2 @@
+lib/pam_krb5.so
+lib/pam_krb5.so.1