pkgbase: Put a lot of binaries and lib in FreeBSD-runtime

All of them are needed to be able to boot to single user and be able
to repair a existing FreeBSD installation so put them directly into
FreeBSD-runtime.

Reviewed by:    bapt, gjb
Differential Revision:  https://reviews.freebsd.org/D21503
This commit is contained in:
Emmanuel Vadot 2019-09-05 14:13:08 +00:00
parent df347c8a2e
commit a7b5a3d486
31 changed files with 40 additions and 18 deletions

View File

@ -1,6 +1,7 @@
# $FreeBSD$ # $FreeBSD$
PACKAGE= lib${LIB} PACKAGE= runtime
LIB= cam LIB= cam
SHLIBDIR?= /lib SHLIBDIR?= /lib
SRCS= camlib.c scsi_cmdparse.c scsi_all.c scsi_da.c scsi_sa.c cam.c \ SRCS= camlib.c scsi_cmdparse.c scsi_all.c scsi_da.c scsi_sa.c cam.c \

View File

@ -2,11 +2,12 @@
# $FreeBSD$ # $FreeBSD$
# #
PACKAGE=lib${LIB}
SHLIBDIR?= /lib SHLIBDIR?= /lib
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE= runtime
SHLIB_MAJOR= 5 SHLIB_MAJOR= 5
LIB= crypt LIB= crypt

View File

@ -1,6 +1,5 @@
# $FreeBSD$ # $FreeBSD$
PACKAGE=lib${LIB}
SHLIBDIR?= /lib SHLIBDIR?= /lib
.include <bsd.own.mk> .include <bsd.own.mk>
@ -10,6 +9,7 @@ SRCDIR= ${ELFTCDIR}/libelf
.PATH: ${SRCDIR} .PATH: ${SRCDIR}
PACKAGE= runtime
LIB= elf LIB= elf
SRCS= elf.c \ SRCS= elf.c \

View File

@ -1,6 +1,7 @@
# $FreeBSD$ # $FreeBSD$
PACKAGE=lib${LIB} PACKAGE= runtime
LIB= geom LIB= geom
SHLIBDIR?= /lib SHLIBDIR?= /lib
SRCS+= geom_getxml.c SRCS+= geom_getxml.c

View File

@ -27,12 +27,12 @@
# #
# $FreeBSD$ # $FreeBSD$
PACKAGE=lib${LIB}
SHLIBDIR?= /lib SHLIBDIR?= /lib
.include <src.opts.mk> .include <src.opts.mk>
LIB= ipsec LIB= ipsec
PACKAGE= runtime
SHLIB_MAJOR= 4 SHLIB_MAJOR= 4
CFLAGS+=-I. -I${.CURDIR} CFLAGS+=-I. -I${.CURDIR}
CFLAGS+=-DIPSEC_DEBUG -DIPSEC CFLAGS+=-DIPSEC_DEBUG -DIPSEC

View File

@ -1,14 +1,12 @@
# $FreeBSD$ # $FreeBSD$
PACKAGE=lib${LIB} PACKAGE= runtime
LIB= jail LIB= jail
SHLIBDIR?= /lib SHLIBDIR?= /lib
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
SRCS= jail.c jail_getid.c SRCS= jail.c jail_getid.c
INCS= jail.h INCS= jail.h
PACKAGE=jail
MAN= jail.3 MAN= jail.3
MLINKS+=jail.3 jail_getid.3 MLINKS+=jail.3 jail_getid.3

View File

@ -4,7 +4,7 @@ SHLIBDIR?= /lib
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE=lib${LIB} PACKAGE= runtime
LIB= kiconv LIB= kiconv
SRCS= kiconv_sysctl.c xlat16_iconv.c xlat16_sysctl.c SRCS= kiconv_sysctl.c xlat16_iconv.c xlat16_sysctl.c
SRCS+= quirks.c SRCS+= quirks.c

View File

