From: Stuart Henderson Subject: Re: nextcloud: set PORTROACH for branches To: landry@openbsd.org Cc: ports@openbsd.org, gonzalo@openbsd.org Date: Wed, 1 Jul 2026 10:19:45 +0100 On 2026/07/01 09:13, landry@openbsd.org wrote: > hi, > > as of now portroach on > https://portroach.openbsd.org/gonzalo%20l.%20r.%20%3Cgonzalo@openbsd.org%3E.html > suggests to update all nextcloud branches to 34.0.1 which is stupid, so let's > try smth "better" ? i dunno which is best between keeping the two first chars > of NC_VERSION or the last two of PKGPATH, eg limit:^${PKGPATH:C/.*\///} also > works. > > i think this should have the desired outcome but i'm not a portroach hacker. > > [09:07] dusk:~/mystuff/www/nextcloud/ $make show=PORTROACH > 1782889648===> www/nextcloud/32 > limit:^32 > 1782889648===> www/nextcloud/33 > limit:^33 > 1782889648===> www/nextcloud/34 > limit:^34 > > diff: > Index: Makefile.inc > =================================================================== > RCS file: /cvs/ports/www/nextcloud/Makefile.inc,v > diff -u -r1.5 Makefile.inc > --- Makefile.inc 27 Sep 2023 19:13:04 -0000 1.5 > +++ Makefile.inc 1 Jul 2026 07:07:36 -0000 > @@ -22,6 +22,7 @@ > > SITES= https://download.nextcloud.com/server/releases/ > > +PORTROACH= limit:^${NC_VERSION:C/^(..)\..*/\1/} needs ?= in Makefile.inc and "PORTROACH=" in 34/Makefile so that new major versions are still found, also this can be simplified: PORTROACH ?= limit:^${NC_VERSION:R} > MODULES= lang/php > > NO_BUILD= Yes >