summaryrefslogtreecommitdiff
path: root/dev-libs/libpwquality
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-07 00:00:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-07 00:00:56 +0100
commit7bcfea9c5e79a425a62a66bba477b9d3c0d7fdd0 (patch)
tree02bad8e4f1f060d4858a1a2ec3fc9404f0b7a197 /dev-libs/libpwquality
parent43c2a85d4e20318dd3d35872e348707900870067 (diff)
gentoo auto-resync : 07:05:2024 - 00:00:56
Diffstat (limited to 'dev-libs/libpwquality')
-rw-r--r--dev-libs/libpwquality/Manifest2
-rw-r--r--dev-libs/libpwquality/files/libpwquality-1.4.4-pam_pwquality-include.patch35
-rw-r--r--dev-libs/libpwquality/libpwquality-1.4.5.ebuild87
3 files changed, 0 insertions, 124 deletions
diff --git a/dev-libs/libpwquality/Manifest b/dev-libs/libpwquality/Manifest
index 563a12b6d090..22d1a589989c 100644
--- a/dev-libs/libpwquality/Manifest
+++ b/dev-libs/libpwquality/Manifest
@@ -1,6 +1,4 @@
-AUX libpwquality-1.4.4-pam_pwquality-include.patch 1208 BLAKE2B d7899e6caeb8a1f4515026165d9a321e0a7840b45e4f2472a8562f7a88e35c80f7295349491f3a0037da1ff12e7c74e99236c4ef1d3334fbc477bf393bf3954b SHA512 e570c7f036a1182e43c63b852040468b0dd45ca115ff98f62bc4d3bba02b0c368cd9b1e857e39ea5fcd0b74b265cc7baea529359593512d896f65c6b658afd27
DIST libpwquality-1.4.5.tar.bz2 433961 BLAKE2B f5326996ab607bf9d24de446d9714987ad259fd2222bc54983769abc298969e2e9a4cee78f2a5c5d963bd0e5f57ea3aa346b0ce108b465a8da82810486b37e36 SHA512 91a6febbf40047e553b6051df727857df7932c816638f15118a46b8286527a80446ca4f6a050d2b1f4e33335bf4b75290751ce358fa477cb9d06fe89a450d647
EBUILD libpwquality-1.4.5-r1.ebuild 1721 BLAKE2B e51e581529a34a87d7655c4a8375299d96d00101ee9ac87fb6540a7c408bd5557d50af4b39b39ab47ff19392230ce8967519c42f72af7514a1e83ef34d98cdf5 SHA512 4a4911f45f56d1f49eaf7b539943ded8fd6719cd6796132d69d1f4d630eb03caf477352b9d57ce24e246e0d8acc21b2e007ccc27035e7271f2b728938c75f5be
EBUILD libpwquality-1.4.5-r2.ebuild 1734 BLAKE2B 908b92bf6d41e65ad474480398679fa7f6c0d5718d8180b19a7e0d2f78e4107d131096854e468dc3ff132d12a76bc26e5a0189b015b3ee2dd6b09e9269891d50 SHA512 c4aee2fea87a4de7b7a718f6a4efe0eae3f859f2eb84f6605765218b839166a4811943fc8d0ee8d1da2fad729b94850eb7f659460d0a7c3a9a564d50c0f1158b
-EBUILD libpwquality-1.4.5.ebuild 2156 BLAKE2B e2233a02327bc329067c7182b515ef5a5e550382a9bbfedc59793287d6cacccde537450fed879a1bdea78fc7456e50b70161bc2836dd32c9d87cf9a7be20a474 SHA512 88a1a7014c40ef5cabe8aa2f42d0d60748015b5697b5f319f1795ce3cbddd05c2d44bdb32c6e476a25dfa5ecd563342f967aab4366ea00203ceae841b0f27387
MISC metadata.xml 354 BLAKE2B c7c1c6aad6af351f12d42c720fe4372aa0966601624454febad3d0ac2c40b069acfaae7f1c77c41546c701a8ad1e242bd715f421ed2103e9c48cc5a63d7e44fa SHA512 41ecf39d00ced11f91831aa04bbca66d0a409367ae87aab765c94dbcdfc4dd8900f707b767e2fe76ad1eaa62c33e2e571027c7e5112e799104029bb773d812df
diff --git a/dev-libs/libpwquality/files/libpwquality-1.4.4-pam_pwquality-include.patch b/dev-libs/libpwquality/files/libpwquality-1.4.4-pam_pwquality-include.patch
deleted file mode 100644
index 2ed638c1e34a..000000000000
--- a/dev-libs/libpwquality/files/libpwquality-1.4.4-pam_pwquality-include.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-https://github.com/libpwquality/libpwquality/pull/62
-
-From 27057c6cbf528108c35df934280c7dd83e8d5ce9 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Wed, 7 Sep 2022 05:42:17 +0100
-Subject: [PATCH] pam_pwquality: add include for
- pam_modutil_check_user_in_passwd
-
-After 9084c1b032161cdb53d5f66132a91bdc207faecf, one gets:
-```
-pam_pwquality.c: In function 'check_local_user':
-pam_pwquality.c:102:16: error: implicit declaration of function 'pam_modutil_check_user_in_passwd' [-Werror=implicit-function-declaration]
- 102 | return pam_modutil_check_user_in_passwd(pamh, user, NULL) == PAM_SUCCESS;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-cc1: some warnings being treated as errors
-make[2]: *** [Makefile:634: pam_pwquality.lo] Error 1
-make[2]: *** Waiting for unfinished jobs....
-```
-
-We need to include security/pam_modutil.h when appropriate.
-
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/src/pam_pwquality.c
-+++ b/src/pam_pwquality.c
-@@ -34,6 +34,10 @@
- #include <security/_pam_macros.h>
- #include <security/pam_ext.h>
-
-+#ifdef HAVE_PAM_CHECK_USER_IN_PASSWD
-+#include <security/pam_modutil.h>
-+#endif
-+
- /* argument parsing */
- #define PAM_DEBUG_ARG 0x0001
-
diff --git a/dev-libs/libpwquality/libpwquality-1.4.5.ebuild b/dev-libs/libpwquality/libpwquality-1.4.5.ebuild
deleted file mode 100644
index 87db7e77e81e..000000000000
--- a/dev-libs/libpwquality/libpwquality-1.4.5.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit pam python-r1 usr-ldscript
-
-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 ~ia64 ~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}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4.4-pam_pwquality-include.patch
-)
-
-src_prepare() {
- default
- # ensure pkgconfig files go in /usr
- sed -e "s:\(pkgconfigdir *=\).*:\1 ${EPREFIX}/usr/$(get_libdir)/pkgconfig:" \
- -i src/Makefile.{am,in} || die "sed failed"
-
- 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}/$(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
- if use static-libs; then
- # Do not install static libs in /lib
- mkdir -p "${ED}/usr/$(get_libdir)"
- mv "${ED}/$(get_libdir)/libpwquality.a" "${ED}/usr/$(get_libdir)/" || die
- gen_usr_ldscript libpwquality.so
- fi
- 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
-}