diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2020-06-09 15:11:25 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-06-09 15:12:00 +0300 |
commit | 9c164b89480a5ea2ab9e1529a11a363fe1b05513 (patch) | |
tree | 14ca197e346617e551ed52f90c15aa81be201b3f /sys-auth/passwdqc | |
parent | www-client/vivaldi: Version 3.1.1929.25_p1 (diff) | |
download | gentoo-9c164b89480a5ea2ab9e1529a11a363fe1b05513.tar.gz gentoo-9c164b89480a5ea2ab9e1529a11a363fe1b05513.tar.bz2 gentoo-9c164b89480a5ea2ab9e1529a11a363fe1b05513.zip |
sys-auth/passwdqc: Version bump (v1.4.0)
Add myself as maintainer, this package is now the mandatory PAM dep
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'sys-auth/passwdqc')
-rw-r--r-- | sys-auth/passwdqc/Manifest | 1 | ||||
-rw-r--r-- | sys-auth/passwdqc/metadata.xml | 10 | ||||
-rw-r--r-- | sys-auth/passwdqc/passwdqc-1.4.0.ebuild | 41 |
3 files changed, 47 insertions, 5 deletions
diff --git a/sys-auth/passwdqc/Manifest b/sys-auth/passwdqc/Manifest index 6b8d8b4a93f6..01a58c4f18a9 100644 --- a/sys-auth/passwdqc/Manifest +++ b/sys-auth/passwdqc/Manifest @@ -1 +1,2 @@ DIST passwdqc-1.3.0.tar.gz 48833 BLAKE2B bf6353749376ca8b52a8aac89b05561d4a0dde54133361b77228dd4d35f2e1e75f0b53a0f9c4fc2f6be5717110c1d762e2aa76f6461281b60fa3bdc9b19f2f7d SHA512 d9c2fd075ed4ff1f1dfa63fe40010d446abf8db306cacc77fd1e429fbd2dd1a6d2e4e91df46beb4c30bc30ff0cdd183ba85cefd362455ead9629d3a1c4eefece +DIST passwdqc-1.4.0.tar.gz 55219 BLAKE2B 3f96a2d219ee23f11db2ad8ba433eaa56b97a263ad1a49159e0356b779cb4486ec9aa74cd7002fdd6d273e5a7bae4fe1b94e02f60256d331e5afc30d63e81360 SHA512 b9be6632688a1d7d929ec546679a366a67d44e7841e106c7f739a8e0656842866125160c87b04c8e0b3189a3e85eb182aa789196f68925b2f8ec71cd6a479800 diff --git a/sys-auth/passwdqc/metadata.xml b/sys-auth/passwdqc/metadata.xml index 2a9e71a6d8f9..3266e569dace 100644 --- a/sys-auth/passwdqc/metadata.xml +++ b/sys-auth/passwdqc/metadata.xml @@ -1,14 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<!-- maintainer-needed --> +<maintainer type="person"> + <email>zlogene@gentoo.org</email> + <name>Mikle Kolyada</name> +</maintainer> <use> <flag name="utils">Install pwqcheck and pwqgen helper utilities</flag> </use> <longdescription> - Password strength checking for PAM aware password changing programs. This is an alternative to the default cracklib. -</longdescription> -<longdescription lang="ja"> - パスワード変更プログラムに反応する PAM のパスワード強度検査機能です。これはデフォルトの cracklib の代替です。 + Password strength checking for PAM aware password changing programs. </longdescription> </pkgmetadata> diff --git a/sys-auth/passwdqc/passwdqc-1.4.0.ebuild b/sys-auth/passwdqc/passwdqc-1.4.0.ebuild new file mode 100644 index 000000000000..2c8a0b14832f --- /dev/null +++ b/sys-auth/passwdqc/passwdqc-1.4.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 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 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="sys-libs/pam" +DEPEND="${RDEPEND}" + +src_prepare() { + default + sed -i -e 's:`uname -s`:Linux:' Makefile || die +} + +_emake() { + emake \ + SHARED_LIBDIR="/usr/$(get_libdir)" \ + CFLAGS="${CFLAGS} ${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + CC="$(tc-getCC)" \ + LD="$(tc-getCC)" \ + "$@" +} + +src_compile() { + _emake pam utils +} + +src_install() { + _emake DESTDIR="${ED}" install_lib install_pam install_utils + dodoc README PLATFORMS INTERNALS +}
\ No newline at end of file |