arm bulk build report

2023-03-21 Thread phessler
bulk build on armv7.ports.openbsd.org
started on  Tue Feb 21 14:10:31 MST 2023
finished at Tue Mar 21 18:15:20 MDT 2023
lasted 28D03h04m
done with kern.version=OpenBSD 7.2-current (GENERIC) #107: Mon Feb 20 09:38:56 
MST 2023

built packages:8602
Feb 21:417
Feb 22:214
Feb 23:100
Feb 24:282
Feb 25:257
Feb 26:42
Feb 27:104
Feb 28:291
Mar 1:2533
Mar 2:2834
Mar 3:139
Mar 4:232
Mar 5:134
Mar 6:158
Mar 7:276
Mar 8:405
Mar 9:183
Mar 10:278
Mar 11:302
Mar 12:265
Mar 13:199
Mar 14:232
Mar 15:193
Mar 16:215
Mar 17:217
Mar 18:270
Mar 19:218
Mar 20:613
Mar 21:2198


critical path missing pkgs:  
http://build-failures.rhaalovely.net/arm/2023-02-21/summary.log

build failures: 54
http://build-failures.rhaalovely.net/arm/2023-02-21/audio/pulseaudio.log
http://build-failures.rhaalovely.net/arm/2023-02-21/databases/pgbackrest.log
http://build-failures.rhaalovely.net/arm/2023-02-21/devel/boost.log
http://build-failures.rhaalovely.net/arm/2023-02-21/devel/dyncall.log
http://build-failures.rhaalovely.net/arm/2023-02-21/devel/liboil.log
http://build-failures.rhaalovely.net/arm/2023-02-21/devel/mtxclient.log
http://build-failures.rhaalovely.net/arm/2023-02-21/devel/ptlib.log
http://build-failures.rhaalovely.net/arm/2023-02-21/devel/remake.log
http://build-failures.rhaalovely.net/arm/2023-02-21/devel/xsd.log
http://build-failures.rhaalovely.net/arm/2023-02-21/editors/micro.log
http://build-failures.rhaalovely.net/arm/2023-02-21/emulators/dgen-sdl.log
http://build-failures.rhaalovely.net/arm/2023-02-21/emulators/higan.log
http://build-failures.rhaalovely.net/arm/2023-02-21/emulators/ppsspp.log
http://build-failures.rhaalovely.net/arm/2023-02-21/emulators/spike.log
http://build-failures.rhaalovely.net/arm/2023-02-21/games/barony.log
http://build-failures.rhaalovely.net/arm/2023-02-21/games/godot.log
http://build-failures.rhaalovely.net/arm/2023-02-21/games/hyperrogue.log
http://build-failures.rhaalovely.net/arm/2023-02-21/games/stockfish.log
http://build-failures.rhaalovely.net/arm/2023-02-21/graphics/babl.log
http://build-failures.rhaalovely.net/arm/2023-02-21/inputmethods/uim.log
http://build-failures.rhaalovely.net/arm/2023-02-21/lang/STk.log
http://build-failures.rhaalovely.net/arm/2023-02-21/lang/hashlink.log
http://build-failures.rhaalovely.net/arm/2023-02-21/lang/janet.log
http://build-failures.rhaalovely.net/arm/2023-02-21/lang/parrot.log
http://build-failures.rhaalovely.net/arm/2023-02-21/lang/python/3.11,-gdbm.log
http://build-failures.rhaalovely.net/arm/2023-02-21/lang/racket-minimal.log
http://build-failures.rhaalovely.net/arm/2023-02-21/lang/swi-prolog.log
http://build-failures.rhaalovely.net/arm/2023-02-21/mail/bogofilter,db4.log
http://build-failures.rhaalovely.net/arm/2023-02-21/mail/courier-unicode.log
http://build-failures.rhaalovely.net/arm/2023-02-21/math/lean.log
http://build-failures.rhaalovely.net/arm/2023-02-21/math/mathomatic.log
http://build-failures.rhaalovely.net/arm/2023-02-21/misc/astrolog.log
http://build-failures.rhaalovely.net/arm/2023-02-21/misc/osinfo/libosinfo.log
http://build-failures.rhaalovely.net/arm/2023-02-21/misc/osinfo/osinfo-db-tools.log
http://build-failures.rhaalovely.net/arm/2023-02-21/multimedia/libquicktime.log
http://build-failures.rhaalovely.net/arm/2023-02-21/net/bro.log
http://build-failures.rhaalovely.net/arm/2023-02-21/net/tailscale.log
http://build-failures.rhaalovely.net/arm/2023-02-21/net/tdlib.log
http://build-failures.rhaalovely.net/arm/2023-02-21/net/ucspi-tools.log
http://build-failures.rhaalovely.net/arm/2023-02-21/plan9/drawterm.log
http://build-failures.rhaalovely.net/arm/2023-02-21/print/foo2zjs.log
http://build-failures.rhaalovely.net/arm/2023-02-21/security/foremost.log
http://build-failures.rhaalovely.net/arm/2023-02-21/security/step-cli.log
http://build-failures.rhaalovely.net/arm/2023-02-21/sysutils/autossh.log
http://build-failures.rhaalovely.net/arm/2023-02-21/sysutils/firmware/apple-boot.log
http://build-failures.rhaalovely.net/arm/2023-02-21/sysutils/libvirt.log
http://build-failures.rhaalovely.net/arm/2023-02-21/sysutils/login_krb5.log
http://build-failures.rhaalovely.net/arm/2023-02-21/sysutils/planor.log
http://build-failures.rhaalovely.net/arm/2023-02-21/sysutils/rancid.log
http://build-failures.rhaalovely.net/arm/2023-02-21/telephony/kamailio.log
http://build-failures.rhaalovely.net/arm/2023-02-21/x11/gnustep/libobjc2.log
http://build-failures.rhaalovely.net/arm/2023-02-21/x11/jgmenu.log
http://build-failures.rhaalovely.net/arm/2023-02-21/x11/qt5/qtbase.log
http://build-failures.rhaalovely.net/arm/2023-02-21/x11/qt6/qtbase.log

