CVS: cvs.openbsd.org: ports

2022-06-17 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2022/06/17 23:31:44

Modified files:
x11/qt6: Makefile 

Log message:
+QtMultimedia



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2022/06/17 23:31:22

Modified files:
x11/qt6/qtmultimedia: distinfo 
x11/qt6/qtmultimedia/pkg: PLIST 

Log message:
Update QtMultimedia to 6.3.1



Re: NEW: x11/qt6/qtwayland

2022-06-17 Thread Rafael Sadowski
On Sun May 01, 2022 at 06:38:10PM +0200, Rafael Sadowski wrote:
> Information for inst:qt6-qtwayland-6.3.0
> 
> Comment:
> Wayland support for Qt6
> 
> Description:
> QtWayland is a Qt module that wraps the functionality of Wayland. QtWayland is
> separated into a client and server side. The client side is the wayland
> platform plugin, and provides a way to run Qt applications as Wayland clients.
> The server side is the Qt Wayland Compositor API, and allows users to write
> their own Wayland compositors.
> 
> Maintainer: The OpenBSD ports mailing-list 
> 
> WWW: https://www.qt.io/
> 

In the attachment you will find version 6.3.1


qt6-qtwayland-6.3.1.tar.gz
Description: Binary data


NEW: x11/qt6/qtvirtualkeyboard

2022-06-17 Thread Rafael Sadowski
OK to import qt6-qtvirtualkeyboard-6.3.1?

Comment:
Qt6 virtual keyboard plugin

Description:
The Qt Virtual Keyboard project provides an input framework and reference
keyboard frontend for Qt 5 on Linux Desktop/X11, Windows Desktop, and Boot2Qt
targets.

The input framework makes it easy to write custom input methods or to integrate
3rd party input engines. The input methods can be implemented in C++ or QML.

This package contains actual libraries to be used by apps.

Maintainer: Rafael Sadowski 

WWW: https://www.qt.io/




qt6-qtvirtualkeyboard-6.3.1.tar.gz
Description: Binary data


CVS: cvs.openbsd.org: ports

2022-06-17 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2022/06/17 23:19:32

Log message:
Import qt6-qtmultimedia-6.3.1, ok sthen@

Comment:
Qt6 multimedia components

Description:
Qt Multimedia is an essential module that provides a rich set of QML types 
and
C++ classes to handle multimedia content. It also provides necessary APIs to
access the camera and radio functionality. The included Qt Audio Engine
provides types for 3D positional audio playback and content management.

Maintainer: Rafael Sadowski 

WWW: https://www.qt.io/

Status:

Vendor Tag: rsadowski
Release Tags:   rsadowski_20220618

N ports/x11/qt6/qtmultimedia/Makefile
N ports/x11/qt6/qtmultimedia/distinfo
N ports/x11/qt6/qtmultimedia/pkg/DESCR
N ports/x11/qt6/qtmultimedia/pkg/PLIST

No conflicts created by this import



Re: NEW: x11/qt6/qtmultimedia

2022-06-17 Thread Rafael Sadowski
On Fri Jun 17, 2022 at 09:33:47PM +0200, Rafael Sadowski wrote:
> OK to import qt6-qtmultimedia?
> 
> Information for inst:qt6-qtmultimedia-6.3.1
> 
> Comment:
> Qt6 multimedia components
> 
> Description:
> Qt Multimedia is an essential module that provides a rich set of QML types and
> C++ classes to handle multimedia content. It also provides necessary APIs to
> access the camera and radio functionality. The included Qt Audio Engine
> provides types for 3D positional audio playback and content management.
> 
> Maintainer: Rafael Sadowski 
> 
> WWW: https://www.qt.io/
> 
> 

Please forget it I have already sent to ports@ and received an OK.



Re: UPDATE: lang/dmd 2.099.1 => 2.100.0

2022-06-17 Thread Ryan Boggs
On Tue, May 31, 2022, 8:29 PM Brian Callahan  wrote:

> Hi ports --
>
> Attached is an update to DMD. Here is the changelog:
> https://dlang.org/changelog/2.100.0.html
>
> All is good on my machine. D tools and dub updates will be in separate
> emails.
>
> OK?
>
Sorry for the late response. Was finally able to get to this one tonight.
Builds fine on my amd64. Tested with simple project with no issues.

I'll test the other two as soon as I can when time allows.

Thanks,
Ryan

>
> ~Brian


Re: NEW: x11/qt6/qtwayland

2022-06-17 Thread Rafael Sadowski
On Sun May 01, 2022 at 06:38:10PM +0200, Rafael Sadowski wrote:
> Information for inst:qt6-qtwayland-6.3.0
> 
> Comment:
> Wayland support for Qt6
> 
> Description:
> QtWayland is a Qt module that wraps the functionality of Wayland. QtWayland is
> separated into a client and server side. The client side is the wayland
> platform plugin, and provides a way to run Qt applications as Wayland clients.
> The server side is the Qt Wayland Compositor API, and allows users to write
> their own Wayland compositors.
> 
> Maintainer: The OpenBSD ports mailing-list 
> 
> WWW: https://www.qt.io/
> 

Ping



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/06/17 23:12:19

Modified files:
lang/clazy : Makefile 

Log message:
Mark lang/clazy BROKEN-sparc64

ok rsadowski (maintainer)



Re: Mark lang/clazy BROKEN-sparc64

2022-06-17 Thread Rafael Sadowski
On Fri Jun 17, 2022 at 07:28:31PM -0400, Kurt Mosiejczuk wrote:
> clazy hasn't built on sparc64 for some time.
> 
> OK to mark it BROKEN-sparc64?
> 
> (cc maintainer)

ok rsadowski

> 
> --Kurt
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/lang/clazy/Makefile,v
> retrieving revision 1.12
> diff -u -p -r1.12 Makefile
> --- Makefile  11 Mar 2022 19:28:53 -  1.12
> +++ Makefile  17 Jun 2022 23:27:10 -
> @@ -1,3 +1,5 @@
> +BROKEN-sparc64 = Uses clang-cpp libraries and fails to link with either 
> ports-gcc or ports-clang
> +
>  COMMENT =static source code analyzer for Qt-based C++
>  
>  V =  1.11



