summaryrefslogtreecommitdiff
path: root/devel/py-shandy-sqlfmt/Makefile
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2025-07-14 21:44:57 +0000
committerDima Panov <fluffy@FreeBSD.org>2025-09-30 11:48:54 +0300
commit56c71d0816dc8b4e53bb2a286cc798cfd33d3491 (patch)
tree3702c24ad038b3af2aaae8c56f00af7e909e232a /devel/py-shandy-sqlfmt/Makefile
parentnet-im/linux-discord: Update to 0.0.111 (diff)
security/ca_root_nss: Make unprivileged installation possibleHEADmain
The post-install and post-deinstall scripts simply invoke "certctl rehash", which of course requires root privileges. Modify them to enable unprivileged installation, useful for building VM images. For instance, FreeBSD's EC2 image builder wants to install amazon-ssm-agent, which depends on ca_root_nss. Modify the scripts to: 1. Use PKG_ROOTDIR as the root instead of assuming the default. 2. When installing, and PKG_METALOG is set, assume we're doing an unprivileged build and tell certctl to write updates to the configured METALOG. Note, the use of PKG_METALOG depends on a new pkg feature: https://github.com/freebsd/pkg/pull/2476 If an updated ca_root_nss is installed using an old pkg(8), then the PKG_METALOG variable will not be set, so there are no compatibility issues. Sponsored by: The FreeBSD Foundation Sponsored by: Klara, Inc. PR: 288243
Diffstat (limited to 'devel/py-shandy-sqlfmt/Makefile')
0 files changed, 0 insertions, 0 deletions