Commit graph

70 commits

Author SHA1 Message Date
gehenna
c3dab49c28 CVSync 0.24.17
From ChangesLog:
* Improve robustness. (client/server)
  Make this more friendly to userlevel POSIX thread libraries.
* Improve performance to parse rcsfile(5) based files.
* When -u/-g is specified, drop the privilege. (server)
* Update scanfiles when changes anything only.
2004-10-30 11:55:56 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
minskim
d4bf017ca5 The hash function type can be selected among native, openssl,
libgcrypt, and mhash.  Suggested by gehenna@.
2004-08-15 04:20:59 +00:00
minskim
828f78807a Use openssl hash functions on platforms that don't provide native hash
functions.
2004-08-12 20:46:21 +00:00
minskim
c53f1a6038 Honor *OWN, *GRP, and *MODE.
Bump PKGREVISION due to file permission changes.
2004-08-12 20:37:28 +00:00
gehenna
67ba1d7ff9 cvsync 0.24.16 is available.
Changes:
  * Improve performance to parse rcsfile(5) based files with many revisions.
  * Make this compile on Interix.
2004-06-20 16:44:44 +00:00
grant
0872fa7055 s/netbsd.org/NetBSD.org/i 2004-05-12 21:56:52 +00:00
uebayasi
ca46d23394 Enable pkgviews installation. 2004-04-28 10:18:36 +00:00
snj
bbfb11f3a2 Convert to buildlink3. 2004-04-25 05:18:52 +00:00
gehenna
4ed8ed5646 cvsync 0.24.15
Changes:
 * Make this compile with TenDRA.

 * Make this compile on Solaris7.

 * New utility: cvsync2cvsup

   This converts a scanfile from the cvsync style to the CVSup(R) style.
   It is useful for mirror maintainers to distribute the CVS repositories
   via both CVSup and CVSync protocols.

 * Improve robustness. (client)
2004-04-17 03:25:47 +00:00
gehenna
e892903e00 Bump PKGREVISION. noticed by agc@ 2004-04-09 01:06:23 +00:00
gehenna
44ebd8d9de cvsync 0.24.14
* Fix a bug to do munmap() with size 0. (client/server)
* Get rid of sched_yield(). (client/server)
* Improve robustness. (server)
* Improve robustness. (client)
* Fix a dead lock problem. (client/server)
2004-04-05 14:57:59 +00:00
grant
f49bdea710 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:24:28 +00:00
gehenna
94ecaa96db cvsync 0.24.13
Changes:
        * Improve the performance. (client/server)
          It's 4 - 30% faster than 0.24.12.
          (of course, depends on disk I/O, network connectivity, and so on.)
          Have fun!

        * Fix a bug to remain temporary files. (client)
          To remove that files, remove scanfiles and re-run cvsync client.

        * Option (server)
                -l: Specifies the file to write the system log.

        * New feature: base (client/server/cvscan)
          Specifies a prefix used for relative pathnames in all of the keyword
          'distfile', 'refuse', and 'scanfile'. It must be an absolute path.
2003-11-28 23:52:10 +00:00
gehenna
955437186c cvsync 0.24.12
Changes:
  * Fix a bug to use a wrong constant as NI_MAXHOST on OpenBSD.
    (cvscan/client/server)

  * Fix a bug to require the existence of 'prefix' when the release
    type is 'list'. (client)
2003-11-05 19:16:48 +00:00
gehenna
068ea36708 cvsync 0.24.11
Changes:
	New keyword: base-prefix (client)

	  Specifies a prefix used for relative pathnames in all of the
	  keyword 'prefix'.  It must be an absolute path.
2003-11-03 05:49:52 +00:00
gehenna
b606801312 cvsync 0.24.10
Changes:
  * Fix a bug to uninitialize an interger constant. (cvsup2cvsync)
2003-10-29 18:05:27 +00:00
gehenna
d6c1b3656e cvsync 0.24.9
Changes:
    * New utility: cvsup2cvsync

      This converts a scanfile from the CVSup(R) style to the cvsync style.
      It is useful for mirror maintainers to distribute the CVS repositries
      via both CVSup and CVSync protocols.

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

    * New feature: refuse (client)

      It provides the way to refuse to add/update/remove files or
      directories.
2003-10-29 00:43:38 +00:00
gehenna
ee9e1bc999 cvsync 0.24.8
Changes:
  * Fix a bug to create a wrong pid file when a relative path is specified
    by using an option -p.
