From e52012895af4c92f008daac78c3d8b6d691a5dd1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 26 Jun 2023 19:33:08 +0100 Subject: gentoo auto-resync : 26:06:2023 - 19:33:07 --- sys-auth/Manifest.gz | Bin 9251 -> 9252 bytes sys-auth/passwdqc/Manifest | 2 + sys-auth/passwdqc/passwdqc-2.0.3.ebuild | 65 ++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 sys-auth/passwdqc/passwdqc-2.0.3.ebuild (limited to 'sys-auth') diff --git a/sys-auth/Manifest.gz b/sys-auth/Manifest.gz index bd393364fc2a..cda4f306480c 100644 Binary files a/sys-auth/Manifest.gz and b/sys-auth/Manifest.gz differ diff --git a/sys-auth/passwdqc/Manifest b/sys-auth/passwdqc/Manifest index b16072ac7636..4e5f0cb7c84f 100644 --- a/sys-auth/passwdqc/Manifest +++ b/sys-auth/passwdqc/Manifest @@ -1,5 +1,7 @@ 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 EBUILD passwdqc-1.4.0-r2.ebuild 1588 BLAKE2B a7ded9db95d63e238d5293d609819a57855dbe26449dc28917f211bbca97cf8a93008cbf4178464a45eea28e8615b0745cde90aeaec4514ca4bd7fc2a1633368 SHA512 f7eaba8bd7ace225b0f70d79f27505e595519f554f070d3b3d8d4f583934bb50d2f924e64c769b4ed9d7311c67178db2f8b36e31dd9890ef4c3788d5a3ff3dbf EBUILD passwdqc-2.0.2-r1.ebuild 1604 BLAKE2B 9da4fe1ffb08e174a1e803885b71c213f877956bf40855957889dc4e8d7a53ac260ee7f434a0a5b537fe4eb715cf0fe961f944a68d1b3b29209286f625888cde SHA512 a2364fc7b56cea12f905ca149422cd21b64efb1f4ca04329a8d097570b730537a1e52893b5ebb18564fc28d02308a3227cf5dbecf7d2129d77193cb4eb69ea6f +EBUILD passwdqc-2.0.3.ebuild 1272 BLAKE2B 1dc25aa6d68327cec7ef7fa86335c96879e84388f6ba4892b9c097a6ee033002c0229a35e246f93aadac1dc7fd66f5d018208f29637e2f7621bff1f0f7ef419f SHA512 527321d8f30219e780659b86f1f5036e207450edf3d2887c1832542a9891d96ccb20c458c83eca176400af649c07cf953a50d5f64265d07fea734739879aa456 MISC metadata.xml 406 BLAKE2B c9c09f5769ef2219d38955deaf449ddc90e2a108faffc48f14cf49ea47a9844cb6808815e39a02116d943e3776d1b9d6323d8fe5217172d18606160c5cf43031 SHA512 8afab23cd4966626ca03b43412f35aa65c213487850ad2897df9932779eba8d489bddc2dd15c0eaedcb34294d9621a0c0e2b85c4a412b7816a06d18167d7aa18 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 +} -- cgit v1.2.3