Mark lang/clazy BROKEN-sparc64

2022-06-17 Thread Kurt Mosiejczuk
clazy hasn't built on sparc64 for some time.

OK to mark it BROKEN-sparc64?

(cc maintainer)

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/lang/clazy/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile11 Mar 2022 19:28:53 -  1.12
+++ Makefile17 Jun 2022 23:27:10 -
@@ -1,3 +1,5 @@
+BROKEN-sparc64 = Uses clang-cpp libraries and fails to link with either 
ports-gcc or ports-clang
+
 COMMENT =  static source code analyzer for Qt-based C++
 
 V =1.11



Re: [sparc64] Fix build of databases/mariadb

2022-06-17 Thread Kurt Mosiejczuk
On Fri, Jun 17, 2022 at 06:59:54PM -0400, Brad Smith wrote:
> On Fri, Jun 17, 2022 at 06:05:48PM -0400, Kurt Mosiejczuk wrote:
> > Latest version of this has been failing to buld on sparc64 because
> > pkg_create cannot find the mroonga test files. I'm betting that is a
> > storage engine that won't be built on sparc64 (or 64-bit arches, or ...)

> > Commenting out those two in the PLIST allows it to build again on sparc64.

> > ok?

> > (cc maintainer)

> Here is a proper diff.

That's even better than the slightly different diff I was about to send
(since mine just used REVISION and not REVISION-tests).

Committed.

--Kurt

> Index: Makefile
> ===
> RCS file: /home/cvs/ports/databases/mariadb/Makefile,v
> retrieving revision 1.128
> diff -u -p -u -p -r1.128 Makefile
> --- Makefile  6 Jun 2022 17:35:25 -   1.128
> +++ Makefile  17 Jun 2022 22:33:13 -
> @@ -5,6 +5,7 @@ COMMENT-tests=multithreaded SQL databas
>  VERSION= 10.8.3
>  DISTNAME=mariadb-${VERSION}
>  PKGNAME-main=mariadb-client-${VERSION}
> +REVISION-tests=  0
>  EPOCH=   1
>  
>  CATEGORIES=  databases
> Index: pkg/PFRAG.le-tests
> ===
> RCS file: /home/cvs/ports/databases/mariadb/pkg/PFRAG.le-tests,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 PFRAG.le-tests
> --- pkg/PFRAG.le-tests11 Mar 2022 18:31:22 -  1.2
> +++ pkg/PFRAG.le-tests17 Jun 2022 22:55:34 -
> @@ -388,6 +388,7 @@ share/mysql-test/plugin/mroonga/mroonga/
>  
> share/mysql-test/plugin/mroonga/mroonga/storage/r/index_btree_equal_time.result
>  
> share/mysql-test/plugin/mroonga/mroonga/storage/r/index_btree_equal_timestamp.result
>  
> share/mysql-test/plugin/mroonga/mroonga/storage/r/index_btree_normal_column_insert.result
> +share/mysql-test/plugin/mroonga/mroonga/storage/r/index_desc.result
>  share/mysql-test/plugin/mroonga/mroonga/storage/r/index_hash_id_normal.result
>  
> share/mysql-test/plugin/mroonga/mroonga/storage/r/index_hash_id_primary.result
>  share/mysql-test/plugin/mroonga/mroonga/storage/r/index_hash_id_unique.result
> @@ -989,6 +990,7 @@ share/mysql-test/plugin/mroonga/mroonga/
>  share/mysql-test/plugin/mroonga/mroonga/storage/t/index_btree_equal_time.test
>  
> share/mysql-test/plugin/mroonga/mroonga/storage/t/index_btree_equal_timestamp.test
>  
> share/mysql-test/plugin/mroonga/mroonga/storage/t/index_btree_normal_column_insert.test
> +share/mysql-test/plugin/mroonga/mroonga/storage/t/index_desc.test
>  share/mysql-test/plugin/mroonga/mroonga/storage/t/index_hash_id_normal.test
>  share/mysql-test/plugin/mroonga/mroonga/storage/t/index_hash_id_primary.test
>  share/mysql-test/plugin/mroonga/mroonga/storage/t/index_hash_id_unique.test
> Index: pkg/PLIST-tests
> ===
> RCS file: /home/cvs/ports/databases/mariadb/pkg/PLIST-tests,v
> retrieving revision 1.57
> diff -u -p -u -p -r1.57 PLIST-tests
> --- pkg/PLIST-tests   6 Jun 2022 08:21:02 -   1.57
> +++ pkg/PLIST-tests   17 Jun 2022 22:31:18 -
> @@ -3594,8 +3594,6 @@ share/mysql-test/plugin/metadata_lock_in
>  
> share/mysql-test/plugin/metadata_lock_info/metadata_lock_info/t/global_read_lock.test
>  
> share/mysql-test/plugin/metadata_lock_info/metadata_lock_info/t/table_metadata_lock.test
>  
> share/mysql-test/plugin/metadata_lock_info/metadata_lock_info/t/user_lock.test
> -share/mysql-test/plugin/mroonga/mroonga/storage/r/index_desc.result
> -share/mysql-test/plugin/mroonga/mroonga/storage/t/index_desc.test
>  share/mysql-test/plugin/myisam/
>  share/mysql-test/plugin/myisam/mtr2/
>  share/mysql-test/plugin/myisam/mtr2/README



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/06/17 17:21:28

Modified files:
databases/mariadb: Makefile 
databases/mariadb/pkg: PFRAG.le-tests PLIST-tests 

Log message:
Fix build on sparc64 and other big endian arches by moving test files
for a little-endian-only storage engine to PFRAG.le-tests

from Brad Smith (maintainer)



[sparc64] Fix build of databases/mariadb

