pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/rpc2 update to 1.19



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2c39a92c9536
branches:  trunk
changeset: 460227:2c39a92c9536
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Mon Aug 25 10:28:43 2003 +0000

description:
update to 1.19
changes (partial):
- Updated for current autoconf/gcc build environment.
- Some cleanups for the code generated by the rp2gen stub generator.
- Hopefully improved 'timeout' behaviour on asynchronous links (ADSL).
Fixes memory corruptions that typically hit during reintegration, andperformance
      problems when writing data to the servers.
- Now internally supports >2GB files, however we're not really using
  this new capability in Coda yet.
- Re-added a lost lseek that was causing truncated backup files.
    Small files that got piggybacked on the outgoing RPC2 packets were
    only sent to one server in a replicated group. The operation on the
    other servers fails and the client disconnected. The next time the
    servers are accessed this inconsistency was detected and
    automatically resolved. But doing it right in the first place is
    somewhat more efficient and reliable.
    The RPC2 random number generator was not initialized correctly. Not
    sure how much effect this had on connection handling and other
    places that liked random numbers to be unique.
Removed MultiRPC pool allocator, now we can have more than 8 concurrent RPC
operations. And because the per-user limit got removed in Coda-6.0.2, this is
more likely to happen.
A packet with random data could easily trigger an assertion in the MultiRPC
decoding. Now we simply drop it and avoid the possible DoS.
IPv6 support, it is just waiting for the right flag from userspace. As a
result the 1.19 API is binary compatible for older clients and servers.
Removed sftp listener and timeout threads. We always run what was previously
called 'masqueraded'. This works fine as long as our peer uses rpc2-1.9
or later.

diffstat:

 devel/rpc2/Makefile         |   4 ++--
 devel/rpc2/PLIST            |  15 ++++++++-------
 devel/rpc2/distinfo         |   7 +++----
 devel/rpc2/patches/patch-aa |  16 ----------------
 4 files changed, 13 insertions(+), 29 deletions(-)

diffs (83 lines):

diff -r 0fbaa1ab5ad6 -r 2c39a92c9536 devel/rpc2/Makefile
--- a/devel/rpc2/Makefile       Mon Aug 25 10:20:15 2003 +0000
+++ b/devel/rpc2/Makefile       Mon Aug 25 10:28:43 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2002/08/25 18:38:47 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2003/08/25 10:28:43 drochner Exp $
 #
 
-DISTNAME=      rpc2-1.13
+DISTNAME=      rpc2-1.19
 CATEGORIES=    devel
 MASTER_SITES=  ftp://ftp.coda.cs.cmu.edu/pub/rpc2/src/ \
                ftp://ftp.wu-wien.ac.at/pub/systems/coda/src/
diff -r 0fbaa1ab5ad6 -r 2c39a92c9536 devel/rpc2/PLIST
--- a/devel/rpc2/PLIST  Mon Aug 25 10:20:15 2003 +0000
+++ b/devel/rpc2/PLIST  Mon Aug 25 10:28:43 2003 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2002/08/25 18:38:47 jlam Exp $
+@comment $NetBSD: PLIST,v 1.4 2003/08/25 10:28:43 drochner Exp $
 bin/filcon
 bin/rp2gen
 include/rpc2/errors.h
@@ -7,21 +7,22 @@
 include/rpc2/fcon.h
 include/rpc2/multi.h
 include/rpc2/rpc2.h
+include/rpc2/rpc2_addrinfo.h
 include/rpc2/se.h
 include/rpc2/sftp.h
 lib/libfail.a
 lib/libfail.la
 lib/libfail.so
-lib/libfail.so.4
-lib/libfail.so.4.3
+lib/libfail.so.5
+lib/libfail.so.5.1
 lib/librpc2.a
 lib/librpc2.la
 lib/librpc2.so
-lib/librpc2.so.4
-lib/librpc2.so.4.3
+lib/librpc2.so.5
+lib/librpc2.so.5.1
 lib/libse.a
 lib/libse.la
 lib/libse.so
-lib/libse.so.4
-lib/libse.so.4.3
+lib/libse.so.5
+lib/libse.so.5.1
 @dirrm include/rpc2
diff -r 0fbaa1ab5ad6 -r 2c39a92c9536 devel/rpc2/distinfo
--- a/devel/rpc2/distinfo       Mon Aug 25 10:20:15 2003 +0000
+++ b/devel/rpc2/distinfo       Mon Aug 25 10:28:43 2003 +0000
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.6 2002/08/25 18:38:48 jlam Exp $
+$NetBSD: distinfo,v 1.7 2003/08/25 10:28:43 drochner Exp $
 
-SHA1 (rpc2-1.13.tar.gz) = b4f13fe3f878c632b66a6a1ac19883c735eeef4d
-Size (rpc2-1.13.tar.gz) = 447572 bytes
-SHA1 (patch-aa) = dcabf7b6f7afdf8f3e058facfe8a6442177a03bf
+SHA1 (rpc2-1.19.tar.gz) = 41061f1d0924aa189c24e513bfec502efb54b65e
+Size (rpc2-1.19.tar.gz) = 459877 bytes
diff -r 0fbaa1ab5ad6 -r 2c39a92c9536 devel/rpc2/patches/patch-aa
--- a/devel/rpc2/patches/patch-aa       Mon Aug 25 10:20:15 2003 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2002/08/25 18:38:49 jlam Exp $
-
---- fail/parser.c.orig Tue May 22 12:31:45 2001
-+++ fail/parser.c
-@@ -33,10 +33,7 @@
- #include <assert.h>
- 
- #include <readline/readline.h>
--
--extern void using_history();
--extern void stifle_history(int);
--extern void add_history(char *);
-+#include <readline/history.h>
- 
- #ifdef __cplusplus
- }



Home | Main Index | Thread Index | Old Index