The FreeBSD Ports Archive
FreeBSD net : cvsup-mirror4>
A kit for easily setting up a FreeBSD mirror site using CVSup
This is the CVSup Mirror Kit, an easy way to set up a FreeBSD mirror
site. When you type "make", it asks you a few questions about
which files you want to mirror, where you want to put them on your
disks, where you want to update them from, etc. After a "make
install" your system will then be running as a nearly self-maintaining
FreeBSD mirror site. It will even update its own configuration
files from the master site automatically.
This kit is not for people who just want to keep their own files
up to date with CVSup. It is for people who wish to run servers
that distribute the FreeBSD sources to others.
This port requires CVSup version 15.3 or later.
http://www.cvsup.org/
|
cvsup-mirror history
v. 1.26
date: 2007/07/29 20:45:27; author: kris; state: Exp; lines: +0 -1
Retire obsolete USA_RESIDENT (dating to the bad old days of crypto export
controls and RSAref). nenscript was abusing this variable to enable
US-style paper size and date format, so just revert to the default for now.
v. 1.25
date: 2007/01/31 18:11:22; author: jdp; state: Exp; lines: +1 -5
Use RC_SUBR_SUFFIX.
Submitted by: Rong-En Fan
v. 1.24
date: 2007/01/29 01:13:34; author: jdp; state: Exp; lines: +12 -3
Fix bug: When the net/cvsup-mirror port is installed on a system
with OSVERSION >= 600101, the update.sh script is unable to start
PREFIX/etc/rc.d/cvsupd.sh script, as it doesn't exist. Instead the
cvsupd.sh script is named cvsupd on systems with OSVERSION >=
600101.
PR: ports/108483
Submitted by: Scot Hetzel
v. 1.23
date: 2006/01/02 10:05:11; author: edwin; state: Exp; lines: +1 -1
[PATCH] net/cvsup-mirror: add some install time options for update.sh
Add following install time options for update.sh
- Whether or not /var/log/cvsup.log is rotated when update.sh
is invoked.
- Maximum number of log files.
- Wheter or not old log file is gzipped after rotated.
PR: ports/81598
Submitted by: KIMURA Yasuhiro
Not objected by: jdp@FreeBSD.org
v. 1.22
date: 2005/12/09 14:49:43; author: pav; state: Exp; lines: +3 -4
- Provide rcNG startup script
PR: ports/89316
Submitted by: Petr Rehor
Approved by: maintainer timeout (jpd; 19 days)
v. 1.21
date: 2004/08/05 23:37:47; author: jdp; state: Exp; lines: +1 -1
Fix two bugs in scripts.
1. If update.sh failed to determine the PREFIX, it didn't realize it
had failed. This is arguably caused by a shell bug in processing
the statement
export PREFIX=$(expr $0 : "\(/.*\)/etc/cvsup/update\.sh\$")
This statement always succeeds even if the "expr" command fails.
Moving the "export" to a separate statement makes it work.
2. If the system had no "/home" directory, the pkg-install script
would create it with mode 0700, making ~cvsupin inaccessible to its
owner. A user ran into this bug when installing cvsup-mirror into a
jail.
v. 1.20
date: 2004/03/17 11:23:03; author: mat; state: Exp; lines: +1 -1
Ok, fix it once more, I swear I won't be doint sh scripts for a while
Pointy Hat To: me (I still have it, don't search)
v. 1.19
date: 2004/03/17 07:17:57; author: mat; state: Exp; lines: +1 -0
Corrected silly sh error
PORTREVISION bumped
Pointy Hat To: me
v. 1.18
date: 2004/03/16 17:35:06; author: mat; state: Exp; lines: +1 -2
Update to 1.3, allow to add increase history and to compress logs easily
Approved by: jdp (maintainer)
v. 1.17
date: 2003/03/07 06:07:38; author: ade; state: Exp; lines: +1 -0
Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.
E Nomini Patri, E Fili, E Spiritu Sancti.
v. 1.16
date: 2002/11/11 17:21:29; author: jdp; state: Exp; lines: +1 -0
Put core dumps and crash output (cvsupd.out) into /var/run instead
of /var/tmp. Create cvsupd.out with mode 644 if it doesn't already
exist. Bump PORTREVISION.
Suggested by: Joshua Goodall
v. 1.15
date: 2002/01/15 05:13:57; author: jdp; state: Exp; lines: +2 -2
Depend on the GUI-less port of CVSup.
v. 1.14
date: 2001/07/21 18:45:52; author: jdp; state: Exp; lines: +2 -3
Update ports which depend on cvsup-bin or cvsupd-bin to use the
cvsup port instead. I am removing the *-bin ports.
v. 1.13
date: 2000/10/08 10:22:25; author: asami; state: Exp; lines: +2 -2
Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
v. 1.12
date: 2000/07/09 17:57:27; author: jdp; state: Exp; lines: +2 -4
Update the cvsup-mirror port to reflect the fact that crypto isn't
a special case any more.
v. 1.11
date: 2000/04/20 20:25:29; author: mharo; state: Exp; lines: +3 -4
PREFIX -> LOCALBASE
v. 1.10
date: 2000/04/09 18:10:46; author: cpiazza; state: Exp; lines: +3 -3
Update with the new PORTNAME/PORTVERSION variables
v. 1.9
date: 2000/01/28 06:42:27; author: jdp; state: Exp; lines: +5 -3
This is a fairly substantial upgrade of the cvsup-mirror port. In
honor of the occasion I have bumped the version number to 1.1.
The port now depends upon the cvsup-bin and cvsupd-bin ports rather
than on the more trouble-prone cvsup port.
The CVSup server is run with "-C 100" (max. 100 clients at a time)
and the true limit is set in the "/usr/local/etc/cvsup/cvsupd.access"
file. This is nice because you can change the limit by editing
the file; you don't have to restart the server. The cvsupd.access
file also contains a rule to limit each individual host to one
connection at a time.
The CVSup client is now run under its own unprivileged user ID
instead of root. This is a security enhancement. It makes it
impossible for a compromised master site to install files into
places outside the mirror area of the filesystem. The permissions
of various other files such as /usr/local/etc/cvsup have also been
strengthened to enhance security.
Both client and server now cd to /var/tmp to run, so that if they
decide to croak they'll be able to write the core file. :-)
The /usr/local/etc/rc.d/cvsupd.sh script now honors the "start"
and "stop" arguments.
The configure script no longer attempts to tell you the sizes of
the various collections. That's impossible to maintain. When I
have time I plan to make a web page where one can obtain that
information from an automatically-updated source. Then I will
reference the URL in the configure script.
It is possible to upgrade an existing cvsup-mirror-1.0 installation
to this new version, but it is tricky because of the change in
ownership of the mirrored files. I will post instructions to the
freebsd-hubs mailing list after I make sure I have the procedure
just right.
v. 1.8
date: 2000/01/14 04:39:51; author: jdp; state: Exp; lines: +4 -2
Install a "refuse" file to protect the mirror's scripts and
configuration files from a malicious or compromised master site.
v. 1.7
date: 1999/08/30 14:22:29; author: peter; state: Exp; lines: +1 -1
$Id$ -> $FreeBSD$
v. 1.6
date: 1999/08/27 22:29:53; author: mharo; state: Exp; lines: +2 -2
echo -> ${ECHO} or ${ECHO_MSG} and in some cases, move echo stuff
to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
v. 1.5
date: 1999/08/22 23:33:09; author: mharo; state: Exp; lines: +3 -3
awk -> ${AWK}
basename -> ${BASENAME}
cat -> ${CAT}
cp -> ${CP}
ldconfig -> ${LDCONFIG}
mkdir -> ${MKDIR}
v. 1.4
date: 1998/06/27 05:19:58; author: asami; state: Exp; lines: +1 -2
Remove NO_CONFIGURE and NO_PATCH, they never meant anything.
v. 1.3
date: 1997/07/13 18:49:27; author: max; state: Exp; lines: +2 -2
/bin/sh -> ${SH}
v. 1.2
date: 1997/02/06 06:50:40; author: asami; state: Exp; lines: +2 -1
Put RUN_DEPENDS in its own section.
v. 1.1
date: 1997/02/02 04:11:33; author: jdp; state: Exp;
branches: 1.1.1;
Initial revision
v. 1.1.1.1
date: 1997/02/02 04:11:33; author: jdp; state: Exp; lines: +0 -0
The cvsup-mirror port, a kit that makes it easy to set up a FreeBSD
mirror site.
=============================================================================
v. 1.26
date: 2007/07/29 20:45:27; author: kris; state: Exp; lines: +0 -1
Retire obsolete USA_RESIDENT (dating to the bad old days of crypto export
controls and RSAref). nenscript was abusing this variable to enable
US-style paper size and date format, so just revert to the default for now.
v. 1.25
date: 2007/01/31 18:11:22; author: jdp; state: Exp; lines: +1 -5
Use RC_SUBR_SUFFIX.
Submitted by: Rong-En Fan
v. 1.24
date: 2007/01/29 01:13:34; author: jdp; state: Exp; lines: +12 -3
Fix bug: When the net/cvsup-mirror port is installed on a system
with OSVERSION >= 600101, the update.sh script is unable to start
PREFIX/etc/rc.d/cvsupd.sh script, as it doesn't exist. Instead the
cvsupd.sh script is named cvsupd on systems with OSVERSION >=
600101.
PR: ports/108483
Submitted by: Scot Hetzel
v. 1.23
date: 2006/01/02 10:05:11; author: edwin; state: Exp; lines: +1 -1
[PATCH] net/cvsup-mirror: add some install time options for update.sh
Add following install time options for update.sh
- Whether or not /var/log/cvsup.log is rotated when update.sh
is invoked.
- Maximum number of log files.
- Wheter or not old log file is gzipped after rotated.
PR: ports/81598
Submitted by: KIMURA Yasuhiro
Not objected by: jdp@FreeBSD.org
v. 1.22
date: 2005/12/09 14:49:43; author: pav; state: Exp; lines: +3 -4
- Provide rcNG startup script
PR: ports/89316
Submitted by: Petr Rehor
Approved by: maintainer timeout (jpd; 19 days)
v. 1.21
date: 2004/08/05 23:37:47; author: jdp; state: Exp; lines: +1 -1
Fix two bugs in scripts.
1. If update.sh failed to determine the PREFIX, it didn't realize it
had failed. This is arguably caused by a shell bug in processing
the statement
export PREFIX=$(expr $0 : "\(/.*\)/etc/cvsup/update\.sh\$")
This statement always succeeds even if the "expr" command fails.
Moving the "export" to a separate statement makes it work.
2. If the system had no "/home" directory, the pkg-install script
would create it with mode 0700, making ~cvsupin inaccessible to its
owner. A user ran into this bug when installing cvsup-mirror into a
jail.
v. 1.20
date: 2004/03/17 11:23:03; author: mat; state: Exp; lines: +1 -1
Ok, fix it once more, I swear I won't be doint sh scripts for a while
Pointy Hat To: me (I still have it, don't search)
v. 1.19
date: 2004/03/17 07:17:57; author: mat; state: Exp; lines: +1 -0
Corrected silly sh error
PORTREVISION bumped
Pointy Hat To: me
v. 1.18
date: 2004/03/16 17:35:06; author: mat; state: Exp; lines: +1 -2
Update to 1.3, allow to add increase history and to compress logs easily
Approved by: jdp (maintainer)
v. 1.17
date: 2003/03/07 06:07:38; author: ade; state: Exp; lines: +1 -0
Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.
E Nomini Patri, E Fili, E Spiritu Sancti.
v. 1.16
date: 2002/11/11 17:21:29; author: jdp; state: Exp; lines: +1 -0
Put core dumps and crash output (cvsupd.out) into /var/run instead
of /var/tmp. Create cvsupd.out with mode 644 if it doesn't already
exist. Bump PORTREVISION.
Suggested by: Joshua Goodall
v. 1.15
date: 2002/01/15 05:13:57; author: jdp; state: Exp; lines: +2 -2
Depend on the GUI-less port of CVSup.
v. 1.14
date: 2001/07/21 18:45:52; author: jdp; state: Exp; lines: +2 -3
Update ports which depend on cvsup-bin or cvsupd-bin to use the
cvsup port instead. I am removing the *-bin ports.
v. 1.13
date: 2000/10/08 10:22:25; author: asami; state: Exp; lines: +2 -2
Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
v. 1.12
date: 2000/07/09 17:57:27; author: jdp; state: Exp; lines: +2 -4
Update the cvsup-mirror port to reflect the fact that crypto isn't
a special case any more.
v. 1.11
date: 2000/04/20 20:25:29; author: mharo; state: Exp; lines: +3 -4
PREFIX -> LOCALBASE
v. 1.10
date: 2000/04/09 18:10:46; author: cpiazza; state: Exp; lines: +3 -3
Update with the new PORTNAME/PORTVERSION variables
v. 1.9
date: 2000/01/28 06:42:27; author: jdp; state: Exp; lines: +5 -3
This is a fairly substantial upgrade of the cvsup-mirror port. In
honor of the occasion I have bumped the version number to 1.1.
The port now depends upon the cvsup-bin and cvsupd-bin ports rather
than on the more trouble-prone cvsup port.
The CVSup server is run with "-C 100" (max. 100 clients at a time)
and the true limit is set in the "/usr/local/etc/cvsup/cvsupd.access"
file. This is nice because you can change the limit by editing
the file; you don't have to restart the server. The cvsupd.access
file also contains a rule to limit each individual host to one
connection at a time.
The CVSup client is now run under its own unprivileged user ID
instead of root. This is a security enhancement. It makes it
impossible for a compromised master site to install files into
places outside the mirror area of the filesystem. The permissions
of various other files such as /usr/local/etc/cvsup have also been
strengthened to enhance security.
Both client and server now cd to /var/tmp to run, so that if they
decide to croak they'll be able to write the core file. :-)
The /usr/local/etc/rc.d/cvsupd.sh script now honors the "start"
and "stop" arguments.
The configure script no longer attempts to tell you the sizes of
the various collections. That's impossible to maintain. When I
have time I plan to make a web page where one can obtain that
information from an automatically-updated source. Then I will
reference the URL in the configure script.
It is possible to upgrade an existing cvsup-mirror-1.0 installation
to this new version, but it is tricky because of the change in
ownership of the mirrored files. I will post instructions to the
freebsd-hubs mailing list after I make sure I have the procedure
just right.
v. 1.8
date: 2000/01/14 04:39:51; author: jdp; state: Exp; lines: +4 -2
Install a "refuse" file to protect the mirror's scripts and
configuration files from a malicious or compromised master site.
v. 1.7
date: 1999/08/30 14:22:29; author: peter; state: Exp; lines: +1 -1
$Id$ -> $FreeBSD$
v. 1.6
date: 1999/08/27 22:29:53; author: mharo; state: Exp; lines: +2 -2
echo -> ${ECHO} or ${ECHO_MSG} and in some cases, move echo stuff
to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
v. 1.5
date: 1999/08/22 23:33:09; author: mharo; state: Exp; lines: +3 -3
awk -> ${AWK}
basename -> ${BASENAME}
cat -> ${CAT}
cp -> ${CP}
ldconfig -> ${LDCONFIG}
mkdir -> ${MKDIR}
v. 1.4
date: 1998/06/27 05:19:58; author: asami; state: Exp; lines: +1 -2
Remove NO_CONFIGURE and NO_PATCH, they never meant anything.
v. 1.3
date: 1997/07/13 18:49:27; author: max; state: Exp; lines: +2 -2
/bin/sh -> ${SH}
v. 1.2
date: 1997/02/06 06:50:40; author: asami; state: Exp; lines: +2 -1
Put RUN_DEPENDS in its own section.
v. 1.1
date: 1997/02/02 04:11:33; author: jdp; state: Exp;
branches: 1.1.1;
Initial revision
v. 1.1.1.1
date: 1997/02/02 04:11:33; author: jdp; state: Exp; lines: +0 -0
The cvsup-mirror port, a kit that makes it easy to set up a FreeBSD
mirror site.
=============================================================================
v. 1.26
date: 2007/07/29 20:45:27; author: kris; state: Exp; lines: +0 -1
Retire obsolete USA_RESIDENT (dating to the bad old days of crypto export
controls and RSAref). nenscript was abusing this variable to enable
US-style paper size and date format, so just revert to the default for now.
v. 1.25
date: 2007/01/31 18:11:22; author: jdp; state: Exp; lines: +1 -5
Use RC_SUBR_SUFFIX.
Submitted by: Rong-En Fan
v. 1.24
date: 2007/01/29 01:13:34; author: jdp; state: Exp; lines: +12 -3
Fix bug: When the net/cvsup-mirror port is installed on a system
with OSVERSION >= 600101, the update.sh script is unable to start
PREFIX/etc/rc.d/cvsupd.sh script, as it doesn't exist. Instead the
cvsupd.sh script is named cvsupd on systems with OSVERSION >=
600101.
PR: ports/108483
Submitted by: Scot Hetzel
v. 1.23
date: 2006/01/02 10:05:11; author: edwin; state: Exp; lines: +1 -1
[PATCH] net/cvsup-mirror: add some install time options for update.sh
Add following install time options for update.sh
- Whether or not /var/log/cvsup.log is rotated when update.sh
is invoked.
- Maximum number of log files.
- Wheter or not old log file is gzipped after rotated.
PR: ports/81598
Submitted by: KIMURA Yasuhiro
Not objected by: jdp@FreeBSD.org
v. 1.22
date: 2005/12/09 14:49:43; author: pav; state: Exp; lines: +3 -4
- Provide rcNG startup script
PR: ports/89316
Submitted by: Petr Rehor
Approved by: maintainer timeout (jpd; 19 days)
v. 1.21
date: 2004/08/05 23:37:47; author: jdp; state: Exp; lines: +1 -1
Fix two bugs in scripts.
1. If update.sh failed to determine the PREFIX, it didn't realize it
had failed. This is arguably caused by a shell bug in processing
the statement
export PREFIX=$(expr $0 : "\(/.*\)/etc/cvsup/update\.sh\$")
This statement always succeeds even if the "expr" command fails.
Moving the "export" to a separate statement makes it work.
2. If the system had no "/home" directory, the pkg-install script
would create it with mode 0700, making ~cvsupin inaccessible to its
owner. A user ran into this bug when installing cvsup-mirror into a
jail.
v. 1.20
date: 2004/03/17 11:23:03; author: mat; state: Exp; lines: +1 -1
Ok, fix it once more, I swear I won't be doint sh scripts for a while
Pointy Hat To: me (I still have it, don't search)
v. 1.19
date: 2004/03/17 07:17:57; author: mat; state: Exp; lines: +1 -0
Corrected silly sh error
PORTREVISION bumped
Pointy Hat To: me
v. 1.18
date: 2004/03/16 17:35:06; author: mat; state: Exp; lines: +1 -2
Update to 1.3, allow to add increase history and to compress logs easily
Approved by: jdp (maintainer)
v. 1.17
date: 2003/03/07 06:07:38; author: ade; state: Exp; lines: +1 -0
Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.
E Nomini Patri, E Fili, E Spiritu Sancti.
v. 1.16
date: 2002/11/11 17:21:29; author: jdp; state: Exp; lines: +1 -0
Put core dumps and crash output (cvsupd.out) into /var/run instead
of /var/tmp. Create cvsupd.out with mode 644 if it doesn't already
exist. Bump PORTREVISION.
Suggested by: Joshua Goodall
v. 1.15
date: 2002/01/15 05:13:57; author: jdp; state: Exp; lines: +2 -2
Depend on the GUI-less port of CVSup.
v. 1.14
date: 2001/07/21 18:45:52; author: jdp; state: Exp; lines: +2 -3
Update ports which depend on cvsup-bin or cvsupd-bin to use the
cvsup port instead. I am removing the *-bin ports.
v. 1.13
date: 2000/10/08 10:22:25; author: asami; state: Exp; lines: +2 -2
Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
v. 1.12
date: 2000/07/09 17:57:27; author: jdp; state: Exp; lines: +2 -4
Update the cvsup-mirror port to reflect the fact that crypto isn't
a special case any more.
v. 1.11
date: 2000/04/20 20:25:29; author: mharo; state: Exp; lines: +3 -4
PREFIX -> LOCALBASE
v. 1.10
date: 2000/04/09 18:10:46; author: cpiazza; state: Exp; lines: +3 -3
Update with the new PORTNAME/PORTVERSION variables
v. 1.9
date: 2000/01/28 06:42:27; author: jdp; state: Exp; lines: +5 -3
This is a fairly substantial upgrade of the cvsup-mirror port. In
honor of the occasion I have bumped the version number to 1.1.
The port now depends upon the cvsup-bin and cvsupd-bin ports rather
than on the more trouble-prone cvsup port.
The CVSup server is run with "-C 100" (max. 100 clients at a time)
and the true limit is set in the "/usr/local/etc/cvsup/cvsupd.access"
file. This is nice because you can change the limit by editing
the file; you don't have to restart the server. The cvsupd.access
file also contains a rule to limit each individual host to one
connection at a time.
The CVSup client is now run under its own unprivileged user ID
instead of root. This is a security enhancement. It makes it
impossible for a compromised master site to install files into
places outside the mirror area of the filesystem. The permissions
of various other files such as /usr/local/etc/cvsup have also been
strengthened to enhance security.
Both client and server now cd to /var/tmp to run, so that if they
decide to croak they'll be able to write the core file. :-)
The /usr/local/etc/rc.d/cvsupd.sh script now honors the "start"
and "stop" arguments.
The configure script no longer attempts to tell you the sizes of
the various collections. That's impossible to maintain. When I
have time I plan to make a web page where one can obtain that
information from an automatically-updated source. Then I will
reference the URL in the configure script.
It is possible to upgrade an existing cvsup-mirror-1.0 installation
to this new version, but it is tricky because of the change in
ownership of the mirrored files. I will post instructions to the
freebsd-hubs mailing list after I make sure I have the procedure
just right.
v. 1.8
date: 2000/01/14 04:39:51; author: jdp; state: Exp; lines: +4 -2
Install a "refuse" file to protect the mirror's scripts and
configuration files from a malicious or compromised master site.
v. 1.7
date: 1999/08/30 14:22:29; author: peter; state: Exp; lines: +1 -1
$Id$ -> $FreeBSD$
v. 1.6
date: 1999/08/27 22:29:53; author: mharo; state: Exp; lines: +2 -2
echo -> ${ECHO} or ${ECHO_MSG} and in some cases, move echo stuff
to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
v. 1.5
date: 1999/08/22 23:33:09; author: mharo; state: Exp; lines: +3 -3
awk -> ${AWK}
basename -> ${BASENAME}
cat -> ${CAT}
cp -> ${CP}
ldconfig -> ${LDCONFIG}
mkdir -> ${MKDIR}
v. 1.4
date: 1998/06/27 05:19:58; author: asami; state: Exp; lines: +1 -2
Remove NO_CONFIGURE and NO_PATCH, they never meant anything.
v. 1.3
date: 1997/07/13 18:49:27; author: max; state: Exp; lines: +2 -2
/bin/sh -> ${SH}
v. 1.2
date: 1997/02/06 06:50:40; author: asami; state: Exp; lines: +2 -1
Put RUN_DEPENDS in its own section.
v. 1.1
date: 1997/02/02 04:11:33; author: jdp; state: Exp;
branches: 1.1.1;
Initial revision
v. 1.1.1.1
date: 1997/02/02 04:11:33; author: jdp; state: Exp; lines: +0 -0
The cvsup-mirror port, a kit that makes it easy to set up a FreeBSD
mirror site.
=============================================================================
|
| |

|