diff options
Diffstat (limited to 'net-libs/libtirpc')
-rw-r--r-- | net-libs/libtirpc/Manifest | 3 | ||||
-rw-r--r-- | net-libs/libtirpc/files/libtirpc-1.3.3-release-version.patch | 91 | ||||
-rw-r--r-- | net-libs/libtirpc/libtirpc-1.3.3.ebuild | 66 |
3 files changed, 160 insertions, 0 deletions
diff --git a/net-libs/libtirpc/Manifest b/net-libs/libtirpc/Manifest index 549f8079cef7..a053d3737e85 100644 --- a/net-libs/libtirpc/Manifest +++ b/net-libs/libtirpc/Manifest @@ -1,8 +1,11 @@ AUX libtirpc-1.3.2-dos.patch 4821 BLAKE2B 033ac017c663610389d50730994fde908b5a44cc41399006735bcd0b6a9e37ef58887e8b64487534a878faa599d968bd6d5588fa18761816a8dad69c6839b61f SHA512 01e9fc4adb55f2baf2a2646237a72203647cc7bb310d9706f2517ef262d31772a835c0f5860498c3e6f98c74254e125d3c7068b7455f0665d13ac2af045f1385 AUX libtirpc-1.3.2-memory-leak.patch 1691 BLAKE2B 166245e7f2179094a9e7937083998548fe55b4fb1f948c523fa0be81974c1cb30c3fb36c13337bc694aa5ecf40d4681b0792cd377c6c7684b76e9ec6da1c9400 SHA512 bc639ed3f4be7d0d76402ab445d6ed93c8db00dc417ad458658c77af67de2d1e3a024c67fa327e38f1191b6515d365cc606d38d0eae8ec65a27b02f4c48acf9f AUX libtirpc-1.3.2-use-after-free.patch 995 BLAKE2B b654c6e9f94d236b7d3aae2b730429bdb5803f5a685a2f041f22b500eac0127139a007ccb7e3c8f5cec8a7488db73c5f1287333d91925262ed2b95d557a10961 SHA512 0a259a3d68a41e418c7b5b0bf9cca7a6255e6cfc0ba0e0cfe559e683c654ce4b1af2d249c17f81be2a3cea7a20f48a2065d5ec5ecb83786cc0bd61a93414eb7b +AUX libtirpc-1.3.3-release-version.patch 3090 BLAKE2B 3578e2f9ac0dc6479d790c9bf20850d2be18bdfa7819e9f36861b679ce718f84c74dbb79a403fef4f1c7215e5b8e5c14cdc56b9f8b79d4ac3536630fb2d91d12 SHA512 74ff64a9d9c6cb4eb899d43899c7bb306709ecf6748989a056a78296101b6258d287f7f348fde05ce053eacdefe36a62752756cec3e361a9bb5fb671d7598a4f DIST libtirpc-1.3.2.tar.bz2 513151 BLAKE2B 375b7bb046244f4666522c4f148428349fe1867b095dc5e268d037ba26982f88df70b0ad21fbe2b99150f644806a46651b524c3b9f7fe2499469806ea50b0331 SHA512 8664d5c4f842ee5acf83b9c1cadb7871f17b8157a7c4500e2236dcfb3a25768cab39f7c5123758dcd7381e30eb028ddfa26a28f458283f2dcea3426c9878c255 +DIST libtirpc-1.3.3.tar.bz2 562812 BLAKE2B e229869b05103d912b677f78648dce1f7fa7649bdf44b782a5fb97635eecf07f768bbc0ef25c0f065c8253fbe37c12b80934d9102b7345adfc4102897458b487 SHA512 df0781a74ff9ded2d3c4f5eb7e05496b9f58eac8060c02c68331dc14c4a00304dcd19f46836f5756fe0d9d27095fd463d42dd696fcdff891516711b7d63deabe DIST libtirpc-glibc-nfs.tar.xz 8948 BLAKE2B 7316623d9f2b6928e296137fe2bf6794b208d549c2ffba9e4a35b47f7b04bf023798a09f38c02d039debf6adc466d7689cf3c8274d71a22eaff08729642c0a28 SHA512 90255bf0a27af16164e0710dd940778609925d473f4343093ff19d98cc4f23023788bf4edf0178eae1961afc0ba8b69b273de95b7d7e2afdb706701d8ba6f7ba EBUILD libtirpc-1.3.2-r1.ebuild 1675 BLAKE2B f9e1dc1d82e8a3a1eec4b21ca9065d6e74894872474fb5b30a9e2ec261821aa75fa3c55b210fd4f7970eef44bdc44dc2f4313322d9f2b7179f56dc2adacb72aa SHA512 5a92d6a4a2c0720b9e348d81da333207b70160c29403152a5793f00f15919ffba524a198fa8db6e01ae77f6a0ad3216a883a048c5140a5375bdaee69f016a57d EBUILD libtirpc-1.3.2.ebuild 1505 BLAKE2B 4401d8de52c71bf6be066b36a3d27c308bb0fd1b7ee8d027fc5a1e8c26183b86412f001275274377ff60ec207a16ca2815daf19f0fb4a186d9be343bd5157d61 SHA512 c1d0c9d720ce1eddecc1e6b32be3f2b95d6b70338c377440bca6cf578a8eb49bb8bd4eb8dd1051e518166900a05fe6a90cc459a056ab96ed1e2a6f8f5d07a282 +EBUILD libtirpc-1.3.3.ebuild 1620 BLAKE2B 978eff80ae61dcc0e808f3f7bd3ae65b899fa2c5aa011c22977efb98a386f634d5efa38f7547329df40fc82fe3c3be5872878b784be6cf1a3fb41da33f47a988 SHA512 71c2bb32559be1ad997675eefcfb5256e6949c23c42bd1b3f8316d4d17072240703dd9fafcf6066ead30c271e07a60828bf67e1fef9e9c67af813368bd7e3498 MISC metadata.xml 405 BLAKE2B 3006391cb2dac9927f450164f2705d31c35172560ddb436edb76f6c56efc2915a63d57e5be8835801b3b4bbe77526cdaf681b49c4fa43285549b7f0707af4814 SHA512 63489cba710ba40c334508406bf10c28ddc2133cd3eab86afde1670e3d4bb126d0e77abb45c99fd7b6abd438a9e7cc5a10b6742563be51601c7945c87419c928 diff --git a/net-libs/libtirpc/files/libtirpc-1.3.3-release-version.patch b/net-libs/libtirpc/files/libtirpc-1.3.3-release-version.patch new file mode 100644 index 000000000000..e80b02245a4d --- /dev/null +++ b/net-libs/libtirpc/files/libtirpc-1.3.3-release-version.patch @@ -0,0 +1,91 @@ +https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commitdiff;h=0fb94eef5062d2657d75eee686fa47238fafa312 + +From: Steve Dickson <steved@redhat.com> +Date: Sun, 7 Aug 2022 12:57:19 -0400 +Subject: [PATCH] Release: 1.3.3 + +Signed-off-by: Steve Dickson <steved@redhat.com> +--- a/configure ++++ b/configure +@@ -1,6 +1,6 @@ + #! /bin/sh + # Guess values for system-dependent variables and create Makefiles. +-# Generated by GNU Autoconf 2.71 for libtirpc 1.3.2. ++# Generated by GNU Autoconf 2.71 for libtirpc 1.3.3. + # + # + # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +@@ -618,8 +618,8 @@ MAKEFLAGS= + # Identity of this package. + PACKAGE_NAME='libtirpc' + PACKAGE_TARNAME='libtirpc' +-PACKAGE_VERSION='1.3.2' +-PACKAGE_STRING='libtirpc 1.3.2' ++PACKAGE_VERSION='1.3.3' ++PACKAGE_STRING='libtirpc 1.3.3' + PACKAGE_BUGREPORT='' + PACKAGE_URL='' + +@@ -1373,7 +1373,7 @@ if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +-\`configure' configures libtirpc 1.3.2 to adapt to many kinds of systems. ++\`configure' configures libtirpc 1.3.3 to adapt to many kinds of systems. + + Usage: $0 [OPTION]... [VAR=VALUE]... + +@@ -1444,7 +1444,7 @@ fi + + if test -n "$ac_init_help"; then + case $ac_init_help in +- short | recursive ) echo "Configuration of libtirpc 1.3.2:";; ++ short | recursive ) echo "Configuration of libtirpc 1.3.3:";; + esac + cat <<\_ACEOF + +@@ -1559,7 +1559,7 @@ fi + test -n "$ac_init_help" && exit $ac_status + if $ac_init_version; then + cat <<\_ACEOF +-libtirpc configure 1.3.2 ++libtirpc configure 1.3.3 + generated by GNU Autoconf 2.71 + + Copyright (C) 2021 Free Software Foundation, Inc. +@@ -1815,7 +1815,7 @@ cat >config.log <<_ACEOF + This file contains any messages produced by compilers while + running configure, to aid debugging if configure makes a mistake. + +-It was created by libtirpc $as_me 1.3.2, which was ++It was created by libtirpc $as_me 1.3.3, which was + generated by GNU Autoconf 2.71. Invocation command line was + + $ $0$ac_configure_args_raw +@@ -3084,7 +3084,7 @@ fi + + # Define the identity of the package. + PACKAGE='libtirpc' +- VERSION='1.3.2' ++ VERSION='1.3.3' + + + printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h +@@ -14643,7 +14662,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + # report actual input values of CONFIG_FILES etc. instead of their + # values after options handling. + ac_log=" +-This file was extended by libtirpc $as_me 1.3.2, which was ++This file was extended by libtirpc $as_me 1.3.3, which was + generated by GNU Autoconf 2.71. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES +@@ -14711,7 +14730,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_cs_config='$ac_cs_config_escaped' + ac_cs_version="\\ +-libtirpc config.status 1.3.2 ++libtirpc config.status 1.3.3 + configured by $0, generated by GNU Autoconf 2.71, + with options \\"\$ac_cs_config\\" + diff --git a/net-libs/libtirpc/libtirpc-1.3.3.ebuild b/net-libs/libtirpc/libtirpc-1.3.3.ebuild new file mode 100644 index 000000000000..92da66ae29fa --- /dev/null +++ b/net-libs/libtirpc/libtirpc-1.3.3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal usr-ldscript + +DESCRIPTION="Transport Independent RPC library (SunRPC replacement)" +HOMEPAGE="https://sourceforge.net/projects/libtirpc/ https://git.linux-nfs.org/?p=steved/libtirpc.git" +SRC_URI="mirror://sourceforge/${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="ipv6 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" + +PATCHES=( + "${FILESDIR}"/${P}-release-version.patch +) + +src_prepare() { + cp -ra "${WORKDIR}"/tirpc "${S}"/ || die + + default +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable ipv6) + $(use_enable kerberos gssapi) + $(use_enable static-libs static) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install() { + default + + # libtirpc replaces rpc support in glibc, so we need it in / + gen_usr_ldscript -a tirpc +} + +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 +} |