summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2007-02-16 12:06:39 +0000
committerxtraeme <xtraeme@pkgsrc.org>2007-02-16 12:06:39 +0000
commit49321d0095832dfef09d2bd922da2d7f0114e2e9 (patch)
tree18db836451b4027a2a7882cd18ed23f0c430a5f5 /net
parent743898273296721cd908dcb00c94cf87697f6e7a (diff)
downloadpkgsrc-49321d0095832dfef09d2bd922da2d7f0114e2e9.tar.gz
Initial import of csup-20070216 (I took a snapshot of the current
source), from pkgsrc-wip and packaged by iMil. Csup is a rewrite of CVSup in C. CVSup(R) is a software for distributing and updating collections of files accross a network. It can efficiently and accurately mirror all types of files, including sources, binaries, hard links, symbolic links, and even device nodes. In addition to being a great general-purpose mirroring tool, CVSup includes special features and optimizations specifically tailored to CVS repositories. It is being used as the preferred way to update sources within the FreeBSD, NetBSD and OpenBSD projects and more.
Diffstat (limited to 'net')
-rw-r--r--net/csup/DESCR9
-rw-r--r--net/csup/Makefile27
-rw-r--r--net/csup/PLIST3
-rw-r--r--net/csup/distinfo7
-rw-r--r--net/csup/patches/patch-aa13
-rw-r--r--net/csup/patches/patch-ab26
6 files changed, 85 insertions, 0 deletions
diff --git a/net/csup/DESCR b/net/csup/DESCR
new file mode 100644
index 00000000000..63766463fd3
--- /dev/null
+++ b/net/csup/DESCR
@@ -0,0 +1,9 @@
+Csup is a rewrite of CVSup in C.
+
+CVSup(R) is a software for distributing and updating collections of files
+accross a network. It can efficiently and accurately mirror all types of files,
+including sources, binaries, hard links, symbolic links, and even device nodes.
+In addition to being a great general-purpose mirroring tool, CVSup includes
+special features and optimizations specifically tailored to CVS repositories.
+It is being used as the preferred way to update sources within the FreeBSD,
+NetBSD and OpenBSD projects and more.
diff --git a/net/csup/Makefile b/net/csup/Makefile
new file mode 100644
index 00000000000..8662550ddf5
--- /dev/null
+++ b/net/csup/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/02/16 12:06:39 xtraeme Exp $
+#
+
+DISTNAME= csup-snap-20070216
+PKGNAME= ${DISTNAME:S/-snap//}
+CATEGORIES= net devel
+MASTER_SITES= ${MASTER_SITE_BACKUP}
+
+MAINTAINER= imil@gcu.info
+HOMEPAGE= http://www.mu.org/~mux/csup.html
+COMMENT= Rewrite of the CVSup file updating client in C
+
+USE_TOOLS+= yacc
+WRKSRC= ${WRKDIR}/csup
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+CFLAGS+= ${PTHREAD_CFLAGS}
+LDFLAGS+= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/csup ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/csup.1 ${PREFIX}/${PKGMANDIR}/man1/csup.1
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/csup/PLIST b/net/csup/PLIST
new file mode 100644
index 00000000000..3a092972259
--- /dev/null
+++ b/net/csup/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/02/16 12:06:39 xtraeme Exp $
+bin/csup
+man/man1/csup.1
diff --git a/net/csup/distinfo b/net/csup/distinfo
new file mode 100644
index 00000000000..6e64432f691
--- /dev/null
+++ b/net/csup/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/02/16 12:06:39 xtraeme Exp $
+
+SHA1 (csup-snap-20070216.tar.gz) = b2a5b5a95496f166caa6f4c03003fe354a4e76c2
+RMD160 (csup-snap-20070216.tar.gz) = 7d96422461d7538b8f5ff2afaff9341a38ad2a8f
+Size (csup-snap-20070216.tar.gz) = 80734 bytes
+SHA1 (patch-aa) = 9f0792cb8d3f6acd28df3db6fd6b629800c4cc1c
+SHA1 (patch-ab) = 2577b0307a098fd5a3b6ed7906f3c550be169d6a
diff --git a/net/csup/patches/patch-aa b/net/csup/patches/patch-aa
new file mode 100644
index 00000000000..f46b21962c8
--- /dev/null
+++ b/net/csup/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/02/16 12:06:39 xtraeme Exp $
+
+--- GNUmakefile.orig 2006-03-13 23:17:59.000000000 +0100
++++ GNUmakefile
+@@ -29,7 +29,7 @@ ifeq ($(UNAME), Darwin)
+ CFLAGS+= -DHAVE_FFLAGS
+ endif
+ CFLAGS+= $(WARNS)
+-LDFLAGS= -L$(PREFIX)/lib -lcrypto -lz -lpthread
++LDFLAGS= -L$(PREFIX)/lib -lcrypto -lz ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+
+ .PHONY: all clean install
+
diff --git a/net/csup/patches/patch-ab b/net/csup/patches/patch-ab
new file mode 100644
index 00000000000..4aebe7578b1
--- /dev/null
+++ b/net/csup/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/02/16 12:06:39 xtraeme Exp $
+
+--- Makefile.orig 2006-03-07 20:10:25.000000000 +0100
++++ Makefile 2007-02-16 12:39:28.000000000 +0100
+@@ -11,19 +11,18 @@
+ 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} -g ${PTHREAD_CFLAGS} -DHAVE_FFLAGS -DNDEBUG
++LDFLAGS+= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+ WARNS?= 6
+
+ # A bit of tweaking is needed to get this Makefile working
+ # with the bsd.prog.mk of all the *BSD OSes...
+ .if (${UNAME} == "NetBSD")
+-LDFLAGS+= -pthread
+ YHEADER= yes
+
+ .elif (${UNAME} == "OpenBSD")
+ # I bet there's a better way to do this with the OpenBSD mk
+ # framework but well, this works and I got bored.
+-LDFLAGS+= -pthread
+ YFLAGS= -d
+ CLEANFILES+= parse.c parse.h y.tab.h
+