From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/passwdqc/
Date: Wed, 6 Sep 2023 09:37:34 +0000 (UTC) [thread overview]
Message-ID: <1693993011.953ee4f236da39f306006b5a0210603079c9c20f.sam@gentoo> (raw)
commit: 953ee4f236da39f306006b5a0210603079c9c20f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 6 09:36:26 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 6 09:36:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=953ee4f2
sys-auth/passwdqc: fix library + .pc file location
* CMP: =sys-auth/passwdqc-2.0.3 with sys-auth/passwdqc-2.0.3/image
* FILES:-usr/lib/libpasswdqc.so
* FILES:-usr/lib/pkgconfig/passwdqc.pc
* FILES:+usr/lib64/libpasswdqc.so
* FILES:+usr/lib64/pkgconfig/passwdqc.pc
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-auth/passwdqc/passwdqc-2.0.3-r1.ebuild | 66 ++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)
diff --git a/sys-auth/passwdqc/passwdqc-2.0.3-r1.ebuild b/sys-auth/passwdqc/passwdqc-2.0.3-r1.ebuild
new file mode 100644
index 000000000000..e93fc3fbfa78
--- /dev/null
+++ b/sys-auth/passwdqc/passwdqc-2.0.3-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pam toolchain-funcs
+
+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 ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ sys-libs/pam
+ virtual/libcrypt:=
+"
+DEPEND="${RDEPEND}"
+
+QA_FLAGS_IGNORED="
+ lib*/security/pam_passwdqc.so
+ usr/lib*/libpasswdqc.so.1
+"
+
+src_prepare() {
+ default
+
+ sed -i -e 's:`uname -s`:Linux:' Makefile || die
+
+ # Ship our own default settings
+ cat <<- EOF > "${S}/passwdqc.conf"
+ min=disabled,24,11,8,7
+ max=72
+ passphrase=3
+ match=4
+ similar=deny
+ random=47
+ enforce=none
+ retry=3
+ EOF
+
+}
+
+_emake() {
+ emake \
+ SHARED_LIBDIR="/usr/$(get_libdir)" \
+ DEVEL_LIBDIR="/usr/$(get_libdir)" \
+ SECUREDIR="$(getpam_mod_dir)" \
+ CONFDIR="/etc/security" \
+ CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
+ "$@"
+}
+
+src_compile() {
+ _emake all
+}
+
+src_install() {
+ _emake DESTDIR="${ED}" install_lib install_pam install_utils
+ dodoc README PLATFORMS INTERNALS
+}
next reply other threads:[~2023-09-06 9:37 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-06 9:37 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-28 3:43 [gentoo-commits] repo/gentoo:master commit in: sys-auth/passwdqc/ Sam James
2023-12-15 13:22 Arthur Zamarin
2023-12-15 6:42 Sam James
2023-12-15 6:42 Sam James
2023-12-15 6:42 Sam James
2023-12-15 6:42 Sam James
2023-12-15 6:42 Sam James
2023-12-15 6:42 Sam James
2023-08-20 5:43 Sam James
2023-08-19 11:38 Sam James
2023-08-19 11:38 Sam James
2023-08-19 9:30 Sam James
2023-08-19 7:23 Sam James
2023-08-19 6:36 Sam James
2023-08-19 6:33 Sam James
2023-06-26 16:47 Sam James
2023-01-14 19:17 Sam James
2023-01-14 10:12 Sam James
2021-11-14 9:22 Sam James
2021-11-09 22:35 Sam James
2021-11-09 21:36 Sam James
2021-11-06 19:56 Sam James
2021-11-06 0:48 Sam James
2021-11-06 0:48 Sam James
2021-11-06 0:48 Sam James
2021-11-06 0:48 Sam James
2021-11-06 0:48 Sam James
2021-06-24 23:27 Sam James
2021-04-10 11:22 Mikle Kolyada
2021-04-10 11:07 Mikle Kolyada
2021-03-13 19:53 Mikle Kolyada
2021-02-23 15:36 Mikle Kolyada
2021-02-22 23:21 Mikle Kolyada
2021-02-18 20:14 Sam James
2020-12-13 0:29 Sam James
2020-10-10 9:31 Mikle Kolyada
2020-09-05 19:03 Mikle Kolyada
2020-08-31 10:13 Mikle Kolyada
2020-07-29 19:57 Mikle Kolyada
2020-06-17 15:13 Mikle Kolyada
2020-06-11 8:43 Mikle Kolyada
2020-06-10 16:54 Mikle Kolyada
2020-06-09 12:12 Mikle Kolyada
2019-11-10 9:19 Michał Górny
2019-11-01 11:07 Mikle Kolyada
2019-11-01 11:07 Mikle Kolyada
2019-11-01 11:07 Mikle Kolyada
2019-10-12 20:39 Mikle Kolyada
2019-10-11 22:32 Sergei Trofimovich
2019-10-07 19:12 Sergei Trofimovich
2019-10-07 10:44 Agostino Sarubbo
2019-10-07 10:38 Agostino Sarubbo
2019-10-07 9:47 Agostino Sarubbo
2019-10-07 8:42 Agostino Sarubbo
2019-10-07 7:29 Agostino Sarubbo
2019-10-06 21:18 Thomas Deutschmann
2017-06-19 20:07 Alexis Ballier
2015-08-14 3:37 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1693993011.953ee4f236da39f306006b5a0210603079c9c20f.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox