Ports infrastructure should set that automatically.
Could be you aren't passing the environment through correctly. If you're
using sudo, make sure you have SUDO=sudo -E in mk.conf, or if you're using
doas then make sure it has keepenv.
--
Sent from a phone, apologies for poor formatting.
On 5 June 2023 21:23:29 Jan Stary <h...@stare.cz> wrote:
This is current/amd64. I just build the rsync package
as currently tweaked for xxhash, up to make package;
now I'm trying to install it.
$ env TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ make update
===> Updating for rsync-3.2.7p0
Upgrading from rsync-3.2.7
doas (h...@box.stare.cz) password:
quirks-6.133 signed on 2023-06-04T21:20:32Z
file:/usr/ports/packages/amd64/all/rsync-3.2.7p0.tgz: unsigned package
Can't find /usr/ports/packages/amd64/all/rsync-3.2.7p0.tgz
Couldn't install rsync-3.2.7p0
Isn't TRUSTED_PKG_PATH supposed to enforce pkg_add -Dunsigned?
Also, "Can't find /usr/ports/packages/amd64/all/rsync-3.2.7p0.tgz"
seems odd as the file exists.
Jan