Commit graph

74 commits

Author SHA1 Message Date
Nuno Teixeira
62f9b2b059 benchmarks/netperf: Move man pages to share/man
Approved by:	portmgr (blanket)
2024-03-02 17:48:25 +00:00
Marius Strobl
3e1f667a34 benchmarks/netperf: Update to 20210121 version
For the most part, this complicates the build, moves the debug log from
/tmp to /var/log and changes debugging to default to off. Also:
- Don't let netserver chmod(2) /dev/null to 644 when debug log is off.
- Take back port.

Approved by:	netchild
2023-04-15 21:01:48 +02:00
Rene Ladan
f34cdb3583 *: reset marius@ ports after safekeeping his commit bit.
With hat:	portmgr-secretary
2023-02-07 20:43:16 +01:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Tobias C. Berner
86b2c5122a benchmarks: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alexey V. Degtyarev
  *  Andreas Kohn <andreas@syndrom23.de>
  *  Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
  *  Andrey Zakhvatov <andy@FreeBSD.org>
  *  Andy Clark <andrewclarkii@gmail.com>
  *  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
  *  Bill Fumerola <billf@chc-chimes.com>
  *  Brad Davis <brd@FreeBSD.org>
  *  Bruce A. Mah <bmah@FreeBSD.org>
  *  Chao Shin <quakelee@cn.freebsd.org>
  *  Danilo Egea Gondolfo <danilo@FreeBSD.org>
  *  David O'Brien (obrien@FreeBSD.org)
  *  David O'Brien (obrien@NUXI.com)
  *  Dima Sivachenko <dima@chg.ru>
  *  Gabriel M. Dutra <0xdutra@gmail.com>
  *  Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Hannes Hauswedell <h2+fbsdports@fsfe.org>
  *  Johannes Dieterich <dieterich@ogolem.org>
  *  Johannes Dieterich <jmd@FreeBSD.org>
  *  Joseph Koshy <jkoshy@FreeBSD.org>
  *  Kris Moore <kmoore@FreeBSD.org>
  *  Lars Eggert <lars@eggert.org>
  *  Mark Pulford <mark@kyne.com.au>
  *  Matthias Fechner <mfechner@FreeBSD.org>
  *  NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
  *  NAKATA Maho <maho@FreeBSD.org>
  *  Oliver Lehmann <oliver@FreeBSD.org>
  *  Pete Fritchman <petef@databits.net>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Radim Kolar
  *  Radim Kolar <hsn@sendmail.cz>
  *  Roman Bogorodskiy <bogorodskiy@inbox.ru>
  *  Scott Flatman <sf@dsinw.com>
  *  Sergey A. Osokin <osa@FreeBSD.org>
  *  Sergey Kandaurov <pluknet@gmail.com>
  *  Sergey Skvortsov <skv@protey.ru>
  *  Slava Shwartsman <slavash@FreeBSD.org>
  *  Stephen Montgomery-Smith <stephen@math.missouri.edu>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Thomas Dreibholz <dreibh@iem.uni-due.de>
  *  Tom Judge <tom@tomjudge.com>
  *  Veniamin Gvozdikov <vg@FreeBSD.org>
  *  Vsevolod Stakhov <vsevolod@FreeBSD.org>
  *  Will Andrews <andrews@technologist.com>
  *  Yen-Ming Lee <leeym@FreeBSD.org>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  arved
  *  asami
  *  dikshie <dikshie@lapi.itb.ac.id>
  *  gnn
  *  ijliao
  *  janos.mohacsi@bsd.hu
  *  jesper@jdn.dk
  *  jmz
  *  koshy
  *  luigi@FreeBSD.org
  *  mharo@FreeBSD.org
  *  mich@freebsdcluster.org
  *  mr
  *  se
  *  shalunov
  *  thierry@pompo.net
  *  trasz <trasz@pin.if.uz.zgora.pl>
  *  uminac

With hat:	portmgr
2022-07-20 16:20:56 +02:00
Li-Wen Hsu
bf4d7aeb0a
benchmarks/netperf: Update WWW 2021-11-17 11:30:07 +08:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
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
Mathieu Arnold
56bf85096c Cleanup patches, category benchmarks
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-27 15:09:11 +00:00
Dmitry Marakasov
1d1f878054 - Fix trailing whitespace in pkg-descrs, categories [a-f]*
Approved by:	portmgr blanket
2016-05-19 10:21:23 +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
Baptiste Daroussin
b9c3a29822 Cleanup plist 2014-10-20 07:03:48 +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
Doug Barton
2b1dacc826 Remove more tags from pkg-descr files fo the form:
- Name
em@i.l

or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
2011-10-24 04:17:37 +00:00
Munechika SUMIKAWA
a2e88255c3 Upgrade to 2.5.0. 2011-07-20 03:51:02 +00:00
Martin Wilke
65e190c0f0 - Get Rid MD5 support
With hat:	portmgr (myself)
2011-03-18 17:59:50 +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
Edwin Groothuis
acd87b4ad8 SHA256ify
Approved by:    krion@
2006-01-22 08:34:46 +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
Munechika SUMIKAWA
ae56725187 Add SIZE.
Submitted by:	trevor
2004-03-18 10:59:01 +00:00
Sergey A. Osokin
dfa723de2f Cosmetic fix: use %%DOCSDIR%% macro.
No functionally changes.

Submitted by:	Oleg Karachevtsev <ok@etrust.ru>
A part of PR:	57992
2003-10-22 09:21:17 +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