path: root/release/packages/unbound.ucl
diff options
authorGlen Barber <gjb@FreeBSD.org>2016-02-04 15:32:03 +0000
committerGlen Barber <gjb@FreeBSD.org>2016-02-04 15:32:03 +0000
commit5c52b2f5ca1b5b922f322f23dc27ea2362deabdd (patch)
treeb2cc400eea676f2898c9855900556d6f39d5b1f8 /release/packages/unbound.ucl
parentb3075f337b9ec70bc1ce7fdbe0258849d797e21e (diff)
Rework the way <packagename>.ucl files are generated.
One of the major pain points with how this was implemented is the requirement of in-tree, hard-coded <name>.ucl, as well as <name>-<suffix>.ucl where <suffix> can be lib32, profile, development, debug, or any combination of the four. This created significant overhead when adding new packages and any of the files in any of the combinations were missing. Instead of test(1)-ing if the <packagename>.ucl file exists, hand off to a script to figure out what the final ucl file name should be before invoking pkg(8). The default behavior is 'template.ucl' is used as a fallback. This affects only the userland packages, as the kernel code is already smart enough to handle these variations. Sponsored by: The FreeBSD Foundation
Notes: svn path=/projects/release-pkg/; revision=295262
Diffstat (limited to 'release/packages/unbound.ucl')
1 files changed, 3 insertions, 4 deletions
diff --git a/release/packages/unbound.ucl b/release/packages/unbound.ucl
index 8efb77c2ba7a..3b8176a3ed71 100644
--- a/release/packages/unbound.ucl
+++ b/release/packages/unbound.ucl
@@ -1,7 +1,7 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
-comment = "Validating, recursive, and caching DNS resolver"
+comment = "%COMMENT%"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
@@ -9,11 +9,10 @@ prefix = "/"
licenselogic = "single"
licenses = [ BSD4CLAUSE ]
desc = <<EOD
-Unbound is a recursive-only caching DNS server which can perform DNSSEC
-validation of results
deps: {
- FreeBSD-runtime: {
+ FreeBSD-%PKGDEPS%: {
origin: "base",
version: "%VERSION%"