summaryrefslogtreecommitdiff
path: root/devel/rpc2
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2003-08-25 10:28:43 +0000
committerdrochner <drochner@pkgsrc.org>2003-08-25 10:28:43 +0000
commitaa0e7c6dbed26075e68eb1997466d521d19f32de (patch)
treeea2698689032dfb7dc70629548bbfb8acd7e68c3 /devel/rpc2
parentb6dd2af4028df85a1d9e3b55268c43ec48c8c38d (diff)
downloadpkgsrc-aa0e7c6dbed26075e68eb1997466d521d19f32de.tar.gz
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 (limited to 'devel/rpc2')
-rw-r--r--devel/rpc2/Makefile4
-rw-r--r--devel/rpc2/PLIST15
-rw-r--r--devel/rpc2/distinfo7
-rw-r--r--devel/rpc2/patches/patch-aa16
4 files changed, 13 insertions, 29 deletions
diff --git a/devel/rpc2/Makefile b/devel/rpc2/Makefile
index 0554710c361..b0c9ba9f346 100644
--- a/devel/rpc2/Makefile
+++ b/devel/rpc2/Makefile
@@ -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 --git a/devel/rpc2/PLIST b/devel/rpc2/PLIST
index 1b9998f77ae..2306ef4fa1e 100644
--- a/devel/rpc2/PLIST
+++ b/devel/rpc2/PLIST
@@ -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/fail.h
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 --git a/devel/rpc2/distinfo b/devel/rpc2/distinfo
index 6416af60f52..fd5a53de3f4 100644
--- a/devel/rpc2/distinfo
+++ b/devel/rpc2/distinfo
@@ -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 --git a/devel/rpc2/patches/patch-aa b/devel/rpc2/patches/patch-aa
deleted file mode 100644
index d43b390354d..00000000000
--- a/devel/rpc2/patches/patch-aa
+++ /dev/null
@@ -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
- }