From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 38079138359 for ; Sat, 5 Sep 2020 19:03:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26AD8E0875; Sat, 5 Sep 2020 19:03:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09426E0875 for ; Sat, 5 Sep 2020 19:03:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A0722340D67 for ; Sat, 5 Sep 2020 19:03:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D3EA335 for ; Sat, 5 Sep 2020 19:03:43 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1599332620.f6fc3feb0f9cab3fe82f8a656f9d084d655951b3.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/passwdqc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/passwdqc/passwdqc-1.4.0-r1.ebuild sys-auth/passwdqc/passwdqc-1.4.0.ebuild X-VCS-Directories: sys-auth/passwdqc/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: f6fc3feb0f9cab3fe82f8a656f9d084d655951b3 X-VCS-Branch: master Date: Sat, 5 Sep 2020 19:03:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a14c8027-7f72-464a-968d-648ed55a4598 X-Archives-Hash: e9e6386622f4be6b2b6d698ba042a360 commit: f6fc3feb0f9cab3fe82f8a656f9d084d655951b3 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Sep 5 19:02:29 2020 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Sat Sep 5 19:03:40 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6fc3feb sys-auth/passwdqc: ship our own config file And also install the config file into the /etc/security dir Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Mikle Kolyada gentoo.org> .../{passwdqc-1.4.0.ebuild => passwdqc-1.4.0-r1.ebuild} | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sys-auth/passwdqc/passwdqc-1.4.0.ebuild b/sys-auth/passwdqc/passwdqc-1.4.0-r1.ebuild similarity index 83% rename from sys-auth/passwdqc/passwdqc-1.4.0.ebuild rename to sys-auth/passwdqc/passwdqc-1.4.0-r1.ebuild index 8a292a46e9f..3861096f854 100644 --- a/sys-auth/passwdqc/passwdqc-1.4.0.ebuild +++ b/sys-auth/passwdqc/passwdqc-1.4.0-r1.ebuild @@ -24,12 +24,26 @@ pkg_setup() { src_prepare() { default sed -i -e 's:`uname -s`:Linux:' Makefile || die + + # ship our own default settings + cat <<- EOF > "${S}/passwdqc.conf" + min=8,8,8,8,8 + max=40 + passphrase=3 + match=4 + similar=deny + random=47 + enforce=everyone + retry=3 + EOF + } _emake() { emake -j1 \ SHARED_LIBDIR="/usr/$(get_libdir)" \ SECUREDIR="$(getpam_mod_dir)" \ + CONFDIR="/etc/security" \ CFLAGS="${CFLAGS} ${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" \ CC="$(tc-getCC)" \