Commit graph

41 commits

Author SHA1 Message Date
markd
65c0a12d0f Fix build with gcc 4.6 2012-03-10 22:05:03 +00:00
markd
97aba7987e Fix build with gcc4.5 2011-01-29 22:16:51 +00:00
shattered
a01f007099 Remove patch hunks that disable --recheck in GNU configure scripts.
These were generated, apparently, by mk/configure/gnu-configure.mk
(configure-scripts-override target).
2011-01-25 22:22:13 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
minskim
15dc7c633b ns uses C99 features. 2009-01-06 04:43:23 +00:00
joerg
5a4adabfe7 Fix modular Xorg. Add DESTDIR support. 2008-10-02 18:08:19 +00:00
minskim
12a33a655c 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
2008-09-18 04:48:12 +00:00
minskim
24d9313e62 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.
2007-04-26 16:11:50 +00:00
rillig
2829e658f2 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.
2007-01-07 09:13:46 +00:00
minskim
8c01a948c9 Update HOMEPAGE. 2006-08-23 10:28:06 +00:00
minskim
95e63cdd3a Update ns to 2.29.3. Better support for x86_64 and gcc 4.1. 2006-08-23 10:20:35 +00:00
reed
5abef9be14 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).
2006-04-06 06:21:32 +00:00
minskim
81f5231e4f This package needs tcl>=8.4.12nb1 and tk>=8.4.12nb2 to build. 2006-02-23 23:37:47 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
minskim
aad2643a57 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.
2006-01-27 02:31:43 +00:00
rillig
b71a1d488b 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
2005-12-05 20:49:47 +00:00
minskim
e59720c00e Define BIOCIMMEDIATE for Darwin. Patch from darwinports. 2005-09-08 17:20:17 +00:00
minskim
ad601444a6 Make this package compile with gcc-4 by initializing const static data
members outside their class.
2005-09-08 17:19:13 +00:00
minskim
25aeea90f3 Update ns to 2.28.
Changes:
  - Added code for mac802.15.4.
  - Improve Cygwin compatibility.
  - Bug fixes.
2005-09-08 02:50:58 +00:00
jlam
3e474a90d8 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.
2005-07-16 01:19:06 +00:00
jlam
95fd1f6ec9 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.
2005-06-01 18:02:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
tv
c487cb967a 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.
2004-10-03 00:12:51 +00:00
seb
35a6a17aae 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.
2004-04-11 09:31:13 +00:00
minskim
878d47efe7 Switch to Tk 8.4. No PKGREVISION bump because this package doesn't
build with tk-8.3.
2004-03-09 23:06:59 +00:00
minskim
a4694e81d1 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
  <sayenko@cc.jyu.fi>)
  - Added list-based improvement to ns-2. Code contributed by Valerie
  Naoumuv (naoumov@inf.ethz.ch). 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 <koepke@ee.tu-berlin.de> 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:singal@nunki.usc.edu">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 <singal@nunki.usc.edu> 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.
2004-03-08 23:55:23 +00:00
minskim
2827f5b2d8 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.
2004-03-08 20:27:13 +00:00
wiz
495843be7a Remove unnecessary inclusion of bsd.prefs.mk. 2004-01-25 17:32:45 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jlam
070ddd8a0f 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.
2003-10-06 11:02:43 +00:00
seb
1a67402f7c Fix patch-af so Debian Linux's patch can apply it.
Provided in PR pkg/22665 by Min Sik Kim <minskim at bawi dot org>.

While here fix signature of patch-al.
2003-09-03 13:42:44 +00:00
seb
d9ddb15eab 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.
2003-09-01 18:21:12 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
e366d0c694 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.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
seb
cf088189b3 As the comment says it perl is only needed if you want to run the validation
tests. So remove the need for perl.
2002-08-28 11:32:52 +00:00
seb
991ea0687f Renamed otcl -> tcl-otcl and tclcl -> tcl-tclcl. 2002-08-28 10:09:54 +00:00
seb
4099912ff3 Initial import of ns, version 2.1rc9a, into the NetBSD Packages Collection.
Based on package submitted by Jan Schaumann <jschauma@cs.stevens-tech.edu>
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.
2002-08-27 08:07:06 +00:00