Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2019 14:13:08 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351855 - in head: lib/libcam lib/libcrypt lib/libelf lib/libgeom lib/libipsec lib/libjail lib/libkiconv lib/libkvm lib/libmd lib/libnv lib/libpam/libpam lib/libsbuf lib/libufs lib/libu...
Message-ID:  <201909051413.x85ED8O3097660@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Thu Sep  5 14:13:08 2019
New Revision: 351855
URL: https://svnweb.freebsd.org/changeset/base/351855

Log:
  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

Modified:
  head/lib/libcam/Makefile
  head/lib/libcrypt/Makefile
  head/lib/libelf/Makefile
  head/lib/libgeom/Makefile
  head/lib/libipsec/Makefile
  head/lib/libjail/Makefile
  head/lib/libkiconv/Makefile
  head/lib/libkvm/Makefile
  head/lib/libmd/Makefile
  head/lib/libnv/Makefile
  head/lib/libpam/libpam/Makefile
  head/lib/libsbuf/Makefile
  head/lib/libufs/Makefile
  head/lib/libutil/Makefile
  head/lib/libxo/Makefile
  head/lib/libz/Makefile
  head/secure/lib/libcrypto/Makefile
  head/share/termcap/Makefile
  head/usr.bin/du/Makefile
  head/usr.bin/fsync/Makefile
  head/usr.bin/passwd/Makefile
  head/usr.bin/sed/Makefile
  head/usr.bin/tar/Makefile
  head/usr.bin/uname/Makefile
  head/usr.bin/what/Makefile
  head/usr.sbin/ip6addrctl/Makefile
  head/usr.sbin/kldxref/Makefile
  head/usr.sbin/pwd_mkdb/Makefile
  head/usr.sbin/services_mkdb/Makefile
  head/usr.sbin/traceroute/Makefile
  head/usr.sbin/traceroute6/Makefile

Modified: head/lib/libcam/Makefile
==============================================================================
--- head/lib/libcam/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libcam/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,6 +1,7 @@
 # $FreeBSD$
 
-PACKAGE=	lib${LIB}
+PACKAGE=	runtime
+
 LIB=		cam
 SHLIBDIR?=	/lib
 SRCS=		camlib.c scsi_cmdparse.c scsi_all.c scsi_da.c scsi_sa.c cam.c \

Modified: head/lib/libcrypt/Makefile
==============================================================================
--- head/lib/libcrypt/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libcrypt/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -2,10 +2,11 @@
 # $FreeBSD$
 #
 
-PACKAGE=lib${LIB}
 SHLIBDIR?=	/lib
 
 .include <src.opts.mk>
+
+PACKAGE=	runtime
 
 SHLIB_MAJOR=	5
 LIB=		crypt

Modified: head/lib/libelf/Makefile
==============================================================================
--- head/lib/libelf/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libelf/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,6 +1,5 @@
 # $FreeBSD$
 
-PACKAGE=lib${LIB}
 SHLIBDIR?= /lib
 
 .include <bsd.own.mk>
@@ -10,6 +9,7 @@ SRCDIR=	${ELFTCDIR}/libelf
 
 .PATH:	${SRCDIR}
 
+PACKAGE=	runtime
 LIB=	elf
 
 SRCS=	elf.c							\

Modified: head/lib/libgeom/Makefile
==============================================================================
--- head/lib/libgeom/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libgeom/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,6 +1,7 @@
 # $FreeBSD$
 
-PACKAGE=lib${LIB}
+PACKAGE=	runtime
+
 LIB=	geom
 SHLIBDIR?= /lib
 SRCS+=	geom_getxml.c

Modified: head/lib/libipsec/Makefile
==============================================================================
--- head/lib/libipsec/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libipsec/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -27,12 +27,12 @@
 #
 # $FreeBSD$
 
-PACKAGE=lib${LIB}
 SHLIBDIR?= /lib
 
 .include <src.opts.mk>
 
 LIB=	ipsec
+PACKAGE=	runtime
 SHLIB_MAJOR= 4
 CFLAGS+=-I. -I${.CURDIR}
 CFLAGS+=-DIPSEC_DEBUG -DIPSEC

Modified: head/lib/libjail/Makefile
==============================================================================
--- head/lib/libjail/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libjail/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,13 +1,11 @@
 # $FreeBSD$
 
-PACKAGE=lib${LIB}
+PACKAGE=	runtime
 LIB=	jail
 SHLIBDIR?= /lib
 SHLIB_MAJOR= 1
 SRCS=	jail.c jail_getid.c
 INCS=	jail.h
-
-PACKAGE=jail
 
 MAN=	jail.3
 

Modified: head/lib/libkiconv/Makefile
==============================================================================
--- head/lib/libkiconv/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libkiconv/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -4,7 +4,7 @@ SHLIBDIR?=	/lib
 
 .include <src.opts.mk>
 
