From c2e64f22d01737a5d0b1f31b8948e9c7f8c5ffef Mon Sep 17 00:00:00 2001 From: murilo ijanc Date: Wed, 25 Mar 2026 18:19:14 -0300 Subject: 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 --- net/tesseras-paste/pkg/PLIST | 2 ++ net/tesseras-paste/pkg/tpd.rc | 5 +++++ 2 files changed, 7 insertions(+) (limited to 'net/tesseras-paste/pkg') 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 -- cgit v1.2.3