xref: /freebsd/release/packages/certctl.ucl (revision 2008043f386721d58158e37e0d7e50df8095942d)
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