pkgbase: Put ufs related tools and lib in their own package

It's not really useful in a jail or in a mdroot or even if a users
wants to do a full zfs machine.

Reviewed by:	mckusick
Differential Revision:	https://reviews.freebsd.org/D36227
This commit is contained in:
Emmanuel Vadot 2022-07-22 13:22:29 +02:00
parent a099694ecd
commit a7ffc94849
15 changed files with 16 additions and 12 deletions

View File

@ -1,6 +1,6 @@
# $FreeBSD$ # $FreeBSD$
PACKAGE= runtime PACKAGE= ufs
LIB= ufs LIB= ufs
SHLIBDIR?= /lib SHLIBDIR?= /lib
SHLIB_MAJOR= 7 SHLIB_MAJOR= 7

View File

@ -136,6 +136,8 @@ telnet_COMMENT= Telnet client
telnet_DESC= Telnet client telnet_DESC= Telnet client
tests_COMMENT= Test Suite tests_COMMENT= Test Suite
tests_DESC= Test Suite tests_DESC= Test Suite
ufs_COMMENT= UFS Libraries and Utilities
ufs_DESC= UFS Libraries and Utilities
unbound_COMMENT= Unbound DNS Resolver unbound_COMMENT= Unbound DNS Resolver
unbound_DESC= Unbound DNS Resolver unbound_DESC= Unbound DNS Resolver
utilities_COMMENT= Non-vital programs and libraries utilities_COMMENT= Non-vital programs and libraries

View File

@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/5/93 # @(#)Makefile 8.1 (Berkeley) 6/5/93
# $FreeBSD$ # $FreeBSD$
PACKAGE=runtime PACKAGE=ufs
PROG= clri PROG= clri
MAN= clri.8 MAN= clri.8
LIBADD= ufs LIBADD= ufs

View File

@ -13,7 +13,7 @@
# DEBUG use local directory to find ddate and dumpdates # DEBUG use local directory to find ddate and dumpdates
# TDEBUG trace out the process forking # TDEBUG trace out the process forking
PACKAGE=runtime PACKAGE=ufs
PROG= dump PROG= dump
CONFS= /dev/null CONFS= /dev/null
CONFSGRP= operator CONFSGRP= operator

View File

@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/5/93 # @(#)Makefile 8.1 (Berkeley) 6/5/93
# $FreeBSD$ # $FreeBSD$
PACKAGE=runtime PACKAGE=ufs
PROG= dumpfs PROG= dumpfs
WARNS?= 2 WARNS?= 2
LIBADD= ufs LIBADD= ufs

View File

@ -7,7 +7,7 @@
GROWFS= ${.CURDIR:H}/growfs GROWFS= ${.CURDIR:H}/growfs
.PATH: ${GROWFS} .PATH: ${GROWFS}
PACKAGE=runtime PACKAGE=ufs
PROG= ffsinfo PROG= ffsinfo
SRCS= ffsinfo.c debug.c SRCS= ffsinfo.c debug.c
MAN= ffsinfo.8 MAN= ffsinfo.8

View File

@ -1,7 +1,7 @@
# $FreeBSD$ # $FreeBSD$
# @(#)Makefile 8.2 (Berkeley) 4/27/95 # @(#)Makefile 8.2 (Berkeley) 4/27/95
PACKAGE=runtime PACKAGE=ufs
PROG= fsck_ffs PROG= fsck_ffs
LINKS+= ${BINDIR}/fsck_ffs ${BINDIR}/fsck_ufs LINKS+= ${BINDIR}/fsck_ffs ${BINDIR}/fsck_ufs
LINKS+= ${BINDIR}/fsck_ffs ${BINDIR}/fsck_4.2bsd LINKS+= ${BINDIR}/fsck_ffs ${BINDIR}/fsck_4.2bsd

View File

@ -2,7 +2,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/5/93 # @(#)Makefile 8.1 (Berkeley) 6/5/93
# $FreeBSD$ # $FreeBSD$
PACKAGE=runtime PACKAGE=ufs
PROG= fsdb PROG= fsdb
MAN= fsdb.8 MAN= fsdb.8
SRCS= fsdb.c fsdbutil.c \ SRCS= fsdb.c fsdbutil.c \

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.1 1997/01/26 02:23:20 millert Exp $ # $OpenBSD: Makefile,v 1.1 1997/01/26 02:23:20 millert Exp $
# $FreeBSD$ # $FreeBSD$
PACKAGE=runtime PACKAGE=ufs
PROG= fsirand PROG= fsirand
MAN= fsirand.8 MAN= fsirand.8
LIBADD= ufs LIBADD= ufs

View File

@ -8,7 +8,7 @@
.PATH: ${.CURDIR:H}/mount .PATH: ${.CURDIR:H}/mount
PACKAGE=runtime PACKAGE=ufs
PROG= growfs PROG= growfs
SRCS= growfs.c getmntopts.c SRCS= growfs.c getmntopts.c
MAN= growfs.8 MAN= growfs.8

View File

@ -2,7 +2,7 @@
.PATH: ${.CURDIR:H}/mount .PATH: ${.CURDIR:H}/mount
PACKAGE=runtime PACKAGE=ufs
PROG= mksnap_ffs PROG= mksnap_ffs
SRCS= mksnap_ffs.c getmntopts.c SRCS= mksnap_ffs.c getmntopts.c
MAN= mksnap_ffs.8 MAN= mksnap_ffs.8

View File

@ -3,6 +3,7 @@
.PATH: ${SRCTOP}/sys/geom .PATH: ${SRCTOP}/sys/geom
PACKAGE= ufs
PROG= newfs PROG= newfs
LIBADD= ufs util LIBADD= ufs util
SRCS= newfs.c mkfs.c geom_bsd_enc.c SRCS= newfs.c mkfs.c geom_bsd_enc.c

View File

@ -3,7 +3,7 @@
.PATH: ${.CURDIR:H}/dump .PATH: ${.CURDIR:H}/dump
PACKAGE=runtime PACKAGE=ufs
PROG= restore PROG= restore
LINKS= ${BINDIR}/restore ${BINDIR}/rrestore LINKS= ${BINDIR}/restore ${BINDIR}/rrestore
MAN= restore.8 MAN= restore.8

View File

@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/5/93 # @(#)Makefile 8.1 (Berkeley) 6/5/93
# $FreeBSD$ # $FreeBSD$
PACKAGE=runtime PACKAGE=ufs
PROG= tunefs PROG= tunefs
SRCS= tunefs.c getmntopts.c SRCS= tunefs.c getmntopts.c
LIBADD= ufs LIBADD= ufs

View File

@ -1,6 +1,7 @@
# $FreeBSD$ # $FreeBSD$
# #
PACKAGE= ufs
PROG= snapinfo PROG= snapinfo
MAN= snapinfo.8 MAN= snapinfo.8