pkgbase: Create a FreeBSD-utilities package and make it the default one
The default package use to be FreeBSD-runtime but it should only contain binaries and libs enough to boot to single user and repair the system, it is also very handy to have a package that can be tranform to a small mfsroot. So create a new package named FreeBSD-utilities and make it the default one. Also move a few binaries and lib into this package when it make sense. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21506
This commit is contained in:
parent
3c8868056c
commit
4c1a82cea5
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= uuidgen
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -3,7 +3,6 @@
|
||||
.PATH: ${SRCTOP}/sys/netinet/libalias
|
||||
|
||||
CONFS= libalias.conf
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= alias
|
||||
SHLIBDIR?= /lib
|
||||
SHLIB_MAJOR= 7
|
||||
|
@ -2,7 +2,6 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
OPENBSMDIR= ${SRCTOP}/contrib/openbsm
|
||||
_LIBAUDITDDIR= ${OPENBSMDIR}/libauditd
|
||||
_LIBBSMDIR= ${OPENBSMDIR}/libbsm
|
||||
|
@ -4,7 +4,6 @@ SHLIBDIR?= /lib
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE= lib${LIB}
|
||||
LIB= be
|
||||
SHLIB_MAJOR= 1
|
||||
SHLIB_MINOR= 0
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= lib${LIB}
|
||||
LIB= calendar
|
||||
|
||||
SRCS= calendar.c easter.c
|
||||
|
@ -1,7 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
|
||||
INCS= capsicum_helpers.h
|
||||
|
||||
MAN+= capsicum_helpers.3
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= com_err
|
||||
SRCS= com_err.c error.c
|
||||
INCS= ${COM_ERRDIR}/com_err.h ${COM_ERRDIR}/com_right.h
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= devctl
|
||||
SRCS= devctl.c
|
||||
INCS= devctl.h
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= devinfo
|
||||
SRCS= devinfo.c
|
||||
INCS= devinfo.h
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= devstat
|
||||
SHLIBDIR?= /lib
|
||||
# Bump DEVSTAT_USER_API_VER in devstat.h every time this is incremented.
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= fetch
|
||||
CFLAGS+= -I.
|
||||
SRCS= fetch.c common.c ftp.c http.c file.c \
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= gpio
|
||||
SHLIB_MAJOR= 0
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= gssapi
|
||||
SHLIB_MAJOR= 10
|
||||
VERSION_DEF= ${SRCTOP}/lib/libc/Versions.def
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
WARNS?= 3
|
||||
LIB= memstat
|
||||
SHLIB_MAJOR= 3
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= mp
|
||||
SHLIB_MAJOR= 7
|
||||
LIBADD= crypto
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= mt
|
||||
SHLIBDIR?= /lib
|
||||
SRCS= mtlib.c
|
||||
|
@ -1,7 +1,6 @@
|
||||
# $FreeBSD$
|
||||
# $Whistle: Makefile,v 1.4 1999/01/17 03:41:02 julian Exp $
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= netgraph
|
||||
WARNS?= 3
|
||||
MAN= netgraph.3
|
||||
|
@ -2,7 +2,6 @@
|
||||
#
|
||||
# Author: Harti Brandt <harti@freebsd.org>
|
||||
#
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= ngatm
|
||||
SHLIB_MAJOR= 4
|
||||
MAN= libngatm.3 uniaddr.3 unifunc.3 unimsg.3 unisap.3 unistruct.3
|
||||
|
@ -5,7 +5,6 @@ SHLIBDIR?= /lib
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= pcap
|
||||
|
||||
SRCS= bpf_dump.c \
|
||||
|
@ -2,7 +2,6 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
SHLIBDIR?= /lib
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= pmc
|
||||
|
||||
SRCS= libpmc.c pmclog.c libpmc_pmu_util.c libpmc_json.cc
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= proc
|
||||
|
||||
SRCS= crc32.c \
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= procstat
|
||||
|
||||
SRCS= cd9660.c \
|
||||
|
@ -26,7 +26,6 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= radius
|
||||
SRCS= radlib.c
|
||||
INCS= radlib.h radlib_vs.h
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
.PATH: ${SRCTOP}/include/rpcsvc
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= rpcsvc
|
||||
|
||||
RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB=rt
|
||||
SHLIB_MAJOR= 1
|
||||
CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= rtld_db
|
||||
SHLIB_MAJOR= 2
|
||||
MAN= librtld_db.3
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= sysdecode
|
||||
|
||||
SRCS= errno.c flags.c ioctl.c signal.c syscallnames.c utrace.c
|
||||
|
@ -24,7 +24,6 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= tacplus
|
||||
SRCS= taclib.c
|
||||
INCS= taclib.h
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= ugidfw
|
||||
SHLIB_MAJOR= 5
|
||||
SRCS= ugidfw.c
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
SHLIBDIR?=/lib
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
@ -4,7 +4,6 @@
|
||||
# Makefile for the FreeBSD specific LibUSB 2.0
|
||||
#
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= usb
|
||||
SHLIB_MAJOR= 3
|
||||
SHLIB_MINOR= 0
|
||||
|
@ -1,7 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.5 1999/07/23 09:44:38 mrg Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= usbhid
|
||||
MAN= usbhid.3
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
.include <src.opts.mk>
|
||||
|
||||
CONFS= hosts.allow
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= wrap
|
||||
SHLIB_MAJOR= 6
|
||||
INCS= tcpd.h
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= ypclnt
|
||||
SHLIB_MAJOR= 4
|
||||
SRCS= ypclnt_connect.c \
|
||||
|
@ -84,6 +84,8 @@ tests_COMMENT= Test Suite
|
||||
tests_DESC= Test Suite
|
||||
unbound_COMMENT= Unbound DNS Resolver
|
||||
unbound_DESC= Unbound DNS Resolver
|
||||
utilities_COMMENT= Non-vital programs and librairies
|
||||
utilities_DESC= Non-vital programs and librairies
|
||||
vi_COMMENT= Vi Editor
|
||||
vi_DESC= Vi Editor
|
||||
wpa_COMMENT= 802.11 Supplicant
|
||||
|
@ -3,7 +3,7 @@
|
||||
.include <src.opts.mk>
|
||||
|
||||
WARNS?= 3
|
||||
PACKAGE=runtime
|
||||
PACKAGE=utilities
|
||||
CONFGROUPS= CONFS DEVD
|
||||
CONFS= devd.conf
|
||||
DEVD= devmatch.conf
|
||||
|
@ -1,7 +1,6 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= nfsiod
|
||||
MAN= nfsiod.8
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= nos-tun
|
||||
MAN= nos-tun.8
|
||||
WARNS?= 3
|
||||
|
@ -29,7 +29,6 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= setkey
|
||||
MAN= setkey.8
|
||||
SRCS= setkey.c parse.y token.l
|
||||
|
@ -44,9 +44,9 @@ STAGE_SETS+= ${group:C,[/*],_,g}
|
||||
. if defined(NO_ROOT)
|
||||
. if !defined(${group}TAGS) || ! ${${group}TAGS:Mpackage=*}
|
||||
. if defined(${group}PACKAGE)
|
||||
${group}TAGS+= package=${${group}PACKAGE:Uruntime}
|
||||
${group}TAGS+= package=${${group}PACKAGE:Uutilities}
|
||||
. else
|
||||
${group}TAGS+= package=${PACKAGE:Uruntime}
|
||||
${group}TAGS+= package=${PACKAGE:Uutilities}
|
||||
. endif
|
||||
. endif
|
||||
${group}TAGS+= config
|
||||
|
@ -21,7 +21,7 @@ ${dir}_FLAG= -f ${${dir}_FLAGS}
|
||||
|
||||
. if defined(NO_ROOT)
|
||||
. if !defined(${dir}TAGS) || ! ${${dir}TAGS:Mpackage=*}
|
||||
${dir}TAGS+= package=${${dir}PACKAGE:Uruntime}
|
||||
${dir}TAGS+= package=${${dir}PACKAGE:Uutilities}
|
||||
. endif
|
||||
${dir}TAG_ARGS= -T ${${dir}TAGS:[*]:S/ /,/g}
|
||||
. endif
|
||||
|
@ -83,7 +83,7 @@ TRFLAGS+= -t
|
||||
|
||||
.if defined(NO_ROOT)
|
||||
.if !defined(TAGS) || ! ${TAGS:Mpackage=*}
|
||||
TAGS+= package=${PACKAGE:Uruntime}
|
||||
TAGS+= package=${PACKAGE:Uutilities}
|
||||
.endif
|
||||
TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
|
||||
.endif
|
||||
|
@ -40,7 +40,7 @@ STAGE_SETS+= ${group:C,[/*],_,g}
|
||||
|
||||
.if defined(NO_ROOT)
|
||||
.if !defined(${group}TAGS) || ! ${${group}TAGS:Mpackage=*}
|
||||
${group}TAGS+= package=${${group}PACKAGE:Uruntime}
|
||||
${group}TAGS+= package=${${group}PACKAGE:Uutilities}
|
||||
.endif
|
||||
${group}TAG_ARGS= -T ${${group}TAGS:[*]:S/ /,/g}
|
||||
.endif
|
||||
|
@ -10,7 +10,7 @@ INCSGROUPS?= INCS
|
||||
|
||||
.if defined(NO_ROOT)
|
||||
.if !defined(TAGS) || ! ${TAGS:Mpackage=*}
|
||||
TAGS+= package=${PACKAGE:Uruntime}
|
||||
TAGS+= package=${PACKAGE:Uutilities}
|
||||
.endif
|
||||
TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
|
||||
.endif
|
||||
|
@ -66,7 +66,7 @@ TAGS+= lib32
|
||||
|
||||
.if defined(NO_ROOT)
|
||||
.if !defined(TAGS) || ! ${TAGS:Mpackage=*}
|
||||
TAGS+= package=${PACKAGE:Uruntime}
|
||||
TAGS+= package=${PACKAGE:Uutilities}
|
||||
.endif
|
||||
TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
|
||||
.endif
|
||||
|
@ -73,7 +73,7 @@ STRIP?= -s
|
||||
|
||||
.if defined(NO_ROOT)
|
||||
.if !defined(TAGS) || ! ${TAGS:Mpackage=*}
|
||||
TAGS+= package=${PACKAGE:Uruntime}
|
||||
TAGS+= package=${PACKAGE:Uutilities}
|
||||
.endif
|
||||
TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user