Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [Update] security/pizauth
To:
Landry Breuil <landry@openbsd.org>
Cc:
ports@openbsd.org
Date:
Tue, 16 Dec 2025 09:59:48 +0000

Download raw body.

Thread
On 2025/12/16 10:10, Landry Breuil wrote:
> Le Tue, Dec 16, 2025 at 08:52:33AM +0000, Laurence Tratt a écrit :
> > Please find below an update for security/pizauth. From a purely ports
> > perspective, there are no significant changes.
> 
> please don't manually merge things in crates.inc, and use the target
> that sets the licence markers..
> 
> usually (more or less from memory) the steps i do after bumping V:
> 
> make makesum
> make modcargo-gen-crates |grep ^MODCARGO > xx
> mv xx crates.inc
> make clean && make makesum
> make modcargo-gen-crates-licenses | grep ^MODCARGO > xx
> mv xx crates.inc
> 
> (you need the intermediate file otherwise crates.inc is emptied too
> early iirc.)
> 

here's my version of this bikeshed :)

$ cat bin/updcrate
#!/bin/sh -xe
[ -r crates.inc ] || exit
cvs -d anoncvs@anoncvs.spacehopper.org:/cvs di -u || true
mv crates.inc crates.inc-
> crates.inc
make makesum
make modcargo-gen-crates | grep ^MOD > crates.new
make clean
mv crates.new crates.inc
make makesum
make modcargo-gen-crates-licenses | tee crates.new
grep ^MOD crates.new > crates.inc
make clean
make patch
make update-patches && make plist