2013-09-21 00:55:24 +02:00
|
|
|
# Created by: Roland van Laar <roland@micite.net>
|
2011-10-02 07:21:18 +02:00
|
|
|
|
2014-10-31 23:07:37 +01:00
|
|
|
PORTNAME= kerberos
|
2021-11-08 16:36:03 +01:00
|
|
|
PORTVERSION= 1.3.1
|
2018-08-20 20:34:53 +02:00
|
|
|
PORTREVISION= 0
|
2014-10-31 23:07:37 +01:00
|
|
|
CATEGORIES= security python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2011-10-02 07:21:18 +02:00
|
|
|
|
2015-11-17 16:17:01 +01:00
|
|
|
MAINTAINER= dvl@FreeBSD.org
|
2014-10-31 23:07:37 +01:00
|
|
|
COMMENT= Kerberos bindings for python
|
2011-10-02 07:21:18 +02:00
|
|
|
|
2014-10-31 23:07:37 +01:00
|
|
|
LICENSE= APACHE20
|
2011-10-02 07:21:18 +02:00
|
|
|
|
2015-11-17 16:17:01 +01:00
|
|
|
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
|
2011-10-02 07:21:18 +02:00
|
|
|
|
2020-12-29 00:02:12 +01:00
|
|
|
USES= python:3.6+
|
2014-10-24 18:50:42 +02:00
|
|
|
USE_PYTHON= distutils autoplist
|
2011-10-02 07:21:18 +02:00
|
|
|
|
2015-11-17 16:17:01 +01:00
|
|
|
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}
|
|
|
|
|
2011-10-02 07:21:18 +02:00
|
|
|
post-patch:
|
2016-05-03 02:46:42 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|getoutput("krb5-config|getoutput("${GSSAPIBASEDIR}/bin/krb5-config|g' ${WRKSRC}/setup.py
|
2015-11-17 16:17:01 +01:00
|
|
|
|
|
|
|
post-install:
|
2020-12-24 14:46:01 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/kerberos*.so
|
2011-10-02 07:21:18 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|