Commit graph

42 commits

Author SHA1 Message Date
gehenna
375230bf7a CVSync 0.24.0
Changes:
  * Implement new mirror algorithm for regular files. (server/client)
    This improves the performance to update large regular files incredibly.

  * Fix a potential problem to update rcsfile(5) based files with
    over 256 symbols. (server/client)
2003-07-13 16:26:00 +00:00
gehenna
cf36cc35f8 CVSync 0.23.8
Changes:
	* Fix a bug not to accept the option -L. (cvscan)

	* Fix a bug that the default value of 'maxclients' is not set properly
	  when 'maxclients' is not specified. (server)

	* Fix bugs of alignment. (server/client)

	* Fix bugs not to work properly when set 'errormode' to 'fixup' or
	  'ignore' in some case. (server/client)
2003-07-09 13:31:30 +00:00
gehenna
9a6413ec39 CVSync 0.23.7
Changes:
	* Fix a memory leak. (server)
2003-07-08 14:57:10 +00:00
gehenna
c267aeb73f cvsync 0.23.6
Changes:
  * New feature : errormode (server/client)

	Specifies the behaviour when any errors/conflicts are found in local
	distributions.

		abort : Exit/Disconnect with error messages immediately.
		fixup : Recover errors/conflicts and keep running.
		ignore : Ignore any errors/conflicts.

	The keyword 'loose' is obsoleted, same to set 'errormode' to 'ignore'.
	This exists only for the backward compatibility.

  * Option (client)

		-L : Set 'errormode' to 'fixup' for all collections.

  * Option (cvscan)

		-L : Set 'errormode' to 'fixup'.
		-l : Set 'errormode' to 'ignore'.

  * Improve stability. (server/client)
2003-07-07 23:40:51 +00:00
gehenna
27844acbaf cvsync 0.23.5
Changes:
  * Fix a bug to fail to update the file with over 256 symbols.
2003-06-26 14:51:06 +00:00
gehenna
e70a3a08d3 cvsync 0.23.4
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.
    * Make this compile with Intel C++ Compiler.
    * Make this compile with Sun Microsystems Forte C.
2003-06-26 00:55:15 +00:00
gehenna
4e5be27ef4 cvsync 0.23.3
Changes:
  * Make this compile on Solaris8
2003-06-18 06:57:07 +00:00
gehenna
b5c41e36ee cvsync 0.23.2
Changes:
  * Improve stability.
  * Fix some bugs.
  * Be more verbose.
  * Fix some 4GB limitations.
2003-06-18 00:34:27 +00:00
gehenna
de04b6fa25 cvsync 0.23.1
Changes:
	* Improve stability.
	* Fix some bugs.
2003-06-10 17:32:42 +00:00
gehenna
185649c289 cvsync 0.23.0 is out.
Changes:
  * Improve stability.

  * HEADS UP: Compression
    0.22.0 has a serious compression bug. If you use old versions,
    please upgrade 0.23.0 or higher. If 0.23.0 detects the remote host
    is 0.22.0, fallback to no compression mode forcibly.

  * Fix many bugs.
2003-06-04 15:32:13 +00:00
gehenna
bf5ec2ba8f cvsync 0.22.0 is out.
ChangeLog:
        * New keyword: compress (client only)

        * Options (client)
                -Z : Disables a compression.
                -z : Enables a compression.

        * Option (server)
                -z: Sets the compression level.
                        0: no compression.
                        1: the fastest, but less compression.
                        9: the slowest, but best compression.
2003-05-30 14:16:16 +00:00
gehenna
2b4c5db885 cvsync-0.21.1
Changes:
 * Fix a well known problem to fail to update the file with the same name
   but the different type.
2003-05-25 02:39:26 +00:00
gehenna
e308031ba3 0.21.0 is out.
Changes:
	* New feature: access

          It provides the way to control to allow/deny the connections.

                allow <v4addr>[/<netmask>][,<max>]
                allow <v6addr>[/<prefixlen>][,<max>]
                allow <domain>[,<max>]
                        'allow' specifies the acceptable address block and
                        the acceptable domain name. <max> means the maximum
                        connections from the address block or the domain name.
                        Even if <max> is greater than 'maxclient', the maximum
                        is restricted by the value of 'maxclient'.

                always <v4addr>[/<netmask>]
                always <v6addr>[/<prefixlen>]
                always <domain>
                        'always' specifies the acceptable address block and the
                        acceptable domain name with no restrictions. Even if
                        the number of the connections is already same as
                        'maxclient', the connection from this address block or
                        the domain name never be rejected.

                deny <v4addr>[/<netmask>]
                deny <v6addr>[/<prefixlen>]
                deny <domain>
                        'deny' specifies the unacceptable address block and the
                        unacceptable domain name. The server always rejects the
                        connection from this address block and the domain name.

        'permit' is an alias to 'allow'.
        'reject' is an alias to 'deny'.

	* Fix a bug that cvscan doesn't work if 'distfile' isn't set.

	* Experimental SOCKS5 support.

          If you want to use SOCKS5, please specify SOCKS5_TYPE.

          The following types are available:

                dante
                nec
                none (default)
