Re: Question RE: Failed bulk build standard practice

2024-03-18 Thread George Koehler
On Wed, 13 Mar 2024 11:56:31 -0500
"izder456 via ports"  wrote:

> I take MAINTAINER on several ports with no ONLY_FOR_ARCH set.
> When looking through the bulk build reports in the ports@ lists this
> morning, I saw that some ports I worked on have failed on hardware I
> don't have access too.
> 
> Is there a special practice we do when this occurrs, or is the port
> just never built into binary at release for that arch?

We have a few ports that fail in every bulk (on some arch) and just
never become packages.

We have both ONLY_FOR_ARCHS and BROKEN-.  For example, lang/ldc
has ONLY_FOR_ARCHS = amd64, and lang/gambit has BROKEN-riscv64 (so
everything but riscv64 tries to build gambit).  I see that gambit
failed on powerpc, so I might want to add BROKEN-powerpc.

Some failures should not get BROKEN-.  I once saw lang/sbcl
fail in a powerpc bulk, but succeed on my powerpc at home.  I wanted
the next powerpc bulk to retry sbcl, so I didn't add BROKEN-powerpc.

Some failures are easy to fix (like adding -lm to fix undefined
"sqrt").  This might need someone with the right hardware to check
whether the diff is a fix.  If you mail a diff to ports@ then someone
might check it.

Some ports never get fixed on some archs, because too few people use
the port, and none of them run the failed arch.
--gkoehler



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Daniel Dickman
CVSROOT:/cvs
Module name:ports
Changes by: dan...@cvs.openbsd.org  2024/03/18 20:18:44

Modified files:
devel/py-nbconvert: Makefile distinfo 
devel/py-nbconvert/pkg: DESCR PLIST 
textproc/py-mistune: Makefile distinfo 
textproc/py-mistune/pkg: PLIST 

Log message:
update nbconvert to 7.16.2 and mistune to 2.0.5



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Daniel Dickman
CVSROOT:/cvs
Module name:ports
Changes by: dan...@cvs.openbsd.org  2024/03/18 19:44:14

Modified files:
net/py-zmq : Makefile distinfo 

Log message:
update py-zmq to 25.1.1 for Python 3.12 support



spyder 4 legacy port removals

2024-03-18 Thread Daniel Dickman
I'd like to remove the following ports that were needed for spyder 4 and 
are no longer needed now that we have spyder 5 in the tree.

The ports themselves are dead with spyder having moved to using active 
forks of each of the below:

- devel/py-pyls-black
- devel/py-python-language-server
- net/py-python-jsonrpc-server

ok to remove these?



net/syncthing: update to 1.27.4

2024-03-18 Thread Klemens Nanni
Relevant changes:
  Bugfixes:
  • #9369: Panic in ignore matching on invalid UTF-8 from filesystem watcher
  Enhancements:
  • #9339: File system watcher should skip ignored directories in more cases
  Other issues:
  • #9386: typo in folder_sendrecv.go refrences nonexistent type  
dbUpdateShourtcutFile

Works fine for me across amd64 and android.
Feedback? OK?

Index: Makefile
===
RCS file: /cvs/ports/net/syncthing/Makefile,v
diff -u -p -r1.62 Makefile
--- Makefile16 Feb 2024 15:09:13 -  1.62
+++ Makefile5 Mar 2024 20:42:34 -
@@ -1,7 +1,6 @@
 COMMENT =  open decentralized synchronization utility
 
-V =1.27.3
-REVISION = 0
+V =1.27.4
 DISTNAME = syncthing-${V}
 DISTFILES =syncthing-source-v${V}${EXTRACT_SUFX}
 
Index: distinfo
===
RCS file: /cvs/ports/net/syncthing/distinfo,v
diff -u -p -r1.41 distinfo
--- distinfo16 Feb 2024 10:04:39 -  1.41
+++ distinfo5 Mar 2024 20:43:15 -
@@ -1,2 +1,2 @@
-SHA256 (syncthing-source-v1.27.3.tar.gz) = 
P+JbhjuzoPdLyVp6+nG9qip5lxVCliI2vl2F9GmqiX0=
-SIZE (syncthing-source-v1.27.3.tar.gz) = 15007106
+SHA256 (syncthing-source-v1.27.4.tar.gz) = 
bOAKsoHuXrDcc8NmTzYjUTfKIrKRHjdbj+6tADj7gKE=
+SIZE (syncthing-source-v1.27.4.tar.gz) = 15085218
Index: patches/patch-build_go
===
RCS file: /cvs/ports/net/syncthing/patches/patch-build_go,v
diff -u -p -r1.21 patch-build_go
--- patches/patch-build_go  17 Nov 2023 14:22:28 -  1.21
+++ patches/patch-build_go  5 Mar 2024 20:43:55 -
@@ -1,7 +1,7 @@
 Index: build.go
 --- build.go.orig
 +++ build.go
