From 5b5036ea02f39509115e0c23938b8c5f560e236f Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Fri, 14 Mar 2025 17:54:58 +0000 Subject: [PATCH] dev-libs/libpwquality: Drop redundant package This is no longer needed by app-crypt/clevis. It seemingly wasn't explicitly included in Flatcar. Signed-off-by: James Le Cuirot --- .../workflows/portage-stable-packages-list | 1 - .../hard-host-depends-0.0.1.ebuild | 1 - .../dev-libs/libpwquality/Manifest | 1 - .../libpwquality/libpwquality-1.4.5-r1.ebuild | 75 ---------------- .../libpwquality/libpwquality-1.4.5-r2.ebuild | 90 ------------------- .../dev-libs/libpwquality/metadata.xml | 11 --- 6 files changed, 179 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/Manifest delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/libpwquality-1.4.5-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/libpwquality-1.4.5-r2.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/metadata.xml diff --git a/.github/workflows/portage-stable-packages-list b/.github/workflows/portage-stable-packages-list index aebcfffc83..06895a1961 100644 --- a/.github/workflows/portage-stable-packages-list +++ b/.github/workflows/portage-stable-packages-list @@ -248,7 +248,6 @@ dev-libs/libnl dev-libs/libp11 dev-libs/libpcre2 dev-libs/libpipeline -dev-libs/libpwquality dev-libs/libsodium dev-libs/libtasn1 dev-libs/libtraceevent diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/hard-host-depends/hard-host-depends-0.0.1.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-base/hard-host-depends/hard-host-depends-0.0.1.ebuild index b74b78535c..72048f41f3 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/hard-host-depends/hard-host-depends-0.0.1.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/coreos-base/hard-host-depends/hard-host-depends-0.0.1.ebuild @@ -55,7 +55,6 @@ RDEPEND="${RDEPEND} >=dev-libs/glib-2.26.1 dev-libs/libgcrypt dev-libs/libnl - dev-libs/libpwquality dev-libs/libxslt dev-libs/libyaml dev-libs/luksmeta diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/Manifest deleted file mode 100644 index 231099aa89..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libpwquality-1.4.5.tar.bz2 433961 BLAKE2B f5326996ab607bf9d24de446d9714987ad259fd2222bc54983769abc298969e2e9a4cee78f2a5c5d963bd0e5f57ea3aa346b0ce108b465a8da82810486b37e36 SHA512 91a6febbf40047e553b6051df727857df7932c816638f15118a46b8286527a80446ca4f6a050d2b1f4e33335bf4b75290751ce358fa477cb9d06fe89a450d647 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/libpwquality-1.4.5-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/libpwquality-1.4.5-r1.ebuild deleted file mode 100644 index b0f0d023ca..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/libpwquality-1.4.5-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -inherit libtool pam python-r1 - -DESCRIPTION="Library for password quality checking and generating random passwords" -HOMEPAGE="https://github.com/libpwquality/libpwquality" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2" - -LICENSE="|| ( BSD GPL-2 )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="pam python static-libs" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -BDEPEND=" - >=sys-devel/gettext-0.18.2 - virtual/pkgconfig -" -RDEPEND=" - >=sys-libs/cracklib-2.8:=[static-libs(+)?] - pam? ( sys-libs/pam ) - python? ( ${PYTHON_DEPS} ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - default - elibtoolize - - if use python ; then - # bug #830397 - export SETUPTOOLS_USE_DISTUTILS=stdlib - python_copy_sources - fi -} - -src_configure() { - # Install library in /lib for pam - configuring() { - local sitedir - econf \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - $(use_enable pam) \ - --with-securedir="${EPREFIX}/$(getpam_mod_dir)" \ - $(use_enable python python-bindings) \ - $(usex python "--with-pythonsitedir=$(use python && python_get_sitedir)" "") \ - $(use_enable static-libs static) - } - if_use_python_python_foreach_impl configuring -} - -src_compile() { - if_use_python_python_foreach_impl default -} - -src_test() { - if_use_python_python_foreach_impl default -} - -src_install() { - if_use_python_python_foreach_impl default - find "${ED}" -name '*.la' -delete || die -} - -if_use_python_python_foreach_impl() { - if use python; then - python_foreach_impl run_in_build_dir "$@" - else - "$@" - fi -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/libpwquality-1.4.5-r2.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/libpwquality-1.4.5-r2.ebuild deleted file mode 100644 index e02790d22d..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/libpwquality-1.4.5-r2.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 -DISTUTILS_USE_PEP517=setuptools -inherit libtool pam distutils-r1 - -DESCRIPTION="Library for password quality checking and generating random passwords" -HOMEPAGE="https://github.com/libpwquality/libpwquality" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2" - -LICENSE="|| ( BSD GPL-2 )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="pam python static-libs" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -BDEPEND=" - >=sys-devel/gettext-0.18.2 - virtual/pkgconfig - python? ( - ${DISTUTILS_DEPS} - ${PYTHON_DEPS} - ) -" -RDEPEND=" - >=sys-libs/cracklib-2.8:=[static-libs(+)?] - pam? ( sys-libs/pam ) - python? ( ${PYTHON_DEPS} ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - default - elibtoolize - - if use python ; then - cd python || die - distutils-r1_src_prepare - fi -} - -src_configure() { - # Install library in /lib for pam - local myeconfargs=( - --libdir="${EPREFIX}/usr/$(get_libdir)" - $(use_enable pam) - --with-securedir="${EPREFIX}/$(getpam_mod_dir)" - --disable-python-bindings - $(use_enable static-libs static) - ) - - econf "${myeconfargs[@]}" - - if use python; then - cd python || die - distutils-r1_src_configure - fi -} - -src_compile() { - default - if use python; then - cd python || die - distutils-r1_src_compile - fi -} - -src_test() { - default - if use python; then - cd python || die - distutils-r1_src_test - fi -} - -src_install() { - default - - if use python; then - cd python || die - distutils-r1_src_install - fi - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/metadata.xml deleted file mode 100644 index 362c8aacbd..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - gnome@gentoo.org - Gentoo GNOME Desktop - - - libpwquality/libpwquality - -