2003-10-08 10:03:30 +00:00
gehenna
e2cd0207c7 CVSync 0.24.7
Changes:
  * Fix a bug to fail to run with GNU Pth/PTL. (cvsyncd)
  * Fix compile problems on OSes without a pthread library
    support. (cvscan/rcscmp)
2003-09-16 13:00:41 +00:00
gehenna
1a11263696 cvsync 0.24.6 tarball is regenerated.
Bump PKGREVISION.
2003-09-10 04:46:55 +00:00
gehenna
583ef0fb1e cvsync 0.24.6
Changes:
        * New feature: specify configurations in command line. (client)

          URI Syntax:
                cvsync://<hostname>[:<port>][/[<name>/release/[?<aux>]]]

          Samples:
                cvsync://some.where/
                        Retrieves the collections list.
                cvsync://some.where/foo/rcs/?prefix=/localsrc
                        Retrieves the collection foo/rcs under /localsrc.

          The documentation is not prepared yet.

        * Fix a bug to fail to execute in background when use an option -p
          to specify a file name to store a PID number and it is a relative
          path. (server)

        * Add samples to distribute NetBSD/OpenBSD CVS repositories.
2003-09-09 17:45:11 +00:00
gehenna
3b041cf732 CVSync 0.24.5
Changes:
  * Fix a bug to fail to replace files in top directory
    when use a feature 'scanfile'. (server)
2003-08-30 07:24:52 +00:00
gehenna
07cdc004ce cvsync 0.24.4
Changes:
  * Fix a bug to fail to replace files in some cases. (server)
  * Fix a double free bug. (server)
2003-08-27 09:35:40 +00:00
gehenna
1f36c46053 CVSync 0.24.3
Changes:
  * Fix a bug to fail to update a symlink status. (client)

  * New keyword: nordiff (server)
    On updating a regular file, a server send a whole file instead of
    using rdiff algorithm. It is efficient to update tarballs or similar.

  * Improve a rdiff performance slightly. (server)
2003-08-03 05:14:07 +00:00
gehenna
156d1ca17a CVSync 0.24.2
Changes:
	* A 'access' file is reloaded dynamically. (server)
	  This file is reloaded when a client is connected if necessary.

	  Not necessary to restart for reloading any files.

	* New keyword: base-prefix (server)

	  Specifies the prefix for the keyword 'prefix' of collections.
	  It must be an absolute path.

	* Fix a bug to try to remove wrong pid file mistakenly. (server)

	* Fix a bug to forget to tranfer the last file in some cases. (server)

	* native SHA1 is enabled on OpenBSD 3.3 or prior again.
	  All SHA1 calculations is wrapped by giant lock on OpenBSD.

	* Fix a rdiff bug. (server)

	* New keyword: haltfile (server)

	  When specified, a server checks it instead of /var/run/cvsyncd.HALT.

	* New feature: file-based halt (server)

	  If /var/run/cvsyncd.HALT is created or modified when a server is
	  running, the server exits gracefully.

	* New keyword: pidfile (server)

	  Specifies the file to store the pid number in a configuration file.

	* Fix a bug to mirror directories/files specified as 'deny'
	  in 'distfile' mistakenly.
2003-07-30 16:11:48 +00:00
gehenna
bed308b167 cvsync 0.24.1
Changes:
        * WARNING: "hash mismatch" on OpenBSD (server/client)
          In some cases, the client shows an error message "hash mismatch" and
          fails to update repositories. This problem is caused by reason that
          native OpenBSD SHA-1 implementation is not thread safe.

          Workaround:
                1. Specifies "hash md5" in your configuration file.
                2. Rebuild the server/client with HAVE_SHA1=no or
                   HASH_TYPE={libgcrypt,mhash,openssl}.

          This problem is reported to OpenBSD mailing list by Sato-san and
          fixed in the current OpenBSD tree. See the following URL.
                http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/hash/sha1.c

          native SHA-1 is disabled on OpenBSD 3.3 or prior in 0.24.1.

        * Fix a hash type negotiation bug. (server)

        * Fix some rdiff bugs. (server)

        * Fix a bug to remain the <pidfile> when the initialization is failed.
          (server)

        * Fix a bug to show error messages mistakenly when destroy
          pthread_cond_t. (server/client)
2003-07-22 08:25:12 +00:00
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00
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