summaryrefslogtreecommitdiff
path: root/net-libs/libtirpc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
commitb8c7370a682e4e29cda623222d17a790c01c3642 (patch)
treef6caa14689bd00a5760eadaa381ff41e50ef3c1b /net-libs/libtirpc
parent8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff)
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'net-libs/libtirpc')
-rw-r--r--net-libs/libtirpc/Manifest1
-rw-r--r--net-libs/libtirpc/libtirpc-1.3.4-r3.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/net-libs/libtirpc/Manifest b/net-libs/libtirpc/Manifest
index aad00045e57e..18f308154980 100644
--- a/net-libs/libtirpc/Manifest
+++ b/net-libs/libtirpc/Manifest
@@ -2,4 +2,5 @@ DIST libtirpc-1.3.4.tar.bz2 563292 BLAKE2B 33371e83e9f54e9d6d434b75d3a95bedefce6
DIST libtirpc-glibc-nfs.tar.xz 8948 BLAKE2B 7316623d9f2b6928e296137fe2bf6794b208d549c2ffba9e4a35b47f7b04bf023798a09f38c02d039debf6adc466d7689cf3c8274d71a22eaff08729642c0a28 SHA512 90255bf0a27af16164e0710dd940778609925d473f4343093ff19d98cc4f23023788bf4edf0178eae1961afc0ba8b69b273de95b7d7e2afdb706701d8ba6f7ba
EBUILD libtirpc-1.3.4-r1.ebuild 1645 BLAKE2B a71c82b4ccf5cde1a4758be01fbd1f96cd5b388b0938f8de63359e8475d6cf1569adc83fa282b80eaeb6d098a85a6f76aede2d1836fc2c222f21180c380050d6 SHA512 1a29dd82842eb22c999e36864d5c092afe12de6e36649f42ae3fad106ab18230be5be58a9aed4600ef28867d5599dd2d4c5c1be2ff0a224c7b3cd4cc7faa19c8
EBUILD libtirpc-1.3.4-r2.ebuild 1505 BLAKE2B a84ed79a8c5cc51c38d2613c189c6c024c83c0e20564fd8a2bb331c466ec7efbdd19668812f2dbbeecc5233e0f8673acffe6a3a857a72c6064fd0e94ae61cd4b SHA512 4a8945c97143f4969e5f8e38713785aa8f516d856eca81a596fb610036621fa90df0d2cb681be313b55c2bd8dfb2194039b0b833258af01707c2233f7bae09db
+EBUILD libtirpc-1.3.4-r3.ebuild 1561 BLAKE2B d085bdca07f005324b9837d54d8e212eb4897e731972fc26a36be7eed0c7075585762b9c359d1e2f88cc3fba7b8b7bc12d24463136cc2e3a350c6533ab0224ba SHA512 c5d10a2ecf76728d75cbba79eea8a955276979572e0d7ca61629ace15273e3ba5ab62473e1da32a7780910a4dbd85961fa5b15353cacd4daa70c6ca07b617de6
MISC metadata.xml 405 BLAKE2B 3006391cb2dac9927f450164f2705d31c35172560ddb436edb76f6c56efc2915a63d57e5be8835801b3b4bbe77526cdaf681b49c4fa43285549b7f0707af4814 SHA512 63489cba710ba40c334508406bf10c28ddc2133cd3eab86afde1670e3d4bb126d0e77abb45c99fd7b6abd438a9e7cc5a10b6742563be51601c7945c87419c928
diff --git a/net-libs/libtirpc/libtirpc-1.3.4-r3.ebuild b/net-libs/libtirpc/libtirpc-1.3.4-r3.ebuild
new file mode 100644
index 000000000000..b37b2dd4d804
--- /dev/null
+++ b/net-libs/libtirpc/libtirpc-1.3.4-r3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic libtool multilib-minimal
+
+DESCRIPTION="Transport Independent RPC library (SunRPC replacement)"
+HOMEPAGE="https://sourceforge.net/projects/libtirpc/ https://git.linux-nfs.org/?p=steved/libtirpc.git"
+SRC_URI="
+ https://downloads.sourceforge.net/${PN}/${P}.tar.bz2
+ mirror://gentoo/${PN}-glibc-nfs.tar.xz
+"
+
+LICENSE="BSD BSD-2 BSD-4 LGPL-2.1+"
+SLOT="0/3" # subslot matches SONAME major
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="kerberos static-libs"
+
+RDEPEND="kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )"
+DEPEND="
+ ${RDEPEND}
+ elibc_musl? ( sys-libs/queue-standalone )
+"
+BDEPEND="
+ app-arch/xz-utils
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ cp -ra "${WORKDIR}"/tirpc "${S}"/ || die
+
+ default
+ elibtoolize
+}
+
+multilib_src_configure() {
+ append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
+ local myeconfargs=(
+ $(use_enable kerberos gssapi)
+ $(use_enable static-libs static)
+ KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config
+ )
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ insinto /etc
+ doins doc/netconfig
+
+ insinto /usr/include/tirpc
+ doins -r "${WORKDIR}"/tirpc/*
+
+ # makes sure that the linking order for nfs-utils is proper, as
+ # libtool would inject a libgssglue dependency in the list.
+ if ! use static-libs ; then
+ find "${ED}" -name "*.la" -delete || die
+ fi
+}