recurrent failures
 failures/audio/pulseaudio.log
 failures/databases/pgbackrest.log
 failures/devel/boost.log
 failures/devel/dyncall.log
 failures/devel/liboil.log
 failures/games/hyperrogue.log
 failures/games/stockfish.log
 failures/graphics/babl.log
 failures/inputmethods/uim.log
 failures/lang/STk.log
 failures/lang/hashlink.log
 failures/lang/swi-prolog.log
 failures/mail/bogofilter,db4.log
 

CVS: cvs.openbsd.org: ports

2023-03-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/03/21 17:59:17

Added files:
net/ettercap/patches: patch-plug-ins_sslstrip_sslstrip_c 

Log message:
patch out broken libcurl version check in ettercap.



maintainer update net/miniflux 2.0.41 --> 2.0.43

2023-03-21 Thread Paco Esteban
Hi ports@,

This is an update for net/miniflux to its latest version 2.0.43
Find the changes to the software here:
https://github.com/miniflux/v2/releases

The most important ones being fixes for CVE-2023-27592 (XSS) and
CVE-2023-27591 (bug in the /metrics endpoint ip ACL).

Nothing special on the port itself.

Builds and works for me on amd64.  Any tests appreciated.

ok to commit after 7.3 release ?

diff /usr/ports
commit - 1819879c6cf48bfe115a14d33773d2d1c609c294
path + /usr/ports
blob - 843078ca31d666988f36e6e144940c8dac7876ce
file + net/miniflux/Makefile
--- net/miniflux/Makefile
+++ net/miniflux/Makefile
@@ -1,10 +1,10 @@
 COMMENT =  minimalist and opinionated feed reader
 
 MODGO_MODNAME =miniflux.app
-MODGO_VERSION =v0.0.0-20221210184534-e12c263fc9a6
+MODGO_VERSION =v0.0.0-20230317023420-ab209df78f41
 
 DISTNAME = miniflux.app-${MODGO_VERSION}
-V =2.0.41.20221012
+V =2.0.43.20230317
 PKGNAME =  miniflux-${V}
 
 CATEGORIES =   net www
blob - 1896cfcf0cf9da7f3021e2cc1367621b6d5c0676
file + net/miniflux/distinfo
--- net/miniflux/distinfo
+++ net/miniflux/distinfo
@@ -43,8 +43,8 @@ SHA256 (go_modules/github.com/!puerkito!bio/goquery/@v
 SHA256 (go_modules/github.com/!burnt!sushi/toml/@v/v0.3.1.zip) = 
gVxuWUdF8tiEL/mksFacZpXmzf1eB+Wz2Y0GtyykHjw=
 SHA256 
(go_modules/github.com/!burnt!sushi/xgb/@v/v0.0.0-20160522181843-27f122750802.mod)
 = luveICsJL29NHzkwvAfPGKVpmZjd6lG5T+hYETspqNg=
 SHA256 
(go_modules/github.com/!burnt!sushi/xgb/@v/v0.0.0-20160522181843-27f122750802.zip)
 = 9Slix/vsqB6op3fR+LHx0lgD3EN/u0kPJTNEIyiEMo4=
-SHA256 (go_modules/github.com/!puerkito!bio/goquery/@v/v1.8.0.mod) = 
9ODp3XSmZDInGhV6UP+X4ui7RwyDLPKbDtu5jrZfKRM=
-SHA256 (go_modules/github.com/!puerkito!bio/goquery/@v/v1.8.0.zip) = 
rKxrkfAjnae0QvXiNsLVrccM2E/PKk25LiPlXIgCVyA=
+SHA256 (go_modules/github.com/!puerkito!bio/goquery/@v/v1.8.1.mod) = 
PdJrWoVK5qjme4hGGMZqgUbSeLV9376VsbWDWV5lIfo=
+SHA256 (go_modules/github.com/!puerkito!bio/goquery/@v/v1.8.1.zip) = 
mHy89bC7F4vWBNfgA2iLfRttK0QgiWu3Kx+RGMxtu1c=
 SHA256 
(go_modules/github.com/alecthomas/template/@v/v0.0.0-20160405071501-a0175ee3bccc.mod)
 = wCGTza/yP3AiRZc5CDL1aCUK84T5jcQ3iutb+P7GkPw=
 SHA256 
(go_modules/github.com/alecthomas/template/@v/v0.0.0-20190718012654-fb15b899a751.mod)
 = wCGTza/yP3AiRZc5CDL1aCUK84T5jcQ3iutb+P7GkPw=
 SHA256 
(go_modules/github.com/alecthomas/template/@v/v0.0.0-20190718012654-fb15b899a751.zip)
 = JeO+cZKTLRMNCvMc5bzdroh2R7pK/PsyAJw7m3nbvbM=
@@ -82,16 +82,16 @@ SHA256 (go_modules/github.com/dustin/go-humanize/@v/v1
 SHA256 (go_modules/github.com/davecgh/go-spew/@v/v1.1.1.zip) = 
a0SoQ5UfNxtwEMdU7MPKvv6BXVztHFuUCfstaX6KiQ0=
 SHA256 (go_modules/github.com/djherbis/atime/@v/v1.1.0.mod) = 
eeTo1yaP0hOZYOMTL2GJFTpskpSMtwZRii7NChkrb6I=
 SHA256 (go_modules/github.com/djherbis/atime/@v/v1.1.0.zip) = 
GVzrzOttdjKPXl03MVS1xGpqm/ayeoj5wBWCdqB8fEE=
-SHA256 (go_modules/github.com/dustin/go-humanize/@v/v1.0.0.mod) = 
FJ48xMUIb+BmBL4L8WJg84gb16+CtB5I2Skeu1oM2Ds=
-SHA256 (go_modules/github.com/dustin/go-humanize/@v/v1.0.0.zip) = 
4BkW4IKmZG6hLXgA13r0MEXCcoT/Kgp340hFCZicwQc=
+SHA256 (go_modules/github.com/dustin/go-humanize/@v/v1.0.1.mod) = 
QyWZnQpoQQMSWKJWHCKHnZ+993q8azKhexy27fCBD7I=
+SHA256 (go_modules/github.com/dustin/go-humanize/@v/v1.0.1.zip) = 
MZQE6oTIpOLT2D8wmIsAbn3QSXbePhoakEhK2UZ5+kY=
 SHA256 (go_modules/github.com/envoyproxy/go-control-plane/@v/v0.9.0.mod) = 
Lg88WUDGkwvOA/DIzRck3ZPU0wxrHFri7k4wOfAhXAc=
 SHA256 
(go_modules/github.com/envoyproxy/go-control-plane/@v/v0.9.1-0.20191026205805-5f8ba28d4473.mod)
 = Lg88WUDGkwvOA/DIzRck3ZPU0wxrHFri7k4wOfAhXAc=
 SHA256 (go_modules/github.com/envoyproxy/go-control-plane/@v/v0.9.4.mod) = 
Ywn3UvfUW3TJfj+ODlT8R+YE2WW1KOYPpopGMX7LRNw=
 SHA256 (go_modules/github.com/envoyproxy/go-control-plane/@v/v0.9.4.zip) = 
X43MTOL1hLDI2qFj002QUGu9wP1bNJ9c/CDhqDrImJI=
 SHA256 (go_modules/github.com/envoyproxy/protoc-gen-validate/@v/v0.1.0.mod) = 
yOLhv5Ma0xq0paMmc+/3ZDmPv5y8bDG78AXHyQT8aao=
 SHA256 (go_modules/github.com/envoyproxy/protoc-gen-validate/@v/v0.1.0.zip) = 
7FJh87vEJtceK+THYGO6EkYMXSeEXWMHY+npEexHaK8=
-SHA256 (go_modules/github.com/fsnotify/fsnotify/@v/v1.5.4.mod) = 
ot9L00+2Dm7S9LU/jl/jHkX7u87S5QLJ3LqLNPx2+ec=
-SHA256 (go_modules/github.com/fsnotify/fsnotify/@v/v1.5.4.zip) = 
sWWsMRbTaLrTPk9DPt6L281Z+sj+IuEXMA5Z0M/XR8E=
+SHA256 (go_modules/github.com/fsnotify/fsnotify/@v/v1.6.0.mod) = 
g79R/WDCioETn4QYnHuj6diP280g+v1YOSy3ZQGmGmQ=
+SHA256 (go_modules/github.com/fsnotify/fsnotify/@v/v1.6.0.zip) = 
fUQI8S/8OBBuNYJERGhRooB37YDjwJQOmODjMrPtQ6s=
 SHA256 
(go_modules/github.com/go-gl/glfw/@v/v0.0.0-20190409004039-e6da0acd62b1.mod) = 
UQstVL8si0jvh8XQVXb4dxIkx+fuKoWlqX6gGSVgPrc=
 SHA256 
(go_modules/github.com/go-gl/glfw/@v/v0.0.0-20190409004039-e6da0acd62b1.zip) = 
lsaUxC57hm6o4m3Ei2EsTaqFgs5h/e776SwaTEYWMWk=
 SHA256 
(go_modules/github.com/go-gl/glfw/v3.3/glfw/@v/v0.0.0-20191125211704-12ad95a8df72.mod)
 = 1WNuRK+jDUmMutczAQLwzsjeXbXGpwN25pxs/j4UNco=
@@ -286,10 

Re: net/ngtcp2 with GnuTLS support

2023-03-21 Thread Stuart Henderson
On 2023/03/22 03:15, Joel Sing wrote:
> 
> I'm not sure I understand the actual end goal here - what functionality
> does this provide that does not already exist?

Sadly these aren't just different pluggable crypto backends that can be
used interchangeably; software using ngtcp2 links to one of the backend
.so and there are some backend-specific functions, and some software
doesn't support all backends.



Re: net/ngtcp2 with GnuTLS support

2023-03-21 Thread David Vasek

On 2023-03-21 17:15, Joel Sing wrote:

On 23-03-21 11:49:19, A Tammy wrote:

On 3/21/23 11:28, Stuart Henderson wrote:
> On 2023/03/21 15:53, David Vasek wrote:
>> On 2023-03-21 15:32, A Tammy wrote:
>>> On 3/21/23 08:26, David Vasek wrote:
 Hello,

 more apps start using QUIC with GnuTLS. Port net/ngtcp2 can support
> Any specific examples of software doing this?


I'm not sure I understand the actual end goal here - what functionality
does this provide that does not already exist?


net/knot was the intended target. As far as I know, it (its upstream
development branch) doesn't support ngtcp2 with openssl backend. It 
works

with GnuTLS backend only.

I have completely overlooked the issue with other packages 
autoconfiguration.

Now I see it.

Regards,
David



Re: net/ngtcp2 with GnuTLS support

2023-03-21 Thread Joel Sing
On 23-03-21 11:49:19, A Tammy wrote:
> On 3/21/23 11:28, Stuart Henderson wrote:
> > On 2023/03/21 15:53, David Vasek wrote:
> >> On 2023-03-21 15:32, A Tammy wrote:
> >>> On 3/21/23 08:26, David Vasek wrote:
>  Hello,
> 
>  more apps start using QUIC with GnuTLS. Port net/ngtcp2 can support
> > Any specific examples of software doing this?

I'm not sure I understand the actual end goal here - what functionality
does this provide that does not already exist?

>  GnuTLS in a subpackage with no change in the main package. However,
>  security/gnutls is needed for building the port with this diff and
>  as a
>  dependency for the new subpackage net/ngtcp2-gnutls. I have also
>  changed
>  the package description, but didn't touch the style of the
>  Makefile yet.
>  REVISON's of both subpackages set to he same value. Tested on amd64 so
>  far.
> >>> A lot of packages will automatically pick this up. This needs to be
> >>> turned on with care.
> >> It shouldn't pick anything automatically. The main package ngtcp2 will
> >> remain
> >> the same as before *), while the new subpackage ngtcp2-gnutls still needs
> >> to be
> >> explicitly requested.
> > In a bulk build, ports are built in parallel and packages are installed
> > and uninstalled all the time.
> >
> > If another port will pick this up _if present at configure/build time_, 
> > it must either be listed as a dependency or expicitly disabled (via
> > configure arguments, env vars, patches or whatever).
> >
> > (Additionally, I think that we will want to be sure that if *both*
> > crypto helpers are installed, the one using libressl as backend is
> > preferred where possible).
> 
> Yes, e.g. I know that net/knot prefers the gnutls one over the openssl one.
> 
> I prefer to use knot with openssl, but its just a preference, am open to
> moving to gnutls.
> 
> iirc curl also has some tie ins with ngtcp2, tb@ and jsing@ (cc'd) would
> know more.
> 
> >
> >> The only nuisance seems to be that there is additional dependency for
> >> building
> >> this port.
> >>
> >> *) With the exception of the time stamps, therefore I've set both
> >> REVISIONs to 1.
> > The PKGPATH changes, so additionally it needs "@pkgpath net/ngtcp2" in
> > PLIST-main otherwise updates will fail, also any ports depending on
> > it need a revision bump.
> >
> > +LIB_DEPENDS-gnutls=${BASE_PKGPATH},-main security/gnutls
> > +CONFIGURE_ARGS+=   --with-openssl --with-gnutls
> >
> > break the two entries in these out onto separate lines.
> >



Re: net/ngtcp2 with GnuTLS support

2023-03-21 Thread Christian Weisgerber
David Vasek:

> more apps start using QUIC with GnuTLS. Port net/ngtcp2 can support
> GnuTLS in a subpackage with no change in the main package. However,
> security/gnutls is needed for building the port with this diff and as a
> dependency for the new subpackage net/ngtcp2-gnutls.

That creates a dependency loop: gnutls requires brotli, which
requires cmake, which requires curl.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: net/ngtcp2 with GnuTLS support

2023-03-21 Thread A Tammy


On 3/21/23 11:28, Stuart Henderson wrote:
> On 2023/03/21 15:53, David Vasek wrote:
>> On 2023-03-21 15:32, A Tammy wrote:
>>> On 3/21/23 08:26, David Vasek wrote:
 Hello,

 more apps start using QUIC with GnuTLS. Port net/ngtcp2 can support
> Any specific examples of software doing this?
>
 GnuTLS in a subpackage with no change in the main package. However,
 security/gnutls is needed for building the port with this diff and
 as a
 dependency for the new subpackage net/ngtcp2-gnutls. I have also
 changed
 the package description, but didn't touch the style of the
 Makefile yet.
 REVISON's of both subpackages set to he same value. Tested on amd64 so
 far.
>>> A lot of packages will automatically pick this up. This needs to be
>>> turned on with care.
>> It shouldn't pick anything automatically. The main package ngtcp2 will
>> remain
>> the same as before *), while the new subpackage ngtcp2-gnutls still needs
>> to be
>> explicitly requested.
> In a bulk build, ports are built in parallel and packages are installed
> and uninstalled all the time.
>
> If another port will pick this up _if present at configure/build time_, 
> it must either be listed as a dependency or expicitly disabled (via
> configure arguments, env vars, patches or whatever).
>
> (Additionally, I think that we will want to be sure that if *both*
> crypto helpers are installed, the one using libressl as backend is
> preferred where possible).

Yes, e.g. I know that net/knot prefers the gnutls one over the openssl one.

I prefer to use knot with openssl, but its just a preference, am open to
moving to gnutls.

iirc curl also has some tie ins with ngtcp2, tb@ and jsing@ (cc'd) would
know more.

>
>> The only nuisance seems to be that there is additional dependency for
>> building
>> this port.
>>
>> *) With the exception of the time stamps, therefore I've set both
>> REVISIONs to 1.
> The PKGPATH changes, so additionally it needs "@pkgpath net/ngtcp2" in
> PLIST-main otherwise updates will fail, also any ports depending on
> it need a revision bump.
>
> +LIB_DEPENDS-gnutls=${BASE_PKGPATH},-main security/gnutls
> +CONFIGURE_ARGS+=   --with-openssl --with-gnutls
>
> break the two entries in these out onto separate lines.
>



CVS: cvs.openbsd.org: ports

2023-03-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/03/21 09:40:24

Added files:
math/R/patches : patch-configure 

Log message:
fix bogus configure check in R: there are no API changes between curl 7.x and
(25th anniversary edition) 8.x so no reason to reject it.  ok naddy@



Re: net/ngtcp2 with GnuTLS support

2023-03-21 Thread Stuart Henderson
On 2023/03/21 15:53, David Vasek wrote:
> On 2023-03-21 15:32, A Tammy wrote:
> > On 3/21/23 08:26, David Vasek wrote:
> > > Hello,
> > > 
> > > more apps start using QUIC with GnuTLS. Port net/ngtcp2 can support

