pkgbase: Move cap_mkdb from runtime to utilities POST-INSTALL
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
This commit is contained in:
parent
15e9beb765
commit
bf9b4985e9
@ -18,7 +18,6 @@ desc = <<EOD
|
||||
EOD
|
||||
scripts: {
|
||||
post-install = <<EOD
|
||||
cap_mkdb %CAP_MKDB_ENDIAN% ${PKG_ROOTDIR}/etc/login.conf
|
||||
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
|
||||
|
23
release/packages/utilities.ucl
Normal file
23
release/packages/utilities.ucl
Normal file
@ -0,0 +1,23 @@
|
||||
#
|
||||
# $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
|
||||
EOD
|
||||
}
|
Loading…
Reference in New Issue
Block a user