svn commit: r347525 - in head/security: . libpwquality
Koop Mast
kwm at FreeBSD.org
Sat Mar 8 17:11:42 UTC 2014
Author: kwm
Date: Sat Mar 8 17:11:40 2014
New Revision: 347525
URL: http://svnweb.freebsd.org/changeset/ports/347525
QAT: https://qat.redports.org/buildarchive/r347525/
Log:
Add libpwquality.
This is a library for password quality checking and generation of
random passwords that pass the checks.
Submitted by: Gustau Perez i Querol <gustau.perez at gmail.com>
Obtained from: GNOME dev repo
Added:
head/security/libpwquality/
head/security/libpwquality/Makefile (contents, props changed)
head/security/libpwquality/distinfo (contents, props changed)
head/security/libpwquality/pkg-descr (contents, props changed)
head/security/libpwquality/pkg-plist (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Sat Mar 8 16:58:47 2014 (r347524)
+++ head/security/Makefile Sat Mar 8 17:11:40 2014 (r347525)
@@ -276,6 +276,7 @@
SUBDIR += libp11
SUBDIR += libprelude
SUBDIR += libpreludedb
+ SUBDIR += libpwquality
SUBDIR += libpwstor
SUBDIR += libscrypt
SUBDIR += libsecret
Added: head/security/libpwquality/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/libpwquality/Makefile Sat Mar 8 17:11:40 2014 (r347525)
@@ -0,0 +1,48 @@
+# $FreeBSD$
+
+PORTNAME= libpwquality
+PORTVERSION= 1.2.3
+CATEGORIES= security
+MASTER_SITES= https://fedorahosted.org/releases/l/i/libpwquality/
+
+MAINTAINER= gnome at freebsd.org
+COMMENT= Library for generating random passwords and quality checking
+
+LIB_DEPENDS= libcrack.so:${PORTSDIR}/security/cracklib
+
+USES= gettext gmake libtool pathfix
+USE_BZIP2= yes
+USE_GNOME= intltool
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ARGS+=--disable-pam
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+# configure needs to be fixed
+CONFIGURE_ENV+= LIBS="-lintl"
+
+OPTIONS_DEFINE= PYTHON
+OPTIONS_DEFAULT=PYTHON
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPYTHON}
+USE_PYTHON= yes
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
+CONFIGURE_ARGS+=--enable-python-bindings
+PLIST_SUB+= PYTHON=""
+.else
+CONFIGURE_ARGS+=--disable-python-bindings
+PLIST_SUB+= PYTHON="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|python setup.py build|${PYTHON_VERSION} setup.py build|g' \
+ ${WRKSRC}/python/Makefile.in
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpwquality.so.1
+ @${CHMOD} 755 ${STAGEDIR}${PYTHON_SITELIBDIR}/pwquality.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pwquality.so
+
+.include <bsd.port.mk>
Added: head/security/libpwquality/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/libpwquality/distinfo Sat Mar 8 17:11:40 2014 (r347525)
@@ -0,0 +1,2 @@
+SHA256 (libpwquality-1.2.3.tar.bz2) = b11c79ce7b03cdf878fccb653e67bd430155cc6fd224efbbb3e78842f752516a
+SIZE (libpwquality-1.2.3.tar.bz2) = 367794
Added: head/security/libpwquality/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/libpwquality/pkg-descr Sat Mar 8 17:11:40 2014 (r347525)
@@ -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/
Added: head/security/libpwquality/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/libpwquality/pkg-plist Sat Mar 8 17:11:40 2014 (r347525)
@@ -0,0 +1,82 @@
+bin/pwmake
+bin/pwscore
+etc/security/pwquality.conf
+include/pwquality.h
+lib/libpwquality.a
+lib/libpwquality.la
+lib/libpwquality.so
+lib/libpwquality.so.1
+lib/libpwquality.so.1.0.2
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality.so
+libdata/pkgconfig/pwquality.pc
+man/man1/pwmake.1.gz
+man/man1/pwscore.1.gz
+man/man5/pwquality.conf.5.gz
+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/mr_IN/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 at 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
+ at dirrmtry share/locale/zu/LC_MESSAGES
+ at dirrmtry share/locale/zu
+ at dirrmtry share/locale/te/LC_MESSAGES
+ at dirrmtry share/locale/te
+ at dirrmtry share/locale/sr at latin/LC_MESSAGES
+ at dirrmtry share/locale/sr at latin
+ at dirrmtry share/locale/si/LC_MESSAGES
+ at dirrmtry share/locale/si
+ at dirrmtry share/locale/mr_IN/LC_MESSAGES
+ at dirrmtry share/locale/mr_IN
+ at dirrmtry share/locale/mr/LC_MESSAGES
+ at dirrmtry share/locale/mr
+ at dirrmtry share/locale/km/LC_MESSAGES
+ at dirrmtry share/locale/km
+ at dirrmtry share/locale/kk/LC_MESSAGES
+ at dirrmtry share/locale/kk
+ at dirrmtry share/locale/bn_IN/LC_MESSAGES
+ at dirrmtry share/locale/bn_IN
+ at dirrmtry share/locale/as/LC_MESSAGES
+ at dirrmtry share/locale/as
+ at dirrmtry etc/security
More information about the svn-ports-head
mailing list