commit:     4340cc6f088ca91429c5879f7412166037a440f8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 09:06:27 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 09:06:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4340cc6f

dev-vcs/cvsps: Drop old (EAPI 0)

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

 dev-vcs/cvsps/Manifest                      |   1 -
 dev-vcs/cvsps/cvsps-2.1-r1.ebuild           |  39 ---------
 dev-vcs/cvsps/files/cvsps-2.1-solaris.patch | 131 ----------------------------
 3 files changed, 171 deletions(-)

diff --git a/dev-vcs/cvsps/Manifest b/dev-vcs/cvsps/Manifest
index b3c64cd24ac..9056517bef1 100644
--- a/dev-vcs/cvsps/Manifest
+++ b/dev-vcs/cvsps/Manifest
@@ -1,3 +1,2 @@
-DIST cvsps-2.1.tar.gz 61634 BLAKE2B 
32bf53c574ac8e7937ff14aee5a229e1bb2b4f0ddd4360d0b8d57a5d0fd5c6f683897140e235cdd6ab85e94f3977298fd38e8187db08529f8a8d814a4a8070a8
 SHA512 
8ba703fc4dd1c7a8201f4cefec533a6e228943f53f5380d8d17107718d8cb607c861a733d7ad1d6ed9288c4dbeae9fd59ceaf52172f16885a00d000a667e0e38
 DIST cvsps-2.2b1.tar.gz 62763 BLAKE2B 
35a86b93e69aba83fd96294b9ff993100b2b63e9dda9bd21899fc4a6df42513dde1297cebecfa6f95b43e293eb718e55ff3c9af7ac31187c8cfcd38242cefeb8
 SHA512 
9e6f95df53cdc16566f1606a9299ee641de9b020a373c9004218b3db23fbdcce9e32d4a57dce332580bc4e6429b90977c2753facd0ad8f9a9234b79f03a7a33d
 DIST cvsps-3.13.tar.gz 64437 BLAKE2B 
ec0755d39be448485a900a99cee9ef79f36343beedef80e10d6b0f48f7746b93ff54ff6b85fc1650408a228e363f45567f107be108d6bb1183c4998c5705f567
 SHA512 
9fe2be4839c7a6f31a788102fd6ebb1e2e0693f09a4dad2bca5cd5d0788088eb34388d592778f04bcfec9817e3ffffb66d70db9aa47996d3bd1c45cf7cd8464f

diff --git a/dev-vcs/cvsps/cvsps-2.1-r1.ebuild 
b/dev-vcs/cvsps/cvsps-2.1-r1.ebuild
deleted file mode 100644
index 7c99c5f0ec5..00000000000
--- a/dev-vcs/cvsps/cvsps-2.1-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils toolchain-funcs
-
-MY_P="${P/_/}"
-DESCRIPTION="Generates patchset information from a CVS repository"
-HOMEPAGE="http://www.cobite.com/cvsps/";
-SRC_URI="http://www.cobite.com/cvsps/${MY_P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-DEPEND="sys-libs/zlib"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       epatch "${FILESDIR}"/${P}-build.patch
-       epatch "${FILESDIR}"/${P}-solaris.patch
-       # no configure around
-       if [[ ${CHOST} == *-solaris* ]] ; then
-               sed -i -e '/^LDLIBS+=/s/$/ -lsocket/' Makefile || die
-       fi
-       tc-export CC
-}
-
-src_install() {
-       dobin cvsps || die
-       doman cvsps.1
-       dodoc README CHANGELOG
-}

