summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctm
Commit message (Collapse)AuthorAgeFilesLines
* Some new options, useful for restoring single files or subtrees from thephk1996-08-309-83/+562
| | | | | | deltas. Submitted by: A JOSEPH KOSHY <koshy@fakir.india.hp.com>
* Add some explanation on TMPDIR.phk1996-07-241-1/+11
| | | | Submitted by: Chuck Robey <chuckr@Glue.umd.edu>
* Small changes so that this actually stands a chance of doing thegpalmer1996-07-121-2/+11
| | | | right thing...
* Add ctm_dequeue to the SUBDIR list now that I've checked that itgpalmer1996-07-011-1/+2
| | | | compiles cleanly on 2.2
* Add a facility for a ``slow'' CTM delta queue, allowing `x' numbergpalmer1996-07-013-4/+497
| | | | | | | | | | | | | | of delta's to be mailed out every hour (or however often you schedule the cron job). ctm_dequeue is the cron job which takes the stuff from the queue directory and punts it into sendmail. The chunks of the deltas (and the complete deltas if they are that small) are sorted into order before being dispatched, so the people subscribing should still get the bits in the right order. The changes to ctm_smail should be fairly safe as they won't be activated unless you go for the new queue directory option.
* update SEE ALSO sectionwosch1996-05-273-7/+8
|
* Commit the right version of mkCTM, <:-)phk1996-05-142-35/+164
| | | | Noticed by: "Philippe Charnier" <charnier@lirmm.fr>
* Update to current reality.phk1996-05-095-7/+482
| | | | mkctm.c can replace the guts of mkCTM if anybody feels like it...
* Support for "-u" which sets the timestamp from the delta on the file.phk1996-04-297-12/+112
| | | | | | | | Intended for sup mirrors etc. Not well tested yet. Reviewed by: phk Submitted by: Giles Lean <giles@nemeton.com.au> Submitted by: John Hay <jhay@mikom.csir.co.za>
* Updated howmany() to be once again identical with the namespace-pollutingbde1996-03-191-1/+1
| | | | one in <sys/types.h>. Lite2 changed the white space in the latter.
* Updated format strings to match Lite2's fixed-width type changes.bde1996-03-191-3/+3
| | | | | | uids and gids aren't unreasonably long any more, so we get to change all the format strings that were fixed to use %lu back to %u.
* Add support for local modifications to the tree, by using FOO.ctm insteadphk1996-02-058-50/+144
| | | | | | of FOO if present. Various other tweaks. Submitted by: Christian Haury <Christian.Haury@sagem.fr>
* ctm(5) has been written, so remove comment about it not existing. :)nate1996-01-311-2/+1
|
* typo in my last commit.phk1995-12-261-1/+1
|
* A trivial enhancement to ctm_rmail to support the -v option and pass itpeter1995-12-262-4/+14
| | | | through to cvs when unpacking the delta.. (I read the output.. :-)
* Remove all trailing white space on the lines.phk1995-12-251-1/+9
| | | | Suggested by: Phil Taylor <phil@zipmail.co.uk>
* Fix a core-dump.phk1995-11-101-2/+4
| | | | Submitted by: Simon Marlow <simonm@dcs.gla.ac.uk>
* Forgot this one in the MD5 reshuffle.phk1995-07-131-3/+3
| | | | Noticed by: Faried Nawaz <fn@pain.csrv.uidaho.edu>
* Remove -g from CFLAGS.bde1995-07-123-5/+5
|
* Fix to match new MD5 api. Faster, fixes memory leak.phk1995-07-123-12/+15
|
* Remove trailing whitespace.rgrimes1995-05-3011-54/+54
|
* Check for i/o errors in fclose() so that a full disk doesn't almostbde1995-04-161-7/+18
| | | | guarantee truncation of the file being edited.
* The latest round of bugfixes here...phk1995-03-292-11/+19
|
* Fixed a bug so that a delta#0 can be applied.phk1995-03-264-24/+33
| | | | | | Fixed a typo in the generation of temp filenames. "Blame" Joerg for the man-pages (and clarify a couple of minor points). Most appreceiated Joerg!
* Call open(2) and mkdir(2) with 0666/0777 as the `mode' argument (asjoerg1995-03-251-3/+3
| | | | | | | | | opposed to 0644 or 0755). It's finally still masked by the process' umask(2), and it does not make sense to restrict it further than that. This (especially for mkdir(2)) was causing major headaches for the CVS tree, since a member of group cvs was later not able to get cvs checkout permission for the mirrored tree failed to write the lock file).
* Added a man page for the ctm(1) command, as well as a format descriptionjoerg1995-03-253-2/+355
| | | | | | for the CTM deltas. Largely based on Poul-Henning's README, and the source code.
* Make sure exit() is sensible;phk1995-03-241-2/+7
|
* Modes on dirs were decimal by mistake.phk1995-03-241-2/+2
| | | | Submitted by: joerg
* Make extra arguments be subdirs to go through.phk1995-03-191-2/+11
|
* Finally applying my own fix. :-)joerg1995-03-191-5/+7
| | | | | | | | | | >Description: ctm(1) sometimes did not free up all used resources (open pipes and processes, heap memory). This happened whenever one of the passes ended prematurely, and it became very apparent when running it on a bunch of already applied deltas, resulting in a ``gunzip: resource temporarily unavailable'' due to the maxproc # exhausted.
* Add a missing "\" in a printf before the "n".roberto1995-03-191-2/+2
|
* Make the +%d-%d part +%03d-%03d so ls(1) sorts the files more sensibly.phk1995-03-191-1/+1
|
* Look at the .ctm_status file and ignores all patches already applied.phk1995-03-044-13/+37
| | | | | Reviewed by: phk Submitted by: J Wunsch <j@uriah.heep.sax.de>
* Added lock-files, so we should know if the machine panic'ed in the middlephk1995-02-281-1/+23
| | | | of an "apply".
* Latest updates to this.phk1995-02-272-11/+20
|
* (Not tested yet. I may insist that ctm be invoked with absolute path. /phk)phk1995-02-253-62/+278
| | | | | | | | | | | | | | | This patch fixes the concurrency problem, and adds a possibly useful -f switch (which you can read about in the man page :-) ). It also removes the absolute path from the invocation of ctm. I'll write a note about how to use a script with sendmail and procmail or some such, and people can fix their PATH there. BTW, this patch changes ctm_rmail.1, ctm_rmail.c and error.c in the ctm_rmail directory. Stephen. Reviewed by: phk Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
* Just a precaution: ctm will not accept '..' in paths anymore.phk1995-02-251-1/+11
| | | | | | | | I'm never going to generate one, so this is a guard against hackers mostly. Reviewed by: phk Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au> Obtained from:
* I (phk) blundered with the last change. Make it right & better now.phk1995-02-241-1/+1
| | | | | Reviewed by: phk Submitted by: John Hay <jhay@mikom.csir.co.za>
* Make us a little safer, by writing to a tempfile, and rename when done.phk1995-02-231-4/+14
| | | | Still needs more locking I belive.
* Be more exclusive about cvs-locks.phk1995-02-214-5/+6
|
* Use absolute path for the "ctm" program.phk1995-02-201-1/+2
|
* The new and improved mkCTM. Learning from this experience it has beenphk1995-02-204-173/+271
| | | | | improved on a couple of accounts. Amongst these are "damage control" more than 100 files removed and it will bail out...
* Some recent small changes. Probably about time I start writing this in C.phk1995-02-193-22/+29
|
* Various nitpicking from Stephen.phk1995-02-154-9/+7
| | | | | Reviewed by: phk Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
* Clean up some details, to make it clear to gcc that we do not try to dophk1995-02-103-19/+26
| | | | something stupid.
* Stephen lost a -D, now it's back.phk1995-02-061-1/+1
|
* A couple of sensible changes from down under...phk1995-02-043-6/+14
| | | | | Reviewed by: phk Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
* CTM email tools.phk1995-01-3110-1/+1351
| | | | | Reviewed by: phk Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
* Update to current reality.phk1994-12-083-15/+53
|
* Cannot use rmdir() for 'FR' because mkCTM doesn't sort the directoriesphk1994-12-041-7/+10
| | | | in -depth order for us. cvs-cur.0018.gz is a good example.
OpenPOWER on IntegriCloud