aboutsummaryrefslogtreecommitdiff
path: root/net/cvsup-mirror/files
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1997-07-16 20:59:55 +0000
committerJohn Polstra <jdp@FreeBSD.org>1997-07-16 20:59:55 +0000
commitf08936d5796777c5b5cda51b39e3a170d4bc08d9 (patch)
treedfc2dafbb2abad6fc820848d2d9631875253677d /net/cvsup-mirror/files
parentdb6a26056c7e371da2156a4c37cd9cd4155a52a8 (diff)
downloadports-f08936d5796777c5b5cda51b39e3a170d4bc08d9.tar.gz
ports-f08936d5796777c5b5cda51b39e3a170d4bc08d9.zip
Direct cvsupd's stdout and stderr into "/var/tmp/cvsupd.out" for
better crash diagnosis. May it never get tested, ha ha ha. Eliminate the lite2 and smp releases of the src-sys collection. Add the new mail-archive collection. Run cvsup with the "-1" flag to disable automatic retries. Let cron take care of that. State in DESCR that version 15.1 or later of CVSup is required.
Notes
Notes: svn path=/head/; revision=7354
Diffstat (limited to 'net/cvsup-mirror/files')
-rw-r--r--net/cvsup-mirror/files/cvsupd.sh4
-rw-r--r--net/cvsup-mirror/files/supfile13
-rw-r--r--net/cvsup-mirror/files/update.sh6
3 files changed, 12 insertions, 11 deletions
diff --git a/net/cvsup-mirror/files/cvsupd.sh b/net/cvsup-mirror/files/cvsupd.sh
index 1190e591c685..ca4382e4eea1 100644
--- a/net/cvsup-mirror/files/cvsupd.sh
+++ b/net/cvsup-mirror/files/cvsupd.sh
@@ -5,6 +5,7 @@ if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/cvsupd\.sh\$"); then
exit 1
fi
base=${PREFIX}/etc/cvsup
+out=/var/tmp/cvsupd.out
export PATH=/bin:/usr/bin:${PREFIX}/sbin
umask 2
@@ -13,4 +14,5 @@ test -x ${PREFIX}/sbin/cvsupd || exit 1
echo -n " cvsupd"
cd ${base} || exit
. config.sh || exit
-su -m ${user} -c "cvsupd -C ${maxclients} -l @${facility}"
+su -m ${user} -c \
+ "cvsupd -e -C ${maxclients} -l @${facility}" >>${out} 2>&1
diff --git a/net/cvsup-mirror/files/supfile b/net/cvsup-mirror/files/supfile
index fb82b1916263..84d7fe39f9c6 100644
--- a/net/cvsup-mirror/files/supfile
+++ b/net/cvsup-mirror/files/supfile
@@ -2,10 +2,9 @@
# Standard supfile for CVSup FreeBSD mirrors.
#
*default delete use-rel-suffix
-cvs-all release=cvs prefix=prefixes/FreeBSD.cvs norsync
-cvs-crypto release=cvs prefix=prefixes/FreeBSD-crypto.cvs
-src-sys release=lite2 prefix=prefixes/FreeBSD.lite2 norsync
-src-sys release=smp prefix=prefixes/FreeBSD.smp norsync
-gnats release=current prefix=prefixes/FreeBSD-gnats.current
-www release=current prefix=prefixes/FreeBSD-www.current
-distrib release=self prefix=prefixes/distrib.self
+cvs-all release=cvs prefix=prefixes/FreeBSD.cvs
+cvs-crypto release=cvs prefix=prefixes/FreeBSD-crypto.cvs
+gnats release=current prefix=prefixes/FreeBSD-gnats.current
+www release=current prefix=prefixes/FreeBSD-www.current
+mail-archive release=current prefix=prefixes/FreeBSD-mail.current
+distrib release=self prefix=prefixes/distrib.self
diff --git a/net/cvsup-mirror/files/update.sh b/net/cvsup-mirror/files/update.sh
index c6b73c474e91..c8f8c978f703 100644
--- a/net/cvsup-mirror/files/update.sh
+++ b/net/cvsup-mirror/files/update.sh
@@ -44,14 +44,14 @@ umask 2
if [ ${host_crypto} = ${host} ]; then
echo "Updating from ${host}"
- cvsup -gL 1 -c ${colldir} -h ${host} supfile
+ cvsup -1gL 1 -c ${colldir} -h ${host} supfile
else
if [ -d prefixes/FreeBSD-crypto.cvs ]; then
echo "Updating from ${host_crypto}"
- cvsup -gL 1 -c ${colldir} -h ${host_crypto} supfile.crypto
+ cvsup -1gL 1 -c ${colldir} -h ${host_crypto} supfile.crypto
fi
echo "Updating from ${host}"
- cvsup -gL 1 -c ${colldir} -h ${host} supfile.non-crypto
+ cvsup -1gL 1 -c ${colldir} -h ${host} supfile.non-crypto
fi
if [ -f .start_server ]; then