diff --git a/security/py-pykpass/Makefile b/security/py-pykpass/Makefile new file mode 100644 index 00000000000..0b276bcd719 --- /dev/null +++ b/security/py-pykpass/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2009/04/15 21:23:10 sthen Exp $ + +COMMENT= kerberos5 password verification python module + +MODPY_EGG_VERSION= 0.4 +DISTNAME= pykpass-${MODPY_EGG_VERSION} +PKGNAME= py-${DISTNAME} +CATEGORIES= security + +HOMEPAGE= http://www.huque.com/software/pykpass/ + +MAINTAINER= Jason Meltzer + +# Python +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE} + +WANTLIB+= com_err crypto krb5 ssl +MODULES= lang/python + +MODPY_SETUPTOOLS= No + +NO_REGRESS= Yes + +pre-build: + @perl -pi -e 's|/usr/local/include|/usr/include/kerberosV/|g' ${WRKDIST}/setup.py + @perl -pi -e 's|/usr/local/lib|/usr/lib|g' ${WRKDIST}/setup.py + @perl -pi -e "s|'com_err'|'com_err', 'ssl', 'crypto'|" ${WRKDIST}/setup.py + @perl -pi -e 's|NO_REPLAYCACHE|HEIMDAL|' ${WRKDIST}/setup.py + +.include diff --git a/security/py-pykpass/distinfo b/security/py-pykpass/distinfo new file mode 100644 index 00000000000..61454e8e2cc --- /dev/null +++ b/security/py-pykpass/distinfo @@ -0,0 +1,5 @@ +MD5 (pykpass-0.4.tar.gz) = 2aLq6ZeyQzQ5dGQvjLlcog== +RMD160 (pykpass-0.4.tar.gz) = 3KY81T6WceVvz+KbH7dytL5Tzv8= +SHA1 (pykpass-0.4.tar.gz) = kGXfDuBFNbLqsJFn5YYmECYTQPI= +SHA256 (pykpass-0.4.tar.gz) = q7uCeMYsRCw8QzuFfqBm/QX0IYJ+rZfHV2ggCBcfi8M= +SIZE (pykpass-0.4.tar.gz) = 6468 diff --git a/security/py-pykpass/pkg/DESCR b/security/py-pykpass/pkg/DESCR new file mode 100644 index 00000000000..d578b23cec4 --- /dev/null +++ b/security/py-pykpass/pkg/DESCR @@ -0,0 +1,2 @@ +Pykpass is a C extension module to perform password verification using +Kerberos 5. It requires either the MIT or Heimdal Kerberos library. diff --git a/security/py-pykpass/pkg/PLIST b/security/py-pykpass/pkg/PLIST new file mode 100644 index 00000000000..11988ed3b18 --- /dev/null +++ b/security/py-pykpass/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/04/15 21:23:10 sthen Exp $ +lib/python${MODPY_VERSION}/site-packages/_kpass.so +lib/python${MODPY_VERSION}/site-packages/kpass.py +lib/python${MODPY_VERSION}/site-packages/kpass.pyc +lib/python${MODPY_VERSION}/site-packages/pykpass-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info