View | Details | Raw Unified | Return to bug 204185 | Differences between
and this patch

Collapse All | Expand All

(-)security/py-kerberos/Makefile (-4 / +2 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	kerberos
4
PORTNAME=	kerberos
5
PORTVERSION=	1.1.1
5
PORTVERSION=	1.2.2
6
PORTREVISION=	1
7
CATEGORIES=	security python
6
CATEGORIES=	security python
8
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 19-25 Link Here
19
USE_PYTHON=	distutils autoplist
18
USE_PYTHON=	distutils autoplist
20
19
21
post-patch:
20
post-patch:
22
	@${REINPLACE_CMD} -e 's|krb5|${PREFIX}/bin/krb5|g' ${WRKSRC}/setup.py
21
	@${REINPLACE_CMD} -e 's|%%BINDIR%%|${PREFIX}/bin|g' ${WRKSRC}/setup.py
23
	@${REINPLACE_CMD} -e 's|split|replace("/usr/lib:", "").split|g' ${WRKSRC}/setup.py
24
22
25
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)security/py-kerberos/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (kerberos-1.1.1.tar.gz) = 09132e3b2027854e8714894546aff11f31e6051eb75513e774948e10a5dde6f5
1
SHA256 (kerberos-1.2.2.tar.gz) = 070ff6d9baf3752323283b1c8ed75e2edd0ec55337359185abf5bb0b617d2f5d
2
SIZE (kerberos-1.1.1.tar.gz) = 15343
2
SIZE (kerberos-1.2.2.tar.gz) = 18890
(-)security/py-kerberos/files/patch-setup.py (+23 lines)
Line 0 Link Here
1
--- setup.py.orig	2015-03-27 01:15:10 UTC
2
+++ setup.py
3
@@ -33,7 +33,7 @@ version_string = "1.2.2"
4
 
5
 description = "Kerberos high-level interface"
6
 
7
-long_description = file(joinpath(dirname(__file__), "README.rst")).read()
8
+long_description = open(joinpath(dirname(__file__), "README.rst")).read()
9
 
10
 url = "http://www.calendarserver.org/"
11
 
12
@@ -76,9 +76,9 @@ install_requirements = []
13
 
14
 extras_requirements = {}
15
 
16
-extra_link_args = getoutput("krb5-config --libs gssapi").split()
17
+extra_link_args = getoutput("%%BINDIR%%/krb5-config --libs gssapi").replace("/usr/lib:", "").split()
18
 
19
-extra_compile_args = getoutput("krb5-config --cflags gssapi").split()
20
+extra_compile_args = getoutput("%%BINDIR%%/krb5-config --cflags gssapi").replace("/usr/lib:", "").split()
21
 
22
 
23
 #

Return to bug 204185