Re: lapack: set DPB_PROPERTIES=parallel?

2022-08-30 Thread Kurt Mosiejczuk
On Tue, Aug 30, 2022 at 07:56:39PM +0100, Stuart Henderson wrote:
> lapack seems happy with a parallel build, and there's quite a time
> saving compared to a single-process build. ok to add DPB_PROPERTIES
> to tell DPB that it's alright to do that?

ok kmos

> Index: Makefile
> ===
> RCS file: /cvs/ports/math/lapack/Makefile,v
> retrieving revision 1.33
> diff -u -p -r1.33 Makefile
> --- Makefile  11 Mar 2022 19:36:17 -  1.33
> +++ Makefile  30 Aug 2022 18:52:49 -
> @@ -1,4 +1,5 @@
>  COMMENT= library of Fortran linear algebra subroutines
> +DPB_PROPERTIES=  parallel
>  
>  VERSION= 3.8.0
>  DISTNAME=lapack-${VERSION}
> 



Fwd: [UPDATE] MAINTAINER for security/py-in-toto-1.2.0

2022-08-30 Thread George Rosamond




 Forwarded Message 
Subject: [UPDATE] MAINTAINER for security/py-in-toto-1.2.0
Date: Wed, 24 Aug 2022 11:53:56 -0400
From: George Rosamond 
To: OpenBSD Ports 

Added me as MAINTAINER, set REVISION = 0

Thanks.

gIndex: py-in-toto//Makefile
===
RCS file: /cvs/ports/security/py-in-toto/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- py-in-toto//Makefile	23 Aug 2022 20:34:36 -	1.1.1.1
+++ py-in-toto//Makefile	24 Aug 2022 15:10:46 -
@@ -4,10 +4,13 @@ MODPY_EGG_VERSION =	1.2.0
 
 DISTNAME =	in-toto-${MODPY_EGG_VERSION}
 PKGNAME =	py-${DISTNAME}
+REVISION =	0
 
 CATEGORIES =	security
 
 HOMEPAGE =	https://in-toto.io/
+
+MAINTAINER =	George Rosamond 
 
 # Apache 2.0
 PERMIT_PACKAGE =	Yes


Fwd: [UPDATE] MAINTAINER for security/py-securesystemslib-0.23.0

2022-08-30 Thread George Rosamond

ping


 Forwarded Message 
Subject: [UPDATE] MAINTAINER for security/py-securesystemslib-0.23.0
Date: Wed, 24 Aug 2022 11:54:13 -0400
From: George Rosamond 
To: OpenBSD Ports 

Added me as MAINTAINER, set REVISION = 0

Thanks.

gIndex: py-securesystemslib//Makefile
===
RCS file: /cvs/ports/security/py-securesystemslib/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- py-securesystemslib//Makefile	23 Aug 2022 20:33:51 -	1.1.1.1
+++ py-securesystemslib//Makefile	24 Aug 2022 15:12:59 -
@@ -4,10 +4,13 @@ MODPY_EGG_VERSION =	0.23.0
 
 DISTNAME =	securesystemslib-${MODPY_EGG_VERSION}
 PKGNAME =	py-${DISTNAME}
+REVISION =	0
 
 CATEGORIES =	security
 
 HOMEPAGE =	https://github.com/secure-systems-lab/securesystemslib/
+
+MAINTAINER =	George Rosamond 
 
 # MIT
 PERMIT_PACKAGE =	Yes


Re: [PATCH]:Made vis-0.7 manpage refer to re_format(7) rather than regex(7)

2022-08-30 Thread Artsi0m
Patch against OpenBSD ports source tree


Index: Makefile
===
RCS file: /cvs/ports/editors/vis/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- Makefile11 Mar 2022 18:58:39 -  1.11
+++ Makefile29 Aug 2022 15:41:35 -
@@ -2,7 +2,7 @@ COMMENT =   vi-like editor with sam-style

 V =0.7
 DISTNAME = vis-${V}
-REVISION = 0
+REVISION = 1

 TEST_V =   0.5
 SUPDISTNAME =  vis-test-${TEST_V}
cvs server: Diffing patches
Index: patches/patch-man-vis
===
RCS file: patches/patch-man-vis
diff -N patches/patch-man-vis
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-man-vis   29 Aug 2022 15:41:35 -
@@ -0,0 +1,14 @@
+Changed reference to regex(7) manpage to re_format(7)
+
+Index: man/vis.1
+--- man/vis.1
 man/vis.1
+@@ -260,7 +260,7 @@ currently defers regular expression matching to
 the underlying C library.
+ It uses what POSIX refers to as
+ .Dq Extended Regular Expressions
+ as described in
+-.Xr regex 7 .
++.Xr re_format 7 .
+ The anchors
+ .Ic ^
+ and



numpy multi arch tests wanted

2022-08-30 Thread Stuart Henderson
Can anyone help with "make test" runs for a py-numpy update on
various archs please? I've done i386/amd64 and can handle arm64
so any others would be great.

If it crashes all over the place please retry after adjusting
the .if ${MACHINE_ARCH} to disable cpu optimizations. (if you do
need to do that, clean/repackage/reinstall before running the
tests again).

(If anyone's able to test powerpc and has time to do so, it would
also be nice to know if patch-numpy_core_include_numpy_npy_common_h
is still needed).

Thanks!


Index: Makefile
===
RCS file: /cvs/ports/math/py-numpy/Makefile,v
retrieving revision 1.67
diff -u -p -r1.67 Makefile
--- Makefile30 Aug 2022 14:45:15 -  1.67
+++ Makefile30 Aug 2022 20:34:53 -
@@ -1,10 +1,8 @@
 COMMENT=   fast array and numeric programming library for Python
 
-MODPY_EGG_VERSION= 1.19.5
-REVISION=  2
+MODPY_EGG_VERSION= 1.23.2
 DISTNAME=  numpy-${MODPY_EGG_VERSION}
 PKGNAME=   py-${DISTNAME}
-EXTRACT_SUFX=  .zip
 
 CATEGORIES=math devel
 
@@ -40,7 +38,17 @@ LIB_DEPENDS+=${MODFORTRAN_LIB_DEPENDS}
math/cblas \
math/lapack
 WANTLIB+=  ${MODFORTRAN_WANTLIB} blas cblas lapack
-MODPY_DISTUTILS_BUILDARGS= --fcompiler=gnu95
+MODPY_DISTUTILS_BUILDARGS+= --fcompiler=gnu95
+.endif
+
+# cpu optimizations are runtime detected and seem OK on amd64.
+#
+# on i386 they trigger runtime segfaults (e.g. in tests and when using
+# programs which use numpy).
+#
+# other archs as yet unknown.
+.if ${MACHINE_ARCH} == i386
+MODPY_DISTUTILS_BUILDARGS+= --disable-optimization
 .endif
 
 # Cython 0.28.* uses __attribute__((optimize("Os"))) which
