public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/passwdqc/
Date: Mon, 26 Jun 2023 16:47:33 +0000 (UTC)	[thread overview]
Message-ID: <1687798039.fb16875ad4849a04406ebd52808c93db2acf906f.sam@gentoo> (raw)

commit:     fb16875ad4849a04406ebd52808c93db2acf906f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 16:39:00 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 26 16:47:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb16875a

sys-auth/passwdqc: add 2.0.3

This changes the default to enforce=none as it's repeatedly caused confusion
for users and they often find it quite frustrating. People are free to set
stricter options if they want.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-auth/passwdqc/Manifest              |  1 +
 sys-auth/passwdqc/passwdqc-2.0.3.ebuild | 65 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/sys-auth/passwdqc/Manifest b/sys-auth/passwdqc/Manifest
index 30e6dfcd0b53..48eb4b6d7b16 100644
--- a/sys-auth/passwdqc/Manifest
+++ b/sys-auth/passwdqc/Manifest
@@ -1,2 +1,3 @@
 DIST passwdqc-1.4.0.tar.gz 55219 BLAKE2B 3f96a2d219ee23f11db2ad8ba433eaa56b97a263ad1a49159e0356b779cb4486ec9aa74cd7002fdd6d273e5a7bae4fe1b94e02f60256d331e5afc30d63e81360 SHA512 b9be6632688a1d7d929ec546679a366a67d44e7841e106c7f739a8e0656842866125160c87b04c8e0b3189a3e85eb182aa789196f68925b2f8ec71cd6a479800
 DIST passwdqc-2.0.2.tar.gz 88796 BLAKE2B 4be0180dbee38d124cc5fd3780fcc27b276bd9370c59c83a9c037b67f18518873bd34d23f779125ac0b5e8bb1f40a5e8e24dc65bfe5919f735f96d4f625cebdb SHA512 60f91ad7c86314b0d9ad97a2474a1a5bbb8b41491b274e09f7300d8a609cfffb0688bf39d4e715f647f3c87bfee429cb5e01f1a641a14eea3f55b223610ed8ec
+DIST passwdqc-2.0.3.tar.gz 89608 BLAKE2B d4d999f1da011041e947fcf40b28977c825e7be2a9edfe641205f433862607e958d74b6e11ef5222e9791985a55dc3117c71d47b9516c521bb64ff4cddee77d5 SHA512 08a1ee0e7efe0be8af8b253147836c479247a849baf598a1ad573a050ef4b8700fdb725fd887877f82f9207f3654f489f71267cc4051ce8ebf2405125b77b6b9

diff --git a/sys-auth/passwdqc/passwdqc-2.0.3.ebuild b/sys-auth/passwdqc/passwdqc-2.0.3.ebuild
new file mode 100644
index 000000000000..f1346100a726
--- /dev/null
+++ b/sys-auth/passwdqc/passwdqc-2.0.3.ebuild
@@ -0,0 +1,65 @@
+# 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)" \
+		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
+}


             reply	other threads:[~2023-06-26 16:47 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-26 16:47 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-09-06  9:37 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-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=1687798039.fb16875ad4849a04406ebd52808c93db2acf906f.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