mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
net-libs/libnsl: Add from Gentoo
It's from Gentoo commit 912b3be04d9e5ee047d2d5c2006534a87bb03c36. It's a dependency of the updated sys-devel/gdb package.
This commit is contained in:
parent
73bcaf7464
commit
0c4728937e
2
sdk_container/src/third_party/portage-stable/net-libs/libnsl/Manifest
vendored
Normal file
2
sdk_container/src/third_party/portage-stable/net-libs/libnsl/Manifest
vendored
Normal file
@ -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
|
16
sdk_container/src/third_party/portage-stable/net-libs/libnsl/files/libnsl-1.3.0-rpath.patch
vendored
Normal file
16
sdk_container/src/third_party/portage-stable/net-libs/libnsl/files/libnsl-1.3.0-rpath.patch
vendored
Normal file
@ -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
|
19
sdk_container/src/third_party/portage-stable/net-libs/libnsl/libnsl-0-r2.ebuild
vendored
Normal file
19
sdk_container/src/third_party/portage-stable/net-libs/libnsl/libnsl-0-r2.ebuild
vendored
Normal file
@ -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? ( <sys-libs/glibc-2.26 )"
|
||||
RDEPEND="${DEPEND}"
|
42
sdk_container/src/third_party/portage-stable/net-libs/libnsl/libnsl-1.3.0-r2.ebuild
vendored
Normal file
42
sdk_container/src/third_party/portage-stable/net-libs/libnsl/libnsl-1.3.0-r2.ebuild
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="Public client interface for NIS(YP) and NIS+ 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"
|
||||
|
||||
SLOT="0/2"
|
||||
LICENSE="LGPL-2.1+"
|
||||
|
||||
# Stabilize together with glibc-2.26!
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~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
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3.0-rpath.patch
|
||||
)
|
||||
|
||||
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
|
||||
}
|
46
sdk_container/src/third_party/portage-stable/net-libs/libnsl/libnsl-2.0.0-r1.ebuild
vendored
Normal file
46
sdk_container/src/third_party/portage-stable/net-libs/libnsl/libnsl-2.0.0-r1.ebuild
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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+"
|
||||
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
|
||||
}
|
15
sdk_container/src/third_party/portage-stable/net-libs/libnsl/metadata.xml
vendored
Normal file
15
sdk_container/src/third_party/portage-stable/net-libs/libnsl/metadata.xml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>toolchain@gentoo.org</email>
|
||||
<name>Gentoo Toolchain Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">thkukuk/libnsl</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user