From sheldonh@axl.iafrica.com  Wed Nov 12 13:05:35 1997
Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141])
          by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA08826
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Nov 1997 13:05:19 -0800 (PST)
          (envelope-from sheldonh@axl.iafrica.com)
Received: from axl.iafrica.com [196.31.1.167] (sheldonh)
	by lists01.iafrica.com with esmtp (Exim 1.73 #1)
	id 0xVjyK-00059V-00; Wed, 12 Nov 1997 23:05:12 +0200
Received: (from sheldonh@localhost)
	by axl.iafrica.com (8.8.7/8.8.7) id XAA27889;
	Wed, 12 Nov 1997 23:05:15 +0200 (SAT)
	(envelope-from sheldonh)
Message-Id: <199711122105.XAA27889@axl.iafrica.com>
Date: Wed, 12 Nov 1997 23:05:15 +0200 (SAT)
From: sheldonh@iafrica.com
Reply-To: sheldonh@iafrica.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: AT LAST! New port for cvsup-bin-15.2 (binary dist)
X-Send-Pr-Version: 3.2

>Number:         5022
>Category:       ports
>Synopsis:       AT LAST! New port for cvsup-bin-15.2 (binary dist)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jdp
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 12 13:10:00 PST 1997
>Closed-Date:    Sun Nov 16 16:56:20 PST 1997
>Last-Modified:  Sun Nov 16 16:59:20 PST 1997
>Originator:     Sheldon Hearn
>Release:        FreeBSD 2.2.5-STABLE i386
>Organization:
                 UUNET Internet Africa
>Environment:

	FreeBSD 2.2-STABLE as of 5 Nov 1997

>Description:

	Installing CVSup from the ports collection has always been a pain
	in the arse. Finally, it's made easy with this port of the binary
	distribution. USE_CVSUPD optional.

	Good-bye modula-3-lib !!!

>How-To-Repeat:

	N/A

>Fix:
	
	The following shar archive contains the port directory. It's been
	tested for correct packaging, with and without USE_CVSUPD .

# 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:
#
#	cvsup-bin
#	cvsup-bin/pkg
#	cvsup-bin/pkg/COMMENT
#	cvsup-bin/pkg/DESCR
#	cvsup-bin/pkg/PLIST
#	cvsup-bin/pkg/PLIST.cvsupd
#	cvsup-bin/files
#	cvsup-bin/files/md5
#	cvsup-bin/Makefile
#	cvsup-bin/scripts
#	cvsup-bin/scripts/configure
#
echo c - cvsup-bin
mkdir -p cvsup-bin > /dev/null 2>&1
echo c - cvsup-bin/pkg
mkdir -p cvsup-bin/pkg > /dev/null 2>&1
echo x - cvsup-bin/pkg/COMMENT
sed 's/^X//' >cvsup-bin/pkg/COMMENT << 'END-of-cvsup-bin/pkg/COMMENT'
XA network file distribution and update system for CVS repositories.
END-of-cvsup-bin/pkg/COMMENT
echo x - cvsup-bin/pkg/DESCR
sed 's/^X//' >cvsup-bin/pkg/DESCR << 'END-of-cvsup-bin/pkg/DESCR'
XThis is the BINARY (statically linked) version of CVSup.
X
XCVSup is a software package for distributing and updating collections
Xof files across a network.  CVSup is specifically tailored to
Xdistributing CVS repositories.  By taking advantage of the special
Xproperties of the files contained in CVS repositories, CVSup is
Xable to perform updates much faster than traditional systems.  It
Xis especially valuable for people with slow Internet connections.
X
Xjdp@polstra.com
END-of-cvsup-bin/pkg/DESCR
echo x - cvsup-bin/pkg/PLIST
sed 's/^X//' >cvsup-bin/pkg/PLIST << 'END-of-cvsup-bin/pkg/PLIST'
Xbin/cvsup
Xbin/supconv
Xman/man1/cvsup.1.gz
Xman/man1/supconv.1.gz
END-of-cvsup-bin/pkg/PLIST
echo x - cvsup-bin/pkg/PLIST.cvsupd
sed 's/^X//' >cvsup-bin/pkg/PLIST.cvsupd << 'END-of-cvsup-bin/pkg/PLIST.cvsupd'
Xbin/cvsup
Xbin/supconv
Xsbin/cvsupd
Xman/man1/cvsup.1.gz
Xman/man1/supconv.1.gz
Xman/man8/cvsupd.8.gz
END-of-cvsup-bin/pkg/PLIST.cvsupd
echo c - cvsup-bin/files
mkdir -p cvsup-bin/files > /dev/null 2>&1
echo x - cvsup-bin/files/md5
sed 's/^X//' >cvsup-bin/files/md5 << 'END-of-cvsup-bin/files/md5'
XMD5 (cvsup-bin-15.2.tar.gz) = e92c5afa6fc51894d8edd97d2b29247c
XMD5 (cvsupd-bin-15.2.tar.gz) = 1801d60628dbd7b731402a24faa5e6b8
END-of-cvsup-bin/files/md5
echo x - cvsup-bin/Makefile
sed 's/^X//' >cvsup-bin/Makefile << 'END-of-cvsup-bin/Makefile'
X# New ports collection makefile for:	cvsup-bin
X# Version required:	15.2
X# Date created:		7 August 1996
X# Whom:			Sheldon Hearn <axl@iafrica.com>
X#
X# $Id$
X#
X
XDISTNAME=	cvsup-bin-15.2
XCATEGORIES=	devel net
XMASTER_SITES=	ftp://hub.freebsd.org/pub/CVSup/ \
X		ftp://ftp.cs.tu-berlin.de/pub/FreeBSD/CVSup/ \
X		ftp://ftp.polstra.com/pub/FreeBSD/CVSup/
XDISTFILES=	cvsup-bin-15.2.tar.gz
X
XMAINTAINER=	axl@iafrica.com
X
XNO_BUILD=	yes
X
XMAN1=	cvsup.1 supconv.1
X
X# Uncomment the next line if you want cvsupd as well
X# USE_CVSUPD=	yes
X
X.ifdef USE_CVSUPD
XDISTFILES+=	cvsupd-bin-15.2.tar.gz
XMAN8=		cvsupd.8
XPLIST=		${PKGDIR}/PLIST.cvsupd
X.endif
X
Xdo-install:
X	cd ${WRKDIR}/cvsup-bin-15.2 && \
X	${INSTALL_PROGRAM} cvsup ${PREFIX}/bin && \
X	${INSTALL_SCRIPT} supconv ${PREFIX}/bin && \
X	${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
X.ifdef USE_CVSUPD
X	cd ${WRKDIR}/cvsupd-bin-15.2 && \
X	${INSTALL_PROGRAM} cvsupd ${PREFIX}/sbin && \
X	${INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8
X.endif
X
X.include <bsd.port.mk>
END-of-cvsup-bin/Makefile
echo c - cvsup-bin/scripts
mkdir -p cvsup-bin/scripts > /dev/null 2>&1
echo x - cvsup-bin/scripts/configure
sed 's/^X//' >cvsup-bin/scripts/configure << 'END-of-cvsup-bin/scripts/configure'
X#!/bin/sh
X
Xfor i in `find ${WRKDIR} -name *.gz -print` ; do gunzip $i ; done
END-of-cvsup-bin/scripts/configure
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->jdp 
Responsible-Changed-By: jdp 
Responsible-Changed-When: Fri Nov 14 08:59:37 PST 1997 
Responsible-Changed-Why:  
Thanks very much!  I will shepherd this into the tree ASAP. 
State-Changed-From-To: open->closed 
State-Changed-By: jdp 
State-Changed-When: Sun Nov 16 16:56:20 PST 1997 
State-Changed-Why:  
I've committed the port almost in its submitted form.  My only 
change was to replace "&&" with ";" in a few places in the Makefile. 
Make always executes the shell with the "-e" option, making the 
two equivalent in this context.  The ";" is more consistent with 
other ports Makefiles. 

Thanks for submitting this, Sheldon! 
>Unformatted:
