Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/lwp/files/, sys-libs/lwp/
Date: Wed, 11 Sep 2019 16:21:40
Message-Id: 1568218857.76f3951a370b8164f9d7dfb821c6a6689e863149.mgorny@gentoo
commit:     76f3951a370b8164f9d7dfb821c6a6689e863149
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 11 11:27:13 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 11 16:20:57 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76f3951a

sys-libs/lwp: Drop old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-libs/lwp/Manifest                  |  2 --
 sys-libs/lwp/files/lwp-2.0-amd64.patch | 28 ----------------------------
 sys-libs/lwp/lwp-2.2.ebuild            | 34 ----------------------------------
 sys-libs/lwp/lwp-2.6-r1.ebuild         | 19 -------------------
 4 files changed, 83 deletions(-)

diff --git a/sys-libs/lwp/Manifest b/sys-libs/lwp/Manifest
index 67116fd2175..61b56cb6b27 100644
--- a/sys-libs/lwp/Manifest
+++ b/sys-libs/lwp/Manifest
@@ -1,3 +1 @@
-DIST lwp-2.2.tar.gz 376136 BLAKE2B 2f80ccab5cdc7e910a0ae41416a24a8fd2a6da86799f1393b23fb570d61e6973aa4ebc70fec8d3343465bbc5eea1280fa70d14ca2678d2b2d490333b5cef2f2a SHA512 a5fa52c0483e04fdbface5f0e9cc85bab5db59c4d730a3cb3c538ccaa3a88aaa916b37478e4c5450e77bcc45638987610ba619995a75541d728f138f103c5d7e
-DIST lwp-2.6.tar.gz 372225 BLAKE2B 86b00eee6f2acafd9214c879255936ba40c27a5773d47a1e58375775a80c96b739cc17acf6aacf3b161e53445d947af341a555edbd2cb8783741075bfacaea43 SHA512 ad8374ddf55ef9fddf9ce0b8d7c2ae0dc206e5108a01f278a37486070ab70e5bd7312f057863254b4fc430cfbed2c36f589807813e6a99067933142d5225395b
 DIST lwp-2.8.tar.xz 270008 BLAKE2B 67107f880d5052d42166fe429cda14b4d733bcc3e5905cf48b23898e0da590854ca935ea0350c77be75c3f27d2624134c17159e5f2981ac8806bd78906d7de41 SHA512 c56f3b350e888b5bcb2bffb41086f8926e975aafae236be7f1d2153bb178a37564b77d7598db1aa915714ce8e2ed1904663ce2113f5d0853173cf5e189958bf0

diff --git a/sys-libs/lwp/files/lwp-2.0-amd64.patch b/sys-libs/lwp/files/lwp-2.0-amd64.patch
deleted file mode 100644
index 64a1576f089..00000000000
--- a/sys-libs/lwp/files/lwp-2.0-amd64.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -ruN lwp-2.0/src/lwp.c lwp-2.0-fixed/src/lwp.c
---- lwp-2.0/src/lwp.c	2005-03-25 17:50:56.000000000 +0100
-+++ lwp-2.0-fixed/src/lwp.c	2005-05-05 14:32:56.580753096 +0200
-@@ -463,6 +463,16 @@
- #ifndef MMAP_LWP_STACKS
-     stackptr = (char *) malloc(stacksize);
- #else
-+    pagesize = getpagesize();
-+
-+#if defined(__x86_64__)
-+    /* [gb] Ensure minimal stack size. Heuristically determined
-+       through tdb test that 2048 is too small when printf() et al. come
-+       into action.  */
-+    if (stacksize < pagesize)
-+	stacksize = pagesize;
-+#endif
-+
- #ifdef MAP_ANON
-     stackptr = mmap(lwp_stackbase, stacksize, PROT_READ | PROT_WRITE,
- 		    MAP_PRIVATE | MAP_ANON, -1, 0);
-@@ -483,7 +493,6 @@
- 	perror("stack: ");
- 	assert(0);
-     }
--    pagesize = getpagesize();
-     lwp_stackbase += ((stacksize/pagesize) + 2) * pagesize;
- #endif
-     if (!stackptr)

diff --git a/sys-libs/lwp/lwp-2.2.ebuild b/sys-libs/lwp/lwp-2.2.ebuild
deleted file mode 100644
index 85cd229c024..00000000000
--- a/sys-libs/lwp/lwp-2.2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils
-
-DESCRIPTION="Light weight process library (used by Coda).  This is NOT libwww-perl"
-HOMEPAGE="http://www.coda.cs.cmu.edu/"
-SRC_URI="http://www.coda.cs.cmu.edu/pub/lwp/src/${P}.tar.gz"
-
-SLOT="1"
-LICENSE="LGPL-2.1"
-KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE=""
-
-DEPEND="sys-apps/grep
-	sys-apps/sed
-	sys-devel/libtool
-	sys-devel/gcc"
-RDEPEND=""
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
-	# Was introduced for bug #34542, not sure if still needed
-	use amd64 && epatch "${FILESDIR}"/lwp-2.0-amd64.patch
-}
-
-src_install() {
-	einstall || die "einstall failed."
-	dodoc AUTHORS NEWS PORTING README
-}

diff --git a/sys-libs/lwp/lwp-2.6-r1.ebuild b/sys-libs/lwp/lwp-2.6-r1.ebuild
deleted file mode 100644
index f4206728130..00000000000
--- a/sys-libs/lwp/lwp-2.6-r1.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Light-weight process library (used by Coda)"
-HOMEPAGE="http://www.coda.cs.cmu.edu/"
-SRC_URI="http://www.coda.cs.cmu.edu/pub/lwp/src/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="1"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-src_prepare() {
-	eapply_user
-	# Was introduced for bug #34542, not sure if still needed
-	use amd64 && eapply "${FILESDIR}"/lwp-2.0-amd64.patch
-}