-PACKAGE=lib${LIB}
+PACKAGE=	runtime
 LIB=		kiconv
 SRCS=		kiconv_sysctl.c xlat16_iconv.c xlat16_sysctl.c
 SRCS+=		quirks.c

Modified: head/lib/libkvm/Makefile
==============================================================================
--- head/lib/libkvm/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libkvm/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,9 +1,9 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/4/93
 # $FreeBSD$
 
-PACKAGE=lib${LIB}
 LIB=	kvm
 
+PACKAGE=	runtime
 SHLIBDIR?= /lib
 SHLIB_MAJOR=	7
 CFLAGS+=-DNO__SCCSID -I${.CURDIR}

Modified: head/lib/libmd/Makefile
==============================================================================
--- head/lib/libmd/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libmd/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -4,7 +4,7 @@ SHLIBDIR?= /lib
 
 .include <src.opts.mk>
 
-PACKAGE=lib${LIB}
+PACKAGE=	runtime
 LIB=	md
 SHLIB_MAJOR= 6
 SRCS=	md4c.c md5c.c md4hl.c md5hl.c \

Modified: head/lib/libnv/Makefile
==============================================================================
--- head/lib/libnv/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libnv/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,10 +1,10 @@
 # $FreeBSD$
 
-PACKAGE=lib${LIB}
 SHLIBDIR?= /lib
 
 .include <src.opts.mk>
 
+PACKAGE=	runtime
 LIB=	nv
 SHLIB_MAJOR= 0
 

Modified: head/lib/libpam/libpam/Makefile
==============================================================================
--- head/lib/libpam/libpam/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libpam/libpam/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -35,7 +35,6 @@
 #
 # $FreeBSD$
 
-PACKAGE=lib${LIB}
 OPENPAM=	${SRCTOP}/contrib/openpam
 .PATH: ${OPENPAM}/include ${OPENPAM}/lib/libpam ${OPENPAM}/doc/man
 
@@ -43,6 +42,8 @@ OPENPAM=	${SRCTOP}/contrib/openpam
 .if !defined(LIB)
 SHLIB=	pam
 .endif
+
+PACKAGE=	runtime
 
 MK_PROFILE=no
 

Modified: head/lib/libsbuf/Makefile
==============================================================================
--- head/lib/libsbuf/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libsbuf/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,6 +1,7 @@
 # $FreeBSD$
 
-PACKAGE=lib${LIB}
+PACKAGE=	runtime
+
 LIB=		sbuf
 SHLIBDIR?= 	/lib
 SRCS=		subr_prf.c subr_sbuf.c

Modified: head/lib/libufs/Makefile
==============================================================================
--- head/lib/libufs/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libufs/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,6 +1,6 @@
 # $FreeBSD$
 
-PACKAGE=lib${LIB}
+PACKAGE=	runtime
 LIB=	ufs
 SHLIBDIR?= /lib
 SHLIB_MAJOR=	7

Modified: head/lib/libutil/Makefile
==============================================================================
--- head/lib/libutil/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libutil/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,10 +1,11 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/4/93
 #	$FreeBSD$
 
-PACKAGE=lib${LIB}
 SHLIBDIR?= /lib
 
 .include <src.opts.mk>
+
+PACKAGE=	runtime
 
 .PATH: ${SRCTOP}/lib/libc/gen # for pw_scan.c
 

Modified: head/lib/libxo/Makefile
==============================================================================
--- head/lib/libxo/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libxo/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,9 +1,10 @@
 # $FreeBSD$
 
-PACKAGE=lib${LIB}
 SHLIBDIR?=      /lib
 
 .include <src.opts.mk>
+
+PACKAGE=	runtime
 
 LIBXOSRC=	${SRCTOP}/contrib/libxo
 

Modified: head/lib/libz/Makefile
==============================================================================
--- head/lib/libz/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/lib/libz/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 #
 
-PACKAGE=lib${LIB}
+PACKAGE=	runtime
 LIB=		z
 SHLIBDIR?=	/lib
 SHLIB_MAJOR=	6

Modified: head/secure/lib/libcrypto/Makefile
==============================================================================
--- head/secure/lib/libcrypto/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/secure/lib/libcrypto/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -5,6 +5,7 @@ SUBDIR=		engines
 
 .include <bsd.own.mk>
 
+PACKAGE=	runtime
 LIB=		crypto
 SHLIB_MAJOR=	111
 VERSION_MAP=	${.CURDIR}/Version.map

Modified: head/share/termcap/Makefile
==============================================================================
--- head/share/termcap/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/share/termcap/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -7,6 +7,7 @@
 #
 MAN=	termcap.5
 
+PACKAGE=	runtime
 FILES=		termcap termcap.db
 FILESDIR=	${BINDIR}/misc
 CLEANFILES+=	termcap.db

