59 Commits

Author SHA1 Message Date
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
naddy
2d22d99fff The X11 and XF4 collections are no longer distributed. Remove them from
the default cvsyncd.conf file, since otherwise cvsyncd will not start.
2016-05-13 14:24:48 +00:00
sthen
a13880e19f Initialize sa->sa_socket / sa_config earlier in access_authorize(). Seems to
fix crashes in cvsyncd now made visible by malloc's junk-after-free default.

From patrick keshishian who says 'I think protocol_exchange() will eventually
"realize" that status and/or error are not ok, and will return false, and
server thread will call assess_done(), which will socket_close() and
config_revoke().' Thanks for looking into this and suggesting the diff.

Survived 24h+ on my server, and looks good to naddy.
2014-11-19 23:49:41 +00:00
espie
f750aaf025 specify install command without a path, so that we can override it 2014-08-09 08:11:09 +00:00
naddy
92f15bed8a Fix an off-by-one error in the updater, where we would always consume
a byte but only sometimes account for it.
2014-06-26 20:06:50 +00:00
naddy
f397a7260b Add full support for commitid and bump protocol version.
Old clients will receive updates with commitid stripped out.

Upstream author agrees with the direction taken.

Heavy lifting by jca@, debugging and tweaks by yours truly
ok jcs@
2014-06-25 17:54:07 +00:00
sthen
14831fe587 handle commitids; from jcs@ 2014-06-06 15:53:15 +00:00
naddy
a4b5e33088 * replace random() with arc4random()
* improve configuration examples after discussion with Amit Kulkarni
2013-08-29 14:28:13 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
sthen
5606569763 Update MASTER_SITES, regen distinfo. From Daniel Dickman, slight tweak by me. 2012-11-26 09:11:45 +00:00
phessler
3cee774a9e add a _cvsyncd user for cvsyncd daemon, and an rc.d start script.
while here, do a minor clean up of the sample config files

missing user noticed by henning@
OK naddy@
2012-04-10 19:52:44 +00:00
naddy
a0ea498788 mdoc(7) manuals, no need for groff 2010-10-30 17:08:21 +00:00
espie
47ff75aa46 USE_GROFF=Yes 2010-10-18 18:36:45 +00:00
sthen
d1c6f80880 use REVISION, checked with before/after make show=PKGNAMES (plus some
extra-careful checking where there are complicated PSEUDO_FLAVORS).
2010-07-12 22:07:37 +00:00
naddy
37ff93e9e9 * fix an off-by-one buffer underrun; from millert@
* add xenocara to OpenBSD cvsyncd.conf template
2008-08-25 17:13:22 +00:00
merdely
241b722760 Remove surrounding quotes in COMMENT*/PERMIT_*/BROKEN/ERRORS
Add $OpenBSD$ to p5-SNMP-Info/Makefile (ok kili@, simon@)
2007-09-15 22:36:51 +00:00
espie
9eafbbfb35 base64 checksums. 2007-04-05 16:19:55 +00:00
naddy
457a679a62 maintenance update to 0.24.19 2005-09-22 16:15:41 +00:00
naddy
fedfc3867f SIZE 2005-01-05 17:14:37 +00:00
alek
2344f6d18c Add WANTLIB markers 2004-12-16 00:31:20 +00:00
naddy
f21c7feb6f Update to 0.24.18 to fix a buffer overrun. Note that this bug does
not involve any security issues, but malformed, large RCS files can
prevent the server/client from working.
2004-11-27 21:01:51 +00:00
naddy
5dd66f97d6 Update to 0.24.17. Changes in this release:
* Improve robustness. (client/server)
  Make more friendly to userlevel POSIX thread libraries.
* Improve performance parsing rcsfile(5) based files.
* When -u/-g is specified, drop privileges completely. (server)
* Update scanfiles only when needed.
2004-10-30 21:30:01 +00:00
espie
52b24f12ea new plists, kill a few INSTALL scripts. 2004-09-15 18:17:38 +00:00
jolan
de331f83fd zap blanklines which happen to make the pkg tools noisy
noticed by ben lovett
2004-07-30 23:54:10 +00:00
naddy
e0c865970d Update to 0.24.16. Changes since the previous release include:
* When the -u and/or -g flags are set, cvsyncd now uses set[ug]id()
  instead of sete[ug]id().  Note that the pidfile is created
  after set[ug]id() are done.

* Some performance improvements and code cleanups.  Especially
  handling rcsfiles which contain very large number of revisions
  is improved.
2004-06-30 16:58:56 +00:00
naddy
0a545ecf92 Update to 0.24.15. Notable changes:
- The cvsync2cvsup utility, which converts a CVSync scanfile to one
  in the CVSup format, has been added.
