aboutsummaryrefslogtreecommitdiff
path: root/net/cvsup-mirror
Commit message (Collapse)AuthorAgeFilesLines
* RC_SUBR_SUFFIX has not been needed for a long time now, all supportedDoug Barton2010-03-272-4/+2
| | | | | | | | versions of FreeBSD now use /etc/rc.subr and rc.d scripts without .sh appended to the script name. Notes: svn path=/head/; revision=251570
* Begin the process of deprecating sysutils/rc_subr byDoug Barton2010-03-271-1/+1
| | | | | | | s#. %%RC_SUBR%%#. /etc/rc.subr# Notes: svn path=/head/; revision=251553
* - Don't compress cvsup.log by default.Wesley Shields2009-04-072-2/+2
| | | | | | | | PR: ports/133030 Submitted by: delphij@ Notes: svn path=/head/; revision=231800
* RC script now supports _flags variable. Comments available in the RCWesley Shields2008-03-132-4/+19
| | | | | | | | | | | script. PR: ports/108847 Submitted by: Dan Langille <dan@langille.org> Approved by: garga (mentor) Notes: svn path=/head/; revision=209011
* jdp has returned his commit bit. We thank him for many years of serviceMark Linimon2008-03-031-1/+1
| | | | | | | in maintaining these ports. Notes: svn path=/head/; revision=208406
* Retire obsolete USA_RESIDENT (dating to the bad old days of crypto exportKris Kennaway2007-07-291-1/+0
| | | | | | | | 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. Notes: svn path=/head/; revision=196653
* Use RC_SUBR_SUFFIX.John Polstra2007-01-311-5/+1
| | | | | | | Submitted by: Rong-En Fan Notes: svn path=/head/; revision=183798
* Fix bug: When the net/cvsup-mirror port is installed on a systemJohn Polstra2007-01-292-5/+14
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=183585
* Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.Doug Barton2006-02-201-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. Notes: svn path=/head/; revision=156534
* [PATCH] net/cvsup-mirror: add some install time options for update.shEdwin Groothuis2006-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 Notes: svn path=/head/; revision=152571
* - Provide rcNG startup scriptPav Lucistnik2005-12-094-34/+53
| | | | | | | | | PR: ports/89316 Submitted by: Petr Rehor <prehor@gmail.com> Approved by: maintainer timeout (jpd; 19 days) Notes: svn path=/head/; revision=150732
* Fix two bugs in scripts.John Polstra2004-08-053-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. Notes: svn path=/head/; revision=115484
* Ok, fix it once more, I swear I won't be doint sh scripts for a whileMathieu Arnold2004-03-172-2/+2
| | | | | | | Pointy Hat To: me (I still have it, don't search) Notes: svn path=/head/; revision=104277
* Corrected silly sh errorMathieu Arnold2004-03-172-1/+2
| | | | | | | | | PORTREVISION bumped Pointy Hat To: me Notes: svn path=/head/; revision=104256
* Update to 1.3, allow to add increase history and to compress logs easilyMathieu Arnold2004-03-162-11/+16
| | | | | | | Approved by: jdp (maintainer) Notes: svn path=/head/; revision=104192
* Clear moonlight beckons.Ade Lovett2003-03-072-1/+1
| | | | | | | | | | Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti. Notes: svn path=/head/; revision=77045
* Put core dumps and crash output (cvsupd.out) into /var/run insteadJohn Polstra2002-11-112-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> Notes: svn path=/head/; revision=69902
* Update the URL for CVSup.John Polstra2002-08-301-1/+1
| | | | Notes: svn path=/head/; revision=65330
* 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