summaryrefslogtreecommitdiff
path: root/net-libs/libnsl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /net-libs/libnsl
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'net-libs/libnsl')
-rw-r--r--net-libs/libnsl/Manifest5
-rw-r--r--net-libs/libnsl/files/libnsl-1.3.0-rpath.patch16
-rw-r--r--net-libs/libnsl/libnsl-1.2.0.ebuild2
-rw-r--r--net-libs/libnsl/libnsl-1.3.0-r1.ebuild42
4 files changed, 63 insertions, 2 deletions
diff --git a/net-libs/libnsl/Manifest b/net-libs/libnsl/Manifest
index d584ea02ec35..ebecf49328d8 100644
--- a/net-libs/libnsl/Manifest
+++ b/net-libs/libnsl/Manifest
@@ -1,4 +1,7 @@
+AUX libnsl-1.3.0-rpath.patch 479 BLAKE2B e500165f8ad8af21f64eb570286d8eefe51547e56e07ab70dbdc7a6824cefd010edf99c6c0b8fdf9f00ffe5e0feffab01cecc6a96dc7444536371adac7157eaa SHA512 37457cae1ed15dbfc9d72bdd6701e20abb027da1e01e48a5202ac209654a014a0f7352701790a643aa7ff12b7be0abff998596a5e09afb6f1f76eb5458f600e2
DIST libnsl-1.2.0.tar.gz 209188 BLAKE2B 4249cfbf0b5391790f5e5f81e4eb0be963e5fdc0c32a9400d4128e717d93da49f8751caf8de3bb4ba1a23b8670a0e4f8e750f38f4612dd0cc97db4c157421a06 SHA512 30115aa679a04ad01f55cff9dd1890b4c41c730a9bac2adab5add9ae03a0b4687c5f4b6e3b8652ecbb074eefac8faee3f1f13ea60d42cf4432db8a575ca72cd8
+DIST libnsl-1.3.0.tar.xz 321488 BLAKE2B 25cb4fa2b3f161ce4cd06ca5cc0a716bf981620de4eb102f464bc1919b8f6d82f7b02a6108260122000bbac0307d9db05d406183dc533dd1b97683d08a7fc5f5 SHA512 a5a6c3ccb2d1e724c8c1f65e55dcd09383eb1ae019c55f4c09441eadf23ffbc2196cfad259805b0ac40ddf3a10af0da453e4d739d67d46829c64d0995dab4e55
EBUILD libnsl-0-r1.ebuild 564 BLAKE2B 20dd0a9847b571117f74664778ef7b21906c5f7b822af15f05644789e41cc33b7fd924b5dc6bb76e98811148d8d592da75d805ff6610d712ed898ecb1662de19 SHA512 c243edc4f9f9ed5e7a98b7063dc8401495e5f9f821b5ae13008ce05cebdc4ffb79f5ed1a8dd8b0a13dd55e74f62f18c9566e74a3a09418647c2285c2519fb707
-EBUILD libnsl-1.2.0.ebuild 913 BLAKE2B 08008eda655addd24960dff1e696c186a11cd428594e4b71c68bb3e48494a84eda582e5857d4578fb7cf50fb20c1e7840db47ac991934740f7efd27a8b985fd3 SHA512 1883e47e564865ba5018fe8fa905c641b389d35c4da3323319be151c778aac9abf25e97695ca6aaa5901412950b50a18abe313e7bc94fe757612cef11df980f6
+EBUILD libnsl-1.2.0.ebuild 910 BLAKE2B c79c866bbcee794929c8fb4c596f5db45da92fb62e888b761afe95665f67be12402fdae74e973901ad89b38743c7fbbad7a763e4e7b9dd0c492025119c3d3bf1 SHA512 45259a766144a673674f01bbcec425952b7aa3cff3a4556564843a560c59c0f9f436055b046cd893fa8f1c5eac9ef9d10abdbb920a1edcbcba5ee9d28ee734bd
+EBUILD libnsl-1.3.0-r1.ebuild 919 BLAKE2B 6fce877a68e4d75edd80ce7ad34dd7adc499a6c780f7374ed8f90572ecebfd6631cda5351ef311e72e0c9f18daada1cc27e648ad15172bbff9f0619074e6e517 SHA512 e954e1a9b76a4865656eb7083c178f640c75ef17d155ece248e6b829b06c1469f4be384b43a38595a27162640837aa99495d3a6877caef341f83e37cd36235a1
MISC metadata.xml 379 BLAKE2B 9fb870d3a0ed3c94fdc445b5fabd01e52bd29428a9b464729a23a6e23918d2425a1e2ee850b36c0d5205bd76143e49a23f1d1c8366eef186736f1376c2bb5ce3 SHA512 00a77262e76176fbc54ff2d1d8ba070868f185f5f940abd25ad1af80fd52f1560c9e0290c42283a98519a653a334ed6dfd4e0f8540d10946253b3afc205bb753
diff --git a/net-libs/libnsl/files/libnsl-1.3.0-rpath.patch b/net-libs/libnsl/files/libnsl-1.3.0-rpath.patch
new file mode 100644
index 000000000000..1189dae37cfa
--- /dev/null
+++ b/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/net-libs/libnsl/libnsl-1.2.0.ebuild b/net-libs/libnsl/libnsl-1.2.0.ebuild
index 6a446af1826e..9e55d5d548d0 100644
--- a/net-libs/libnsl/libnsl-1.2.0.ebuild
+++ b/net-libs/libnsl/libnsl-1.2.0.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sp
IUSE=""
DEPEND="
- >=net-libs/libtirpc-1.0.2-r1[${MULTILIB_USEDEP}]
+ >=net-libs/libtirpc-1.2.0[${MULTILIB_USEDEP}]
"
RDEPEND="${DEPEND}
!<sys-libs/glibc-2.26
diff --git a/net-libs/libnsl/libnsl-1.3.0-r1.ebuild b/net-libs/libnsl/libnsl-1.3.0-r1.ebuild
new file mode 100644
index 000000000000..5a5cdfc6f771
--- /dev/null
+++ b/net-libs/libnsl/libnsl-1.3.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 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=""
+
+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
+ --disable-static
+ )
+ ECONF_SOURCE=${S} econf "${myconf[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -type f -name '*.la' -delete || die
+}