aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2013-05-31 00:07:21 +0800
committercrees <crees@FreeBSD.org>2013-05-31 00:07:21 +0800
commit381d8ed8e6712a015b1e49177292a296ba2a5ec1 (patch)
tree4ff68a34283804c9f968647aad2f4c96f59267b0 /security
parent1b768cd5e8656f52ba51b6c170a61d9104560632 (diff)
downloadfreebsd-ports-gnome-381d8ed8e6712a015b1e49177292a296ba2a5ec1.tar.gz
freebsd-ports-gnome-381d8ed8e6712a015b1e49177292a296ba2a5ec1.tar.zst
freebsd-ports-gnome-381d8ed8e6712a015b1e49177292a296ba2a5ec1.zip
This CPython extension provides Python bindings for cracklib.
It contains a pythonic interface to cracklib's functions and some Python convenience functions. WWW: https://pypi.python.org/pypi/cracklib
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/py-cracklib/Makefile21
-rw-r--r--security/py-cracklib/distinfo2
-rw-r--r--security/py-cracklib/pkg-descr5
-rw-r--r--security/py-cracklib/pkg-plist15
5 files changed, 44 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 5af4dfa89012..1a1116166693 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -741,6 +741,7 @@
SUBDIR += py-certify
SUBDIR += py-clamav
SUBDIR += py-crack
+ SUBDIR += py-cracklib
SUBDIR += py-cryptkit
SUBDIR += py-fail2ban
SUBDIR += py-gnupg
diff --git a/security/py-cracklib/Makefile b/security/py-cracklib/Makefile
new file mode 100644
index 000000000000..fc9447137aef
--- /dev/null
+++ b/security/py-cracklib/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= cracklib
+PORTVERSION= 2.8.19
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= crees@FreeBSD.org
+COMMENT= CPython extension module wrapping the libcrack library
+
+LIB_DEPENDS= crack:${PORTSDIR}/security/cracklib
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+PYEASYINSTALL_ARCHDEP= yes
+
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+.include <bsd.port.mk>
diff --git a/security/py-cracklib/distinfo b/security/py-cracklib/distinfo
new file mode 100644
index 000000000000..7da7dadc56f5
--- /dev/null
+++ b/security/py-cracklib/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cracklib-2.8.19.tar.gz) = 82ab941c259c26190930b21f8abb1945aea89f8876d84f21dd116a72596a2ff6
+SIZE (cracklib-2.8.19.tar.gz) = 4906
diff --git a/security/py-cracklib/pkg-descr b/security/py-cracklib/pkg-descr
new file mode 100644
index 000000000000..09c23f2a4a59
--- /dev/null
+++ b/security/py-cracklib/pkg-descr
@@ -0,0 +1,5 @@
+This CPython extension provides Python bindings for cracklib.
+It contains a pythonic interface to cracklib's functions and
+some Python convenience functions.
+
+WWW: https://pypi.python.org/pypi/cracklib
diff --git a/security/py-cracklib/pkg-plist b/security/py-cracklib/pkg-plist
new file mode 100644
index 000000000000..c957af6b557d
--- /dev/null
+++ b/security/py-cracklib/pkg-plist
@@ -0,0 +1,15 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/cracklib.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/cracklib.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/cracklib.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/_cracklibmodule.so
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/_cracklib.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/_cracklib.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/_cracklib.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%