aboutsummaryrefslogtreecommitdiffstats
path: root/net/cvsup-mirror
Commit message (Collapse)AuthorAgeFilesLines
* Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.dougb2006-02-211-1/+1
| | | | | | | 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.
* [PATCH] net/cvsup-mirror: add some install time options for update.shedwin2006-01-024-21/+7
| | | | | | | | | | | | | 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
* - Provide rcNG startup scriptpav2005-12-094-34/+53
| | | | | | PR: ports/89316 Submitted by: Petr Rehor <prehor@gmail.com> Approved by: maintainer timeout (jpd; 19 days)
* Fix two bugs in scripts.jdp2004-08-063-5/+6
| | | | | | | | | | | | | | | | 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.
* Ok, fix it once more, I swear I won't be doint sh scripts for a whilemat2004-03-172-2/+2
| | | | Pointy Hat To: me (I still have it, don't search)
* Corrected silly sh errormat2004-03-172-1/+2
| | | | | | PORTREVISION bumped Pointy Hat To: me
* Update to 1.3, allow to add increase history and to compress logs easilymat2004-03-172-11/+16
| | | | Approved by: jdp (maintainer)
* Clear moonlight beckons.ade2003-03-072-1/+1
| | | | | | | Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.
* Put core dumps and crash output (cvsupd.out) into /var/run insteadjdp2002-11-122-1/+3
| | | | | | | of /var/tmp. Create cvsupd.out with mode 644 if it doesn't already exist. Bump PORTREVISION. Suggested by: Joshua Goodall <joshua@roughtrade.net>
* Update the URL for CVSup.jdp2002-08-311-1/+1
|
* Depend on the GUI-less port of CVSup.jdp2002-01-151-1/+1
|
* Update ports which depend on cvsup-bin or cvsupd-bin to use thejdp2001-07-221-2/+1
| | | | cvsup port instead. I am removing the *-bin ports.
* Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} isasami2000-10-081-1/+1
| | | | | | spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type fixes that shouldn't have been necessary) and the string "/pkg/" appear.
* Set the umask explicitly to 002 in the supfile. This preventsjdp2000-09-141-1/+1
| | | | | | | permission problems in case "/etc/profile" sets it to something else. Discovered by: Dag-Erling Smorgrav <des>
* Update the cvsup-mirror port to reflect the fact that crypto isn'tjdp2000-07-105-52/+9
| | | | a special case any more.
* Remove src-crypto-rsa. It doesn't exist any more.jdp2000-07-042-3/+0
|
* Add src-crypto-rsaache2000-06-292-0/+3
|
* Add "exec" to the beginning of commands passed to "su ... -c ...".jdp2000-06-211-1/+1
| | | | | | | With some shells (csh in particular) this eliminates a useless process waiting for the command to finish. Submitted by: Mikhail Teterin <mi@privatelabs.com>
* Make update.sh accept command line options that are passed to CVSup.knu2000-04-241-1/+2
| | | | | | | | | 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>
* PREFIX -> LOCALBASEmharo2000-04-211-3/+2
|
* Update with the new PORTNAME/PORTVERSION variablescpiazza2000-04-101-2/+2
|
* Add "-f" to all "su" invocations for better behavior when the loginjdp2000-03-062-4/+4
| | | | | | shell is csh. Submitted by: ache
* DEINSTALL: Offer to kill all running cvsupd processes. Remindjdp2000-02-112-8/+38
| | | | | | | | | | 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.
* Set the HOME environment variable properly when running cvsup, sojdp2000-02-111-3/+6
| | | | the authentication key file can be found in "~/.cvsup/auth".
* Fix bug: mirroring crypto/non-crypto from different sources was broken.jdp2000-02-061-1/+1
| | | | Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
* Use the ISO date format in the "CVSup update {begins,ends}" messages.jdp2000-02-061-2/+2
| | | | | | Use "%T" instead of the equivalent "%H:%M:%S". Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
* This is a fairly substantial upgrade of the cvsup-mirror port. Injdp2000-01-287-71/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Consolidate the cvsup options into one place in the script.jdp2000-01-141-10/+13
| | | | | Check the exit status of cvsup, and don't start the server until an update has successfully run to completion.
* Install a "refuse" file to protect the mirror's scripts andjdp2000-01-143-1/+10
| | | | configuration files from a malicious or compromised master site.
* Pass the "-b base" option when running cvsup, so it will work evenjdp2000-01-121-3/+3
| | | | | | if installed somewhere other than /usr/local. Submitted by: Dag-Erling Smorgrav <des@yes.no>
* Change default master site to cvsup-master.freebsd.org.jdp1999-09-301-1/+1
| | | | Submitted by: Josef Karthauser <joe@pavilion.net>
* Add WWW link.jdp1999-09-291-0/+2
| | | | Submitted by: Christian Weisgerber <naddy@unix-ag.uni-kl.de>
* $Id$ -> $FreeBSD$peter1999-08-301-1/+1
|
* echo -> ${ECHO} or ${ECHO_MSG} and in some cases, move echo stuffmharo1999-08-281-2/+2
| | | | to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
* awk -> ${AWK}mharo1999-08-231-3/+3
| | | | | | | | basename -> ${BASENAME} cat -> ${CAT} cp -> ${CP} ldconfig -> ${LDCONFIG} mkdir -> ${MKDIR}
* Commit #3/4 to enforce caps, no period.hoek1999-06-271-1/+1
| | | | | | | | | | | | 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
* Remove NO_CONFIGURE and NO_PATCH, they never meant anything.asami1998-06-271-2/+1
|
* Update for new release of CVSup.jdp1998-03-242-2/+2
| | | | Approved by: asami (just barely)
* When sourcing "config.sh" in shell scripts, specify it as "./config.sh"jdp1998-02-122-2/+2
| | | | | | to prevent the shell from searching the PATH for the file. Submitted by: David Quattlebaum <sasdrq@unx.sas.com>
* Direct cvsupd's stdout and stderr into "/var/tmp/cvsupd.out" forjdp1997-07-175-16/+15
| | | | | | | | | | | | | 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.
* /bin/sh -> ${SH}max1997-07-141-2/+2
|
* Don't grep /etc/passwd and /etc/group for checking the existance ofpeter1997-05-291-2/+2
| | | | | | 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.
* Check to make sure that the "gnats" subdirectory is a truejdp1997-05-182-3/+17
| | | | | | | subdirectory, and not a symbolic link. Update the reported size of the CVS repository to reflect current reality.
* Put RUN_DEPENDS in its own section.asami1997-02-061-1/+2
|
* The cvsup-mirror port, a kit that makes it easy to set up a FreeBSDjdp1997-02-0210-0/+663
mirror site.