summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2008-01-29 20:50:43 +0000
committergdt <gdt@pkgsrc.org>2008-01-29 20:50:43 +0000
commit1734b4dbe1d8d017f99be3c279200b789f7549cd (patch)
treecfddf7145d13fa6aa3458acb448971739fcbbbe0 /devel
parent58cec8e6425f5edb1e1e55abb3cd47fbe4deb541 (diff)
downloadpkgsrc-1734b4dbe1d8d017f99be3c279200b789f7549cd.tar.gz
Update to 2.7.
* Build improvements, use pkgconfig. * Don't add rpc2's 100ms delayed ack delay in SFTP roundtrip estimate. * Reduce the number of packets SFTP drops when we receive duplicates. * Retransmit more worried packets (which 'should' have been acked). * Only retransmit on timeouts, have the active side of the connection be mostly timeout driven to avoid duplicate transfers.
Diffstat (limited to 'devel')
-rw-r--r--devel/rpc2/Makefile11
-rw-r--r--devel/rpc2/PLIST3
-rw-r--r--devel/rpc2/distinfo10
-rw-r--r--devel/rpc2/patches/patch-aa16
-rw-r--r--devel/rpc2/patches/patch-ab89
5 files changed, 14 insertions, 115 deletions
diff --git a/devel/rpc2/Makefile b/devel/rpc2/Makefile
index 1ee2b5b602c..0cc398ca30e 100644
--- a/devel/rpc2/Makefile
+++ b/devel/rpc2/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2007/08/15 14:58:02 gdt Exp $
+# $NetBSD: Makefile,v 1.33 2008/01/29 20:50:43 gdt Exp $
#
-DISTNAME= rpc2-2.6.1
+DISTNAME= rpc2-2.7
CATEGORIES= devel
MASTER_SITES= http://www.coda.cs.cmu.edu/pub/rpc2/src/
@@ -10,7 +10,12 @@ MAINTAINER= phil@cs.wwu.edu
HOMEPAGE= http://www.coda.cs.cmu.edu/
COMMENT= CMU (Coda) remote procedure call package
-USE_TOOLS+= gmake perl
+USE_TOOLS+= gmake perl pkg-config
+# Earlier we had a patch to put
+# AC_CHECK_PROGS(YACC, 'bison -y' byacc yacc)
+# in configure.in, but with yacc in USE_TOOLS, then there
+# should always be at least yacc and this is no
+# longer necessary.
USE_TOOLS+= yacc
GNU_CONFIGURE= YES
diff --git a/devel/rpc2/PLIST b/devel/rpc2/PLIST
index 99cbe77f8db..cd1fa5b9e21 100644
--- a/devel/rpc2/PLIST
+++ b/devel/rpc2/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2007/08/11 01:51:34 gdt Exp $
+@comment $NetBSD: PLIST,v 1.10 2008/01/29 20:50:43 gdt Exp $
bin/rp2gen
include/rpc2/errors.h
include/rpc2/multi.h
@@ -9,6 +9,7 @@ include/rpc2/secure.h
include/rpc2/sftp.h
lib/librpc2.la
lib/libse.la
+lib/pkgconfig/rpc2.pc
@exec ${MKDIR} %D/share/rpc2
@dirrm share/rpc2
@dirrm include/rpc2
diff --git a/devel/rpc2/distinfo b/devel/rpc2/distinfo
index 34ceb1d6c1a..0c98be377a1 100644
--- a/devel/rpc2/distinfo
+++ b/devel/rpc2/distinfo
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.14 2007/08/15 14:58:02 gdt Exp $
+$NetBSD: distinfo,v 1.15 2008/01/29 20:50:43 gdt Exp $
-SHA1 (rpc2-2.6.1.tar.gz) = d0c3637fa37a32f4e1c1f0e1bae561e76b2f95ef
-RMD160 (rpc2-2.6.1.tar.gz) = ca68bcc8e94eb2df162828780d250cefcb85561d
-Size (rpc2-2.6.1.tar.gz) = 614810 bytes
-SHA1 (patch-aa) = 70ad75acf0d955aeb39d5713ae0ba0bbe55fe9a0
-SHA1 (patch-ab) = c2bb9e8a7c2d0ec127cd9a57938bcdfd2e38197c
+SHA1 (rpc2-2.7.tar.gz) = adcb2eb324d18f8da88b3e7e85ec4551b1591372
+RMD160 (rpc2-2.7.tar.gz) = d57410399424a08e6a016c4cf517454f6ae3961f
+Size (rpc2-2.7.tar.gz) = 624013 bytes
diff --git a/devel/rpc2/patches/patch-aa b/devel/rpc2/patches/patch-aa
deleted file mode 100644
index 3cc132ba756..00000000000
--- a/devel/rpc2/patches/patch-aa
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-aa,v 1.7 2007/08/06 12:54:25 gdt Exp $
-
---- configure.in.orig 2007-06-28 12:16:52.000000000 -0400
-+++ configure.in
-@@ -30,10 +30,7 @@ AM_PROG_LEX
- if test -z "${ac_cv_prog_LEX}" ; then
- AC_MSG_ERROR([Build requires flex or lex lexical analyzer generator])
- fi
--AC_PROG_YACC
--if test -z "${ac_cv_prog_YACC}" ; then
-- AC_MSG_ERROR([Build requires bison, byacc or yacc parser generator])
--fi
-+AC_CHECK_PROGS(YACC, 'bison -y' byacc yacc)
- AC_PROG_INSTALL
- AC_PROG_MAKE_SET
- AC_PROG_LIBTOOL
diff --git a/devel/rpc2/patches/patch-ab b/devel/rpc2/patches/patch-ab
deleted file mode 100644
index 369af61affe..00000000000
--- a/devel/rpc2/patches/patch-ab
+++ /dev/null
@@ -1,89 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2007/08/06 12:54:26 gdt Exp $
-
---- configure.orig 2007-08-02 00:53:15.000000000 -0400
-+++ configure
-@@ -854,7 +854,6 @@ LEX
- LEX_OUTPUT_ROOT
- LEXLIB
- YACC
--YFLAGS
- build
- build_cpu
- build_vendor
-@@ -903,8 +902,6 @@ LDFLAGS
- LIBS
- CPPFLAGS
- CPP
--YACC
--YFLAGS
- CXX
- CXXFLAGS
- CCC
-@@ -1522,11 +1519,6 @@ Some influential environment variables:
- CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
- you have headers in a nonstandard directory <include dir>
- CPP C preprocessor
-- YACC The `Yet Another C Compiler' implementation to use. Defaults to
-- the first program found out of: `bison -y', `byacc', `yacc'.
-- YFLAGS The list of arguments that will be passed by default to $YACC.
-- This script will default YFLAGS to the empty string to avoid a
-- default value of `-d' given by some make applications.
- CXX C++ compiler command
- CXXFLAGS C++ compiler flags
- CXXCPP C++ preprocessor
-@@ -4101,7 +4093,7 @@ if test -z "${ac_cv_prog_LEX}" ; then
- echo "$as_me: error: Build requires flex or lex lexical analyzer generator" >&2;}
- { (exit 1); exit 1; }; }
- fi
--for ac_prog in 'bison -y' byacc
-+for ac_prog in 'bison -y' byacc yacc
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
-@@ -4142,13 +4134,7 @@ fi
-
- test -n "$YACC" && break
- done
--test -n "$YACC" || YACC="yacc"
-
--if test -z "${ac_cv_prog_YACC}" ; then
-- { { echo "$as_me:$LINENO: error: Build requires bison, byacc or yacc parser generator" >&5
--echo "$as_me: error: Build requires bison, byacc or yacc parser generator" >&2;}
-- { (exit 1); exit 1; }; }
--fi
- # Find a good install program. We prefer a C program (faster),
- # so one script is as good as another. But avoid the broken or
- # incompatible versions:
-@@ -22928,7 +22914,6 @@ LEX!$LEX$ac_delim
- LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
- LEXLIB!$LEXLIB$ac_delim
- YACC!$YACC$ac_delim
--YFLAGS!$YFLAGS$ac_delim
- build!$build$ac_delim
- build_cpu!$build_cpu$ac_delim
- build_vendor!$build_vendor$ac_delim
-@@ -22938,6 +22923,7 @@ host_cpu!$host_cpu$ac_delim
- host_vendor!$host_vendor$ac_delim
- host_os!$host_os$ac_delim
- SED!$SED$ac_delim
-+GREP!$GREP$ac_delim
- _ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
-@@ -22979,7 +22965,6 @@ _ACEOF
- ac_delim='%!_!# '
- for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
--GREP!$GREP$ac_delim
- EGREP!$EGREP$ac_delim
- LN_S!$LN_S$ac_delim
- ECHO!$ECHO$ac_delim
-@@ -23010,7 +22995,7 @@ LIBOBJS!$LIBOBJS$ac_delim
- LTLIBOBJS!$LTLIBOBJS$ac_delim
- _ACEOF
-
-- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 29; then
-+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 28; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5