ports/146072: Update pam_krb5 to a recent release.

Peter Losher plosher at isc.org
Mon Apr 26 22:10:02 UTC 2010


>Number:         146072
>Category:       ports
>Synopsis:       Update pam_krb5 to a recent release.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 26 22:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Peter Losher
>Release:        
>Organization:
ISC
>Environment:
>Description:
The pam_krb5 that is currently in ports is truly out of date (last release was from 2003); a successor based on the original code from Frank Cusack is now maintained by Russ Allberly over at Stanford and is the basis for the pam_krb5 that's currently in Debian.  The code is dual licensed - BSD-style & GPL2 and works with Heimdal and MIT Kerberos.  

It has many more features than the original, and I'd like to see the port updated so I don't have to keep a private branch around. ;)  Attached is the .shar file with the updated port.  I made some other small changes like moving the $PREFIX to /usr/local so it doesn't conflict with the pam_krb5 that's already in base, etc.  

(Frankly I would love to see this version in base, but I believe it has to start in ports first)

Let me know if there are any questions.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pam_krb5/
#	pam_krb5/files
#	pam_krb5/Makefile
#	pam_krb5/distinfo
#	pam_krb5/pkg-descr
#	pam_krb5/pkg-plist
#
echo c - pam_krb5/
mkdir -p pam_krb5/ > /dev/null 2>&1
echo c - pam_krb5/files
mkdir -p pam_krb5/files > /dev/null 2>&1
echo x - pam_krb5/Makefile
sed 's/^X//' >pam_krb5/Makefile << '65e998f9ad70135d85a723b8532f3f4e'
X# Ports collection Makefile for:	pam_krb5
X# Date created:				11/03/2000
X# Whom:					nectar at FreeBSD.org
X#
X# $FreeBSD: ports/security/pam_krb5/Makefile,v 1.31 2009/09/02 15:01:50 amdmi3 Exp $
X#
X
XPORTNAME=		pam_krb5
XPORTVERSION=		4.2
XPORTREVISION=		3
XCATEGORIES=		security
XMASTER_SITES=		http://archives.eyrie.org/software/kerberos/
XDISTNAME=		pam-krb5-${PORTVERSION:S/.r/-rc/}
X
XMAINTAINER=		cy at FreeBSD.org
XCOMMENT=		A Pluggable Authentication Module for Kerberos 5
X
XMAN5=			pam_krb5.5
X
XUSE_PERL5=		yes
XGNU_CONFIGURE=		yes
XUSE_GMAKE=		yes
X
X.if defined(KRB5_IMPL) && ${KRB5_IMPL} == heimdal
X.if defined(HEIMDAL_HOME)
XKRB5_DIR?=		${HEIMDAL_HOME}
X.endif
X.elif defined(KRB5_IMPL) && ${KRB5_IMPL} == mit
XLIB_DEPENDS=		krb5.3:${PORTSDIR}/security/krb5
X.if defined(KRB5_HOME)
XKRB5_DIR?=		${KRB5_HOME}
X.endif
X.else
XIGNORE=			You must define KRB5_IMPL to be \"mit\" or \"heimdal\"
X.endif
X
XMANDIR=			${MANPREFIX}/man
XMANDIR=			${PREFIX}/share/man
XKRB5_DIR?=		${LOCALBASE}
XCONFIGURE_ENV=		CFLAGS="${CFLAGS}"
XCONFIGURE_ARGS=		--with-krb5="${KRB5_DIR}"
X
Xpost-install:
X	cd ${WRKSRC} && ${GMAKE} install-man
X
X.include <bsd.port.mk>
65e998f9ad70135d85a723b8532f3f4e
echo x - pam_krb5/distinfo
sed 's/^X//' >pam_krb5/distinfo << '958b4bf4646f20208ef5a4daaaa78b05'
XMD5 (pam-krb5-4.2.tar.gz) = fa8d83531ee084c97fc7beb873a9fa5d
XSHA256 (pam-krb5-4.2.tar.gz) = fb05896f72c2766b3a45df4def80b4dde71b2276abe32390f3c8d2d648f31f28
XSIZE (pam-krb5-4.2.tar.gz) = 390614
958b4bf4646f20208ef5a4daaaa78b05
echo x - pam_krb5/pkg-descr
sed 's/^X//' >pam_krb5/pkg-descr << '61017a93aca5dedda049598f4af31c88'
XA Pluggable Authentication Module for Kerberos 5, which can
Xbe compiled for either Heimdal or MIT Kerberos.
X
XWWW: http://www.eyrie.org/~eagle/software/pam-krb5/
61017a93aca5dedda049598f4af31c88
echo x - pam_krb5/pkg-plist
sed 's/^X//' >pam_krb5/pkg-plist << '82d48f8a342306b4235f2079cb5b33cc'
Xlib/security/pam_krb5.so
Xlib/security/pam_krb5.la
82d48f8a342306b4235f2079cb5b33cc
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list