Disconnect the dependency on the kernel package from the runtime package. There are a number of problems here: 1) The runtime package installed into a chroot or a jail would include the kernel package, changing the behavior of how jails work now [1]; 2) As result of (1), it is possible a binary may incorrectly resolve kernel symbols [2]; in addition, it is possible there will be unexpected fallout with 32-bit jails on a 64-bit host kernel [2]. Noticed by: brd [1] Discussed with: kib [2] MFC after: 3 days MFC note: record-only to wipe from the merge tracker Sponsored by: The FreeBSD Foundation
36 lines
660 B
Plaintext
36 lines
660 B
Plaintext
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
name = "FreeBSD-%PKGNAME%"
|
|
origin = "base"
|
|
version = "%VERSION%"
|
|
comment = "%COMMENT% %VCS_REVISION%"
|
|
categories = [ base ]
|
|
maintainer = "re@FreeBSD.org"
|
|
www = "https://www.FreeBSD.org"
|
|
prefix = "/"
|
|
vital = true
|
|
licenselogic = "single"
|
|
licenses = [ BSD2CLAUSE ]
|
|
desc = <<EOD
|
|
%DESC%
|
|
EOD
|
|
scripts: {
|
|
post-install = <<EOD
|
|
cap_mkdb %CAP_MKDB_ENDIAN% ${PKG_ROOTDIR}/etc/login.conf
|
|
pwd_mkdb %PWD_MKDB_ENDIAN% -i -p -d ${PKG_ROOTDIR}/etc ${PKG_ROOTDIR}/etc/master.passwd
|
|
chmod 1777 ${PKG_ROOTDIR}/tmp
|
|
EOD
|
|
}
|
|
deps: {
|
|
"FreeBSD-clibs": {
|
|
origin: "base"
|
|
version: "%VERSION%"
|
|
}
|
|
}
|
|
directories {
|
|
/dev = "y";
|
|
/tmp = "y";
|
|
}
|