mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
0f6dd9c8eb
Without, the first invocation of authGSSClientStep raises kerberos.GSSError after failing to acquire a ticket for the krbtgt service on the intended host rather than the specified service. PR: 204899 Submitted by: John W. O'Brien <john@saltant.com>
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# Created by: Roland van Laar <roland@micite.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kerberos
|
|
PORTVERSION= 1.2.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= security python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= dvl@FreeBSD.org
|
|
COMMENT= Kerberos bindings for python
|
|
|
|
LICENSE= APACHE20
|
|
|
|
OPTIONS_DEFAULT= GSSAPI_BASE
|
|
OPTIONS_SINGLE= GSSAPI
|
|
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
|
|
|
|
GSSAPI_BASE_USES= gssapi
|
|
GSSAPI_HEIMDAL_USES= gssapi:heimdal
|
|
GSSAPI_MIT_USES= gssapi:mit
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
GSSAPI_BASE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_kerberosbasic.h \
|
|
${PATCHDIR}/extra-patch-src_kerberosgss.c \
|
|
${PATCHDIR}/extra-patch-src_kerberosgss.h \
|
|
${PATCHDIR}/extra-patch-src_kerberospw.h
|
|
|
|
GSSAPI_HEIMDAL_EXTRA_PATCHES= ${GSSAPI_BASE_EXTRA_PATCHES}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|getoutput("krb5-config|getoutput("${GSSAPIBASEDIR}/bin/krb5-config|g' ${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/kerberos.so
|
|
|
|
.include <bsd.port.mk>
|