summaryrefslogtreecommitdiff
path: root/net/cvsup-mirror/files (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove net/cvsup-mirror: www, doc, gnats, ports repo gone; src repo deprecatedRene Ladan2014-06-014-139/+0
|
* Move the rc.d scripts of the form *.sh.in to *.inDoug Barton2012-08-051-0/+0
| | | | | | Where necessary add $FreeBSD$ to the file No PORTREVISION bump necessary because this is a no-op
* In the rc.d scripts, change assignments to rcvar to use theDoug Barton2012-01-141-1/+1
| | | | | | | | | | | literal name_enable wherever possible, and ${name}_enable when it's not, to prepare for the demise of set_rcvar(). In cases where I had to hand-edit unusual instances also modify formatting slightly to be more uniform (and in some cases, correct). This includes adding some $FreeBSD$ tags, and most importantly moving rcvar= to right after name= so it's clear that one is derived from the other.
* RC_SUBR_SUFFIX has not been needed for a long time now, all supportedDoug Barton2010-03-271-2/+2
| | | | | versions of FreeBSD now use /etc/rc.subr and rc.d scripts without .sh appended to the script name.
* Begin the process of deprecating sysutils/rc_subr byDoug Barton2010-03-271-1/+1
| | | | s#. %%RC_SUBR%%#. /etc/rc.subr#
* RC script now supports _flags variable. Comments available in the RCWesley Shields2008-03-131-2/+17
| | | | | | | | script. PR: ports/108847 Submitted by: Dan Langille <dan@langille.org> Approved by: garga (mentor)
* Fix bug: When the net/cvsup-mirror port is installed on a systemJohn Polstra2007-01-291-2/+2
| | | | | | | | | | 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
* 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.
* [PATCH] net/cvsup-mirror: add some install time options for update.shEdwin Groothuis2006-01-021-17/+1
| | | | | | | | | | | | | 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 scriptPav Lucistnik2005-12-092-29/+50
| | | | | | PR: ports/89316 Submitted by: Petr Rehor <prehor@gmail.com> Approved by: maintainer timeout (jpd; 19 days)
* Fix two bugs in scripts.John Polstra2004-08-051-1/+2
| | | | | | | | | | | | | | | | 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 whileMathieu Arnold2004-03-171-1/+1
| | | | Pointy Hat To: me (I still have it, don't search)
* Corrected silly sh errorMathieu Arnold2004-03-171-1/+1
| | | | | | PORTREVISION bumped Pointy Hat To: me
* Update to 1.3, allow to add increase history and to compress logs easilyMathieu Arnold2004-03-161-9/+15
| | | | Approved by: jdp (maintainer)
* Put core dumps and crash output (cvsupd.out) into /var/run insteadJohn Polstra2002-11-111-1/+2
| | | | | | | of /var/tmp. Create cvsupd.out with mode 644 if it doesn't already exist. Bump PORTREVISION. Suggested by: Joshua Goodall <joshua@roughtrade.net>
* 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>
* Update the cvsup-mirror port to reflect the fact that crypto isn'tJohn Polstra2000-07-092-16/+4
| | | | a special case any more.
* Remove src-crypto-rsa. It doesn't exist any more.John Polstra2000-07-031-1/+0
|
* Add src-crypto-rsaAndrey A. Chernov2000-06-291-0/+1
|
* 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>
* 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>
* Add "-f" to all "su" invocations for better behavior when the loginJohn Polstra2000-03-052-4/+4
| | | | | | shell is csh. Submitted by: ache
* 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".
* 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>
* 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>
* This is a fairly substantial upgrade of the cvsup-mirror port. InJohn Polstra2000-01-282-13/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.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.
* Install a "refuse" file to protect the mirror's scripts andJohn Polstra2000-01-141-0/+6
| | | | configuration files from a malicious or compromised master site.
* 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>
* Update for new release of CVSup.John Polstra1998-03-241-1/+1
| | | | Approved by: asami (just barely)
* 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>
* Direct cvsupd's stdout and stderr into "/var/tmp/cvsupd.out" forJohn Polstra1997-07-163-11/+12
| | | | | | | | | | | | | 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.
* The cvsup-mirror port, a kit that makes it easy to set up a FreeBSDJohn Polstra1997-02-023-0/+95
mirror site.