xref: /freebsd/release/packages/certctl.ucl (revision 525fe93dc7487a1e63a90f6a2b956abc601963c1)
1#
2#
3
4name = "%PKG_NAME_PREFIX%-%PKGNAME%"
5origin = "base"
6version = "%VERSION%"
7comment = "%COMMENT%"
8categories = [ base ]
9maintainer = %PKG_MAINTAINER%
10www = "%PKG_WWW%"
11prefix = "/"
12licenselogic = "single"
13licenses = [ BSD2CLAUSE ]
14desc = <<EOD
15%DESC%
16EOD
17scripts: {
18	# XXX If pkg picks up a mechanism to detect in the post-install script
19	# files being added or removed, we should use it instead to gate the
20	# rehash.
21	post-install = <<EOD
22	[ -x /usr/sbin/certctl ] && env DESTDIR=${PKG_ROOTDIR} \
23	    /usr/sbin/certctl rehash
24EOD
25}
26