Commit Graph

50 Commits

Author SHA1 Message Date
Serhii (Sergey) Kozlov 58509eae5b benchmarks/netperf: Fix build with clang 11 and gcc 10
Tested using poudriere on 11.3, 12.1, 13.0

PR:		249227
Reported by:	Krzysztof Galazka
Approved by:	build fix (blanket)
Sponsored by:	Intel
2020-09-15 15:55:42 +00:00
Marius Strobl d1e482d908 Add and use a shared INFO description. I have patches to add that knob to
a bunch of additional ports.
2019-12-27 19:24:56 +00:00
Baptiste Daroussin 941dd191d2 Drop the ipv6 virtual category for b* category as it is not relevant anymore 2019-10-09 10:23:14 +00:00
Marius Strobl 66d5708670 Turn installation of netperf.info into an option (default-on but allowing
to get rid of the texinfo dependency).
2019-04-09 20:03:34 +00:00
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00
Marius Strobl de35f156ca Given that the netperf project hasn't rolled a release in quite some time,
switch to snapshots directly obtained from the github repository (currently
at version 2.7.1). Generally, there aren't that many changes since the 2.7.0
release version of netperf, the most noteworthy changes are in the area of
FreeBSD support, though:
- FreeBSD-specific code for letting netperf/netserver bind to CPUs, e. g.
  via the global "-T" option, has been added.
- The nettest_bsd back-end now can take advantage of aio(4) via the newly
  added test-specific "-a" and "-A" options, which in turn allows zero-copy
  send and receive with e. g. cxgbe(4). Note that this requires the netperf
  port to be built with its default-on OMNI option disabled, as otherwise
  the nettest_omni back-end and the migration to it from legacy back-ends
  (also the upstream default since netperf 2.5.0) will be used instead.

Apart from that, some test scripts missing in the published releases but
referenced by test scripts already part of e. g. netperf 2.7.0 are now
included.
2018-03-04 19:50:05 +00:00
Mathieu Arnold c8fb02ae31 Options are already optional.
Sponsored by:	Absolight
2018-01-19 17:04:52 +00:00
Baptiste Daroussin 44b7482c8b Remove dead links from MASTER_SITES or WWW 2017-10-13 08:21:36 +00:00
Marius Strobl 4cd4a90906 - Update to 2.7.0.
- Add an EXAMPLES knob.
- Unbreak CPU utilization measurement support for FreeBSD >= 10 [1], unbreak
  SCTP support for FreeBSD >= 10.

PR:	203752 [1]
2015-10-20 20:43:43 +00:00
Mathieu Arnold bb271f0bf7 Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3412?
2015-08-19 13:29:59 +00:00
Marius Strobl 5b76ab1a69 Enable OMNI by default; this matches what vanilla netperf does since
version 2.5 and restores bidirectional compatibility with other OS
distributions following suit.

PR:		197137
2015-01-27 22:56:14 +00:00
Bryan Drewery 1d45475530 - Fix check-plist by adding missing netperf.info file 2014-08-11 21:03:49 +00:00
Baptiste Daroussin c2fd956bf1 Support stage 2014-01-05 01:31:09 +00:00
Baptiste Daroussin 0f0eb50c1e Add NO_STAGE all over the place in preparation for the staging support (cat: benchmarks) 2013-09-20 15:52:44 +00:00
Marius Strobl e6a2ed54c5 - Given that we always build netperf with --enable-demo, remove an
irritating remark from the manual page suggesting it hasn't been.
- Grab

Approved by:	bapt (mentor)
2013-01-30 22:10:17 +00:00
Pawel Pekala 803a57e552 - Fix build with clang [1]
- Use standard header
- Convert spaces to tabs in options and descriptions
- Spelling fixes in pkg-descr

PR:		ports/174887 [1]
Reported by:	Garrett Cooper <yanegomi@gmail.com> [1]
2013-01-02 22:47:32 +00:00
Munechika SUMIKAWA e91b181ec0 - Update to use OPTIONSNG
- Trim Makefile header
- Drop my maintainership

PR:		ports/173547
Submitted by:	edward
Feature safe:	yes
2012-11-12 02:39:40 +00:00
Munechika SUMIKAWA 552671c493 Upgrade to 2.6.0 2012-08-24 02:29:12 +00:00
Munechika SUMIKAWA db38baefd0 1) Add OPTIONS support for:
- SOCKETS - Unix domain socket support and tests
- SCTP - Stream Control Transmission Protocol support and tests
- EXS - ICSC async socket support
- HISTOGRAM - Optional histogram output
- OMNI - Enable OMNI tests

2) Patch to $WRKSRC/configure which fixes CPU measurement and ROUTE
lookup routines in netperf, which result in this output:
-------------
checking which CPU utilization measurement type to use... "none.
Consider teaching configure about your platform."
checking which route lookup type to use... "none. Consider teaching
configure about your platform."
--------------

3) Add to default configure_args

--enable-dirty
--enable-demo
--enable-burst
--enable-intervals

Note: these just add additional command arguments and options, and are
not globally enabled in netperf so wont affect existing users/tests.