Any specific examples of software doing this?

> > > GnuTLS in a subpackage with no change in the main package. However,
> > > security/gnutls is needed for building the port with this diff and
> > > as a
> > > dependency for the new subpackage net/ngtcp2-gnutls. I have also
> > > changed
> > > the package description, but didn't touch the style of the
> > > Makefile yet.
> > > REVISON's of both subpackages set to he same value. Tested on amd64 so
> > > far.
> > 
> > A lot of packages will automatically pick this up. This needs to be
> > turned on with care.
> 
> It shouldn't pick anything automatically. The main package ngtcp2 will
> remain
> the same as before *), while the new subpackage ngtcp2-gnutls still needs
> to be
> explicitly requested.

In a bulk build, ports are built in parallel and packages are installed
and uninstalled all the time.

If another port will pick this up _if present at configure/build time_, 
it must either be listed as a dependency or expicitly disabled (via
configure arguments, env vars, patches or whatever).

(Additionally, I think that we will want to be sure that if *both*
crypto helpers are installed, the one using libressl as backend is
preferred where possible).

> The only nuisance seems to be that there is additional dependency for
> building
> this port.
> 
> *) With the exception of the time stamps, therefore I've set both
> REVISIONs to 1.

The PKGPATH changes, so additionally it needs "@pkgpath net/ngtcp2" in
PLIST-main otherwise updates will fail, also any ports depending on
it need a revision bump.

+LIB_DEPENDS-gnutls=${BASE_PKGPATH},-main security/gnutls
+CONFIGURE_ARGS+=   --with-openssl --with-gnutls

break the two entries in these out onto separate lines.



Re: UPDATE: cad/geda-gaf 1.10.2

2023-03-21 Thread Sven M . Hallberg
Oops,

I had removed patch-build-tools_icon-theme-installer (hunk below), but
after a closer look, I think it should stay.

The patch stops the script from trying to find the executable files for
the "mkinstalldirs" and "INSTALL_DATA" commands as they are passed in
from the Makefile. Instead, it will just test that they were provided
at all.

The problem is/was (going by the patch message), that the original
script would fail if these commands are not given with absolute paths.
Since the previous version, upstream has amended one of the two sites
with a call to 'which' to expand simple commands to their full path.
Nevertheless, I feel like just testing for the presence of the argument
is preferable because:

   (a) The "echo | cut" logic produces bogus results. When tracing
   through the various definitions that end up in, e.g.
   gschem/data/Makefile, at least for mkinstalldirs, the actual
   argument for me ends up being "/bin/sh ...". So all that is being
   tested is that the shell exists and is executable.

   (b) The script does check these commands for failure (and aborts)
   when it actually calls them.

-p

