summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-18 05:03:15 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-18 05:03:15 +0800
commitde32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d (patch)
tree44682b9313b4890e7c9071e8828c4646603855ea
parenta99069fa5d7f0a426ed89e4c0edb9c13e23bb104 (diff)
downloadmarcuscom-ports-de32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d.tar.gz
marcuscom-ports-de32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d.tar.zst
marcuscom-ports-de32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d.zip
Add libpwquality.
Submitted by: Gustua Perez git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18560 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--security/libpwquality/Makefile42
-rw-r--r--security/libpwquality/distinfo2
-rw-r--r--security/libpwquality/pkg-descr4
-rw-r--r--security/libpwquality/pkg-plist57
4 files changed, 105 insertions, 0 deletions
diff --git a/security/libpwquality/Makefile b/security/libpwquality/Makefile
new file mode 100644
index 000000000..433493108
--- /dev/null
+++ b/security/libpwquality/Makefile
@@ -0,0 +1,42 @@
+# Created by: Tilman Linneweh <arved@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libpwquality
+PORTVERSION= 1.2.1
+CATEGORIES= security
+MASTER_SITES= https://fedorahosted.org/releases/l/i/libpwquality/
+
+MAINTAINER= gnome@freebsd.org
+COMMENT= Library for generating random passwords and quality checking
+
+LIB_DEPENDS= crack:${PORTSDIR}/security/cracklib
+
+USES= gettext pathfix
+USE_BZIP2= yes
+USE_AUTOTOOLS= libtool
+USE_GMAKE= yes
+USE_GNOME= intltool
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ARGS+=--disable-pam
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+MAN1= pwmake.1 pwscore.1
+MAN5= pwquality.conf.5
+
+OPTIONS_DEFINE= PYTHON
+OPTIONS_DEFAULT=PYTHON
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPYTHON}
+USE_PYTHON= yes
+CONFIGURE_ARGS+=--enable-python-bindings
+PLIST_SUB+= PYTHON=""
+.else
+CONFIGURE_ARGS+=--disable-python-bindings
+PLIST_SUB+= PYTHON="@comment "
+.endif
+
+.include <bsd.port.mk>
diff --git a/security/libpwquality/distinfo b/security/libpwquality/distinfo
new file mode 100644
index 000000000..f97c5f2db
--- /dev/null
+++ b/security/libpwquality/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libpwquality-1.2.1.tar.bz2) = 7106548d54f49763dbab63e519e76d95d24c9fee50e6de2398050b49da67d46f
+SIZE (libpwquality-1.2.1.tar.bz2) = 360414
diff --git a/security/libpwquality/pkg-descr b/security/libpwquality/pkg-descr
new file mode 100644
index 000000000..96d0d4592
--- /dev/null
+++ b/security/libpwquality/pkg-descr
@@ -0,0 +1,4 @@
+This is a libpwquality library for password quality checking
+and generation of random passwords that pass the checks.
+
+WWW: https://fedorahosted.org/libpwquality/
diff --git a/security/libpwquality/pkg-plist b/security/libpwquality/pkg-plist
new file mode 100644
index 000000000..f73d0044e
--- /dev/null
+++ b/security/libpwquality/pkg-plist
@@ -0,0 +1,57 @@
+bin/pwmake
+bin/pwscore
+etc/security/pwquality.conf
+include/pwquality.h
+lib/libpwquality.a
+lib/libpwquality.la
+lib/libpwquality.so
+lib/libpwquality.so.1
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality.so
+libdata/pkgconfig/pwquality.pc
+share/locale/ar/LC_MESSAGES/libpwquality.mo
+share/locale/as/LC_MESSAGES/libpwquality.mo
+share/locale/bg/LC_MESSAGES/libpwquality.mo
+share/locale/bn_IN/LC_MESSAGES/libpwquality.mo
+share/locale/ca/LC_MESSAGES/libpwquality.mo
+share/locale/cs/LC_MESSAGES/libpwquality.mo
+share/locale/da/LC_MESSAGES/libpwquality.mo
+share/locale/de/LC_MESSAGES/libpwquality.mo
+share/locale/es/LC_MESSAGES/libpwquality.mo
+share/locale/eu/LC_MESSAGES/libpwquality.mo
+share/locale/fi/LC_MESSAGES/libpwquality.mo
+share/locale/fr/LC_MESSAGES/libpwquality.mo
+share/locale/gu/LC_MESSAGES/libpwquality.mo
+share/locale/he/LC_MESSAGES/libpwquality.mo
+share/locale/hi/LC_MESSAGES/libpwquality.mo
+share/locale/hu/LC_MESSAGES/libpwquality.mo
+share/locale/it/LC_MESSAGES/libpwquality.mo
+share/locale/ja/LC_MESSAGES/libpwquality.mo
+share/locale/kk/LC_MESSAGES/libpwquality.mo
+share/locale/km/LC_MESSAGES/libpwquality.mo
+share/locale/kn/LC_MESSAGES/libpwquality.mo
+share/locale/ko/LC_MESSAGES/libpwquality.mo
+share/locale/ml/LC_MESSAGES/libpwquality.mo
+share/locale/mr/LC_MESSAGES/libpwquality.mo
+share/locale/ms/LC_MESSAGES/libpwquality.mo
+share/locale/nb/LC_MESSAGES/libpwquality.mo
+share/locale/nl/LC_MESSAGES/libpwquality.mo
+share/locale/or/LC_MESSAGES/libpwquality.mo
+share/locale/pa/LC_MESSAGES/libpwquality.mo
+share/locale/pl/LC_MESSAGES/libpwquality.mo
+share/locale/pt/LC_MESSAGES/libpwquality.mo
+share/locale/pt_BR/LC_MESSAGES/libpwquality.mo
+share/locale/ru/LC_MESSAGES/libpwquality.mo
+share/locale/si/LC_MESSAGES/libpwquality.mo
+share/locale/sk/LC_MESSAGES/libpwquality.mo
+share/locale/sr/LC_MESSAGES/libpwquality.mo
+share/locale/sr@latin/LC_MESSAGES/libpwquality.mo
+share/locale/sv/LC_MESSAGES/libpwquality.mo
+share/locale/ta/LC_MESSAGES/libpwquality.mo
+share/locale/te/LC_MESSAGES/libpwquality.mo
+share/locale/tr/LC_MESSAGES/libpwquality.mo
+share/locale/uk/LC_MESSAGES/libpwquality.mo
+share/locale/vi/LC_MESSAGES/libpwquality.mo
+share/locale/zh_CN/LC_MESSAGES/libpwquality.mo
+share/locale/zh_TW/LC_MESSAGES/libpwquality.mo
+share/locale/zu/LC_MESSAGES/libpwquality.mo
+@dirrmtry etc/security