Permalink
Browse files

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.)
  • Loading branch information...
1 parent 5c14e64 commit 0e76040e6d7cb531ecaa04fdc4cfc14f0df0d0c5 wiz committed Mar 12, 2008
Showing with 61 additions and 0 deletions.
  1. +8 −0 devel/cvsclone/DESCR
  2. +30 −0 devel/cvsclone/Makefile
  3. +4 −0 devel/cvsclone/PLIST
  4. +6 −0 devel/cvsclone/distinfo
  5. +13 −0 devel/cvsclone/patches/patch-aa
@@ -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.)
@@ -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"
@@ -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
@@ -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
@@ -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>

0 comments on commit 0e76040

Please sign in to comment.