aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2023-01-27 14:45:44 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2023-02-08 07:49:28 +0000
commit4c9c296e6378c731b2e7963482c33cfa3da7ef37 (patch)
treea9bda22ee591a3060100b429bcf4e45d17239431
parent1af3908ce6121eb091923b3932fe56ab54656093 (diff)
downloadsrc-4c9c296e6378c731b2e7963482c33cfa3da7ef37.tar.gz
src-4c9c296e6378c731b2e7963482c33cfa3da7ef37.zip
pkgbase: Create a FreeBSD-netmap package
This unbloat FreeBSD-utilities a bit and not everyone uses valectl which is the only in-tree consumer of libnetmap Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D38225
-rw-r--r--lib/libnetmap/Makefile2
-rw-r--r--release/packages/Makefile.package2
-rw-r--r--usr.sbin/valectl/Makefile1
3 files changed, 4 insertions, 1 deletions
diff --git a/lib/libnetmap/Makefile b/lib/libnetmap/Makefile
index 4229180147d3..2cafa4717430 100644
--- a/lib/libnetmap/Makefile
+++ b/lib/libnetmap/Makefile
@@ -4,7 +4,7 @@
.include <src.opts.mk>
-PACKAGE= lib${LIB}
+PACKAGE= netmap
LIB= netmap
SRCS= nmctx.c nmport.c \
nmctx-pthreads.c nmreq.c
diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index 99097d9a46f9..26e1f7e2a14d 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -101,6 +101,8 @@ mlx-tools_COMMENT= Mellanox Utilities
mlx-tools_DESC= Mellanox Utilities
mtree_COMMENT= MTREE Files
mtree_DESC= MTREE Files
+netmap_COMMENT= Netmap Library and Utilities
+netmap_DESC= Netmap Library and Utilities
newsyslog_COMMENT= Newsyslog Utility
newsyslog_DESC= Newsyslog Utility
nfs_COMMENT= NFS Utilities
diff --git a/usr.sbin/valectl/Makefile b/usr.sbin/valectl/Makefile
index f9322fa05047..23060a523160 100644
--- a/usr.sbin/valectl/Makefile
+++ b/usr.sbin/valectl/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE= netmap
PROG= valectl
MAN= valectl.8