From 4c9c296e6378c731b2e7963482c33cfa3da7ef37 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Fri, 27 Jan 2023 15:45:44 +0100 Subject: [PATCH] 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 --- lib/libnetmap/Makefile | 2 +- release/packages/Makefile.package | 2 ++ usr.sbin/valectl/Makefile | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) 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 -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