- A sample file for the FreeBSD CVS repository has been added.
- Some reliability improvements.
2004-04-17 12:02:09 +00:00
naddy
10c8e3ee64 Update to 0.24.13. Changes since the previous release include:
* Performance improvement.  While it depends, approximately this version
  is 4%-30% faster than the previous release. (client/server)

* A bug, which prevents cvsync from removing temporary files, has
  been fixed.  To remove files left over, you may want to remove
  the scanfile and rerun cvsync just after upgrading. (client)

* A new option `-l' has been added to the server.  It writes the log
  into a specified file. (server)

* A new keyword `base' has been added.  It specifies a base-prefix
  used for relative pathnames in the following keywords: 'distfile',
  'refuse', and 'scanfile'.  It must be an absolute pathname.
  (client/server/cvscan)
2003-12-01 01:13:45 +00:00
naddy
7a016835ee Update to 0.24.12.
- new keyword: base-prefix (client)
- bug fixes
2003-11-08 20:17:14 +00:00
naddy
9fecc734de Update to 0.24.10. This fixes a critical bug in cvsup2cvsync. 2003-10-30 00:15:05 +00:00
naddy
1d4216996a Update to 0.24.9. Changes since the previous release include:
* cvsup2cvsync, which is a utility to convert a CVSup(R) scanfile into
  a cvsync counterpart, has been added.  When the upstream server
  is using CVSup and you want to redistribute the contents using CVSync,
  this tool is your friend.

* Support poll() instead of select() if available (server/client).

* cvsync(1) now supports "refuse" file.  Using the refuse file,
  you can prevent files/directories in a collection from
  adding/updating/removing on the client side.
2003-10-29 14:32:47 +00:00
naddy
2ebc4ae382 Maintenance update to 0.24.8. 2003-10-09 21:06:59 +00:00
naddy
38217e3267 Update to 0.24.7:
- Numerous bug fixes.
- New feature: specify client configuration on the command line.
2003-09-24 15:06:15 +00:00
naddy
873968618f Update to 0.24.3. 2003-08-04 00:39:43 +00:00
naddy
6340b63d1c Update to 0.24.2.
- New feature: file-based halt.
- New keywords (server): pidfile, haltfile, base-prefix.
- Reload access file dynamically.
- Numerous bug fixes.
2003-07-31 17:15:02 +00:00
naddy
1af5501e76 Update to 0.24.1: various bug fixes. 2003-07-22 18:30:40 +00:00
naddy
85c4b6cece Update to 0.24.0. An rsync-like algorithm for regular file
synchronization has been implemented.
2003-07-13 21:03:46 +00:00
naddy
d16f81c8df Update to 0.23.7.
New feature: errormode.  Specifies the behaviour when any errors/
conflicts are found in local distributions.
2003-07-08 17:32:23 +00:00
naddy
af3ade1c76 Update to 0.23.5. Notable changes:
- Fix serious bugs around the destruction of hash context.
  These may cause abort() in C library and the server will stop.
- Improve stability.
- Fix some bugs.
2003-06-26 15:29:02 +00:00
naddy
b070554cba Update to 0.23.3. Changes:
* Improve stability.
* Fix some bugs.
* Be more verbose.
* Fix some 4GB limitations.
2003-06-18 11:04:54 +00:00
naddy
e6de4c39bd Update to 0.23.1. Changes:
* Improve stability.
* Fix some bugs.
2003-06-16 14:28:05 +00:00
naddy
67a712a5ac Update to 0.23.0: improve stability, many bug fixes.
0.22.0 has a serious compression bug.  If you use old versions,
please upgrade to 0.23.0.  If 0.23.0 detects the remote host is
0.22.0, it will forcibly fall back to no compression mode.
2003-06-05 13:04:19 +00:00
naddy
609f20873c Update to 0.22.0. This adds support for compression. 2003-05-30 16:04:11 +00:00
naddy
9e6950945d Update to 0.21.1:
Fix a well known problem to fail to update the file with the same
name but the different type.
2003-05-25 14:14:36 +00:00
naddy
97959efe2b update to 0.21.0: adds access control 2003-05-18 08:00:10 +00:00
naddy
2312bf2013 upstream fix for cvscan 2003-05-14 04:23:37 +00:00
naddy
4d215895e8 Update to 0.20.2. Now allows fine-grained control which files to (not)
distribute.
2003-05-10 21:27:23 +00:00
naddy
cdd0293384 Update to 0.20.1. 2003-05-06 23:33:31 +00:00
naddy
323263a9ac Update to 0.20.0. Incompatible protocol change to fix SetAttrs problems. 2003-04-28 14:30:50 +00:00
naddy
32e9a98982 Update to 0.19.6. 2003-04-23 21:23:33 +00:00
naddy
6b179137ad Update to 0.19.5. Now also includes (incomplete) man pages. 2003-04-22 00:41:31 +00:00