From c4b03805ffa1b6b59109e356ea4e5752f3514da6 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Fri, 27 Mar 2020 12:01:35 -0700 Subject: [PATCH] sys-libs/db: remove USE=rpc support Remove USE=rpc support for all 4.x releases. Upstream removed RPC support in the 4.8 series, but it was still present in older releases. The upstream RPC server component (berkeley_db_svc) is single-threaded, has no security, and other limitations that make it not suited for many uses. It could be revived by porting to use libtirpc, see net-analyzer/argus/files/argus-3.0.8.2-rpc.patch as an example of some of the required changes. Fixes: https://bugs.gentoo.org/699750 Signed-off-by: Robin H. Johnson --- .../db/{db-4.2.52_p5-r2.ebuild => db-4.2.52_p5-r3.ebuild} | 4 ++-- .../db/{db-4.3.29_p1-r2.ebuild => db-4.3.29_p1-r3.ebuild} | 4 ++-- .../db/{db-4.4.20_p4-r2.ebuild => db-4.4.20_p4-r3.ebuild} | 4 ++-- .../db/{db-4.5.20_p2-r2.ebuild => db-4.5.20_p2-r3.ebuild} | 4 ++-- .../db/{db-4.6.21_p4-r1.ebuild => db-4.6.21_p4-r2.ebuild} | 4 ++-- .../db/{db-4.7.25_p4-r1.ebuild => db-4.7.25_p4-r2.ebuild} | 4 ++-- sys-libs/db/metadata.xml | 3 --- 7 files changed, 12 insertions(+), 15 deletions(-) rename sys-libs/db/{db-4.2.52_p5-r2.ebuild => db-4.2.52_p5-r3.ebuild} (98%) rename sys-libs/db/{db-4.3.29_p1-r2.ebuild => db-4.3.29_p1-r3.ebuild} (98%) rename sys-libs/db/{db-4.4.20_p4-r2.ebuild => db-4.4.20_p4-r3.ebuild} (98%) rename sys-libs/db/{db-4.5.20_p2-r2.ebuild => db-4.5.20_p2-r3.ebuild} (98%) rename sys-libs/db/{db-4.6.21_p4-r1.ebuild => db-4.6.21_p4-r2.ebuild} (98%) rename sys-libs/db/{db-4.7.25_p4-r1.ebuild => db-4.7.25_p4-r2.ebuild} (98%) diff --git a/sys-libs/db/db-4.2.52_p5-r2.ebuild b/sys-libs/db/db-4.2.52_p5-r3.ebuild similarity index 98% rename from sys-libs/db/db-4.2.52_p5-r2.ebuild rename to sys-libs/db/db-4.2.52_p5-r3.ebuild index f9454de5eef4..a5f249c6a526 100644 --- a/sys-libs/db/db-4.2.52_p5-r2.ebuild +++ b/sys-libs/db/db-4.2.52_p5-r3.ebuild @@ -28,7 +28,7 @@ done LICENSE="Sleepycat" SLOT="$(ver_cut 1-2)" KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86" -IUSE="tcl java doc cxx rpc" +IUSE="tcl java doc cxx" RESTRICT="!test? ( test )" DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) @@ -110,7 +110,7 @@ src_configure() { local myconf=( --enable-compat185 --with-uniquename - $(use_enable rpc) + --disable-rpc --host="${CHOST}" $(usex amd64 '--with-mutex=x86/gcc-assembly' '') diff --git a/sys-libs/db/db-4.3.29_p1-r2.ebuild b/sys-libs/db/db-4.3.29_p1-r3.ebuild similarity index 98% rename from sys-libs/db/db-4.3.29_p1-r2.ebuild rename to sys-libs/db/db-4.3.29_p1-r3.ebuild index 81896b6e565d..f208ffd19e6f 100644 --- a/sys-libs/db/db-4.3.29_p1-r2.ebuild +++ b/sys-libs/db/db-4.3.29_p1-r3.ebuild @@ -28,7 +28,7 @@ done LICENSE="Sleepycat" SLOT="$(ver_cut 1-2)" KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ppc ppc64 s390 sparc x86" -IUSE="tcl java doc cxx rpc" +IUSE="tcl java doc cxx" RESTRICT="!test? ( test )" DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) @@ -112,7 +112,7 @@ src_configure() { --enable-compat185 --enable-o_direct --without-uniquename - $(use_enable rpc) + --disable-rpc --host="${CHOST}" $(usex amd64 '--with-mutex=x86/gcc-assembly' '') diff --git a/sys-libs/db/db-4.4.20_p4-r2.ebuild b/sys-libs/db/db-4.4.20_p4-r3.ebuild similarity index 98% rename from sys-libs/db/db-4.4.20_p4-r2.ebuild rename to sys-libs/db/db-4.4.20_p4-r3.ebuild index 980ee7aa93e7..dfdea3ae9c22 100644 --- a/sys-libs/db/db-4.4.20_p4-r2.ebuild +++ b/sys-libs/db/db-4.4.20_p4-r3.ebuild @@ -29,7 +29,7 @@ done LICENSE="Sleepycat BSD" SLOT="$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="tcl java doc cxx rpc" +IUSE="tcl java doc cxx" RESTRICT="!test? ( test )" DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) @@ -106,7 +106,7 @@ src_configure() { --enable-compat185 --enable-o_direct --without-uniquename - $(use_enable rpc) + --disable-rpc --host="${CHOST}" $(usex amd64 '--with-mutex=x86/gcc-assembly' '') diff --git a/sys-libs/db/db-4.5.20_p2-r2.ebuild b/sys-libs/db/db-4.5.20_p2-r3.ebuild similarity index 98% rename from sys-libs/db/db-4.5.20_p2-r2.ebuild rename to sys-libs/db/db-4.5.20_p2-r3.ebuild index 3b7360b9467b..3a85922dd9f0 100644 --- a/sys-libs/db/db-4.5.20_p2-r2.ebuild +++ b/sys-libs/db/db-4.5.20_p2-r3.ebuild @@ -28,7 +28,7 @@ done LICENSE="Sleepycat" SLOT="$(ver_cut 1-2)" KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86" -IUSE="tcl java doc cxx rpc" +IUSE="tcl java doc cxx" RESTRICT="!test? ( test )" DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) @@ -116,7 +116,7 @@ src_configure() { --enable-compat185 --enable-o_direct --without-uniquename - $(use_enable rpc) + --disable-rpc --host="${CHOST}" $(usex amd64 '--with-mutex=x86/gcc-assembly' '') diff --git a/sys-libs/db/db-4.6.21_p4-r1.ebuild b/sys-libs/db/db-4.6.21_p4-r2.ebuild similarity index 98% rename from sys-libs/db/db-4.6.21_p4-r1.ebuild rename to sys-libs/db/db-4.6.21_p4-r2.ebuild index 76bcc6630da8..f11841a00fa0 100644 --- a/sys-libs/db/db-4.6.21_p4-r1.ebuild +++ b/sys-libs/db/db-4.6.21_p4-r2.ebuild @@ -28,7 +28,7 @@ done LICENSE="Sleepycat" SLOT="$(ver_cut 1-2)" KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86" -IUSE="tcl java doc cxx rpc" +IUSE="tcl java doc cxx" RESTRICT="!test? ( test )" DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) @@ -105,7 +105,7 @@ src_configure() { --enable-compat185 --enable-o_direct --without-uniquename - $(use_enable rpc) + --disable-rpc --host="${CHOST}" $(usex amd64 '--with-mutex=x86/gcc-assembly' '') diff --git a/sys-libs/db/db-4.7.25_p4-r1.ebuild b/sys-libs/db/db-4.7.25_p4-r2.ebuild similarity index 98% rename from sys-libs/db/db-4.7.25_p4-r1.ebuild rename to sys-libs/db/db-4.7.25_p4-r2.ebuild index a75117aac7bf..a6ab5c01d2f7 100644 --- a/sys-libs/db/db-4.7.25_p4-r1.ebuild +++ b/sys-libs/db/db-4.7.25_p4-r2.ebuild @@ -30,7 +30,7 @@ done LICENSE="Sleepycat" SLOT="$(ver_cut 1-2)" KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ppc ppc64 s390 sparc x86" -IUSE="doc java cxx tcl test rpc" +IUSE="doc java cxx tcl test" # the entire testsuite needs the TCL functionality DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) @@ -108,7 +108,7 @@ src_configure() { --enable-compat185 --enable-o_direct --without-uniquename - $(use_enable rpc) + --disable-rpc $(usex amd64 '--with-mutex=x86/gcc-assembly' '') $(use_enable cxx) diff --git a/sys-libs/db/metadata.xml b/sys-libs/db/metadata.xml index 19c65222929a..4b0876002621 100644 --- a/sys-libs/db/metadata.xml +++ b/sys-libs/db/metadata.xml @@ -23,7 +23,4 @@ gedeeld geheugen caching en database herstel. DB ondersteund C, C++, Java en Perl API's. DB is beschikbaar voor veel UNIX platformen en Windows. - - Enable rpc client/server - -- 2.26.2