bf9b4985e9
Since login and login.conf moved to the utilities packages move also the post-install related commands. Reported by: mj-mailinglist@gmx.de Reviewed by: bapt
36 lines
685 B
Plaintext
36 lines
685 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
|
|
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
|
|
}
|
|
deps: {
|
|
"FreeBSD-clibs": {
|
|
origin: "base"
|
|
version: "%VERSION%"
|
|
}
|
|
}
|
|
directories {
|
|
/dev = "y";
|
|
/tmp = "y";
|
|
}
|