diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-06-19 00:31:55 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-06-19 00:31:55 +0000 |
commit | 4f59b860c9f5605f817f16b9aad204107f9cee03 (patch) | |
tree | 7c7c63e95b6fa0b9762c3195bf8635759d7ea1ca /dev-vcs/cvsps | |
parent | Move package from dev-util/cvsgraph to dev-vcs/cvsgraph (diff) | |
download | gentoo-2-4f59b860c9f5605f817f16b9aad204107f9cee03.tar.gz gentoo-2-4f59b860c9f5605f817f16b9aad204107f9cee03.tar.bz2 gentoo-2-4f59b860c9f5605f817f16b9aad204107f9cee03.zip |
Move package from dev-util/cvsps to dev-vcs/cvsps
(Portage version: 2.2_rc67/cvs/Linux i686, RepoMan options: --force)
Diffstat (limited to 'dev-vcs/cvsps')
-rw-r--r-- | dev-vcs/cvsps/ChangeLog | 94 | ||||
-rw-r--r-- | dev-vcs/cvsps/cvsps-2.1-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-vcs/cvsps/cvsps-2.1.ebuild | 31 | ||||
-rw-r--r-- | dev-vcs/cvsps/files/cvsps-2.1-build.patch | 18 | ||||
-rw-r--r-- | dev-vcs/cvsps/files/cvsps-2.1-solaris.patch | 131 | ||||
-rw-r--r-- | dev-vcs/cvsps/metadata.xml | 5 |
6 files changed, 315 insertions, 0 deletions
diff --git a/dev-vcs/cvsps/ChangeLog b/dev-vcs/cvsps/ChangeLog new file mode 100644 index 000000000000..a83736a1fb8c --- /dev/null +++ b/dev-vcs/cvsps/ChangeLog @@ -0,0 +1,94 @@ +# ChangeLog for dev-vcs/cvsps +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvsps/ChangeLog,v 1.1 2010/06/19 00:31:55 abcd Exp $ + + 19 Jun 2010; Jonathan Callen <abcd@gentoo.org> +cvsps-2.1.ebuild, + +cvsps-2.1-r1.ebuild, +files/cvsps-2.1-build.patch, + +files/cvsps-2.1-solaris.patch, +metadata.xml: + Move package from dev-util/cvsps to dev-vcs/cvsps + +*cvsps-2.1-r1 (06 Mar 2010) + + 06 Mar 2010; Fabian Groffen <grobian@gentoo.org> +cvsps-2.1-r1.ebuild, + +files/cvsps-2.1-solaris.patch: + Revbump for Prefix patches, transferred Prefix keywords, bug #307939 + + 10 Jun 2008; Raúl Porcel <armin76@gentoo.org> cvsps-2.1.ebuild: + ia64 stable + + 07 Jun 2008; Alexis Ballier <aballier@gentoo.org> cvsps-2.1.ebuild: + keyword ~sparc-fbsd + + 07 Jun 2008; Alexis Ballier <aballier@gentoo.org> cvsps-2.1.ebuild: + keyword ~x86-fbsd + + 24 Mar 2008; Raúl Porcel <armin76@gentoo.org> cvsps-2.1.ebuild: + Add ~ia64 wrt #214464 + + 24 Mar 2008; Mike Frysinger <vapier@gentoo.org> + +files/cvsps-2.1-build.patch, cvsps-2.1.ebuild: + Respect user LDFLAGS. + + 01 May 2007; Fabian Groffen <grobian@gentoo.org> cvsps-2.1.ebuild: + Dropped ppc-macos keyword, see you in prefix, resolves bug #173882 + + 22 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org> cvsps-2.1.ebuild: + ppc stable, bug #173882 + + 10 Apr 2007; Jeroen Roovers <jer@gentoo.org> cvsps-2.1.ebuild: + Stable for HPPA (bug #173882). + + 10 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> cvsps-2.1.ebuild: + Stable on sparc wrt #173882 + + 19 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml: + Remove ka0ttic from metadata.xml due to retirement. + + 21 Jan 2007; Alexander H. Færøy <eroyf@gentoo.org> cvsps-2.1.ebuild: + Stable on MIPS. + + 17 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> cvsps-2.1.ebuild: + Add missing dependency over zlib. + + 28 Jun 2006; Fabian Groffen <grobian@gentoo.org> cvsps-2.1.ebuild: + Marked ~ppc-macos + + 07 Feb 2006; Simon Stelling <blubb@gentoo.org> cvsps-2.1.ebuild: + stable on amd64 + + 25 Nov 2005; Tom Gall <tgall@gentoo.org> cvsps-2.1.ebuild: + stable on ppc64 + + 18 Sep 2005; Markus Rothe <corsair@gentoo.org> cvsps-2.1.ebuild: + Added ~ppc64 (bug #106318) + + 10 Sep 2005; Aron Griffis <agriffis@gentoo.org> cvsps-2.1.ebuild: + Mark 2.1 stable on alpha + + 06 Sep 2005; Aaron Walker <ka0ttic@gentoo.org> cvsps-2.1.ebuild: + Stable on x86. + +*cvsps-2.1 (26 May 2005) + + 26 May 2005; Aaron Walker <ka0ttic@gentoo.org> cvsps-2.0_rc1.ebuild, + +cvsps-2.1.ebuild: + Version bump. + + 22 May 2005; Simon Stelling <blubb@gentoo.org> cvsps-2.0_rc1.ebuild: + stable on amd64 + + 31 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 03 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> cvsps-2.0_rc1.ebuild: + Stable on alpha. + + 20 May 2004; Danny van Dyk <kugelfang@gentoo.org> cvsps-2.0_rc1.ebuild: + Marked ~amd64. + +*cvsps-2.0_rc1 (30 Jun 2003) + + 30 Jun 2003; Seemant Kulleen <seemant@gentoo.org> cvsps-2.0_rc1.ebuild: + New package -- provides a way to generate BK style changesets for CVS. Thanks + to Rach Holmes for showing me this + diff --git a/dev-vcs/cvsps/cvsps-2.1-r1.ebuild b/dev-vcs/cvsps/cvsps-2.1-r1.ebuild new file mode 100644 index 000000000000..8363b3ba8751 --- /dev/null +++ b/dev-vcs/cvsps/cvsps-2.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvsps/cvsps-2.1-r1.ebuild,v 1.1 2010/06/19 00:31:55 abcd Exp $ + +inherit eutils + +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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND="sys-libs/zlib" + +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 +} + +src_install() { + dobin cvsps || die + doman cvsps.1 + dodoc README CHANGELOG +} diff --git a/dev-vcs/cvsps/cvsps-2.1.ebuild b/dev-vcs/cvsps/cvsps-2.1.ebuild new file mode 100644 index 000000000000..b679957aac17 --- /dev/null +++ b/dev-vcs/cvsps/cvsps-2.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvsps/cvsps-2.1.ebuild,v 1.1 2010/06/19 00:31:55 abcd Exp $ + +inherit eutils + +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 hppa ia64 mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="" + +DEPEND="sys-libs/zlib" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch +} + +src_install() { + dobin cvsps || die + doman cvsps.1 + dodoc README CHANGELOG +} diff --git a/dev-vcs/cvsps/files/cvsps-2.1-build.patch b/dev-vcs/cvsps/files/cvsps-2.1-build.patch new file mode 100644 index 000000000000..bcb394d5dd0b --- /dev/null +++ b/dev-vcs/cvsps/files/cvsps-2.1-build.patch @@ -0,0 +1,18 @@ +--- Makefile.orig 2008-03-24 07:16:47.000000000 -0400 ++++ Makefile 2008-03-24 07:17:18.000000000 -0400 +@@ -3,6 +3,7 @@ + CC?=gcc + CFLAGS?=-g -O2 -Wall + CFLAGS+=-I. -DVERSION=\"$(MAJOR).$(MINOR)\" ++LDLIBS+=-lz + prefix?=/usr/local + OBJS=\ + cbtcommon/debug.o\ +@@ -21,7 +22,6 @@ + all: cvsps + + cvsps: $(OBJS) +- $(CC) -o cvsps $(OBJS) -lz + + install: + [ -d $(prefix)/bin ] || mkdir -p $(prefix)/bin diff --git a/dev-vcs/cvsps/files/cvsps-2.1-solaris.patch b/dev-vcs/cvsps/files/cvsps-2.1-solaris.patch new file mode 100644 index 000000000000..3e063fd9248b --- /dev/null +++ b/dev-vcs/cvsps/files/cvsps-2.1-solaris.patch @@ -0,0 +1,131 @@ +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 */ diff --git a/dev-vcs/cvsps/metadata.xml b/dev-vcs/cvsps/metadata.xml new file mode 100644 index 000000000000..45023270b146 --- /dev/null +++ b/dev-vcs/cvsps/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cvs-utils</herd> +</pkgmetadata> |