Skip to content

Commit

Permalink
pkgbase: Put more binaries/lib in runtime
Browse files Browse the repository at this point in the history
Move some needed binaries/libs from FreeBSD-utilities to FreeBSD_runtime.
This is everything needed to boot to multiuser with FreeBSD-rc installed.

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

(cherry picked from commit 93c4369)
  • Loading branch information
evadot committed Jan 5, 2022
1 parent 2480a7a commit b2d245a
Show file tree
Hide file tree
Showing 27 changed files with 50 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/libpam/modules/pam_lastlog/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#
# $FreeBSD$

PACKAGE= runtime

LIB= pam_lastlog
SRCS= pam_lastlog.c
MAN= pam_lastlog.8
Expand Down
2 changes: 2 additions & 0 deletions lib/libpam/modules/pam_login_access/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#
# $FreeBSD$

PACKAGE= runtime

LIB= pam_login_access
SRCS= pam_login_access.c login_access.c
MAN= login.access.5 pam_login_access.8
Expand Down
2 changes: 2 additions & 0 deletions lib/libpam/modules/pam_nologin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#
# $FreeBSD$

PACKAGE= runtime

LIB= pam_nologin
SRCS= pam_nologin.c
MAN= pam_nologin.8
Expand Down
2 changes: 2 additions & 0 deletions lib/libpam/modules/pam_opie/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#
# $FreeBSD$

PACKAGE= runtime

LIB= pam_opie
SRCS= pam_opie.c
MAN= pam_opie.8
Expand Down
2 changes: 2 additions & 0 deletions lib/libpam/modules/pam_opieaccess/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# $FreeBSD$

PACKAGE= runtime

LIB= pam_opieaccess
SRCS= ${LIB}.c
MAN= pam_opieaccess.8
Expand Down
2 changes: 2 additions & 0 deletions lib/libpam/modules/pam_securetty/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#
# $FreeBSD$

PACKAGE= runtime

LIB= pam_securetty
SRCS= pam_securetty.c
MAN= pam_securetty.8
Expand Down
2 changes: 2 additions & 0 deletions lib/libpam/modules/pam_self/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#
# $FreeBSD$

PACKAGE= runtime

LIB= pam_self
SRCS= pam_self.c
MAN= pam_self.8
Expand Down
2 changes: 2 additions & 0 deletions lib/libpam/modules/pam_unix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
.include <src.opts.mk>
.include <bsd.init.mk>

PACKAGE= runtime

LIB= pam_unix
SRCS= pam_unix.c
MAN= pam_unix.8
Expand Down
2 changes: 2 additions & 0 deletions lib/libpam/pam.d/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

.include <src.opts.mk>

PACKAGE= runtime

NO_OBJ=

CONFGROUPS= CONFS
Expand Down
2 changes: 2 additions & 0 deletions lib/libregex/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

.include <src.opts.mk>

PACKAGE= runtime

LIB= regex
SHLIB_MAJOR= 1
SHLIB_MINOR= 0
Expand Down
2 changes: 2 additions & 0 deletions lib/librpcsvc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

.PATH: ${SRCTOP}/include/rpcsvc

PACKAGE= runtime

LIB= rpcsvc

RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
Expand Down
2 changes: 2 additions & 0 deletions lib/libwrap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

.include <src.opts.mk>

PACKAGE= runtime

CONFS= hosts.allow
LIB= wrap
SHLIB_MAJOR= 6
Expand Down
2 changes: 1 addition & 1 deletion lib/libypclnt/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $FreeBSD$

PACKAGE= yp
PACKAGE= runtime
LIB= ypclnt
SHLIB_MAJOR= 4
SRCS= ypclnt_connect.c \
Expand Down
2 changes: 2 additions & 0 deletions libexec/getty/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# from: @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$

PACKAGE= runtime

CONFS= gettytab
PROG= getty
SRCS= main.c init.c subr.c chat.c
Expand Down
2 changes: 1 addition & 1 deletion sbin/devd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.include <src.opts.mk>

WARNS?= 3
PACKAGE=utilities
PACKAGE=runtime
CONFGROUPS= CONFS DEVD
CONFS= devd.conf
DEVD= devmatch.conf
Expand Down
1 change: 1 addition & 0 deletions usr.bin/env/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$

PACKAGE= runtime
PROG= env
SRCS= env.c envopts.c

Expand Down
2 changes: 2 additions & 0 deletions usr.bin/find/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

.include <src.opts.mk>

PACKAGE= runtime

PROG= find
SRCS= find.c function.c ls.c main.c misc.c operator.c option.c \
getdate.y
Expand Down
2 changes: 2 additions & 0 deletions usr.bin/grep/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

.include <src.opts.mk>

PACKAGE= runtime

PROG= grep
MAN1= grep.1 zgrep.1

Expand Down
2 changes: 2 additions & 0 deletions usr.bin/id/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

.include <src.opts.mk>

PACKAGE= runtime

PROG= id
LINKS= ${BINDIR}/id ${BINDIR}/groups
LINKS+= ${BINDIR}/id ${BINDIR}/whoami
Expand Down
2 changes: 2 additions & 0 deletions usr.bin/limits/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

.include <src.opts.mk>

PACKAGE= runtime

PROG= limits
LIBADD= util

Expand Down
2 changes: 2 additions & 0 deletions usr.bin/logger/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

.include <src.opts.mk>

PACKAGE= runtime

PROG= logger

.if ${MK_INET6_SUPPORT} != "no"
Expand Down
2 changes: 2 additions & 0 deletions usr.bin/login/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
.include <src.opts.mk>
.include <src.tools.mk>

PACKAGE= runtime

CONFS= fbtab login.conf motd.template login.access
PROG= login
SRCS= login.c login_fbtab.c
Expand Down
2 changes: 2 additions & 0 deletions usr.bin/mktemp/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# $FreeBSD$

PACKAGE= runtime

PROG= mktemp

.include <bsd.prog.mk>
2 changes: 2 additions & 0 deletions usr.bin/xargs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

.include <src.opts.mk>

PACKAGE= runtime

PROG= xargs
SRCS= xargs.c strnsubst.c

Expand Down
2 changes: 2 additions & 0 deletions usr.bin/xinstall/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

.include <src.opts.mk>

PACKAGE= runtime

PROG= xinstall
PROGNAME= install
SRCS= xinstall.c getid.c
Expand Down
1 change: 1 addition & 0 deletions usr.sbin/service/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# $FreeBSD$

PACKAGE= runtime
SCRIPTS=service.sh
MAN= service.8

Expand Down
2 changes: 2 additions & 0 deletions usr.sbin/utx/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# $FreeBSD$

PACKAGE= runtime

PROG= utx
MAN= utx.8

Expand Down

0 comments on commit b2d245a

Please sign in to comment.