summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-07-07 08:14:57 +0000
committerMike Frysinger <vapier@gentoo.org>2015-07-07 08:14:57 +0000
commit4eb5d7faa01e322dec02c4b2ec122fd3ae639e9b (patch)
tree8b124744056e0343907fb2056a892452c6749ab0 /sys-auth
parentamd64 stable wrt bug #551846 (diff)
downloadhistorical-4eb5d7faa01e322dec02c4b2ec122fd3ae639e9b.tar.gz
historical-4eb5d7faa01e322dec02c4b2ec122fd3ae639e9b.tar.bz2
historical-4eb5d7faa01e322dec02c4b2ec122fd3ae639e9b.zip
Version bump based on last pam_passwdqc package #491836 by Florian Steinel.
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/passwdqc/ChangeLog9
-rw-r--r--sys-auth/passwdqc/Manifest25
-rw-r--r--sys-auth/passwdqc/files/passwdqc-1.3.0-build.patch57
-rw-r--r--sys-auth/passwdqc/metadata.xml17
-rw-r--r--sys-auth/passwdqc/passwdqc-1.3.0.ebuild65
5 files changed, 173 insertions, 0 deletions
diff --git a/sys-auth/passwdqc/ChangeLog b/sys-auth/passwdqc/ChangeLog
new file mode 100644
index 000000000000..a4f723cccffc
--- /dev/null
+++ b/sys-auth/passwdqc/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sys-auth/passwdqc
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/passwdqc/ChangeLog,v 1.1 2015/07/07 08:14:55 vapier Exp $
+
+*passwdqc-1.3.0 (07 Jul 2015)
+
+ 07 Jul 2015; Mike Frysinger <vapier@gentoo.org>
+ +files/passwdqc-1.3.0-build.patch, +metadata.xml, +passwdqc-1.3.0.ebuild:
+ Version bump based on last pam_passwdqc package #491836 by Florian Steinel.
diff --git a/sys-auth/passwdqc/Manifest b/sys-auth/passwdqc/Manifest
new file mode 100644
index 000000000000..e2347fbe3e0f
--- /dev/null
+++ b/sys-auth/passwdqc/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX passwdqc-1.3.0-build.patch 1740 SHA256 cce44e5ff12d8c35e553124a2c04cb7f23171376e8973bc1ec2b4e0ba0f2dac1 SHA512 537066bc6b7080ee66f011c9b4584fae3775ff3c00b7e636b8b7c0da14e3e2f572e4b25ac54724f1533b57f2d0e6bc343a93b497054c69d7c7dddc0d6b40366a WHIRLPOOL e52cc4635d54b353546a41caa21e9980c1b080e40534b1c6ca42de30a56ea3e1871ed13ca198ce2d8b28ee172b5d78e6e3dfe18e70b0effeec94bea4e804f06e
+DIST passwdqc-1.3.0.tar.gz 48833 SHA256 23290ac21a055d9039b510bbc0d830a6dbf4295688d4317e0350ed4b6e5e7f50 SHA512 d9c2fd075ed4ff1f1dfa63fe40010d446abf8db306cacc77fd1e429fbd2dd1a6d2e4e91df46beb4c30bc30ff0cdd183ba85cefd362455ead9629d3a1c4eefece WHIRLPOOL c746394a2655b198597b70c29c0f66f6c1186a782da8c1a925fc9b7e838876d991c52469e9d526ecb99d2f1f36c6c5c83289b4ce3c92c269517dd1f507ddd7b3
+EBUILD passwdqc-1.3.0.ebuild 1685 SHA256 4b6a5efc146eca4af84c28ccd0a75a77fd2b7713a3763f9fd326cdbffa2664b2 SHA512 3ece3be60603ce65ea872191e9c4e8950fa702e41b00115da14c0f9e2fe01bb4701370629bd44a38911da551ff20a4a3a25021b4d17a17b718fa40f87effa0d6 WHIRLPOOL 7e5f451e7db3eb71712268a67cf9e55c82a179169a9e69aa8e91cecccf73861c7a7f84bf4b52a8779d7cf2f39eb55f07cb1d2706fe0268d6ceba7328c670b948
+MISC ChangeLog 442 SHA256 cbe60d5f3a45de74b6ccd2c44b8567664af4db1147e6fc1ae3827a7acf017822 SHA512 e4b8b60941eba3c6079cb44f74fd7ecd70102f1db03f38e36910f992d6aa6b0464044ce9e0ac4532f7faf3658db2159172c64378d3f3801c85f6b82218de33b2 WHIRLPOOL 7a7effc175e58329d1a6e9fdd91e52e550253a120e033ffbfa66886b86b2cb611a49d986d079f9fe7291d5d8438f4794ffd16300658959c7a6f0810793f425ef
+MISC metadata.xml 664 SHA256 26f019eaf018e1d559bcc818533a7b475a7c64b43245be8810b4891d7da0f732 SHA512 83a428c1bdc2ecfb148b89f2dfe1686491993e8f642c538b56c04e1421f08b3feacc319b51501a7ef22997eec95a69ec038706cf41df04850fd0fae8f61b1c8b WHIRLPOOL e124f6751c42108dbe605a7efb88fd36d237bcd3444af5e8b35441255254727fb6ed937014d4ef1c84e06d48908e1f2042558052b13430e2d1a767bae3e032a4
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQIcBAEBCAAGBQJVm4p/AAoJEPGu1DbS6WIAKocP/jp0F+Klb3QN+u+GbISNuzvS
+pEq237dviHJopn0IjU+1T9Xu7Dp7+HWTUC9eCnSkXqFrOF6UEb+tzNrG2vx4JTuW
+ho+mxIGTktx0kaS8Wd7MYkwHSk5cjNwkYQleYOGSHsRLuZopVsbGnBcOtd6inRdC
+LLSO4kYDg1fNmFZ/BITkWtSCsXn2rwpEK2Q3um9sMdbQErsfbDARAcvOitwkv6gB
+pY3kwQFL+sZKj7m9eFjbCenFWlgb6+XLLtP392EYDX2fHF7ya4HSTY7/j6aTPNAP
++6PJLBUI9kBs129SUBzd8d7YtuMRNK3fFJ8FozEZJUfQYx36HWj41+8KDeV13Jaf
+yIyEoMpatxqfmPofEhOCbj6XWN60TL8htr3r+lXsj5VW22iWSK/V66plSAV+Y01s
+vPYlvbLT1xbGkW/I7Xc52Mt0Kh79bzcWSNrtJoDSzVgDj6Gml1BldKrl4LrjnOCI
+hYqGDQaNHyy7a2TaIJjw02Jpq6ENI5GNy2+k7V0J1OGJ2+fLHpjy0OJTwgmaNCLc
+YnTe22Sm4YSxknzzFA/e74h4j7kGyvMjADD6CKrNOO2fBHIOVOL9CuyMpulZC1Ps
+uzJg4v6j9m9BWfq79huF7EBSRjZCKmnIAveW5MT8vVHPATo3si62yhfdcHF/gLvM
+qrhYUc5QQo0td9wI1/bl
+=SeA/
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/passwdqc/files/passwdqc-1.3.0-build.patch b/sys-auth/passwdqc/files/passwdqc-1.3.0-build.patch
new file mode 100644
index 000000000000..2e7ca0bda95e
--- /dev/null
+++ b/sys-auth/passwdqc/files/passwdqc-1.3.0-build.patch
@@ -0,0 +1,57 @@
+--- a/Makefile
++++ b/Makefile
+@@ -20,10 +20,11 @@
+ BINMODE = 755
+ CONFDIR = /etc
+ CONFMODE = 644
+-SHARED_LIBDIR = /lib
++LIBDIR = lib
++SHARED_LIBDIR = /$(LIBDIR)
+ SHARED_LIBDIR_SUN = /usr/lib
+ SHARED_LIBDIR_REL = ../..$(SHARED_LIBDIR)
+-DEVEL_LIBDIR = /usr/lib
++DEVEL_LIBDIR = /usr/$(LIBDIR)
+ SECUREDIR = /lib/security
+ SECUREDIR_SUN = /usr/lib/security
+ SECUREDIR_DARWIN = /usr/lib/pam
+@@ -48,7 +49,7 @@
+ INSTALL_SUN = /usr/ucb/install -c
+ CFLAGS = -Wall -W -O2
+ CFLAGS_lib = $(CFLAGS) -fPIC
+-CFLAGS_bin = $(CFLAGS) -fomit-frame-pointer
++CFLAGS_bin = $(CFLAGS)
+
+ LDFLAGS =
+ LDFLAGS_shared = --shared
+@@ -93,7 +94,7 @@
+
+ default: all
+
+-all pam utils install install_lib install_pam install_utils uninstall remove remove_lib remove_pam remove_utils:
++all lib pam utils install install_lib install_pam install_utils uninstall remove remove_lib remove_pam remove_utils:
+ case "`uname -s`" in \
+ Linux) $(MAKE) CFLAGS_lib="$(CFLAGS_lib) -DHAVE_SHADOW" \
+ LDFLAGS_lib="$(LDFLAGS_lib_LINUX)" \
+@@ -126,18 +127,20 @@
+
+ all_wrapped: pam_wrapped utils_wrapped
+
++lib_wrapped: $(SHARED_LIB) $(DEVEL_LIB)
++
+ pam_wrapped: $(SHARED_PAM)
+
+ utils_wrapped: $(BINS)
+
+ $(SHARED_LIB): $(OBJS_LIB) $(MAP_LIB)
+- $(LD_lib) $(LDFLAGS_lib) $(OBJS_LIB) $(LDLIBS_lib) -o $(SHARED_LIB)
++ $(LD_lib) $(LDFLAGS) $(LDFLAGS_lib) $(OBJS_LIB) $(LDLIBS_lib) -o $(SHARED_LIB)
+
+ $(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) $(LDFLAGS_pam) $(OBJS_PAM) $(LDLIBS_pam) -L. -lpasswdqc -o $(SHARED_PAM)
+
+ pwqgen: $(OBJS_GEN) $(DEVEL_LIB)
+ $(LD) $(LDFLAGS) $(OBJS_GEN) -L. -lpasswdqc -o $@
diff --git a/sys-auth/passwdqc/metadata.xml b/sys-auth/passwdqc/metadata.xml
new file mode 100644
index 000000000000..501cdc08ac75
--- /dev/null
+++ b/sys-auth/passwdqc/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pam</herd>
+<maintainer>
+ <email>pam-bugs@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name='utils'>Install pwqcheck and pwqgen helper utilities</flag>
+</use>
+<longdescription>
+ Password strength checking for PAM aware password changing programs. This is an alternative to the default cracklib.
+</longdescription>
+<longdescription lang="ja">
+ パスワード変更プログラムに反応する PAM のパスワード強度検査機能です。これはデフォルトの cracklib の代替です。
+</longdescription>
+</pkgmetadata>
diff --git a/sys-auth/passwdqc/passwdqc-1.3.0.ebuild b/sys-auth/passwdqc/passwdqc-1.3.0.ebuild
new file mode 100644
index 000000000000..5fc38bb60ad2
--- /dev/null
+++ b/sys-auth/passwdqc/passwdqc-1.3.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/passwdqc/passwdqc-1.3.0.ebuild,v 1.1 2015/07/07 08:14:55 vapier Exp $
+
+EAPI="5"
+
+inherit pam eutils toolchain-funcs multilib
+
+DESCRIPTION="Password strength checking library (and PAM module)"
+HOMEPAGE="http://www.openwall.com/passwdqc/"
+SRC_URI="http://www.openwall.com/${PN}/${P}.tar.gz"
+
+LICENSE="Openwall BSD public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
+IUSE="pam utils"
+
+RDEPEND="
+ pam? (
+ virtual/pam
+ !<sys-auth/pam_passwdqc-1.3.0
+ )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.3.0-build.patch
+ sed -i \
+ -e 's:`uname -s`:Linux:' \
+ Makefile || die
+}
+
+_emake() {
+ emake \
+ LIBDIR="$(get_libdir)" \
+ CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
+ "$@"
+}
+
+src_compile() {
+ # The use of wrapped targets defeats the Makefile dep tracking.
+ # Build all the targets explicitly after the library.
+ _emake lib
+ if use pam || use utils ; then
+ _emake $(usev pam) $(usev utils)
+ fi
+}
+
+src_install() {
+ _emake \
+ DESTDIR="${ED}" \
+ install_lib $(usex pam install_pam '') $(usex utils install_utils '')
+ dodoc README PLATFORMS INTERNALS
+}
+
+pkg_postinst() {
+ if use pam ; then
+ elog "To activate pam_passwdqc use pam_passwdqc.so instead"
+ elog "of pam_cracklib.so in /etc/pam.d/system-auth."
+ elog "Also, if you want to change the parameters, read up"
+ elog "on the pam_passwdqc(8) man page."
+ fi
+}