Up to [cvs.NetBSD.org] / pkgsrc / net / ns
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: revebump for new brotli option for freetype2 Addresses PR 57693
*: Recursive revbup from graphics/freetype2
*: recursive bump for perl 5.36
*: recursive bump for perl 5.34
*: revbump after fontconfig bl3 changes (libuuid removal)
net/ns: suppress USE_TOOLS+=perl warning
ns: modern compilers fussy about unsigned char
net: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections.
Recursive bumps for fontconfig and libzip dependency changes.
Comment out dead MASTER_SITES/HOMEPAGEs.
Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
Remove USE_X11BASE and X11PREFIX.
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
Fix build with tcl8.6. Bump PKGREVISION
Revbump after updating tcl/tk.
Bump PKGREVISION for libXft changes for NetBSD native X support on NetBSD 6, requested by tron.
Try to fix the fallout caused by the fix for PR pkg/47882. Part 3: Recursively bump package revisions again after the "freetype2" and "fontconfig" handling was fixed.
Bump freetype2 and fontconfig dependencies to current pkgsrc versions, to address issues with NetBSD-6(and earlier)'s fontconfig not being new enough for pango. While doing that, also bump freetype2 dependency to current pkgsrc version. Suggested by tron in PR 47882
Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
PKGREVISION bumps for net/libpcap update.
Update to version 2.35 ns-2.35 Released on Nov 4, 2011 * Provide fixes to the Tmix traffic generator, mainly to the one-way TCP implementation, but some changes to the Full-TCP version as well. Tmix with one-way TCP now performs comparably to Tmix with Full-TCP (albeit with longer running times and higher memory consumption). Includes contributions from David Hayes and DongXia Xu at Swinburne and relevant updates to the documentation and tests. * Add Marcello Caleffi's Multi-path Dynamic Address RouTing (M-DART) protocol. * Add Sidney Doria's Datagram Congestion Control Protocol (DCCP) implementation. * Added the SYN_immediate_ack flag so that a DelAckSink agent will immediately ACK the first (SYN) packet sent by a TcpAgent. The patch contains changes to tcp-sink.{cc,h}, ns-default.tcl, and affected validation tests. All validation tests that use the syn_ in TcpAgent were set to SYN_immediate_ack=false except for the delayed test in test-suite-simple.tcl. * During long simulations (30-60 minutes), ns would sometimes abort with the message "TcpAgent: negative RTO!". The problem was that TcpAgent::t_backoff_ was overflowing and becoming negative, since it was doubled each time a backoff was triggered but maxrto_ prevented the time between doublings from growing beyond 60 seconds. * This patch adds support for using one-way TcpAgents with the Tmix traffic generator, which previously only worked with FullTcp agents. * Protocol for Unified Multicasting Through Announcements (PUMA) has been added. PUMA is a distributed, receiver initiated, mesh based multicast routing protocol. * A new SCTP patch from Nasif Ekiz and the University of Delaware team. * added support for Non-Renegable Selective Acknowledgements (NR-SACK). To enable NR-SACKs, set useNonRenegSacks_ tcl bindable variable to 1 at both the data sender and the data receiver. * Concurrent Multipath Transfer with Potentially Failed(CMT-PF) extension is default now. To use CMT, set useCmtPF tcl bindable variable to 0 at the data sender. * added new feature to support a limited size send buffer at the data receiver. Send buffer size can be specified by setting initialSwnd_ tcl bindable variable to desired value. By default, the variable is set to 0 which means there is no constraint on the send buffer. * congestion window (cwnd) updates are now done as specified at Section 7.2.1, 7.2.2 and 7.2.3 of RFC4960. Also the number of missing reports to trigger fast retransmits is reduced to three as specified in RFC4960. * bug fix. A bug discovered by Eduardo Ribeiro and Igor Gavriloff regarding to memory deallocation is fixed. * new validation tests for NR-SACKs and limited send buffer size are added to the test suite. ns-2.34 Released on June 17, 2009 * bugfix for 802.11Ext model (from Felix-Schmidt-Eisenlohr and team) * mac/wirelessPhyExt: * the power monitor class is responsible to continously track the sum of all reception power values of all frames arriving in parallel and of the noise floor. In the earlier implementation this cumulated power was only decreased in situations where no packet arrived. Otherwise, powers were always further summed up, leading to a wrong setting of this variable, and in consequence, a wrong behavior of physical packet reception calculations. Furthermore, the busy/idle signalling was not correct. * Add AOMDV (On-demand Multipath Distance Vector Routing in Ad Hoc Networks) implementation from Marcello Caleffi * Collection of bug fixes for 802.11Ext model (from Felix-Schmidt-Eisenlohr and team) * mac/mac-802.11Ext: * feedback to higher layers on transmission failure: xmit_failure_data_ is delivered when a unicast packet was finally not sent successfully- corrected NAV update: in case a NAV is active and a new NAV is advertised an updated only occurs in case the new NAV takes longer than the one already running - bugfix: corrected backoff handling when 0 backoff slots are selected:- bugfix: resolved memory leak on broadcast packet transmission- duplicate suppression support: reactivate the feature of duplicate detection on MAC layer as it was done in earlier versions * code cleanup: removed TxTimer_t class * bugfix: ACK frames: explicitly set basic modulation scheme * mac/wirelessPhyExt: * update of modulation table: new threshold values are taken for the different modulation schemes due to newer measurements * bugfix: resched() instead of sched() in PowerMonitor::expire() * code cleanup: removed friend class PowerTimer * code cleanup: updated comment in recordPowerLevel() * new implementation of PowerMonitor (PowerTimer class now obsolete) * clarification of CSThresh variable (see below) * mac/channel.cc: for wirelessPhyExt only: correct calculation of distCST, using PowerMonitorThresh_ as the critical borderline power and including antenna gains. * tools/ranvar.cc: - bugfix: resolved memory leak in Erlang distribution * Bug fixes for 802.11 infrastructure code, posted by Ilango Purushothaman. * Patches for better memory management - use standard C++ lists to maintain AP and client tables, memory leaks fixed in AP scheduling queue * Triggering of handoff in Ad-hoc mode - Bug reported by Mayur - Resolved by adding an if condition for checking the 802.11 mode. * Note: The following traces changed as a result of this, but were verified by Ilango: ./test-all-wireless-infra ./test-all-wireless-infra-mobility ./test-all-wireless-shadowing ./test-all-wireless-lan-aodv ./test-all-wireless-gridkeeper ./test-all-wireless-lan-newnode * Import Tmix synthetic Internet traffic generation tool * Disable string literal warning for gcc version > 4.2
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
WRKSRC should use PKGNAME_NOREV.
tcl 8.4 -> 8.5 (is probably not enough to make the package build)
Recursive PKGREVISION bump for tcl and tk upgrade to 8.5.12
Pullup ticket #2663 - requested by minskim ns: build fix Revisions pulled up: - net/ns/Makefile 1.32 --- Module Name: pkgsrc Committed By: minskim Date: Tue Jan 6 04:43:23 UTC 2009 Modified Files: pkgsrc/net/ns: Makefile Log Message: ns uses C99 features.
ns uses C99 features.
Fix modular Xorg. Add DESTDIR support.
Update ns to 2.33. This version contains many new modules, especially wireless network models, and bug fixes. Changes since 2.31: Wireless shadowing bug fix; originally reported by Marcello Caleffi; suggestion from Nicola Baldo applied AODV bug fix from Marco Fiore Add dynamic libraries patch from SIGNET group, University of Padova Add 80211Ext models from Mercedes-Benz/Karlsruhe team Add Ilango Purushothaman's 802.11 infrastructure mode support. Add ns-2 TCP Linux patch and calendar scheduler improvements. Enable Tk for ns-2. Several changes to SCTP module, contributed by Nasif Ekiz and Protocol Engineering Lab at the University of Delaware
Update ns to 2.31. Major Changes: - Several changes to WPAN module. - Several changes to allow ns to compile on Solaris with the Sun C compiler. - Significant change to PackMime-HTTP HTTP/1.1 behavior. - Updated SCTP implementation. - corrected sendpacket() signature. - Major XCP cleanup. - Minor changes to TCP. - TFRC changes. - Adding DelayBox and PackMimeHTTP modules.
Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein.
Update HOMEPAGE.
Update ns to 2.29.3. Better support for x86_64 and gcc 4.1.
Over 1200 files touched but no revisions bumped :) 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).
This package needs tcl>=8.4.12nb1 and tk>=8.4.12nb2 to build.
Recursive revision bump / recommended bump for gettext ABI change.
Update ns to 2.29. Changes: - updated SCTP implementation. - added new retransmission policy for sending fast retransmissions to the same destination and timeout retransmissions to an alternate destination - added experimental feature: changePrimaryThresh_ sets a threshold for when the primary destination is changed automatically - added the ability to specify one of three dormant state actions - added the ability to track the number of times fast retransmit, multiple fast retransmit, and timeouts are invoked - new TCL bindable variables: initial RTO, min RTO, max RTO, fast rtx trigger, and sack delay - bug fixes.
Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Update ns to 2.28. Changes: - Added code for mac802.15.4. - Improve Cygwin compatibility. - Bug fixes.
Get rid of USE_PERL5. The new way to express needing the Perl executable 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.
Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 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.
Hack to fix build with threaded Tcl package: at configure time snarf the value of TCL_LIBS in tclConfig.sh and pass it down to configure/make via LIBS as a configure argument.
Switch to Tk 8.4. No PKGREVISION bump because this package doesn't build with tk-8.3.
Update ns to 2.27 and take maintainership. Changes: - Changed list-based improvement to allow changing of channels. Previously only a single (static) list of nodes maintained. Now list of nodes maintained for each channel. Maybe extended for mobilenodes with multiple netif (talking to multiple channels) once the multiple netif support is in place. - Added validation test-suite for RNG in ns. - Added modified version of setdest from U. of Michigan. Also added an argument to setdest API that defines the version of setdest being used. - Change the name of dumbPolicy to nullPolicy for consistency with diffserv documentations (suggested by Alexander Sayenko <[email protected]>) - Added list-based improvement to ns-2. Code contributed by Valerie Naoumuv ([email protected]). The improvement involves maintaining a doubly-linked list to organise mobilenodes based on their X-coordinates. When sending a packet only those neighbor nodes are considered who are within a circle corresponding to the carrier-sense threshold energy level, below which a node cannot hear the packet. Improvement on original version where all nodes in topology is considered. considerable gain in run-time performance- goes down by about 4 to 20 times, depending on the size of the topology. The larger the topology and greater the no of nodes, greater the improvement seen with the list-based implementation. Pl see relevant papaer "simulation of large adhoc networks", appeared at MSWiM'03, san diego, USA for details. - Added script <color-event.pl> that takes event/color pairs and colors pkts in nam output files in order to highlight nam events. - Modified ns to build with tcl/tk8.4 and new otcl/tclcl (release pending). - Diffusion documentation added to ns-manual. - Diffusion changes made includes (1)Added tcl example scripts for 2 phase-pull, push, 1 phase-pull and gear (with push and 2pp) scenarios. For gear and other node-position dependent routing in diffusion, need to have a callback to update node positions. since the routing filter (like gear) is init'ed before node positions are assigned gear doesn't get the correct node positions, hence the callback is required. callback would also be reqd to support node movements in diffusion in future. For now start gear filters (in tcl scripts) after node positions are assigned to nodes. This will go away once callbacks are implemented. (2)Added fix suggested by Andreas Koepke <[email protected]> for overflow problem in lib/main/tools.cc - Added worm model to support simulations of Internet worm attacks. This model supports different abstract levels in simulations. It simulates a detailed sub-network at packet level, and the rest of the Internet with an analytical model (SIR). It supports two worm scanning behaviors: random and local-preferred. - Added event tracing function for simple-mac and 802.11. It was contributed by <a href="mailto:[email protected]">Sushmita</a> to support wireless animations. - Added directory for nam animations under ns/tcl/edu. Each subdirecotry contains on animation, including short description, simulation script, trace file, and nam trace. These animations are ready to use in classroom. The current three animations are contributed by Sushmita <[email protected]> as the outcome of her directed research project. - Integrated support for infrastructure mode in 802.11 MAC. The code was was written by Mike Moreton - Fixed bug (reported by Fred Stann) in diffusion3 that caused overflow while reading time ( > 2147 sec). - New module Delayer for introducing delay variation and channel allocation delay. This is useful for modeling the effects of wireless links. Validation tests in "./test-all-links". Code contributed by Andrei Gurtov. - Ported SCTP into ns-2. It was actually ported into ns-2.26 by Armando L. Caro Jr. <acaro@@cis.udel.edu> and his group at PEL, Univ of delaware. The implementation includes a test-suite-sctp and doc for sctp (see chapter on SCTP in ns-manual). - Added APIs for diffusion filters to node-config command. See tcl/ex/diffusion3 for examples. Also changed UIDs in common pkt hdr. It now reflects pkt_num_ as in diffusion message hdr. - Adding ts_resetRTO_ to TCP to control whether or not a timestamp-enabled sender unbacks a backed-off RTO after making a valid RTT measurement from an acknowledged, retransmitted packet. Validation tests are in "./test-all-tcpOptions" in "tcl/test": "./test-all-tcpOptions timeouts_sack2" (with ts_resetRTO_ true) "./test-all-tcpOptions timeouts_sack3" (with ts_resetRTO_ false). The suggestion and initial code for this change are from Andrei Gurtov. Also adding exitFastRetrans_ to TCP, to fix a problem with clean exits from Fast Recovery. Set to false for the old buggy behavior, or set to true for the new good behavior. The default is true. "./test-all-tcpOptions timeouts_reno_noexitFR" shows the old behavior, and: "./test-all-tcpOptions timeouts_reno" shows the fixed new behavior. The problem was that data was sent in response to dup acks even after Fast Recovery was over. From a bug report by Andrei Gurtov. - Improved portability for C++ namespaces (required for gcc-3.2 where the standard C++ libraries like iostream are in namespace stl only). - Added trace support for smac. The "mactype" info stored in simulator is used to trace data as well as mac pkts (smac or 802.11). - Ported diffusion3.2.0 into ns. A lot of changes: all applications re-categorized under gear, ping and rmst. Filters have a separate dir. gradient now replaced with one-and two-phase-pull-filter under filter_core. - Changed the defaults for Agent/TCP/Newreno's newreno_changes1_ and partial_window_deflation_ to "1", to reflect RFC 2582. - Adding avoidReordering_ to DelayLink, set to true to avoid reordering when changing link bandwidth or delay. The code was contributed by Andrei Gurtov, and the validation test is in ./test-all-links in the directory tcl/test. The default is for avoidReordering_ to be false, for no change in past behavior.
Enable tk84 and replace x11/tk with x11/tk83. Packages compatible with 8.4 will be updated to depend on x11/tk after Tk update.
Remove unnecessary inclusion of bsd.prefs.mk.
Move WRKSRC definition away from the first paragraph in a Makefile.
Don't force install owner:group to be bin:bin. Fix from PR 22823 by Min Sik Kim <minskim at bawi dot org>. Bump PKGREVISION to 1.
Update to version 2.26. Lots of changes and bug fixes since last packaged version, see installed $PREFIX/share/doc/html/ns/CHANGES.html. Provided in PR pkg/22633 by Min Sik Kim <minskim at bawi dot org>. Minor tuning by myself.
s/netbsd.org/NetBSD.org/
Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages. Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
Dependency bumps, needed because of devel/pth's major bump, and related dependency bumps.
Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.
As the comment says it perl is only needed if you want to run the validation tests. So remove the need for perl.
Renamed otcl -> tcl-otcl and tclcl -> tcl-tclcl.
Initial import of ns, version 2.1rc9a, into the NetBSD Packages Collection.
Based on package submitted by Jan Schaumann <[email protected]>
in PR pkg/16301.
NS is a discrete event simulator targeted at networking research.
Ns provides substantial support for simulation of TCP, routing, and multicast
protocols.
Initial revision