summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz>2008-03-12 10:16:05 +0000
committerwiz <wiz>2008-03-12 10:16:05 +0000
commit94ffc35d8a3c36536a6d45f7e561927381615229 (patch)
treedc1a486adfae2704d878fb4414170d16038c6e7a /devel
parent244833bffcde4b224b575dbadc6fa13517209fd5 (diff)
downloadpkgsrc-94ffc35d8a3c36536a6d45f7e561927381615229.tar.gz
Initial import of cvsclone:
Utility to clone CVS repositories over the pserver interface. Works for anonymous access. FEATURES - reads $HOME/.cvspass - can clone corrupt repositories: writes ,v files directly, does not need rcs. (For example, ccvs module has archives that go backwards in time.)
Diffstat (limited to 'devel')
-rw-r--r--devel/cvsclone/DESCR8
-rw-r--r--devel/cvsclone/Makefile30
-rw-r--r--devel/cvsclone/PLIST4
-rw-r--r--devel/cvsclone/distinfo6
-rw-r--r--devel/cvsclone/patches/patch-aa13
5 files changed, 61 insertions, 0 deletions
diff --git a/devel/cvsclone/DESCR b/devel/cvsclone/DESCR
new file mode 100644
index 00000000000..ebf0ae0eb99
--- /dev/null
+++ b/devel/cvsclone/DESCR
@@ -0,0 +1,8 @@
+Utility to clone CVS repositories over the pserver interface. Works
+for anonymous access.
+
+FEATURES
+- reads $HOME/.cvspass
+- can clone corrupt repositories: writes ,v files directly, does not
+ need rcs. (For example, ccvs module has archives that go backwards
+ in time.)
diff --git a/devel/cvsclone/Makefile b/devel/cvsclone/Makefile
new file mode 100644
index 00000000000..49627f80985
--- /dev/null
+++ b/devel/cvsclone/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/03/12 10:16:05 wiz Exp $
+#
+
+DISTNAME= cvsclone
+PKGNAME= cvsclone-0.00
+CATEGORIES= devel scm
+MASTER_SITES= http://samba.org/ftp/tridge/rtc/
+EXTRACT_SUFX= .l
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+#HOMEPAGE= http://samba.org/ftp/tridge/rtc/
+COMMENT= Clone a CVS repository using the :pserver: access method
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+INSTALLATION_DIRS= bin
+WRKSRC= ${WRKDIR}
+USE_TOOLS+= lex
+
+do-build:
+ cd ${WRKSRC} && \
+ ${LEX} cvsclone.l && \
+ ${CC} ${CFLAGS} lex.yy.c -o cvsclone
+ cd ${WRKSRC} && ${HEAD} -88 cvsclone.l > README.txt
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cvsclone ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cvsclone
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/cvsclone
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cvsclone/PLIST b/devel/cvsclone/PLIST
new file mode 100644
index 00000000000..498656d41f8
--- /dev/null
+++ b/devel/cvsclone/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/12 10:16:05 wiz Exp $
+bin/cvsclone
+share/doc/cvsclone/README.txt
+@dirrm share/doc/cvsclone
diff --git a/devel/cvsclone/distinfo b/devel/cvsclone/distinfo
new file mode 100644
index 00000000000..a8eb8b35e79
--- /dev/null
+++ b/devel/cvsclone/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/03/12 10:16:05 wiz Exp $
+
+SHA1 (cvsclone-0.00/cvsclone.l) = f0886e5b028df2b863aeb11e08ece4031626a25b
+RMD160 (cvsclone-0.00/cvsclone.l) = b0fa4c32731e49f986c67e9639ba1fdd16149c2c
+Size (cvsclone-0.00/cvsclone.l) = 33927 bytes
+SHA1 (patch-aa) = 390251a65275977b58fb356f858d0c2244e82ec8
diff --git a/devel/cvsclone/patches/patch-aa b/devel/cvsclone/patches/patch-aa
new file mode 100644
index 00000000000..e0e7f680376
--- /dev/null
+++ b/devel/cvsclone/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/03/12 10:16:05 wiz Exp $
+
+--- cvsclone.l.orig 2006-03-30 14:12:28.000000000 +0200
++++ cvsclone.l
+@@ -92,6 +92,8 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#include <netinet/in.h>
++/* #include <arpa/nameser.h> */
+ #include <netdb.h>
+ #include <resolv.h>
+ #include <unistd.h>