git: a3266ba2697a - main - pkgbase: Create a FreeBSD-dwatch package

Emmanuel Vadot manu at FreeBSD.org
Tue Sep 7 09:52:02 UTC 2021


The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=a3266ba2697a383d2ede56803320d941866c7e76

commit a3266ba2697a383d2ede56803320d941866c7e76
Author:     Emmanuel Vadot <manu at FreeBSD.org>
AuthorDate: 2021-09-01 17:38:40 +0000
Commit:     Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-09-07 08:20:40 +0000

    pkgbase: Create a FreeBSD-dwatch package
    
    While dwatch is useful some users might not want it by default.
    Create a package for it.
    
    Differential Revision:  https://reviews.freebsd.org/D31796
---
 cddl/usr.sbin/dwatch/Makefile          | 2 ++
 cddl/usr.sbin/dwatch/examples/Makefile | 1 +
 cddl/usr.sbin/dwatch/libexec/Makefile  | 1 +
 release/packages/Makefile.package      | 2 ++
 4 files changed, 6 insertions(+)

diff --git a/cddl/usr.sbin/dwatch/Makefile b/cddl/usr.sbin/dwatch/Makefile
index 647f07388890..aa2873ec4681 100644
--- a/cddl/usr.sbin/dwatch/Makefile
+++ b/cddl/usr.sbin/dwatch/Makefile
@@ -2,6 +2,8 @@
 
 .include <src.opts.mk>
 
+PACKAGE=	dwatch
+
 SUBDIR= libexec
 
 .if ${MK_EXAMPLES} != "no"
diff --git a/cddl/usr.sbin/dwatch/examples/Makefile b/cddl/usr.sbin/dwatch/examples/Makefile
index 33364044942f..344d67d27ec8 100644
--- a/cddl/usr.sbin/dwatch/examples/Makefile
+++ b/cddl/usr.sbin/dwatch/examples/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	dwatch
 FILESDIR=	${SHAREDIR}/examples/dwatch
 FILES=		profile_template
 
diff --git a/cddl/usr.sbin/dwatch/libexec/Makefile b/cddl/usr.sbin/dwatch/libexec/Makefile
index d84fc370519b..581556eeebd0 100644
--- a/cddl/usr.sbin/dwatch/libexec/Makefile
+++ b/cddl/usr.sbin/dwatch/libexec/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	dwatch
 FILESDIR=	${LIBEXECDIR}/dwatch
 FILES=		chmod \
 		errno \
diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index b5957f8d5b53..04c8ef0536f0 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -38,6 +38,8 @@ docs_COMMENT= 		Documentation
 docs_DESC= 		Documentation
 dtrace_COMMENT=		Dtrace Utilities
 dtrace_DESC=		Dtrace Utilities
+dwatch_COMMENT=		Dwatch Utilities
+dwatch_DESC=		Dwatch Utilities
 ee_COMMENT= 		Easy Editor Utilities
 ee_DESC= 		Easy Editor Utilities
 gdb_COMMENT= 		GDB Utilities


More information about the dev-commits-src-main mailing list