summaryrefslogtreecommitdiffstats
path: root/net/tesseras-paste/pkg
diff options
context:
space:
mode:
authormurilo ijanc2026-03-25 18:19:14 -0300
committermurilo ijanc2026-03-25 18:19:14 -0300
commitc2e64f22d01737a5d0b1f31b8948e9c7f8c5ffef (patch)
treede5f50077eade037bba1447cf3f78632ad18809b /net/tesseras-paste/pkg
parent90af880c4f43b8c5708af6712d94afc610f451df (diff)
downloadports-c2e64f22d01737a5d0b1f31b8948e9c7f8c5ffef.tar.gz
net/tesseras-paste: update port for published 0.1.0 release
- Add SITES pointing to tesseras.net/pub for tarball download - Add SEPARATE_BUILD and MODCARGO_RUSTFLAGS=-C debuginfo=0 - Bump tesseras-dht dependency from 0.1.0 to 0.1.1 - Update distinfo checksums for new tarball and crate - Fix rc_pre() to create data directory with correct ownership - Add PLIST exec-update for _tesseras -> _tpd ownership migration
Diffstat (limited to 'net/tesseras-paste/pkg')
-rw-r--r--net/tesseras-paste/pkg/PLIST2
-rw-r--r--net/tesseras-paste/pkg/tpd.rc5
2 files changed, 7 insertions, 0 deletions
diff --git a/net/tesseras-paste/pkg/PLIST b/net/tesseras-paste/pkg/PLIST
index 14d9389..08b49ba 100644
--- a/net/tesseras-paste/pkg/PLIST
+++ b/net/tesseras-paste/pkg/PLIST
@@ -5,6 +5,8 @@
@owner _tpd
@group _tpd
@sample ${LOCALSTATEDIR}/tesseras-paste/
+@comment fix owner for upgrades from tesseras-pasted (_tesseras -> _tpd)
+@exec-update chown -R _tpd:_tpd ${LOCALSTATEDIR}/tesseras-paste
@owner
@group
@bin bin/tp
diff --git a/net/tesseras-paste/pkg/tpd.rc b/net/tesseras-paste/pkg/tpd.rc
index 240edd3..7965a6d 100644
--- a/net/tesseras-paste/pkg/tpd.rc
+++ b/net/tesseras-paste/pkg/tpd.rc
@@ -8,4 +8,9 @@ daemon_user="_tpd"
rc_bg=YES
rc_reload=NO
+rc_pre() {
+ install -d -o _tpd -g _tpd -m 750 /var/tesseras-paste
+ chown -R _tpd:_tpd /var/tesseras-paste
+}
+
rc_cmd $1