[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/, sys-libs/cracklib/files/

2024-05-09 Thread Sam James
commit: 4ef3f3e85bd7e2e8de70e76eb09c4c21f207eb16
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 11:30:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 11:32:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ef3f3e8

sys-libs/cracklib: enable py3.12, set DISTUTILS_EXT=1

Closes: https://bugs.gentoo.org/929852
Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.11.ebuild   | 10 ++-
 .../files/cracklib-2.9.11-py3.12-tests.patch   | 80 ++
 2 files changed, 87 insertions(+), 3 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.11.ebuild 
b/sys-libs/cracklib/cracklib-2.9.11.ebuild
index 8be12c0d3441..185419828d79 100644
--- a/sys-libs/cracklib/cracklib-2.9.11.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.11.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 # Note: ideally bump with sys-apps/cracklib-words
-
+DISTUTILS_EXT=1
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit distutils-r1 libtool multilib-minimal usr-ldscript
 
 MY_P=${P/_}
@@ -35,6 +35,10 @@ BDEPEND="
python? ( ${DISTUTILS_DEPS} )
 "
 
+PATCHES=(
+   "${FILESDIR}"/${P}-py3.12-tests.patch
+)
+
 distutils_enable_tests unittest
 
 pkg_setup() {

diff --git a/sys-libs/cracklib/files/cracklib-2.9.11-py3.12-tests.patch 
b/sys-libs/cracklib/files/cracklib-2.9.11-py3.12-tests.patch
new file mode 100644
index ..f0e1cd29a005
--- /dev/null
+++ b/sys-libs/cracklib/files/cracklib-2.9.11-py3.12-tests.patch
@@ -0,0 +1,80 @@
+https://github.com/cracklib/cracklib/commit/a77a392272df3677f71c68e81fcdad1bc722732e
+
+From a77a392272df3677f71c68e81fcdad1bc722732e Mon Sep 17 00:00:00 2001
+From: Olivier Gayot 
+Date: Thu, 30 Nov 2023 18:36:17 +0100
+Subject: [PATCH] Fix test-suite so it can run with Python 3.12
+
+The test suite still used the obsolete assertEquals() function which was
+a deprecated alias for assertEqual() (without the s) and got dropped
+from Python 3.12.
+
+Use the replacement instead so the test-suite can run with Python 3.12.
+
+Signed-off-by: Olivier Gayot 
+--- a/python/test_cracklib.py
 b/python/test_cracklib.py
+@@ -69,52 +69,52 @@ def test_simple(self):
+ def test_simple_lower(self):
+ for passwd in ['t' * i for i in range(
+ cracklib.MIN_LENGTH - cracklib.LOW_CREDIT)]:
+-self.assertEquals(
++self.assertEqual(
+ 1, cracklib.simple(passwd),
+ 'password {0} should be detected as too simple'.format(
+ passwd))
+-self.assertEquals(0, cracklib.simple(
++self.assertEqual(0, cracklib.simple(
+ 't' * (cracklib.MIN_LENGTH - cracklib.LOW_CREDIT)))
+ 
+ def test_simple_upper(self):
+ for passwd in ['T' * i for i in range(
+ cracklib.MIN_LENGTH - cracklib.UP_CREDIT)]:
+-self.assertEquals(
++self.assertEqual(
+ 1, cracklib.simple(passwd),
+ 'password {0} should be detected as too simple'.format(
+ passwd))
+-self.assertEquals(0, cracklib.simple(
++self.assertEqual(0, cracklib.simple(
+ 'T' * (cracklib.MIN_LENGTH - cracklib.UP_CREDIT)))
+ 
+ def test_simple_digit(self):
+ for passwd in ['1' * i for i in range(
+ cracklib.MIN_LENGTH - cracklib.DIG_CREDIT)]:
+-self.assertEquals(
++self.assertEqual(
+ 1, cracklib.simple(passwd),
+ 'password {0} should be detected as too simple'.format(
+ passwd))
+-self.assertEquals(0, cracklib.simple(
++self.assertEqual(0, cracklib.simple(
+ '1' * (cracklib.MIN_LENGTH - cracklib.DIG_CREDIT)))
+ 
+ def test_simple_other(self):
+ for passwd in ['#' * i for i in range(
+ cracklib.MIN_LENGTH - cracklib.OTH_CREDIT)]:
+-self.assertEquals(
++self.assertEqual(
+ 1, cracklib.simple(passwd),
+ 'password {0} should be detected as too simple'.format(
+ passwd))
+-self.assertEquals(0, cracklib.simple(
++self.assertEqual(0, cracklib.simple(
+ '#' * (cracklib.MIN_LENGTH - cracklib.OTH_CREDIT)))
+ 
+ def test_simple_combinations(self):
+ testset = '#a' * (cracklib.MIN_LENGTH // 2)
+ for passwd in [testset[:i] for i in range(
+ cracklib.MIN_LENGTH - cracklib.LOW_CREDIT - cracklib.OTH_CREDIT)]:
+-self.assertEquals(
++self.assertEqual(
+ 1, cracklib.simple(passwd),
+ 'password {0} should be detected as too simple'.format(
+ passwd))
+-self.assertEquals(0, 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/files/

2023-07-14 Thread Conrad Kostecki
commit: 513485d665975cf2408ed4b55b93681ab62693c1
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Fri Jul 14 18:50:13 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Jul 15 00:50:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=513485d6

sys-libs/cracklib: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/31882
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../cracklib/files/cracklib-2.9.10-python-inc.patch  | 20 
 1 file changed, 20 deletions(-)

diff --git a/sys-libs/cracklib/files/cracklib-2.9.10-python-inc.patch 
b/sys-libs/cracklib/files/cracklib-2.9.10-python-inc.patch
deleted file mode 100644
index fd9960df0e8f..
--- a/sys-libs/cracklib/files/cracklib-2.9.10-python-inc.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-https://github.com/cracklib/cracklib/pull/61
-
-From 802cbc426779489d44d7fc19e695e7d962c65665 Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Fri, 17 Mar 2023 02:20:19 +
-Subject: [PATCH] python: adjust include path for builddir
-
-We need this for config.h added by 2e0f854bada720ff4fbd13aed4f87087d466274d.
 a/python/setup.py.in
-+++ b/python/setup.py.in
-@@ -22,7 +22,7 @@ from setuptools import setup, Extension
- extensions = [
- Extension("_cracklib",
- ["@srcdir@/_cracklib.c"],
--include_dirs = ["@top_srcdir@/lib"],
-+include_dirs = ["@top_builddir@", "@top_srcdir@/lib"],
- libraries = ["crack"],
- library_dirs = ["@top_builddir@/lib/.libs"]),
- ]
-



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2023-07-13 Thread Mike Gilbert
commit: 3fee2ede81c49e8103daf6f6308f49483d24799e
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Jul 13 17:42:13 2023 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Jul 13 17:42:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fee2ede

sys-libs/cracklib: drop 2.9.8, 2.9.10-r1

Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/cracklib/Manifest  |   2 -
 sys-libs/cracklib/cracklib-2.9.10-r1.ebuild | 134 
 sys-libs/cracklib/cracklib-2.9.8.ebuild | 123 -
 3 files changed, 259 deletions(-)

diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index 977596906ff7..f7c1656f60c2 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1,3 +1 @@
-DIST cracklib-2.9.10.tar.bz2 620648 BLAKE2B 
f4ebf4aea6da81424a8b9fae9c204260f6020937b6b2b02cec13527f812e1751522a47a4432ff0a2a233eeb88fe0c8b7e7fd371f611a40bf2d34a10ddfd4fe83
 SHA512 
0c3856833f4c58fc1ebc63cc08b189c55e8d5722ef8cdc1cad5f717cef137a83648657e005e2d0367006b27aafa1bb63e36e7998918937733816635880c85f74
 DIST cracklib-2.9.11.tar.xz 461116 BLAKE2B 
46b499e465c1c268b772781a9c8ce573a5167ae2e0ac919b403acdb9a14c35140dfb53909eef6e41600e26c2f87d905b3d6d05380c66f053d091765b58a264f4
 SHA512 
c32e509f757344a1f0b7032ad3b6dc47a8759852a94e511c92073d85bce55f45d48c389d9eb34c993e1d61ad5c1542150672f3e8bc147148ebbb04d3319a2409
-DIST cracklib-2.9.8.tar.bz2 613017 BLAKE2B 
d9a5d922d6ac777b08cec9c427c0cde48666cdf67bf4136eb5866a0111b101c795dceb8e206e90bff31d1c8d26505bc1a950e8ea079562d8afd601641a7caf0c
 SHA512 
bba1b82067156f44095b282c70c06a05e58572cde7ad2430dd24c4b42ae98be86708ea86ba8b7104aa5887e16ac90d7cf3ae613b84ab9c0f7602307d78b75371

diff --git a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
deleted file mode 100644
index aaff1f1b5172..
--- a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Note: ideally bump with sys-apps/cracklib-words
-
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1 libtool multilib-minimal usr-ldscript
-
-MY_P=${P/_}
-DESCRIPTION="Password Checking Library"
-HOMEPAGE="https://github.com/cracklib/cracklib/;
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
-S="${WORKDIR}"/${MY_P}
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="nls python static-libs zlib"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-   python? ( ${PYTHON_DEPS} )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )
-"
-DEPEND="
-   ${RDEPEND}
-   nls? ( virtual/libintl )
-"
-BDEPEND="
-   nls? ( sys-devel/gettext )
-   python? ( ${DISTUTILS_DEPS} )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.9.10-python-inc.patch
-)
-
-distutils_enable_tests unittest
-
-pkg_setup() {
-   # Workaround bug #195017
-   if has unmerge-orphans ${FEATURES} && has_version 
"<${CATEGORY}/${PN}-2.8.10" ; then
-   eerror "Upgrade path is broken with FEATURES=unmerge-orphans"
-   eerror "Please run: FEATURES=-unmerge-orphans emerge cracklib"
-   die "Please run: FEATURES=-unmerge-orphans emerge cracklib"
-   fi
-}
-
-src_prepare() {
-   default
-
-   # bug #269003
-   elibtoolize
-
-   if use python ; then
-   distutils-r1_src_prepare
-   fi
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   # use /usr/lib so that the dictionary is shared between ABIs
-   --with-default-dict="/usr/lib/cracklib_dict"
-   --without-python
-   $(use_enable nls)
-   $(use_enable static-libs static)
-   )
-
-   export ac_cv_header_zlib_h=$(usex zlib)
-   export ac_cv_search_gzopen=$(usex zlib -lz no)
-
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_compile() {
-   default
-
-   if multilib_is_native_abi && use python ; then
-   local -x CFLAGS="${CFLAGS} 
-DLOCALEDIR='\"${EPREFIX}/usr/share/locale\"' 
-DDEFAULT_CRACKLIB_DICT=\'${EPREFIX}/usr/lib/cracklib_dict\'"
-   cd python || die
-   distutils-r1_src_compile
-   fi
-}
-
-multilib_src_test() {
-   default
-
-   if multilib_is_native_abi && use python ; then
-   distutils-r1_src_test
-   fi
-}
-
-python_test() {
-   cd "${S}"/python || die
-
-   # Make sure we load the freshly built library
-   local -x 
LD_LIBRARY_PATH="${BUILD_DIR/-${EPYTHON/./_}}/lib/.libs:${BUILD_DIR}/lib:${LD_LIBRARY_PATH}"
-
-   eunittest
-}
-
-multilib_src_install() {
-   default
-
-   # Move shared libs to 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2023-05-31 Thread Sam James
commit: 0366178fa5988313dc6dd54a2ef2018c088fff57
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  1 03:28:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  1 03:28:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0366178f

sys-libs/cracklib: Stabilize 2.9.11 ALLARCHES, #907506

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.11.ebuild 
b/sys-libs/cracklib/cracklib-2.9.11.ebuild
index aad59cf9265b..8be12c0d3441 100644
--- a/sys-libs/cracklib/cracklib-2.9.11.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.11.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2023-04-19 Thread Sam James
commit: 83e7041ed8998b2c7ac210bff4c72c566effbde0
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 11:02:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 11:04:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83e7041e

sys-libs/cracklib: Stabilize 2.9.10-r1 amd64, #904569

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
index 6f67bf40c79f..aaff1f1b5172 100644
--- a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2023-04-19 Thread Arthur Zamarin
commit: f44ba7c1ec68a0ec35c1a96b96453c0b14adc0d5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Apr 19 10:15:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Apr 19 10:15:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f44ba7c1

sys-libs/cracklib: Stabilize 2.9.10-r1 sparc, #904569

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
index cd6e6369649c..6f67bf40c79f 100644
--- a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2023-04-19 Thread Arthur Zamarin
commit: 58e2f9cecb198641d40bedc011568b27d1a9f1af
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Apr 19 10:15:41 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Apr 19 10:15:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58e2f9ce

sys-libs/cracklib: Stabilize 2.9.10-r1 hppa, #904569

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
index 545eb35d5c4a..cd6e6369649c 100644
--- a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2023-04-19 Thread Sam James
commit: e9f7e879300941393d678a5f0812f4780ad73f4a
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 09:48:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 09:48:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9f7e879

sys-libs/cracklib: Stabilize 2.9.10-r1 ppc, #904569

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
index 0bb6425df59a..6bd6b46a89d3 100644
--- a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2023-04-19 Thread Sam James
commit: 2590455e29284f69539bdbff196bea82fba3adc8
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 09:48:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 09:48:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2590455e

sys-libs/cracklib: Stabilize 2.9.10-r1 ppc64, #904569

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
index 6bd6b46a89d3..545eb35d5c4a 100644
--- a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2023-04-19 Thread Sam James
commit: 1e0e880a8e244d11c54f6c566b5e831396283588
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 09:45:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 09:45:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e0e880a

sys-libs/cracklib: Stabilize 2.9.10-r1 arm64, #904569

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
index a0723d95b727..0bb6425df59a 100644
--- a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2023-04-19 Thread Sam James
commit: ac527867ad838893493e95b7faa71e93ae38bde7
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 09:43:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 09:43:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac527867

sys-libs/cracklib: Stabilize 2.9.10-r1 arm, #904569

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
index 0670497e78a6..a0723d95b727 100644
--- a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2023-04-19 Thread Sam James
commit: 54dfda1f7f93005de6b4cd09152d271050143dac
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 09:41:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 09:42:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54dfda1f

sys-libs/cracklib: Stabilize 2.9.10-r1 x86, #904569

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
index 0553dfd808a8..0670497e78a6 100644
--- a/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2023-04-02 Thread Sam James
commit: 10a06b24412eebde4fa7593bbb7362dd3f0771bf
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr  2 21:38:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr  2 21:39:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10a06b24

sys-libs/cracklib: add 2.9.11

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/Manifest   |   1 +
 sys-libs/cracklib/cracklib-2.9.11.ebuild | 130 +++
 2 files changed, 131 insertions(+)

diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index 1d66101e9c18..977596906ff7 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1,2 +1,3 @@
 DIST cracklib-2.9.10.tar.bz2 620648 BLAKE2B 
f4ebf4aea6da81424a8b9fae9c204260f6020937b6b2b02cec13527f812e1751522a47a4432ff0a2a233eeb88fe0c8b7e7fd371f611a40bf2d34a10ddfd4fe83
 SHA512 
0c3856833f4c58fc1ebc63cc08b189c55e8d5722ef8cdc1cad5f717cef137a83648657e005e2d0367006b27aafa1bb63e36e7998918937733816635880c85f74
+DIST cracklib-2.9.11.tar.xz 461116 BLAKE2B 
46b499e465c1c268b772781a9c8ce573a5167ae2e0ac919b403acdb9a14c35140dfb53909eef6e41600e26c2f87d905b3d6d05380c66f053d091765b58a264f4
 SHA512 
c32e509f757344a1f0b7032ad3b6dc47a8759852a94e511c92073d85bce55f45d48c389d9eb34c993e1d61ad5c1542150672f3e8bc147148ebbb04d3319a2409
 DIST cracklib-2.9.8.tar.bz2 613017 BLAKE2B 
d9a5d922d6ac777b08cec9c427c0cde48666cdf67bf4136eb5866a0111b101c795dceb8e206e90bff31d1c8d26505bc1a950e8ea079562d8afd601641a7caf0c
 SHA512 
bba1b82067156f44095b282c70c06a05e58572cde7ad2430dd24c4b42ae98be86708ea86ba8b7104aa5887e16ac90d7cf3ae613b84ab9c0f7602307d78b75371

diff --git a/sys-libs/cracklib/cracklib-2.9.11.ebuild 
b/sys-libs/cracklib/cracklib-2.9.11.ebuild
new file mode 100644
index ..aad59cf9265b
--- /dev/null
+++ b/sys-libs/cracklib/cracklib-2.9.11.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Note: ideally bump with sys-apps/cracklib-words
+
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+inherit distutils-r1 libtool multilib-minimal usr-ldscript
+
+MY_P=${P/_}
+DESCRIPTION="Password Checking Library"
+HOMEPAGE="https://github.com/cracklib/cracklib/;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz;
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="nls python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+   ${RDEPEND}
+   nls? ( virtual/libintl )
+"
+BDEPEND="
+   nls? ( sys-devel/gettext )
+   python? ( ${DISTUTILS_DEPS} )
+"
+
+distutils_enable_tests unittest
+
+pkg_setup() {
+   # Workaround bug #195017
+   if has unmerge-orphans ${FEATURES} && has_version 
"<${CATEGORY}/${PN}-2.8.10" ; then
+   eerror "Upgrade path is broken with FEATURES=unmerge-orphans"
+   eerror "Please run: FEATURES=-unmerge-orphans emerge cracklib"
+   die "Please run: FEATURES=-unmerge-orphans emerge cracklib"
+   fi
+}
+
+src_prepare() {
+   default
+
+   # bug #269003
+   elibtoolize
+
+   if use python ; then
+   distutils-r1_src_prepare
+   fi
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   # use /usr/lib so that the dictionary is shared between ABIs
+   --with-default-dict="/usr/lib/cracklib_dict"
+   --without-python
+   $(use_enable nls)
+   $(use_enable static-libs static)
+   )
+
+   export ac_cv_header_zlib_h=$(usex zlib)
+   export ac_cv_search_gzopen=$(usex zlib -lz no)
+
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+   default
+
+   if multilib_is_native_abi && use python ; then
+   local -x CFLAGS="${CFLAGS} 
-DLOCALEDIR='\"${EPREFIX}/usr/share/locale\"' 
-DDEFAULT_CRACKLIB_DICT=\'${EPREFIX}/usr/lib/cracklib_dict\'"
+   cd python || die
+   distutils-r1_src_compile
+   fi
+}
+
+multilib_src_test() {
+   default
+
+   if multilib_is_native_abi && use python ; then
+   distutils-r1_src_test
+   fi
+}
+
+python_test() {
+   cd "${S}"/python || die
+
+   # Make sure we load the freshly built library
+   local -x 
LD_LIBRARY_PATH="${BUILD_DIR/-${EPYTHON/./_}}/lib/.libs:${BUILD_DIR}/lib:${LD_LIBRARY_PATH}"
+
+   eunittest
+}
+
+multilib_src_install() {
+   default
+
+   # Move shared libs to /
+   gen_usr_ldscript -a crack
+
+   if multilib_is_native_abi && use python ; then
+   cd python || die
+   distutils-r1_src_install
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/files/, sys-libs/cracklib/

2023-03-16 Thread Sam James
commit: 27b7d30f1513c8aa741f0118ebd8af45984ea6c6
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 17 02:24:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 17 02:24:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b7d30f

sys-libs/cracklib: fix Python bindings

- Fix Python bindings build and clean it up to be more idiomatic
- Use PEP517 for Python build too

Closes: https://bugs.gentoo.org/901719
Signed-off-by: Sam James  gentoo.org>

 ...lib-2.9.10.ebuild => cracklib-2.9.10-r1.ebuild} | 45 ++
 .../files/cracklib-2.9.10-python-inc.patch | 20 ++
 2 files changed, 48 insertions(+), 17 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.10.ebuild 
b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
similarity index 74%
rename from sys-libs/cracklib/cracklib-2.9.10.ebuild
rename to sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
index 71fddeb64779..0553dfd808a8 100644
--- a/sys-libs/cracklib/cracklib-2.9.10.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.10-r1.ebuild
@@ -6,6 +6,7 @@ EAPI=8
 # Note: ideally bump with sys-apps/cracklib-words
 
 DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 inherit distutils-r1 libtool multilib-minimal usr-ldscript
 
@@ -31,19 +32,14 @@ DEPEND="
 "
 BDEPEND="
nls? ( sys-devel/gettext )
-   python? (
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   )
+   python? ( ${DISTUTILS_DEPS} )
 "
 
-do_python() {
-   multilib_is_native_abi || return 0
-   use python || return 0
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.9.10-python-inc.patch
+)
 
-   pushd python > /dev/null || die
-   distutils-r1_src_${EBUILD_PHASE}
-   popd > /dev/null || die
-}
+distutils_enable_tests unittest
 
 pkg_setup() {
# Workaround bug #195017
@@ -57,10 +53,12 @@ pkg_setup() {
 src_prepare() {
default
 
-   # bug ##269003
+   # bug #269003
elibtoolize
 
-   do_python
+   if use python ; then
+   distutils-r1_src_prepare
+   fi
 }
 
 multilib_src_configure() {
@@ -81,18 +79,28 @@ multilib_src_configure() {
 multilib_src_compile() {
default
 
-   do_python
+   if multilib_is_native_abi && use python ; then
+   local -x CFLAGS="${CFLAGS} 
-DLOCALEDIR='\"${EPREFIX}/usr/share/locale\"' 
-DDEFAULT_CRACKLIB_DICT=\'${EPREFIX}/usr/lib/cracklib_dict\'"
+   cd python || die
+   distutils-r1_src_compile
+   fi
 }
 
 multilib_src_test() {
default
 
-   # Make sure we load the freshly built library
-   LD_LIBRARY_PATH="${BUILD_DIR}/lib/.libs:${LD_LIBRARY_PATH}" do_python
+   if multilib_is_native_abi && use python ; then
+   distutils-r1_src_test
+   fi
 }
 
 python_test() {
-   ${EPYTHON} -m unittest test_cracklib || die "Tests fail with ${EPYTHON}"
+   cd "${S}"/python || die
+
+   # Make sure we load the freshly built library
+   local -x 
LD_LIBRARY_PATH="${BUILD_DIR/-${EPYTHON/./_}}/lib/.libs:${BUILD_DIR}/lib:${LD_LIBRARY_PATH}"
+
+   eunittest
 }
 
 multilib_src_install() {
@@ -101,7 +109,10 @@ multilib_src_install() {
# Move shared libs to /
gen_usr_ldscript -a crack
 
-   do_python
+   if multilib_is_native_abi && use python ; then
+   cd python || die
+   distutils-r1_src_install
+   fi
 }
 
 multilib_src_install_all() {

diff --git a/sys-libs/cracklib/files/cracklib-2.9.10-python-inc.patch 
b/sys-libs/cracklib/files/cracklib-2.9.10-python-inc.patch
new file mode 100644
index ..fd9960df0e8f
--- /dev/null
+++ b/sys-libs/cracklib/files/cracklib-2.9.10-python-inc.patch
@@ -0,0 +1,20 @@
+https://github.com/cracklib/cracklib/pull/61
+
+From 802cbc426779489d44d7fc19e695e7d962c65665 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 17 Mar 2023 02:20:19 +
+Subject: [PATCH] python: adjust include path for builddir
+
+We need this for config.h added by 2e0f854bada720ff4fbd13aed4f87087d466274d.
+--- a/python/setup.py.in
 b/python/setup.py.in
+@@ -22,7 +22,7 @@ from setuptools import setup, Extension
+ extensions = [
+ Extension("_cracklib",
+ ["@srcdir@/_cracklib.c"],
+-include_dirs = ["@top_srcdir@/lib"],
++include_dirs = ["@top_builddir@", "@top_srcdir@/lib"],
+ libraries = ["crack"],
+ library_dirs = ["@top_builddir@/lib/.libs"]),
+ ]
+



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2023-03-16 Thread Sam James
commit: b7562888f8a22755fa367afe52a7edd9ac14e32a
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 16 21:59:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 16 22:01:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7562888

sys-libs/cracklib: add 2.9.10

Closes: https://bugs.gentoo.org/897312
Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/Manifest   |   1 +
 sys-libs/cracklib/cracklib-2.9.10.ebuild | 123 +++
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index 1e2de84b4772..1d66101e9c18 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1 +1,2 @@
+DIST cracklib-2.9.10.tar.bz2 620648 BLAKE2B 
f4ebf4aea6da81424a8b9fae9c204260f6020937b6b2b02cec13527f812e1751522a47a4432ff0a2a233eeb88fe0c8b7e7fd371f611a40bf2d34a10ddfd4fe83
 SHA512 
0c3856833f4c58fc1ebc63cc08b189c55e8d5722ef8cdc1cad5f717cef137a83648657e005e2d0367006b27aafa1bb63e36e7998918937733816635880c85f74
 DIST cracklib-2.9.8.tar.bz2 613017 BLAKE2B 
d9a5d922d6ac777b08cec9c427c0cde48666cdf67bf4136eb5866a0111b101c795dceb8e206e90bff31d1c8d26505bc1a950e8ea079562d8afd601641a7caf0c
 SHA512 
bba1b82067156f44095b282c70c06a05e58572cde7ad2430dd24c4b42ae98be86708ea86ba8b7104aa5887e16ac90d7cf3ae613b84ab9c0f7602307d78b75371

diff --git a/sys-libs/cracklib/cracklib-2.9.10.ebuild 
b/sys-libs/cracklib/cracklib-2.9.10.ebuild
new file mode 100644
index ..71fddeb64779
--- /dev/null
+++ b/sys-libs/cracklib/cracklib-2.9.10.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Note: ideally bump with sys-apps/cracklib-words
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python3_{9..11} )
+inherit distutils-r1 libtool multilib-minimal usr-ldscript
+
+MY_P=${P/_}
+DESCRIPTION="Password Checking Library"
+HOMEPAGE="https://github.com/cracklib/cracklib/;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="nls python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+   ${RDEPEND}
+   nls? ( virtual/libintl )
+"
+BDEPEND="
+   nls? ( sys-devel/gettext )
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
+"
+
+do_python() {
+   multilib_is_native_abi || return 0
+   use python || return 0
+
+   pushd python > /dev/null || die
+   distutils-r1_src_${EBUILD_PHASE}
+   popd > /dev/null || die
+}
+
+pkg_setup() {
+   # Workaround bug #195017
+   if has unmerge-orphans ${FEATURES} && has_version 
"<${CATEGORY}/${PN}-2.8.10" ; then
+   eerror "Upgrade path is broken with FEATURES=unmerge-orphans"
+   eerror "Please run: FEATURES=-unmerge-orphans emerge cracklib"
+   die "Please run: FEATURES=-unmerge-orphans emerge cracklib"
+   fi
+}
+
+src_prepare() {
+   default
+
+   # bug ##269003
+   elibtoolize
+
+   do_python
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   # use /usr/lib so that the dictionary is shared between ABIs
+   --with-default-dict="/usr/lib/cracklib_dict"
+   --without-python
+   $(use_enable nls)
+   $(use_enable static-libs static)
+   )
+
+   export ac_cv_header_zlib_h=$(usex zlib)
+   export ac_cv_search_gzopen=$(usex zlib -lz no)
+
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+   default
+
+   do_python
+}
+
+multilib_src_test() {
+   default
+
+   # Make sure we load the freshly built library
+   LD_LIBRARY_PATH="${BUILD_DIR}/lib/.libs:${LD_LIBRARY_PATH}" do_python
+}
+
+python_test() {
+   ${EPYTHON} -m unittest test_cracklib || die "Tests fail with ${EPYTHON}"
+}
+
+multilib_src_install() {
+   default
+
+   # Move shared libs to /
+   gen_usr_ldscript -a crack
+
+   do_python
+}
+
+multilib_src_install_all() {
+   einstalldocs
+
+   find "${ED}" -type f -name "*.la" -delete || die
+   rm -r "${ED}"/usr/share/cracklib || die
+
+   insinto /usr/share/dict
+   doins dicts/cracklib-small
+}
+
+pkg_postinst() {
+   if [[ -z ${ROOT} ]] ; then
+   ebegin "Regenerating cracklib dictionary"
+   create-cracklib-dict "${EPREFIX}"/usr/share/dict/* > /dev/null
+   eend $?
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2022-12-26 Thread Sam James
commit: f6e7dffc21c78e0b01371394958b2bb4667c0aa2
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 26 08:30:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 26 08:33:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6e7dffc

sys-libs/cracklib: drop 2.9.7

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/Manifest  |   1 -
 sys-libs/cracklib/cracklib-2.9.7.ebuild | 108 
 2 files changed, 109 deletions(-)

diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index 62a492d5dc60..1e2de84b4772 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1,2 +1 @@
-DIST cracklib-2.9.7.tar.bz2 603630 BLAKE2B 
81a45b2fb9f34da84d4fb864e1a9f67a4b22c246f1e4db1c599a555f79d560a04d95afb01a89cd3a2e0936f0e8fc51ff5ada26098c24d7af0777a94f51b82bbd
 SHA512 
f6bf65ac092ba46ff78ddbc115692260fb76dc71219cd679d2ea935ebfb9e709fbb30259a7406743ed00dbdc415335b3ac9d9fcba1d204ea36d5eb96bf1333a2
 DIST cracklib-2.9.8.tar.bz2 613017 BLAKE2B 
d9a5d922d6ac777b08cec9c427c0cde48666cdf67bf4136eb5866a0111b101c795dceb8e206e90bff31d1c8d26505bc1a950e8ea079562d8afd601641a7caf0c
 SHA512 
bba1b82067156f44095b282c70c06a05e58572cde7ad2430dd24c4b42ae98be86708ea86ba8b7104aa5887e16ac90d7cf3ae613b84ab9c0f7602307d78b75371

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
deleted file mode 100644
index 4acc9d791b07..
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Note: ideally bump with sys-apps/cracklib-words
-
-PYTHON_COMPAT=( python3_{7..10} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 libtool multilib-minimal usr-ldscript
-
-MY_P=${P/_}
-DESCRIPTION="Password Checking Library"
-HOMEPAGE="https://github.com/cracklib/cracklib/;
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="nls python static-libs zlib"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
-   nls? ( virtual/libintl )
-   python? (
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   )"
-BDEPEND="nls? ( sys-devel/gettext )"
-
-S="${WORKDIR}/${MY_P}"
-
-do_python() {
-   multilib_is_native_abi || return 0
-   use python || return 0
-   pushd python > /dev/null || die
-   distutils-r1_src_${EBUILD_PHASE}
-   popd > /dev/null
-}
-
-pkg_setup() {
-   # workaround #195017
-   if has unmerge-orphans ${FEATURES} && has_version 
"<${CATEGORY}/${PN}-2.8.10" ; then
-   eerror "Upgrade path is broken with FEATURES=unmerge-orphans"
-   eerror "Please run: FEATURES=-unmerge-orphans emerge cracklib"
-   die "Please run: FEATURES=-unmerge-orphans emerge cracklib"
-   fi
-}
-
-src_prepare() {
-   eapply_user
-   elibtoolize #269003
-   do_python
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   # use /usr/lib so that the dictionary is shared between ABIs
-   --with-default-dict='/usr/lib/cracklib_dict'
-   --without-python
-   $(use_enable nls)
-   $(use_enable static-libs static)
-   )
-   export ac_cv_header_zlib_h=$(usex zlib)
-   export ac_cv_search_gzopen=$(usex zlib -lz no)
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_compile() {
-   default
-   do_python
-}
-
-multilib_src_test() {
-   # Make sure we load the freshly built library
-   LD_LIBRARY_PATH="${BUILD_DIR}/lib/.libs" do_python
-}
-
-python_test() {
-   ${EPYTHON} -m unittest test_cracklib || die "Tests fail with ${EPYTHON}"
-}
-
-multilib_src_install() {
-   default
-   # move shared libs to /
-   gen_usr_ldscript -a crack
-
-   do_python
-}
-
-multilib_src_install_all() {
-   einstalldocs
-   find "${ED}" -type f -name "*.la" -delete || die
-   rm -r "${ED}"/usr/share/cracklib || die
-
-   insinto /usr/share/dict
-   doins dicts/cracklib-small
-}
-
-pkg_postinst() {
-   if [[ -z ${ROOT} ]] ; then
-   ebegin "Regenerating cracklib dictionary"
-   create-cracklib-dict "${EPREFIX}"/usr/share/dict/* > /dev/null
-   eend $?
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2022-11-17 Thread Sam James
commit: 411a780de113bb20529502baabed8e909d8e76ea
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 18 03:13:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 18 03:13:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=411a780d

sys-libs/cracklib: Stabilize 2.9.8 x86, #881715

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.8.ebuild 
b/sys-libs/cracklib/cracklib-2.9.8.ebuild
index c2bd8a4819c6..8ed503d8ccbd 100644
--- a/sys-libs/cracklib/cracklib-2.9.8.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.8.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2022-11-17 Thread Sam James
commit: 3b1f2e2182d688a2786f4508f176fff9ad0dbdbf
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 18 03:13:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 18 03:13:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b1f2e21

sys-libs/cracklib: Stabilize 2.9.8 amd64, #881715

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.8.ebuild 
b/sys-libs/cracklib/cracklib-2.9.8.ebuild
index dc227042d2e6..b1954de85b03 100644
--- a/sys-libs/cracklib/cracklib-2.9.8.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.8.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2022-11-17 Thread Sam James
commit: bfb09bb6cc1a747e7137825f86b52cc6fa0ac2c6
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 18 03:13:34 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 18 03:13:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfb09bb6

sys-libs/cracklib: Stabilize 2.9.8 hppa, #881715

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.8.ebuild 
b/sys-libs/cracklib/cracklib-2.9.8.ebuild
index 8ed503d8ccbd..10f5e8282f8a 100644
--- a/sys-libs/cracklib/cracklib-2.9.8.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.8.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2022-11-17 Thread Sam James
commit: 7785b1dda782b9ed91f5caac8bb21d22e501204a
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 18 03:13:25 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 18 03:13:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7785b1dd

sys-libs/cracklib: Stabilize 2.9.8 arm64, #881715

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.8.ebuild 
b/sys-libs/cracklib/cracklib-2.9.8.ebuild
index 4a3652ad0143..e4dc1ff2dd8e 100644
--- a/sys-libs/cracklib/cracklib-2.9.8.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.8.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2022-11-17 Thread Sam James
commit: 041e6596e5423ad5c279c299d451af88e3662751
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 18 03:13:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 18 03:13:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=041e6596

sys-libs/cracklib: Stabilize 2.9.8 arm, #881715

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.8.ebuild 
b/sys-libs/cracklib/cracklib-2.9.8.ebuild
index e4dc1ff2dd8e..dc227042d2e6 100644
--- a/sys-libs/cracklib/cracklib-2.9.8.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.8.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2022-11-17 Thread Sam James
commit: 99a8d3135f7405bd1664b00627dd4d8c98a2029c
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 18 03:13:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 18 03:13:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a8d313

sys-libs/cracklib: Stabilize 2.9.8 ppc64, #881715

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.8.ebuild 
b/sys-libs/cracklib/cracklib-2.9.8.ebuild
index b1954de85b03..c2bd8a4819c6 100644
--- a/sys-libs/cracklib/cracklib-2.9.8.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.8.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2022-11-17 Thread Sam James
commit: 104fe83eebc8339bcc8d86dbb341da4a4315b218
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 18 03:13:21 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 18 03:13:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=104fe83e

sys-libs/cracklib: Stabilize 2.9.8 sparc, #881715

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.8.ebuild 
b/sys-libs/cracklib/cracklib-2.9.8.ebuild
index 4ce5daed7e30..59af96e1b7eb 100644
--- a/sys-libs/cracklib/cracklib-2.9.8.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.8.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2022-11-17 Thread Sam James
commit: 74d05bb674a8540ef65c8529252b9a0f7bc311db
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 18 03:13:23 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 18 03:13:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74d05bb6

sys-libs/cracklib: Stabilize 2.9.8 ppc, #881715

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.8.ebuild 
b/sys-libs/cracklib/cracklib-2.9.8.ebuild
index 59af96e1b7eb..4a3652ad0143 100644
--- a/sys-libs/cracklib/cracklib-2.9.8.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.8.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2022-09-04 Thread Sam James
commit: 20e3b7a676646264206dd5502fed8974144495f0
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep  5 01:04:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep  5 01:04:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20e3b7a6

sys-libs/cracklib: add 2.9.8

Signed-off-by: Sam James  gentoo.org>

 sys-libs/cracklib/Manifest  |   1 +
 sys-libs/cracklib/cracklib-2.9.8.ebuild | 123 
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index a50754412673..62a492d5dc60 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1 +1,2 @@
 DIST cracklib-2.9.7.tar.bz2 603630 BLAKE2B 
81a45b2fb9f34da84d4fb864e1a9f67a4b22c246f1e4db1c599a555f79d560a04d95afb01a89cd3a2e0936f0e8fc51ff5ada26098c24d7af0777a94f51b82bbd
 SHA512 
f6bf65ac092ba46ff78ddbc115692260fb76dc71219cd679d2ea935ebfb9e709fbb30259a7406743ed00dbdc415335b3ac9d9fcba1d204ea36d5eb96bf1333a2
+DIST cracklib-2.9.8.tar.bz2 613017 BLAKE2B 
d9a5d922d6ac777b08cec9c427c0cde48666cdf67bf4136eb5866a0111b101c795dceb8e206e90bff31d1c8d26505bc1a950e8ea079562d8afd601641a7caf0c
 SHA512 
bba1b82067156f44095b282c70c06a05e58572cde7ad2430dd24c4b42ae98be86708ea86ba8b7104aa5887e16ac90d7cf3ae613b84ab9c0f7602307d78b75371

diff --git a/sys-libs/cracklib/cracklib-2.9.8.ebuild 
b/sys-libs/cracklib/cracklib-2.9.8.ebuild
new file mode 100644
index ..4ce5daed7e30
--- /dev/null
+++ b/sys-libs/cracklib/cracklib-2.9.8.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Note: ideally bump with sys-apps/cracklib-words
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1 libtool multilib-minimal usr-ldscript
+
+MY_P=${P/_}
+DESCRIPTION="Password Checking Library"
+HOMEPAGE="https://github.com/cracklib/cracklib/;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="nls python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+   ${RDEPEND}
+   nls? ( virtual/libintl )
+"
+BDEPEND="
+   nls? ( sys-devel/gettext )
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
+"
+
+do_python() {
+   multilib_is_native_abi || return 0
+   use python || return 0
+
+   pushd python > /dev/null || die
+   distutils-r1_src_${EBUILD_PHASE}
+   popd > /dev/null || die
+}
+
+pkg_setup() {
+   # Workaround bug #195017
+   if has unmerge-orphans ${FEATURES} && has_version 
"<${CATEGORY}/${PN}-2.8.10" ; then
+   eerror "Upgrade path is broken with FEATURES=unmerge-orphans"
+   eerror "Please run: FEATURES=-unmerge-orphans emerge cracklib"
+   die "Please run: FEATURES=-unmerge-orphans emerge cracklib"
+   fi
+}
+
+src_prepare() {
+   default
+
+   # bug ##269003
+   elibtoolize
+
+   do_python
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   # use /usr/lib so that the dictionary is shared between ABIs
+   --with-default-dict="/usr/lib/cracklib_dict"
+   --without-python
+   $(use_enable nls)
+   $(use_enable static-libs static)
+   )
+
+   export ac_cv_header_zlib_h=$(usex zlib)
+   export ac_cv_search_gzopen=$(usex zlib -lz no)
+
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+   default
+
+   do_python
+}
+
+multilib_src_test() {
+   default
+
+   # Make sure we load the freshly built library
+   LD_LIBRARY_PATH="${BUILD_DIR}/lib/.libs:${LD_LIBRARY_PATH}" do_python
+}
+
+python_test() {
+   ${EPYTHON} -m unittest test_cracklib || die "Tests fail with ${EPYTHON}"
+}
+
+multilib_src_install() {
+   default
+
+   # Move shared libs to /
+   gen_usr_ldscript -a crack
+
+   do_python
+}
+
+multilib_src_install_all() {
+   einstalldocs
+
+   find "${ED}" -type f -name "*.la" -delete || die
+   rm -r "${ED}"/usr/share/cracklib || die
+
+   insinto /usr/share/dict
+   doins dicts/cracklib-small
+}
+
+pkg_postinst() {
+   if [[ -z ${ROOT} ]] ; then
+   ebegin "Regenerating cracklib dictionary"
+   create-cracklib-dict "${EPREFIX}"/usr/share/dict/* > /dev/null
+   eend $?
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2022-05-04 Thread WANG Xuerui
commit: 3b145a871bce517626068af3bf89fcefcb3e34d4
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May  5 02:04:13 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May  5 02:38:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b145a87

sys-libs/cracklib: keyword 2.9.7 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index b2cada86052b..4acc9d791b07 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2021-05-29 Thread David Seifert
commit: 7751caa6d65d848ad889de0efe58b31ba3ca7696
Author: Sam James  gentoo  org>
AuthorDate: Sat May 29 19:03:03 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May 29 19:03:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7751caa6

sys-libs/cracklib: add missing NLS dependencies

* Calls gettext at build time
* Links against libintl

Signed-off-by: Sam James  gentoo.org>
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index fa489b104de..b2cada86052 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -24,9 +24,11 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RDEPEND="python? ( ${PYTHON_DEPS} )
zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}
+   nls? ( virtual/libintl )
python? (
dev-python/setuptools[${PYTHON_USEDEP}]
)"
+BDEPEND="nls? ( sys-devel/gettext )"
 
 S="${WORKDIR}/${MY_P}"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2021-05-23 Thread Michał Górny
commit: 00680f1cbb9a59247236beba9dcb3a1acc8ad3de
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 23 13:53:32 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 23 13:57:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00680f1c

sys-libs/cracklib: Enable py3.9 & py3.10

Signed-off-by: Michał Górny  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 84d00baa24d..fa489b104de 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 # Note: ideally bump with sys-apps/cracklib-words
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..10} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 libtool multilib-minimal usr-ldscript



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2021-05-09 Thread David Seifert
commit: b367ae5457d8ef067b6e5e141b7005e7796060f4
Author: Sam James  gentoo  org>
AuthorDate: Sun May  9 12:52:55 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun May  9 12:52:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b367ae54

sys-libs/cracklib: add note to bump with sys-apps/cracklib-words

Signed-off-by: Sam James  gentoo.org>
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 65506cf4898..84d00baa24d 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+# Note: ideally bump with sys-apps/cracklib-words
+
 PYTHON_COMPAT=( python3_{7,8} )
 DISTUTILS_OPTIONAL=1
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2021-01-06 Thread Fabian Groffen
commit: c9858f932a00b1d3c4bbdb26f2e74f34d46c9fbd
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 15:33:44 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 15:33:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9858f93

sys-libs/cracklib: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 7af49f87023..db3b2040d62 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.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
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/, sys-libs/cracklib/files/

2020-12-31 Thread Michał Górny
commit: 94556668d117a3c7d2e140da3d6e09f7af8c652d
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  1 01:59:19 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan  1 01:59:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94556668

sys-libs/cracklib: Remove old (py3.6)

Signed-off-by: Michał Górny  gentoo.org>

 sys-libs/cracklib/Manifest |   1 -
 sys-libs/cracklib/cracklib-2.9.6-r2.ebuild | 112 -
 .../files/cracklib-2.9.6-CVE-2016-6318.patch   | 108 
 ...acklib-2.9.6-fix-long-word-bufferoverflow.patch |  43 
 4 files changed, 264 deletions(-)

diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index 18189ac7299..a5075441267 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1,2 +1 @@
-DIST cracklib-2.9.6.tar.gz 642402 BLAKE2B 
4d7a0d12d1e7101c82d03f76e073407481078747c283fe3251f947542017fff03fbc5e98505c6a7a8987a2bbcea99dab558c15b1eb8fd16755859ce5a4440ed2
 SHA512 
2b09672e5b412d670e7ed911ebf0c0023fe2901ea05c9c02eefb7a58a13cddbc27a65d75bb20be9f8cebf4c90a9a56dfe1a3b656dff62b1d6048f5376e671786
 DIST cracklib-2.9.7.tar.bz2 603630 BLAKE2B 
81a45b2fb9f34da84d4fb864e1a9f67a4b22c246f1e4db1c599a555f79d560a04d95afb01a89cd3a2e0936f0e8fc51ff5ada26098c24d7af0777a94f51b82bbd
 SHA512 
f6bf65ac092ba46ff78ddbc115692260fb76dc71219cd679d2ea935ebfb9e709fbb30259a7406743ed00dbdc415335b3ac9d9fcba1d204ea36d5eb96bf1333a2

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
deleted file mode 100644
index d1882f16518..000
--- a/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 libtool multilib-minimal toolchain-funcs usr-ldscript
-
-MY_P=${P/_}
-DESCRIPTION="Password Checking Library"
-HOMEPAGE="https://github.com/cracklib/cracklib/;
-# source tarballs on GitHub lack pre-generated configure script.
-#SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${P}.tar.gz;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="nls python static-libs zlib"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
-   python? (
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-   "${FILESDIR}"/cracklib-2.9.6-CVE-2016-6318.patch
-   "${FILESDIR}"/cracklib-2.9.6-fix-long-word-bufferoverflow.patch
-)
-
-do_python() {
-   multilib_is_native_abi || return 0
-   use python || return 0
-   pushd python > /dev/null || die
-   distutils-r1_src_${EBUILD_PHASE}
-   popd > /dev/null
-}
-
-pkg_setup() {
-   # workaround #195017
-   if has unmerge-orphans ${FEATURES} && has_version 
"<${CATEGORY}/${PN}-2.8.10" ; then
-   eerror "Upgrade path is broken with FEATURES=unmerge-orphans"
-   eerror "Please run: FEATURES=-unmerge-orphans emerge cracklib"
-   die "Please run: FEATURES=-unmerge-orphans emerge cracklib"
-   fi
-}
-
-src_prepare() {
-   eapply -p2 "${PATCHES[@]}"
-   eapply_user
-   elibtoolize #269003
-   do_python
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   # use /usr/lib so that the dictionary is shared between ABIs
-   --with-default-dict='/usr/lib/cracklib_dict'
-   --without-python
-   $(use_enable nls)
-   $(use_enable static-libs static)
-   )
-   export ac_cv_header_zlib_h=$(usex zlib)
-   export ac_cv_search_gzopen=$(usex zlib -lz no)
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_compile() {
-   default
-   do_python
-}
-
-multilib_src_test() {
-   # Make sure we load the freshly built library
-   LD_LIBRARY_PATH="${BUILD_DIR}/lib/.libs" do_python
-}
-
-python_test() {
-   ${EPYTHON} -m unittest test_cracklib || die "Tests fail with ${EPYTHON}"
-}
-
-multilib_src_install() {
-   default
-   # move shared libs to /
-   gen_usr_ldscript -a crack
-
-   do_python
-}
-
-multilib_src_install_all() {
-   einstalldocs
-   find "${ED}" -name "*.la" -delete || die
-   rm -r "${ED%/}"/usr/share/cracklib || die
-
-   insinto /usr/share/dict
-   doins dicts/cracklib-small
-}
-
-pkg_postinst() {
-   if [[ ${ROOT} == "/" ]] ; then
-   ebegin "Regenerating cracklib dictionary"
-   create-cracklib-dict "${EPREFIX}"/usr/share/dict/* > /dev/null
- 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2020-12-28 Thread Mike Gilbert
commit: fca20ac6c22fd398525c182d6d8c434c63065690
Author: David Michael  gmail  com>
AuthorDate: Sat Dec 26 03:08:45 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Dec 28 17:27:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fca20ac6

sys-libs/cracklib: EAPI 7

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Michael  gmail.com>
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index c1d56d566b2..7af49f87023 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -1,12 +1,12 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
 DISTUTILS_OPTIONAL=1
 
-inherit distutils-r1 libtool multilib-minimal toolchain-funcs usr-ldscript
+inherit distutils-r1 libtool multilib-minimal usr-ldscript
 
 MY_P=${P/_}
 DESCRIPTION="Password Checking Library"
@@ -88,15 +88,15 @@ multilib_src_install() {
 
 multilib_src_install_all() {
einstalldocs
-   find "${ED}" -name "*.la" -delete || die
-   rm -r "${ED%/}"/usr/share/cracklib || die
+   find "${ED}" -type f -name "*.la" -delete || die
+   rm -r "${ED}"/usr/share/cracklib || die
 
insinto /usr/share/dict
doins dicts/cracklib-small
 }
 
 pkg_postinst() {
-   if [[ ${ROOT} == "/" ]] ; then
+   if [[ -z ${ROOT} ]] ; then
ebegin "Regenerating cracklib dictionary"
create-cracklib-dict "${EPREFIX}"/usr/share/dict/* > /dev/null
eend $?



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2020-12-27 Thread Fabian Groffen
commit: fa7cb8cbc08827c99b4d1baf0c15839eb38e5bb2
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Dec 27 18:19:28 2020 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Dec 27 18:19:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa7cb8cb

sys-libs/cracklib: drop ppc-aix m68k-mint

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.6-r2.ebuild | 2 +-
 sys-libs/cracklib/cracklib-2.9.7.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
index 66b54d2dd66..d1882f16518 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 320276fcb56..c1d56d566b2 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2020-05-07 Thread Michał Górny
commit: 88c5418f3ebfa816f97b657a7e6fb150e5dec885
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May  7 15:20:35 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May  7 17:58:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88c5418f

sys-libs/cracklib: Remove py2.7

Signed-off-by: Michał Górny  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.6-r2.ebuild | 2 +-
 sys-libs/cracklib/cracklib-2.9.7.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
index 4c9accab75f..66b54d2dd66 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 libtool multilib-minimal toolchain-funcs usr-ldscript

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 9e8027f90c3..320276fcb56 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_{6,7,8}} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 libtool multilib-minimal toolchain-funcs usr-ldscript



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-08 Thread Matt Turner
commit: 1651548e4d92c02ee03701d83f3454eef71e855d
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Dec  9 03:00:28 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Dec  9 03:04:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1651548e

sys-libs/cracklib-2.9.7: alpha stable, bug 701566

Signed-off-by: Matt Turner  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index d83567f5401..5638ea82ea0 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-03 Thread Agostino Sarubbo
commit: 2da92051c7f862ee18df3e07dd0b63f907262690
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec  3 10:20:57 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec  3 10:20:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2da92051

sys-libs/cracklib: ia64 stable wrt bug #701566

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index be41c465dab..d83567f5401 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 ~riscv s390 
sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-02 Thread Mikle Kolyada
commit: 0ba2e050daab809974fb10a3093dec7a5edbb529
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Dec  2 09:56:07 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Dec  2 09:56:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba2e050

sys-libs/cracklib: sh stable wrt bug #701566

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="sh"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 3aa8ef065aa..e660d3a83e6 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 ~riscv ~s390 
~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 ~riscv ~s390 
sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-02 Thread Mikle Kolyada
commit: 5e167f871667eb0fd997e516391f4d4d7eb3771f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Dec  2 09:55:38 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Dec  2 09:55:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e167f87

sys-libs/cracklib: arm stable wrt bug #701566

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index a02d521a1cd..c5295741c67 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-02 Thread Mikle Kolyada
commit: bd808bab683c2f96e5081766285751f1ae36f0f8
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Dec  2 09:56:22 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Dec  2 09:56:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd808bab

sys-libs/cracklib: s390 stable wrt bug #701566

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="s390"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index e660d3a83e6..be41c465dab 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 ~riscv ~s390 
sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 ~riscv s390 
sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-02 Thread Mikle Kolyada
commit: e6a706a34f4ca0f7b849d834a7236072533bf372
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Dec  2 09:55:53 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Dec  2 09:55:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6a706a3

sys-libs/cracklib: m68k stable wrt bug #701566

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="m68k"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index c5295741c67..3aa8ef065aa 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 ~riscv ~s390 
~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-01 Thread Aaron Bauman
commit: be05427e132e7cb925ba1f2b7d371f23d710f225
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Dec  1 18:54:03 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Dec  2 00:19:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be05427e

sys-libs/cracklib: arm64 stable (bug #701566)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.80, Repoman-2.3.19

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 7032956f3e8..a02d521a1cd 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-01 Thread Thomas Deutschmann
commit: dfa8420a6721bac30747a7b6e5a2189e86260c34
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Dec  1 15:32:16 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Dec  1 15:32:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfa8420a

sys-libs/cracklib: x86 stable (bug #701566)

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 6ac374da815..7032956f3e8 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-01 Thread Agostino Sarubbo
commit: 5d24a851de697b963b924b410149dde08cdf34d0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec  1 14:31:22 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec  1 14:31:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d24a851

sys-libs/cracklib: amd64 stable wrt bug #701566

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 3b00f64608b..6ac374da815 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-01 Thread Sergei Trofimovich
commit: f46c40e6fc3199277379f8a6885f5f1f3dded16e
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec  1 14:01:37 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec  1 14:01:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f46c40e6

sys-libs/cracklib: stable 2.9.7 for ppc64, bug #701566

Package-Manager: Portage-2.3.80, Repoman-2.3.19
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index af3237f895c..3b00f64608b 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-01 Thread Sergei Trofimovich
commit: 382c9d43cf14ebcbd5d6e113f7cd4396b7f63012
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec  1 13:56:41 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec  1 13:56:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=382c9d43

sys-libs/cracklib: stable 2.9.7 for ppc, bug #701566

Package-Manager: Portage-2.3.80, Repoman-2.3.19
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 5a107834901..af3237f895c 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-01 Thread Sergei Trofimovich
commit: 22db7fc1ad0d58382ac819eeec977673839c5fa7
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec  1 11:42:19 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec  1 11:42:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22db7fc1

sys-libs/cracklib: stable 2.9.7 for hppa, bug #701566

Package-Manager: Portage-2.3.80, Repoman-2.3.19
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 83410abbe92..5a107834901 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-12-01 Thread Sergei Trofimovich
commit: 5f790fadefd87315d766e7926911ecf112dbcce1
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Dec  1 11:07:59 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec  1 11:35:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f790fad

sys-libs/cracklib: stable 2.9.7 for sparc, bug #701566

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 8f26158573e..83410abbe92 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-11-30 Thread Thomas Deutschmann
commit: 80ca6a7673eb880effda57e878fe5cb4f8ad5018
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Nov 30 15:04:37 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Nov 30 15:04:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80ca6a76

sys-libs/cracklib: add Python 3.8 support

Fixes: https://bugs.gentoo.org/701560
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 529c4a5e827..8f26158573e 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 libtool multilib-minimal toolchain-funcs usr-ldscript



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-05-04 Thread Andreas K. Hüttel
commit: 1af971a84940bbc1d94ba31afd430cb0239935b3
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat May  4 22:18:35 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat May  4 22:19:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af971a8

sys-libs/cracklib: Drop ~riscv in 2.9.6, has no pyhton-37 support

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
index fbc71a26235..6e376b8e318 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh 
sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-05-04 Thread Mikle Kolyada
commit: eeb6f0eb5f7333036a2d09c5b7a78ab7487956d9
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May  4 11:16:02 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May  4 11:16:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb6f0eb

sys-libs/cracklib: Add ~riscv keyword

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 sys-libs/cracklib/cracklib-2.9.6-r2.ebuild | 2 +-
 sys-libs/cracklib/cracklib-2.9.7.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
index 6e376b8e318..fbc71a26235 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh 
sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
index 391b1994a7b..7df94016ace 100644
--- a/sys-libs/cracklib/cracklib-2.9.7.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~m68k-mint"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~m68k-mint"
 IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-03-05 Thread Lars Wendler
commit: c90c91387e66c5f7a105dbf571994c467dbe5da3
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Mar  5 09:14:08 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Mar  5 09:15:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c90c9138

sys-libs/cracklib: Bump to version 2.9.7

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/cracklib/Manifest  |   1 +
 sys-libs/cracklib/cracklib-2.9.7.ebuild | 104 
 2 files changed, 105 insertions(+)

diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index 3efe995f608..18189ac7299 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1 +1,2 @@
 DIST cracklib-2.9.6.tar.gz 642402 BLAKE2B 
4d7a0d12d1e7101c82d03f76e073407481078747c283fe3251f947542017fff03fbc5e98505c6a7a8987a2bbcea99dab558c15b1eb8fd16755859ce5a4440ed2
 SHA512 
2b09672e5b412d670e7ed911ebf0c0023fe2901ea05c9c02eefb7a58a13cddbc27a65d75bb20be9f8cebf4c90a9a56dfe1a3b656dff62b1d6048f5376e671786
+DIST cracklib-2.9.7.tar.bz2 603630 BLAKE2B 
81a45b2fb9f34da84d4fb864e1a9f67a4b22c246f1e4db1c599a555f79d560a04d95afb01a89cd3a2e0936f0e8fc51ff5ada26098c24d7af0777a94f51b82bbd
 SHA512 
f6bf65ac092ba46ff78ddbc115692260fb76dc71219cd679d2ea935ebfb9e709fbb30259a7406743ed00dbdc415335b3ac9d9fcba1d204ea36d5eb96bf1333a2

diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild 
b/sys-libs/cracklib/cracklib-2.9.7.ebuild
new file mode 100644
index 000..d436f1694d5
--- /dev/null
+++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 libtool multilib-minimal toolchain-funcs
+
+MY_P=${P/_}
+DESCRIPTION="Password Checking Library"
+HOMEPAGE="https://github.com/cracklib/cracklib/;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~m68k-mint"
+IUSE="nls python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )"
+
+S="${WORKDIR}/${MY_P}"
+
+do_python() {
+   multilib_is_native_abi || return 0
+   use python || return 0
+   pushd python > /dev/null || die
+   distutils-r1_src_${EBUILD_PHASE}
+   popd > /dev/null
+}
+
+pkg_setup() {
+   # workaround #195017
+   if has unmerge-orphans ${FEATURES} && has_version 
"<${CATEGORY}/${PN}-2.8.10" ; then
+   eerror "Upgrade path is broken with FEATURES=unmerge-orphans"
+   eerror "Please run: FEATURES=-unmerge-orphans emerge cracklib"
+   die "Please run: FEATURES=-unmerge-orphans emerge cracklib"
+   fi
+}
+
+src_prepare() {
+   eapply_user
+   elibtoolize #269003
+   do_python
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   # use /usr/lib so that the dictionary is shared between ABIs
+   --with-default-dict='/usr/lib/cracklib_dict'
+   --without-python
+   $(use_enable nls)
+   $(use_enable static-libs static)
+   )
+   export ac_cv_header_zlib_h=$(usex zlib)
+   export ac_cv_search_gzopen=$(usex zlib -lz no)
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+   default
+   do_python
+}
+
+multilib_src_test() {
+   # Make sure we load the freshly built library
+   LD_LIBRARY_PATH="${BUILD_DIR}/lib/.libs" do_python
+}
+
+python_test() {
+   ${EPYTHON} -m unittest test_cracklib || die "Tests fail with ${EPYTHON}"
+}
+
+multilib_src_install() {
+   default
+   # move shared libs to /
+   gen_usr_ldscript -a crack
+
+   do_python
+}
+
+multilib_src_install_all() {
+   einstalldocs
+   find "${ED}" -name "*.la" -delete || die
+   rm -r "${ED%/}"/usr/share/cracklib || die
+
+   insinto /usr/share/dict
+   doins dicts/cracklib-small
+}
+
+pkg_postinst() {
+   if [[ ${ROOT} == "/" ]] ; then
+   ebegin "Regenerating cracklib dictionary"
+   create-cracklib-dict "${EPREFIX}"/usr/share/dict/* > /dev/null
+   eend $?
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2019-02-23 Thread Lars Wendler
commit: 984a584347a9fac32dee851598c699f2c0bfc0b2
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Feb 23 11:07:08 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Feb 23 11:07:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=984a5843

sys-libs/cracklib: Revbump to EAPI-6. Removed old.

- Added source tarball with pre-generated configure script to my
  dev space and put that into SRC_URI to avoid eautoreconf call
- Added sub-slot dep for sys-libs/zlib

Committed straight to stable.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 ...ib-2.9.6-r1.ebuild => cracklib-2.9.6-r2.ebuild} | 45 +-
 1 file changed, 26 insertions(+), 19 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
similarity index 68%
rename from sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
rename to sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
index 101aef42295..34d81481f3b 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r2.ebuild
@@ -1,17 +1,19 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 DISTUTILS_OPTIONAL=1
 
-inherit eutils distutils-r1 libtool multilib-minimal toolchain-funcs
+inherit distutils-r1 libtool multilib-minimal toolchain-funcs
 
 MY_P=${P/_}
 DESCRIPTION="Password Checking Library"
 HOMEPAGE="https://github.com/cracklib/cracklib/;
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
+# source tarballs on GitHub lack pre-generated configure script.
+#SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
@@ -20,13 +22,18 @@ IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}
python? (
dev-python/setuptools[${PYTHON_USEDEP}]
)"
 
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${FILESDIR}"/cracklib-2.9.6-CVE-2016-6318.patch
+   "${FILESDIR}"/cracklib-2.9.6-fix-long-word-bufferoverflow.patch
+)
 
 do_python() {
multilib_is_native_abi || return 0
@@ -46,23 +53,23 @@ pkg_setup() {
 }
 
 src_prepare() {
-   epatch "${FILESDIR}"/cracklib-2.9.6-CVE-2016-6318.patch
-   epatch "${FILESDIR}"/cracklib-2.9.6-fix-long-word-bufferoverflow.patch
-
+   eapply -p2 "${PATCHES[@]}"
+   eapply_user
elibtoolize #269003
do_python
 }
 
 multilib_src_configure() {
+   local myeconfargs=(
+   # use /usr/lib so that the dictionary is shared between ABIs
+   --with-default-dict='/usr/lib/cracklib_dict'
+   --without-python
+   $(use_enable nls)
+   $(use_enable static-libs static)
+   )
export ac_cv_header_zlib_h=$(usex zlib)
export ac_cv_search_gzopen=$(usex zlib -lz no)
-   # use /usr/lib so that the dictionary is shared between ABIs
-   ECONF_SOURCE=${S} \
-   econf \
-   --with-default-dict='/usr/lib/cracklib_dict' \
-   --without-python \
-   $(use_enable nls) \
-   $(use_enable static-libs static)
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }
 
 multilib_src_compile() {
@@ -89,11 +96,11 @@ multilib_src_install() {
 
 multilib_src_install_all() {
einstalldocs
-   prune_libtool_files
-   rm -r "${ED}"/usr/share/cracklib
+   find "${ED}" -name "*.la" -delete || die
+   rm -r "${ED%/}"/usr/share/cracklib || die
 
insinto /usr/share/dict
-   doins dicts/cracklib-small || die
+   doins dicts/cracklib-small
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2017-05-29 Thread Mike Gilbert
commit: acd505742fe4dbbf7609940e0cee0e25c364b74b
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon May 29 18:44:21 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon May 29 18:45:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acd50574

sys-libs/cracklib: fix test phase

nosetests was used for no reason. Replace with unittest, which requires
no external dependencies.

The test code was loading libcrack.so from the system libdir rather
than the freshly build library.

Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index b4d9cfdb5a9..101aef42295 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
-IUSE="nls python static-libs test zlib"
+IUSE="nls python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )
@@ -24,7 +24,6 @@ RDEPEND="python? ( ${PYTHON_DEPS} )
 DEPEND="${RDEPEND}
python? (
dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/nose[${PYTHON_USEDEP}] )
)"
 
 S=${WORKDIR}/${MY_P}
@@ -72,11 +71,12 @@ multilib_src_compile() {
 }
 
 multilib_src_test() {
-   do_python
+   # Make sure we load the freshly built library
+   LD_LIBRARY_PATH="${BUILD_DIR}/lib/.libs" do_python
 }
 
 python_test() {
-   nosetests -w "${S}"/python || die "Tests fail with ${EPYTHON}"
+   ${EPYTHON} -m unittest test_cracklib || die "Tests fail with ${EPYTHON}"
 }
 
 multilib_src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2017-05-29 Thread Mike Gilbert
commit: b7ef521d0e20f973159c5dd2d63d18934958f7c5
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon May 29 18:23:07 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon May 29 18:45:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7ef521d

sys-libs/cracklib: enable python3 support

According to NEWS, python3 has been supported since v2.8.19.

Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index c2fbb9e22a8..b4d9cfdb5a9 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 DISTUTILS_OPTIONAL=1
 
 inherit eutils distutils-r1 libtool multilib-minimal toolchain-funcs



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2017-05-29 Thread Mike Gilbert
commit: e8efeab4ff870fe45856194e339a663a18c7c29a
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon May 29 18:09:20 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon May 29 18:09:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8efeab4

sys-libs/cracklib: make python optional again

Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index c803ec905f6..c2fbb9e22a8 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -17,9 +17,9 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-RDEPEND="${PYTHON_DEPS}
+RDEPEND="python? ( ${PYTHON_DEPS} )
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}
python? (



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2017-05-26 Thread David Seifert
commit: 62ff79cb2344d833bc7e7ad88bf2e9dc2e6ba7e5
Author: David Seifert  gentoo  org>
AuthorDate: Fri May 26 22:27:30 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri May 26 22:53:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62ff79cb

sys-libs/cracklib: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index d28bf84d239..c803ec905f6 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -1,7 +1,8 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=5
+
 PYTHON_COMPAT=( python2_7 )
 DISTUTILS_OPTIONAL=1
 
@@ -16,18 +17,15 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${PYTHON_DEPS}
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}
python? (
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )
)"
-RDEPEND="${RDEPEND}
-   abi_x86_32? (
-   !<=app-emulation/emul-linux-x86-baselibs-20140508-r6
-   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
-   )"
 
 S=${WORKDIR}/${MY_P}
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/files/

2017-02-04 Thread David Seifert
commit: 3fcfdfa63b756f314caba47ee977fbad4c18cfce
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Fri Feb  3 15:26:24 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb  4 21:21:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fcfdfa6

sys-libs/cracklib: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/3791

 .../files/cracklib-2.9.1-setup.py-srcdir.patch | 35 --
 1 file changed, 35 deletions(-)

diff --git a/sys-libs/cracklib/files/cracklib-2.9.1-setup.py-srcdir.patch 
b/sys-libs/cracklib/files/cracklib-2.9.1-setup.py-srcdir.patch
deleted file mode 100644
index ac69b9f..
--- a/sys-libs/cracklib/files/cracklib-2.9.1-setup.py-srcdir.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 70909dd3d30a13bb0406ca76feea49f05b8b978d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Thu, 29 May 2014 23:57:32 +0200
-Subject: [PATCH] Fix paths in setup.py to support out-of-source builds.
-

- python/setup.py.in | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/python/setup.py.in b/python/setup.py.in
-index 4a258a0..4c70de4 100644
 a/python/setup.py.in
-+++ b/python/setup.py.in
-@@ -23,8 +23,8 @@ from setuptools import setup, Extension, find_packages
- 
- extensions = [
- Extension("_cracklib",
--["_cracklib.c"],
--include_dirs = ["@top_builddir@/lib"],
-+["@srcdir@/_cracklib.c"],
-+include_dirs = ["@top_srcdir@/lib"],
- libraries = ["crack"],
- library_dirs = ["@top_builddir@/lib/.libs"]),
- ]
-@@ -43,6 +43,7 @@ convenience functions.
- url="http://cracklib.sourceforge.net/;,
- license="GPLv2+",
- py_modules=['cracklib', 'test_cracklib'],
-+package_dir={'': '@srcdir@'},
- ext_modules=extensions,
- zip_safe=False,
- classifiers=[
--- 
-2.0.0
-



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2017-01-29 Thread Fabian Groffen
commit: a218f03d011e7879cb3a7301b7fda892466d8ed7
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Jan 29 20:08:01 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Jan 29 20:13:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a218f03d

sys-libs/cracklib: dropped ~ia64-linux ~x86-interix

Package-Manager: portage-2.3.3

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index 0e41e77..2d42460 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos 
~x86-macos ~m68k-mint"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-12-07 Thread Mike Frysinger
commit: 3f3268dfeeb730ba457e6a8661f2aee8350125ef
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Dec  7 08:32:26 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Dec  7 08:32:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f3268df

sys-libs/cracklib: drop old <2.9.6-r1 versions

 sys-libs/cracklib/Manifest |   3 -
 sys-libs/cracklib/cracklib-2.9.1-r1.ebuild | 106 -
 sys-libs/cracklib/cracklib-2.9.4.ebuild| 105 
 sys-libs/cracklib/cracklib-2.9.5.ebuild| 105 
 sys-libs/cracklib/cracklib-2.9.6.ebuild| 105 
 5 files changed, 424 deletions(-)

diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index 66b748f..b7d1b23 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1,4 +1 @@
-DIST cracklib-2.9.1.tar.gz 635123 SHA256 
408905c2539a97dc8cbbb6d7cd2046cb5647a345b4bda399220d9471be16d156 SHA512 
19b1d38dfcfce98893e6a63e4387a8da9da1eae109d9d84e0f84adabc0ee25fac930576011fb60de007f59f7dea2ee0bb01fd6d8607d4854b7de006ec07a4b2a
 WHIRLPOOL 
ff3a71cb81535dde5ad63f51f9c8d5807c91ff5394e8336bac69708357804b8efc7816b2cfe32529777f18e9ba50c22af054b8d5ccff3d4b837a92d85b64dc80
-DIST cracklib-2.9.4.tar.gz 622478 SHA256 
f2a866b4b9808344228ea6d68b69e3ba9a8a99210e23dfd718d4b95c60be8958 SHA512 
4c94af41d5734e737576221620236951c083f45a7a8061d22ec174c283b91bf64b781ee8dddb91f459f5008ca70f1adfe59c311f082a7a7fecd5214705512a63
 WHIRLPOOL 
2d9fe10dbc50a45ec3e295e7c5aee3e327f1d7728811c33693bafcffad833e953a4425c4aac7c2556b75aa84a76b1a81bbfd2210d47555086cc4ddd5fd1f7eee
-DIST cracklib-2.9.5.tar.gz 622499 SHA256 
59ab0138bc8cf90cccb8509b6969a024d5e58d2d02bcbdccbb9ba9b88be3fa33 SHA512 
2362419deb9024b8d761f8349210a25c3182568bb4a4ecf59b1f221ad0c9bd6049fb26eafe853d55b50dcca5f66c695d58b432c70d14054db704ca28a68aa2e2
 WHIRLPOOL 
72210f50de508fcc70566aabce303c0d1cb09da71385808a2c50808bf8a894b16210633b492f6cd702af51024da0a5850a36e9b5a7542a1313b93bd350f53c35
 DIST cracklib-2.9.6.tar.gz 642402 SHA256 
17cf76943de272fd579ed831a1fd85339b393f8d00bf9e0d17c91e972f583343 SHA512 
2b09672e5b412d670e7ed911ebf0c0023fe2901ea05c9c02eefb7a58a13cddbc27a65d75bb20be9f8cebf4c90a9a56dfe1a3b656dff62b1d6048f5376e671786
 WHIRLPOOL 
2b7b908952166e07aedfca7d17423a8dff0ec145a5f34a7ec01571cb591f0e92e57dd25ab615f1ec276bfefa455072fc7741e664115a4fafdd7f75d580e1

diff --git a/sys-libs/cracklib/cracklib-2.9.1-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.1-r1.ebuild
deleted file mode 100644
index caafa76..
--- a/sys-libs/cracklib/cracklib-2.9.1-r1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-inherit eutils distutils-r1 libtool multilib-minimal toolchain-funcs
-
-MY_P=${P/_}
-DESCRIPTION="Password Checking Library"
-HOMEPAGE="https://sourceforge.net/projects/cracklib;
-SRC_URI="mirror://sourceforge/cracklib/${MY_P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos 
~x86-macos ~m68k-mint"
-IUSE="nls python static-libs test zlib"
-
-RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
-   python? (
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/nose[${PYTHON_USEDEP}] )
-   )"
-RDEPEND="${RDEPEND}
-   abi_x86_32? (
-   !<=app-emulation/emul-linux-x86-baselibs-20140508-r6
-   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
-   )"
-
-S=${WORKDIR}/${MY_P}
-
-do_python() {
-   multilib_is_native_abi || return 0
-   use python || return 0
-   pushd python > /dev/null || die
-   distutils-r1_src_${EBUILD_PHASE}
-   popd > /dev/null
-}
-
-pkg_setup() {
-   # workaround #195017
-   if has unmerge-orphans ${FEATURES} && has_version 
"<${CATEGORY}/${PN}-2.8.10" ; then
-   eerror "Upgrade path is broken with FEATURES=unmerge-orphans"
-   eerror "Please run: FEATURES=-unmerge-orphans emerge cracklib"
-   die "Please run: FEATURES=-unmerge-orphans emerge cracklib"
-   fi
-}
-
-src_prepare() {
-   elibtoolize #269003
-   epatch "${FILESDIR}"/cracklib-2.9.1-setup.py-srcdir.patch
-   do_python
-}
-
-multilib_src_configure() {
-   export ac_cv_header_zlib_h=$(usex zlib)
-   export ac_cv_search_gzopen=$(usex zlib -lz no)
-   # use /usr/lib so that the dictionary is shared between ABIs
-   ECONF_SOURCE=${S} \
-   econf \
-   --with-default-dict='/usr/lib/cracklib_dict' \
-   --without-python \
-   $(use_enable nls) \
-   $(use_enable static-libs static)
-}
-

[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-12-07 Thread Mike Frysinger
commit: c7b2ccc840255c2443fed49abc31b130405c1f0f
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Dec  7 08:30:41 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Dec  7 08:32:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b2ccc8

sys-libs/cracklib: mark 2.9.6-r1 arm64/m68k/s390/sh stable #591456

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index c4c8f60..0e41e77 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos 
~x86-macos ~m68k-mint"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos 
~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-09-29 Thread Agostino Sarubbo
commit: afc0591d61eef8e6f59df7e60518044b46ce5d6a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 29 13:27:58 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 29 13:28:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afc0591d

sys-libs/cracklib: ia64 stable wrt bug #591456

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index 791b2e7..c4c8f60 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos 
~x86-macos ~m68k-mint"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos 
~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-09-29 Thread Agostino Sarubbo
commit: 8a50c6516ea4353e0ca2b25236c30e2968599591
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 29 12:35:11 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 29 12:35:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a50c651

sys-libs/cracklib: ppc stable wrt bug #591456

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index 1642b74..791b2e7 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos 
~x86-macos ~m68k-mint"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos 
~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-09-29 Thread Agostino Sarubbo
commit: 5828e47386786af444c8e8acdb5c25e759306df1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 29 09:32:56 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 29 09:32:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5828e473

sys-libs/cracklib: sparc stable wrt bug #591456

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index 3878e68..1642b74 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh 
~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh 
sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos 
~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-09-29 Thread Agostino Sarubbo
commit: 2b0924bc2d63dde5ff1305ee1481435ff3292d5a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 29 08:39:20 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 29 08:39:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b0924bc

sys-libs/cracklib: x86 stable wrt bug #591456

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index 6cac2db..3878e68 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh 
~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-09-24 Thread Markus Meier
commit: 5317f8005b1e975e4069a73c5d9cf42003811b0f
Author: Markus Meier  gentoo  org>
AuthorDate: Sat Sep 24 19:18:17 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sat Sep 24 19:18:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5317f800

sys-libs/cracklib: arm stable, bug #591456

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="arm"

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index e4c079c..6cac2db 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-09-19 Thread Jeroen Roovers
commit: 3fd62398221cdb97d17a055c562243a28951163e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Sep 19 13:31:18 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Sep 19 13:32:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fd62398

sys-libs/cracklib: Stable for HPPA PPC64 (bug #591456).

Package-Manager: portage-2.3.0
RepoMan-Options: --ignore-arches

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index 87534b9..e4c079c 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-09-16 Thread Tobias Klausmann
commit: 222a8b3666ebd69b33e80b81de332c63e16d76ae
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri Sep 16 17:14:58 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri Sep 16 17:14:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=222a8b36

sys-libs/cracklib-2.9.6-r1: add alpha keyword

Gentoo-Bug: 591456

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index 1f10ea0..87534b9 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-09-16 Thread Agostino Sarubbo
commit: 84d8c2fa68fc1be838c3dcdcfbeb72b08a8ab8b9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 16 08:39:43 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 16 08:39:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84d8c2fa

sys-libs/cracklib: amd64 stable wrt bug #591456

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
index 3767e64..1f10ea0 100644
--- a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/files/, sys-libs/cracklib/

2016-09-14 Thread Thomas Deutschmann
commit: aac5b4f4a65ce70854e77014fa096b7bd2d34e43
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Sep 14 20:55:05 2016 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Sep 14 20:57:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac5b4f4

sys-libs/cracklib: Revision bump to address CVE-2016-6318 and another buffer 
overflow

Signed-off-by: Lars Wendler  gentoo.org>
Gentoo-Bug: https://bugs.gentoo.org/591456

Package-Manager: portage-2.3.0

 sys-libs/cracklib/cracklib-2.9.6-r1.ebuild | 108 +
 .../files/cracklib-2.9.6-CVE-2016-6318.patch   | 108 +
 ...acklib-2.9.6-fix-long-word-bufferoverflow.patch |  43 
 3 files changed, 259 insertions(+)

diff --git a/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
new file mode 100644
index ..3767e64
--- /dev/null
+++ b/sys-libs/cracklib/cracklib-2.9.6-r1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_OPTIONAL=1
+
+inherit eutils distutils-r1 libtool multilib-minimal toolchain-funcs
+
+MY_P=${P/_}
+DESCRIPTION="Password Checking Library"
+HOMEPAGE="https://github.com/cracklib/cracklib/;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
+IUSE="nls python static-libs test zlib"
+
+RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/nose[${PYTHON_USEDEP}] )
+   )"
+RDEPEND="${RDEPEND}
+   abi_x86_32? (
+   !<=app-emulation/emul-linux-x86-baselibs-20140508-r6
+   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
+   )"
+
+S=${WORKDIR}/${MY_P}
+
+do_python() {
+   multilib_is_native_abi || return 0
+   use python || return 0
+   pushd python > /dev/null || die
+   distutils-r1_src_${EBUILD_PHASE}
+   popd > /dev/null
+}
+
+pkg_setup() {
+   # workaround #195017
+   if has unmerge-orphans ${FEATURES} && has_version 
"<${CATEGORY}/${PN}-2.8.10" ; then
+   eerror "Upgrade path is broken with FEATURES=unmerge-orphans"
+   eerror "Please run: FEATURES=-unmerge-orphans emerge cracklib"
+   die "Please run: FEATURES=-unmerge-orphans emerge cracklib"
+   fi
+}
+
+src_prepare() {
+   epatch "${FILESDIR}"/cracklib-2.9.6-CVE-2016-6318.patch
+   epatch "${FILESDIR}"/cracklib-2.9.6-fix-long-word-bufferoverflow.patch
+
+   elibtoolize #269003
+   do_python
+}
+
+multilib_src_configure() {
+   export ac_cv_header_zlib_h=$(usex zlib)
+   export ac_cv_search_gzopen=$(usex zlib -lz no)
+   # use /usr/lib so that the dictionary is shared between ABIs
+   ECONF_SOURCE=${S} \
+   econf \
+   --with-default-dict='/usr/lib/cracklib_dict' \
+   --without-python \
+   $(use_enable nls) \
+   $(use_enable static-libs static)
+}
+
+multilib_src_compile() {
+   default
+   do_python
+}
+
+multilib_src_test() {
+   do_python
+}
+
+python_test() {
+   nosetests -w "${S}"/python || die "Tests fail with ${EPYTHON}"
+}
+
+multilib_src_install() {
+   default
+   # move shared libs to /
+   gen_usr_ldscript -a crack
+
+   do_python
+}
+
+multilib_src_install_all() {
+   einstalldocs
+   prune_libtool_files
+   rm -r "${ED}"/usr/share/cracklib
+
+   insinto /usr/share/dict
+   doins dicts/cracklib-small || die
+}
+
+pkg_postinst() {
+   if [[ ${ROOT} == "/" ]] ; then
+   ebegin "Regenerating cracklib dictionary"
+   create-cracklib-dict "${EPREFIX}"/usr/share/dict/* > /dev/null
+   eend $?
+   fi
+}

diff --git a/sys-libs/cracklib/files/cracklib-2.9.6-CVE-2016-6318.patch 
b/sys-libs/cracklib/files/cracklib-2.9.6-CVE-2016-6318.patch
new file mode 100644
index ..bc47734
--- /dev/null
+++ b/sys-libs/cracklib/files/cracklib-2.9.6-CVE-2016-6318.patch
@@ -0,0 +1,108 @@
+From 47e5dec521ab6243c9b249dd65b93d232d90d6b1 Mon Sep 17 00:00:00 2001
+From: Jan Dittberner 
+Date: Thu, 25 Aug 2016 17:13:49 +0200
+Subject: [PATCH] Apply patch to fix CVE-2016-6318
+
+This patch fixes an issue with a stack-based buffer overflow whne
+parsing large GECOS field. See
+https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6318 and
+https://security-tracker.debian.org/tracker/CVE-2016-6318 for more
+information.
+---
+ src/NEWS  |  1 +
+ src/lib/fascist.c | 57 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-06-03 Thread Markus Meier
commit: 604a770a01140cf0ac77f189ed6c1171a663390f
Author: Markus Meier  gentoo  org>
AuthorDate: Sat Jun  4 04:52:28 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sat Jun  4 04:52:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604a770a

sys-libs/cracklib: arm stable, bug #583954

Package-Manager: portage-2.3.0_rc1
RepoMan-Options: --include-arches="arm"

 sys-libs/cracklib/cracklib-2.9.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6.ebuild
index 11d2106..30caf62 100644
--- a/sys-libs/cracklib/cracklib-2.9.6.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh 
~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh 
~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-05-27 Thread Lars Wendler
commit: 6640d7d209d91a5fe07ea7a2568d1d9e45668776
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri May 27 12:29:24 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri May 27 12:45:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6640d7d2

sys-libs/cracklib: amd64 stable (bug #583954).

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6.ebuild
index 94184d9..11d2106 100644
--- a/sys-libs/cracklib/cracklib-2.9.6.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 
~sh ~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh 
~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-05-26 Thread Lars Wendler
commit: cd96559e699c8c046368777d7afb3af786df8f3b
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu May 26 19:51:39 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu May 26 20:04:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd96559e

sys-libs/cracklib: x86 stable (bug #583954).

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="x86"
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/cracklib/cracklib-2.9.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6.ebuild
index 2a0ec5a..94184d9 100644
--- a/sys-libs/cracklib/cracklib-2.9.6.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 
~sh ~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-05-25 Thread Matt Turner
commit: f01e6671854a9c3c1dd8761f5941f2053e378b21
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May 25 05:01:54 2016 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May 25 06:27:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f01e6671

sys-libs/cracklib: alpha stable, bug 583954.

 sys-libs/cracklib/cracklib-2.9.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.1-r1.ebuild 
b/sys-libs/cracklib/cracklib-2.9.1-r1.ebuild
index 792bb37..f97bb0b 100644
--- a/sys-libs/cracklib/cracklib-2.9.1-r1.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2016-05-24 Thread Jeroen Roovers
commit: 39e461cc0077a41390a1d84578f0e485c1d8cc3d
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed May 25 05:17:07 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed May 25 05:17:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39e461cc

sys-libs/cracklib: Stable for HPPA PPC64 (bug #583954).

Package-Manager: portage-2.3.0_rc1
RepoMan-Options: --ignore-arches

 sys-libs/cracklib/cracklib-2.9.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/cracklib/cracklib-2.9.6.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6.ebuild
index dda19c0..2a0ec5a 100644
--- a/sys-libs/cracklib/cracklib-2.9.6.ebuild
+++ b/sys-libs/cracklib/cracklib-2.9.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint"
 IUSE="nls python static-libs test zlib"
 
 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2015-08-18 Thread Mike Frysinger
commit: 73215ac4c4f916a49fd3f1ed69c2c8a4f0bdadcf
Author: Mike Frysinger vapier AT gentoo DOT org
AuthorDate: Wed Aug 19 02:41:23 2015 +
Commit: Mike Frysinger vapier AT gentoo DOT org
CommitDate: Wed Aug 19 02:42:32 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73215ac4

sys-libs/cracklib: version bump to 2.9.6

 sys-libs/cracklib/Manifest  |   1 +
 sys-libs/cracklib/cracklib-2.9.6.ebuild | 105 
 2 files changed, 106 insertions(+)

diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index 4423851..66b748f 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1,3 +1,4 @@
 DIST cracklib-2.9.1.tar.gz 635123 SHA256 
408905c2539a97dc8cbbb6d7cd2046cb5647a345b4bda399220d9471be16d156 SHA512 
19b1d38dfcfce98893e6a63e4387a8da9da1eae109d9d84e0f84adabc0ee25fac930576011fb60de007f59f7dea2ee0bb01fd6d8607d4854b7de006ec07a4b2a
 WHIRLPOOL 
ff3a71cb81535dde5ad63f51f9c8d5807c91ff5394e8336bac69708357804b8efc7816b2cfe32529777f18e9ba50c22af054b8d5ccff3d4b837a92d85b64dc80
 DIST cracklib-2.9.4.tar.gz 622478 SHA256 
f2a866b4b9808344228ea6d68b69e3ba9a8a99210e23dfd718d4b95c60be8958 SHA512 
4c94af41d5734e737576221620236951c083f45a7a8061d22ec174c283b91bf64b781ee8dddb91f459f5008ca70f1adfe59c311f082a7a7fecd5214705512a63
 WHIRLPOOL 
2d9fe10dbc50a45ec3e295e7c5aee3e327f1d7728811c33693bafcffad833e953a4425c4aac7c2556b75aa84a76b1a81bbfd2210d47555086cc4ddd5fd1f7eee
 DIST cracklib-2.9.5.tar.gz 622499 SHA256 
59ab0138bc8cf90cccb8509b6969a024d5e58d2d02bcbdccbb9ba9b88be3fa33 SHA512 
2362419deb9024b8d761f8349210a25c3182568bb4a4ecf59b1f221ad0c9bd6049fb26eafe853d55b50dcca5f66c695d58b432c70d14054db704ca28a68aa2e2
 WHIRLPOOL 
72210f50de508fcc70566aabce303c0d1cb09da71385808a2c50808bf8a894b16210633b492f6cd702af51024da0a5850a36e9b5a7542a1313b93bd350f53c35
+DIST cracklib-2.9.6.tar.gz 642402 SHA256 
17cf76943de272fd579ed831a1fd85339b393f8d00bf9e0d17c91e972f583343 SHA512 
2b09672e5b412d670e7ed911ebf0c0023fe2901ea05c9c02eefb7a58a13cddbc27a65d75bb20be9f8cebf4c90a9a56dfe1a3b656dff62b1d6048f5376e671786
 WHIRLPOOL 
2b7b908952166e07aedfca7d17423a8dff0ec145a5f34a7ec01571cb591f0e92e57dd25ab615f1ec276bfefa455072fc7741e664115a4fafdd7f75d580e1

diff --git a/sys-libs/cracklib/cracklib-2.9.6.ebuild 
b/sys-libs/cracklib/cracklib-2.9.6.ebuild
new file mode 100644
index 000..b430d45
--- /dev/null
+++ b/sys-libs/cracklib/cracklib-2.9.6.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_OPTIONAL=1
+
+inherit eutils distutils-r1 libtool multilib-minimal toolchain-funcs
+
+MY_P=${P/_}
+DESCRIPTION=Password Checking Library
+HOMEPAGE=https://github.com/cracklib/cracklib/;
+SRC_URI=https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz;
+
+LICENSE=LGPL-2.1
+SLOT=0
+KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint
+IUSE=nls python static-libs test zlib
+
+RDEPEND=zlib? ( =sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
+DEPEND=${RDEPEND}
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/nose[${PYTHON_USEDEP}] )
+   )
+RDEPEND=${RDEPEND}
+   abi_x86_32? (
+   !=app-emulation/emul-linux-x86-baselibs-20140508-r6
+   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
+   )
+
+S=${WORKDIR}/${MY_P}
+
+do_python() {
+   multilib_is_native_abi || return 0
+   use python || return 0
+   pushd python  /dev/null || die
+   distutils-r1_src_${EBUILD_PHASE}
+   popd  /dev/null
+}
+
+pkg_setup() {
+   # workaround #195017
+   if has unmerge-orphans ${FEATURES}  has_version 
${CATEGORY}/${PN}-2.8.10 ; then
+   eerror Upgrade path is broken with FEATURES=unmerge-orphans
+   eerror Please run: FEATURES=-unmerge-orphans emerge cracklib
+   die Please run: FEATURES=-unmerge-orphans emerge cracklib
+   fi
+}
+
+src_prepare() {
+   elibtoolize #269003
+   do_python
+}
+
+multilib_src_configure() {
+   export ac_cv_header_zlib_h=$(usex zlib)
+   export ac_cv_search_gzopen=$(usex zlib -lz no)
+   # use /usr/lib so that the dictionary is shared between ABIs
+   ECONF_SOURCE=${S} \
+   econf \
+   --with-default-dict='/usr/lib/cracklib_dict' \
+   --without-python \
+   $(use_enable nls) \
+   $(use_enable static-libs static)
+}
+
+multilib_src_compile() {
+   default
+   do_python
+}
+
+multilib_src_test() {
+   do_python
+}
+
+python_test() {
+   nosetests -w ${S}/python || die Tests fail with ${EPYTHON}
+}
+
+multilib_src_install() {
+   default
+   # move shared libs to /
+   multilib_is_native_abi  gen_usr_ldscript -a 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/cracklib/

2015-08-18 Thread Mike Frysinger
commit: 3f88de70027af186186d928552d8a96d2353067e
Author: Mike Frysinger vapier AT gentoo DOT org
AuthorDate: Wed Aug 19 02:41:02 2015 +
Commit: Mike Frysinger vapier AT gentoo DOT org
CommitDate: Wed Aug 19 02:42:31 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f88de70

sys-libs/cracklib: delete old

 sys-libs/cracklib/Manifest   |   1 -
 sys-libs/cracklib/cracklib-2.8.22.ebuild | 105 ---
 2 files changed, 106 deletions(-)

diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index eb8aaf2..4423851 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1,4 +1,3 @@
-DIST cracklib-2.8.22.tar.gz 631796 SHA256 
feaff49bfb513ec10b2618c00d2f7f60776ba93fcc5fa22dd3479dd9cad9f770 SHA512 
7ec9f93d1bb8132dc143e320373c0ffab2c3e4a9da4e449ce7c6e9b3aada5a30933d3bccbca4d2ea0ef5e72ef5593427756e06c03a97940edf74bac37f2fd08b
 WHIRLPOOL 
186720e1cb5c9392343f9c8e569e35dc5c7a5be5d2067770555423667d4dc8e543e68c4dd7d4a3e5fac4a42b5bca66f18bc723441dea64d04e8f135cecc3029a
 DIST cracklib-2.9.1.tar.gz 635123 SHA256 
408905c2539a97dc8cbbb6d7cd2046cb5647a345b4bda399220d9471be16d156 SHA512 
19b1d38dfcfce98893e6a63e4387a8da9da1eae109d9d84e0f84adabc0ee25fac930576011fb60de007f59f7dea2ee0bb01fd6d8607d4854b7de006ec07a4b2a
 WHIRLPOOL 
ff3a71cb81535dde5ad63f51f9c8d5807c91ff5394e8336bac69708357804b8efc7816b2cfe32529777f18e9ba50c22af054b8d5ccff3d4b837a92d85b64dc80
 DIST cracklib-2.9.4.tar.gz 622478 SHA256 
f2a866b4b9808344228ea6d68b69e3ba9a8a99210e23dfd718d4b95c60be8958 SHA512 
4c94af41d5734e737576221620236951c083f45a7a8061d22ec174c283b91bf64b781ee8dddb91f459f5008ca70f1adfe59c311f082a7a7fecd5214705512a63
 WHIRLPOOL 
2d9fe10dbc50a45ec3e295e7c5aee3e327f1d7728811c33693bafcffad833e953a4425c4aac7c2556b75aa84a76b1a81bbfd2210d47555086cc4ddd5fd1f7eee
 DIST cracklib-2.9.5.tar.gz 622499 SHA256 
59ab0138bc8cf90cccb8509b6969a024d5e58d2d02bcbdccbb9ba9b88be3fa33 SHA512 
2362419deb9024b8d761f8349210a25c3182568bb4a4ecf59b1f221ad0c9bd6049fb26eafe853d55b50dcca5f66c695d58b432c70d14054db704ca28a68aa2e2
 WHIRLPOOL 
72210f50de508fcc70566aabce303c0d1cb09da71385808a2c50808bf8a894b16210633b492f6cd702af51024da0a5850a36e9b5a7542a1313b93bd350f53c35

diff --git a/sys-libs/cracklib/cracklib-2.8.22.ebuild 
b/sys-libs/cracklib/cracklib-2.8.22.ebuild
deleted file mode 100644
index b11162e..000
--- a/sys-libs/cracklib/cracklib-2.8.22.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=3
-PYTHON_DEPEND=python? 2
-SUPPORT_PYTHON_ABIS=1
-RESTRICT_PYTHON_ABIS=3.* 2.7-pypy-* *-jython
-
-inherit eutils distutils libtool toolchain-funcs
-
-MY_P=${P/_}
-DESCRIPTION=Password Checking Library
-HOMEPAGE=http://sourceforge.net/projects/cracklib;
-SRC_URI=mirror://sourceforge/cracklib/${MY_P}.tar.gz
-
-LICENSE=LGPL-2.1
-SLOT=0
-KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~m68k-mint
-IUSE=build nls python static-libs zlib
-
-RDEPEND=zlib? ( sys-libs/zlib )
-DEPEND=${RDEPEND}
-   python? ( dev-python/setuptools )
-
-S=${WORKDIR}/${MY_P}
-
-PYTHON_MODNAME=cracklib.py
-do_python() {
-   use build  return 0
-   use python || return 0
-   case ${EBUILD_PHASE} in
-   prepare|configure|compile|install)
-   pushd python  /dev/null || die
-   distutils_src_${EBUILD_PHASE}
-   popd  /dev/null
-   ;;
-   *)
-   distutils_pkg_${EBUILD_PHASE}
-   ;;
-   esac
-}
-
-pkg_setup() {
-   # workaround #195017
-   if has unmerge-orphans ${FEATURES}  has_version 
${CATEGORY}/${PN}-2.8.10 ; then
-   eerror Upgrade path is broken with FEATURES=unmerge-orphans
-   eerror Please run: FEATURES=-unmerge-orphans emerge cracklib
-   die Please run: FEATURES=-unmerge-orphans emerge cracklib
-   fi
-
-   if use !build; then
-   use python  python_pkg_setup
-   fi
-}
-
-src_prepare() {
-   elibtoolize #269003
-   do_python
-}
-
-src_configure() {
-   export ac_cv_header_zlib_h=$(usex zlib)
-   export ac_cv_search_gzopen=$(usex zlib -lz no)
-   econf \
-   --with-default-dict='$(libdir)/cracklib_dict' \
-   --without-python \
-   $(use_enable nls) \
-   $(use_enable static-libs static)
-}
-
-src_compile() {
-   default
-   do_python
-}
-
-src_install() {
-   emake DESTDIR=${D} install || die
-   use static-libs || find ${ED}/usr -name libcrack.la -delete
-   rm -r ${ED}/usr/share/cracklib
-
-   do_python
-
-   # move shared libs to /
-   gen_usr_ldscript -a crack
-
-   insinto /usr/share/dict
-   doins dicts/cracklib-small || die
-
-   dodoc AUTHORS ChangeLog NEWS README*
-}
-