commit:     68d8e6b191da940f0b553b24f9d7bedffd771b8a
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 28 18:07:39 2019 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Sep 28 18:27:12 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d8e6b1

net-libs/libtirpc: Drop old versions

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 net-libs/libtirpc/Manifest                         |  2 -
 .../files/libtirpc-1.0.2-bzero-to-memset.patch     | 36 ------------
 .../libtirpc/files/libtirpc-1.0.2-exports.patch    | 17 ------
 .../libtirpc/files/libtirpc-1.0.2-glibc-2.26.patch | 12 ----
 net-libs/libtirpc/libtirpc-1.0.2-r1.ebuild         | 65 ----------------------
 net-libs/libtirpc/libtirpc-1.0.3.ebuild            | 63 ---------------------
 6 files changed, 195 deletions(-)

diff --git a/net-libs/libtirpc/Manifest b/net-libs/libtirpc/Manifest
index 96612140117..ee8d1d01072 100644
--- a/net-libs/libtirpc/Manifest
+++ b/net-libs/libtirpc/Manifest
@@ -1,4 +1,2 @@
-DIST libtirpc-1.0.2.tar.bz2 509601 BLAKE2B 
7ccf23ca200e2027a66a3105d9b3d0612ac66a08498931f66526a291be6ddef8e7df533af4d44a0e4a1178edd6d51ae39ca50c2536b9b1be7179e7f17cfd165e
 SHA512 
6c819019a8e81d8263d3c509b2eee59ba1ef092222c5a0a8d28f004c711afa252097eca7e6b0b919b2d780883dfd9ee7a363df4cee7fd2c9159a065257637cec
-DIST libtirpc-1.0.3.tar.bz2 509831 BLAKE2B 
3f908471b3e10f88329793db2c832754b9bb838d115235d7c25256da883960de8d8c94a6941fc9c2a3cc4dca9a77c32b5cb85bb347cc182e5a6255636b79b06e
 SHA512 
1f1cf7dd6f30ddddc919e4caf6db926f1d532f78d5a93e8aaa2acde6b046be0650c4c46549da0ffd5fa7fb9e550af1a871ed6e02ededf504c6667d2e82eba2cc
 DIST libtirpc-1.1.4.tar.bz2 510924 BLAKE2B 
1780f9bb0543583c01b60bda681add0ec2f8718eda4ce4653883c772466178e37d0a3fb47004109f81de470129458561fac4f109f45154c64b6fb729f0212c90
 SHA512 
392f391f9fc1bd68d81dc44e4058831a64b32790b5c8c37338b0ab416fad2ae4d16389e632596734dba09780347918cc65c6f134e0c1afd09e81ec250785ed23
 DIST libtirpc-glibc-nfs.tar.xz 8948 BLAKE2B 
7316623d9f2b6928e296137fe2bf6794b208d549c2ffba9e4a35b47f7b04bf023798a09f38c02d039debf6adc466d7689cf3c8274d71a22eaff08729642c0a28
 SHA512 
90255bf0a27af16164e0710dd940778609925d473f4343093ff19d98cc4f23023788bf4edf0178eae1961afc0ba8b69b273de95b7d7e2afdb706701d8ba6f7ba

