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 <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2025-03-14 17:54:58 +00:00
parent 89c1c5fcd1
commit 5b5036ea02
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
6 changed files with 0 additions and 179 deletions

View File

@ -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

View File

@ -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

View File

@ -1 +0,0 @@
DIST libpwquality-1.4.5.tar.bz2 433961 BLAKE2B f5326996ab607bf9d24de446d9714987ad259fd2222bc54983769abc298969e2e9a4cee78f2a5c5d963bd0e5f57ea3aa346b0ce108b465a8da82810486b37e36 SHA512 91a6febbf40047e553b6051df727857df7932c816638f15118a46b8286527a80446ca4f6a050d2b1f4e33335bf4b75290751ce358fa477cb9d06fe89a450d647

View File

@ -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
}

View File

@ -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
}

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
<upstream>
<remote-id type="github">libpwquality/libpwquality</remote-id>
</upstream>
</pkgmetadata>