From c0f9c483e315379eabfbbef34fad51dbe42c896d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 3 Oct 2022 07:14:16 +0100 Subject: gentoo auto-resync : 03:10:2022 - 07:14:15 --- sys-auth/Manifest.gz | Bin 9559 -> 9564 bytes sys-auth/pam-pgsql/Manifest | 3 +- ...2-Fix-crypt-implicit-function-declaration.patch | 18 +++++++ sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r1.ebuild | 51 ------------------- sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild | 55 +++++++++++++++++++++ 5 files changed, 75 insertions(+), 52 deletions(-) create mode 100644 sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch delete mode 100644 sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r1.ebuild create mode 100644 sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild (limited to 'sys-auth') diff --git a/sys-auth/Manifest.gz b/sys-auth/Manifest.gz index 1470548a8801..7cf991259e1e 100644 Binary files a/sys-auth/Manifest.gz and b/sys-auth/Manifest.gz differ diff --git a/sys-auth/pam-pgsql/Manifest b/sys-auth/pam-pgsql/Manifest index d477fc7bb74a..5a1ecb189b99 100644 --- a/sys-auth/pam-pgsql/Manifest +++ b/sys-auth/pam-pgsql/Manifest @@ -1,3 +1,4 @@ +AUX pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch 480 BLAKE2B 299a14b25becdb49f1912b3d635c5598497b1abcf1b37898556c9c5db17a65a634b169572c232484a847414ce7659a010b9e3f5737186baf5c20a7c8752504a1 SHA512 ba19b5dc04fd6ff5335456913045ada7abc025afec843f63dc5a9e3f9ad9f67736a3f3a21033b02f3df838b5317e53fedf960971a6196e3dac43f979c0e076d3 DIST pam-pgsql-0.7.3.2.tar.gz 712533 BLAKE2B 6841505963310f5192aff3dce4d7d0ed8dce18bac629bd9338390794bdb6a0a2dd96b96a55660b5fcb6a34ebeeb8ef4024ce1203321508e027284fc8e94df3c5 SHA512 d5766e56a13b0b4762fba10d624d12f130f2675f1f1772eaaf275b599f44adcf98287c2636462ba3faf46af139eb1bd157918c0c783040796562f37dec17a6d9 -EBUILD pam-pgsql-0.7.3.2-r1.ebuild 1193 BLAKE2B 24c68a5adbe2186b47705bf323b12a1927206c1d408c30ed7049ea65072d1b73e7ba3f22723c4fe4829a3c3aab4ec3847ab36ccc3055e4cd3133d871dfc534e7 SHA512 a199b468f7583e408c408c2b0ba89ca8c0c104738c0eda5d6d501b8a15cddc3008eb2f27fa57d418648ce8ea895e604020f693c99020890f171e2e5017e7fbfb +EBUILD pam-pgsql-0.7.3.2-r2.ebuild 1281 BLAKE2B 7b01c787d06970303c7ad5eb664b8f59cd2780910cdebbc1e188e397806f797ef2b3d6c81e296ee651c9670ac8760dd5826fd47821252ac9c1c2ec0eaa8370bb SHA512 607f534ca1a6e1d82e27addeeeb8f64daf73e43d8ca6624be28a5151555efc1356d62f3dcabafacdfb73f36ede0ef10af856e97f8d316628d94e09060342850d MISC metadata.xml 247 BLAKE2B 7d119f336a78be71f5bf09a5157e3bcc820b2f4bf502a0f91491592ecb876733876cb67386fa05321b5ce8a6b018ae78255091e5901f43feebf06e149beb45fb SHA512 3a06722593ebdacaa0e07d038072b50c3b44262a6176d36e847e4fa1bc8dbedd5b22b95e412be4cbdbc58f4c0cb0f1b6de31f6fd0faaf6f9035c582a88dea32c diff --git a/sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch b/sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch new file mode 100644 index 000000000000..bf3604fd5670 --- /dev/null +++ b/sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch @@ -0,0 +1,18 @@ +From: Sam James +Date: Sun, 2 Oct 2022 23:55:21 +0100 +Subject: [PATCH] Fix crypt() implicit function declaration + +crypt() is POSIX and setting _XOPEN_SOURCE makes glibc inhibit +defining it w/o _DEFAULT_SOURCE. + +Bug: https://bugs.gentoo.org/871492 +--- a/src/backend_pgsql.c ++++ b/src/backend_pgsql.c +@@ -8,7 +8,6 @@ + * William Grzybowski + */ + +-#define _XOPEN_SOURCE 500 + #include + #include + #include diff --git a/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r1.ebuild b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r1.ebuild deleted file mode 100644 index 656ce64960a5..000000000000 --- a/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit pam - -DESCRIPTION="PAM module to authenticate users via PostgreSQL" -HOMEPAGE="https://sourceforge.net/projects/pam-pgsql/" - -if [[ ${PV} == *_p* ]]; then - SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.gz" -else - SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" -fi - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=dev-db/postgresql-8.0:= - >=dev-libs/libgcrypt-1.2.0:0= - sys-libs/pam - virtual/libcrypt:=" -DEPEND="${RDEPEND}" - -src_configure() { - econf \ - --sysconfdir=/etc/security \ - --libdir=/$(get_libdir) -} - -src_compile() { - emake pammoddir="$(getpam_mod_dir)" -} - -src_install() { - emake DESTDIR="${D}" pammoddir="$(getpam_mod_dir)" install - - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - elog "Please see the documentation and configuration examples in the" - elog "documentation directory at /usr/share/doc/${PF}." - elog "" - elog "Please note that the default configuration file in Gentoo has been" - elog "moved to /etc/security/pam-pgsql.conf to follow the other PAM modules." - fi -} diff --git a/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild new file mode 100644 index 000000000000..cf3ad756ccad --- /dev/null +++ b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit pam + +DESCRIPTION="PAM module to authenticate users via PostgreSQL" +HOMEPAGE="https://sourceforge.net/projects/pam-pgsql/" + +if [[ ${PV} == *_p* ]]; then + SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.gz" +else + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-db/postgresql-8.0:= + >=dev-libs/libgcrypt-1.2.0:0= + sys-libs/pam + virtual/libcrypt:=" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.7.3.2-Fix-crypt-implicit-function-declaration.patch +) + +src_configure() { + econf \ + --sysconfdir=/etc/security \ + --libdir=/$(get_libdir) +} + +src_compile() { + emake pammoddir="$(getpam_mod_dir)" +} + +src_install() { + emake DESTDIR="${D}" pammoddir="$(getpam_mod_dir)" install + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "Please see the documentation and configuration examples in the" + elog "documentation directory at /usr/share/doc/${PF}." + elog "" + elog "Please note that the default configuration file in Gentoo has been" + elog "moved to /etc/security/pam-pgsql.conf to follow the other PAM modules." + fi +} -- cgit v1.2.3