diff --git a/dev-vcs/cvsps/files/cvsps-2.1-solaris.patch 
b/dev-vcs/cvsps/files/cvsps-2.1-solaris.patch
deleted file mode 100644
index 3e063fd9248..00000000000
--- a/dev-vcs/cvsps/files/cvsps-2.1-solaris.patch
+++ /dev/null
@@ -1,131 +0,0 @@
-Modified version of 
-http://cvs.openpkg.org/fileview?f=openpkg-src/cvsps/cvsps.patch&v=1.13
-
-Index: cache.c
---- cache.c.orig       2008-04-02 03:18:44 +0200
-+++ cache.c    2008-04-02 09:10:25 +0200
-@@ -361,7 +361,7 @@
- 
-     strcpy(buff, p_buff);
- 
--    while ((s = strsep(&p, ";")))
-+    while ((s = my_strsep(&p, ";")))
-     {
-       char * c = strchr(s, ':');
- 
-Index: cvs_direct.c
---- cvs_direct.c.orig  2008-04-02 03:18:44 +0200
-+++ cvs_direct.c       2008-04-02 09:10:25 +0200
-@@ -92,12 +92,12 @@
- 
-     strcpy_a(root, p_root, PATH_MAX);
- 
--    tok = strsep(&p, ":");
-+    tok = my_strsep(&p, ":");
- 
-     /* if root string looks like :pserver:... then the first token will be 
empty */
-     if (strlen(tok) == 0)
-     {
--      char * method = strsep(&p, ":");
-+      char * method = my_strsep(&p, ":");
-       if (strcmp(method, "pserver") == 0)
-       {
-           ctx = open_ctx_pserver(ctx, p);
-@@ -185,14 +185,14 @@
- 
-     strcpy_a(root, p_root, PATH_MAX);
- 
--    tok = strsep(&p, ":");
-+    tok = my_strsep(&p, ":");
-     if (strlen(tok) == 0 || !p)
-     {
-       debug(DEBUG_APPERROR, "parse error on third token");
-       goto out_free_err;
-     }
- 
--    tok2 = strsep(&tok, "@");
-+    tok2 = my_strsep(&tok, "@");
-     if (!strlen(tok2) || (!tok || !strlen(tok)))
-     {
-       debug(DEBUG_APPERROR, "parse error on user@server in pserver");
-@@ -272,7 +272,7 @@
-     strcpy_a(root, p_root, PATH_MAX);
- 
-     /* if there's a ':', it's remote */
--    tok = strsep(&p, ":");
-+    tok = my_strsep(&p, ":");
- 
-     if (p)
-     {
-@@ -281,7 +281,7 @@
-       if (!cvs_rsh)
-           cvs_rsh = "rsh";
- 
--      tok2 = strsep(&tok, "@");
-+      tok2 = my_strsep(&tok, "@");
- 
-       if (tok)
-           snprintf(execcmd, PATH_MAX, "%s -l %s %s %s server", cvs_rsh, tok2, 
tok, cvs_server);
-@@ -776,7 +776,7 @@
- static int parse_patch_arg(char * arg, char ** str)
- {
-     char *tok, *tok2 = "";
--    tok = strsep(str, " ");
-+    tok = my_strsep(str, " ");
-     if (!tok)
-       return 0;
- 
-@@ -796,7 +796,7 @@
-     /* see if command wants two args and they're separated by ' ' */
-     if (tok[2] == 0 && strchr("BdDFgiorVxYz", tok[1]))
-     {
--      tok2 = strsep(str, " ");
-+      tok2 = my_strsep(str, " ");
-       if (!tok2)
-       {
-           debug(DEBUG_APPERROR, "diff_opts parse_error: argument %s requires 
two arguments", tok);
-Index: util.c
---- util.c.orig        2008-04-02 03:18:44 +0200
-+++ util.c     2008-04-02 09:10:25 +0200
-@@ -316,3 +316,31 @@
-       exit(1);
-     }
- }
-+
-+char *my_strsep(char **stringp, const char *delim)
-+{
-+      char *s;
-+      const char *spanp;
-+      int c, sc;
-+      char *tok;
-+
-+      if ((s = *stringp) == NULL)
-+              return NULL;
-+      for (tok = s;;) {
-+              c = *s++;
-+              spanp = delim;
-+              do {
-+                      if ((sc = *spanp++) == c) {
-+                              if (c == 0)
-+                                      s = NULL;
-+                              else
-+                                      s[-1] = 0;
-+                              *stringp = s;
-+                              return tok;
-+                      }
-+              } while (sc != 0);
-+      }
-+      /* NOTREACHED */
-+    return NULL;
-+}
-+
-Index: util.h
---- util.h.orig        2008-04-02 03:18:44 +0200
-+++ util.h     2008-04-02 09:15:35 +0200
-@@ -24,5 +24,6 @@
- void timing_stop(const char *);
- int my_system(const char *);
- int escape_filename(char *, int, const char *);
-+char *my_strsep(char **, const char *);
- 
- #endif /* UTIL_H */

Reply via email to