Sven M. Hallberg on Tue, Mar 21 2023:
> Index: cad/geda-gaf/patches/patch-build-tools_icon-theme-installer
> ===
> RCS file: cad/geda-gaf/patches/patch-build-tools_icon-theme-installer
> diff -N cad/geda-gaf/patches/patch-build-tools_icon-theme-installer
> --- cad/geda-gaf/patches/patch-build-tools_icon-theme-installer   11 Mar 
> 2022 18:24:27 -  1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,19 +0,0 @@
> -Don't require an absolute path for the install command.
> -
>  build-tools/icon-theme-installer.origSun Apr  4 23:09:29 2010
> -+++ build-tools/icon-theme-installer Sun Apr  4 23:10:06 2010
> -@@ -103,12 +103,12 @@ if test -z "$INSTALL_BASE_DIR"; then
> - exit 1
> - fi
> - 
> --if test ! -x `echo "$MKINSTALLDIRS_EXEC" | cut -f1 -d' '`; then
> -+if test -z "$MKINSTALLDIRS_EXEC"; then
> - echo "Cannot find '$MKINSTALLDIRS_EXEC'; You probably want to pass -m 
> \$(mkinstalldirs)"
> - exit 1
> - fi
> - 
> --if test ! -x `echo "$INSTALL_DATA_EXEC" | cut -f1 -d' '`; then
> -+if test -z "$INSTALL_DATA_EXEC"; then
> - echo "Cannot find '$INSTALL_DATA_EXEC'; You probably want to pass -x 
> \$(INSTALL_DATA)"
> - exit 1
> - fi



Re: net/ngtcp2 with GnuTLS support

2023-03-21 Thread David Vasek

On 2023-03-21 15:32, A Tammy wrote:

On 3/21/23 08:26, David Vasek wrote:

Hello,

more apps start using QUIC with GnuTLS. Port net/ngtcp2 can support
GnuTLS in a subpackage with no change in the main package. However,
security/gnutls is needed for building the port with this diff and as 
a
dependency for the new subpackage net/ngtcp2-gnutls. I have also 
changed
the package description, but didn't touch the style of the Makefile 
yet.

REVISON's of both subpackages set to he same value. Tested on amd64 so
far.


A lot of packages will automatically pick this up. This needs to be
turned on with care.


It shouldn't pick anything automatically. The main package ngtcp2 will 
remain
the same as before *), while the new subpackage ngtcp2-gnutls still 
needs to be

explicitly requested.

The only nuisance seems to be that there is additional dependency for 
building

this port.

*) With the exception of the time stamps, therefore I've set both 
REVISIONs to 1.


Regards,
David



Re: net/ngtcp2 with GnuTLS support

2023-03-21 Thread A Tammy


On 3/21/23 08:26, David Vasek wrote:
> Hello,
>
> more apps start using QUIC with GnuTLS. Port net/ngtcp2 can support
> GnuTLS in a subpackage with no change in the main package. However,
> security/gnutls is needed for building the port with this diff and as a
> dependency for the new subpackage net/ngtcp2-gnutls. I have also changed
> the package description, but didn't touch the style of the Makefile yet.
> REVISON's of both subpackages set to he same value. Tested on amd64 so
> far.

A lot of packages will automatically pick this up. This needs to be
turned on with care.

