aboutsummaryrefslogtreecommitdiff
path: root/contrib/csup
Commit message (Collapse)AuthorAgeFilesLines
* - Move csup away from contrib/ and into usr.bin/. Software is no longerUlf Lilleengen2010-03-0264-20946/+0
| | | | | | | | | contributed, and main development is happening in the FreeBSD repo. Suggested by: joel Notes: svn path=/head/; revision=204556
* - Add support for CVSup authentication mechanisms to csup.Ulf Lilleengen2010-02-0210-57/+745
| | | | | | | | | | | | - Include a cpasswd script performing the same mechanisms as the cvpasswd utility from CVSup. PR: bin/114129 Submitted by: Petar Zhivkov Petrov <pesho.petrov -at- gmail.com> MFC after: 1 month Notes: svn path=/head/; revision=203368
* - Remove semicolon that should not have been there.Ulf Lilleengen2009-06-121-1/+1
| | | | | | | | Submitted by: rdivacky MFC after: 1 week Notes: svn path=/head/; revision=194070
* - Add missing data argument to printf.Ulf Lilleengen2009-06-011-1/+1
| | | | | | | | Submitted by: Pawel Worach <pawel.worach -AT- gmail.com> MFC after: 1 week Notes: svn path=/head/; revision=193213
* - Add proper error checking and printing to the CVSMode code when reading andUlf Lilleengen2009-03-254-74/+145
| | | | | | | | | | writing from/to streams, as leaving them out stops csup from cleaning up on SIGINT and friends properly. MFC after: 1 week Notes: svn path=/head/; revision=190422
* - Remember to set umask before setting attributes of RCS file.Ulf Lilleengen2009-03-251-0/+1
| | | | | | | | Tested by: dougb MFC after: 2 days Notes: svn path=/head/; revision=190406
* - Try to handle rcsfile write failures in the same way as cvsup, as they are notUlf Lilleengen2009-03-061-1/+1
| | | | | | | | necessarily fatal. If the file was incorrectly written, the checksum will detect it and the file will be retransferred. Notes: svn path=/head/; revision=189455
* - Do not free the pattern lists immediately after use, as they might be neededUlf Lilleengen2009-02-151-6/+0
| | | | | | | | | | | again in case the connection is interrupted and csup have to reconnect. The lists will be freed after the collection has been completely processed. PR: bin/131477 Tested by: dchagin Notes: svn path=/head/; revision=188644
* - Fix an issue where file attributes were not installed correctly during a TouchUlf Lilleengen2009-02-091-1/+3
| | | | | | | | and SetAttrs operation. - SetAttrs and Touch were incorrectly switched. Notes: svn path=/head/; revision=188405
* - Update manpage now that cvs mode is supported.Ulf Lilleengen2009-01-071-2/+0
| | | | Notes: svn path=/head/; revision=186871
* - Sort children branches by revision number rather than by date since a few RCSUlf Lilleengen2009-01-041-1/+1
| | | | | | | files have the wrong date. Notes: svn path=/projects/csup_cvsmode/; revision=186744
* - Update copyright.Ulf Lilleengen2009-01-047-7/+7
| | | | Notes: svn path=/projects/csup_cvsmode/; revision=186743
* - Try to match style(9).Ulf Lilleengen2009-01-043-47/+35
| | | | | | | - Remove old comments. Notes: svn path=/projects/csup_cvsmode/; revision=186741
* - Use a LIST to hold branches instead of a STAILQ.Ulf Lilleengen2009-01-031-11/+37
| | | | | | | - Sort branches when inserting them. Notes: svn path=/projects/csup_cvsmode/; revision=186727
* - Write out branches with the highest revision number first if they have theUlf Lilleengen2009-01-031-2/+2
| | | | | | | same date. Notes: svn path=/projects/csup_cvsmode/; revision=186724
* - A bit missing from the previous commit. The '@'s from the string token must beUlf Lilleengen2009-01-031-0/+4
| | | | | | | stripped before encoding the expansion mode. Notes: svn path=/projects/csup_cvsmode/; revision=186718
* - Add an optimization when parsing rcsfiles when the intention is to only sendUlf Lilleengen2009-01-026-17/+36
| | | | | | | | | details to the cvsup server. The deltatext does not need parsing, and some parts of the rcsfile data structure doesn't need to be set up. - Fix a bug where the RCS expansion mode is not written out. Notes: svn path=/projects/csup_cvsmode/; revision=186700
* - Disable rsync support for now, as it is not fully working.Ulf Lilleengen2009-01-021-0/+1
| | | | Notes: svn path=/projects/csup_cvsmode/; revision=186699
* - Fattrs are not used for rsync, so remove unused code.Ulf Lilleengen2009-01-021-3/+1
| | | | Notes: svn path=/projects/csup_cvsmode/; revision=186698
* - Check for NULL in case fattr_frompath fails.Ulf Lilleengen2009-01-021-1/+1
| | | | Notes: svn path=/projects/csup_cvsmode/; revision=186697
* - Fix a wrong flag check.Ulf Lilleengen2008-12-211-1/+1
| | | | Notes: svn path=/projects/csup_cvsmode/; revision=186373
* - Add missing printout information when appending file.Ulf Lilleengen2008-12-101-0/+1
| | | | | | | Submitted by: naddy Notes: svn path=/projects/csup_cvsmode/; revision=185870
* - Check return value of the encoded keyword before using it.Ulf Lilleengen2008-12-091-4/+8
| | | | | | | Pointed out by: Christian Weisgerber <naddy -at- mips.inka.de> Notes: svn path=/projects/csup_cvsmode/; revision=185811
* A few bugfixes:Ulf Lilleengen2008-12-035-47/+49
| | | | | | | | | | | | | | | | - Instead of including protocol info in diffs, strip them before adding deltatext and take this into account when applying the diff later. - Don't use strlen when the string in the RCS file may contain garbage. This got caught in the checksumming before, but was not fixed until now. Instead of using strlen, pass the token length when adding log and text entries to a delta. Add an extra length parameter to duptext() to record the token length. - When adding new branches to a file, add them in at the tail instead of the head of the list to get correct ordering when writing out. - Input stream when diffing was opened twice. - Don't expand keywords in diffs between deltas. Notes: svn path=/projects/csup_cvsmode/; revision=185592
* - Print out information about what file that is edited before it is editedUlf Lilleengen2008-12-021-4/+4
| | | | | | | instead of after. Notes: svn path=/projects/csup_cvsmode/; revision=185570
* - Fix a bug where deltas was not sorted on RCS dates _and_ revision number.Ulf Lilleengen2008-12-021-1/+1
| | | | Notes: svn path=/projects/csup_cvsmode/; revision=185569
* - Fix a bug in csup where SKIP is not obeyed when sending collectionUlf Lilleengen2008-11-261-0/+2
| | | | | | | information. Notes: svn path=/projects/csup_cvsmode/; revision=185342
* - Make sure comparisons are done on file types as well.Ulf Lilleengen2008-11-232-8/+22
| | | | | | | | | | - Handle the case where a repository may have been copied, and the symlinks have not been preserved. CVSup removes the files and creates the symlinks, so enable this behaviour in csup as well. - While there, fix comments and style issues. Notes: svn path=/projects/csup_cvsmode/; revision=185211
* - Add support for reading RCS info from status file to avoid having to detail aUlf Lilleengen2008-11-231-20/+79
| | | | | | | file if it is up to date. Notes: svn path=/projects/csup_cvsmode/; revision=185203
* - Refactor some parts of the code and increase code reuse.Ulf Lilleengen2008-11-2015-466/+253
| | | | | | | | - Fix a lot of style issues remaining and old debugging output. - Update comments where needed. Notes: svn path=/projects/csup_cvsmode/; revision=185134
* - Add support for 'X' and 'x' commands in CVSup protocol. These commands are notUlf Lilleengen2008-11-201-28/+45
| | | | | | | often used, but were quite simple to implement anyway. Notes: svn path=/projects/csup_cvsmode/; revision=185131
* - Fix build with GNU make.Ulf Lilleengen2008-11-205-15/+18
| | | | | | | | | - Fix compiler warnings and symbol overlaps. - Don't build code that is not used yet. - Fix types and format strings. Notes: svn path=/projects/csup_cvsmode/; revision=185130
* - Fix issues that prevented rsync support from working.Ulf Lilleengen2008-11-202-2/+2
| | | | Notes: svn path=/projects/csup_cvsmode/; revision=185128
* A few general bugfixes:Ulf Lilleengen2008-11-194-13/+12
| | | | | | | | | | - Use internal xmalloc instead of malloc. - Include missing header after warnings. - Fix unneeded printouts. - Fix a bug when checking the CO_NORSYNC flag. Notes: svn path=/projects/csup_cvsmode/; revision=185094
* - Fixup the rcs revision comparing to be correct this time.Ulf Lilleengen2008-11-191-17/+34
| | | | Notes: svn path=/projects/csup_cvsmode/; revision=185093
* - Fix idiotic rcsnum_cmp and compare the revision numbers without allocating anyUlf Lilleengen2008-11-121-37/+17
| | | | | | | memory. Notes: svn path=/projects/csup_cvsmode/; revision=184884
* - Implement rsync support in csup, which is chosen as a protocol for regularUlf Lilleengen2008-10-256-13/+469
| | | | | | | | | | files if the client supports it. The support is implemented with an API to operate on files, calculating the rolling checksum and md5 checksum for the blocks etc. - Remove unneeded stream_filter_stop and stream_flush before stream_close. Notes: svn path=/projects/csup_cvsmode/; revision=184257
* - Implement support for retrieving a size_t type from the protocol stream.Ulf Lilleengen2008-10-252-0/+21
| | | | Notes: svn path=/projects/csup_cvsmode/; revision=184256
* - Add size_t format specifier to proto_printf.Ulf Lilleengen2008-10-251-0/+6
| | | | Notes: svn path=/projects/csup_cvsmode/; revision=184255
* - Import csup work from p4.Ulf Lilleengen2008-10-1925-65/+6386
| | | | Notes: svn path=/projects/csup_cvsmode/; revision=184054
* Fix a compiler warning.John Birrell2007-11-181-1/+1
| | | | Notes: svn path=/head/; revision=173715
* Fix a typo that caused the #undef directive to not actually undefinevendor/csupMaxime Henrion2007-05-191-1/+1
| | | | | | | | | | the correct symbol, thus causing a warning with GCC 4.2.0. Committed into the vendor branch since this is already in the csup repository. Reported by: kan (ages ago) Notes: svn path=/vendor/csup/dist/; revision=169765
* Import the latest snapshot of csup (20060313).vendor/csup/20060313Maxime Henrion2006-03-1418-237/+777
| | | | | Notes: svn path=/vendor/csup/dist/; revision=156701 svn path=/vendor/csup/20060313/; revision=156703; tag=vendor/csup/20060313
* Import today's csup sources to get the warning fix for queue.h. Wevendor/csup/20060303Maxime Henrion2006-03-032-2/+2
| | | | | | | | | probably want to do something similar in sys/queue.h; it's bad to have STAILQ_LAST() generate GCC warnings. Notes: svn path=/vendor/csup/dist/; revision=156251 svn path=/vendor/csup/20060303/; revision=156253; tag=vendor/csup/20060303
* Initial import of csup.vendor/csup/20060302Maxime Henrion2006-03-0349-0/+12927
Notes: svn path=/vendor/csup/dist/; revision=156230 svn path=/vendor/csup/20060302/; revision=156232; tag=vendor/csup/20060302