summaryrefslogtreecommitdiff
path: root/dev-util/csup
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/csup')
-rw-r--r--dev-util/csup/Manifest6
-rw-r--r--dev-util/csup/csup-20060318.ebuild45
-rw-r--r--dev-util/csup/files/csup-20060318-respectflags.patch43
-rw-r--r--dev-util/csup/metadata.xml8
4 files changed, 102 insertions, 0 deletions
diff --git a/dev-util/csup/Manifest b/dev-util/csup/Manifest
new file mode 100644
index 000000000000..989771555b2a
--- /dev/null
+++ b/dev-util/csup/Manifest
@@ -0,0 +1,6 @@
+AUX csup-20060318-respectflags.patch 1374 SHA256 abae4744ccd06a4ad312c2bd359dcdb8299c2bbc091c8d1097613616631ca320 SHA512 e112fd37dae7f037e7700579ab59e8611b5f09f0d8351bd2c909e22e393b05f697a51348fab79ba95d31e28b727e62b4a4ce2f8dc22402ac16efcfa4204a1d8b WHIRLPOOL 7c687a25650e10779e7be9fb2dc3fde31e00b8f885c1f27099736187e98c8a979c87f265405d25c7fd3202542521b3afad1c1c5204408132b03e2e31adabd620
+DIST csup-snap-20060318.tgz 78968 SHA256 81a9695be6cf989de6fb2e4fe53d6efadb003cd842cf6993844a52fc8190a7fc SHA512 60e40f6f903df81b1667af31397978ce99d33b6849dd2476232b325415a391e6840a29e70af85b928a3c7beea55cf3064d3b48d61b9c20c2280dc3f675adcd5a WHIRLPOOL 52236475e56ea2a2ebc84f1d67b2327f1ab2d78fcde82133a4e5725a88bb62c3802a2fa030f1f67b14f35c8d5db380ac4361af4e4d063a39ed2ebe6b994f51c6
+EBUILD csup-20060318.ebuild 930 SHA256 6a2cac97731ac3fd17f1b7e920efccd962c62510c069dfbc5b0be60ef7601cad SHA512 706fd7a94680d804a91346f52f04f708979241106056127990ef2552fd6232d1fe173f8a190c4baaa108e65dfed302a15d36673bfde34984a4a1e0a325d4f43d WHIRLPOOL 0eda3943b47fab943ea4b3b5cd9280985a0a302546c153a19046c9857a41483d2774a0feca06228d20bfe329bcf66a19bda997cbf81e4c0838bb0c4d66487fc5
+MISC ChangeLog 2858 SHA256 b2890021d685a689c5ff961692fc921e6da807e020b956999322d630cdbef987 SHA512 91dd68de10fd8b476e860f36e7028f5e5f00f55eacd2aea412525b73be1a92390ee4dfe11e64c9dae113b3bcf99ddd5a5879418999b55c56230064aca436c108 WHIRLPOOL ba3e1254b2c01a9b08d88e647003ca314d08eb54042e4f4e9188e0d77a0ef28e0246701a3baa3d3bd6f9e94a8f1ecdbb2036f30a8ce85eb288489d8ca04dbcd0
+MISC ChangeLog-2015 1096 SHA256 86c318bf6a3899715798d2f245156bf750ae9a7b42c6c2653e3ad81111c3b291 SHA512 4046f655ab56965a04b5e343a59829c9c9aacba1339ead1b2a2333c4af53d0e5670d9898313a6afb6a091e32eb5c5a2ec0f29bd16ee168a921f8ca3b75a391f3 WHIRLPOOL 4e6b6071f1aa7591a43971383a49051e04365f6fab017021f4a5a84c0393dc224491a755f67aa3207de8e12b8126afd681b1c7dbfe0e9e160fbaa8bbb122bffc
+MISC metadata.xml 238 SHA256 501d93b0c41ed422505100f002758cd173cd9783ae7fbb53e2ec5f238c868340 SHA512 173efaa53a514acf1e2f0c6681c82a48ec16d505844f551d2cc823ee8685b27837c7461f7956c12182059ee7e83023e2f0bcd5d1afab74beeaf998487193656d WHIRLPOOL 4ca51d994f011a5e7e4939f02a54b5c2f9f3e526665893c9ac2876c9871b7dc80361393d41c5247b3a5520e82d31d0dd10da520e7715c94b806a94ce0fed2a5a
diff --git a/dev-util/csup/csup-20060318.ebuild b/dev-util/csup/csup-20060318.ebuild
new file mode 100644
index 000000000000..7aa63bfffd12
--- /dev/null
+++ b/dev-util/csup/csup-20060318.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="A rewrite of CVSup"
+HOMEPAGE="http://www.mu.org/~mux/csup.html"
+SRC_URI="http://mu.org/~mux/csup-snap-${PV}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="dev-libs/openssl
+ sys-libs/zlib"
+
+RDEPEND="${DEPEND}
+ !>=sys-freebsd/freebsd-ubin-6.2_beta1"
+
+DEPEND="${DEPEND}
+ >=sys-devel/bison-2.1"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-respectflags.patch"
+}
+
+src_compile() {
+ # unable to work with yacc, but bison is ok.
+ emake \
+ CC="$(tc-getCC)" \
+ PREFIX=/usr YACC=bison || die "emake failed"
+}
+
+src_install() {
+ # instead of using make install, just copy the stuff directly
+ dobin csup || die "failed to install executable"
+ doman csup.1 || die "failed to install man page"
+ dodoc README
+}
diff --git a/dev-util/csup/files/csup-20060318-respectflags.patch b/dev-util/csup/files/csup-20060318-respectflags.patch
new file mode 100644
index 000000000000..c95a974c75ed
--- /dev/null
+++ b/dev-util/csup/files/csup-20060318-respectflags.patch
@@ -0,0 +1,43 @@
+Index: csup/GNUmakefile
+===================================================================
+--- csup.orig/GNUmakefile
++++ csup/GNUmakefile
+@@ -21,7 +21,7 @@ WARNS= -Wall -W -Wno-unused-parameter -W
+ -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline \
+ -Wnested-externs -Wredundant-decls -Wno-format-y2k
+
+-CFLAGS+= -g -O -pipe -DNDEBUG -I$(PREFIX)/include
++CFLAGS+= -I$(PREFIX)/include
+ ifeq ($(UNAME), Linux)
+ CFLAGS+= -D_XOPEN_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
+ endif
+@@ -29,14 +29,14 @@ ifeq ($(UNAME), Darwin)
+ CFLAGS+= -DHAVE_FFLAGS
+ endif
+ CFLAGS+= $(WARNS)
+-LDFLAGS= -L$(PREFIX)/lib -lcrypto -lz -lpthread
++LIBS= -L$(PREFIX)/lib -lcrypto -lz -lpthread
+
+ .PHONY: all clean install
+
+ all: csup csup.1.gz
+
+ csup: $(OBJS)
+- $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(LIBS)
+
+ config.c: parse.h
+
+Index: csup/Makefile
+===================================================================
+--- csup.orig/Makefile
++++ csup/Makefile
+@@ -11,7 +11,7 @@ SRCS= attrstack.c config.c detailer.c di
+ globtree.c idcache.c keyword.c lister.c main.c misc.c mux.c parse.y \
+ pathcomp.c proto.c status.c stream.c threads.c token.l updater.c
+
+-CFLAGS+= -I. -I${.CURDIR} -g -pthread -DHAVE_FFLAGS -DNDEBUG
++CFLAGS+= -I. -I${.CURDIR} -pthread -DHAVE_FFLAGS
+ WARNS?= 6
+
+ # A bit of tweaking is needed to get this Makefile working
diff --git a/dev-util/csup/metadata.xml b/dev-util/csup/metadata.xml
new file mode 100644
index 000000000000..a00f3aeb1f81
--- /dev/null
+++ b/dev-util/csup/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>bsd@gentoo.org</email>
+ <name>BSD Project</name>
+</maintainer>
+</pkgmetadata>