| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <yasu@utahime.org>
Not objected by: jdp@FreeBSD.org
|
|
|
|
|
|
| |
PR: ports/89316
Submitted by: Petr Rehor <prehor@gmail.com>
Approved by: maintainer timeout (jpd; 19 days)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Pointy Hat To: me (I still have it, don't search)
|
|
|
|
|
|
| |
PORTREVISION bumped
Pointy Hat To: me
|
|
|
|
| |
Approved by: jdp (maintainer)
|
|
|
|
|
|
|
| |
Requiem mors pacem pkg-comment,
And be calm ports tree.
E Nomini Patri, E Fili, E Spiritu Sancti.
|
|
|
|
|
|
|
| |
of /var/tmp. Create cvsupd.out with mode 644 if it doesn't already
exist. Bump PORTREVISION.
Suggested by: Joshua Goodall <joshua@roughtrade.net>
|
| |
|
| |
|
|
|
|
| |
cvsup port instead. I am removing the *-bin ports.
|
|
|
|
|
|
| |
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
|
|
|
|
|
|
|
| |
permission problems in case "/etc/profile" sets it to something
else.
Discovered by: Dag-Erling Smorgrav <des>
|
|
|
|
| |
a special case any more.
|
| |
|
| |
|
|
|
|
|
|
|
| |
With some shells (csh in particular) this eliminates a useless
process waiting for the command to finish.
Submitted by: Mikhail Teterin <mi@privatelabs.com>
|
|
|
|
|
|
|
|
|
| |
Now users can schedule CVSup e.g. as follows:
45 0-6,8-23 * * * root nice -15 /usr/local/etc/cvsup/update.sh -s
45 7 * * * root nice -15 /usr/local/etc/cvsup/update.sh
Approved by: John Polstra <jdp@polstra.com>
|
| |
|
| |
|
|
|
|
|
|
| |
shell is csh.
Submitted by: ache
|
|
|
|
|
|
|
|
|
|
| |
the user to remove the client's home directory and the mirrored
files.
INSTALL: Create a home directory for the client user, since one
is needed to hold the authentication key file. Also create an
empty "auth" file so that its permissions will be right. Set the
gcos fields more appropriately.
|
|
|
|
| |
the authentication key file can be found in "~/.cvsup/auth".
|
|
|
|
| |
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
|
|
|
|
|
|
| |
Use "%T" instead of the equivalent "%H:%M:%S".
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Check the exit status of cvsup, and don't start the server until an
update has successfully run to completion.
|
|
|
|
| |
configuration files from a malicious or compromised master site.
|
|
|
|
|
|
| |
if installed somewhere other than /usr/local.
Submitted by: Dag-Erling Smorgrav <des@yes.no>
|
|
|
|
| |
Submitted by: Josef Karthauser <joe@pavilion.net>
|
|
|
|
| |
Submitted by: Christian Weisgerber <naddy@unix-ag.uni-kl.de>
|
| |
|
|
|
|
| |
to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
| |
basename -> ${BASENAME}
cat -> ${CAT}
cp -> ${CP}
ldconfig -> ${LDCONFIG}
mkdir -> ${MKDIR}
|
|
|
|
|
|
|
|
|
|
|
|
| |
FWIW, checkout of these things took 5+hrs, staying on the local
.freebsd.org net w/o hitting the 'net at all.
As promised,
$ time cvs ci
real 67m51.701s
user 0m1.250s
sys 0m5.345s
|
| |
|
|
|
|
| |
Approved by: asami (just barely)
|
|
|
|
|
|
| |
to prevent the shell from searching the PATH for the file.
Submitted by: David Quattlebaum <sasdrq@unx.sas.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
users since it doesn't see yp/nis. Use 'pw {user|group} show ...' and
check the return code, otherwise the script can try and add an already
existing user or group.
|
|
|
|
|
|
|
| |
subdirectory, and not a symbolic link.
Update the reported size of the CVS repository to reflect current
reality.
|
| |
|
|
mirror site.
|