1c1ff79795
make "vital" a replaceable, which defaults to "false" and only set it for the main clib, utilities and runtime packages, not their sub-packages PR: 254174 Differential Revision: https://reviews.freebsd.org/D29224
30 lines
581 B
Plaintext
30 lines
581 B
Plaintext
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
name = "%PKG_NAME_PREFIX%-%PKGNAME%"
|
|
origin = "base"
|
|
version = "%VERSION%"
|
|
comment = "%COMMENT%"
|
|
categories = [ base ]
|
|
maintainer = "%PKG_MAINTAINER%"
|
|
www = "%PKG_WWW%"
|
|
prefix = "/"
|
|
vital = %VITAL%
|
|
licenselogic = "single"
|
|
licenses = [ BSD2CLAUSE ]
|
|
desc = <<EOD
|
|
%DESC%
|
|
EOD
|
|
scripts: {
|
|
post-install = <<EOD
|
|
pwd_mkdb -i -p -d ${PKG_ROOTDIR}/etc ${PKG_ROOTDIR}/etc/master.passwd
|
|
services_mkdb %CAP_MKDB_ENDIAN% -q -o ${PKG_ROOTDIR}/var/db/services.db ${PKG_ROOTDIR}/etc/services
|
|
chmod 1777 ${PKG_ROOTDIR}/tmp
|
|
EOD
|
|
}
|
|
directories: {
|
|
/dev = "y";
|
|
/tmp = "y";
|
|
}
|