Subject: CVS commit: pkgsrc/devel/rpc2
From: Greg Troxel
Date: 2007-04-11 20:14:17
Message id: 20070411181417.B05882150A@cvs.netbsd.org

Log Message:
Update to 2.5.

New in 2.5:

* Avoid rp2gen segfault on 64-bit systems. (Vasil Dimov)
* Forgotten includes broke the FreeBSD build. (Sean Caron)
* Fix RPM build dependencies. (Adam Goode/Jerry Amundson)
* Add dependency on pkg-config 0.18 or higher (Davor Ocelic)
* Use non-blocking /dev/urandom device to initialize random number generator.
* We were not correctly handling returned data values in our Lua bindings.
* Fix compiler warnings in stub-generated code.
* Correctly handle negative seek offset in SFTP so that it disables seeking by
  the rpc2 layers.
* Fix data alignment for incoming RPC2 connections on 64-bit.
* Set default binding policy to only allow secure rpc2 connections.

New in 2.4:

* Instead of queueing incoming INIT1 requests when nobody is ready to accept
  the new connection, respond with a busy to make the peer wait and try again.

  This is useful when RPC2 is already initialized, but the server is starting
  up and when a lot of new clients arrive simultaneously, for instance after a
  network outage. By the time we're ready to accept the connection the client
  may have already given up and it is pointless to try and send the INIT2
  response.

New in 2.3:

* Endian fixes in the encryption code (Adam Goode)
* Fix failing SFTP transfer when a duplicate packet arrives.
* Account for server processing delay in roundtrip time estimate.
* Rewrote bandwidth/latency estimator to improve stability.
* Added 'configure --with-lua' to link in an embedded Lua interpreter.
* Support for Lua scripts to customize bandwidth and roundtrip time estimation.
  Assumes the script can be found as /etc/rpc2.lua or the value of the
  RPC2_LUA_SCRIPT environment variable. We check once every 5 seconds if
  that file has been updated (or removed) and automatically reload it.
  The script is disabled whenever a parse or runtime error is encountered.
* Example scripts installed in ${prefix}/share/rpc2,
  rpc2-rtt-adaptive.lua	- current RPC2 estimator, implemented in Lua.
  rpc2-rtt-fixed.lua	- simple estimator using fixed network parameters.
  rpc2-rtt-vj.lua	- simple latency only estimator.
  rpc2-fail.lua		- Introduce packet loss and/or delay

New in 2.2:

* Avoid valgrind warnings in the pbkdf test function.
* Fix codasrv regression, it failed to unpack the CML.

New in 2.1 (unreleased):

* Fix RPC2 binding on amd64.
* Fix layout of struct SFTP_Parms for 64-bit.
* Fix MultiRPC packing and unpacking on 64-bit.
* Convert a couple other longs to int32_t in sftp.
* Remove the autom4te.cache when bootstraping. (Phil Nelson)
* Cygwin does not have IPV6 yet. (Phil Nelson)

New in 2.0:

* Removed unused multicast code.
* Filter requests based on the subsystem we authenticated with.
* New security framework that provides strong encryption.
* Various standard encryption/authentication modes,
    PKCS#5 v2.0 key derivation			(RFC 2898)
    AES-XCBC-MAC-96 authentication		(RFC 3566)
    AES-CBC encryption			 	(RFC 3602)
    AES-CCM combined encryption/authentication	(RFC 4309)
    AES-XCBC-PRF-128 pseudo random function	(RFC 4434)
* Allow user to set minimum key length with RPC2SEC_KEYSIZE envvar.
* Allow user to avoid reverting back to the old compatible handshake/xor
  binding by setting the RPC2SEC_ONLY envvar.
* Log packets larger than the IPv6 minimum MTU.
* Automake cleanups, compile with -Wall, various other cleanups.
* Attempt to fix conflicts with the Debian rpc2-4 package.
* Replace incorrect %{_buildroot} with %{_builddir} in the RPM spec file.
* rpc2 doesn't build on netbsd/sparc64 2.0ish (Greg Troxel)

New in 1.28:

* Do not truncate random numbers to 15 bits.
* Check clientident length (Ivan Popov).
* Fix gcc4 warnings.

Files:
RevisionActionfile
1.26modifypkgsrc/devel/rpc2/Makefile
1.6modifypkgsrc/devel/rpc2/PLIST
1.11modifypkgsrc/devel/rpc2/distinfo