summaryrefslogtreecommitdiff
path: root/devel/rpc2
AgeCommit message (Collapse)AuthorFilesLines
2009-06-14Convert @exec/@unexec to @pkgdir or drop it.joerg1-2/+2
2009-06-14Remove @dirrm entries from PLISTsjoerg1-3/+1
2009-05-20Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlibwiz1-1/+2
major change. Reported by Robert Elz in PR 41345.
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2008-06-20Add DESTDIR support.joerg1-1/+3
2008-02-04PR 37952: Aleksey Cheusov: more missed tools in USE_TOOLStnn1-2/+2
2008-01-29Update to 2.7.gdt5-115/+14
* 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.
2007-08-15Update to 2.6.1:gdt2-7/+6
* Error values were not correctly translated.
2007-08-11add empty directory (populated when linked with lua) to PLISTgdt2-4/+6
2007-08-06USE_TOOLS+= yaccgdt1-1/+4
2007-08-06Check for yacc as bison -y, byacc, yacc, rather than the first twogdt4-2/+110
only and defaulting to yacc. This package might need a working yacc in theory, but it doesn't run it.
2007-08-04Update to 2.6gdt4-23/+7
* Fail when configure cannot find a usable LEX or YACC binary. * Fix RetryInterval calculation, we were waiting twice as long as specified. * Make sure RPC2/Coda defined error values do not collide with system errnos. Also, shlib major version changed. patch-aa was merged upstream.
2007-04-12Add missing include/rpc2/secure.h to PLIST.gdt2-3/+5
Fix MASTER_SITES.
2007-04-11Fix test ==.gdt1-0/+13
(Sent upstream already.)
2007-04-11Update to 2.5.gdt3-12/+8
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.
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg2-3/+4
2005-08-15Update to 1.27xtraeme2-8/+7
Changes: * Fixes for LWP-2.0 * Reduced size of the medium packets to 1500. * Explicitly clear the EchoTimestamp when we receive an out-of-order SFTP data packet to avoid sending a stale timestamp value. * Make sure we retransmit at least one packet once we hit EOF so that we can continue to make progress.
2005-07-16Get rid of USE_PERL5. The new way to express needing the Perl executablejlam1-5/+2
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-05-22For packages that use GNU configure, don't bother adding "TOOL"jlam1-2/+1
variables into CONFIGURE_ENV if the new tools framework already takes care of adding them automatically.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-23Add RMD160 digests.agc1-1/+2
2005-01-25Update to the latest version of rpc2. Thanks to Greg Troxel for the fixes.blymn2-6/+5
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-2/+4
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-13/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-04-27Convert to buildlink3.snj3-27/+24
2004-02-14LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globsjlam1-2/+1
relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that are automatically handled by the default setting in bsd.pkg.mk.
2004-01-22replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.grant1-2/+2
2003-08-25update to 1.19drochner4-29/+13
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.
2002-10-07Unused.wiz1-38/+0
2002-08-25Merge changes in packages from the buildlink2 branch that havejlam5-10/+35
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
2002-07-24Change explicit build dependencies on perl into "USE_PERL5=build". Thisjlam1-3/+2
makes these packages build correctly on Darwin where perl>=5.8.0 is required.
2002-06-20Update devel/rpc2 to version 1.13. Changes from version 1.10 include:jlam4-23/+23
* Fixed crash when an expired connection receives a NAK. * Increased lower bound on retransmission time to 300ms. * Removed Linux specific optimization in processing time calculation which made RPC2 clients assume a server can respond faster than it actually does. * Fixed the very infrequent SFTP_SendResponse crash again, hopefully for real this time. * A non-masqueraded rpc2 client wouldn't send out it's SFTP packets through the rpc2 socket when talkin to a masqueraded rpc2-server. This broke backfetches through a firewall. * Added delayed acks, when an RPC2 operation on the server is taking more than 200ms, an unsolicited RPC2_BUSY is sent back to the client to avoid unnecessary retransmissions of the request. * Stricter prototyping for callback functions. * Fixed the very infrequent SFTP_SendResponse crash. * Keeping track of current fd offset in sftp to allow non-multirpc transfers from/to a non-seekable fd (eg. stdout).
2001-11-01Move pkg/ files into package's toplevel directoryzuntum2-1/+1
2001-07-27Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the defaultjlam1-1/+2
installation directory in case the package isn't installed.
2001-07-20Mechanical changes to buildlink.mk files to use EVAL_PREFIX to setjlam1-2/+2
BUILDLINK_PREFIX.<pkgname>. This allows buildlink to find X11BASE packages regardless of whether they were installed before or after xpkgwedge was installed. Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-01Move inclusion of bsd.buildlink.mk to start of file.jlam1-3/+3
2001-06-23Generalize how the dependency pattern may be specified. Instead of justjlam1-4/+5
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify the dependency pattern as FOO_DEPENDS=foo>=1.0. This allows things like JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib. Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-19Set USE_BUILDLINK_ONLY and remove unnecessary config.cache entry to preventjlam1-9/+7
detection of libncurses.
2001-06-11CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, sojlam1-2/+1
adapt by moving CPPFLAGS settings to top-level, and removing explicit inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,jlam1-3/+1
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra definitions to add them from the package Makefiles. As advised by the bsd.buildlink.mk file, also ensure that the buildlink.mk files are included prior to defining any package-specific CFLAGS/LDFLAGS to ensure that the buildlink directories are at the head of the compiler search paths.
2001-06-11Use bsd.buildlink.mk instead of duplicating code all over the place.jlam1-47/+13
2001-06-10Use cookies (.*_done) to determine whether headers and libs have beenjlam1-8/+14
linked from a particular package, and add a pre-configure target to the buildlink.mk file to more painlessly use buildlink.mk files. A ${BUILDLINK_TARGETS} variable still exists in case a package _must_ define NO_CONFIGURE.
2001-06-10Remove dependency on ${BUILDLINK_TARGETS} in pre-configure and pre-buildjlam1-3/+1
targets as the buildlink.mk files now add the dependency automatically. Remove any NO_CONFIGURE definitions as they seem to be useless.
2001-06-09' ' -> '\t'wiz1-2/+2
2001-05-31* Add buildlink.mk file to link appropriate libraries and headers intojlam4-5/+95
${BUILDLINK_INCDIR} and ${BUILDLINK_LIBDIR}, to be used by other packages. * Use buildlink.mk files to get dependencies and to prevent unintended linking against installed libraries or finding installed headers except for those that are explicitly linked into ${BUILDLINK_INCDIR} and ${BUILDLINK_LIBDIR}. * Don't prototype history functions directly, but use <readline/history.h> to pull them in. This allows us to use libedit's readline emulation. * Change from USE_PERL5 to a build dependency on perl -- it's only used to generate a header file during the build.