Modified: head/usr.bin/du/Makefile
==============================================================================
--- head/usr.bin/du/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.bin/du/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -3,6 +3,7 @@
 
 .include <src.opts.mk>
 
+PACKAGE=	runtime
 PROG=	du
 LIBADD=	util
 

Modified: head/usr.bin/fsync/Makefile
==============================================================================
--- head/usr.bin/fsync/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.bin/fsync/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	runtime
 PROG=	fsync
 
 .include <bsd.prog.mk>

Modified: head/usr.bin/passwd/Makefile
==============================================================================
--- head/usr.bin/passwd/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.bin/passwd/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -3,6 +3,7 @@
 
 .include <src.opts.mk>
 
+PACKAGE	 = runtime
 PROG	 = passwd
 BINOWN	 = root
 BINMODE	 = 4555

Modified: head/usr.bin/sed/Makefile
==============================================================================
--- head/usr.bin/sed/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.bin/sed/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -3,6 +3,7 @@
 
 .include <src.opts.mk>
 
+PACKAGE=	runtime
 PROG=	sed
 SRCS=	compile.c main.c misc.c process.c
 

Modified: head/usr.bin/tar/Makefile
==============================================================================
--- head/usr.bin/tar/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.bin/tar/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -3,6 +3,7 @@
 
 _LIBARCHIVEDIR=	${SRCTOP}/contrib/libarchive
 
+PACKAGE=	runtime
 PROG=	bsdtar
 BSDTAR_VERSION_STRING=	3.4.0
 

Modified: head/usr.bin/uname/Makefile
==============================================================================
--- head/usr.bin/uname/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.bin/uname/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,5 +1,7 @@
+# $FreeBSD$
 #	@(#)Makefile	8.1 (Berkeley) 6/6/93
 
+PACKAGE=	runtime
 PROG=	uname
 
 .include <bsd.prog.mk>

Modified: head/usr.bin/what/Makefile
==============================================================================
--- head/usr.bin/what/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.bin/what/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,6 +1,7 @@
 #	From: @(#)Makefile	8.1 (Berkeley) 6/6/93
 # $FreeBSD$
 
+PACKAGE=	runtime
 PROG=	what
 
 .include <bsd.prog.mk>

Modified: head/usr.sbin/ip6addrctl/Makefile
==============================================================================
--- head/usr.sbin/ip6addrctl/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.sbin/ip6addrctl/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	runtime
 PROG=	ip6addrctl
 MAN=	ip6addrctl.8
 

Modified: head/usr.sbin/kldxref/Makefile
==============================================================================
--- head/usr.sbin/kldxref/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.sbin/kldxref/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	runtime
 PROG=	kldxref
 MAN=	kldxref.8
 SRCS=	kldxref.c ef.c ef_obj.c

Modified: head/usr.sbin/pwd_mkdb/Makefile
==============================================================================
--- head/usr.sbin/pwd_mkdb/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.sbin/pwd_mkdb/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -3,6 +3,7 @@
 
 .PATH: ${SRCTOP}/lib/libc/gen		# for pw_scan.c
 
+PACKAGE=	runtime
 PROG=	pwd_mkdb
 MAN=	pwd_mkdb.8
 SRCS=	pw_scan.c pwd_mkdb.c

Modified: head/usr.sbin/services_mkdb/Makefile
==============================================================================
--- head/usr.sbin/services_mkdb/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.sbin/services_mkdb/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -1,5 +1,7 @@
 # $FreeBSD$
 
+PACKAGE=	runtime
+
 CONFS=	services
 PROG=	services_mkdb
 MAN=	services_mkdb.8

Modified: head/usr.sbin/traceroute/Makefile
==============================================================================
--- head/usr.sbin/traceroute/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.sbin/traceroute/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -5,6 +5,7 @@
 TRACEROUTE_DISTDIR?= ${SRCTOP}/contrib/traceroute
 .PATH: ${TRACEROUTE_DISTDIR}
 
+PACKAGE=	runtime
 PROG=	traceroute
 MAN=	traceroute.8
 SRCS=	as.c version.c traceroute.c ifaddrlist.c findsaddr-udp.c

Modified: head/usr.sbin/traceroute6/Makefile
==============================================================================
--- head/usr.sbin/traceroute6/Makefile	Thu Sep  5 14:11:16 2019	(r351854)
+++ head/usr.sbin/traceroute6/Makefile	Thu Sep  5 14:13:08 2019	(r351855)
@@ -16,6 +16,7 @@
 TRACEROUTE_DISTDIR?= ${SRCTOP}/contrib/traceroute
 .PATH: ${TRACEROUTE_DISTDIR}
 
+PACKAGE=	runtime
 PROG=	traceroute6
 MAN=	traceroute6.8
 SRCS=	as.c traceroute6.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909051413.x85ED8O3097660>