2022-06-17 Thread Kurt Mosiejczuk
Latest version of this has been failing to buld on sparc64 because
pkg_create cannot find the mroonga test files. I'm betting that is a
storage engine that won't be built on sparc64 (or 64-bit arches, or ...)

Commenting out those two in the PLIST allows it to build again on sparc64.

ok?

(cc maintainer)

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/databases/mariadb/Makefile,v
retrieving revision 1.128
diff -u -p -r1.128 Makefile
--- Makefile6 Jun 2022 17:35:25 -   1.128
+++ Makefile17 Jun 2022 22:00:57 -
@@ -6,6 +6,7 @@ VERSION=10.8.3
 DISTNAME=  mariadb-${VERSION}
 PKGNAME-main=  mariadb-client-${VERSION}
 EPOCH= 1
+REVISION=  0
 
 CATEGORIES=databases
 MASTER_SITES=  https://downloads.mariadb.com/MariaDB/${DISTNAME}/source/ \
Index: pkg/PLIST-tests
===
RCS file: /cvs/ports/databases/mariadb/pkg/PLIST-tests,v
retrieving revision 1.57
diff -u -p -r1.57 PLIST-tests
--- pkg/PLIST-tests 6 Jun 2022 08:21:02 -   1.57
+++ pkg/PLIST-tests 17 Jun 2022 22:01:01 -
@@ -3594,8 +3594,8 @@ share/mysql-test/plugin/metadata_lock_in
 
share/mysql-test/plugin/metadata_lock_info/metadata_lock_info/t/global_read_lock.test
 
share/mysql-test/plugin/metadata_lock_info/metadata_lock_info/t/table_metadata_lock.test
 share/mysql-test/plugin/metadata_lock_info/metadata_lock_info/t/user_lock.test
-share/mysql-test/plugin/mroonga/mroonga/storage/r/index_desc.result
-share/mysql-test/plugin/mroonga/mroonga/storage/t/index_desc.test
+@comment share/mysql-test/plugin/mroonga/mroonga/storage/r/index_desc.result
+@comment share/mysql-test/plugin/mroonga/mroonga/storage/t/index_desc.test
 share/mysql-test/plugin/myisam/
 share/mysql-test/plugin/myisam/mtr2/
 share/mysql-test/plugin/myisam/mtr2/README



[update] devel/ruby-colorize 0.7.7 -> 0.8.1

2022-06-17 Thread Kurt Mosiejczuk
>From https://github.com/fazibear/colorize/blob/master/CHANGELOG

== 0.8.1 / 2016-06-29
  * fix gemspec bug

== 0.8.0 / 2016-06-27
* add ColorizedString class
* update README file
* add rubocop.yml and follow style
  * add italic mode
  * remove interpreter warrnings

Added HOMEPAGE

ok?

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/devel/ruby-colorize/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile11 Mar 2022 18:53:12 -  1.3
+++ Makefile17 Jun 2022 20:56:43 -
@@ -1,6 +1,7 @@
 COMMENT =  adds methods to set text color, background color, etc
 
-DISTNAME = colorize-0.7.7
+DISTNAME = colorize-0.8.1
+HOMEPAGE = https://github.com/fazibear/colorize
 CATEGORIES =   devel
 
 # GPLv2
Index: distinfo
===
RCS file: /cvs/ports/devel/ruby-colorize/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo14 May 2015 17:47:08 -  1.1.1.1
+++ distinfo17 Jun 2022 20:56:43 -
@@ -1,2 +1,2 @@
-SHA256 (colorize-0.7.7.gem) = 1quVpfzeo8NsMyfTjB554pUO4XiFBthImuNdszCTepk=
-SIZE (colorize-0.7.7.gem) = 15360
+SHA256 (colorize-0.8.1.gem) = C6DCpYIy+bcG3DBiHqaqZGju6hIOtvHMxAAQW5DEeYw=
+SIZE (colorize-0.8.1.gem) = 15872
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/ruby-colorize/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   11 Mar 2022 18:53:12 -  1.2
+++ pkg/PLIST   17 Jun 2022 20:56:43 -
@@ -10,6 +10,7 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/colorize
 ${GEM_LIB}/gems/${DISTNAME}/lib/colorize.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/colorize/class_methods.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/colorize/instance_methods.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/colorized_string.rb
 ${GEM_LIB}/gems/${DISTNAME}/test/
 ${GEM_LIB}/gems/${DISTNAME}/test/test_colorize.rb
 ${GEM_LIB}/specifications/${DISTNAME}.gemspec



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/06/17 14:43:14

Modified files:
net/tor: Tag: OPENBSD_7_1 Makefile distinfo 

Log message:
Update to tor 0.4.7.8.

Fixes a high severity DoS vulnerability, tracked as TROVE-2022-001 and
CVE-2022-33903.



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/06/17 14:41:54

Modified files:
net/tor: Makefile distinfo 

Log message:
Update to tor 0.4.7.8.

Fixes a high severity DoS vulnerability, tracked as TROVE-2022-001 and
CVE-2022-33903.



[UPDATE] net/tor to 0.4.7.8

2022-06-17 Thread George Rosamond

Considered a critical security update. Diff attached.

https://gitweb.torproject.org/tor.git/plain/ChangeLog?h=tor-0.4.7.8

Changes in version 0.4.7.8 - 2022-06-17
  This version fixes several bugfixes including a High severity 
security issue

  categorized as a Denial of Service. Everyone running an earlier version
  should upgrade to this version.

Working fine all day on a few nodes.

Can send -stable diff later.

gIndex: tor//Makefile
===
RCS file: /cvs/ports/net/tor/Makefile,v
retrieving revision 1.144
diff -u -p -r1.144 Makefile
--- tor//Makefile	27 Apr 2022 18:29:44 -	1.144
+++ tor//Makefile	17 Jun 2022 19:31:46 -
@@ -1,6 +1,6 @@
 COMMENT=	anonymity service using onion routing
 
-DISTNAME=	tor-0.4.7.7
+DISTNAME=	tor-0.4.7.8
 CATEGORIES=	net
 HOMEPAGE=	https://www.torproject.org/
 
