diff --git a/sdk_container/src/third_party/portage-stable/net-libs/libnsl/Manifest b/sdk_container/src/third_party/portage-stable/net-libs/libnsl/Manifest new file mode 100644 index 0000000000..1b1355f342 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/libnsl/Manifest @@ -0,0 +1,2 @@ +DIST libnsl-1.3.0.tar.xz 321488 BLAKE2B 25cb4fa2b3f161ce4cd06ca5cc0a716bf981620de4eb102f464bc1919b8f6d82f7b02a6108260122000bbac0307d9db05d406183dc533dd1b97683d08a7fc5f5 SHA512 a5a6c3ccb2d1e724c8c1f65e55dcd09383eb1ae019c55f4c09441eadf23ffbc2196cfad259805b0ac40ddf3a10af0da453e4d739d67d46829c64d0995dab4e55 +DIST libnsl-2.0.0.tar.xz 284408 BLAKE2B 843cd0346b45a688c59b88caebd9c5c938b0ef4b5e751b27599ae725a19f0ba2b88bc23b861edc75d79ae6c6bb829e4f82e9e3cd994d25d3385b1a75b9b58b8e SHA512 02ff41d335b7e965182c1f47a6448c1a71ae991a4d5a86ae5472cea7b38633a36b736469cc0d9fc407c706f3f144f90e4b7c9653643976805aa96fc319a69784 diff --git a/sdk_container/src/third_party/portage-stable/net-libs/libnsl/files/libnsl-1.3.0-rpath.patch b/sdk_container/src/third_party/portage-stable/net-libs/libnsl/files/libnsl-1.3.0-rpath.patch new file mode 100644 index 0000000000..1189dae37c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/libnsl/files/libnsl-1.3.0-rpath.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/732100 + +Remove invalid shell from config.rpath. +--- a/config.rpath ++++ b/config.rpath +@@ -216,9 +216,7 @@ if test "$with_gnu_ld" = yes; then + ;; + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then +- if $libdir == /usr/lib | $libdir == /usr/lib64; then +- hardcode_libdir_flag_spec="" +- fi ++ : + else + ld_shlibs=no + fi diff --git a/sdk_container/src/third_party/portage-stable/net-libs/libnsl/libnsl-0-r2.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/libnsl/libnsl-0-r2.ebuild new file mode 100644 index 0000000000..d2660a9b9c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/libnsl/libnsl-0-r2.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Used only to populate IUSE, bug 643058 +inherit multilib-build + +DESCRIPTION="Public client interface for NIS(YP) and NIS+ in a IPv6 ready version" +HOMEPAGE="https://github.com/thkukuk/libnsl" + +# Fake version to help portage upgrading. + +LICENSE="LGPL-2.1+" +SLOT="0/1" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" + +DEPEND="elibc_glibc? ( + + + + toolchain@gentoo.org + Gentoo Toolchain Project + + + base-system@gentoo.org + Gentoo Base System Project + + + thkukuk/libnsl + +