summaryrefslogtreecommitdiff
path: root/net-libs/libnsl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-13 18:18:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-13 18:18:15 +0100
commitb8330d80ce605a72596ccfa1bfc087b9ded559b8 (patch)
tree209587b26d39505ff0a0c21c2f20ef51652688e9 /net-libs/libnsl
parent41c2683a5cfac2bd3280dc5d5aaed73b6c377bcf (diff)
gentoo auto-resync : 13:10:2023 - 18:18:15
Diffstat (limited to 'net-libs/libnsl')
-rw-r--r--net-libs/libnsl/Manifest2
-rw-r--r--net-libs/libnsl/libnsl-2.0.1.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/net-libs/libnsl/Manifest b/net-libs/libnsl/Manifest
index b341348e8fd1..1233f4364959 100644
--- a/net-libs/libnsl/Manifest
+++ b/net-libs/libnsl/Manifest
@@ -1,7 +1,9 @@
AUX libnsl-1.3.0-rpath.patch 479 BLAKE2B e500165f8ad8af21f64eb570286d8eefe51547e56e07ab70dbdc7a6824cefd010edf99c6c0b8fdf9f00ffe5e0feffab01cecc6a96dc7444536371adac7157eaa SHA512 37457cae1ed15dbfc9d72bdd6701e20abb027da1e01e48a5202ac209654a014a0f7352701790a643aa7ff12b7be0abff998596a5e09afb6f1f76eb5458f600e2
DIST libnsl-1.3.0.tar.xz 321488 BLAKE2B 25cb4fa2b3f161ce4cd06ca5cc0a716bf981620de4eb102f464bc1919b8f6d82f7b02a6108260122000bbac0307d9db05d406183dc533dd1b97683d08a7fc5f5 SHA512 a5a6c3ccb2d1e724c8c1f65e55dcd09383eb1ae019c55f4c09441eadf23ffbc2196cfad259805b0ac40ddf3a10af0da453e4d739d67d46829c64d0995dab4e55
DIST libnsl-2.0.0.tar.xz 284408 BLAKE2B 843cd0346b45a688c59b88caebd9c5c938b0ef4b5e751b27599ae725a19f0ba2b88bc23b861edc75d79ae6c6bb829e4f82e9e3cd994d25d3385b1a75b9b58b8e SHA512 02ff41d335b7e965182c1f47a6448c1a71ae991a4d5a86ae5472cea7b38633a36b736469cc0d9fc407c706f3f144f90e4b7c9653643976805aa96fc319a69784
+DIST libnsl-2.0.1.tar.xz 281892 BLAKE2B 91ad7558127a675bc861dee11d00d82a999462d34753f579a77c1579a7f8be1ded2eff11ecfde9dc81e2466118c288ee18a8b280453f6548cc2b4528021e1503 SHA512 0ffdf15b4380fc89bf11f4f64b74ed999099c0ab3ee39cafd52f933a5000f9b1ed3987c8c13533a7cd92474aadd4cc9909a2e1eabc9143f0cb11746385e5fc57
EBUILD libnsl-0-r2.ebuild 556 BLAKE2B a2f19bcb32d1d626d4551e111eee73304540778b3180cfbe32b93c30061b50d7bf64edde886c4003ecf6bf61c52f37b37109db6340fd33b6f1a1604c94ec3340 SHA512 1959a6cecaa5b92ba542b83b756da089c8dfb5b1e8b89159027adb830a6cf13a4015bca1124aeff877898f05718670e4e6d0f19733a42d30f6f2beced7114d1a
EBUILD libnsl-1.3.0-r2.ebuild 951 BLAKE2B 72b573b5ab47b3c0cde28604f869f31d1e66f3cf9e71a2357b576055b5974285a7f98646c00cad7aa5bceedf52e339f8c661822b04b3e076d32a70f851d82496 SHA512 67267e0d874d6d67fb92defe07c12701e9d2b1f8019680759d146c91a857fe093b997faf85e22c538ea4833d85222cbf0a5014cc4a1ce8cc6a2d04fd06aaadf3
EBUILD libnsl-2.0.0-r1.ebuild 1239 BLAKE2B d99b268d9ed8880f0bdaa46dbfe3b69dcb670a8c680e4f5a3c086ef731d94c75cf5cd9edc1bd10eaebc62c643514302d22161e8167ea924dc8cd0b4db1d3d87f SHA512 1bffd3f8272dbd808269168440c878a08268e6639420d53d84ae3212116c0faa253b84968d18263b341e2d50232ce1e9b93e2792ecf61b56d33405556dbdf74e
+EBUILD libnsl-2.0.1.ebuild 1251 BLAKE2B 9c5d88ff66988c4749df4ab4c1f6d80e1f5291ca7fae2dce16eefe31131e920f4911fab5ff4b2e86fcd536c0dbde05736bca2d83381ecc97a444dcfa8e6b9a99 SHA512 37a6f285e0423a11832202084631ae60b33bd380f0c141bb29e7b7f6c184303d77d8aaa41c1c2ad3bd13198b48ee435021fcd635e49380eb570ab7b9583c6544
MISC metadata.xml 467 BLAKE2B 2d74b806716719c1934f23891142a8d0637a8d18b9d4d135f5bd81171c0014f74e5ba29f84cccc5b05ed93c565e067890b6790aedcb6017431483657cbb1eb68 SHA512 2b506946ace202df654cd398987122955c32d0cb42df1cd5cb159178b6c5df7786c33a309515fd43e2e130dde936536200af1beea2f973efcada4e4dd915d3ce
diff --git a/net-libs/libnsl/libnsl-2.0.1.ebuild b/net-libs/libnsl/libnsl-2.0.1.ebuild
new file mode 100644
index 000000000000..671f79301416
--- /dev/null
+++ b/net-libs/libnsl/libnsl-2.0.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal preserve-libs
+
+DESCRIPTION="Public client interface for NIS(YP) in a IPv6 ready version"
+HOMEPAGE="https://github.com/thkukuk/libnsl"
+SRC_URI="https://github.com/thkukuk/${PN}/releases/download/v${PV}/${P}.tar.xz"
+
+# This is a core package which is depended on by e.g. PAM in some cases.
+# Please use preserve-libs.eclass in pkg_{pre,post}inst to cover users
+# with FEATURES="-preserved-libs" or another package manager if SONAME
+# changes.
+SLOT="0/3"
+LICENSE="LGPL-2.1+ BSD"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+DEPEND=">=net-libs/libtirpc-1.2.0:=[${MULTILIB_USEDEP}]"
+RDEPEND="
+ ${DEPEND}
+ !<sys-libs/glibc-2.26
+"
+
+multilib_src_configure() {
+ local myconf=(
+ --enable-shared
+ $(use_enable static-libs static)
+ )
+
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -type f -name '*.la' -delete || die
+}
+
+pkg_preinst() {
+ preserve_old_lib /usr/$(get_libdir)/libnsl.so.2
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify /usr/$(get_libdir)/libnsl.so.2
+}