summaryrefslogtreecommitdiff
path: root/sys-auth/passwdqc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /sys-auth/passwdqc
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'sys-auth/passwdqc')
-rw-r--r--sys-auth/passwdqc/Manifest8
-rw-r--r--sys-auth/passwdqc/passwdqc-1.4.0-r1.ebuild8
-rw-r--r--sys-auth/passwdqc/passwdqc-2.0.0-r1.ebuild (renamed from sys-auth/passwdqc/passwdqc-2.0.0.ebuild)8
-rw-r--r--sys-auth/passwdqc/passwdqc-2.0.1-r1.ebuild (renamed from sys-auth/passwdqc/passwdqc-2.0.1.ebuild)8
-rw-r--r--sys-auth/passwdqc/passwdqc-2.0.2.ebuild61
5 files changed, 78 insertions, 15 deletions
diff --git a/sys-auth/passwdqc/Manifest b/sys-auth/passwdqc/Manifest
index ae95af2fe6c5..310803aba288 100644
--- a/sys-auth/passwdqc/Manifest
+++ b/sys-auth/passwdqc/Manifest
@@ -1,7 +1,9 @@
DIST passwdqc-1.4.0.tar.gz 55219 BLAKE2B 3f96a2d219ee23f11db2ad8ba433eaa56b97a263ad1a49159e0356b779cb4486ec9aa74cd7002fdd6d273e5a7bae4fe1b94e02f60256d331e5afc30d63e81360 SHA512 b9be6632688a1d7d929ec546679a366a67d44e7841e106c7f739a8e0656842866125160c87b04c8e0b3189a3e85eb182aa789196f68925b2f8ec71cd6a479800
DIST passwdqc-2.0.0.tar.gz 86235 BLAKE2B fa67007ca0477feafd8743eda0899b7e348bf75e00e7ff23b6acdf56a456d75bec89a4b7dead41d7889610669425ff0145d6e7c94db0ce93219de0c5c0b80909 SHA512 7e5c0a32361d604c47ad02f36beff3287f638f2911b398a21b89cea164bf9a161b3bc252e9c660eaa53c5e5fce458d1cb1fd6b2bb308bafdb729c9d7e67f5295
DIST passwdqc-2.0.1.tar.gz 87804 BLAKE2B 0fbbe4dbb68104fb94dbb0a3a84759d2ad5ec3e8fb285a12534b0465e5c3ed4084e879f9322dbd26071338f4e39b01b3e42337e933bee921600e3a32f00069b8 SHA512 95d10099634dd15d2e93249b37e1d2727922fdeac9993ddb63b6c3f8ff39377c02fce0e0a77d120aed868d3a2cb51972eed4cf84f5ddcec8488f60e9769d4263
-EBUILD passwdqc-1.4.0-r1.ebuild 1273 BLAKE2B 129125327a956fd698b1493d463f50e1c9d8c6d9a85665654ab8778855f676b1ed9d2c3b382499f91bbf7a69c6a4e02d4d1ff64313adc322f9b5693d2fec3810 SHA512 1c4068d4550e463f437e30353b9fe0d20c18b6342560255db3d21b48eabd362c7385f8b4c4647d1064b62210032c484e197de56bc6337d7745ef43efd8308e63
-EBUILD passwdqc-2.0.0.ebuild 1282 BLAKE2B 834853e67e9c78cd2f84c9ac2f06f0acd196060f18d0ddca51c8f9f0c9cf89672e963c64aacb821561b66616b69d21f7eb5d6d04cf8091422f08659a2d38d48a SHA512 dd89b3d468c5d79ee89ea7289064f709b70cb731ed7810bab870c7d3388be76c12f291172e76f8dce8996965cf33e6facd4916f47f9c5a9d729c65e6bd5b08de
-EBUILD passwdqc-2.0.1.ebuild 1282 BLAKE2B 834853e67e9c78cd2f84c9ac2f06f0acd196060f18d0ddca51c8f9f0c9cf89672e963c64aacb821561b66616b69d21f7eb5d6d04cf8091422f08659a2d38d48a SHA512 dd89b3d468c5d79ee89ea7289064f709b70cb731ed7810bab870c7d3388be76c12f291172e76f8dce8996965cf33e6facd4916f47f9c5a9d729c65e6bd5b08de
+DIST passwdqc-2.0.2.tar.gz 88796 BLAKE2B 4be0180dbee38d124cc5fd3780fcc27b276bd9370c59c83a9c037b67f18518873bd34d23f779125ac0b5e8bb1f40a5e8e24dc65bfe5919f735f96d4f625cebdb SHA512 60f91ad7c86314b0d9ad97a2474a1a5bbb8b41491b274e09f7300d8a609cfffb0688bf39d4e715f647f3c87bfee429cb5e01f1a641a14eea3f55b223610ed8ec
+EBUILD passwdqc-1.4.0-r1.ebuild 1264 BLAKE2B 90e181a78cbebe7be35bc898bc8d8229157ae2454044c74f4ede6a16366fa35697490543c76ace2fc3b5aa3cb2cebcb1b211b9118509515ce9797d6bb6fc69a8 SHA512 5df52075c6f1ce4750806cb170b5e2e3951a46f3b5f0956136f7f53c0e531607253d4d74cd1499dc9bb3d1ade98aad289576aed49b62f3b24cb2daafa3c237d4
+EBUILD passwdqc-2.0.0-r1.ebuild 1281 BLAKE2B 784d9f373ecce62b2762395f6639811c5465606332b3a3b1aa9e3f3b8a3d1f46055e78fdc25af885343d6b62cebd2fdd04af53ac7651749b0e448cdc836a98fc SHA512 9d519776ab0098a03835c34f1c850610b272cf46bfef2b8c5de3d0e889b26e519879987886502ed5206778ecb1a865b4e2bd32e43a4f13fae3579d67e0dd8a24
+EBUILD passwdqc-2.0.1-r1.ebuild 1281 BLAKE2B 784d9f373ecce62b2762395f6639811c5465606332b3a3b1aa9e3f3b8a3d1f46055e78fdc25af885343d6b62cebd2fdd04af53ac7651749b0e448cdc836a98fc SHA512 9d519776ab0098a03835c34f1c850610b272cf46bfef2b8c5de3d0e889b26e519879987886502ed5206778ecb1a865b4e2bd32e43a4f13fae3579d67e0dd8a24
+EBUILD passwdqc-2.0.2.ebuild 1281 BLAKE2B 784d9f373ecce62b2762395f6639811c5465606332b3a3b1aa9e3f3b8a3d1f46055e78fdc25af885343d6b62cebd2fdd04af53ac7651749b0e448cdc836a98fc SHA512 9d519776ab0098a03835c34f1c850610b272cf46bfef2b8c5de3d0e889b26e519879987886502ed5206778ecb1a865b4e2bd32e43a4f13fae3579d67e0dd8a24
MISC metadata.xml 322 BLAKE2B 539430fc1d4d9cff3e27ab5769b9385dc822dc666accfba89a75c8228103132e0056ebbba0f16399bdf6cccb7bcf7f52de55e27a9da9cc12c38a38674bf67fb2 SHA512 8762169c70c490e144d0bc6239265e259ee1f5e2dccf75e87aa236cbc884c243432da7082ba078e20b4de7848d0c3760d8e7a3e8dac3650e3799a012a893e9be
diff --git a/sys-auth/passwdqc/passwdqc-1.4.0-r1.ebuild b/sys-auth/passwdqc/passwdqc-1.4.0-r1.ebuild
index 3c77402c7fad..70be5a24a3ea 100644
--- a/sys-auth/passwdqc/passwdqc-1.4.0-r1.ebuild
+++ b/sys-auth/passwdqc/passwdqc-1.4.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="http://www.openwall.com/${PN}/${P}.tar.gz"
LICENSE="Openwall BSD public-domain"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
RDEPEND="sys-libs/pam"
DEPEND="${RDEPEND}"
@@ -40,7 +40,7 @@ src_prepare() {
}
_emake() {
- emake -j1 \
+ emake \
SHARED_LIBDIR="/usr/$(get_libdir)" \
SECUREDIR="$(getpam_mod_dir)" \
CONFDIR="/etc/security" \
@@ -52,7 +52,7 @@ _emake() {
}
src_compile() {
- _emake pam utils
+ _emake all
}
src_install() {
diff --git a/sys-auth/passwdqc/passwdqc-2.0.0.ebuild b/sys-auth/passwdqc/passwdqc-2.0.0-r1.ebuild
index 53fea839ad89..786e12917d1a 100644
--- a/sys-auth/passwdqc/passwdqc-2.0.0.ebuild
+++ b/sys-auth/passwdqc/passwdqc-2.0.0-r1.ebuild
@@ -27,8 +27,8 @@ src_prepare() {
# ship our own default settings
cat <<- EOF > "${S}/passwdqc.conf"
- min=8,8,8,8,8
- max=40
+ min=disabled,24,11,8,7
+ max=72
passphrase=3
match=4
similar=deny
@@ -40,7 +40,7 @@ src_prepare() {
}
_emake() {
- emake -j1 \
+ emake \
SHARED_LIBDIR="/usr/$(get_libdir)" \
SECUREDIR="$(getpam_mod_dir)" \
CONFDIR="/etc/security" \
@@ -52,7 +52,7 @@ _emake() {
}
src_compile() {
- _emake pam utils
+ _emake all
}
src_install() {
diff --git a/sys-auth/passwdqc/passwdqc-2.0.1.ebuild b/sys-auth/passwdqc/passwdqc-2.0.1-r1.ebuild
index 53fea839ad89..786e12917d1a 100644
--- a/sys-auth/passwdqc/passwdqc-2.0.1.ebuild
+++ b/sys-auth/passwdqc/passwdqc-2.0.1-r1.ebuild
@@ -27,8 +27,8 @@ src_prepare() {
# ship our own default settings
cat <<- EOF > "${S}/passwdqc.conf"
- min=8,8,8,8,8
- max=40
+ min=disabled,24,11,8,7
+ max=72
passphrase=3
match=4
similar=deny
@@ -40,7 +40,7 @@ src_prepare() {
}
_emake() {
- emake -j1 \
+ emake \
SHARED_LIBDIR="/usr/$(get_libdir)" \
SECUREDIR="$(getpam_mod_dir)" \
CONFDIR="/etc/security" \
@@ -52,7 +52,7 @@ _emake() {
}
src_compile() {
- _emake pam utils
+ _emake all
}
src_install() {
diff --git a/sys-auth/passwdqc/passwdqc-2.0.2.ebuild b/sys-auth/passwdqc/passwdqc-2.0.2.ebuild
new file mode 100644
index 000000000000..786e12917d1a
--- /dev/null
+++ b/sys-auth/passwdqc/passwdqc-2.0.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="sys-libs/pam"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ QA_FLAGS_IGNORED="/$(get_libdir)/security/pam_passwdqc.so
+ /usr/$(get_libdir)/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=everyone
+ 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
+}