1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Resurrect pam_krb5 for MIT KRB5.

Approved by:	nectar
This commit is contained in:
Cy Schubert 2003-02-12 04:38:19 +00:00
parent cb9a70023b
commit e103223c78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75340
7 changed files with 77 additions and 0 deletions

View File

@ -223,6 +223,7 @@
SUBDIR += pam-mysql
SUBDIR += pam-pgsql
SUBDIR += pam_alreadyloggedin
SUBDIR += pam_krb5
SUBDIR += pam_ldap
SUBDIR += pam_pop3
SUBDIR += pam_pwdfile

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (pam_krb5-1.0.3.tar.bz2) = 9a3b26dc8a52e9882bdaf41f8e50d721

View File

@ -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 */

View File

@ -0,0 +1 @@
A Pluggable Authentication Module for Kerberos 5

View File

@ -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/

View File

@ -0,0 +1,2 @@
lib/pam_krb5.so
lib/pam_krb5.so.1