2003-05-17 00:45:40 +00:00
gehenna
2f2736bdc0 cvsync 0.20.2
Changes:
* New feature: distfile

  It provides the flexible way to distribute files.

        allow, upgrade <pattern>
                Distribute files which matches the pattern.
        deny, omitany <pattern>
                Don't distribute files which matches the pattern.
2003-05-08 15:40:39 +00:00
gehenna
cd497e3261 cvsync 0.20.1
Changes:
	* Support libgcrypt and mhash libraries.

          If you want to use other hash library instead of native one,
          please specify HASH_TYPE.

          The following types are available:

                libgcrypt
                mhash
                native (default)
                openssl

          By this change, never fall back to OpenSSL automatically even if a
          native hash library is not available.

	* Option (cvscan)

                -c: Specifies the configuration file for cvsyncd.
                    cvscan use the information of scanfile (loose, nofollow,
                    release, prefix and so on) from it.
2003-05-04 13:13:52 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
gehenna
84c599317a cvsync 0.20.0 is out.
ChangeLog:
        * HEADS UP: Change the Protocol around 'SetAttr'.
          These changes remove the potential 'SetAttr' issue.
          If you use the old versions, please upgrade to 0.20.0 or higher.

        * Fix a bug that the default value of 'maxclients' isn't set properly.
2003-04-28 00:50:00 +00:00
gehenna
1858fd16a6 cvsync 0.19.6 is released.
ChangeLog:
        * Fix a bug that the 'loose' feature doesn't work properly.
	* Fix a bug that both server/client tried to traverse wrong paths
          if a relative path calculated by the 'super' keyword is more than
          2 levels.
2003-04-23 13:15:34 +00:00
gehenna
f5e43023b3 cvsync-0.19.5 is out
ChangeLog:
	* Fix a bug that the 'SetAttrs' request for directories was issued in
          a wrong order.

	* New feature: loose

          Background:
          Proper CVS repositories don't have files with same file name
          inside/outside 'Attic' directory of the same directory. If both exist
          accidentally, it is very difficult to determine which file is the
          right one. So in the past, cvsync exits abnormaly with the
          'inconsistency' error message. But some CVS repositories has this
          inconsistency. It is unhappy for CVS repositories mirror sites to
          redistribute them.

          The 'loose' option provides a workaround for bogus CVS repositories.
          When cvsync detects a inconsistency, cvsync assumes that the a file
          with more recent modification time is right and don't exit.

          This feature is optional. The best way is to remove the
          inconsistencies from master sites, of course.

        * Fix a bug that when move a RCS file from inside/outside Attic to
          outside/inside Attic without chaging modifition time and permissions,
          cvsync can't detect the action.
2003-04-20 12:58:48 +00:00
gehenna
8e78c2d7d7 cvsync-0.19.4 is out.
ChangeLog:
2003-04-15  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.19.4

        * Fix a bug that broken 'head' and 'branch' are written.

        * Make this compile on Solaris 9

        * Fix a bug to a server writes a wrong pid number to <pidfile>.
2003-04-15 15:03:08 +00:00
gehenna
af2e162b63 cvsync-0.19.4
ChangeLog:
2003-04-14  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.19.3

        * Fix a bug that '@' is missing for 'comment'.

        * Improve the network performance.

        * Options (both)

                -V: Print the version number to standard error.
                -v: Verbose mode.

        * Options (server)

                -g: Specifies the group the server should run as.
                -u: Specifies the user the server should run as.
                -w: Sets the working directory of the server.
2003-04-14 12:31:34 +00:00
gehenna
088b7392d9 cvsync-0.19.2
ChangeLog:
2003-04-09  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.19.2

        * When the configuration file is updated, a server reloads it
          automatically.

        * Options (client)

                -4 : Forces a client to use IPv4 addresses only
                -6 : Forces a client to use IPv6 addresses only.

        * A server runs in background mode (default).
          When executed with -f option, a server runs in foreground mode.
2003-04-11 16:21:20 +00:00
gehenna
e457aa78d5 cvsync-0.19.1
ChangeLog:
2003-04-08  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.19.1

        * Fix a bug to fail to mirror a repository when no pre-existing files.

        * Fix a bug that list operations fail when pre-allocated buffers are
          exhausted.

        * Even if a server fail to parse a RCS file, just ignore it and
          continue to run.

