f2c462994d
This cuts out a large chunk of duplicated *.ucl files that just needed dependencies tacked on, and gives generate-ucl.sh some leeway in case a future pkg may need more than one dependency. Run-through to determine which ones could simply be removed done with for i in *.ucl; do diff -U3 template.ucl ${i}; done | less and inspecting for any differences beyond just adding deps at the end. The remaining ucl files are basically all differently-licensed, require scripts, or are marked vital. I've opted to remove %PKGDEPS% entirely without regard for third-party ucl, as pkgbase is not yet considered production. However, I do not hold a strong position on this and there is approximately 0 chance it will return. clibs should have been added previously in generate-ucl.sh as one that doesn't have any dependencies, but do so now that we would otherwise be tacking on the runtime dependency. Reviewed by: manu, bapt (earlier version) Differential Revision: https://reviews.freebsd.org/D23415
30 lines
594 B
Plaintext
30 lines
594 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
|
|
}
|
|
directories {
|
|
/dev = "y";
|
|
/tmp = "y";
|
|
}
|