pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security
Module Name: pkgsrc
Committed By: nia
Date: Sun Nov 22 11:58:58 UTC 2020
Modified Files:
pkgsrc/security: Makefile
Added Files:
pkgsrc/security/libpwquality: DESCR Makefile PLIST buildlink3.mk
distinfo
pkgsrc/security/libpwquality/patches: patch-src_Makefile.in
Log Message:
security: Add libpwquality. Based on work by coypu and others in wip.
This is a library for password quality checking and generation of
random passwords that pass the checks.
To generate a diff of this commit:
cvs rdiff -u -r1.788 -r1.789 pkgsrc/security/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/security/libpwquality/DESCR \
pkgsrc/security/libpwquality/Makefile pkgsrc/security/libpwquality/PLIST \
pkgsrc/security/libpwquality/buildlink3.mk \
pkgsrc/security/libpwquality/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/security/libpwquality/patches/patch-src_Makefile.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/Makefile
diff -u pkgsrc/security/Makefile:1.788 pkgsrc/security/Makefile:1.789
--- pkgsrc/security/Makefile:1.788 Sun Nov 22 11:36:31 2020
+++ pkgsrc/security/Makefile Sun Nov 22 11:58:58 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.788 2020/11/22 11:36:31 nia Exp $
+# $NetBSD: Makefile,v 1.789 2020/11/22 11:58:58 nia Exp $
#
COMMENT= Security tools
@@ -193,6 +193,7 @@ SUBDIR+= libpreludedb-perl
SUBDIR+= libpreludedb-pgsql
SUBDIR+= libpreludedb-python
SUBDIR+= libpreludedb-sqlite3
+SUBDIR+= libpwquality
SUBDIR+= libressl
SUBDIR+= libsecp256k1
SUBDIR+= libsecret
Added files:
Index: pkgsrc/security/libpwquality/DESCR
diff -u /dev/null pkgsrc/security/libpwquality/DESCR:1.1
--- /dev/null Sun Nov 22 11:58:58 2020
+++ pkgsrc/security/libpwquality/DESCR Sun Nov 22 11:58:58 2020
@@ -0,0 +1,2 @@
+This is a library for password quality checking and generation of
+random passwords that pass the checks.
Index: pkgsrc/security/libpwquality/Makefile
diff -u /dev/null pkgsrc/security/libpwquality/Makefile:1.1
--- /dev/null Sun Nov 22 11:58:58 2020
+++ pkgsrc/security/libpwquality/Makefile Sun Nov 22 11:58:58 2020
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2020/11/22 11:58:58 nia Exp $
+
+DISTNAME= libpwquality-1.4.4
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libpwquality/}
+GITHUB_RELEASE= ${DISTNAME}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/libpwquality/libpwquality
+COMMENT= Library for generating random passwords and quality checking
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= msgfmt msgmerge xgettext
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+CONFIGURE_ARGS+= --disable-pam
+CONFIGURE_ARGS+= --disable-python-bindings
+
+PKGCONFIG_OVERRIDE= src/pwquality.pc.in
+
+PY_PATCHPLIST= yes
+
+OWN_DIRS+= ${PKG_SYSCONFDIR}/security
+
+EGDIR= share/examples/libpwquality
+
+CONF_FILES= ${EGDIR}/security/pwquality.conf \
+ ${PKG_SYSCONFDIR}/security/pwquality.conf
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../security/cracklib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/libpwquality/PLIST
diff -u /dev/null pkgsrc/security/libpwquality/PLIST:1.1
--- /dev/null Sun Nov 22 11:58:58 2020
+++ pkgsrc/security/libpwquality/PLIST Sun Nov 22 11:58:58 2020
@@ -0,0 +1,63 @@
+@comment $NetBSD: PLIST,v 1.1 2020/11/22 11:58:58 nia Exp $
+bin/pwmake
+bin/pwscore
+include/pwquality.h
+lib/libpwquality.la
+lib/pkgconfig/pwquality.pc
+man/man1/pwmake.1
+man/man1/pwscore.1
+man/man3/pwquality.3
+man/man5/pwquality.conf.5
+share/examples/libpwquality/security/pwquality.conf
+share/locale/ar/LC_MESSAGES/libpwquality.mo
+share/locale/as/LC_MESSAGES/libpwquality.mo
+share/locale/az/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/fa/LC_MESSAGES/libpwquality.mo
+share/locale/fi/LC_MESSAGES/libpwquality.mo
+share/locale/fr/LC_MESSAGES/libpwquality.mo
+share/locale/fur/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/id/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/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/sq/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/ur/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
+@pkgdir man/man8
Index: pkgsrc/security/libpwquality/buildlink3.mk
diff -u /dev/null pkgsrc/security/libpwquality/buildlink3.mk:1.1
--- /dev/null Sun Nov 22 11:58:58 2020
+++ pkgsrc/security/libpwquality/buildlink3.mk Sun Nov 22 11:58:58 2020
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/11/22 11:58:58 nia Exp $
+
+BUILDLINK_TREE+= libpwquality
+
+.if !defined(LIBPWQUALITY_BUILDLINK3_MK)
+LIBPWQUALITY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libpwquality+= libpwquality>=1.3.0
+BUILDLINK_PKGSRCDIR.libpwquality?= ../../security/libpwquality
+
+.include "../../security/cracklib/buildlink3.mk"
+.endif # LIBPWQUALITY_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libpwquality
Index: pkgsrc/security/libpwquality/distinfo
diff -u /dev/null pkgsrc/security/libpwquality/distinfo:1.1
--- /dev/null Sun Nov 22 11:58:58 2020
+++ pkgsrc/security/libpwquality/distinfo Sun Nov 22 11:58:58 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/11/22 11:58:58 nia Exp $
+
+SHA1 (libpwquality-1.4.4.tar.bz2) = 94e3f2eb67ccff1823e727d6770c3f39acbd954d
+RMD160 (libpwquality-1.4.4.tar.bz2) = dbcc85959af5894bf0cc3b5e29fedecc522d615c
+SHA512 (libpwquality-1.4.4.tar.bz2) = 2d49b79105361663f009f7183fde9123e6f1e63bd678dfe5418143f611e763af8dd44374b826b3c22a00e721047c539741dc44d99a2289b9ab229791768d6e76
+Size (libpwquality-1.4.4.tar.bz2) = 426923 bytes
+SHA1 (patch-src_Makefile.in) = eca8bba7156fc9c029306aeb6b422fc644ef2330
Index: pkgsrc/security/libpwquality/patches/patch-src_Makefile.in
diff -u /dev/null pkgsrc/security/libpwquality/patches/patch-src_Makefile.in:1.1
--- /dev/null Sun Nov 22 11:58:58 2020
+++ pkgsrc/security/libpwquality/patches/patch-src_Makefile.in Sun Nov 22 11:58:58 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_Makefile.in,v 1.1 2020/11/22 11:58:58 nia Exp $
+
+Install config files to examples.
+
+--- src/Makefile.in.orig 2020-10-13 07:31:04.000000000 +0000
++++ src/Makefile.in
+@@ -393,7 +393,7 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ CLEANFILES = *~
+ securelibdir = @SECUREDIR@
+-secureconfdir = @SCONFIGDIR@
++secureconfdir = @datadir@/examples/libpwquality/security
+ EXTRA_DIST = libpwquality.map pwquality.conf pwquality.pc
+ include_HEADERS = pwquality.h
+ noinst_HEADERS = pwqprivate.h
Home |
Main Index |
Thread Index |
Old Index