>
> Please Cc: me in replies, I'm currently not subscribed to ports@.
> Thanks.
>
> Regards,
> David
>
> Index: ports/net/ngtcp2/Makefile
> ===
> RCS file: /cvs/ports/net/ngtcp2/Makefile,v
> retrieving revision 1.6
> diff -u -p -r1.6 Makefile
> --- ports/net/ngtcp2/Makefile    9 Feb 2023 22:26:17 -    1.6
> +++ ports/net/ngtcp2/Makefile    24 Feb 2023 22:53:44 -
> @@ -1,10 +1,16 @@
> -COMMENT=    implementation of the RFC 9000 QUIC protocol
> +COMMENT-main=    implementation of the RFC 9000 QUIC protocol
> +COMMENT-gnutls=    GnuTLS support for ngtcp2
>
>   V=    0.13.1
>   DISTNAME=    ngtcp2-$V
> +REVISION-main=    1
> +REVISION-gnutls=    1
> +
> +MULTI_PACKAGES=    -main -gnutls
>
>   SHARED_LIBS +=    ngtcp2    1.0  # 10.1
>   SHARED_LIBS +=    ngtcp2_crypto_openssl    0.0  # 4.0
> +SHARED_LIBS +=    ngtcp2_crypto_gnutls    0.0  # 4.0
>
>   CATEGORIES=    net
>
> @@ -13,7 +19,10 @@ HOMEPAGE=    https://nghttp2.org/ngtcp2/
>   # MIT
>   PERMIT_PACKAGE=    Yes
>
> -WANTLIB +=    crypto ssl
> +LIB_DEPENDS-gnutls=    ${BASE_PKGPATH},-main security/gnutls
> +
> +WANTLIB-main +=    crypto ssl
> +WANTLIB-gnutls +=    gnutls ngtcp2
>
>   MASTER_SITES=   
> https://github.com/ngtcp2/ngtcp2/releases/download/v$V/
>
> @@ -21,7 +30,7 @@ SEPARATE_BUILD=    Yes
>   DEBUG_PACKAGES=    ${BUILD_PACKAGES}
>
>   CONFIGURE_STYLE=    gnu
> -CONFIGURE_ARGS+=    --with-openssl
> +CONFIGURE_ARGS+=    --with-openssl --with-gnutls
>
>   # Don't pull this in as BUILD_DEPENDS to reduce dependencies on
>   # the path to building curl->cmake.
> Index: ports/net/ngtcp2/pkg/DESCR
> ===
> RCS file: ports/net/ngtcp2/pkg/DESCR
> diff -N ports/net/ngtcp2/pkg/DESCR
> --- ports/net/ngtcp2/pkg/DESCR    9 Nov 2022 11:56:28 -    1.1.1.1
> +++ /dev/null    1 Jan 1970 00:00:00 -
> @@ -1 +0,0 @@
> -implementation of the RFC 9000 QUIC protocol
> Index: ports/net/ngtcp2/pkg/DESCR-gnutls
> ===
> RCS file: ports/net/ngtcp2/pkg/DESCR-gnutls
> diff -N ports/net/ngtcp2/pkg/DESCR-gnutls
> --- /dev/null    1 Jan 1970 00:00:00 -
> +++ ports/net/ngtcp2/pkg/DESCR-gnutls    24 Feb 2023 22:53:44 -
> @@ -0,0 +1,2 @@
> +This packages contains the GnuTLS backend for ngtcp2, a QUIC
> +protocol implementation.
> Index: ports/net/ngtcp2/pkg/DESCR-main
> ===
> RCS file: ports/net/ngtcp2/pkg/DESCR-main
> diff -N ports/net/ngtcp2/pkg/DESCR-main
> --- /dev/null    1 Jan 1970 00:00:00 -
> +++ ports/net/ngtcp2/pkg/DESCR-main    24 Feb 2023 22:53:44 -
> @@ -0,0 +1,4 @@
> +ngtcp2 is an implementation of QUIC, a UDP-based secure general-purpose
> +transport protocol. QUIC is published as RFC 9000.
> +
> +This packages also contains the LibreSSL backend for ngtcp2.
> Index: ports/net/ngtcp2/pkg/PLIST
> ===
> RCS file: ports/net/ngtcp2/pkg/PLIST
> diff -N ports/net/ngtcp2/pkg/PLIST
> --- ports/net/ngtcp2/pkg/PLIST    9 Nov 2022 11:56:28 -    1.1.1.1
> +++ /dev/null    1 Jan 1970 00:00:00 -
> @@ -1,15 +0,0 @@
> -include/ngtcp2/
> -include/ngtcp2/ngtcp2.h
> -include/ngtcp2/ngtcp2_crypto.h
> -include/ngtcp2/ngtcp2_crypto_openssl.h
> -include/ngtcp2/version.h
> -@static-lib lib/libngtcp2.a
> -lib/libngtcp2.la
> -@lib lib/libngtcp2.so.${LIBngtcp2_VERSION}
> -@static-lib lib/libngtcp2_crypto_openssl.a
> -lib/libngtcp2_crypto_openssl.la
> -@lib
> lib/libngtcp2_crypto_openssl.so.${LIBngtcp2_crypto_openssl_VERSION}
> -lib/pkgconfig/libngtcp2.pc
> -lib/pkgconfig/libngtcp2_crypto_openssl.pc
> -share/doc/ngtcp2/
> -share/doc/ngtcp2/README.rst
> Index: ports/net/ngtcp2/pkg/PLIST-gnutls
> ===
> RCS file: ports/net/ngtcp2/pkg/PLIST-gnutls
> diff -N ports/net/ngtcp2/pkg/PLIST-gnutls
> --- /dev/null    1 Jan 1970 00:00:00 -
> +++ ports/net/ngtcp2/pkg/PLIST-gnutls    24 Feb 2023 22:53:44 -
> @@ -0,0 +1,6 @@
> +include/ngtcp2/
> +include/ngtcp2/ngtcp2_crypto_gnutls.h
> +@static-lib lib/libngtcp2_crypto_gnutls.a
> +lib/libngtcp2_crypto_gnutls.la
> +@lib lib/libngtcp2_crypto_gnutls.so.${LIBngtcp2_crypto_gnutls_VERSION}
> 

net/ngtcp2 with GnuTLS support

2023-03-21 Thread David Vasek

Hello,

more apps start using QUIC with GnuTLS. Port net/ngtcp2 can support
GnuTLS in a subpackage with no change in the main package. However,
security/gnutls is needed for building the port with this diff and as a
dependency for the new subpackage net/ngtcp2-gnutls. I have also changed
the package description, but didn't touch the style of the Makefile yet.
REVISON's of both subpackages set to he same value. Tested on amd64 so
far.

Please Cc: me in replies, I'm currently not subscribed to ports@.
Thanks.

Regards,
David

Index: ports/net/ngtcp2/Makefile
===
RCS file: /cvs/ports/net/ngtcp2/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- ports/net/ngtcp2/Makefile   9 Feb 2023 22:26:17 -   1.6
+++ ports/net/ngtcp2/Makefile   24 Feb 2023 22:53:44 -
@@ -1,10 +1,16 @@
-COMMENT=   implementation of the RFC 9000 QUIC protocol
+COMMENT-main=  implementation of the RFC 9000 QUIC protocol
+COMMENT-gnutls=GnuTLS support for ngtcp2

  V=0.13.1
  DISTNAME= ngtcp2-$V
