Wed Mar 12 10:16:05 2008 UTC ()
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.)

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-20080312


(wiz)
diff -r0 -r1.1.1.1 pkgsrc/devel/cvsclone/DESCR
diff -r0 -r1.1.1.1 pkgsrc/devel/cvsclone/Makefile
diff -r0 -r1.1.1.1 pkgsrc/devel/cvsclone/PLIST
diff -r0 -r1.1.1.1 pkgsrc/devel/cvsclone/distinfo
diff -r0 -r1.1.1.1 pkgsrc/devel/cvsclone/patches/patch-aa

File Added: pkgsrc/devel/cvsclone/DESCR
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.)

File Added: pkgsrc/devel/cvsclone/Makefile
# $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"

File Added: pkgsrc/devel/cvsclone/PLIST
@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

File Added: pkgsrc/devel/cvsclone/distinfo
$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

File Added: pkgsrc/devel/cvsclone/patches/patch-aa
$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>