ports/156791: New port: security/py-kerberos Python bindings for kerberos
Roland van Laar
roland at micite.net
Tue May 3 06:50:12 UTC 2011
>Number: 156791
>Category: ports
>Synopsis: New port: security/py-kerberos Python bindings for kerberos
>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: Tue May 03 06:50:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Roland van Laar
>Release:
>Organization:
>Environment:
>Description:
New port: security/py-kerberos.
This Python package is a high-level wrapper for Kerberos (GSSAPI) operations.
The goal is to avoid having to build a module that wraps the entire
Kerberos.framework, and instead offer a limited set of functions that do what
is needed for client/server Kerberos authentication based on
<http://www.ietf.org/rfc/rfc4559.txt>.
WWW: http://trac.calendarserver.org/
>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:
#
# py-kerberos
# py-kerberos/Makefile
# py-kerberos/pkg-plist
# py-kerberos/pkg-descr
# py-kerberos/distinfo
#
echo c - py-kerberos
mkdir -p py-kerberos > /dev/null 2>&1
echo x - py-kerberos/Makefile
sed 's/^X//' >py-kerberos/Makefile << 'c747b79cf6c65bab4388bcedd7b245c0'
X# Ports collection makefile for: py-kerberos
X# Date created: April 23, 2011
X# Whom: Roland van Laar <roland at micite.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= kerberos
XPORTVERSION= 1.1.1
XCATEGORIES= security python
XMASTER_SITES= CHEESESHOP
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER= roland at micite.net
XCOMMENT= Kerberos bindings for python
X
XBUILD_DEPENDS= krb5-config:${PORTSDIR}/security/krb5
XLIB_DEPENDS= krb5support.0:${PORTSDIR}/security/krb5
X
XUSE_PYTHON= yes
XUSE_PYDISTUTILS= easy_install
XPYEASYINSTALL_ARCHDEP= yes
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|krb5|/usr/local/bin/krb5|g' ${WRKSRC}/setup.py
X @${REINPLACE_CMD} -e 's|split|replace("/usr/lib:", "").split|g' ${WRKSRC}/setup.py
X @${REINPLACE_CMD} -e 's|distutils.core|setuptools|g' ${WRKSRC}/setup.py
X
X.include <bsd.port.mk>
c747b79cf6c65bab4388bcedd7b245c0
echo x - py-kerberos/pkg-plist
sed 's/^X//' >py-kerberos/pkg-plist << '6c87c980513ce73a9c70d0fc834c101e'
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
6c87c980513ce73a9c70d0fc834c101e
echo x - py-kerberos/pkg-descr
sed 's/^X//' >py-kerberos/pkg-descr << 'b955bd5527c5a70c57a5f93c41fd833f'
XThis Python package is a high-level wrapper for Kerberos (GSSAPI) operations.
XThe goal is to avoid having to build a module that wraps the entire
XKerberos.framework, and instead offer a limited set of functions that do what
Xis needed for client/server Kerberos authentication based on
X<http://www.ietf.org/rfc/rfc4559.txt>.
X
XWWW: http://trac.calendarserver.org/
b955bd5527c5a70c57a5f93c41fd833f
echo x - py-kerberos/distinfo
sed 's/^X//' >py-kerberos/distinfo << 'ef6740d089df473f9eb21131e5db8f90'
XSHA256 (kerberos-1.1.1.tar.gz) = 09132e3b2027854e8714894546aff11f31e6051eb75513e774948e10a5dde6f5
XSIZE (kerberos-1.1.1.tar.gz) = 15343
ef6740d089df473f9eb21131e5db8f90
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list