Skip to content

Commit

Permalink
pkgbase: Create a FreeBSD-mtree package
Browse files Browse the repository at this point in the history
And put the mtree binary and files in it.
Useful to create small mfsroot using /etc/rc.d/var without
having to install FreeBSD-utilities.

MFC after:	2 weeks
Sponsored by:	Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D33442

(cherry picked from commit dcf9d46)
  • Loading branch information
evadot committed Jan 5, 2022
1 parent d9a4b7b commit 317c92d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/mtree/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

.include <src.opts.mk>

PACKAGE= mtree

# NOTE: BSD.debug.dist is unconditionally installed for developer ease-of-use.
FILES= \
BSD.debug.dist \
Expand Down
2 changes: 2 additions & 0 deletions release/packages/Makefile.package
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ manuals_COMMENT= Manual Pages
manuals_DESC= Manual Pages
mlx-tools_COMMENT= Mellanox Utilities
mlx-tools_DESC= Mellanox Utilities
mtree_COMMENT= MTREE Files
mtree_DESC= MTREE Files
nfs_COMMENT= NFS Utilities
nfs_DESC= NFS Utilities
openssl_COMMENT= OpenSSL Library and Utility
Expand Down
2 changes: 2 additions & 0 deletions usr.sbin/nmtree/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

.PATH: ${SRCTOP}/contrib/mtree

PACKAGE= mtree

PROG= mtree
MAN= mtree.5 mtree.8
SRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \
Expand Down

0 comments on commit 317c92d

Please sign in to comment.