2003-04-05  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * Fix a bug that a packet length of protocol version is mistakenly
          calculated.
2003-04-09 02:43:59 +00:00
gehenna
44cc88f13f cvsync-0.19.0
ChangeLog:
2003-04-04  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.19.0

        * HEADS UP: Change Cvsync Version Exchange Protocol
          If you use the old versions, please upgrade to 0.19.0 or higher.

        * Improve the performance to update sub-collection.
          When a server receives an update request of collections
          defined as sub-collection, the server sends differences
          of the sub-collection with a relative prefix based on the
          `super' collection.  The client can update only that directory.

        * REMARK:
                AIX 4.3.3 without IPv6
                BSD/OS 4.2
                Cygwin 1.3.22 without IPv6
                FreeBSD/i386 5.0-CURRENT (as of 2003/03/12)
                FreeBSD/i386 4.7-STABLE (as of 2003/03/05)
                FreeBSD/sparc64 5.0-CURRENT (as of 2003/03/05)
                Mac OS X
                NetBSD/alpha 1.6O with native pthreads
                NetBSD/i386 1.6P with native pthreads
                NetBSD/i386 1.6L with GNU Pth
                NetBSD/macppc 1.6M with native pthreads
                OpenBSD/i386 3.2-stable
                OpenBSD/sparc64 3.3-beta
                Solaris 8/SPARC

          Works fine on these platforms.

2003-04-01  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * Make this compile on AIX 4.3.3
2003-04-04 03:21:57 +00:00
gehenna
1261693957 cvsync-0.18.0
ChangeLog:
2003-04-01  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.18.0

        * Implement a new keyword 'super', which allows to define
          sub-collections of a collection.  For example:

                collection {
                        name netbsd release rcs
                        prefix /cvsroot
                        ...
                }
                collection {
                        name netbsd-pkgsrc release rcs
                        prefix /cvsroot/pkgsrc
                        super netbsd
                }

          For the collection `netbsd-pkgsrc', a client gets only
          /cvsroot/pkgsrc part of the whole of NetBSD CVS repository
          (/cvsroot).  When `super' is specified as shown above, 'nofollow'
          and 'umask' of the collection `netbsd-pkgsrc' with `super' are
          inherited from the collection `netbsd'.  When a scanfile is
          also specified in the collection `netbsd', the collection
          `netbsd-pkgsrc' employs the corresponding entries in the parent's
          scanfile.  Thus, using `super' keyword, only a scanfile for the
          top of sub-collections is needed to use the scanfile functionality
          when sub-collections of a collection are defined.  It makes the use
          of a scanfile more efficient.

          'super' can be specified recursively (i.e. a sub-collection can
          be the parent of another sub-collection).

          (Thanks hrs AT FreeBSD DOT org)
2003-04-01 08:43:12 +00:00
gehenna
1819a1bd73 cvsync-0.17.2
ChangeLog:
2003-03-31  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.17.2

        * Fix a bug that the fallback of file compare algorithm doesn't work.

        * Fix a bug to calculate the length of file name in Attic.