Submitted by:	koobs (No email address by the request)
2012-05-15 06:47:10 +00:00
Munechika SUMIKAWA 465c42effe Make UDP_STREAM work on IPv6 by transmitting and extracting IPv6
addresses correctly.  Otherwise bind(2) calls will fail, etc.

Submitted by: bz
2012-01-27 03:26:36 +00:00
Munechika SUMIKAWA a2e88255c3 Upgrade to 2.5.0. 2011-07-20 03:51:02 +00:00
Munechika SUMIKAWA aed75c36dd Upgrade to 2.4.5. 2009-06-16 06:41:57 +00:00
Munechika SUMIKAWA d189315c6d Upgrade to 2.4.4. 2008-03-03 04:55:32 +00:00
Munechika SUMIKAWA d830a9266b Fix pkg-plist. 2006-11-20 04:01:52 +00:00
Munechika SUMIKAWA 6163f319e9 Fix plist. 2006-11-15 01:41:48 +00:00
Munechika SUMIKAWA ab9f89b62e Upgrade to 2.4.2. 2006-11-09 04:49:25 +00:00
Joseph Koshy 3cd8f9089f Turn off -DHISTOGRAM as it introduces considerable overhead. Bump portrevision.
Noticed by:	rwatson
Approved by:	sumikawa [MAINTAINER]
2005-10-14 03:33:07 +00:00
Munechika SUMIKAWA 9fc8308b46 Upgrade to 2.3pl1. 2004-11-18 23:37:41 +00:00
Munechika SUMIKAWA 3676196422 Upgrade to 2.2pl4. 2004-03-29 16:32:45 +00:00
Sergey A. Osokin f37f7775e3 Make portlint(1) happy by changing strip to ${STRIP_CMD}
Submitted by:	Oleg Karachevtsev <ok@etrust.ru>
PR:		56998
2003-09-24 09:37:11 +00:00
Ade Lovett 7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Munechika SUMIKAWA a44999a297 Upgrade to 2.2pl3. 2003-02-22 08:35:31 +00:00
Munechika SUMIKAWA 9e8b88f9f1 Fix typo in patch-makefile. IPv6 was not enabled. 2003-01-21 01:14:06 +00:00
Munechika SUMIKAWA 460580a8a4 Upgrade to 2.2pl2. Almost of IPv6 patch was merged but netperf still
barks with -DDO_1644.
2003-01-21 01:02:54 +00:00
Munechika SUMIKAWA 982548719b I'll take over this port. 2001-12-17 17:37:30 +00:00
Munechika SUMIKAWA 7d2bd88b96 Upgrade to latest IPv6 patch. fix the error with -DDO1644. 2001-03-02 09:02:39 +00:00
Peter Pentchev 7e2c7638bf Add a MASTER_SITE_SUBDIR to unbreak fetching.
The checksum had also changed, but it seems only the tarball was rerolled -
a comparison against an 'old' archive from ftp.freebsd.org showed no
differences in content.

PR:		23858
Submitted by:	David W. Chapman Jr. <dwcjr@inethouston.net>
2000-12-26 18:25:29 +00:00
Bill Fenner 947534f12d Add checksum for IPv6 patch. (Forgotten-by: kris)
Remove myself as MAINTAINER.
2000-12-20 22:26:22 +00:00
Kris Kennaway 5037c77af0 Add ipv6 to categories 2000-09-09 09:54:49 +00:00
Michael Haro a0cb9ec98b update with the new PORTNAME/PORTVERSION variables 2000-04-08 22:04:57 +00:00
Bill Fenner 0b047e6895 Include RFC1644 tests. (ports/11581)
Allow ${PREFIX} setting. (ports/12213)
Clean up makefile a smidge.

PR:		ports/11581 and ports/12213
Submitted by:	Martin Kammerhofer dada@sbox.tu-graz.ac.at
	    and Nick Hibma nick.hibma@jrc.it
1999-09-08 23:06:01 +00:00
Michael Haro 2262dde3ac gzip -> ${GZIP_CMD}
gzip -d  -> ${GUNZIP_CMD}
gzip -dc -> ${GZCAT}
gunzip   -> ${GUNZIP_CMD}
1999-09-04 23:39:29 +00:00
David E. O'Brien fe1e09a6cc Change Id->FreeBSD. 1999-08-25 04:58:03 +00:00
Paul Traina 60cb883c9f Install manpages with good permissions. 1997-08-17 17:47:24 +00:00
Bill Fenner d4e995a817 Update to 2.1pl3
Found by:	distfile checker
1997-07-27 20:56:06 +00:00
Bill Fenner 5a5abdd89e Upgrade to 2.1pl2 1997-05-28 05:48:48 +00:00
David E. O'Brien ef75a40328 mkdir --> ${MKDIR}
cp    --> ${CP}
rm    --> ${RM}
1996-11-20 01:59:27 +00:00
Satoshi Asami 300c45cf2e Use MAN? macros. CATEGORIES+= -> CATEGORIES. 1996-11-18 11:44:27 +00:00
Satoshi Asami 8cb1c3514f Maintainer goes in a section of its own. 1996-08-04 08:46:07 +00:00
Paul Traina 1472849a6e Re-import netperf package under benchmarks.
Requested by: asami
1996-08-03 19:51:05 +00:00