Index: distinfo
===
RCS file: /cvs/ports/math/py-numpy/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo25 Oct 2021 06:33:04 -  1.15
+++ distinfo30 Aug 2022 20:15:20 -
@@ -1,2 +1,2 @@
-SHA256 (numpy-1.19.5.zip) = p29QJDDdmNdUbh6iJQpzYMBlpf3qUrLf/ornGAkJtvQ=
-SIZE (numpy-1.19.5.zip) = 7318340
+SHA256 (numpy-1.23.2.tar.gz) = t40A5IJh+70Eqg10J8940YQB7gq9icdVm79CLlscfQE=
+SIZE (numpy-1.23.2.tar.gz) = 10719306
Index: patches/patch-numpy_core_include_numpy_npy_common_h
===
RCS file: 
/cvs/ports/math/py-numpy/patches/patch-numpy_core_include_numpy_npy_common_h,v
retrieving revision 1.9
diff -u -p -r1.9 patch-numpy_core_include_numpy_npy_common_h
--- patches/patch-numpy_core_include_numpy_npy_common_h 11 Mar 2022 19:36:29 
-  1.9
+++ patches/patch-numpy_core_include_numpy_npy_common_h 30 Aug 2022 20:15:20 
-
@@ -8,20 +8,12 @@ types that conflict with C99 (double for
 Index: numpy/core/include/numpy/npy_common.h
 --- numpy/core/include/numpy/npy_common.h.orig
 +++ numpy/core/include/numpy/npy_common.h
-@@ -341,14 +341,8 @@ typedef unsigned char npy_bool;
- #define NPY_FALSE 0
- #define NPY_TRUE 1
- 
--
+@@ -370,7 +370,7 @@ typedef unsigned char npy_bool;
+  *
+  * See https://github.com/numpy/numpy/issues/20348
+  */
 -#if NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE
--typedef double npy_longdouble;
--#define NPY_LONGDOUBLE_FMT "g"
--#else
--typedef long double npy_longdouble;
--#define NPY_LONGDOUBLE_FMT "Lg"
--#endif
-+typedef long double npy_longdouble;
-+#define NPY_LONGDOUBLE_FMT "Lg"
- 
- #ifndef Py_USING_UNICODE
- #error Must use Python with unicode enabled.
++#if 0 /* NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE */
+ #define NPY_LONGDOUBLE_FMT "g"
+ typedef double npy_longdouble;
+ #else
Index: patches/patch-numpy_core_setup_common_py
===
RCS file: /cvs/ports/math/py-numpy/patches/patch-numpy_core_setup_common_py,v
retrieving revision 1.3
diff -u -p -r1.3 patch-numpy_core_setup_common_py
--- patches/patch-numpy_core_setup_common_py11 Mar 2022 19:36:29 -  
1.3
+++ patches/patch-numpy_core_setup_common_py30 Aug 2022 20:38:43 -
@@ -1,12 +1,12 @@
 Index: numpy/core/setup_common.py
 --- numpy/core/setup_common.py.orig
 +++ numpy/core/setup_common.py
-@@ -108,7 +108,7 @@ OPTIONAL_STDFUNCS = ["expm1", "log1p", "acosh", "asinh
- "rint", "trunc", "exp2", "log2", "hypot", "atan2", "pow",
- "copysign", "nextafter", "ftello", "fseeko",
- "strtoll", "strtoull", "cbrt", "strtold_l", "fallocate",
--"backtrace", "madvise"]
-+"madvise"]
+@@ -131,7 +131,7 @@ OPTIONAL_STDFUNCS = ["expm1", "log1p", "acosh", "asinh
+ 
+ OPTIONAL_LOCALE_FUNCS = ["strtold_l"]
+ OPTIONAL_FILE_FUNCS = ["ftello", "fseeko", "fallocate"]
+-OPTIONAL_MISC_FUNCS = ["backtrace", "madvise"]
++OPTIONAL_MISC_FUNCS = ["madvise"]
  
  
  OPTIONAL_HEADERS = [
Index: patches/patch-numpy_distutils_fcompiler_gnu_py
===

lapack: set DPB_PROPERTIES=parallel?

2022-08-30 Thread Stuart Henderson
lapack seems happy with a parallel build, and there's quite a time
saving compared to a single-process build. ok to add DPB_PROPERTIES
to tell DPB that it's alright to do that?


Index: Makefile
===
RCS file: /cvs/ports/math/lapack/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile11 Mar 2022 19:36:17 -  1.33
+++ Makefile30 Aug 2022 18:52:49 -
@@ -1,4 +1,5 @@
 COMMENT=   library of Fortran linear algebra subroutines
+DPB_PROPERTIES=parallel
 
 VERSION=   3.8.0
 DISTNAME=  lapack-${VERSION}



Re: [patch] x11/fvwm2 and libX11 1.8.1

2022-08-30 Thread Matthieu Herrb
On Mon, Aug 08, 2022 at 10:06:45PM +0200, Matthieu Herrb wrote:
> On Sun, Aug 07, 2022 at 03:38:06PM +0200, Matthieu Herrb wrote:
> > Hi,
> > 
> > I've received a report that fvwm2 is abort(2)ing under -current, since
> > the import of libX11 1.8.1. The backtrace associated with this report
> > shows that it's the same issue that I fixed in xfce4-settings
> > earlier.
> > 
> > Unfortunatly, I can't reproduce the crash with the default fvwm2
> > configuration on my machines so I can't confirm if the patch below is
> > enough to completely fix the issue. I'm still waiting for a report
> > from the original reporter.
> > 
> > (There is also a NetBSD report that's probably caused by the same
> > issue: https://marc.infœ?l=netbsd-current-users&m=165902977815467&w=2)
> > 
> > Did anyone else here stumble on fvwm2 aborting since libX11 1.8.2 was
> > imported (approxymatly july 25 snapshots) ? if so can you try the
> > patch below ?
> 
> Ok, following the hint in the NetBSD report (start a few urxvt in
> ~/.xsession) I was able to reproduce
> the problem on fvwm2-2.6.9p1 and can confirm that my patches fix them.
> 
> ok?
> 
Hi,

looking a bit closer, the previous patch is incorrect. This one does
not mis Expose events.

But I still don't understand why the fvwm2 authors did so weird stuff
in their event loop. why is that need or which problem does it fix.

but if you use fvwm2 please test this patch and report success or
failure. (normally the current version in ports will sometimes crash
when several applications are started at launch time)

The same change needs to be applied to the fvwm3 patch.

Index: Makefile
===
RCS file: /cvs/OpenBSD/ports/x11/fvwm2/Makefile,v
retrieving revision 1.73
diff -u -p -u -r1.73 Makefile
--- Makefile29 Jul 2022 07:45:04 -  1.73
+++ Makefile7 Aug 2022 13:11:02 -
@@ -1,7 +1,7 @@
 COMMENT=   multiple virtual desktop window manager
 
 VERSION=   2.6.9
-REVISION=  1
+REVISION=  2
 DISTNAME=  fvwm-${VERSION}
 PKGNAME=   fvwm2-${VERSION}
 
Index: patches/patch-fvwm_events_c
===
RCS file: patches/patch-fvwm_events_c
diff -N patches/patch-fvwm_events_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-fvwm_events_c 7 Aug 2022 13:21:18 -
@@ -0,0 +1,28 @@
+Fix for XCheckIfEvent() callback lock recursion
+
+Index: fvwm/events.c
+--- fvwm/events.c.orig
 fvwm/events.c
+@@ -258,6 +258,12 @@ static int _pred_weed_accumulate_expose(
+   return 1;
+ }
+ 
++static int _pred_weed_is_expose(
++  Display *display, XEvent *event, XPointer arg)
++{
++  return (event->type == Expose) ? 2 : 0;
++}
++
+ static int _pred_weed_handle_expose(
+   Display *display, XEvent *event, XPointer arg)
+ {
+@@ -4542,7 +4548,8 @@ void handle_all_expose(void)
+ 
+   saved_event = fev_save_event();
+   FPending(dpy);
+-  FWeedIfEvents(dpy, _pred_weed_handle_expose, NULL);
++  FWeedAndHandleIfEvents(dpy, _pred_weed_is_expose,
++ _pred_weed_handle_expose, NULL);
+   fev_restore_event(saved_event);
+ 
+   return;
Index: patches/patch-libs_FEvent_c
===
RCS file: patches/patch-libs_FEvent_c
diff -N patches/patch-libs_FEvent_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-libs_FEvent_c 7 Aug 2022 13:21:18 -
@@ -0,0 +1,34 @@
+Fix for XCheckIfEvent() callback lock recursion
+
+Index: libs/FEvent.c
+--- libs/FEvent.c.orig
 libs/FEvent.c
+@@ -532,6 +532,28 @@ int FWeedIfEvents(
+   return weed_args.count;
+ }
+ 
++int FWeedAndHandleIfEvents(
++  Display *display,
++  int (*weed_predicate) (Display *display, XEvent *event, XPointer arg),
++  int (*handler) (Display *display, XEvent *event, XPointer arg),
++  XPointer arg)
++{
++  _fev_weed_args weed_args;
++  XEvent e;
++
++  assert(fev_is_invalid_event_type_set);
++  memset(&weed_args, 0, sizeof(weed_args));
++  weed_args.weed_predicate = weed_predicate;
++  weed_args.arg = arg;
++  if (FCheckPeekIfEvent(display, &e, _fev_pred_weed_if,
++(XPointer)&weed_args)) {
++  handler(display, &e, arg);
++  }
++  _fev_pred_weed_if_finish(&weed_args);
++
++  return weed_args.count;
++}
++
+ int FWeedIfWindowEvents(
+   Display *display, Window window,
+   int (*weed_predicate) (
Index: patches/patch-libs_FEvent_h
===
RCS file: patches/patch-libs_FEvent_h
diff -N patches/patch-libs_FEvent_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-libs_FEvent_h 7 Aug 2022 13:11:02 -
@@ -0,0 +1,20 @@
+Fix for XCheckIfEvent() callback lock recursion
+
+Index: libs/FEvent.h
+--- libs/FEvent.h.orig
 libs/FEvent.h
+@@ -113,6 +113,14 @@ int FWeedIfEvents(
+   Display *displ

Re: UPDATE: textproc/cmark

2022-08-30 Thread Rafael Sadowski
On Tue Aug 30, 2022 at 01:24:37PM +0200, Jan Klemkow wrote:
> On Tue, Aug 30, 2022 at 01:15:59PM +0200, Rafael Sadowski wrote:
> > On Tue Aug 30, 2022 at 11:03:04AM +0200, Jan Klemkow wrote:
> > > On Tue, Aug 30, 2022 at 10:57:15AM +0200, Rafael Sadowski wrote:
> > > > Hi Jan, Hi ports@,
> > > > 
> > > > here is a simple diff to update cmark to the latest stable version.  All
> > > > consumers are fine with 0.30.2.
> > > > 
> > > > OK? Rafael
> 
> OK jan@

Yet another tweak, we need python to run the test. OK?

Index: Makefile
===
RCS file: /cvs/ports/textproc/cmark/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile30 Aug 2022 11:26:26 -  1.5
+++ Makefile30 Aug 2022 12:43:20 -
@@ -3,6 +3,7 @@ COMMENT =   CommonMark parsing and renderi
 GH_ACCOUNT =   commonmark
 GH_PROJECT =   cmark
 GH_TAGNAME =   0.30.2
+REVISION = 0
 
 SHARED_LIBS += cmark 0.1 # 0.29
 
@@ -17,6 +18,10 @@ PERMIT_PACKAGE = Yes
 
 WANTLIB += c
 
-MODULES =  devel/cmake
+MODULES =  devel/cmake \
+   lang/python
+
+# tests only
+MODPY_RUNDEP = No
 
 .include 



Re: Update: Tor Browser 11.5.2 for -stable

2022-08-30 Thread Caspar Schutijser
Diff for -stable below. It's still building but provided that works out,
OK?

Caspar

--

Tor Browser: update to 11.5.2

Index: meta/tor-browser/Makefile
===
RCS file: /cvs/ports/meta/tor-browser/Makefile,v
retrieving revision 1.53.2.4
diff -u -p -r1.53.2.4 Makefile
--- meta/tor-browser/Makefile   3 Aug 2022 19:41:24 -   1.53.2.4
+++ meta/tor-browser/Makefile   30 Aug 2022 12:12:38 -
@@ -2,10 +2,10 @@ COMMENT=  Tor Browser meta package
 
 MAINTAINER=Caspar Schutijser 
 
-PKGNAME=   tor-browser-11.5.1
+PKGNAME=   tor-browser-11.5.2
 ONLY_FOR_ARCHS =   amd64
 
-RUN_DEPENDS=   www/tor-browser/browser>=11.5.1 \
+RUN_DEPENDS=   www/tor-browser/browser>=11.5.2 \
www/tor-browser/noscript>=11.4.6 \
net/tor>=0.4.7.8
 
Index: www/tor-browser/Makefile.inc
===
RCS file: /cvs/ports/www/tor-browser/Makefile.inc,v
retrieving revision 1.51.2.4
diff -u -p -r1.51.2.4 Makefile.inc
--- www/tor-browser/Makefile.inc3 Aug 2022 19:41:24 -   1.51.2.4
+++ www/tor-browser/Makefile.inc30 Aug 2022 12:12:38 -
@@ -3,7 +3,7 @@ HOMEPAGE ?= https://www.torproject.org
 PERMIT_PACKAGE ?=  Yes
 CATEGORIES =   www
 BROWSER_NAME = tor-browser
-TB_VERSION =   11.5.1
+TB_VERSION =   11.5.2
 TB_PREFIX =tb
 
 SUBST_VARS +=  BROWSER_NAME TB_VERSION
Index: www/tor-browser/browser/Makefile
===
RCS file: /cvs/ports/www/tor-browser/browser/Makefile,v
retrieving revision 1.78.2.4
diff -u -p -r1.78.2.4 Makefile
--- www/tor-browser/browser/Makefile3 Aug 2022 19:41:24 -   1.78.2.4
+++ www/tor-browser/browser/Makefile30 Aug 2022 12:12:38 -
@@ -14,7 +14,7 @@ EXTRACT_SUFX =.tar.xz
 PATCHORIG =.pat.orig
 
 PKGNAME =  ${TB_PREFIX}-browser-${TB_VERSION}
-DISTNAME = src-firefox-tor-browser-91.12.0esr-11.5-1-build1
+DISTNAME = src-firefox-tor-browser-91.13.0esr-11.5-1-build2
 
 FIX_EXTRACT_PERMISSIONS= Yes
 DISTFILES +=   ${DISTNAME}.tar.xz \
Index: www/tor-browser/browser/distinfo
===
RCS file: /cvs/ports/www/tor-browser/browser/distinfo,v
retrieving revision 1.49.2.4
diff -u -p -r1.49.2.4 distinfo
--- www/tor-browser/browser/distinfo3 Aug 2022 19:41:24 -   1.49.2.4
+++ www/tor-browser/browser/distinfo30 Aug 2022 12:12:38 -
@@ -1,6 +1,6 @@
-SHA256 (mozilla/src-firefox-tor-browser-91.12.0esr-11.5-1-build1.tar.xz) = 
hDoJBdfxp1HKO73oVia1ODK1TUeUCSUC9F4E8zAXX0k=
+SHA256 (mozilla/src-firefox-tor-browser-91.13.0esr-11.5-1-build2.tar.xz) = 
fDppZPkr7ZYd+PpLWvOaTInCajbdnwbAM410NRfeuOQ=
 SHA256 (mozilla/src-tor-launcher-0.2.37.tar.xz) = 
91AWkxTFbRS5HFXz2pon3l0hHAYusYX559AIr1i2MTw=
-SHA256 (mozilla/tor-browser-linux64-11.5.1_en-US.tar.xz) = 
LgzvptQoTHGngW4xDZNfm5teSjpAjcUzMKDbBHRInoo=
-SIZE (mozilla/src-firefox-tor-browser-91.12.0esr-11.5-1-build1.tar.xz) = 
412734180
+SHA256 (mozilla/tor-browser-linux64-11.5.2_en-US.tar.xz) = 
kM3OOFTpEU7nIyqqdGcqLZ86QLb6isM5cfWG7jo891o=
+SIZE (mozilla/src-firefox-tor-browser-91.13.0esr-11.5-1-build2.tar.xz) = 
413531784
 SIZE (mozilla/src-tor-launcher-0.2.37.tar.xz) = 261128
-SIZE (mozilla/tor-browser-linux64-11.5.1_en-US.tar.xz) = 112193560
+SIZE (mozilla/tor-browser-linux64-11.5.2_en-US.tar.xz) = 11220
Index: www/tor-browser/noscript/Makefile
===
RCS file: /cvs/ports/www/tor-browser/noscript/Makefile,v
retrieving revision 1.41.2.2
diff -u -p -r1.41.2.2 Makefile
--- www/tor-browser/noscript/Makefile   9 Jun 2022 19:23:20 -   1.41.2.2
+++ www/tor-browser/noscript/Makefile   30 Aug 2022 12:12:38 -
@@ -1,5 +1,5 @@
 ADDON_NAME =   noscript
-V =11.4.6
+V =11.4.9
 COMMENT =  Tor Browser add-on: flexible JS blocker
 HOMEPAGE = https://noscript.net
 MASTER_SITES = https://secure.informaction.com/download/releases/
Index: www/tor-browser/noscript/distinfo
===
RCS file: /cvs/ports/www/tor-browser/noscript/distinfo,v
retrieving revision 1.36.2.2
diff -u -p -r1.36.2.2 distinfo
--- www/tor-browser/noscript/distinfo   9 Jun 2022 19:23:20 -   1.36.2.2
+++ www/tor-browser/noscript/distinfo   30 Aug 2022 12:12:38 -
@@ -1,2 +1,2 @@
-SHA256 (noscript-11.4.6.xpi) = X5F+VKUtcmmVmXbrtutB8aFMBHww1fe9akAf5BJvCzo=
-SIZE (noscript-11.4.6.xpi) = 915963
+SHA256 (noscript-11.4.9.xpi) = R6dA+QJY3nVbcJFoxJhdn8ZyH/fzL5z8THCUMWzF+WA=
+SIZE (noscript-11.4.9.xpi) = 922472



Update: Tor Browser 11.5.2

2022-08-30 Thread Caspar Schutijser
Hi,

Below is a diff that updates Tor Browser to 11.5.2. Just like the
Firefoxes, I've now enabled --enable-lto=thin. I can't easily do the
profdata thing because I haven't found any profdata for Tor Browser on
the MASTER_SITE. Feedback or OKs? Diff for -stable to follow.

Caspar Schutijser

--

Tor Browser: update to 11.5.2

Enable --enable-lto=thin, just like www/firefox-esr.

Index: meta/tor-browser/Makefile
===
RCS file: /cvs/ports/meta/tor-browser/Makefile,v
retrieving revision 1.58
diff -u -p -r1.58 Makefile
--- meta/tor-browser/Makefile   29 Jul 2022 20:20:10 -  1.58
+++ meta/tor-browser/Makefile   30 Aug 2022 12:05:43 -
@@ -2,11 +2,11 @@ COMMENT=  Tor Browser meta package
 
 MAINTAINER=Caspar Schutijser 
 
-PKGNAME=   tor-browser-11.5.1
+PKGNAME=   tor-browser-11.5.2
 ONLY_FOR_ARCHS =   amd64
 
-RUN_DEPENDS=   www/tor-browser/browser>=11.5.1 \
+RUN_DEPENDS=   www/tor-browser/browser>=11.5.2 \
www/tor-browser/noscript>=11.4.6 \
-   net/tor>=0.4.7.8
+   net/tor>=0.4.7.10
 
 .include 
Index: www/tor-browser/Makefile.inc
===
RCS file: /cvs/ports/www/tor-browser/Makefile.inc,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile.inc
--- www/tor-browser/Makefile.inc29 Jul 2022 20:20:10 -  1.56
+++ www/tor-browser/Makefile.inc30 Aug 2022 12:05:43 -
@@ -3,7 +3,7 @@ HOMEPAGE ?= https://www.torproject.org
 PERMIT_PACKAGE ?=  Yes
 CATEGORIES =   www
 BROWSER_NAME = tor-browser
-TB_VERSION =   11.5.1
+TB_VERSION =   11.5.2
 TB_PREFIX =tb
 
 SUBST_VARS +=  BROWSER_NAME TB_VERSION
Index: www/tor-browser/browser/Makefile
===
RCS file: /cvs/ports/www/tor-browser/browser/Makefile,v
retrieving revision 1.87
diff -u -p -r1.87 Makefile
--- www/tor-browser/browser/Makefile18 Aug 2022 23:24:17 -  1.87
+++ www/tor-browser/browser/Makefile30 Aug 2022 12:05:43 -
@@ -14,7 +14,7 @@ EXTRACT_SUFX =.tar.xz
 PATCHORIG =.pat.orig
 
 PKGNAME =  ${TB_PREFIX}-browser-${TB_VERSION}
-DISTNAME = src-firefox-tor-browser-91.12.0esr-11.5-1-build1
+DISTNAME = src-firefox-tor-browser-91.13.0esr-11.5-1-build2
 
 FIX_EXTRACT_PERMISSIONS= Yes
 DISTFILES +=   ${DISTNAME}.tar.xz \
@@ -77,11 +77,12 @@ MAKE_ENV += BUILD_OPT=1 \
NSS_ENABLE_ECC=1 \
XCFLAGS="-I${LOCALBASE}/include ${CFLAGS}"
 
-RUN_DEPENDS += net/tor>=0.4.7.8
+RUN_DEPENDS += net/tor>=0.4.7.10
 
 CONFIGURE_ARGS +=  --enable-release #1386371
 CONFIGURE_ARGS +=  --enable-sandbox
 CONFIGURE_ARGS +=  --enable-forkserver
+CONFIGURE_ARGS +=  --enable-lto=thin
 CONFIGURE_ARGS +=  --with-libclang-path=${LOCALBASE}/lib
 # remove post 96
 CONFIGURE_ARGS +=  --disable-necko-wifi
Index: www/tor-browser/browser/distinfo
===
RCS file: /cvs/ports/www/tor-browser/browser/distinfo,v
retrieving revision 1.54
diff -u -p -r1.54 distinfo
--- www/tor-browser/browser/distinfo29 Jul 2022 20:20:10 -  1.54
+++ www/tor-browser/browser/distinfo30 Aug 2022 12:05:43 -
@@ -1,6 +1,6 @@
-SHA256 (mozilla/src-firefox-tor-browser-91.12.0esr-11.5-1-build1.tar.xz) = 
hDoJBdfxp1HKO73oVia1ODK1TUeUCSUC9F4E8zAXX0k=
+SHA256 (mozilla/src-firefox-tor-browser-91.13.0esr-11.5-1-build2.tar.xz) = 
fDppZPkr7ZYd+PpLWvOaTInCajbdnwbAM410NRfeuOQ=
 SHA256 (mozilla/src-tor-launcher-0.2.37.tar.xz) = 
91AWkxTFbRS5HFXz2pon3l0hHAYusYX559AIr1i2MTw=
-SHA256 (mozilla/tor-browser-linux64-11.5.1_en-US.tar.xz) = 
LgzvptQoTHGngW4xDZNfm5teSjpAjcUzMKDbBHRInoo=
-SIZE (mozilla/src-firefox-tor-browser-91.12.0esr-11.5-1-build1.tar.xz) = 
412734180
+SHA256 (mozilla/tor-browser-linux64-11.5.2_en-US.tar.xz) = 
kM3OOFTpEU7nIyqqdGcqLZ86QLb6isM5cfWG7jo891o=
+SIZE (mozilla/src-firefox-tor-browser-91.13.0esr-11.5-1-build2.tar.xz) = 
413531784
 SIZE (mozilla/src-tor-launcher-0.2.37.tar.xz) = 261128
-SIZE (mozilla/tor-browser-linux64-11.5.1_en-US.tar.xz) = 112193560
+SIZE (mozilla/tor-browser-linux64-11.5.2_en-US.tar.xz) = 11220
Index: www/tor-browser/noscript/Makefile
===
RCS file: /cvs/ports/www/tor-browser/noscript/Makefile,v
retrieving revision 1.44
diff -u -p -r1.44 Makefile
--- www/tor-browser/noscript/Makefile   9 Jun 2022 04:23:28 -   1.44
+++ www/tor-browser/noscript/Makefile   30 Aug 2022 12:05:43 -
@@ -1,5 +1,5 @@
 ADDON_NAME =   noscript
-V =11.4.6
+V =11.4.9
 COMMENT =  Tor Browser add-on: flexible JS blocker
 HOMEPAGE = https://noscript.net
 MASTER_SITES = https://secu

UPDATE: multimedia/assimp

2022-08-30 Thread Rafael Sadowski
Update assimp to 5.2.4. Consumers looking happy and cmake patches are obsolete.
I also reorder some VARs in the Makefile.

OK?

diff --git a/multimedia/assimp/Makefile b/multimedia/assimp/Makefile
index 22a1fdd6788..2792a4a4d34 100644
--- a/multimedia/assimp/Makefile
+++ b/multimedia/assimp/Makefile
@@ -1,12 +1,11 @@
 COMMENT =  open asset import library
 CATEGORIES =   multimedia
 
-SHARED_LIBS += assimp1.0 # 5.0
-
 GH_ACCOUNT =   assimp
 GH_PROJECT =   assimp
-GH_TAGNAME =   v5.0.0
-REVISION = 1
+GH_TAGNAME =   v5.2.4
+
+SHARED_LIBS += assimp1.1 # 5.0
 
 HOMEPAGE = https://www.assimp.org/
 MAINTAINER =   Brian Callahan 
@@ -19,16 +18,13 @@ WANTLIB += ${COMPILER_LIBCXX} c m z
 # C++11
 COMPILER = base-clang ports-gcc
 
-# make sure we dont pickup minizip from ports as its not the same
-CONFIGURE_ARGS+=-DASSIMP_BUILD_MINIZIP:bool=true
 MODULES =  devel/cmake
 
 BUILD_DEPENDS =devel/boost
 
-NO_TEST =  Yes
+# make sure we dont pickup minizip from ports as its not the same
+CONFIGURE_ARGS+=-DASSIMP_BUILD_MINIZIP=ON
 
-pre-configure:
-   ${SUBST_CMD} ${WRKSRC}/assimpTargets-release.cmake.in \
-   ${WRKSRC}/assimpTargets-debug.cmake.in
+NO_TEST =  Yes
 
 .include 
diff --git a/multimedia/assimp/distinfo b/multimedia/assimp/distinfo
index f89f049aa81..8a4aee8af4e 100644
--- a/multimedia/assimp/distinfo
+++ b/multimedia/assimp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (assimp-5.0.0.tar.gz) = sBEKkWUNa7QADj1cIYW/d7D/Ci56KEvCxK+BszmItjw=
-SIZE (assimp-5.0.0.tar.gz) = 46604597
+SHA256 (assimp-5.2.4.tar.gz) = ak/3Xccngh9171Kc6hxPwKe1/C4KCy/y9reZP+bLVLo=
+SIZE (assimp-5.2.4.tar.gz) = 49613683
diff --git a/multimedia/assimp/patches/patch-assimpTargets-debug_cmake_in 
b/multimedia/assimp/patches/patch-assimpTargets-debug_cmake_in
deleted file mode 100644
index bcb5dbbdd30..000
--- a/multimedia/assimp/patches/patch-assimpTargets-debug_cmake_in
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: assimpTargets-debug.cmake.in
 assimpTargets-debug.cmake.in.orig
-+++ assimpTargets-debug.cmake.in
-@@ -63,7 +63,7 @@ if(MSVC)
- else()
-   set(ASSIMP_LIBRARY_SUFFIX "@ASSIMP_LIBRARY_SUFFIX@" CACHE STRING "the 
suffix for the assimp libraries" )
-   if(ASSIMP_BUILD_SHARED_LIBS)
--set(sharedLibraryName 
"libassimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_DEBUG_POSTFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@.@ASSIMP_VERSION_MAJOR@")
-+set(sharedLibraryName 
"libassimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_DEBUG_POSTFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@.${LIBassimp_VERSION}")
- set_target_properties(assimp::assimp PROPERTIES
-   IMPORTED_SONAME_DEBUG "${sharedLibraryName}"
-   IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/${sharedLibraryName}"
diff --git a/multimedia/assimp/patches/patch-assimpTargets-release_cmake_in 
b/multimedia/assimp/patches/patch-assimpTargets-release_cmake_in
deleted file mode 100644
index e45dcea0970..000
--- a/multimedia/assimp/patches/patch-assimpTargets-release_cmake_in
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: assimpTargets-release.cmake.in
 assimpTargets-release.cmake.in.orig
-+++ assimpTargets-release.cmake.in
-@@ -63,7 +63,7 @@ if(MSVC)
- else()
-   set(ASSIMP_LIBRARY_SUFFIX "@ASSIMP_LIBRARY_SUFFIX@" CACHE STRING "the 
suffix for the assimp libraries" )
-   if(ASSIMP_BUILD_SHARED_LIBS)
--set(sharedLibraryName 
"libassimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_SHARED_LIBRARY_SUFFIX@.@ASSIMP_VERSION_MAJOR@")
-+set(sharedLibraryName 
"libassimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_SHARED_LIBRARY_SUFFIX@.${LIBassimp_VERSION}")
- set_target_properties(assimp::assimp PROPERTIES
-   IMPORTED_SONAME_RELEASE "${sharedLibraryName}"
-   IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/${sharedLibraryName}"
diff --git a/multimedia/assimp/pkg/PLIST b/multimedia/assimp/pkg/PLIST
index 2d01b50a55a..b0215082186 100644
--- a/multimedia/assimp/pkg/PLIST
+++ b/multimedia/assimp/pkg/PLIST
@@ -1,9 +1,11 @@
 @bin bin/assimp
 include/assimp/
+include/assimp/Base64.hpp
 include/assimp/BaseImporter.h
 include/assimp/Bitmap.h
 include/assimp/BlobIOSystem.h
 include/assimp/ByteSwapper.h
+include/assimp/ColladaMetaData.h
 include/assimp/Compiler/
 include/assimp/Compiler/poppack1.h
 include/assimp/Compiler/pstdint.h
@@ -12,10 +14,10 @@ include/assimp/CreateAnimMesh.h
 include/assimp/DefaultIOStream.h
 include/assimp/DefaultIOSystem.h
 include/assimp/DefaultLogger.hpp
-include/assimp/Defines.h
 include/assimp/Exceptional.h
 include/assimp/Exporter.hpp
 include/assimp/GenericProperty.h
+include/assimp/GltfMaterial.h
 include/assimp/Hash.h
 include/assimp/IOStream.hpp
 include/assimp/IOStreamBuffer.h
@@ -25,10 +27,10 @@ include/assimp/LineSplitter.h
 include/assimp/LogAux.h
 include/assimp/LogStream.hpp
 include/assimp/Logger.hpp
-include/assimp/Macros.h
 include/assimp/MathFunctions.h
 include/assimp/MemoryIOWrapper.h
 include/assimp/NullLogger.hpp
+include/assimp/ObjMaterial.h
 include/assimp/ParsingUtils.h
 include/assimp/Profiler.h
 include/assimp

Re: UPDATE: textproc/cmark

2022-08-30 Thread Rafael Sadowski
On Tue Aug 30, 2022 at 11:03:04AM +0200, Jan Klemkow wrote:
> On Tue, Aug 30, 2022 at 10:57:15AM +0200, Rafael Sadowski wrote:
> > Hi Jan, Hi ports@,
> > 
> > here is a simple diff to update cmark to the latest stable version.  All
> > consumers are fine with 0.30.2.
> > 
> > OK? Rafael
> 
> OK jan@

I fetched bf2be5954342b029afdc431040a9e5ad3d7e41e9 from upstream. Still OK?

Index: Makefile
===
RCS file: /cvs/ports/textproc/cmark/Makefile,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 Makefile
--- Makefile11 Mar 2022 20:02:26 -  1.4
+++ Makefile30 Aug 2022 11:14:53 -
@@ -2,9 +2,9 @@ COMMENT =   CommonMark parsing and renderi
 
 GH_ACCOUNT =   commonmark
 GH_PROJECT =   cmark
-GH_TAGNAME =   0.29.0
+GH_TAGNAME =   0.30.2
 
-SHARED_LIBS += cmark 0.0 # 0.29
+SHARED_LIBS += cmark 0.1 # 0.29
 
 CATEGORIES =   textproc
 
Index: distinfo
===
RCS file: /cvs/ports/textproc/cmark/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo3 May 2019 05:32:41 -   1.2
+++ distinfo30 Aug 2022 11:14:53 -
@@ -1,2 +1,2 @@
-SHA256 (cmark-0.29.0.tar.gz) = JVis48vv+FYQ3jvaMoWPcis1ms2t8MRpGFGGW7hJJKY=
-SIZE (cmark-0.29.0.tar.gz) = 234545
+SHA256 (cmark-0.30.2.tar.gz) = bH0ryuoUM9l32P7QtVtxydBFp832FuPNLc6QB9p1PbM=
+SIZE (cmark-0.30.2.tar.gz) = 246033
Index: patches/patch-src_cmark_h
===
RCS file: patches/patch-src_cmark_h
diff -N patches/patch-src_cmark_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_cmark_h   30 Aug 2022 11:14:53 -
@@ -0,0 +1,15 @@
+Fix *cmark_get_default_mem_allocator(void) prototype 
+https://github.com/commonmark/cmark/commit/bf2be5954342b029afdc431040a9e5ad3d7e41e9
+
+Index: src/cmark.h
+--- src/cmark.h.orig
 src/cmark.h
+@@ -102,7 +102,7 @@ typedef struct cmark_mem {
+ 
+ /** Returns a pointer to the default memory allocator.
+  */
+-CMARK_EXPORT cmark_mem *cmark_get_default_mem_allocator();
++CMARK_EXPORT cmark_mem *cmark_get_default_mem_allocator(void);
+ 
+ /**
+  * ## Creating and Destroying Nodes
Index: pkg/PLIST
===
RCS file: /cvs/ports/textproc/cmark/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST   11 Mar 2022 20:02:26 -  1.2
+++ pkg/PLIST   30 Aug 2022 11:14:53 -
@@ -3,9 +3,12 @@ include/cmark.h
 include/cmark_export.h
 include/cmark_version.h
 lib/cmake/
-lib/cmake/cmark${MODCMAKE_BUILD_SUFFIX}
-lib/cmake/cmark.cmake
-lib/libcmark.a
+lib/cmake/cmark/
+lib/cmake/cmark/cmark-config-version.cmake
+lib/cmake/cmark/cmark-config.cmake
+lib/cmake/cmark/cmark-targets${MODCMAKE_BUILD_SUFFIX}
+lib/cmake/cmark/cmark-targets.cmake
+@static-lib lib/libcmark.a
 @lib lib/libcmark.so.${LIBcmark_VERSION}
 lib/pkgconfig/libcmark.pc
 @man man/man1/cmark.1



powerpc bulk build report

2022-08-30 Thread gkoehler
Bulk build on macppc-0.ports.openbsd.org

Started : Fri Aug  5 14:48:23 MDT 2022
Finished: Tue Aug 30 05:13:06 MDT 2022
Duration: 24 Days 14 hours 25 minutes

Built using OpenBSD 7.2-beta (GENERIC) #2: Wed Aug  3 17:07:49 MDT 2022

Built 9701 packages

Number of packages built each day:
Aug 5: 298
Aug 6: 724
Aug 7: 852
Aug 8: 428
Aug 9: 385
Aug 10: 647
Aug 11: 448
Aug 12: 298
Aug 13: 175
Aug 14: 231
Aug 15: 286
Aug 16: 342
Aug 17: 305
Aug 18: 383
Aug 19: 347
Aug 20: 256
Aug 21: 767
Aug 22: 302
Aug 23: 369
Aug 24: 776
Aug 25: 1012
Aug 26: 17
Aug 27: 20
Aug 28: 12
Aug 29: 15
Aug 30: 6



Critical path missing pkgs: 
http://build-failures.rhaalovely.net/powerpc/2022-08-05/summary.log

Build failures: 16
http://build-failures.rhaalovely.net/powerpc/2022-08-05/devel/abseil-cpp.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/devel/qcoro.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/emulators/higan.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/emulators/retroarch.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/games/eduke32.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/games/hyperrogue.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/games/nblood.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/geo/qgis.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/graphics/birdfont.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/graphics/openimageio.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/lang/chicken/bootstrap.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/lang/gambit.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/lang/pcc/pcc-libs.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/multimedia/mkvtoolnix.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/telephony/asterisk-g729.log
http://build-failures.rhaalovely.net/powerpc/2022-08-05/x11/gnome/secrets.log

Recurrent failures:
 failures/devel/abseil-cpp.log
 failures/emulators/higan.log
 failures/emulators/retroarch.log
 failures/games/eduke32.log
 failures/games/hyperrogue.log
 failures/games/nblood.log
 failures/graphics/birdfont.log
 failures/graphics/openimageio.log
 failures/lang/gambit.log
 failures/lang/pcc/pcc-libs.log
 failures/summary.log
 failures/x11/gnome/secrets.log

New failures:
+failures/devel/qcoro.log
+failures/geo/qgis.log
+failures/lang/chicken/bootstrap.log
+failures/multimedia/mkvtoolnix.log
+failures/telephony/asterisk-g729.log

Resolved failures:
-failures/emulators/mednafen.log
-failures/emulators/qemu,-ga.log
-failures/games/odamex.log
-failures/productivity/gnucash.log
-failures/x11/qt6/qtdeclarative.log

Packages newly built:
+archivers/zpaqfranz
+astro/kstars
+audio/cantata
+audio/clementine
+audio/musique
+audio/pavucontrol
+audio/picard
+audio/puddletag
+audio/pulseaudio
+benchmarks/netperf-wrapper,,-gui
+benchmarks/netperf-wrapper,-gui
+benchmarks/udpbench
+cad/dxf2gcode
+cad/openscad
+comms/gnuradio
+comms/minimodem
+databases/iodbc,bootstrap,no_admin
+databases/iodbc,bootstrap,no_admin,-main
+databases/pgbackrest
+databases/py-influxdb_client,python3
+devel/coeurl
+devel/git-cola
+devel/kdiff3
+devel/kf5/baloo
+devel/kf5/frameworkintegration
+devel/kf5/kauth
+devel/kf5/kbookmarks
+devel/kf5/kcmutils
+devel/kf5/kconfigwidgets
+devel/kf5/kdav
+devel/kf5/kdeclarative
+devel/kf5/kdelibs4support
+devel/kf5/kdewebkit
+devel/kf5/khtml
+devel/kf5/kiconthemes
+devel/kf5/kinit
+devel/kf5/kio
+devel/kf5/kmediaplayer
+devel/kf5/knewstuff
+devel/kf5/knotifications
+devel/kf5/knotifyconfig
+devel/kf5/kparts
+devel/kf5/kross
+devel/kf5/krunner
+devel/kf5/ktexteditor
+devel/kf5/ktextwidgets
+devel/kf5/kwallet
+devel/kf5/kxmlgui
+devel/kf5/kxmlrpcclient
+devel/kf5/plasma-framework
+devel/kf5/purpose
+devel/kf5/qqc2-desktop-style
+devel/libdispatch
+devel/mtxclient
+devel/py-build,python3
+devel/py-flit,python3
+devel/py-flit_core,python3
+devel/py-installer,python3
+devel/py-pep517,python3
+devel/rebar3,erlang25
+devel/riscv32-esp-elf/binutils
+devel/riscv32-esp-elf/gcc
+devel/riscv32-esp-elf/gcc-bootstrap
+devel/riscv32-esp-elf/gdb
+devel/riscv32-esp-elf/newlib
+devel/spdlog
+devel/xtensa-esp32s2-elf/binutils
+devel/xtensa-esp32s2-elf/gcc
+devel/xtensa-esp32s2-elf/gcc-bootstrap
+devel/xtensa-esp32s2-elf/gdb
+devel/xtensa-esp32s2-elf/newlib
+devel/xtensa-esp32s3-elf/binutils
+devel/xtensa-esp32s3-elf/gcc
+devel/xtensa-esp32s3-elf/gcc-bootstrap
+devel/xtensa-esp32s3-elf/gdb
+devel/xtensa-esp32s3-elf/newlib
+editors/calligra
+editors/focuswriter
+editors/kile
+editors/py-qscintilla,python3
+emulators/fs-uae-launcher
+emulators/gr-lida
+emulators/mednafen
+emulators/mgba
+emulators/mgba,-libretro
+emulators/mgba,-main
+emulators/mgba,-qt
+emulators/qemu
+emulators/qemu,-ga
+emulators/qemu,-main
+games/chessx
+games/chiaki
+games/gcompris
+games/odamex
+games/stepmania
+geo/geocode-glib,-icons
+geo/geocode-glib,-main
+geo/geocode-glib,soup3
+geo/geocode-glib,soup3,-icons
+geo/geocode-glib

UPDATE: net/neochat

2022-08-30 Thread Rafael Sadowski
Hey NeoChat / Matrix users, tests are welcome. OK?

Index: Makefile
===
RCS file: /cvs/ports/net/neochat/Makefile,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 Makefile
--- Makefile13 Jun 2022 08:18:48 -  1.10
+++ Makefile30 Aug 2022 09:10:04 -
@@ -1,5 +1,5 @@
 COMMENT =  client for Matrix chat
-VERSION =  22.04
+VERSION =  22.06
 DISTNAME = neochat-${VERSION}
 
 CATEGORIES=net
Index: distinfo
===
RCS file: /cvs/ports/net/neochat/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo13 Jun 2022 08:18:48 -  1.3
+++ distinfo30 Aug 2022 09:10:04 -
@@ -1,2 +1,2 @@
-SHA256 (neochat-22.04.tar.xz) = qDaZXsBDB4ZKgCPg3APWN/8tuJ51lI64UlImLoqdIRI=
-SIZE (neochat-22.04.tar.xz) = 36
+SHA256 (neochat-22.06.tar.xz) = tvEk4EeSpbo6/nAeqXg2QMKyA8RmTijPshQvAAebnZs=
+SIZE (neochat-22.06.tar.xz) = 336432
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/neochat/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 PLIST
--- pkg/PLIST   13 Jun 2022 08:18:48 -  1.4
+++ pkg/PLIST   30 Aug 2022 09:10:04 -
@@ -3,7 +3,6 @@
 share/applications/org.kde.neochat.desktop
 share/icons/hicolor/scalable/apps/org.kde.neochat.svg
 share/icons/hicolor/scalable/apps/org.kde.neochat.tray.svg
-share/knotifications5/
 share/knotifications5/neochat.notifyrc
 share/krunner/
 share/krunner/dbusplugins/
@@ -32,6 +31,7 @@ share/locale/pa/LC_MESSAGES/neochat.mo
 share/locale/pl/LC_MESSAGES/neochat.mo
 share/locale/pt/LC_MESSAGES/neochat.mo
 share/locale/pt_BR/LC_MESSAGES/neochat.mo
+share/locale/ru/LC_MESSAGES/neochat.mo
 share/locale/sk/LC_MESSAGES/neochat.mo
 share/locale/sl/LC_MESSAGES/neochat.mo
 share/locale/sv/LC_MESSAGES/neochat.mo
@@ -39,10 +39,8 @@ share/locale/ta/LC_MESSAGES/neochat.mo
 share/locale/tok/LC_MESSAGES/neochat.mo
 share/locale/tr/LC_MESSAGES/neochat.mo
 share/locale/uk/LC_MESSAGES/neochat.mo
-share/locale/x-test/
-share/locale/x-test/LC_MESSAGES/
-share/locale/x-test/LC_MESSAGES/neochat.mo
 share/locale/zh_CN/LC_MESSAGES/neochat.mo
+share/locale/zh_TW/LC_MESSAGES/neochat.mo
 share/metainfo/
 @tag update-desktop-database
 @tag gtk-update-icon-cache %D/share/icons/hicolor



Re: UPDATE: textproc/cmark

2022-08-30 Thread Rafael Sadowski
On Tue Aug 30, 2022 at 10:57:15AM +0200, Rafael Sadowski wrote:
> Hi Jan, Hi ports@,
> 
> here is a simple diff to update cmark to the latest stable version.  All
> consumers are fine with 0.30.2.

Doh! I missed a build result, x11/gnome/builder is not happy:

/usr/local/include/cmark.h:105:56: error: this function declaration is not a 
prototype [-Werror,-Wstrict-prototypes]
CMARK_EXPORT cmark_mem *cmark_get_default_mem_allocator();
   ^
void
1 error generated.


> 
> OK? Rafael
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/textproc/cmark/Makefile,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 Makefile
> --- Makefile  11 Mar 2022 20:02:26 -  1.4
> +++ Makefile  30 Aug 2022 08:34:01 -
> @@ -2,9 +2,9 @@ COMMENT = CommonMark parsing and renderi
>  
>  GH_ACCOUNT = commonmark
>  GH_PROJECT = cmark
> -GH_TAGNAME = 0.29.0
> +GH_TAGNAME = 0.30.2
>  
> -SHARED_LIBS +=   cmark 0.0 # 0.29
> +SHARED_LIBS +=   cmark 0.1 # 0.29
>  
>  CATEGORIES = textproc
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/textproc/cmark/distinfo,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 distinfo
> --- distinfo  3 May 2019 05:32:41 -   1.2
> +++ distinfo  30 Aug 2022 08:34:01 -
> @@ -1,2 +1,2 @@
> -SHA256 (cmark-0.29.0.tar.gz) = JVis48vv+FYQ3jvaMoWPcis1ms2t8MRpGFGGW7hJJKY=
> -SIZE (cmark-0.29.0.tar.gz) = 234545
> +SHA256 (cmark-0.30.2.tar.gz) = bH0ryuoUM9l32P7QtVtxydBFp832FuPNLc6QB9p1PbM=
> +SIZE (cmark-0.30.2.tar.gz) = 246033
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/textproc/cmark/pkg/PLIST,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 PLIST
> --- pkg/PLIST 11 Mar 2022 20:02:26 -  1.2
> +++ pkg/PLIST 30 Aug 2022 08:34:01 -
> @@ -3,9 +3,12 @@ include/cmark.h
>  include/cmark_export.h
>  include/cmark_version.h
>  lib/cmake/
> -lib/cmake/cmark${MODCMAKE_BUILD_SUFFIX}
> -lib/cmake/cmark.cmake
> -lib/libcmark.a
> +lib/cmake/cmark/
> +lib/cmake/cmark/cmark-config-version.cmake
> +lib/cmake/cmark/cmark-config.cmake
> +lib/cmake/cmark/cmark-targets${MODCMAKE_BUILD_SUFFIX}
> +lib/cmake/cmark/cmark-targets.cmake
> +@static-lib lib/libcmark.a
>  @lib lib/libcmark.so.${LIBcmark_VERSION}
>  lib/pkgconfig/libcmark.pc
>  @man man/man1/cmark.1
> 



UPDATE: devel/cmocka

2022-08-30 Thread Rafael Sadowski
Simple cmocka update to 1.1.5. OK?

Index: Makefile
===
RCS file: /cvs/ports/devel/cmocka/Makefile,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 Makefile
--- Makefile11 Mar 2022 18:49:50 -  1.14
+++ Makefile30 Aug 2022 08:58:26 -
@@ -1,8 +1,8 @@
 COMMENT =  elegant unit testing framework for C
 
-DISTNAME = cmocka-1.1.3
+DISTNAME = cmocka-1.1.5
 
-SHARED_LIBS += cmocka0.3 # 0.5
+SHARED_LIBS += cmocka0.4 # 0.5
 
 CATEGORIES =   devel
 
Index: distinfo
===
RCS file: /cvs/ports/devel/cmocka/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo3 Oct 2018 13:40:38 -   1.6
+++ distinfo30 Aug 2022 08:58:26 -
@@ -1,2 +1,2 @@
-SHA256 (cmocka-1.1.3.tar.xz) = Q+q89yqcgOPQP3yKHATkCMGNLbUSHrBYo+9zKp36v68=
-SIZE (cmocka-1.1.3.tar.xz) = 78744
+SHA256 (cmocka-1.1.5.tar.xz) = 8MzYJC1V4v10sWulGDWRUfb4OD/4rvSXbkg5P3e7qLY=
+SIZE (cmocka-1.1.5.tar.xz) = 81004
Index: patches/patch-CompilerChecks_cmake
===
RCS file: /cvs/ports/devel/cmocka/patches/patch-CompilerChecks_cmake,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-CompilerChecks_cmake
--- patches/patch-CompilerChecks_cmake  11 Mar 2022 18:49:50 -  1.3
+++ patches/patch-CompilerChecks_cmake  30 Aug 2022 08:58:26 -
@@ -41,12 +41,12 @@ Index: CompilerChecks.cmake
 -add_c_compiler_flag("-Werror=strict-overflow" SUPPORTED_COMPILER_FLAGS)
  add_c_compiler_flag("-Wstrict-overflow=2" SUPPORTED_COMPILER_FLAGS)
  add_c_compiler_flag("-Wno-format-zero-length" SUPPORTED_COMPILER_FLAGS)
- 
-@@ -48,7 +31,6 @@ if (UNIX)
+ add_c_compiler_flag("-Wmissing-field-initializers" 
SUPPORTED_COMPILER_FLAGS)
+@@ -49,7 +32,6 @@ if (UNIX)
  set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -Wformat")
  endif()
  add_c_compiler_flag("-Wformat-security" SUPPORTED_COMPILER_FLAGS)
 -add_c_compiler_flag("-Werror=format-security" SUPPORTED_COMPILER_FLAGS)
  
  # Allow zero for a variadic macro argument
- add_c_compiler_flag("-Wno-gnu-zero-variadic-macro-arguments" 
SUPPORTED_COMPILER_FLAGS)
+ string(TOLOWER "${CMAKE_C_COMPILER_ID}" _C_COMPILER_ID)
Index: patches/patch-include_cmocka_h
===
RCS file: /cvs/ports/devel/cmocka/patches/patch-include_cmocka_h,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 patch-include_cmocka_h
--- patches/patch-include_cmocka_h  11 Mar 2022 18:49:50 -  1.9
+++ patches/patch-include_cmocka_h  30 Aug 2022 08:58:26 -
@@ -3,7 +3,7 @@ Avoid a conflicting typedef on 32-bit ar
 Index: include/cmocka.h
 --- include/cmocka.h.orig
 +++ include/cmocka.h
-@@ -57,7 +57,7 @@ int __stdcall IsDebuggerPresent();
+@@ -58,7 +58,7 @@ int __stdcall IsDebuggerPresent();
  
  /* If __WORDSIZE is not set, try to figure it out and default to 32 bit. */
  #ifndef __WORDSIZE
@@ -12,7 +12,7 @@ Index: include/cmocka.h
  #  define __WORDSIZE 64
  # else
  #  define __WORDSIZE 32
-@@ -110,6 +110,9 @@ typedef uintmax_t LargestIntegralType;
+@@ -115,6 +115,9 @@ typedef uintmax_t LargestIntegralType;
  #define cast_to_largest_integral_type(value) \
  ((LargestIntegralType)(value))
  
@@ -22,7 +22,7 @@ Index: include/cmocka.h
  /* Smallest integral type capable of holding a pointer. */
  #if !defined(_UINTPTR_T) && !defined(_UINTPTR_T_DEFINED)
  # if defined(_WIN32)
-@@ -138,6 +141,7 @@ typedef uintmax_t LargestIntegralType;
+@@ -143,6 +146,7 @@ typedef uintmax_t LargestIntegralType;
  # define _UINTPTR_T
  # define _UINTPTR_T_DEFINED
  #endif /* !defined(_UINTPTR_T) || !defined(_UINTPTR_T_DEFINED) */



UPDATE: textproc/cmark

2022-08-30 Thread Rafael Sadowski
Hi Jan, Hi ports@,

here is a simple diff to update cmark to the latest stable version.  All
consumers are fine with 0.30.2.

OK? Rafael

Index: Makefile
===
RCS file: /cvs/ports/textproc/cmark/Makefile,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 Makefile
--- Makefile11 Mar 2022 20:02:26 -  1.4
+++ Makefile30 Aug 2022 08:34:01 -
@@ -2,9 +2,9 @@ COMMENT =   CommonMark parsing and renderi
 
 GH_ACCOUNT =   commonmark
 GH_PROJECT =   cmark
-GH_TAGNAME =   0.29.0
+GH_TAGNAME =   0.30.2
 
-SHARED_LIBS += cmark 0.0 # 0.29
+SHARED_LIBS += cmark 0.1 # 0.29
 
 CATEGORIES =   textproc
 
Index: distinfo
===
RCS file: /cvs/ports/textproc/cmark/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo3 May 2019 05:32:41 -   1.2
+++ distinfo30 Aug 2022 08:34:01 -
@@ -1,2 +1,2 @@
-SHA256 (cmark-0.29.0.tar.gz) = JVis48vv+FYQ3jvaMoWPcis1ms2t8MRpGFGGW7hJJKY=
-SIZE (cmark-0.29.0.tar.gz) = 234545
+SHA256 (cmark-0.30.2.tar.gz) = bH0ryuoUM9l32P7QtVtxydBFp832FuPNLc6QB9p1PbM=
+SIZE (cmark-0.30.2.tar.gz) = 246033
Index: pkg/PLIST
===
RCS file: /cvs/ports/textproc/cmark/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST   11 Mar 2022 20:02:26 -  1.2
+++ pkg/PLIST   30 Aug 2022 08:34:01 -
@@ -3,9 +3,12 @@ include/cmark.h
 include/cmark_export.h
 include/cmark_version.h
 lib/cmake/
-lib/cmake/cmark${MODCMAKE_BUILD_SUFFIX}
-lib/cmake/cmark.cmake
-lib/libcmark.a
+lib/cmake/cmark/
+lib/cmake/cmark/cmark-config-version.cmake
+lib/cmake/cmark/cmark-config.cmake
+lib/cmake/cmark/cmark-targets${MODCMAKE_BUILD_SUFFIX}
+lib/cmake/cmark/cmark-targets.cmake
+@static-lib lib/libcmark.a
 @lib lib/libcmark.so.${LIBcmark_VERSION}
 lib/pkgconfig/libcmark.pc
 @man man/man1/cmark.1



Re: [update] net/snort 2.9.20

2022-08-30 Thread Stuart Henderson
On 2022/08/29 23:39, Markus Lude wrote:
> On Wed, Aug 24, 2022 at 03:15:49PM +0100, Stuart Henderson wrote:
> 
> Hi,
> 
> > commited, thanks. diff was against an old tree so hand-applied
> > rather than patch(1)'d.
> 
> sorry for the additional work. I seem to have missed this.
> 
> Unfortunately some additional change crept in. The PLIST entry of
> lib/snort_dynamicrules got lost. Normally the directory is empty and a
> placeholder for compiled rules. The directory is referenced in
> /etc/snort/snort.conf:
> 
>256
>257  # path to dynamic rules libraries
>258  dynamicdetection directory /usr/local/lib/snort_dynamicrules
>259
> 
> and snort now complains about the missing directory.
> Therefore either comment out the line in snort.conf or as I prefer
> re-add back the entry in PLIST.
> 
> Attached is a patch for the later way.

I've committed this plus a change so the directory does actually get
created in post-install, otherwise the PLIST references a directory
which doesn't exist.

> Index: Makefile
> ===
> RCS file: /cvs/ports/net/snort/Makefile,v
> retrieving revision 1.114
> diff -u -p -u -p -r1.114 Makefile
> --- Makefile  24 Aug 2022 14:14:57 -  1.114
> +++ Makefile  29 Aug 2022 20:51:35 -
> @@ -1,6 +1,7 @@
>  COMMENT =highly flexible sniffer/NIDS
> 
>  DISTNAME =   snort-2.9.20
> +REVISION =   0
>  RULESV = 29200
>  SUBST_VARS = RULESV APPID_COMMENT
> 
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/net/snort/pkg/PLIST,v
> retrieving revision 1.37
> diff -u -p -u -p -r1.37 PLIST
> --- pkg/PLIST 24 Aug 2022 14:16:28 -  1.37
> +++ pkg/PLIST 29 Aug 2022 20:51:35 -
> @@ -45,6 +45,7 @@ ${APPID_COMMENT}@so lib/snort_dynamicpre
>  @so lib/snort_dynamicpreprocessor/libsf_ssh_preproc.so
>  @comment lib/snort_dynamicpreprocessor/libsf_ssl_preproc.la
>  @so lib/snort_dynamicpreprocessor/libsf_ssl_preproc.so
> +lib/snort_dynamicrules/
>  @man man/man8/snort.8
>  share/doc/pkg-readmes/${PKGSTEM}
>  share/doc/snort/



Re: PERMIT_* Audit

2022-08-30 Thread Stuart Henderson
On 2022/08/29 23:53, William Rusnack wrote:
> I have been learning about ports and found a number of strange values in the 
> make files for PERMIT_PACKAGE and PERMIT_DISTFILES.
> 
> Some of the interesting values were:
> stupid license
> unclear license
> incomplete/bad license
> yEs
> 
> I have included my commands to find these
> ```
> # Finds all the Makefiles with its PERMIT_* value
> find /usr/ports/ -name Makefile -exec grep -H '^PERMIT' '{}' ';' > 
> /tmp/permits.txt
> 
> # Show the various unique values
> cat /tmp/permits.txt | tr -d '\t' | sed -e 's/^.*://' -e 's/ *= */ = /' | 
> sort -u
> 
> # Filename with values that are not Yes nor No
> cat /tmp/permits.txt | tr -d '\t' | tr ':' ' ' |  sed 's/ *= */ = /' | sort 
> -k 2 -t ' ' | grep -v -e 'yes$' -e 'no$' -e 'Yes$' -e 'No$’
> ```

You can also pkg_add sqlports, run "sqlite3 /usr/local/share/sqlports"
amd run a query like

select fullpkgpath,permit_package,permit_distfiles from ports where
  permit_package != 'Yes' or permit_distfiles != 'Yes';

The various values aren't a problem though. The values are lower-cased
before being compared with 'yes'. Anything else is "don't package" or
"don't distribute distfiles". Normally the reason would be given instead
of just 'No' but it doesn't matter too much.



Re: pinentry update to 1.2.1

2022-08-30 Thread Pierre-Emmanuel André
Ok pea@
Thanks 

Le 29 août 2022 23:04:48 GMT+02:00, Antoine Jacoutot  a 
écrit :
>Hi.
>
>This updates security/pinentry to version 1.2.1.
>
>NEWS:
> * qt: Support building with Qt 5.9.  [T5592]
> * curses: Handle an error at curses initialization.  [T5623]
> * curses: Specify fg/bg when an extention of Ncurses is not available.
> * qt: Fix translation of context menu entries.  [T5786]
> * qt: Further improve the accessibility.  [T5863]
> * qt: Fix moving focus to second input field when pressing Enter in
>   first input field.  [T5866]
> * qt: Update the cursor position when reformatting the text.  [T5972]
> * qt: Use foreground raising code also with the confirm prompt.
> * Make the legacy qt4 version build again.  [T5569]
> * Make sure an entered PIN is always cleared from memory.  [T5977]
> * Build fixes for Windows.  [T5893]
>
>OK?
>
>Index: Makefile
>===
>RCS file: /cvs/ports/security/pinentry/Makefile,v
>retrieving revision 1.31
>diff -u -p -r1.31 Makefile
>--- Makefile   11 Mar 2022 19:53:51 -  1.31
>+++ Makefile   29 Aug 2022 21:03:10 -
>@@ -2,11 +2,10 @@ COMMENT-main =   PIN or passphrase entry 
> COMMENT-gnome3 =PIN or passphrase entry dialog (GNOME 3 interface)
> COMMENT-qt5 = PIN or passphrase entry dialog (Qt5 interface)
> 
>-VERSION = 1.2.0
>+VERSION = 1.2.1
> DISTNAME =pinentry-${VERSION}
> CATEGORIES =  security
> EXTRACT_SUFX =.tar.bz2
>-REVISION =0
> 
> MASTER_SITES =${MASTER_SITE_GNUPG:=pinentry/}
> 
>@@ -22,6 +21,8 @@ WANTLIB += curses secret-1
> 
> # C++11
> COMPILER =base-clang ports-gcc
>+
>+USE_GMAKE =   Yes
> 
> LIB_DEPENDS = security/libassuan \
>   x11/gnome/libsecret
>Index: distinfo
>===
>RCS file: /cvs/ports/security/pinentry/distinfo,v
>retrieving revision 1.9
>diff -u -p -r1.9 distinfo
>--- distinfo   13 Jan 2022 14:12:37 -  1.9
>+++ distinfo   29 Aug 2022 21:03:10 -
>@@ -1,2 +1,2 @@
>-SHA256 (pinentry-1.2.0.tar.bz2) = EAcgRaPgQ9BYH5HNVnb8rH/+6VehZjat7apPWDphZHA=
>-SIZE (pinentry-1.2.0.tar.bz2) = 498390
>+SHA256 (pinentry-1.2.1.tar.bz2) = RXoYXlqFI4+5RalV3GNSq5YtyLSHILYvyfpIx1QKQGc=
>+SIZE (pinentry-1.2.1.tar.bz2) = 547698
>
>-- 
>Antoine

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma 
brièveté.