@ -1,9 +1,9 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93 # @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$ # $FreeBSD$
PACKAGE=lib${LIB}
LIB= kvm LIB= kvm
PACKAGE= runtime
SHLIBDIR?= /lib SHLIBDIR?= /lib
SHLIB_MAJOR= 7 SHLIB_MAJOR= 7
CFLAGS+=-DNO__SCCSID -I${.CURDIR} CFLAGS+=-DNO__SCCSID -I${.CURDIR}

View File

@ -4,7 +4,7 @@ SHLIBDIR?= /lib
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE=lib${LIB} PACKAGE= runtime
LIB= md LIB= md
SHLIB_MAJOR= 6 SHLIB_MAJOR= 6
SRCS= md4c.c md5c.c md4hl.c md5hl.c \ SRCS= md4c.c md5c.c md4hl.c md5hl.c \

View File

@ -1,10 +1,10 @@
# $FreeBSD$ # $FreeBSD$
PACKAGE=lib${LIB}
SHLIBDIR?= /lib SHLIBDIR?= /lib
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE= runtime
LIB= nv LIB= nv
SHLIB_MAJOR= 0 SHLIB_MAJOR= 0

View File

@ -35,7 +35,6 @@
# #
# $FreeBSD$ # $FreeBSD$
PACKAGE=lib${LIB}
OPENPAM= ${SRCTOP}/contrib/openpam OPENPAM= ${SRCTOP}/contrib/openpam
.PATH: ${OPENPAM}/include ${OPENPAM}/lib/libpam ${OPENPAM}/doc/man .PATH: ${OPENPAM}/include ${OPENPAM}/lib/libpam ${OPENPAM}/doc/man
@ -44,6 +43,8 @@ OPENPAM= ${SRCTOP}/contrib/openpam
SHLIB= pam SHLIB= pam
.endif .endif
PACKAGE= runtime
MK_PROFILE=no MK_PROFILE=no
SRCS= openpam_asprintf.c \ SRCS= openpam_asprintf.c \

View File

@ -1,6 +1,7 @@
# $FreeBSD$ # $FreeBSD$
PACKAGE=lib${LIB} PACKAGE= runtime
LIB= sbuf LIB= sbuf
SHLIBDIR?= /lib SHLIBDIR?= /lib
SRCS= subr_prf.c subr_sbuf.c SRCS= subr_prf.c subr_sbuf.c

View File

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

View File

@ -1,11 +1,12 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93 # @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$ # $FreeBSD$
PACKAGE=lib${LIB}
SHLIBDIR?= /lib SHLIBDIR?= /lib
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE= runtime
.PATH: ${SRCTOP}/lib/libc/gen # for pw_scan.c .PATH: ${SRCTOP}/lib/libc/gen # for pw_scan.c
LIB= util LIB= util

View File

@ -1,10 +1,11 @@
# $FreeBSD$ # $FreeBSD$
PACKAGE=lib${LIB}
SHLIBDIR?= /lib SHLIBDIR?= /lib
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE= runtime
LIBXOSRC= ${SRCTOP}/contrib/libxo LIBXOSRC= ${SRCTOP}/contrib/libxo
.PATH: ${LIBXOSRC}/libxo .PATH: ${LIBXOSRC}/libxo

View File

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
# #
PACKAGE=lib${LIB} PACKAGE= runtime
LIB= z LIB= z
SHLIBDIR?= /lib SHLIBDIR?= /lib
SHLIB_MAJOR= 6 SHLIB_MAJOR= 6

View File

@ -5,6 +5,7 @@ SUBDIR= engines
.include <bsd.own.mk> .include <bsd.own.mk>
PACKAGE= runtime
LIB= crypto LIB= crypto
SHLIB_MAJOR= 111 SHLIB_MAJOR= 111
VERSION_MAP= ${.CURDIR}/Version.map VERSION_MAP= ${.CURDIR}/Version.map

View File

@ -7,6 +7,7 @@
# #
MAN= termcap.5 MAN= termcap.5
PACKAGE= runtime
FILES= termcap termcap.db FILES= termcap termcap.db
FILESDIR= ${BINDIR}/misc FILESDIR= ${BINDIR}/misc
CLEANFILES+= termcap.db CLEANFILES+= termcap.db