-@@ -568,7 +568,7 @@ func appendParameters(args []string, tags []string, pk
+@@ -569,7 +569,7 @@ func appendParameters(args []string, tags []string, pk
  
if !debugBinary {
// Regular binaries get version tagged and skip some debug 
symbols



Re: CVS: cvs.openbsd.org: ports

2024-03-18 Thread Lucas Raab
On Mon, Mar 18, 2024 at 04:37:45PM -0600, Lucas Raab wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   lr...@cvs.openbsd.org   2024/03/18 16:37:45
> 
> Modified files:
>   sysutils/grafana: Makefile distinfo 
>   sysutils/grafana/patches: patch-conf_sample_ini 
>   sysutils/grafana/pkg: PLIST 
> 
> Log message:
> sysutils/grafana: update to 10.4.0
> 
oops, this was also ok landry@



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Lucas Raab
CVSROOT:/cvs
Module name:ports
Changes by: lr...@cvs.openbsd.org   2024/03/18 16:37:45

Modified files:
sysutils/grafana: Makefile distinfo 
sysutils/grafana/patches: patch-conf_sample_ini 
sysutils/grafana/pkg: PLIST 

Log message:
sysutils/grafana: update to 10.4.0



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Lucas Raab
CVSROOT:/cvs
Module name:ports
Changes by: lr...@cvs.openbsd.org   2024/03/18 16:36:23

Modified files:
sysutils/telegraf: Makefile distinfo modules.inc 

Log message:
sysutils/telegraf: update to 1.30.0

ok landry@



sparc64 bulk build report

2024-03-18 Thread kmos
Bulk build on sparc64-0a.ports.openbsd.org

Started : Fri Mar 15 15:36:08 MDT 2024
Finished: Mon Mar 18 15:16:04 MDT 2024
Duration: 2 Days 23 hours 40 minutes

Built using OpenBSD 7.5 (GENERIC.MP) #2090: Thu Mar 14 17:26:12 MDT 2024

Built 9513 packages

Number of packages built each day:
Mar 15: 5692
Mar 16: 1808
Mar 17: 1954
Mar 18: 59



Critical path missing pkgs:
http://build-failures.rhaalovely.net/sparc64/2024-03-15/summary.log

Build failures: 84
http://build-failures.rhaalovely.net/sparc64/2024-03-15/audio/libcanberra.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/audio/ncmpc.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/audio/xmms2.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/comms/gnuradio.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/databases/ruby-amalgalite,ruby31.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/devel/arm-none-eabi/gdb.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/devel/avr/gcc.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/devel/binutils.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/devel/difftastic.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/devel/libbgcode.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/devel/mtxclient.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/devel/py-thrift,python3.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/devel/qcoro.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/devel/vim-command-t.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/devel/xsd.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/devel/yder.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/emulators/dosbox-x.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/emulators/libretro-pcsx-rearmed.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/emulators/melonds.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/bugdom.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/bugdom2.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/cataclysm-dda,no_x11.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/choria.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/colobot/colobot.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/cromagrally.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/devilutionx.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/emptyclip.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/fheroes2.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/gnukem.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/nblood.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/ottomatic.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/pioneers.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/scid.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/widelands.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/games/wrath.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/geo/osm2pgrouting.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/graphics/decker.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/graphics/nomacs.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/graphics/rawstudio.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/graphics/spirv-tools.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/graphics/tesseract/tesseract.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/inputmethods/ibus.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/inputmethods/libime.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/lang/bootgcc.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/lang/guile2.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/mail/mu.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/mail/neomutt,sasl.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/mail/rspamd,hyperscan.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/math/R.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/math/gunits.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/math/openfst.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/multimedia/gstreamer1/plugins-good.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/net/iamb.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/net/proxychains-ng.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/security/opensc.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/security/pinentry,,-gnome3.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/shells/nsh,static.log
http://build-failures.rhaalovely.net/sparc64/2024-03-15/sysutils/borgmatic.log

scribus (was: fix print/inkscape with new poppler)

2024-03-18 Thread Matthias Kilian
Hi,

On Sun, Mar 17, 2024 at 10:34:00PM +0100, Matthias Kilian wrote:
> similiar to the fix of graphics/inkscape, this fixes the build with
> poppler-24.03.0.

Argh! I meant print/scribus, and here's the correct diff:

Index: patches/patch-scribus_plugins_import_pdf_slaoutput_cpp
===
RCS file: patches/patch-scribus_plugins_import_pdf_slaoutput_cpp
diff -N patches/patch-scribus_plugins_import_pdf_slaoutput_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-scribus_plugins_import_pdf_slaoutput_cpp  17 Mar 2024 
19:40:21 -
@@ -0,0 +1,41 @@
+Fix build with poppler-24.03.
+
+Index: scribus/plugins/import/pdf/slaoutput.cpp
+--- scribus/plugins/import/pdf/slaoutput.cpp.orig
 scribus/plugins/import/pdf/slaoutput.cpp
+@@ -1845,7 +1845,7 @@ GBool SlaOutputDev::axialShadedFill(GfxState *state, G
+   VGradient FillGradient = VGradient(VGradient::linear);
+   FillGradient.clearStops();
+   GfxColorSpace *color_space = shading->getColorSpace();
+-  if (func->getType() == 3)
++  if (func->getType() == Function::Type::PostScript)
+   {
+   StitchingFunction *stitchingFunc = (StitchingFunction*)func;
+   const double *bounds = stitchingFunc->getBounds();
+@@ -1867,7 +1867,7 @@ GBool SlaOutputDev::axialShadedFill(GfxState *state, G
+   FillGradient.addStop( 
ScColorEngine::getShadeColor(m_doc->PageColors[stopColor], m_doc, shade), 
stopPoint, 0.5, 1.0, stopColor, shade );
+   }
+   }
+-  else if ((func->getType() == 2) || (func->getType() == 0))
++  else if ((func->getType() == Function::Type::Stitching) || 
(func->getType() == Function::Type::Sampled))
+   {
+   GfxColor stop1;
+   shading->getColor(0.0, );
+@@ -1979,7 +1979,7 @@ GBool SlaOutputDev::radialShadedFill(GfxState *state, 
+   VGradient FillGradient = VGradient(VGradient::linear);
+   FillGradient.clearStops();
+   GfxColorSpace *color_space = shading->getColorSpace();
+-  if (func->getType() == 3)
++  if (func->getType() == Function::Type::PostScript)
+   {
+   StitchingFunction *stitchingFunc = (StitchingFunction*)func;
+   const double *bounds = stitchingFunc->getBounds();
+@@ -2001,7 +2001,7 @@ GBool SlaOutputDev::radialShadedFill(GfxState *state, 
+   FillGradient.addStop( 
ScColorEngine::getShadeColor(m_doc->PageColors[stopColor], m_doc, shade), 
stopPoint, 0.5, 1.0, stopColor, shade );
+   }
+   }
+-  else if ((func->getType() == 2) || (func->getType() == 0))
++  else if ((func->getType() == Function::Type::Stitching) || 
(func->getType() == Function::Type::Sampled))
+   {
+   GfxColor stop1;
+   shading->getColor(0.0, );



Re: UPDATE: net/swirc 3.4.7

2024-03-18 Thread Frederic Cambus
On Tue, Mar 12, 2024 at 09:10:28PM +0100, Markus Uhlin wrote:

> Tonight I released Swirc 3.4.7 with the following changes:

[...]

> I attach a diff.

The diff does not apply.

Could you regenerate it against an up-to-date ports tree?



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2024/03/18 12:08:10

Modified files:
misc/dialog: Makefile distinfo 

Log message:
Update dialog to 1.3-20240307.



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2024/03/18 12:00:09

Modified files:
sysutils/broot : Makefile crates.inc distinfo 

Log message:
Update broot to 1.36.1.



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2024/03/18 11:56:00

Modified files:
security/libksba: Makefile distinfo 

Log message:
Bugfix update to libksba-1.6.6



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2024/03/18 11:50:18

Modified files:
graphics/pqiv  : Makefile distinfo 
Removed files:
graphics/pqiv/patches: patch-pqiv_c 

Log message:
Update to pqiv-2.13.1

time_t patch addressed upstream.



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Jeremy Evans
CVSROOT:/cvs
Module name:ports
Changes by: jer...@cvs.openbsd.org  2024/03/18 11:46:37

Modified files:
security/suricata: Makefile 
Added files:
security/suricata/patches: patch-src_suricata_c 
   patch-src_util-privs_c 
   patch-src_util-privs_h 

Log message:
Readd privdrop patches

"probably automatically removed" by gonzalo@ in the 7.0.2 update

OK gonzalo@



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2024/03/18 11:23:20

Modified files:
graphics/p5-Image-ExifTool: Makefile distinfo 
graphics/p5-Image-ExifTool/pkg: PLIST 

Log message:
Update p5-Image-ExifTool to 12.79.



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2024/03/18 10:43:39

Modified files:
audio/schismtracker: Makefile distinfo 
audio/schismtracker/patches: patch-configure_ac 

Log message:
Update schismtracker to 20240308.



Re: [Maintainer Update] devel/difftastic 0.56.1

2024-03-18 Thread Volker Schlecht

Thanks for the test! Official OK anyone?

On 2024-03-09 09:44, Laurent Cheylus wrote:

On Thu, 7 Mar 2024 19:47:14 +0100, Volker Schlecht wrote:


Trivial Update to difftastic 0.56.1, built and tested on amd64.


OK, build and tests on current/amd64 with rustc 1.76.0.

Laurent





Re: [Maintainer Update] lang/gleam 1.0.0

2024-03-18 Thread Volker Schlecht

Ping.

On 2024-03-07 18:50, Volker Schlecht wrote:

Updates lang/gleam to the recently released version 1.0.0

Built and tested on amd64, tests run fine, gleam works.

ok?




CVS: cvs.openbsd.org: ports

2024-03-18 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2024/03/18 08:59:46

Modified files:
net/bird/2 : Makefile distinfo 

Log message:
update to bird-2.15



Re: [update] enable plan9port on arm64

2024-03-18 Thread Justin Berthault
On Mon, Mar 18, 2024 at 01:37:45PM +, Stuart Henderson wrote:
> 
> That's not going to work because it will break packaging on the existing
> archs due to the added files (as well as removing some binaries,
> obviously).
> 

Ok, will continue to have this package only locally.

Thanks.
-- 
~Justin



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2024/03/18 08:33:13

Modified files:
lang/python: python.port.mk 

Log message:
add python to TEST_DEPENDS if MODPY_PYTEST is set to 'no'.



Re: [fix] misc/remind: gtk-update-icon-cache: Failed to open file

2024-03-18 Thread Martin Ziemer
Am Mon, Mar 18, 2024 at 02:37:28PM +0100 schrieb Stefan Hagen:
> Hi,
> 
> $ pkg_add remind
> quirks-7.14 signed on 2024-03-17T12:22:05Z
> remind-4.3.2:[..snip the deps..]
> remind-4.3.2:p5-JSON-MaybeXS-1.004005: ok
> remind-4.3.2:tcl-8.6.13: ok
> remind-4.3.2:tk-8.6.13: ok
> remind-4.3.2:p5-Cairo-1.109: ok
> remind-4.3.2:p5-Glib2-1.3294: ok
> remind-4.3.2:p5-Pango-1.227p3: ok
> remind-4.3.2:tcl-8.5.19p6: ok
> remind-4.3.2:tcllib-1.21pl0p0: ok
> remind-4.3.2: ok
> Running 
> tags||100%
> gtk-update-icon-cache: Failed to open file 
> /usr/local/share/icons/tkremind/.icon-theme.cache : No such file or directory
> system(/bin/sh, -c, /usr/local/bin/gtk-update-icon-cache -q -t 
> /usr/local/share/icons/tkremind) failed:  exit(1)
> Running tags: ok
> New and changed readme(s):
> /usr/local/share/doc/pkg-readmes/tcl-8.5
> /usr/local/share/doc/pkg-readmes/tcl-8.6
> 
> This is because:
> 
> cat pkg/PLIST:
> @tag gtk-update-icon-cache %D/share/icons/tkremind
> 
> But nothing was installed to ../share/icons/..
> 
> I think we can remove this line.
> 
> OK?
Yes, you are right.

> 
> Best Regards,
> Stefan
> 
> Index: misc/remind/Makefile
> ===
> RCS file: /cvs/ports/misc/remind/Makefile,v
> diff -u -p -u -p -r1.71 Makefile
> --- misc/remind/Makefile  4 Mar 2024 10:22:45 -   1.71
> +++ misc/remind/Makefile  18 Mar 2024 13:29:27 -
> @@ -2,6 +2,7 @@ COMMENT=  scripting language for reminder
>  
>  DISTNAME=remind-04.03.02
>  PKGNAME= remind-4.3.2
> +REVISION=0
>  
>  CATEGORIES=  misc
>  
> Index: misc/remind/pkg/PLIST
> ===
> RCS file: /cvs/ports/misc/remind/pkg/PLIST,v
> diff -u -p -u -p -r1.16 PLIST
> --- misc/remind/pkg/PLIST 4 Mar 2024 10:22:45 -   1.16
> +++ misc/remind/pkg/PLIST 18 Mar 2024 13:29:27 -
> @@ -55,4 +55,3 @@ share/remind/seasons.rem
>  share/remind/site/
>  share/remind/site/README
>  @tag update-desktop-database
> -@tag gtk-update-icon-cache %D/share/icons/tkremind
> 



Re: [update] enable plan9port on arm64

2024-03-18 Thread Stuart Henderson
On 2024/03/18 12:34, Justin Berthault wrote:
> Hi, tried to build plan9port on my rpi and it works.
> 
> Briefly tested and no errors so far.
> 
> Not sure why PLIST is different from the previous one...

That's not going to work because it will break packaging on the existing
archs due to the added files (as well as removing some binaries,
obviously).

> Best regards,
> jbz
> 
> diff /usr/ports
> commit - d37e68348c5094c435011fb82ce66824843f675c
> path + /usr/ports
> blob - 4ee0bf8ebf0f94a45621b63256e1e0a0944b9161
> file + plan9/plan9port/Makefile
> --- plan9/plan9port/Makefile
> +++ plan9/plan9port/Makefile
> @@ -1,4 +1,4 @@
> -ONLY_FOR_ARCHS = amd64 i386 powerpc powerpc64
> +ONLY_FOR_ARCHS = aarch64 amd64 i386 powerpc powerpc64
>  
>  COMMENT =Plan 9 from user space
>  
> blob - d2e532d86188004b72adbde2e30cca9eb7038e4d
> file + plan9/plan9port/pkg/PLIST
> --- plan9/plan9port/pkg/PLIST
> +++ plan9/plan9port/pkg/PLIST
> @@ -116,7 +116,6 @@ plan9/bin/doctype
>  @bin plan9/bin/echo
>  @bin plan9/bin/ed
>  @bin plan9/bin/eqn
> -@bin plan9/bin/factor
>  @bin plan9/bin/factotum
>  @bin plan9/bin/file
>  @bin plan9/bin/fmt
> @@ -153,7 +152,6 @@ plan9/bin/g
>  @bin plan9/bin/hist
>  @bin plan9/bin/hoc
>  @bin plan9/bin/htmlfmt
> -@bin plan9/bin/htmlroff
>  @bin plan9/bin/ico
>  @bin plan9/bin/iconv
>  @bin plan9/bin/idiff
> @@ -186,7 +184,6 @@ plan9/bin/mk9660
>  @bin plan9/bin/ndbmkdb
>  @bin plan9/bin/ndbmkhash
>  @bin plan9/bin/ndbmkhosts
> -@bin plan9/bin/ndbquery
>  plan9/bin/netfileget
>  plan9/bin/netfilelib.rc
>  plan9/bin/netfileput
> @@ -196,9 +193,7 @@ plan9/bin/netfilestat
>  plan9/bin/nobs
>  plan9/bin/nroff
>  @comment plan9/bin/osxvers
> -@bin plan9/bin/p
>  @bin plan9/bin/page
> -@bin plan9/bin/paint
>  @bin plan9/bin/passwd
>  @bin plan9/bin/pbd
>  @bin plan9/bin/pemdecode
> @@ -231,7 +226,6 @@ plan9/bin/quote2
>  @bin plan9/bin/rsa2ssh
>  @bin plan9/bin/rsa2x509
>  @bin plan9/bin/rsafill
> -@bin plan9/bin/rsagen
>  @bin plan9/bin/sam
>  plan9/bin/samsave
>  @bin plan9/bin/samterm
> @@ -245,7 +239,6 @@ plan9/bin/samsave
>  @bin plan9/bin/sha1sum
>  plan9/bin/sig
>  plan9/bin/slay
> -@bin plan9/bin/sleep
>  plan9/bin/soelim
>  @bin plan9/bin/sort
>  plan9/bin/spell
> @@ -347,7 +340,6 @@ plan9/bin/wmail
>  @bin plan9/bin/yacc
>  plan9/bin/yesterday
>  @bin plan9/bin/yuv
> -@bin plan9/bin/zcat
>  @bin plan9/bin/zerotrunc
>  @bin plan9/bin/zip
>  plan9/config
> @@ -5139,48 +5131,78 @@ plan9/src/
>  plan9/src/cmd/
>  plan9/src/cmd/9660/
>  plan9/src/cmd/9660/boot.c
> +plan9/src/cmd/9660/boot.o
>  plan9/src/cmd/9660/cdrdwr.c
> +plan9/src/cmd/9660/cdrdwr.o
>  plan9/src/cmd/9660/conform.c
> +plan9/src/cmd/9660/conform.o
>  plan9/src/cmd/9660/direc.c
> +plan9/src/cmd/9660/direc.o
>  plan9/src/cmd/9660/dump.c
> +plan9/src/cmd/9660/dump.o
>  plan9/src/cmd/9660/dump9660.c
> +plan9/src/cmd/9660/dump9660.o
>  plan9/src/cmd/9660/ichar.c
> +plan9/src/cmd/9660/ichar.o
>  plan9/src/cmd/9660/iso9660.h
>  plan9/src/cmd/9660/jchar.c
> +plan9/src/cmd/9660/jchar.o
>  plan9/src/cmd/9660/mk9660.rc
>  plan9/src/cmd/9660/mk9660.sh
>  plan9/src/cmd/9660/mkfile
> +@bin plan9/src/cmd/9660/o.dump9660
> +plan9/src/cmd/9660/o.mk9660
>  plan9/src/cmd/9660/path.c
> +plan9/src/cmd/9660/path.o
>  plan9/src/cmd/9660/plan9.c
>  plan9/src/cmd/9660/rune.c
> +plan9/src/cmd/9660/rune.o
>  plan9/src/cmd/9660/sysuse.c
> +plan9/src/cmd/9660/sysuse.o
>  plan9/src/cmd/9660/uid.c
>  plan9/src/cmd/9660/unix.c
> +plan9/src/cmd/9660/unix.o
>  plan9/src/cmd/9660/util.c
> +plan9/src/cmd/9660/util.o
>  plan9/src/cmd/9660/write.c
> +plan9/src/cmd/9660/write.o
>  plan9/src/cmd/9660srv/
>  plan9/src/cmd/9660srv/9660srv.c
> +plan9/src/cmd/9660srv/9660srv.o
>  plan9/src/cmd/9660srv/dat.h
>  plan9/src/cmd/9660srv/data.c
> +plan9/src/cmd/9660srv/data.o
>  plan9/src/cmd/9660srv/fns.h
>  plan9/src/cmd/9660srv/iobuf.c
> +plan9/src/cmd/9660srv/iobuf.o
>  plan9/src/cmd/9660srv/iso9660.h
>  plan9/src/cmd/9660srv/main.c
> +plan9/src/cmd/9660srv/main.o
>  plan9/src/cmd/9660srv/mkfile
> +@bin plan9/src/cmd/9660srv/o.9660srv
>  plan9/src/cmd/9660srv/xfile.c
> +plan9/src/cmd/9660srv/xfile.o
>  plan9/src/cmd/9import.c
> +plan9/src/cmd/9import.o
>  plan9/src/cmd/9p.c
> +plan9/src/cmd/9p.o
>  @comment plan9/src/cmd/9pfuse/
>  @comment plan9/src/cmd/9pfuse/COPYRIGHT
>  @comment plan9/src/cmd/9pfuse/a.h
>  @comment plan9/src/cmd/9pfuse/errstr.c
> +plan9/src/cmd/9pfuse/errstr.o
>  @comment plan9/src/cmd/9pfuse/fuse.c
> +plan9/src/cmd/9pfuse/fuse.o
>  @comment plan9/src/cmd/9pfuse/fuse_kernel.h
>  @comment plan9/src/cmd/9pfuse/main.c
> +plan9/src/cmd/9pfuse/main.o
>  @comment plan9/src/cmd/9pfuse/mkfile
> +@bin plan9/src/cmd/9pfuse/o.9pfuse
>  plan9/src/cmd/9pserve.c
> +plan9/src/cmd/9pserve.o
>  plan9/src/cmd/9term/
>  plan9/src/cmd/9term/9term.c
> +plan9/src/cmd/9term/9term.o
>  plan9/src/cmd/9term/AIX.c
>  plan9/src/cmd/9term/Darwin.c
>  plan9/src/cmd/9term/DragonFly.c
> @@ -5188,188 +5210,355 @@ plan9/src/cmd/9term/FreeBSD.c
>  

[fix] misc/remind: gtk-update-icon-cache: Failed to open file

2024-03-18 Thread Stefan Hagen
Hi,

$ pkg_add remind
quirks-7.14 signed on 2024-03-17T12:22:05Z
remind-4.3.2:[..snip the deps..]
remind-4.3.2:p5-JSON-MaybeXS-1.004005: ok
remind-4.3.2:tcl-8.6.13: ok
remind-4.3.2:tk-8.6.13: ok
remind-4.3.2:p5-Cairo-1.109: ok
remind-4.3.2:p5-Glib2-1.3294: ok
remind-4.3.2:p5-Pango-1.227p3: ok
remind-4.3.2:tcl-8.5.19p6: ok
remind-4.3.2:tcllib-1.21pl0p0: ok
remind-4.3.2: ok
Running 
tags||100%
gtk-update-icon-cache: Failed to open file 
/usr/local/share/icons/tkremind/.icon-theme.cache : No such file or directory
system(/bin/sh, -c, /usr/local/bin/gtk-update-icon-cache -q -t 
/usr/local/share/icons/tkremind) failed:  exit(1)
Running tags: ok
New and changed readme(s):
/usr/local/share/doc/pkg-readmes/tcl-8.5
/usr/local/share/doc/pkg-readmes/tcl-8.6

This is because:

cat pkg/PLIST:
@tag gtk-update-icon-cache %D/share/icons/tkremind

But nothing was installed to ../share/icons/..

I think we can remove this line.

OK?

Best Regards,
Stefan

Index: misc/remind/Makefile
===
RCS file: /cvs/ports/misc/remind/Makefile,v
diff -u -p -u -p -r1.71 Makefile
--- misc/remind/Makefile4 Mar 2024 10:22:45 -   1.71
+++ misc/remind/Makefile18 Mar 2024 13:29:27 -
@@ -2,6 +2,7 @@ COMMENT=scripting language for reminder
 
 DISTNAME=  remind-04.03.02
 PKGNAME=   remind-4.3.2
+REVISION=  0
 
 CATEGORIES=misc
 
Index: misc/remind/pkg/PLIST
===
RCS file: /cvs/ports/misc/remind/pkg/PLIST,v
diff -u -p -u -p -r1.16 PLIST
--- misc/remind/pkg/PLIST   4 Mar 2024 10:22:45 -   1.16
+++ misc/remind/pkg/PLIST   18 Mar 2024 13:29:27 -
@@ -55,4 +55,3 @@ share/remind/seasons.rem
 share/remind/site/
 share/remind/site/README
 @tag update-desktop-database
-@tag gtk-update-icon-cache %D/share/icons/tkremind



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2024/03/18 06:53:55

Modified files:
graphics/ImageMagick: Makefile 

Log message:
remove LIB_DEPENDS on aom, dav1d, libde265, x265 - they're pulled in via
libheif and not used directly. from Brad.



Re: UPDATE: security/keepassxc

2024-03-18 Thread Klemens Nanni
3/18/24 09:41, Rafael Sadowski пишет:
> Tested with yubkikey. What I have to realize is that opening the
> database takes much longer.

Same here.

> I also enabled PassKeys in the browser flavor. I have no use-case for it
> now.

I left it disabled, so haven't tested that with FLAVOR=browser.

> Feedback, tests and OKs welcome,

I've been running 2.7.7 since it came out and except for slower startup,
there has been no regression for me, Firefox keeps working with it.

I had more tweaks and fixes, but then I'll just send a follow-up diff.

OK kn



[update] enable plan9port on arm64

2024-03-18 Thread Justin Berthault
Hi, tried to build plan9port on my rpi and it works.

Briefly tested and no errors so far.

Not sure why PLIST is different from the previous one...

Best regards,
jbz

diff /usr/ports
commit - d37e68348c5094c435011fb82ce66824843f675c
path + /usr/ports
blob - 4ee0bf8ebf0f94a45621b63256e1e0a0944b9161
file + plan9/plan9port/Makefile
--- plan9/plan9port/Makefile
+++ plan9/plan9port/Makefile
@@ -1,4 +1,4 @@
-ONLY_FOR_ARCHS =   amd64 i386 powerpc powerpc64
+ONLY_FOR_ARCHS =   aarch64 amd64 i386 powerpc powerpc64
 
 COMMENT =  Plan 9 from user space
 
blob - d2e532d86188004b72adbde2e30cca9eb7038e4d
file + plan9/plan9port/pkg/PLIST
--- plan9/plan9port/pkg/PLIST
+++ plan9/plan9port/pkg/PLIST
@@ -116,7 +116,6 @@ plan9/bin/doctype
 @bin plan9/bin/echo
 @bin plan9/bin/ed
 @bin plan9/bin/eqn
-@bin plan9/bin/factor
 @bin plan9/bin/factotum
 @bin plan9/bin/file
 @bin plan9/bin/fmt
@@ -153,7 +152,6 @@ plan9/bin/g
 @bin plan9/bin/hist
 @bin plan9/bin/hoc
 @bin plan9/bin/htmlfmt
-@bin plan9/bin/htmlroff
 @bin plan9/bin/ico
 @bin plan9/bin/iconv
 @bin plan9/bin/idiff
@@ -186,7 +184,6 @@ plan9/bin/mk9660
 @bin plan9/bin/ndbmkdb
 @bin plan9/bin/ndbmkhash
 @bin plan9/bin/ndbmkhosts
-@bin plan9/bin/ndbquery
 plan9/bin/netfileget
 plan9/bin/netfilelib.rc
 plan9/bin/netfileput
@@ -196,9 +193,7 @@ plan9/bin/netfilestat
 plan9/bin/nobs
 plan9/bin/nroff
 @comment plan9/bin/osxvers
-@bin plan9/bin/p
 @bin plan9/bin/page
-@bin plan9/bin/paint
 @bin plan9/bin/passwd
 @bin plan9/bin/pbd
 @bin plan9/bin/pemdecode
@@ -231,7 +226,6 @@ plan9/bin/quote2
 @bin plan9/bin/rsa2ssh
 @bin plan9/bin/rsa2x509
 @bin plan9/bin/rsafill
-@bin plan9/bin/rsagen
 @bin plan9/bin/sam
 plan9/bin/samsave
 @bin plan9/bin/samterm
@@ -245,7 +239,6 @@ plan9/bin/samsave
 @bin plan9/bin/sha1sum
 plan9/bin/sig
 plan9/bin/slay
-@bin plan9/bin/sleep
 plan9/bin/soelim
 @bin plan9/bin/sort
 plan9/bin/spell
@@ -347,7 +340,6 @@ plan9/bin/wmail
 @bin plan9/bin/yacc
 plan9/bin/yesterday
 @bin plan9/bin/yuv
-@bin plan9/bin/zcat
 @bin plan9/bin/zerotrunc
 @bin plan9/bin/zip
 plan9/config
@@ -5139,48 +5131,78 @@ plan9/src/
 plan9/src/cmd/
 plan9/src/cmd/9660/
 plan9/src/cmd/9660/boot.c
+plan9/src/cmd/9660/boot.o
 plan9/src/cmd/9660/cdrdwr.c
+plan9/src/cmd/9660/cdrdwr.o
 plan9/src/cmd/9660/conform.c
+plan9/src/cmd/9660/conform.o
 plan9/src/cmd/9660/direc.c
+plan9/src/cmd/9660/direc.o
 plan9/src/cmd/9660/dump.c
+plan9/src/cmd/9660/dump.o
 plan9/src/cmd/9660/dump9660.c
+plan9/src/cmd/9660/dump9660.o
 plan9/src/cmd/9660/ichar.c
+plan9/src/cmd/9660/ichar.o
 plan9/src/cmd/9660/iso9660.h
 plan9/src/cmd/9660/jchar.c
+plan9/src/cmd/9660/jchar.o
 plan9/src/cmd/9660/mk9660.rc
 plan9/src/cmd/9660/mk9660.sh
 plan9/src/cmd/9660/mkfile
+@bin plan9/src/cmd/9660/o.dump9660
+plan9/src/cmd/9660/o.mk9660
 plan9/src/cmd/9660/path.c
+plan9/src/cmd/9660/path.o
 plan9/src/cmd/9660/plan9.c
 plan9/src/cmd/9660/rune.c
+plan9/src/cmd/9660/rune.o
 plan9/src/cmd/9660/sysuse.c
+plan9/src/cmd/9660/sysuse.o
 plan9/src/cmd/9660/uid.c
 plan9/src/cmd/9660/unix.c
+plan9/src/cmd/9660/unix.o
 plan9/src/cmd/9660/util.c
+plan9/src/cmd/9660/util.o
 plan9/src/cmd/9660/write.c
+plan9/src/cmd/9660/write.o
 plan9/src/cmd/9660srv/
 plan9/src/cmd/9660srv/9660srv.c
+plan9/src/cmd/9660srv/9660srv.o
 plan9/src/cmd/9660srv/dat.h
 plan9/src/cmd/9660srv/data.c
+plan9/src/cmd/9660srv/data.o
 plan9/src/cmd/9660srv/fns.h
 plan9/src/cmd/9660srv/iobuf.c
+plan9/src/cmd/9660srv/iobuf.o
 plan9/src/cmd/9660srv/iso9660.h
 plan9/src/cmd/9660srv/main.c
+plan9/src/cmd/9660srv/main.o
 plan9/src/cmd/9660srv/mkfile
+@bin plan9/src/cmd/9660srv/o.9660srv
 plan9/src/cmd/9660srv/xfile.c
+plan9/src/cmd/9660srv/xfile.o
 plan9/src/cmd/9import.c
+plan9/src/cmd/9import.o
 plan9/src/cmd/9p.c
+plan9/src/cmd/9p.o
 @comment plan9/src/cmd/9pfuse/
 @comment plan9/src/cmd/9pfuse/COPYRIGHT
 @comment plan9/src/cmd/9pfuse/a.h
 @comment plan9/src/cmd/9pfuse/errstr.c
+plan9/src/cmd/9pfuse/errstr.o
 @comment plan9/src/cmd/9pfuse/fuse.c
+plan9/src/cmd/9pfuse/fuse.o
 @comment plan9/src/cmd/9pfuse/fuse_kernel.h
 @comment plan9/src/cmd/9pfuse/main.c
+plan9/src/cmd/9pfuse/main.o
 @comment plan9/src/cmd/9pfuse/mkfile
+@bin plan9/src/cmd/9pfuse/o.9pfuse
 plan9/src/cmd/9pserve.c
+plan9/src/cmd/9pserve.o
 plan9/src/cmd/9term/
 plan9/src/cmd/9term/9term.c
+plan9/src/cmd/9term/9term.o
 plan9/src/cmd/9term/AIX.c
 plan9/src/cmd/9term/Darwin.c
 plan9/src/cmd/9term/DragonFly.c
@@ -5188,188 +5210,355 @@ plan9/src/cmd/9term/FreeBSD.c
 plan9/src/cmd/9term/Linux.c
 plan9/src/cmd/9term/NetBSD.c
 plan9/src/cmd/9term/OpenBSD.c
+plan9/src/cmd/9term/OpenBSD.o
 plan9/src/cmd/9term/SunOS.c
 plan9/src/cmd/9term/bsdpty.c
 plan9/src/cmd/9term/dat.h
 plan9/src/cmd/9term/data.c
+plan9/src/cmd/9term/data.o
 plan9/src/cmd/9term/fns.h
 plan9/src/cmd/9term/malloc.c
 plan9/src/cmd/9term/mkfile
+@bin plan9/src/cmd/9term/o.9term
+@bin plan9/src/cmd/9term/o.win
 plan9/src/cmd/9term/rcstart.c
+plan9/src/cmd/9term/rcstart.o
 plan9/src/cmd/9term/scrl.c
+plan9/src/cmd/9term/scrl.o
 

aarch64 bulk build report

2024-03-18 Thread phessler
bulk build on arm64.ports.openbsd.org
started on  Fri Mar 15 07:46:26 MDT 2024
finished at Mon Mar 18 05:13:44 MDT 2024
lasted 2D21h27m
done with kern.version=OpenBSD 7.5 (GENERIC.MP) #136: Thu Mar 14 18:01:54 MDT 
2024

built packages:12233
Mar 15:4397
Mar 16:265
Mar 17:3862
Mar 18:3708


critical path missing pkgs:  
http://build-failures.rhaalovely.net/aarch64/2024-03-15/summary.log

build failures: 0



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2024/03/18 03:36:49

Modified files:
devel/luarocks : Makefile distinfo 
devel/luarocks/pkg: PLIST 

Log message:
update devel/luarocks to 3.11.0

changelog: https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md
This "skips" over 3.10.0.



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2024/03/18 03:08:54

Modified files:
lang/clojure   : Makefile distinfo 

Log message:
update lang/clojure to 1.11.2.1446



audio/opus: update to 1.5.1

2024-03-18 Thread Christian Weisgerber
audio/opus: update to 1.5.1
 
 * Significant improvement to packet loss robustness using Deep Redundancy
 * Improved packet loss concealment through Deep PLC
 * Low-bitrate speech quality enhancement down to 6 kb/s wideband
 * Improved x86 (AVX2) and Arm (Neon) optimizations
 * Support for 4th and 5th order ambisonics
 
 This update enables the new machine learning features:
 https://opus-codec.org/demo/opus-1.5/

I decided to enable the ML features because they must be explicitly
enabled by the caller, so apart from code size, having them doesn't
incur any cost.

I added the missing detection code for arm and arm64 instruction
set extensions.  This could use another pair of eyes.  The PRESUME
defines are set by testing whether certain intrinsics can be compiled
with the default compiler options, so the idea is that those
instructions are supported by all machines this code was compiled
for.  The MAY_HAVE defines are set by testing with additional -march
compiler flags, so the idea is that only some machines will actually
support those instructions, as determined by a runtime check.

The port needs a compile test on armv7.  An additional small fix
was needed for FreeBSD/armv7, but I have trouble understanding it
and I don't know if OpenBSD is affected, too.

 
diff be988415f4d56f263d8683085eef00ba2324920c 
d65615b6802f8ddeb4536c340034d07be3df3483
commit - be988415f4d56f263d8683085eef00ba2324920c
commit + d65615b6802f8ddeb4536c340034d07be3df3483
blob - 0c28150d8be0e27c51d8e512e8f3e7e88893310d
blob + 347df1e7d4a575894c0f9c37ca92e7085b941f0b
--- audio/opus/Makefile
+++ audio/opus/Makefile
@@ -1,8 +1,8 @@
 COMMENT=   IETF audio codec
 
-VERSION=   1.4
+VERSION=   1.5.1
 DISTNAME=  opus-${VERSION}
-SHARED_LIBS=   opus1.4 # 9.0
+SHARED_LIBS=   opus1.5 # 10.0
 CATEGORIES=audio
 
 HOMEPAGE=  https://opus-codec.org/
@@ -12,8 +12,7 @@ MAINTAINER=   Christian Weisgerber 
 # BSD
 PERMIT_PACKAGE=Yes
 
-SITES= https://downloads.xiph.org/releases/opus/ \
-   https://github.com/xiph/opus/releases/download/v${VERSION}/
+SITES= https://downloads.xiph.org/releases/opus/
 
 WANTLIB=   m
 
@@ -21,5 +20,10 @@ USE_GMAKE=   Yes
 SEPARATE_BUILD=Yes
 CONFIGURE_STYLE=gnu
 CONFIGURE_ARGS=--disable-doc   # requires doxygen
+# enable machine learning features
+CONFIGURE_ARGS+=--enable-dred \
+   --enable-osce
 
+DEBUG_PACKAGES=${BUILD_PACKAGES}
+
 .include 
blob - 4a01917d51a99dbf17ef11f597907f3ab2f7e692
blob + f2e7261c08569c1ee1e5798d9d7aebe8c817521c
--- audio/opus/distinfo
+++ audio/opus/distinfo
@@ -1,2 +1,2 @@
-SHA256 (opus-1.4.tar.gz) = ybMrQlO+WuY9H/Fu6ga5S18PKVG3oCrO71jjo85JxR8=
-SIZE (opus-1.4.tar.gz) = 1063408
+SHA256 (opus-1.5.1.tar.gz) = uEYQlZuNQXthGqEqIlZeCjcyCXxjidGQmNhEVD40D4U=
+SIZE (opus-1.5.1.tar.gz) = 7834540
blob - /dev/null
blob + dadb4de8cd32c628ccfd9f9485f6c0af473bc2cc (mode 644)
--- /dev/null
+++ audio/opus/patches/patch-celt_arm_armcpu_c
@@ -0,0 +1,42 @@
+Index: celt/arm/armcpu.c
+--- celt/arm/armcpu.c.orig
 celt/arm/armcpu.c
+@@ -191,6 +191,38 @@ opus_uint32 opus_cpu_capabilities(void)
+   return flags;
+ }
+ 
++#elif defined(__OpenBSD__)
++#include 
++#include 
++#include 
++#include 
++
++opus_uint32 opus_cpu_capabilities(void)
++{
++  opus_uint32 flags = 0;
++
++#if defined(OPUS_ARM_MAY_HAVE_DOTPROD) && defined(CPU_ID_AA64ISAR0)
++  const int isar0_mib[] = { CTL_MACHDEP, CPU_ID_AA64ISAR0 };
++  uint64_t isar0;
++  size_t len = sizeof(isar0);
++
++  if (sysctl(isar0_mib, 2, , , NULL, 0) != -1)
++  {
++if (ID_AA64ISAR0_DP(isar0) >= ID_AA64ISAR0_DP_IMPL)
++  flags |= OPUS_CPU_ARM_DOTPROD_FLAG;
++  }
++#endif
++
++#if defined(OPUS_ARM_PRESUME_NEON_INTR) \
++ || defined(OPUS_ARM_PRESUME_AARCH64_NEON_INTR)
++  flags |= OPUS_CPU_ARM_EDSP_FLAG | OPUS_CPU_ARM_MEDIA_FLAG | 
OPUS_CPU_ARM_NEON_FLAG;
++# if defined(OPUS_ARM_PRESUME_DOTPROD)
++  flags |= OPUS_CPU_ARM_DOTPROD_FLAG;
++# endif
++#endif
++  return flags;
++}
++
+ #else
+ /* The feature registers which can tell us what the processor supports are
+  * accessible in priveleged modes only, so we can't have a general user-space

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



archivers/xz: update to 5.6.1

2024-03-18 Thread Christian Weisgerber
archivers/xz: update to 5.6.1
 
* Multithreaded mode is now the default.
* New command line options to set filter chains using the liblzma filter
  string syntax.
* Significant speed optimizations to the LZMA decoder.


I have added runtime detection code to check for CRC32 instructions
to speed up CRC32 integrity checks on arm64.  I intend to submit
this upstream, so if anybody has comments on that, let me know.
(xz defaults to CRC64 anyway, so this has little practical value,
but it is supported on other operating systems.)

Upstream has added pledge() support to xzdec, rendering our previous
patch obsolete.

ok?

 
diff d65615b6802f8ddeb4536c340034d07be3df3483 
41fabc9987fb853589f2dd0de774d8f5cdbd0b69
commit - d65615b6802f8ddeb4536c340034d07be3df3483
commit + 41fabc9987fb853589f2dd0de774d8f5cdbd0b69
blob - d1f7ac3fc25e3152944c4efae9a179e35ab504dc
blob + 40addd5d055828107dd9fdb477184ffa605b5fd1
--- archivers/xz/Makefile
+++ archivers/xz/Makefile
@@ -1,18 +1,19 @@
 COMMENT=   library and tools for XZ and LZMA compressed files
 
-DISTNAME=  xz-5.4.5
-SHARED_LIBS=   lzma 2.2  # 9.4
+VERSION=   5.6.1
+DISTNAME=  xz-${VERSION}
+SHARED_LIBS=   lzma 2.3  # 11.1
 CATEGORIES=archivers
 DPB_PROPERTIES=parallel
 
-HOMEPAGE=  https://tukaani.org/xz/
+HOMEPAGE=  https://xz.tukaani.org/xz-utils/
 
 MAINTAINER=Christian Weisgerber 
 
 # GPLv2+
 PERMIT_PACKAGE=Yes
 
-SITES= ${SITE_SOURCEFORGE:=lzmautils/}
+SITES= https://github.com/tukaani-project/xz/releases/download/v${VERSION}/
 
 # uses pledge()
 WANTLIB=   c pthread
blob - 98b88e2abbfec958489da8fba87fb00df54b8532
blob + 83ae5ae9b49b503f0bcb1672db69e161dbb814b0
--- archivers/xz/distinfo
+++ archivers/xz/distinfo
@@ -1,2 +1,2 @@
-SHA256 (xz-5.4.5.tar.gz) = E1yQuTSu6PvA1Gfeh6Bctw1ifaNqvlGMNXqHNwnlt9Y=
-SIZE (xz-5.4.5.tar.gz) = 2884510
+SHA256 (xz-5.6.1.tar.gz) = I5j0qOUzRTJfRL3Z8Mx0Ab2QJdc2xtQ7Ny9N6ne/dbg=
+SIZE (xz-5.6.1.tar.gz) = 3045434
blob - 6061c7f3c22f7e992a2b66ff5cd7082eb1ffd5c8 (mode 644)
blob + /dev/null
--- archivers/xz/patches/patch-config_h_in
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: config.h.in
 config.h.in.orig
-+++ config.h.in
-@@ -409,7 +409,11 @@
- 
- /* Define to 1 if the system supports fast unaligned access to 16-bit, 32-bit,
-and 64-bit integers. */
--#undef TUKLIB_FAST_UNALIGNED_ACCESS
-+#include 
-+#if !defined(__STRICT_ALIGNMENT)
-+#define \
-+TUKLIB_FAST_UNALIGNED_ACCESS 1
-+#endif
- 
- /* Define to 1 if the amount of physical memory can be detected with
-_system_configuration.physmem. */
blob - /dev/null
blob + a4b473567a4e085aa4ae0b4af893e51eed1e2014 (mode 644)
--- /dev/null
+++ archivers/xz/patches/patch-src_liblzma_check_crc32_arm64_h
@@ -0,0 +1,30 @@
+Index: src/liblzma/check/crc32_arm64.h
+--- src/liblzma/check/crc32_arm64.h.orig
 src/liblzma/check/crc32_arm64.h
+@@ -28,6 +28,11 @@
+ # include 
+ # elif defined(__APPLE__) && defined(HAVE_SYSCTLBYNAME)
+ # include 
++# elif defined(__OpenBSD__)
++# include 
++# include 
++# include 
++# include 
+ # endif
+ #endif
+ 
+@@ -103,6 +108,14 @@ is_arch_extension_supported(void)
+   , NULL, 0);
+ 
+   return !err && has_crc32;
++
++#elif defined(__OpenBSD__)
++  const int isar0_mib[] = { CTL_MACHDEP, CPU_ID_AA64ISAR0 };
++  uint64_t isar0;
++  size_t len = sizeof(isar0);
++
++  return sysctl(isar0_mib, 2, , , NULL, 0) != -1 &&
++  ID_AA64ISAR0_CRC32(isar0) >= ID_AA64ISAR0_CRC32_BASE;
+ 
+ #else
+   // If a runtime detection method cannot be found, then this must
blob - 399cb3be7c7e9134963d36b0858d09da5dc0e3ff (mode 644)
blob + /dev/null
--- archivers/xz/patches/patch-src_xzdec_xzdec_c
+++ /dev/null
@@ -1,21 +0,0 @@
-Index: src/xzdec/xzdec.c
 src/xzdec/xzdec.c.orig
-+++ src/xzdec/xzdec.c
-@@ -295,9 +295,17 @@ main(int argc, char **argv)
- 
-   if (optind == argc) {
-   // No filenames given, decode from stdin.
-+  if (pledge("stdio", NULL) == -1) {
-+  my_errorf("pledge");
-+  exit(EXIT_FAILURE);
-+  }
-   uncompress(, stdin, "(stdin)");
-   } else {
-   // Loop through the filenames given on the command line.
-+  if (pledge("stdio rpath", NULL) == -1) {
-+  my_errorf("pledge");
-+  exit(EXIT_FAILURE);
-+  }
-   do {
-   // "-" indicates stdin.
-   if (strcmp(argv[optind], "-") == 0) {
blob - /dev/null
blob + c2a62aaeb707f0b281f921f3b2064334f94de22b (mode 644)
--- /dev/null
+++ archivers/xz/patches/patch-src_liblzma_check_crc_common_h
@@ -0,0 +1,13 @@
+Index: src/liblzma/check/crc_common.h
+--- src/liblzma/check/crc_common.h.orig
 src/liblzma/check/crc_common.h
+@@ -50,7 +50,8 @@
+ // Keep this in sync with 

Re: fix graphics/inkscape with new poppler

2024-03-18 Thread Rafael Sadowski
On Sun Mar 17, 2024 at 10:33:02PM +0100, Matthias Kilian wrote:
> Hi,
> 
> this fixes inkscape with poppler-24.03.0. Tested on amd64 by importing
> some PDFs with inkscape.
> 
> ok?

There is no sadowski@, OK to fix inkscape with poppler-24.03.

OK rsadowski

> 
> Ciao,
>   Kil
> 
> Index: patches/patch-src_extension_internal_pdfinput_svg-builder_cpp
> ===
> RCS file: patches/patch-src_extension_internal_pdfinput_svg-builder_cpp
> diff -N patches/patch-src_extension_internal_pdfinput_svg-builder_cpp
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_extension_internal_pdfinput_svg-builder_cpp 17 Mar 
> 2024 19:39:49 -
> @@ -0,0 +1,38 @@
> +Fix build with poppler-24.03.
> +
> +From https://gitlab.com/inkscape/inkscape/-/merge_requests/6209/diffs
> +(without any preprocessor conditionals)
> +
> +Index: src/extension/internal/pdfinput/svg-builder.cpp
> +--- src/extension/internal/pdfinput/svg-builder.cpp.orig
>  src/extension/internal/pdfinput/svg-builder.cpp
> +@@ -1158,9 +1158,9 @@ static bool svgGetShadingColor(GfxShading *shading, do
> + #define INT_EPSILON 8
> + bool SvgBuilder::_addGradientStops(Inkscape::XML::Node *gradient, 
> GfxShading *shading,
> +_POPPLER_CONST Function *func) {
> +-int type = func->getType();
> ++auto type = func->getType();
> + auto space = shading->getColorSpace();
> +-if ( type == 0 || type == 2 ) {  // Sampled or exponential function
> ++if ( type == Function::Type::Sampled || type == 
> Function::Type::Exponential ) {  // Sampled or exponential function
> + GfxColor stop1, stop2;
> + if (!svgGetShadingColor(shading, 0.0, ) || 
> !svgGetShadingColor(shading, 1.0, )) {
> + return false;
> +@@ -1168,7 +1168,7 @@ bool SvgBuilder::_addGradientStops(Inkscape::XML::Node
> + _addStopToGradient(gradient, 0.0, , space, 1.0);
> + _addStopToGradient(gradient, 1.0, , space, 1.0);
> + }
> +-} else if ( type == 3 ) { // Stitching
> ++} else if ( type == Function::Type::Stitching ) { // Stitching
> + auto stitchingFunc = static_cast<_POPPLER_CONST 
> StitchingFunction*>(func);
> + const double *bounds = stitchingFunc->getBounds();
> + const double *encode = stitchingFunc->getEncode();
> +@@ -1183,7 +1183,7 @@ bool SvgBuilder::_addGradientStops(Inkscape::XML::Node
> + for ( int i = 0 ; i < num_funcs ; i++ ) {
> + svgGetShadingColor(shading, bounds[i + 1], );
> + // Add stops
> +-if (stitchingFunc->getFunc(i)->getType() == 2) {// process 
> exponential fxn
> ++if (stitchingFunc->getFunc(i)->getType() == 
> Function::Type::Exponential) {// process exponential fxn
> + double expE = (static_cast<_POPPLER_CONST 
> ExponentialFunction*>(stitchingFunc->getFunc(i)))->getE();
> + if (expE > 1.0) {
> + expE = (bounds[i + 1] - bounds[i])/expE;// 
> approximate exponential as a single straight line at x=1



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Otto Moerbeek
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2024/03/18 00:50:45

Modified files:
net/powerdns   : Makefile distinfo 

Log message:
Update to PowerDNS Authoritative Server 4.9.0



[new/update] stalwart-mail 0.6.0

2024-03-18 Thread Landry Breuil
Hi,

sending it as a new port instead of a diff, to replace the existing
hierarchy of mail/stalwart/{cli,imap,jmap,smtp}. Upstream now develops
everything in a monorepo as a single binary, i've chosen _stalwart-smtp
for the uid it privdrops at, so _stalwart-jmap & _stalwart-imap could be
recycled.

There's been several breaking changes in the config, so if any
adventurous user is already using it, check
https://github.com/stalwartlabs/mail-server/blob/v0.6.0/UPGRADING.md

the changelogs are at
https://github.com/stalwartlabs/mail-server/releases, i've done as best
as i could to provide a pkg/README on how to work out a basic test
setup, but the possiblities are ... vast.

feedback and oks welcome.

Landry


stalwart-mail-0.6.0.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2024-03-18 Thread Otto Moerbeek
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2024/03/18 00:47:53

Modified files:
net/dnsdist: Makefile distinfo 

Log message:
Update to dnsdist 1.9.1



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Otto Moerbeek
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2024/03/18 00:46:18

Modified files:
net/quiche : Makefile distinfo 

Log message:
Update to quiche 0.20.1

This fixes a potential DOS.

See https://github.com/cloudflare/quiche/releases/tag/0.20.1



UPDATE: security/keepassxc

2024-03-18 Thread Rafael Sadowski
Tested with yubkikey. What I have to realize is that opening the
database takes much longer.

I also enabled PassKeys in the browser flavor. I have no use-case for it
now.

Feedback, tests and OKs welcome,

Rafael

diff --git a/security/keepassxc/Makefile b/security/keepassxc/Makefile
index b17c1c62af7..2db64afee2b 100644
--- a/security/keepassxc/Makefile
+++ b/security/keepassxc/Makefile
@@ -1,6 +1,6 @@
 COMMENT =  management tool for password and sensitive data
 
-V =2.7.6
+V =2.7.7
 DISTNAME = keepassxc-${V}
 
 CATEGORIES =   security
@@ -64,7 +64,8 @@ CONFIGURE_ARGS += -DWITH_XC_YUBIKEY=ON
 # Sync with archs that ship Firefox and/or Chromium
 ONLY_FOR_ARCHS =   amd64 i386 aarch64
 CONFIGURE_ARGS +=  -DWITH_XC_BROWSER=ON \
-   -DWITH_XC_NETWORKING=ON
+   -DWITH_XC_NETWORKING=ON \
+   -DWITH_XC_BROWSER_PASSKEYS=ON
 # helper executable
 ALL_TARGET +=  keepassxc-proxy
 .endif
diff --git a/security/keepassxc/distinfo b/security/keepassxc/distinfo
index fcaa4819cf4..5dcb6c71904 100644
--- a/security/keepassxc/distinfo
+++ b/security/keepassxc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (keepassxc-2.7.6-src.tar.xz) = 
pYB0UJ+o6Q8VLGJH9z514SYwMIH1Xu206gy7b6mA1nA=
-SIZE (keepassxc-2.7.6-src.tar.xz) = 8474624
+SHA256 (keepassxc-2.7.7-src.tar.xz) = 
WPxFrpjks/+wUhAwFPW5ekH+/RcQLH9WBzk03TqC7mc=
+SIZE (keepassxc-2.7.7-src.tar.xz) = 9734460



CVS: cvs.openbsd.org: ports

2024-03-18 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2024/03/18 00:01:15

Modified files:
security/openssl-ruby-tests: Makefile distinfo 

Log message:
Update to openssl-ruby-tests 20240318