summaryrefslogtreecommitdiff
path: root/sys-auth/libnss-nis
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/libnss-nis')
-rw-r--r--sys-auth/libnss-nis/Manifest2
-rw-r--r--sys-auth/libnss-nis/libnss-nis-3.2.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-auth/libnss-nis/Manifest b/sys-auth/libnss-nis/Manifest
index 54d4cb636c17..71e6a154694d 100644
--- a/sys-auth/libnss-nis/Manifest
+++ b/sys-auth/libnss-nis/Manifest
@@ -1,3 +1,5 @@
DIST libnss-nis-3.1.tar.gz 225933 BLAKE2B 23b0c760f48f2f1bd2bcd6a1d3b2e7da0bc2f186b23f4ff961faf78b76bfbbaaa238a510979b086f279f4c4e25f98d9ae8631e5222dc7479e8c50b0f4572b0da SHA512 fab2d035ef9cea5fa6351c44085a96f9f90e50550b77aa3898e0d5a6ff296951b22b4ac58979d07ae3b3da2f97c7e47ab466e1a5868e7f218971028174159636
+DIST libnss_nis-3.2.tar.xz 257420 BLAKE2B e256680bae1d989cf097c9405328f85bf445249f82331d2e943a589c635387af803bebdb5e96235d371886e0c578c0902c9d0b1958c69cc594c93233012c4dad SHA512 d35d1ad88503082a43ad854b5ad6de08367a098871d073eb48a2a2be593326b323dc9c164ce59ee203b34b0b141327c5816129e16170425e8b283e5e2d90a2fa
EBUILD libnss-nis-3.1.ebuild 841 BLAKE2B 50a594d0c1fa5af66a92f5dca43ed14fee93a33671f8170ba36f6dc0771d5f773834e9b99e82c7e71c2105d5c427a794e56795776b8994d7942f0eec7b74881e SHA512 6bca9ea40bda16e242f3141bc45bb776e6193c47a9e349eb19673039ad53ec28a7f56e5b4a18c6367ca4d849e3ac12d10e04cccea88f46ee644df1e193734f4a
+EBUILD libnss-nis-3.2.ebuild 796 BLAKE2B 52817d32e650bb14e2d987022ed231dcd1ef19f04df93cffc57742ad800a4f358e68d40a7ba715d7e4eba3dd66e8d97cc22cb76bced98666110544696edc2553 SHA512 da1789507ebc28be9bdcd681824ab05ead5ac384ea740562c09ef956b1d8ed739be3e4391af7348c9876ffcf04d461fdadbcd70630ea074e90721e21356a7c5e
MISC metadata.xml 305 BLAKE2B 9ffdf597ac17a475b676bb74614ee3eedb34ccd3a4ed24a12985ead7d0372244097ad717e0764c9d692cd3df396deb32ad553f7b0f6699176152904a661a1d63 SHA512 18211d95dbda712e3aaa7d026e957ecdc8b491c47b8b24489558f44c2ead1231636788a49e1a7d0ea4452f66d2170afc3c5418f9bf58f788a64a723c7826fb63
diff --git a/sys-auth/libnss-nis/libnss-nis-3.2.ebuild b/sys-auth/libnss-nis/libnss-nis-3.2.ebuild
new file mode 100644
index 000000000000..29f8f4ab51c8
--- /dev/null
+++ b/sys-auth/libnss-nis/libnss-nis-3.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="NSS module to provide NIS support"
+HOMEPAGE="https://github.com/thkukuk/libnss_nis"
+SRC_URI="https://github.com/thkukuk/libnss_nis/releases/download/v${PV}/${MY_P}.tar.xz"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="LGPL-2.1+ BSD ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="
+ >net-libs/libnsl-0:=[${MULTILIB_USEDEP}]
+ net-libs/libtirpc:=[${MULTILIB_USEDEP}]
+ !<sys-libs/glibc-2.26
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+multilib_src_configure() {
+ local myconf=(
+ --enable-shared
+ )
+
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+}