+REVISION-main= 1
+REVISION-gnutls=   1
+
+MULTI_PACKAGES=-main -gnutls

  SHARED_LIBS +=ngtcp2  1.0  # 10.1
  SHARED_LIBS +=ngtcp2_crypto_openssl   0.0  # 4.0
+SHARED_LIBS += ngtcp2_crypto_gnutls0.0  # 4.0

  CATEGORIES=   net

@@ -13,7 +19,10 @@ HOMEPAGE=https://nghttp2.org/ngtcp2/
  # MIT
  PERMIT_PACKAGE=   Yes

-WANTLIB += crypto ssl
+LIB_DEPENDS-gnutls=${BASE_PKGPATH},-main security/gnutls
+
+WANTLIB-main +=crypto ssl
+WANTLIB-gnutls +=  gnutls ngtcp2

  MASTER_SITES= https://github.com/ngtcp2/ngtcp2/releases/download/v$V/

@@ -21,7 +30,7 @@ SEPARATE_BUILD=   Yes
  DEBUG_PACKAGES=   ${BUILD_PACKAGES}

  CONFIGURE_STYLE=  gnu
-CONFIGURE_ARGS+=   --with-openssl
+CONFIGURE_ARGS+=   --with-openssl --with-gnutls

  # Don't pull this in as BUILD_DEPENDS to reduce dependencies on
  # the path to building curl->cmake.
Index: ports/net/ngtcp2/pkg/DESCR
===
RCS file: ports/net/ngtcp2/pkg/DESCR
diff -N ports/net/ngtcp2/pkg/DESCR
--- ports/net/ngtcp2/pkg/DESCR  9 Nov 2022 11:56:28 -   1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1 +0,0 @@
-implementation of the RFC 9000 QUIC protocol
Index: ports/net/ngtcp2/pkg/DESCR-gnutls
===
RCS file: ports/net/ngtcp2/pkg/DESCR-gnutls
diff -N ports/net/ngtcp2/pkg/DESCR-gnutls
--- /dev/null   1 Jan 1970 00:00:00 -
+++ ports/net/ngtcp2/pkg/DESCR-gnutls   24 Feb 2023 22:53:44 -
@@ -0,0 +1,2 @@
+This packages contains the GnuTLS backend for ngtcp2, a QUIC
+protocol implementation.
Index: ports/net/ngtcp2/pkg/DESCR-main
===
RCS file: ports/net/ngtcp2/pkg/DESCR-main
diff -N ports/net/ngtcp2/pkg/DESCR-main
--- /dev/null   1 Jan 1970 00:00:00 -
+++ ports/net/ngtcp2/pkg/DESCR-main 24 Feb 2023 22:53:44 -
@@ -0,0 +1,4 @@
+ngtcp2 is an implementation of QUIC, a UDP-based secure general-purpose
+transport protocol. QUIC is published as RFC 9000.
+
+This packages also contains the LibreSSL backend for ngtcp2.
Index: ports/net/ngtcp2/pkg/PLIST
===
RCS file: ports/net/ngtcp2/pkg/PLIST
diff -N ports/net/ngtcp2/pkg/PLIST
--- ports/net/ngtcp2/pkg/PLIST  9 Nov 2022 11:56:28 -   1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-include/ngtcp2/
-include/ngtcp2/ngtcp2.h
-include/ngtcp2/ngtcp2_crypto.h
-include/ngtcp2/ngtcp2_crypto_openssl.h
-include/ngtcp2/version.h
-@static-lib lib/libngtcp2.a
-lib/libngtcp2.la
-@lib lib/libngtcp2.so.${LIBngtcp2_VERSION}
-@static-lib lib/libngtcp2_crypto_openssl.a
-lib/libngtcp2_crypto_openssl.la
-@lib
lib/libngtcp2_crypto_openssl.so.${LIBngtcp2_crypto_openssl_VERSION}
-lib/pkgconfig/libngtcp2.pc
-lib/pkgconfig/libngtcp2_crypto_openssl.pc
-share/doc/ngtcp2/
-share/doc/ngtcp2/README.rst
Index: ports/net/ngtcp2/pkg/PLIST-gnutls
===
RCS file: ports/net/ngtcp2/pkg/PLIST-gnutls
diff -N ports/net/ngtcp2/pkg/PLIST-gnutls
--- /dev/null   1 Jan 1970 00:00:00 -
+++ ports/net/ngtcp2/pkg/PLIST-gnutls   24 Feb 2023 22:53:44 -
@@ -0,0 +1,6 @@
+include/ngtcp2/
+include/ngtcp2/ngtcp2_crypto_gnutls.h
+@static-lib lib/libngtcp2_crypto_gnutls.a
+lib/libngtcp2_crypto_gnutls.la
+@lib lib/libngtcp2_crypto_gnutls.so.${LIBngtcp2_crypto_gnutls_VERSION}
+lib/pkgconfig/libngtcp2_crypto_gnutls.pc
Index: ports/net/ngtcp2/pkg/PLIST-main
===
RCS file: ports/net/ngtcp2/pkg/PLIST-main
diff -N ports/net/ngtcp2/pkg/PLIST-main
--- /dev/null   1 Jan 1970 00:00:00 -
+++ ports/net/ngtcp2/pkg/PLIST-main 24 Feb 2023 22:53:44 -
@@ -0,0