aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LEGAL1
-rw-r--r--benchmarks/netio/Makefile7
2 files changed, 6 insertions, 2 deletions
diff --git a/LEGAL b/LEGAL
index c362bd9d09f4..04400d3aa12f 100644
--- a/LEGAL
+++ b/LEGAL
@@ -244,3 +244,4 @@ namd-* science/namd No commercial use: commercial use requires a commercial l
vmd-* science/vmd No commercial use: commercial use requires a commercial license
msms-* science/msms No commercial use, only for use by individuals in scientific research
unifi-devel-* net-mgmt/unifi-devel License restrictions, see https://www.ubnt.com/eula/
+netio* benchmarks/netio No commercial use: commercial use requires a commercial license
diff --git a/benchmarks/netio/Makefile b/benchmarks/netio/Makefile
index 22fc600736d6..586ae359fd90 100644
--- a/benchmarks/netio/Makefile
+++ b/benchmarks/netio/Makefile
@@ -12,11 +12,14 @@ MAINTAINER= arved@FreeBSD.org
COMMENT= Network benchmark
USES= dos2unix gmake zip
-DOS2UNIX_FILES= Makefile netio.c
+LICENSE_PERMS=no-pkg-mirror
+RESTRICTED= Usage permitted for non-commercial purposes only
+NO_CDROM= Sale for profit is not permitted
+
+DOS2UNIX_FILES= Makefile netio.c
NO_WRKSUBDIR= yes
PLIST_FILES= bin/netio
-
CFLAGS+= -DUNIX -DSOCKLEN_T
LIBS+= -pthread
MAKE_ENV= OUT=-o