Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Nov 2005 10:52:29 +0100
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jdp@FreeBSD.org
Subject:   ports/88587: [NEW PORT] net/cvsupchk: Check a CVSup directory hierarchy against the checkouts file
Message-ID:  <E1EZ3fx-0007JF-MA@libertas.emma.line.org>
Resent-Message-ID: <200511071000.jA7A0TOC037738@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88587
>Category:       ports
>Synopsis:       [NEW PORT] net/cvsupchk: Check a CVSup directory hierarchy against the checkouts file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 07 10:00:29 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Nov  4 22:26:41 CET
>Description:
cvsupchk ships in cvsup's contrib/ directory, but it's more widely useful to
help users clean up if they created a mess by changing the *default tag
without copying or renaming the old checkouts file.

This port is supposed to make installing cvsupchk more easy for users
and put it under package management.

In the long run, perhaps cvsup itself could refuse to work without a checkouts
file and, as additional safeguard against repo corruption and missed deletions,
print a message such as "If you've changed your default tag, remember to rename
your existing checkouts file. If you've changed your base directory, remember
to copy or move your existing checkouts file. If you have no prior checkouts
file, just touch checkouts[:tag]." (jdp Cc'd).

This is the pkg-descr:

| "cvsupchk is a python script that checks a CVSup maintained directory
| hierarchy against the corresponding CVSup checkouts file. It looks for
| a number of anomalies: missing checked out files, deleted files being
| present, extra RCS files, 'dead' directories being present and so on."
|
| -- Joseph Koshy <jkoshy@freebsd.org>

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- cvsupchk-19990209.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	cvsupchk
#	cvsupchk/Makefile
#	cvsupchk/pkg-descr
#
echo c - cvsupchk
mkdir -p cvsupchk > /dev/null 2>&1
echo x - cvsupchk/Makefile
sed 's/^X//' >cvsupchk/Makefile << 'END-of-cvsupchk/Makefile'
X# New ports collection makefile for:	cvsupchk
X# Date created:				07 Nov 2005
X# Whom:					matthias.andree@gmx.de
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cvsupchk
XPORTVERSION=	19990209
XCATEGORIES=	net
XDISTFILES=
X
XMAINTAINER=	matthias.andree@gmx.de
XCOMMENT=	Check a CVSup directory hierarchy against the checkouts file
X
XBUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/net/cvsup:extract
X
XPLIST_FILES=	bin/cvsupchk
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	*
X.endif
X
XUSE_PYTHON=	yes
X
X.include <bsd.port.pre.mk>
X
Xsrc!=		cd ${PORTSDIR}/net/cvsup && make -V WRKSRC
X
Xdo-build:
X		${MKDIR} ${WRKSRC}
X		${SED} 's:^#!/usr/local/bin/python:${PYTHON_CMD}:' <${src}/contrib/cvsupchk/cvsupchk >${WRKSRC}/cvsupchk
X
Xdo-install:
X		${MKDIR} ${PREFIX}/bin
X		${INSTALL_SCRIPT} ${WRKSRC}/cvsupchk ${PREFIX}/bin/
X.if !defined(NOPORTDOCS)
X		${MKDIR} ${DOCSDIR}
X		${INSTALL_DATA} ${src}/contrib/cvsupchk/README ${DOCSDIR}/
X.endif
X
X.include <bsd.port.post.mk>
END-of-cvsupchk/Makefile
echo x - cvsupchk/pkg-descr
sed 's/^X//' >cvsupchk/pkg-descr << 'END-of-cvsupchk/pkg-descr'
X"cvsupchk is a python script that checks a CVSup maintained directory
Xhierarchy against the corresponding CVSup checkouts file. It looks for
Xa number of anomalies: missing checked out files, deleted files being
Xpresent, extra RCS files, 'dead' directories being present and so on."
X
X-- Joseph Koshy <jkoshy@freebsd.org>
END-of-cvsupchk/pkg-descr
exit
--- cvsupchk-19990209.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1EZ3fx-0007JF-MA>