diff --git a/net-libs/libtirpc/files/libtirpc-1.0.2-bzero-to-memset.patch 
b/net-libs/libtirpc/files/libtirpc-1.0.2-bzero-to-memset.patch
deleted file mode 100644
index 64b516ed826..00000000000
--- a/net-libs/libtirpc/files/libtirpc-1.0.2-bzero-to-memset.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Naurp libtirpc-1.0.2.orig/src/auth_time.c libtirpc-1.0.2/src/auth_time.c
---- libtirpc-1.0.2.orig/src/auth_time.c        2017-07-05 11:02:23.000000000 
-0400
-+++ libtirpc-1.0.2/src/auth_time.c     2017-07-30 17:46:39.481420880 -0400
-@@ -317,7 +317,7 @@ __rpc_get_time_offset(td, srv, thost, ua
-       sprintf(ipuaddr, "%d.%d.%d.%d.0.111", a1, a2, a3, a4);
-       useua = &ipuaddr[0];
- 
--      bzero((char *)&sin, sizeof(sin));
-+      memset((char *)&sin, 0, sizeof(sin));
-       if (uaddr_to_sockaddr(useua, &sin)) {
-               msg("unable to translate uaddr to sockaddr.");
-               if (needfree)
-diff -Naurp libtirpc-1.0.2.orig/src/des_impl.c libtirpc-1.0.2/src/des_impl.c
---- libtirpc-1.0.2.orig/src/des_impl.c 2017-07-05 11:02:23.000000000 -0400
-+++ libtirpc-1.0.2/src/des_impl.c      2017-07-30 17:46:49.581420807 -0400
-@@ -588,7 +588,7 @@ _des_crypt (char *buf, unsigned len, str
-     }
-   tin0 = tin1 = tout0 = tout1 = xor0 = xor1 = 0;
-   tbuf[0] = tbuf[1] = 0;
--  __bzero (schedule, sizeof (schedule));
-+  memset (schedule, 0, sizeof (schedule));
- 
-   return (1);
- }
-diff -Naurp libtirpc-1.0.2.orig/src/svc_auth_des.c 
libtirpc-1.0.2/src/svc_auth_des.c
---- libtirpc-1.0.2.orig/src/svc_auth_des.c     2017-07-05 11:02:23.000000000 
-0400
-+++ libtirpc-1.0.2/src/svc_auth_des.c  2017-07-30 17:46:58.771420741 -0400
-@@ -356,7 +356,7 @@ cache_init()
- 
-       authdes_cache = (struct cache_entry *)
-               mem_alloc(sizeof(struct cache_entry) * AUTHDES_CACHESZ);        
--      bzero((char *)authdes_cache, 
-+      memset((char *)authdes_cache, 0,
-               sizeof(struct cache_entry) * AUTHDES_CACHESZ);
- 
-       authdes_lru = (short *)mem_alloc(sizeof(short) * AUTHDES_CACHESZ);

diff --git a/net-libs/libtirpc/files/libtirpc-1.0.2-exports.patch 
b/net-libs/libtirpc/files/libtirpc-1.0.2-exports.patch
deleted file mode 100644
index 174f4e3471f..00000000000
--- a/net-libs/libtirpc/files/libtirpc-1.0.2-exports.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-See
-https://bugs.alpinelinux.org/issues/7041
-https://git.alpinelinux.org/cgit/aports/commit/?id=9edb53cea056101c4963a04b747bf102de23f919
-(just hit this myself when building libnsl)
-... dilfridge
-
---- a/src/libtirpc.map
-+++ b/src/libtirpc.map
-@@ -298,7 +298,7 @@
-     key_gendes;
-     key_get_conv;
-     key_setsecret;
--    key_secret_is_set;
-+    key_secretkey_is_set;
-     key_setnet;
-     netname2host;
-     netname2user;

diff --git a/net-libs/libtirpc/files/libtirpc-1.0.2-glibc-2.26.patch 
b/net-libs/libtirpc/files/libtirpc-1.0.2-glibc-2.26.patch
deleted file mode 100644
index 6d583e6149d..00000000000
--- a/net-libs/libtirpc/files/libtirpc-1.0.2-glibc-2.26.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/src/xdr_sizeof.c b/src/xdr_sizeof.c
-index d23fbd1..79d6707 100644
---- a/src/xdr_sizeof.c
-+++ b/src/xdr_sizeof.c
-@@ -39,6 +39,7 @@
- #include <rpc/xdr.h>
- #include <sys/types.h>
- #include <stdlib.h>
-+#include <stdint.h>
- #include "un-namespace.h"
- 
- /* ARGSUSED */

diff --git a/net-libs/libtirpc/libtirpc-1.0.2-r1.ebuild 
b/net-libs/libtirpc/libtirpc-1.0.2-r1.ebuild
deleted file mode 100644
index 36dc12d642f..00000000000
--- a/net-libs/libtirpc/libtirpc-1.0.2-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit autotools multilib-minimal toolchain-funcs eutils usr-ldscript
-
-DESCRIPTION="Transport Independent RPC library (SunRPC replacement)"
-HOMEPAGE="https://sourceforge.net/projects/libtirpc/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
-       mirror://gentoo/${PN}-glibc-nfs.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0/3" # subslot matches SONAME major
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 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 )
-       app-arch/xz-utils
-       >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-1.0.2-bcopy-to-memmove.patch"
-       "${FILESDIR}/${PN}-1.0.2-bzero-to-memset.patch"
-       "${FILESDIR}/${PN}-1.0.2-glibc-2.26.patch"
-       "${FILESDIR}/${PN}-1.0.2-exports.patch"
-)
-
-src_prepare() {
-       cp -r "${WORKDIR}"/tirpc "${S}"/ || die
-       epatch "${PATCHES[@]}"
-       epatch_user
-       eautoreconf
-}
-
-multilib_src_configure() {
-       ECONF_SOURCE=${S} \
-       econf \
-               $(use_enable ipv6) \
-               $(use_enable kerberos gssapi) \
-               $(use_enable static-libs static)
-}
-
-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.
-       use static-libs || prune_libtool_files
-}

diff --git a/net-libs/libtirpc/libtirpc-1.0.3.ebuild 
b/net-libs/libtirpc/libtirpc-1.0.3.ebuild
deleted file mode 100644
index 5a60e1bb7b0..00000000000
--- a/net-libs/libtirpc/libtirpc-1.0.3.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools multilib-minimal toolchain-funcs usr-ldscript
-
-DESCRIPTION="Transport Independent RPC library (SunRPC replacement)"
-HOMEPAGE="https://sourceforge.net/projects/libtirpc/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
-       mirror://gentoo/${PN}-glibc-nfs.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0/3" # subslot matches SONAME major
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="ipv6 kerberos static-libs"
-
-RDEPEND="kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
-       app-arch/xz-utils
-       >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-1.0.2-bcopy-to-memmove.patch"
-)
-
-src_prepare() {
-       cp -r "${WORKDIR}"/tirpc "${S}"/ || die
-       default
-       eautoreconf
-}
-
-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
-}

Reply via email to