Index: tor//distinfo
===
RCS file: /cvs/ports/net/tor/distinfo,v
retrieving revision 1.117
diff -u -p -r1.117 distinfo
--- tor//distinfo	27 Apr 2022 18:29:44 -	1.117
+++ tor//distinfo	17 Jun 2022 19:31:46 -
@@ -1,2 +1,2 @@
-SHA256 (tor-0.4.7.7.tar.gz) = PhMRWLUrlDXX5D0cR+8oi5bQBTQsxEuMlQu0A4UaW0Q=
-SIZE (tor-0.4.7.7.tar.gz) = 7895089
+SHA256 (tor-0.4.7.8.tar.gz) = nppcZ60qzdXw+L4U7Vkf7QdrFwir+DRAZpkKD6Zv4ZU=
+SIZE (tor-0.4.7.8.tar.gz) = 7910081


NEW: x11/qt6/qtmultimedia

2022-06-17 Thread Rafael Sadowski
OK to import qt6-qtmultimedia?

Information for inst:qt6-qtmultimedia-6.3.1

Comment:
Qt6 multimedia components

Description:
Qt Multimedia is an essential module that provides a rich set of QML types and
C++ classes to handle multimedia content. It also provides necessary APIs to
access the camera and radio functionality. The included Qt Audio Engine
provides types for 3D positional audio playback and content management.

Maintainer: Rafael Sadowski 

WWW: https://www.qt.io/




qt6-qtmultimedia-6.3.1.tar.gz
Description: Binary data


Re: portgen still adds RCS tag

2022-06-17 Thread Andrew Hewus Fresh
This looks right to me, although I won't have time to test or commit for
a few weeks yet.

