Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145067894
D42095.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
993 B
Referenced Files
None
Subscribers
None
D42095.diff
View Options
diff --git a/release/packages/ucl/caroot.ucl b/release/packages/ucl/caroot.ucl
new file mode 100644
--- /dev/null
+++ b/release/packages/ucl/caroot.ucl
@@ -0,0 +1,10 @@
+deps {
+ "certctl": {
+ version = "${VERSION}"
+ origin = "base"
+ }
+}
+scripts: {
+ post-install = "/usr/sbin/certctl -D${PKG_ROOTDIR}/ rehash"
+ post-uninstall = "/usr/sbin/certctl -D${PKG_ROOTDIR}/ rehash"
+}
diff --git a/release/packages/ucl/certctl.ucl b/release/packages/ucl/certctl.ucl
--- a/release/packages/ucl/certctl.ucl
+++ b/release/packages/ucl/certctl.ucl
@@ -1,21 +1,6 @@
deps {
- "caroot": {
- version = "${VERSION}"
- origin = "base"
- }
-
"openssl": {
version = "${VERSION}"
origin = "base"
}
}
-
-scripts: {
- # XXX If pkg picks up a mechanism to detect in the post-install script
- # files being added or removed, we should use it instead to gate the
- # rehash.
- post-install = <<EOD
- [ -x /usr/sbin/certctl ] && env DESTDIR=${PKG_ROOTDIR} \
- /usr/sbin/certctl rehash
-EOD
-}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 16, 3:04 PM (11 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28781350
Default Alt Text
D42095.diff (993 B)
Attached To
Mode
D42095: release: Let caroot depend on certctl, not vice versa.
Attached
Detach File
Event Timeline
Log In to Comment