2003-03-30 23:40:52 +00:00
gehenna
24c4a03694 cvsync-0.17.1
ChangeLog:
2003-03-29  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.17.1

        * ANNOUNCE: Public cvsync service
          cvsync.allbsd.org provides the distribution and source trees of
          FreeBSD, NetBSD, OpenBSD, OpenDarwin, XFree86, and TenDRA via cvsync.
          URL: http://www.allbsd.org/#pub-cvsync

        * mk/*.mk
          Make compile on old BSDs.

2003-03-28  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * Fix signed vs unsigned problem.
2003-03-29 04:58:01 +00:00
gehenna
0afa03ef5a cvsync-0.17.0
ChangeLog:
2003-03-28  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.17.0 is out.

        * HEADS UP: Change Collection Exchange Protocol
          To make add the new release type easy, the protocol to exchange
          collections list is changed.
          All servers/clients SHOULD be updated to 0.17.0 or higher.

        * Fix a bug to calculate the symbolic link path name length.
          (noticed by naddy AT OpenBSD DOT org)

2003-03-27  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * New release type: list
          Retrieve the collections list provided by the server.

        * Scanfile (client)
          If the scanfile is specified and that doesn't exist, it's generated
          automatically at the stage of loading the configuration file.
2003-03-28 12:04:58 +00:00
gehenna
f45691f9a4 cvsync-0.16.1 is out.
ChangeLog:
2003-03-27  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.16.1 is out.

        * mk/*.mk
          Make compile on cygwin completely.
2003-03-26 17:39:52 +00:00
gehenna
69ff4b39ce cvsync-0.16.0 is out.
ChangeLog:
2003-03-26  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.16.0 is out.

        * Scanfile (server)
          The empty scanfile is acceptable.

        * The symbolic link is fully supported.
          Client: Never follow the symbolic link.
          Server: If 'nofollow' is specified in a 'collection' section,
                  don't follow the symbolic link.
                  The default is off, i.e. follow the symbolic link.
2003-03-26 08:23:39 +00:00
gehenna
44dfdcae66 cvsync-0.15.2 is out.
ChangeLog:
2003-03-25  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.15.2 is out

        * mk/*.mk
          Make compile on cygwin (cvscan/rcscan/rcscmp only).
          cvsync{,d} depends on the existence of getaddrinfo()/getnameinfo().
          The latest cygwin (1.3.22-1) doesn't have these APIs, so can't
          compile them yet.
2003-03-25 16:47:13 +00:00
gehenna
3ccc921661 cvsync-0.15.1 is out.
ChangeLog:
2003-03-24  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.15.1 is out

        * Scanfile (server)
          Implement the experimental server-side scanfile feature.

        * REMARK: the Performance
          When the scanfile feature is enabled on both server/client,
          the update procedure is done in 3sec (best) - 40min (worst).
2003-03-25 01:05:42 +00:00
gehenna
b62ecb4dc5 cvsync-0.15.0
ChangeLog:

2003-03-18  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.15.0 is out

        * Improve the performance and stabilities with scanfile features.

        * Signal Handling (client)
          When SIGINT or SIGTERM is received, the client process stop and
          the scanfile is updated if it's enabled.

        * Improve English (Thanks hrs AT FreeBSD DOT org!)

2003-03-15  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * mk/base.mk, mk/pthread.mk (FreeBSD/Solaris)
          Clean up compiler/linker options.
2003-03-18 01:26:59 +00:00
gehenna
dcdc32be8c cvsync-0.14.5 is out
ChangeLog:

2003-03-15  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * 0.14.5 is out

        * Scanfile (client)
          Even if very deep unnecessary directories exist on the local disk,
          works properly.

        * doc/FAQ
          Add one item.

                Q. How do I compile/install your tools?
                A. Just type 'gmake'/'gmake install'.

2003-03-11  MAEKAWA Masahide  <maekawa@daemon-systems.org>

        * sock_select @ common/network.c
          Wake up the server listening thread in every seconds.

        * Signal Handling (server)
          If SIGINT or SIGTERM is received, reject new connections and
          the finialization procedure will be deferred until all running
          cvsync threads are done.

        * Signal Handling (client) - well known bug
          If SIGINT or SIGTERM is received, never stop. Please issue SIGKILL.
2003-03-14 17:11:12 +00:00
gehenna
5c7465e35f cvsync-0.14.4 is out.
From ChangeLog:

2003-03-10  MAEKAWA Masahide  <maekawa@daemon-systems.org>

	* 0.14.4 is out

	* common/hash.h, mk/hash.mk, mk/pthread.mk
	  make compile on Red Hat Linux 7.2 with/without OpenSSL.

	* Fix typos and missing headers.

2003-03-09  MAEKAWA Masahide  <maekawa@daemon-systems.org>

	* doc/FAQ
	  Add one item.

		Q. Are these tools stable?
		A. If you think so, they are stable.

	* mk/pthread.mk (FreeBSD/NetBSD/OpenBSD specific)
	  Use -pthread (LDFLAGS) instead of -lpthread or -lc_r (LIBS).
	  (noticed by naddy AT OpenBSD DOT org and slightly modified)

	* common/filetypes.h
	  Some file types are reserved.
		B : block special
		C : character special
		L : hard link
		S : symbolic link
2003-03-11 03:13:14 +00:00
gehenna
faaaa9fc13 0.14.3 is out
* mux_flush_out @ common/mux.c
          fix a bug to call pthread_cond_wait() before locking the mutex.
2003-03-08 14:41:48 +00:00
gehenna
b74ffdfc17 cvsync-0.14.2 is out. 2003-03-08 06:58:44 +00:00
wiz
e2a9971584 Remove PKGREVISION (should be reset on updates), fix comment,
and remove superfluous WRKSRC setting to its default.
2003-03-06 13:31:05 +00:00
gehenna
a679f0bcf7 cvsync-0.14.1 is out.
All chages in pkgsrc are merged.
2003-03-06 13:15:48 +00:00
grant
08d4518252 use a variable. 2003-03-06 12:42:24 +00:00
grant
c6ae1abbad allow this to build on -current systems where the kernel version
has pthread support but userland does not.

also install some example config files.

bump PKGREVISION.
2003-03-06 12:36:45 +00:00
martin
6d5b4f5af5 Import of cvsync 0.14, a portable cvs repository syncer (client and server),
similar, but not compatible with, to CVSup(tm).
2003-03-06 09:08:30 +00:00