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