On Fri, Jun 17, 2022 at 04:45:36PM +0300, Kirill Bychkov wrote:
> Hi!
> Just tried portgen for generating p5 port and found out that it
> still places $OpenBSD$ at the top of Makefile.
> The patch below fixes that. Not sure it is 100% correct.
> 
> Index: Port.pm
> ===
> RCS file: /cvs/ports/infrastructure/lib/OpenBSD/PortGen/Port.pm,v
> retrieving revision 1.24
> diff -u -p -u -r1.24 Port.pm
> --- Port.pm   5 Jan 2022 21:23:18 -   1.24
> +++ Port.pm   17 Jun 2022 13:41:24 -
> @@ -355,12 +355,10 @@ sub write_makefile
>   grep { $_->{name} ne 'EXTRACT_SUFX' }
>   grep { ref } @template;
>   } else {
> - my $tag = 'OpenBSD';
>   my $template =
>   ports_dir() . '/infrastructure/templates/Makefile.template';
> 
>   @template = (
> - "# \$$tag\$",
>   grep { $_ !~ /^\#/x } $self->parse_makefile($template)
>   );
>   }
> 
> 

-- 
andrew

Beta. Software undergoes beta testing shortly before it's released.
   Beta is Latin for "still doesn't work."



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2022/06/17 12:47:16

Modified files:
misc/p5-OPCUA-Open62541: Makefile distinfo 

Log message:
update p5-OPCUA-Open62541 to 1.01



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2022/06/17 12:21:49

Modified files:
converters/p5-Cpanel-JSON-XS: Makefile distinfo 

Log message:
update p5-Cpanel-JSON-XS to 4.30



Re: update: obfs4proxy 0.0.7 -> 0.0.13 [tor/tor browser tester wanted]

2022-06-17 Thread George Rosamond

On 6/17/22 08:09, Yifei Zhan wrote:

oops, forgot modules.inc in my previous diff, but the tarball should
be fine


I've been running today on a relay in server mode and seems fine. And 
running with the newly released tor-0.4.7.8


thanks

g



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2022/06/17 11:58:19

Modified files:
www/p5-WWW-Mechanize: Makefile distinfo 

Log message:
update p5-WWW-Mechanize to 2.09



[update] devel/ruby-colorator 0.1 -> 1.1.0

2022-06-17 Thread Kurt Mosiejczuk
https://github.com/octopress/colorator/blob/master/History.markdown

Brings it up to date, which includes jruby compatibility.

ok?

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/devel/ruby-colorator/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile11 Mar 2022 18:53:12 -  1.4
+++ Makefile17 Jun 2022 16:22:30 -
@@ -1,7 +1,6 @@
 COMMENT =  colorize your text in the terminal
 
-DISTNAME = colorator-0.1
-REVISION = 0
+DISTNAME = colorator-1.1.0
 CATEGORIES =   devel
 
 HOMEPAGE = http://octopress.org/colorator/
Index: distinfo
===
RCS file: /cvs/ports/devel/ruby-colorator/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo8 May 2013 06:12:57 -   1.1.1.1
+++ distinfo17 Jun 2022 16:22:30 -
@@ -1,2 +1,2 @@
-SHA256 (colorator-0.1.gem) = et/mMiSeYZqVU0e6BAPclyGfbSYu1xncW5Sn5mEJ9yc=
-SIZE (colorator-0.1.gem) = 7680
+SHA256 (colorator-1.1.0.gem) = 4vhdr1evR9dA2yoyGR0b37D2UDoN+8gyfQyRVNXd/Dg=
+SIZE (colorator-1.1.0.gem) = 7168
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/ruby-colorator/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   11 Mar 2022 18:53:12 -  1.2
+++ pkg/PLIST   17 Jun 2022 16:22:30 -
@@ -1,6 +1,7 @@
 ${GEM_LIB}/cache/${DISTNAME}.gem
 ${GEM_LIB}/gems/${DISTNAME}/
 ${GEM_LIB}/gems/${DISTNAME}/Gemfile
+${GEM_LIB}/gems/${DISTNAME}/History.markdown
 ${GEM_LIB}/gems/${DISTNAME}/LICENSE
 ${GEM_LIB}/gems/${DISTNAME}/README.markdown
 ${GEM_LIB}/gems/${DISTNAME}/Rakefile
@@ -9,8 +10,4 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/
 ${GEM_LIB}/gems/${DISTNAME}/lib/colorator/
 ${GEM_LIB}/gems/${DISTNAME}/lib/colorator.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/colorator/core_ext.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/
-${GEM_LIB}/gems/${DISTNAME}/spec/colorator/
-${GEM_LIB}/gems/${DISTNAME}/spec/colorator/core_ext_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/spec_helper.rb
 ${GEM_LIB}/specifications/${DISTNAME}.gemspec



[update] ruby-rqrcode-core 1.1.0 -> 1.2.0

2022-06-17 Thread Kurt Mosiejczuk
"Added Multi Mode Support which allows for multi-segment encoding."

ok?

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/graphics/ruby-rqrcode-core/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile11 Mar 2022 19:23:22 -  1.2
+++ Makefile17 Jun 2022 14:45:47 -
@@ -1,8 +1,8 @@
 COMMENT =  library to encode QR Codes
 
-DISTNAME = rqrcode_core-1.1.0
+DISTNAME = rqrcode_core-1.2.0
 
-CATEGORIES =   graphics
+CATEGORIES =   graphics devel
 
 HOMEPAGE = https://github.com/whomwah/rqrcode_core
 
Index: distinfo
===
RCS file: /cvs/ports/graphics/ruby-rqrcode-core/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo27 Aug 2021 04:10:51 -  1.1.1.1
+++ distinfo17 Jun 2022 14:45:47 -
@@ -1,2 +1,2 @@
-SHA256 (rqrcode_core-1.1.0.gem) = U4iE+ck4q4vcfUnI22/6622kFPbW6TVo4ouMdgUXwzQ=
-SIZE (rqrcode_core-1.1.0.gem) = 18944
+SHA256 (rqrcode_core-1.2.0.gem) = z0mJ3ILSTih3mEc4xO5WkwhiX+0qgQlg8bAtaNAwjRo=
+SIZE (rqrcode_core-1.2.0.gem) = 18944
Index: pkg/PLIST
===
RCS file: /cvs/ports/graphics/ruby-rqrcode-core/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   11 Mar 2022 19:23:22 -  1.2
+++ pkg/PLIST   17 Jun 2022 14:45:47 -
@@ -23,9 +23,11 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/rqrcode_
 ${GEM_LIB}/gems/${DISTNAME}/lib/rqrcode_core/qrcode/qr_bit_buffer.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/rqrcode_core/qrcode/qr_code.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/rqrcode_core/qrcode/qr_math.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/rqrcode_core/qrcode/qr_multi.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/rqrcode_core/qrcode/qr_numeric.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/rqrcode_core/qrcode/qr_polynomial.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/rqrcode_core/qrcode/qr_rs_block.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/rqrcode_core/qrcode/qr_segment.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/rqrcode_core/qrcode/qr_util.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/rqrcode_core/version.rb
 ${GEM_LIB}/gems/${DISTNAME}/rqrcode_core.gemspec



Re: [maintainer update] Python 3.10.4 -> 3.10.5

2022-06-17 Thread Kurt Mosiejczuk
On Mon, Jun 13, 2022 at 09:54:59PM -0400, Kurt Mosiejczuk wrote:
> https://docs.python.org/release/3.10.5/whatsnew/changelog.html#python-3-10-5-final

> A number of fixes, but no security fixes.

> ok?

> --Kurt

ping.

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/lang/python/3.10/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile10 Jun 2022 13:45:02 -  1.13
+++ Makefile14 Jun 2022 01:49:53 -
@@ -3,14 +3,9 @@
 # requirement of the PSF license, if it constitutes a change to
 # Python itself.
 
-FULL_VERSION = 3.10.4
+FULL_VERSION = 3.10.5
 SHARED_LIBS =  python3.10 0.0
 VERSION_SPEC = >=3.10,<3.11
 PORTROACH =limit:^3\.10
-
-REVISION = 1
-REVISION-main =3
-REVISION-tests =   2
-REVISION-tkinter = 3
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/lang/python/3.10/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo3 Apr 2022 21:33:23 -   1.3
+++ distinfo14 Jun 2022 01:49:53 -
@@ -1,2 +1,2 @@
-SHA256 (Python-3.10.4.tgz) = 87zGWx1fHceGdcdGyY/O6CPAOBaPxinFk1sETQkRrSg=
-SIZE (Python-3.10.4.tgz) = 25612387
+SHA256 (Python-3.10.5.tgz) = GPVxgqLeOwvnbfw5/c/SgVa7bdI+Xwhpb3SS6ePQvy0=
+SIZE (Python-3.10.5.tgz) = 25628472
Index: pkg/PLIST-tests
===
RCS file: /cvs/ports/lang/python/3.10/pkg/PLIST-tests,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST-tests
--- pkg/PLIST-tests 8 Jun 2022 14:50:04 -   1.5
+++ pkg/PLIST-tests 14 Jun 2022 01:49:57 -
@@ -599,6 +599,9 @@ lib/python3.10/test/__pycache__/dis_modu
 lib/python3.10/test/__pycache__/doctest_aliases.cpython-310.opt-1.pyc
 lib/python3.10/test/__pycache__/doctest_aliases.cpython-310.opt-2.pyc
 lib/python3.10/test/__pycache__/doctest_aliases.cpython-310.pyc
+lib/python3.10/test/__pycache__/doctest_lineno.cpython-310.opt-1.pyc
+lib/python3.10/test/__pycache__/doctest_lineno.cpython-310.opt-2.pyc
+lib/python3.10/test/__pycache__/doctest_lineno.cpython-310.pyc
 lib/python3.10/test/__pycache__/double_const.cpython-310.opt-1.pyc
 lib/python3.10/test/__pycache__/double_const.cpython-310.opt-2.pyc
 lib/python3.10/test/__pycache__/double_const.cpython-310.pyc
@@ -2247,6 +2250,7 @@ lib/python3.10/test/decimaltestdata/toin
 lib/python3.10/test/decimaltestdata/xor.decTest
 lib/python3.10/test/dis_module.py
 lib/python3.10/test/doctest_aliases.py
+lib/python3.10/test/doctest_lineno.py
 lib/python3.10/test/double_const.py
 lib/python3.10/test/dtracedata/
 lib/python3.10/test/dtracedata/__pycache__/



[update] ruby-i18n 1.6.0 -> 1.10.0

2022-06-17 Thread Kurt Mosiejczuk
This updates ruby-i18n to the current version: 1.10.0

Changelog is available here:

https://github.com/ruby-i18n/i18n/releases

(Didn't link to the specific release to allow seeing all changes since
 1.6.0 without pasting a page full of links)

Also updated HOMEPAGE.

ok?

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/devel/ruby-i18n/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile11 Mar 2022 18:53:15 -  1.10
+++ Makefile17 Jun 2022 14:41:29 -
@@ -1,9 +1,9 @@
 COMMENT =  ruby internationalization and localization solution
 
-DISTNAME = i18n-1.6.0
+DISTNAME = i18n-1.10.0
 CATEGORIES =   devel
 
-HOMEPAGE=  https://github.com/svenfuchs/i18n
+HOMEPAGE=  https://github.com/ruby-i18n/i18n
 
 BUILD_DEPENDS = ${RUN_DEPENDS}
 RUN_DEPENDS =  devel/ruby-concurrent-ruby,${MODRUBY_FLAVOR},>=1.0,<2
Index: distinfo
===
RCS file: /cvs/ports/devel/ruby-i18n/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo14 Mar 2019 07:53:42 -  1.4
+++ distinfo17 Jun 2022 14:41:29 -
@@ -1,2 +1,2 @@
-SHA256 (i18n-1.6.0.gem) = lBt3vjJDrkEJE0nAxZi8Fwukrq+JO3V7ERoFkz213cE=
-SIZE (i18n-1.6.0.gem) = 41984
+SHA256 (i18n-1.10.0.gem) = D0IXFhucqg2grIFCd4YpR+TXyyN4Vn/Co9Z7Mu32WCw=
+SIZE (i18n-1.10.0.gem) = 44544
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/ruby-i18n/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   11 Mar 2022 18:53:15 -  1.4
+++ pkg/PLIST   17 Jun 2022 14:41:29 -
@@ -17,14 +17,13 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/bac
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/backend/gettext.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/backend/interpolation_compiler.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/backend/key_value.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/i18n/backend/lazy_loadable.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/backend/memoize.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/backend/metadata.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/backend/pluralization.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/backend/simple.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/backend/transliterator.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/config.rb
-${GEM_LIB}/gems/${DISTNAME}/lib/i18n/core_ext/
-${GEM_LIB}/gems/${DISTNAME}/lib/i18n/core_ext/hash.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/exceptions.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/gettext/
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/gettext.rb
@@ -56,5 +55,6 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/tes
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/tests/lookup.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/tests/pluralization.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/tests/procs.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/i18n/utils.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/i18n/version.rb
 ${GEM_LIB}/specifications/${DISTNAME}.gemspec



Re: prosody 0.12.0 - startup error unbound.lua

2022-06-17 Thread Lucas
Thanks Patrick for all the information. I shared the issue with upstream
and they told me that that "syntax error" might refer to the file being
parsed by luaunbound (managed by libunbound), and not a Lua syntax
error. In that case, can you share:

- /var/unbound/db/root.key
- /var/unbound/etc/unbound.conf
- /etc/hosts
- /etc/resolv.conf

Feel free to share them privately with me if it contains sensible
information, but please try not to modify them before sharing.



portgen still adds RCS tag

2022-06-17 Thread Kirill Bychkov
Hi!
Just tried portgen for generating p5 port and found out that it
still places $OpenBSD$ at the top of Makefile.
The patch below fixes that. Not sure it is 100% correct.

Index: Port.pm
===
RCS file: /cvs/ports/infrastructure/lib/OpenBSD/PortGen/Port.pm,v
retrieving revision 1.24
diff -u -p -u -r1.24 Port.pm
--- Port.pm 5 Jan 2022 21:23:18 -   1.24
+++ Port.pm 17 Jun 2022 13:41:24 -
@@ -355,12 +355,10 @@ sub write_makefile
grep { $_->{name} ne 'EXTRACT_SUFX' }
grep { ref } @template;
} else {
-   my $tag = 'OpenBSD';
my $template =
ports_dir() . '/infrastructure/templates/Makefile.template';

@template = (
-   "# \$$tag\$",
grep { $_ !~ /^\#/x } $self->parse_makefile($template)
);
}




CVS: cvs.openbsd.org: ports

2022-06-17 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2022/06/17 07:08:53

Modified files:
sysutils/kubectl: Makefile distinfo 

Log message:
Update kubectl to 1.24.1



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/06/17 07:05:00

Modified files:
mail/notmuch/notmuch: Makefile 

Log message:
PLIST change -> bump



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/06/17 07:03:04

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.71

- got patch: fail when reading empty hunks (op)
- got patch: switch from fseek() to fseeko(), use unary minus (naddy)
- got patch: avoid open/sync/close of the fileindex over and over again (op)
- make got_privsep_recv_tree() reject trees with less than zero entries
- plug memory leak in an error path of got_privsep_recv_tree()
- prevent an out-of-bounds access in got_privsep_recv_tree()
- parse tree entries into an array instead of a pathlist for speed
- batch up tree entries in imsg instead of sending one imsg per tree entry
- imsg_add() frees its msg argument on error; avoid double-free in error paths
- avoid malloc/free for duplicate check in got_pathlists_insert()
- plug a small memleak on error in got_pack_create()
- fix paths stored in pack meta data, improving file deltification
- store a path hash instead of a verbatim path in pack meta data
- reduce the amount of memory used for caching deltas during deltification
- shrink struct got_pack_meta a bit by removing the have_reused_delta flag
- use random seeds for murmurhash2 (op)
- fix bug in findwixt() which caused pack files with missing parent commits
- avoid looping over deltas twice in dump_delta_chain_to_{file,mem}()
- open tempfiles needed for delta application upfront, for future gotwebd
- reduce GOT_PACK_CACHE_SIZE to 32 to accomodate for previous tempfile change
- tog: override SIGTERM and SIGINT handlers to avoid ncurses cleanup() handler
- move creation of tempfiles outside of lib/diff.c
- tests: don't pass $ret to test_done on failure when it's known to be zero (op)
- tests: set `ret' in a few places where it was forgotten (op)
- convert delta cache to a hash table
- implicitly unstage changes when staging the reverse of a staged diff (op)
- implement object enumeration support in got-read-pack for speed
- add one-line output mode to got log with -s flag (patch by Evan Silberman)
- rename the former got log -s (search) flag to got log -S
- make it possible to match committed patches with got log -p -S pattern
- tog: add key bindings for half-page scroll (patch by Mikhail, Mark Jamsek)
- make got log -S match author name and commit ID, like tog search does (op)
- got patch: ensure new and old paths are NUL-terminated (op)
- got patch: guard against invalid (negative) line offsets (op)
- got patch: use ints for line offsets instead of longs (op)
- remove redundant datalen checks before calling recv_imsg_error (op)
- use strndup instead of malloc+memcpy in privsep.c (op)
- do stricter validation of data received from libexec helpers (op)
- move got_opentempfd() out of got_repo_open(), for future gotwebd (tracey)
- fix D_GOTWWW default path; gotweb can now run without a config file again
- add horizontal scrolling to tog diff, blame, and log views (Mark Jamsek)
- show last-modified date in the "tog ref" view if 'm' is pressed (Mark Jamsek)
- make tog horizontal scrolling work with unicode (with op@)



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2022/06/17 06:55:27

Modified files:
x11/qt6: Makefile Makefile.version 
x11/qt6/qt5compat: distinfo 
x11/qt6/qt5compat/pkg: PLIST 
x11/qt6/qtbase : Makefile distinfo 
x11/qt6/qtbase/patches: patch-cmake_QtPlatformSupport_cmake 
patch-src_corelib_plugin_qelfparser_p_cpp 

patch-src_network_ssl_qsslsocket_openssl_symbols_cpp 
patch-src_testlib_qtestcase_cpp 
x11/qt6/qtbase/pkg: PLIST-global PLIST-main 
x11/qt6/qtdeclarative: Makefile distinfo 
x11/qt6/qtdeclarative/pkg: PLIST 
x11/qt6/qtimageformats: distinfo 
x11/qt6/qtimageformats/pkg: PLIST 
x11/qt6/qtlanguageserver: distinfo 
x11/qt6/qtquick3d: Makefile distinfo 
x11/qt6/qtquick3d/pkg: PLIST 
x11/qt6/qtquicktimeline: distinfo 
x11/qt6/qtquicktimeline/pkg: PLIST 
x11/qt6/qtshadertools: distinfo 
x11/qt6/qtshadertools/pkg: PLIST 
x11/qt6/qtsvg  : distinfo 
x11/qt6/qtsvg/pkg: PLIST 
x11/qt6/qttools: distinfo 
x11/qt6/qttools/pkg: PLIST 
x11/qt6/qttranslations: distinfo 
x11/qt6/qttranslations/pkg: PLIST 

Log message:
Update Qt6 to 6.3.1

Enable qttranslations qtquick3d and qtimageformats modules



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/06/17 05:11:45

Modified files:
geo/kgeotag: Makefile 

Log message:
PLIST change needs a bump.



Re: qgis build on aarch64

2022-06-17 Thread Rafael Sadowski
On Fri Jun 17, 2022 at 10:06:01AM +0200, Theo Buehler wrote:
> The patch below is a hack that makes qgis build on aarch64.  It's
> not the correct fix.
> 
> What happens is that the destructor of the QWaitCondition class is
> called more than once.

IMHO The issue is the python code or in other words where it is used.

> The second time it is called from Python's atexit
> handler crashes due to a use-after-free in pthread_cond_destroy().
> 
> The patch below simply avoids this.  The correct fix would have to root
> cause why this happens on aarch64 and not on amd64.

There is no issue in Qt5 or QWaitCondition itself. I'm fine with the
patch but please add a comment and a referent to qgis / x11/py-qt5
please.

Thanks Rafael

> 
> The backtrace looks something like this:
> 
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  pthread_cond_destroy (condp=0x8) at 
> /usr/src/lib/libc/thread/rthread_cond.c:54
> 54  cond = *condp;
> (gdb) bt
> #0  pthread_cond_destroy (condp=0x8) at 
> /usr/src/lib/libc/thread/rthread_cond.c:54
> #1  0x0017eee75c94 in QWaitCondition::~QWaitCondition() ()
>from /usr/local/lib/qt5/libQt5Core.so.3.0
> #2  0x00187be1cbf0 in _libc___cxa_finalize (dso=0x0) at 
> /usr/src/lib/libc/stdlib/atexit.c:177
> #3  0x00187be04f60 in _libc_exit (status=0) at 
> /usr/src/lib/libc/stdlib/exit.c:54
> #4  0x00184b7b79cc in Py_Exit () from /usr/local/lib/libpython3.9.so.0.0
> #5  0x00184b7bd0d0 in _PyErr_PrintEx () from 
> /usr/local/lib/libpython3.9.so.0.0
> #6  0x00184b7bbdfc in PyRun_SimpleFileExFlags () from 
> /usr/local/lib/libpython3.9.so.0.0
> #7  0x00184b7e0bec in Py_RunMain () from 
> /usr/local/lib/libpython3.9.so.0.0
> #8  0x00184b7e1bdc in pymain_main () from 
> /usr/local/lib/libpython3.9.so.0.0
> #9  0x00184b7e1ed8 in Py_BytesMain () from 
> /usr/local/lib/libpython3.9.so.0.0
> #10 0x0013a6600860 in _start ()
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/x11/qt5/qtbase/Makefile,v
> retrieving revision 1.52
> diff -u -p -r1.52 Makefile
> --- Makefile  11 Mar 2022 20:16:59 -  1.52
> +++ Makefile  17 Jun 2022 07:47:27 -
> @@ -7,7 +7,7 @@ COMMENT-mysql =   MySQL plugin for Qt5
>  COMMENT-psql =   PostgresSQL plugin for Qt5
>  COMMENT-tds =TDS plugin for Qt5
>  
> -REVISION-main =  9
> +REVISION-main =  10
>  REVISION-examples =  0
>  
>  PKGNAME-mysql =  qt5-mysql-${VERSION}
> Index: patches/patch-src_corelib_thread_qwaitcondition_unix_cpp
> ===
> RCS file: patches/patch-src_corelib_thread_qwaitcondition_unix_cpp
> diff -N patches/patch-src_corelib_thread_qwaitcondition_unix_cpp
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_corelib_thread_qwaitcondition_unix_cpp  17 Jun 2022 
> 06:46:24 -
> @@ -0,0 +1,16 @@
> +Index: src/corelib/thread/qwaitcondition_unix.cpp
> +--- src/corelib/thread/qwaitcondition_unix.cpp.orig
>  src/corelib/thread/qwaitcondition_unix.cpp
> +@@ -181,9 +181,12 @@ QWaitCondition::QWaitCondition()
> + 
> + QWaitCondition::~QWaitCondition()
> + {
> ++if (d == nullptr)
> ++return;
> + report_error(pthread_cond_destroy(>cond), "QWaitCondition", "cv 
> destroy");
> + report_error(pthread_mutex_destroy(>mutex), "QWaitCondition", "mutex 
> destroy");
> + delete d;
> ++d = nullptr;
> + }
> + 
> + void QWaitCondition::wakeOne()
> 



qgis build on aarch64

2022-06-17 Thread Theo Buehler
The patch below is a hack that makes qgis build on aarch64.  It's
not the correct fix.

What happens is that the destructor of the QWaitCondition class is
called more than once. The second time it is called from Python's atexit
handler crashes due to a use-after-free in pthread_cond_destroy().

The patch below simply avoids this.  The correct fix would have to root
cause why this happens on aarch64 and not on amd64.

The backtrace looks something like this:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  pthread_cond_destroy (condp=0x8) at 
/usr/src/lib/libc/thread/rthread_cond.c:54
54  cond = *condp;
(gdb) bt
#0  pthread_cond_destroy (condp=0x8) at 
/usr/src/lib/libc/thread/rthread_cond.c:54
#1  0x0017eee75c94 in QWaitCondition::~QWaitCondition() ()
   from /usr/local/lib/qt5/libQt5Core.so.3.0
#2  0x00187be1cbf0 in _libc___cxa_finalize (dso=0x0) at 
/usr/src/lib/libc/stdlib/atexit.c:177
#3  0x00187be04f60 in _libc_exit (status=0) at 
/usr/src/lib/libc/stdlib/exit.c:54
#4  0x00184b7b79cc in Py_Exit () from /usr/local/lib/libpython3.9.so.0.0
#5  0x00184b7bd0d0 in _PyErr_PrintEx () from 
/usr/local/lib/libpython3.9.so.0.0
#6  0x00184b7bbdfc in PyRun_SimpleFileExFlags () from 
/usr/local/lib/libpython3.9.so.0.0
#7  0x00184b7e0bec in Py_RunMain () from /usr/local/lib/libpython3.9.so.0.0
#8  0x00184b7e1bdc in pymain_main () from /usr/local/lib/libpython3.9.so.0.0
#9  0x00184b7e1ed8 in Py_BytesMain () from 
/usr/local/lib/libpython3.9.so.0.0
#10 0x0013a6600860 in _start ()

Index: Makefile
===
RCS file: /cvs/ports/x11/qt5/qtbase/Makefile,v
retrieving revision 1.52
diff -u -p -r1.52 Makefile
--- Makefile11 Mar 2022 20:16:59 -  1.52
+++ Makefile17 Jun 2022 07:47:27 -
@@ -7,7 +7,7 @@ COMMENT-mysql = MySQL plugin for Qt5
 COMMENT-psql = PostgresSQL plugin for Qt5
 COMMENT-tds =  TDS plugin for Qt5
 
-REVISION-main =9
+REVISION-main =10
 REVISION-examples =0
 
 PKGNAME-mysql =qt5-mysql-${VERSION}
Index: patches/patch-src_corelib_thread_qwaitcondition_unix_cpp
===
RCS file: patches/patch-src_corelib_thread_qwaitcondition_unix_cpp
diff -N patches/patch-src_corelib_thread_qwaitcondition_unix_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_corelib_thread_qwaitcondition_unix_cpp17 Jun 2022 
06:46:24 -
@@ -0,0 +1,16 @@
+Index: src/corelib/thread/qwaitcondition_unix.cpp
+--- src/corelib/thread/qwaitcondition_unix.cpp.orig
 src/corelib/thread/qwaitcondition_unix.cpp
+@@ -181,9 +181,12 @@ QWaitCondition::QWaitCondition()
+ 
+ QWaitCondition::~QWaitCondition()
+ {
++if (d == nullptr)
++return;
+ report_error(pthread_cond_destroy(>cond), "QWaitCondition", "cv 
destroy");
+ report_error(pthread_mutex_destroy(>mutex), "QWaitCondition", "mutex 
destroy");
+ delete d;
++d = nullptr;
+ }
+ 
+ void QWaitCondition::wakeOne()



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Benoit Lecocq
CVSROOT:/cvs
Module name:ports
Changes by: ben...@cvs.openbsd.org  2022/06/17 02:02:14

Modified files:
emulators/stella: Makefile distinfo 
emulators/stella/pkg: PLIST 

Log message:
Update to stella-6.7.



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/06/17 00:42:42

Modified files:
sysutils/amazon-ssm-agent: Makefile distinfo 

Log message:
Update to amazon-ssm-agent-3.1.1575.0.