View File

@ -3,6 +3,7 @@
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE= runtime
PROG= du PROG= du
LIBADD= util LIBADD= util

View File

@ -1,5 +1,6 @@
# $FreeBSD$ # $FreeBSD$
PACKAGE= runtime
PROG= fsync PROG= fsync
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -3,6 +3,7 @@
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE = runtime
PROG = passwd PROG = passwd
BINOWN = root BINOWN = root
BINMODE = 4555 BINMODE = 4555

View File

@ -3,6 +3,7 @@
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE= runtime
PROG= sed PROG= sed
SRCS= compile.c main.c misc.c process.c SRCS= compile.c main.c misc.c process.c

View File

@ -3,6 +3,7 @@
_LIBARCHIVEDIR= ${SRCTOP}/contrib/libarchive _LIBARCHIVEDIR= ${SRCTOP}/contrib/libarchive
PACKAGE= runtime
PROG= bsdtar PROG= bsdtar
BSDTAR_VERSION_STRING= 3.4.0 BSDTAR_VERSION_STRING= 3.4.0

View File

@ -1,5 +1,7 @@
# $FreeBSD$
# @(#)Makefile 8.1 (Berkeley) 6/6/93 # @(#)Makefile 8.1 (Berkeley) 6/6/93
PACKAGE= runtime
PROG= uname PROG= uname
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,6 +1,7 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93 # From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$ # $FreeBSD$
PACKAGE= runtime
PROG= what PROG= what
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,5 +1,6 @@
# $FreeBSD$ # $FreeBSD$
PACKAGE= runtime
PROG= ip6addrctl PROG= ip6addrctl
MAN= ip6addrctl.8 MAN= ip6addrctl.8

View File

@ -1,5 +1,6 @@
# $FreeBSD$ # $FreeBSD$
PACKAGE= runtime
PROG= kldxref PROG= kldxref
MAN= kldxref.8 MAN= kldxref.8
SRCS= kldxref.c ef.c ef_obj.c SRCS= kldxref.c ef.c ef_obj.c

View File

@ -3,6 +3,7 @@
.PATH: ${SRCTOP}/lib/libc/gen # for pw_scan.c .PATH: ${SRCTOP}/lib/libc/gen # for pw_scan.c
PACKAGE= runtime
PROG= pwd_mkdb PROG= pwd_mkdb
MAN= pwd_mkdb.8 MAN= pwd_mkdb.8
SRCS= pw_scan.c pwd_mkdb.c SRCS= pw_scan.c pwd_mkdb.c

View File

@ -1,5 +1,7 @@
# $FreeBSD$ # $FreeBSD$
PACKAGE= runtime
CONFS= services CONFS= services
PROG= services_mkdb PROG= services_mkdb
MAN= services_mkdb.8 MAN= services_mkdb.8

View File

@ -5,6 +5,7 @@
TRACEROUTE_DISTDIR?= ${SRCTOP}/contrib/traceroute TRACEROUTE_DISTDIR?= ${SRCTOP}/contrib/traceroute
.PATH: ${TRACEROUTE_DISTDIR} .PATH: ${TRACEROUTE_DISTDIR}
PACKAGE= runtime
PROG= traceroute PROG= traceroute
MAN= traceroute.8 MAN= traceroute.8
SRCS= as.c version.c traceroute.c ifaddrlist.c findsaddr-udp.c SRCS= as.c version.c traceroute.c ifaddrlist.c findsaddr-udp.c

View File

@ -16,6 +16,7 @@
TRACEROUTE_DISTDIR?= ${SRCTOP}/contrib/traceroute TRACEROUTE_DISTDIR?= ${SRCTOP}/contrib/traceroute
.PATH: ${TRACEROUTE_DISTDIR} .PATH: ${TRACEROUTE_DISTDIR}
PACKAGE= runtime
PROG= traceroute6 PROG= traceroute6
MAN= traceroute6.8 MAN= traceroute6.8
SRCS= as.c traceroute6.c SRCS= as.c traceroute6.c