summaryrefslogtreecommitdiff
path: root/net/cvsup-mirror (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Depend on the GUI-less port of CVSup.John Polstra2002-01-151-1/+1
| | | | Notes: svn path=/head/; revision=53093
* Update ports which depend on cvsup-bin or cvsupd-bin to use theJohn Polstra2001-07-211-2/+1
| | | | | | | cvsup port instead. I am removing the *-bin ports. Notes: svn path=/head/; revision=45318
* Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} isSatoshi Asami2000-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. Notes: svn path=/head/; revision=33576
* Set the umask explicitly to 002 in the supfile. This preventsJohn Polstra2000-09-131-1/+1
| | | | | | | | | | permission problems in case "/etc/profile" sets it to something else. Discovered by: Dag-Erling Smorgrav <des> Notes: svn path=/head/; revision=32586
* Update the cvsup-mirror port to reflect the fact that crypto isn'tJohn Polstra2000-07-095-52/+9
| | | | | | | a special case any more. Notes: svn path=/head/; revision=30372
* Remove src-crypto-rsa. It doesn't exist any more.John Polstra2000-07-032-3/+0
| | | | Notes: svn path=/head/; revision=30148
* Add src-crypto-rsaAndrey A. Chernov2000-06-292-0/+3
| | | | Notes: svn path=/head/; revision=29981
* Add "exec" to the beginning of commands passed to "su ... -c ...".John Polstra2000-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> Notes: svn path=/head/; revision=29735
* Make update.sh accept command line options that are passed to CVSup.Akinori MUSHA2000-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> Notes: svn path=/head/; revision=27964
* PREFIX -> LOCALBASEMichael Haro2000-04-201-3/+2
| | | | Notes: svn path=/head/; revision=27814
* Update with the new PORTNAME/PORTVERSION variablesChris Piazza2000-04-091-2/+2
| | | | Notes: svn path=/head/; revision=27423
* Add "-f" to all "su" invocations for better behavior when the loginJohn Polstra2000-03-052-4/+4
| | | | | | | | | shell is csh. Submitted by: ache Notes: svn path=/head/; revision=26573
* DEINSTALL: Offer to kill all running cvsupd processes. RemindJohn Polstra2000-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. Notes: svn path=/head/; revision=25655
* Set the HOME environment variable properly when running cvsup, soJohn Polstra2000-02-111-3/+6
| | | | | | | the authentication key file can be found in "~/.cvsup/auth". Notes: svn path=/head/; revision=25653
* Fix bug: mirroring crypto/non-crypto from different sources was broken.John Polstra2000-02-061-1/+1
| | | | | | | Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de> Notes: svn path=/head/; revision=25508
* Use the ISO date format in the "CVSup update {begins,ends}" messages.John Polstra2000-02-061-2/+2
| | | | | | | | | Use "%T" instead of the equivalent "%H:%M:%S". Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de> Notes: svn path=/head/; revision=25507
* This is a fairly substantial upgrade of the cvsup-mirror port. InJohn Polstra2000-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. Notes: svn path=/head/; revision=25154
* Consolidate the cvsup options into one place in the script.John Polstra2000-01-141-10/+13
| | | | | | | | Check the exit status of cvsup, and don't start the server until an update has successfully run to completion. Notes: svn path=/head/; revision=24713
* Install a "refuse" file to protect the mirror's scripts andJohn Polstra2000-01-143-1/+10
| | | | | | | configuration files from a malicious or compromised master site. Notes: svn path=/head/; revision=24712
* Pass the "-b base" option when running cvsup, so it will work evenJohn Polstra2000-01-121-3/+3
| | | | | | | | | if installed somewhere other than /usr/local. Submitted by: Dag-Erling Smorgrav <des@yes.no> Notes: svn path=/head/; revision=24668
* Change default master site to cvsup-master.freebsd.org.John Polstra1999-09-291-1/+1
| | | | | | | Submitted by: Josef Karthauser <joe@pavilion.net> Notes: svn path=/head/; revision=22069
* Add WWW link.John Polstra1999-09-291-0/+2
| | | | | | | Submitted by: Christian Weisgerber <naddy@unix-ag.uni-kl.de> Notes: svn path=/head/; revision=22059
* $Id$ -> $FreeBSD$Peter Wemm1999-08-301-1/+1
| | | | Notes: svn path=/head/; revision=21126
* echo -> ${ECHO} or ${ECHO_MSG} and in some cases, move echo stuffMichael Haro1999-08-271-2/+2
| | | | | | | to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE} Notes: svn path=/head/; revision=21034
* awk -> ${AWK}Michael Haro1999-08-221-3/+3
| | | | | | | | | | | basename -> ${BASENAME} cat -> ${CAT} cp -> ${CP} ldconfig -> ${LDCONFIG} mkdir -> ${MKDIR} Notes: svn path=/head/; revision=20898
* Commit #3/4 to enforce caps, no period.Tim Vanderhoek1999-06-261-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 Notes: svn path=/head/; revision=19803
* Remove NO_CONFIGURE and NO_PATCH, they never meant anything.Satoshi Asami1998-06-271-2/+1
| | | | Notes: svn path=/head/; revision=11552
* Update for new release of CVSup.John Polstra1998-03-242-2/+2
| | | | | | | Approved by: asami (just barely) Notes: svn path=/head/; revision=10307
* When sourcing "config.sh" in shell scripts, specify it as "./config.sh"John Polstra1998-02-122-2/+2
| | | | | | | | | to prevent the shell from searching the PATH for the file. Submitted by: David Quattlebaum <sasdrq@unx.sas.com> Notes: svn path=/head/; revision=9671
* Direct cvsupd's stdout and stderr into "/var/tmp/cvsupd.out" forJohn Polstra1997-07-165-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. Notes: svn path=/head/; revision=7354
* /bin/sh -> ${SH}Masafumi Max NAKANE1997-07-131-2/+2
| | | | Notes: svn path=/head/; revision=7303
* Don't grep /etc/passwd and /etc/group for checking the existance ofPeter Wemm1997-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. Notes: svn path=/head/; revision=6613
* Check to make sure that the "gnats" subdirectory is a trueJohn Polstra1997-05-182-3/+17
| | | | | | | | | | subdirectory, and not a symbolic link. Update the reported size of the CVS repository to reflect current reality. Notes: svn path=/head/; revision=6482
* Put RUN_DEPENDS in its own section.Satoshi Asami1997-02-061-1/+2
| | | | Notes: svn path=/head/; revision=5544
* The cvsup-mirror port, a kit that makes it easy to set up a FreeBSDJohn Polstra1997-02-0210-0/+663
mirror site. Notes: svn path=/head/; revision=5495