pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/pam-passwdqc add pam-passwdqc-1.1.3, a PAM mo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/aff957d4bc90
branches: trunk
changeset: 400848:aff957d4bc90
user: drochner <drochner%pkgsrc.org@localhost>
date: Wed Oct 28 18:46:20 2009 +0000
description:
add pam-passwdqc-1.1.3, a PAM module to enforce rules on password
changes
diffstat:
security/pam-passwdqc/DESCR | 5 ++++
security/pam-passwdqc/Makefile | 30 ++++++++++++++++++++++++++++
security/pam-passwdqc/PLIST | 5 ++++
security/pam-passwdqc/distinfo | 6 +++++
security/pam-passwdqc/patches/patch-aa | 36 ++++++++++++++++++++++++++++++++++
5 files changed, 82 insertions(+), 0 deletions(-)
diffs (102 lines):
diff -r e27c8653429a -r aff957d4bc90 security/pam-passwdqc/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pam-passwdqc/DESCR Wed Oct 28 18:46:20 2009 +0000
@@ -0,0 +1,5 @@
+pam_passwdqc is a simple password strength checking module for
+PAM-aware password changing programs, such as passwd(1). In addition
+to checking regular passwords, it offers support for passphrases and
+can provide randomly generated ones. All features are optional and
+can be (re-)configured without rebuilding.
diff -r e27c8653429a -r aff957d4bc90 security/pam-passwdqc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pam-passwdqc/Makefile Wed Oct 28 18:46:20 2009 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/28 18:46:20 drochner Exp $
+#
+
+DISTNAME= passwdqc-1.1.3
+PKGNAME= pam-passwdqc-1.1.3
+CATEGORIES= security
+MASTER_SITES= http://www.openwall.com/passwdqc/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.openwall.com/passwdqc/
+COMMENT= Password strength checker
+#LICENSE= # TODO: (see mk/license.mk)
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+BUILD_TARGET= pam
+INSTALLATION_DIRS= lib/security ${PKGMANDIR}/man8 ${PKGMANDIR}/man5
+CFLAGS+= -DNO_STATIC_MODULES
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libpasswdqc.so ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/pam_passwdqc.so \
+ ${DESTDIR}${PREFIX}/lib/security
+ ${INSTALL_DATA} ${WRKSRC}/pam_passwdqc.8 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_DATA} ${WRKSRC}/passwdqc.conf.5 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+
+.include "../../mk/pam.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e27c8653429a -r aff957d4bc90 security/pam-passwdqc/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pam-passwdqc/PLIST Wed Oct 28 18:46:20 2009 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/28 18:46:20 drochner Exp $
+lib/libpasswdqc.so
+lib/security/pam_passwdqc.so
+man/man5/passwdqc.conf.5
+man/man8/pam_passwdqc.8
diff -r e27c8653429a -r aff957d4bc90 security/pam-passwdqc/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pam-passwdqc/distinfo Wed Oct 28 18:46:20 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/10/28 18:46:20 drochner Exp $
+
+SHA1 (passwdqc-1.1.3.tar.gz) = 7dedb1f0db9bcab2c4ba17e4f4b9d7ceb862dec9
+RMD160 (passwdqc-1.1.3.tar.gz) = 10ae08e52239271daa63431c1de0986a647aedbf
+Size (passwdqc-1.1.3.tar.gz) = 41328 bytes
+SHA1 (patch-aa) = 0bb338fd35cbcaa2248e7588aa67cdec1457887f
diff -r e27c8653429a -r aff957d4bc90 security/pam-passwdqc/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pam-passwdqc/patches/patch-aa Wed Oct 28 18:46:20 2009 +0000
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/10/28 18:46:20 drochner Exp $
+
+--- Makefile.orig 2009-10-21 23:59:54.000000000 +0200
++++ Makefile
+@@ -30,18 +30,18 @@ INCLUDEDIR = /usr/include
+ MANDIR = /usr/share/man
+ DESTDIR =
+
+-CC = gcc
+-LD = $(CC)
++#CC = gcc
++#LD = $(CC)
+ LD_lib = $(LD)
+ RM = rm -f
+ LN_s = ln -s
+ MKDIR = umask 022 && mkdir -p
+ INSTALL = install -c
+-CFLAGS = -Wall -O2
++#CFLAGS = -Wall -O2
+ CFLAGS_lib = $(CFLAGS) -fPIC
+ CFLAGS_bin = $(CFLAGS) -fomit-frame-pointer
+
+-LDFLAGS =
++#LDFLAGS =
+ LDFLAGS_shared = --shared
+ LDFLAGS_shared_LINUX = --shared
+ LDFLAGS_shared_SUN = -G
+@@ -119,7 +119,7 @@ $(DEVEL_LIB): $(SHARED_LIB)
+ $(LN_s) $(SHARED_LIB) $(DEVEL_LIB)
+
+ $(SHARED_PAM): $(OBJS_PAM) $(MAP_PAM) $(DEVEL_LIB)
+- $(LD_lib) $(LDFLAGS_pam) $(OBJS_PAM) $(LDLIBS_pam) -L. -lpasswdqc -o $(SHARED_PAM)
++ $(LD_lib) $(LDFLAGS_pam) $(OBJS_PAM) $(LDLIBS_pam) -L. -Wl,-R${PREFIX}/lib -lpasswdqc -o $(SHARED_PAM)
+
+ pwqgen: $(OBJS_GEN) $(DEVEL_LIB)
+ $(LD) $(LDFLAGS) $(OBJS_GEN) -L. -lpasswdqc -o $@
Home |
Main Index |
Thread Index |
Old Index