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 2.7.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0663930380fe
branches:  trunk
changeset: 538134:0663930380fe
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Tue Jan 29 20:50:43 2008 +0000

description:
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:

 devel/rpc2/Makefile         |  11 ++++-
 devel/rpc2/PLIST            |   3 +-
 devel/rpc2/distinfo         |  10 ++---
 devel/rpc2/patches/patch-aa |  16 --------
 devel/rpc2/patches/patch-ab |  89 ---------------------------------------------
 5 files changed, 14 insertions(+), 115 deletions(-)

diffs (172 lines):

diff -r ee63a0f5d821 -r 0663930380fe devel/rpc2/Makefile
--- a/devel/rpc2/Makefile       Tue Jan 29 19:21:06 2008 +0000
+++ b/devel/rpc2/Makefile       Tue Jan 29 20:50:43 2008 +0000
@@ -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 @@
 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 -r ee63a0f5d821 -r 0663930380fe devel/rpc2/PLIST
--- a/devel/rpc2/PLIST  Tue Jan 29 19:21:06 2008 +0000
+++ b/devel/rpc2/PLIST  Tue Jan 29 20:50:43 2008 +0000
@@ -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/sftp.h
 lib/librpc2.la
 lib/libse.la
+lib/pkgconfig/rpc2.pc
 @exec ${MKDIR} %D/share/rpc2
 @dirrm share/rpc2
 @dirrm include/rpc2
diff -r ee63a0f5d821 -r 0663930380fe devel/rpc2/distinfo
--- a/devel/rpc2/distinfo       Tue Jan 29 19:21:06 2008 +0000
+++ b/devel/rpc2/distinfo       Tue Jan 29 20:50:43 2008 +0000
@@ -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 -r ee63a0f5d821 -r 0663930380fe devel/rpc2/patches/patch-aa
--- a/devel/rpc2/patches/patch-aa       Tue Jan 29 19:21:06 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r ee63a0f5d821 -r 0663930380fe devel/rpc2/patches/patch-ab
--- a/devel/rpc2/patches/patch-ab       Tue Jan 29 19:21:06 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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



Home | Main Index | Thread Index | Old Index