From ade75f86ff1a35c5356a963f3c5780aceb228b0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Sun, 1 Sep 2024 17:54:39 +0200 Subject: [PATCH] [sys-auth/libnss-extrausers] move from froxlor overlay --- sys-auth/libnss-extrausers/Manifest | 2 ++ .../libnss-extrausers-0.6.ebuild | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 sys-auth/libnss-extrausers/Manifest create mode 100644 sys-auth/libnss-extrausers/libnss-extrausers-0.6.ebuild diff --git a/sys-auth/libnss-extrausers/Manifest b/sys-auth/libnss-extrausers/Manifest new file mode 100644 index 0000000..4f8ea27 --- /dev/null +++ b/sys-auth/libnss-extrausers/Manifest @@ -0,0 +1,2 @@ +DIST libnss-extrausers_0.6-5.debian.tar.xz 7040 BLAKE2B 778d3a6669eefb765acf37a01ec019a3717f82f044c14f89fe7e768110f478fad8afe182a9390312e43f7d6cc87ffd403e0c6af78c263edba6bd5f4dc599fad4 SHA512 cfdc7cb6c9bae2032386d733f3cea758c2fcafa725e7a8d66e4a3e8f57c19951e3edb391b11799e8b8c399d3d20cad855036f568182a4dc448f605eb0c385df7 +DIST libnss-extrausers_0.6.orig.tar.gz 5258 BLAKE2B 822c364371211e0ddda9d4884cc685dd081e5f0983a52534c40d1976ae840811b0b0bd24463bc3f44cb806998e073f339339f31c427b57b55b2b94133557352d SHA512 ecdbc10caaa42830361571ea3cd6246d538e6c0771b3e9d5d7fb73daed3e8dc74730f1db0e761117196f219d64a95c3eacbcdd060c047bdd1650ab2c10911680 diff --git a/sys-auth/libnss-extrausers/libnss-extrausers-0.6.ebuild b/sys-auth/libnss-extrausers/libnss-extrausers-0.6.ebuild new file mode 100644 index 0000000..ce10c73 --- /dev/null +++ b/sys-auth/libnss-extrausers/libnss-extrausers-0.6.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="nss module to have an additional passwd, shadow and group file" +HOMEPAGE="https://sources.debian.org/src/libnss-extrausers/0.6-5/" +SRC_URI="mirror://debian/pool/main/libn/${PN}/${PN}_${PV}.orig.tar.gz + mirror://debian/pool/main/libn/${PN}/${PN}_${PV}-5.debian.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + for patch in $(< "${WORKDIR}"/debian/patches/series); do + eapply "${WORKDIR}"/debian/patches/${patch} + done + default +} + +src_install() { + emake DESTDIR="${D}" libprefix="${EPREFIX}/usr/$(get_libdir)" install +}