9fc3c7f733
The default pkg(8) from pkg.freebsd.org requires libjail.so, so mark the jail package as vital along with the runtime package to avoid errors when libjail.so is removed. This is a no-op for systems with WITHOUT_JAIL in src.conf(5) and pkg(8) built from the Ports Collection. In order to make this work without marking packages such as the jail-lib32, for example, the jail.ucl file needed to be split out into separate files similarly to the runtime-*.ucl files. Glanced at by: brd MFC after: 5 days Sponsored by: The FreeBSD Foundation
35 lines
614 B
Plaintext
35 lines
614 B
Plaintext
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
name = "FreeBSD-%PKGNAME%"
|
|
origin = "base"
|
|
version = "%VERSION%"
|
|
comment = "%COMMENT%"
|
|
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
|
|
EOD
|
|
}
|
|
deps: {
|
|
"FreeBSD-clibs": {
|
|
origin: "base"
|
|
version: "%VERSION%"
|
|
}
|
|
}
|
|
directories {
|
|
/dev = "y";
|
|
/tmp = "y";
|
|
}
|