Permalink
Browse files

Add ESR's cvsps 3 release.

Signed-off-by: Richard Freeman <rich0@gentoo.org>
  • Loading branch information...
1 parent 5b223e7 commit 34bc93d35d066630a7aa1678769e1c06e3b23724 @rich0 committed Dec 20, 2012
Showing with 60 additions and 0 deletions.
  1. +3 −0 dev-vcs/cvsps/Manifest
  2. +39 −0 dev-vcs/cvsps/cvsps-3.0.ebuild
  3. +18 −0 dev-vcs/cvsps/files/cvsps-3.0-build.patch
View
@@ -0,0 +1,3 @@
+AUX cvsps-3.0-build.patch 390 SHA256 cd15164823548d6dcec2ae3f830498d61117cd0bdc3f4bb81a7eee3d1c7da137 SHA512 aa1fdfbd2f93a961733d449151a7699f5c51c9c8f62cade07d705f81c81a186e227dcf873707bd0d70b0cd09fee7e26b7bd0cc5b323f52d0ed5014db0172a077 WHIRLPOOL 2ea8227c541c459b31ced5c7d3fcbbabdb84221c8929f0c5d5186b8140dc14c98d729092e7f76291c23340f7327976b836c43c781efede31eaa175487fd3d9a6
+DIST cvsps-3.0.tar.gz 66313 SHA256 e4fd0a568112f9d504a7e878a5c08c6d7f29dc622d84fadcd416edd8d6358416 SHA512 40e824770eb24b69d0d1a0a0f391eb5a5b975f55c9bde1719a5be4d417401e661b3fe1c96558358f01283e1a0afedce1d05c4c41c4f66826c864f1d63d78e4a4 WHIRLPOOL ec06e1f00892f672bb0aef2022d50e7900d7cecf824276c863c1fb7451e33d0535f8f00281d46e8dc0f887422a335ba6b6e00f471ff23a83b4e62a3d87bde004
+EBUILD cvsps-3.0.ebuild 1128 SHA256 c27f6285d0c9bafa58682cb7f95c3b6b66ec284b0b391429c69c6b5009fb23b1 SHA512 f3c1b74ba6c7adae36236ebd76819c2ffc4be701c09d084a72dda781a60f7b8754ec78cb7a2a016824b9a660f6c1de9efe7d982af091a87fd593a668b4bb11d6 WHIRLPOOL 049470cbadac72f06b612039eabdc10661d4aaec8a93bcbab0ef97427b51db91285ed1cfe540378736ee395f5570941e4eb0d05161bdd772e7d4c006500210f3
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvsps/cvsps-2.2_beta1.ebuild,v 1.1 2012/10/02 15:58:59 slyfox Exp $
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+MY_P="${P/_beta/b}"
+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"
+SRC_URI="http://www.catb.org/~esr/cvsps/cvsps-3.0.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.0-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
+}
@@ -0,0 +1,18 @@
+--- Makefile.orig 2012-12-20 18:48:25.607154062 -0500
++++ Makefile 2012-12-20 18:48:58.873703934 -0500
+@@ -3,6 +3,7 @@
+ CC?=gcc
+ CFLAGS?=-g -O2 -Wall
+ CFLAGS+=-I. -DVERSION=\"$(VERSION)\"
++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

0 comments on commit 34bc93d

Please sign in to comment.