[maintainer update] remind 3.4.1 -> 3.4.2

2022-03-16 Thread Martin Ziemer
This patch updates remind from 3.4.1 to 3.4.2.

Tested on two amd64 systems.

Index: Makefile
===
RCS file: /cvs/ports/misc/remind/Makefile,v
retrieving revision 1.54
diff -u -p -r1.54 Makefile
--- Makefile11 Mar 2022 19:38:19 -  1.54
+++ Makefile16 Mar 2022 08:18:34 -
@@ -1,7 +1,7 @@
 COMMENT=   scripting language for reminders, with a Tk front end
 
-DISTNAME=  remind-03.04.01
-PKGNAME=   remind-3.4.1
+DISTNAME=  remind-03.04.02
+PKGNAME=   remind-3.4.2
 
 CATEGORIES=misc
 
Index: distinfo
===
RCS file: /cvs/ports/misc/remind/distinfo,v
retrieving revision 1.25
diff -u -p -r1.25 distinfo
--- distinfo24 Feb 2022 15:24:24 -  1.25
+++ distinfo16 Mar 2022 08:18:34 -
@@ -1,2 +1,2 @@
-SHA256 (remind-03.04.01.tar.gz) = 8INtFmftMb1JSotUdDtMXdSm+UE/8zQW/wIOExr8nkI=
-SIZE (remind-03.04.01.tar.gz) = 440483
+SHA256 (remind-03.04.02.tar.gz) = kjDcO0l39l2KJXo0elZesKZWDZoSoUXIu1Ua7IxWY4w=
+SIZE (remind-03.04.02.tar.gz) = 448199



Re: NEW archivers/libdeflate-1.1.0

2022-03-16 Thread Bjorn Ketelaars
On Wed 16/03/2022 06:56, Bjorn Ketelaars wrote:
> I would like to import libdeflate [0], which is needed for future
> releases of borgbackup (>1.3).
> 
> DESCR:
> libdeflate is a library for fast, whole-buffer DEFLATE-based compression
> and decompression.
> 
> Tests pass, and run tested in combination with borgbackup HEAD.
> 
> Comments / OK to import?
> 
> [0] https://github.com/ebiggers/libdeflate

Per sthen@ feedback:
- add V=1 and CC="${CC}" to MAKE_FLAGS in Makefile
- add CFLAGS to MAKE_FLAGS and add a patch stop overriding CFLAGS

New tarball enclosed.

OK?


libdeflate.tgz
Description: application/tar-gz


[update] libevent 2.1.12

2022-03-16 Thread Theo Buehler
Simple update. Tested in a few amd64 bulks and lightly runtime tested.
The changelog doesn't mention anything that stands out as particularly
worrying:

https://raw.githubusercontent.com/libevent/libevent/release-2.1.12-stable/ChangeLog

There are a few compiler warnings, but they all are in tests and aren't
new, so I didn't fix them. Speaking of tests: the regress test is
completely busted, but that also isn't new.

Index: Makefile
===
RCS file: /cvs/ports/devel/libevent2/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile11 Mar 2022 18:50:31 -  1.20
+++ Makefile16 Mar 2022 08:06:17 -
@@ -1,16 +1,15 @@
 COMMENT=   event notification library
 
-V= 2.1.11
+V= 2.1.12
 DISTNAME=  libevent-$V-stable
 PKGNAME=   libevent-$V
 CATEGORIES=devel
 HOMEPAGE=  https://libevent.org/
-REVISION=  0
 
-SHARED_LIBS+=  event_core  2.0 # 7.0
-SHARED_LIBS+=  event_extra 1.0 # 7.0
-SHARED_LIBS+=  event_openssl   1.0 # 7.0
-SHARED_LIBS+=  event_pthreads  0.0 # 7.0
+SHARED_LIBS+=  event_core  2.1 # 7.1
+SHARED_LIBS+=  event_extra 1.0 # 7.1
+SHARED_LIBS+=  event_openssl   1.0 # 7.1
+SHARED_LIBS+=  event_pthreads  0.0 # 7.1
 
 # BSD
 PERMIT_PACKAGE=Yes
Index: distinfo
===
RCS file: /cvs/ports/devel/libevent2/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo31 Mar 2020 19:06:06 -  1.8
+++ distinfo16 Mar 2022 08:00:26 -
@@ -1,2 +1,2 @@
-SHA256 (libevent-2.1.11-stable.tar.gz) = 
plusYgLqjFYJ/Vx+SA5tJd5GfqGRfAgpDFIXUvFHKD0=
-SIZE (libevent-2.1.11-stable.tar.gz) = 1082234
+SHA256 (libevent-2.1.12-stable.tar.gz) = 
kubeG+nsF2Qo/SNnZ35hzv/C7hyxGQNQN6J9NGsEA7s=
+SIZE (libevent-2.1.12-stable.tar.gz) = 1100847
Index: patches/patch-openssl-compat_h
===
RCS file: /cvs/ports/devel/libevent2/patches/patch-openssl-compat_h,v
retrieving revision 1.2
diff -u -p -r1.2 patch-openssl-compat_h
--- patches/patch-openssl-compat_h  11 Mar 2022 18:50:31 -  1.2
+++ patches/patch-openssl-compat_h  16 Mar 2022 08:00:26 -
@@ -4,7 +4,7 @@ https://github.com/libevent/libevent/pul
 Index: openssl-compat.h
 --- openssl-compat.h.orig
 +++ openssl-compat.h
-@@ -37,7 +37,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const
+@@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const
  #endif /* (OPENSSL_VERSION_NUMBER < 0x1010L) || \
(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 
0x2070L) */
  



Re: NEW archivers/libdeflate-1.1.0

2022-03-16 Thread Stuart Henderson
On 2022/03/16 09:39, Bjorn Ketelaars wrote:
> On Wed 16/03/2022 06:56, Bjorn Ketelaars wrote:
> > I would like to import libdeflate [0], which is needed for future
> > releases of borgbackup (>1.3).
> > 
> > DESCR:
> > libdeflate is a library for fast, whole-buffer DEFLATE-based compression
> > and decompression.
> > 
> > Tests pass, and run tested in combination with borgbackup HEAD.
> > 
> > Comments / OK to import?
> > 
> > [0] https://github.com/ebiggers/libdeflate
> 
> Per sthen@ feedback:
> - add V=1 and CC="${CC}" to MAKE_FLAGS in Makefile
> - add CFLAGS to MAKE_FLAGS and add a patch stop overriding CFLAGS
> 
> New tarball enclosed.
> 
> OK?

I think we'd better keep some of the other flags, especially -std=c99
which IIRC isn't the default for base-gcc.

OK with this instead and getting rid of CFLAGS from MAKE_FLAGS 

-override CFLAGS := \
-   -O2 -fomit-frame-pointer -std=c99 -I. -Wall -Wundef \
+override CFLAGS := \
+   -std=c99 -I. -Wall -Wundef  \



[update patch] ddrescue 1.25 -> 1.26

2022-03-16 Thread Martin Ziemer
This patch updates ddrescue from 1.25 to 1.26

Since i saw there is no maintainer, i also added myself as maintainer.

Tested on two amd64 systems.

Index: Makefile
===
RCS file: /cvs/ports/sysutils/ddrescue/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile11 Mar 2022 19:57:19 -  1.23
+++ Makefile16 Mar 2022 10:10:54 -
@@ -1,10 +1,12 @@
 COMMENT =  data recovery tool
 
-DISTNAME = ddrescue-1.25
+DISTNAME = ddrescue-1.26
 
 CATEGORIES =   sysutils
 
 HOMEPAGE = https://www.gnu.org/software/ddrescue/ddrescue.html
+
+MAINTAINER=Martin Ziemer 
 
 # GPLv2+
 PERMIT_PACKAGE =   Yes
Index: distinfo
===
RCS file: /cvs/ports/sysutils/ddrescue/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo3 Mar 2020 14:29:54 -   1.11
+++ distinfo16 Mar 2022 10:10:54 -
@@ -1,2 +1,2 @@
-SHA256 (ddrescue-1.25.tar.lz) = zlOOvSagn0XaZ9OtP3QxkyQoIxzux6LSVfcW+iMaEGM=
-SIZE (ddrescue-1.25.tar.lz) = 87001
+SHA256 (ddrescue-1.26.tar.lz) = 5RPNOpDZgQ392RGX1AqkD23wFZe/tez9+yBd4RJ8VR8=
+SIZE (ddrescue-1.26.tar.lz) = 91930



update editors/micro to v2.0.10

2022-03-16 Thread Sebastien Marie
Hi,

The following diff updates editors/micro to v2.0.10.

It moves MODGO_MODULES stuff inside modules.inc file.

I also needed to patch zyedidia/pty (which is a fork of creack/pty) to includes
proper a fixed openbsd support (creack fixed it, but zyedidia is behind). So I
forked zyedidia/pty, and merged with creack/pty to get a fixed repository. A few
go commands later to replace zyedidia/pty with my version, I had a fixed micro
port.

As it is my first go port, feedback would be welcome.

Comments or OK ?
-- 
Sebastien Marie


diff 4be2aeaf9ffb9bb89ed821a9e497c9e45d710608 /data/semarie/repos/openbsd/ports
blob - 998a0206bb3f90d3d789d115f2ea5a1bf4154cc5
file + editors/micro/Makefile
--- editors/micro/Makefile
+++ editors/micro/Makefile
@@ -3,15 +3,14 @@ BROKEN-aarch64 = pty@v2.0.0+incompatible/doc.go:15:9: 
 COMMENT =  modern and intuitive terminal-based text editor
 
 MODGO_MODNAME =github.com/zyedidia/micro/v2
-MODGO_VERSION =v2.0.8
+MODGO_VERSION =v2.0.10
 
 # Snagged from https://github.com/zyedidia/micro/releases/tag/${MODGO_VERSION}
-TAG_HASH = cfcb2e4
+TAG_HASH = b976385
 
 DISTNAME = micro-${MODGO_VERSION}
 CATEGORIES =   editors
 HOMEPAGE = https://micro-editor.github.io/
-REVISION = 0
 
 # MIT "Expat" License
 PERMIT_PACKAGE =   Yes
@@ -28,56 +27,10 @@ MODGO_LDFLAGS +=-X github.com/zyedidia/micro/v2/inter
 
 NO_TEST =  Yes
 
-MODGO_MODULES =\
-   github.com/blang/semver  v3.5.1+incompatible \
-   github.com/chzyer/logex  v1.1.10 \
-   github.com/chzyer/readline   
v0.0.0-20180603132655-2972be24d48e \
-   github.com/chzyer/test   
v0.0.0-20180213035817-a1ea475d72b1 \
-   github.com/davecgh/go-spew   v1.1.1 \
-   github.com/dustin/go-humanizev1.0.0 \
-   github.com/gdamore/encoding  v1.0.0 \
-   github.com/go-errors/errors  v1.0.1 \
-   github.com/kballard/go-shellquote
v0.0.0-20180428030007-95032a82bc51 \
-   github.com/kr/pretty v0.1.0 \
-   github.com/kr/ptyv1.1.1 \
-   github.com/kr/text   v0.1.0 \
-   github.com/lucasb-eyer/go-colorful   v1.0.3 \
-   github.com/mattn/go-isatty   v0.0.11 \
-   github.com/mattn/go-runewidthv0.0.7 \
-   github.com/mitchellh/go-homedir  v1.1.0 \
-   github.com/p-e-w/go-runewidth
v0.0.10-0.20200613030200-3e1705c5c059 \
-   github.com/pmezard/go-difflibv1.0.0 \
-   github.com/robertkrimen/otto 
v0.0.0-20191219234010-c382bd3c16ff \
-   github.com/sergi/go-diff v1.1.0 \
-   github.com/stretchr/objx v0.1.0 \
-   github.com/stretchr/testify  v1.4.0 \
-   github.com/xo/terminfo   
v0.0.0-20200218205459-454e5b68f9e8 \
-   github.com/yuin/gopher-lua   
v0.0.0-20191220021717-ab39c6098bdb \
-   github.com/zyedidia/clipboardv1.0.3 \
-   github.com/zyedidia/glob 
v0.0.0-20170209203856-dd4023a66dc3 \
-   github.com/zyedidia/go-shellquote
v0.0.0-20200613203517-eccd813c0655 \
-   github.com/zyedidia/highlight
v0.0.0-20170330143449-201131ce5cf5 \
-   github.com/zyedidia/json5
v0.0.0-20200102012142-2da050b1a98d \
-   github.com/zyedidia/poller   v1.0.1 \
-   github.com/zyedidia/pty  v2.0.0+incompatible \
-   github.com/zyedidia/tcell/v2 v2.0.6 \
-   github.com/zyedidia/terminal 
v0.0.0-20180726154117-533c623e2415 \
-   golang.org/x/sys 
v0.0.0-20191026070338-33540a1f6037 \
-   golang.org/x/textv0.3.2 \
-   golang.org/x/tools   
v0.0.0-20180917221912-90fa682c2a6e \
-   gopkg.in/check.v1
v1.0.0-20190902080502-41f04d3bba15 \
-   gopkg.in/sourcemap.v1v1.0.5 \
-   gopkg.in/yaml.v2 v2.2.7 \
-   layeh.com/gopher-luarv1.0.7
+# overrided:
+#  - github.com/zyedidia/pty -> github.com/semarie/zyedidia-pty
+#get ref: $ go get -d github.com/semarie/zyedidia-pty@merged
+#go.sum : $ go mod download github.com/zyedidia/pty
+.include "modules.inc"
 
-MODGO_MODFILES =   \
-   github.com/davecgh/go-spew   v1.1.0 \
-   github.com/yuin/gopher-lua   v0.0.0-20190206043414-8bfc7677f583 \
-   golang.org/x/sys v0.0.0-20190204203706-41f3e6584952 \
-   golang.org/x/sys v0.0.0-20190626150813-e07cf5db2756 \
-   golang.org/x/textv0.3.0 \
-   gopkg.in/check.v1v0.0.0-20161208181325-20d25e280405 \
-   gopkg.in/yaml.v2 v2.2.2 \
-   gopkg.in/yaml.v2 v2.2.4
-
 .incl

Re: UPDATE net/ocserv-1.1.6

2022-03-16 Thread Bjorn Ketelaars
On Fri 04/03/2022 12:20, Bjorn Ketelaars wrote:
> Diff below brings ocserv to 1.1.6. Changes can be found at
> https://ocserv.gitlab.io/www/changelog.html.
> 
> Comments/OK?

Ping...

Diff enclosed again:


diff --git Makefile Makefile
index a3aeb0dee0c..ed2bf093c19 100644
--- Makefile
+++ Makefile
@@ -1,6 +1,6 @@
 COMMENT=   server implementing the AnyConnect SSL VPN protocol
 
-DISTNAME=  ocserv-1.1.3
+DISTNAME=  ocserv-1.1.6
 EXTRACT_SUFX=  .tar.xz
 
 CATEGORIES=net
diff --git distinfo distinfo
index 1cba0add06d..16c7a6c526b 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (ocserv-1.1.3.tar.xz) = GrcMbm6ja2E+jhcfwDtggcQxKkXuUswpWcBownMkEH4=
-SIZE (ocserv-1.1.3.tar.xz) = 833320
+SHA256 (ocserv-1.1.6.tar.xz) = amy+kiEuMigEJqUcY0rcPUgDV53QSc/bfgFHFMyCxpM=
+SIZE (ocserv-1.1.6.tar.xz) = 839744
diff --git patches/patch-doc_sample_config patches/patch-doc_sample_config
index 355341ba271..e509136066d 100644
--- patches/patch-doc_sample_config
+++ patches/patch-doc_sample_config
@@ -6,7 +6,7 @@ Index: doc/sample.config
 @@ -35,15 +35,6 @@
  # Acct-Interim-Interval, and Session-Timeout values.
  #
- # See doc/README-radius.md for the supported radius configuration atributes.
+ # See doc/README-radius.md for the supported radius configuration attributes.
 -#
 -# 
gssapi[keytab=/etc/key.tab,require-local-user-map=true,tgt-freshness-time=900]
 -#  The gssapi option allows one to use authentication methods supported by 
GSSAPI,
@@ -48,7 +48,7 @@ Index: doc/sample.config
  
  # The default server directory. Does not require any devices present.
  #chroot-dir = /var/lib/ocserv
-@@ -166,16 +155,6 @@ ca-cert = ../tests/certs/ca.pem
+@@ -172,16 +161,6 @@ ca-cert = ../tests/certs/ca.pem
  ### failures during the reloading time.
  
  
@@ -65,19 +65,21 @@ Index: doc/sample.config
  # A banner to be displayed on clients after connection
  #banner = "Welcome"
  
-@@ -341,9 +320,8 @@ min-reauth-time = 300
+@@ -345,10 +324,9 @@ min-reauth-time = 300
  # Banning clients in ocserv works with a point system. IP addresses
  # that get a score over that configured number are banned for
  # min-reauth-time seconds. By default a wrong password attempt is 10 points,
 -# a KKDCP POST is 1 point, and a connection is 1 point. Note that
--# due to difference processes being involved the count of points
--# will not be real-time precise.
-+# and a connection is 1 point. Note that due to different processes
-+# being involved the count of points will not be real-time precise.
+-# due to different processes being involved the count of points
+-# will not be real-time precise. Local subnet IPs are exempt to allow
+-# services that check for process health.
++# and a connection is 1 point. Note that due to different processes being
++# involved the count of points will not be real-time precise. Local subnet
++# IPs are exempt to allow services that check for process health.
  #
- # Score banning cannot be reliably used when receiving proxied connections
- # locally from an HTTP server (i.e., when listen-clear-file is used).
-@@ -357,7 +335,6 @@ ban-reset-time = 1200
+ # Set to zero to disable.
+ max-ban-score = 80
+@@ -359,7 +337,6 @@ ban-reset-time = 1200
  # In case you'd like to change the default points.
  #ban-points-wrong-password = 10
  #ban-points-connection = 1
@@ -85,7 +87,7 @@ Index: doc/sample.config
  
  # Cookie timeout (in seconds)
  # Once a client is authenticated he's provided a cookie with
-@@ -432,7 +409,7 @@ rekey-method = ssl
+@@ -434,7 +411,7 @@ rekey-method = ssl
  use-occtl = true
  
  # PID file. It can be overridden in the command line.
@@ -94,7 +96,7 @@ Index: doc/sample.config
  
  # Log Level. It can be overridden in the command line with the -d option.
  # All messages at the configure level and lower will be displayed.
-@@ -561,6 +538,11 @@ no-route = 192.168.5.0/255.255.255.0
+@@ -563,6 +540,11 @@ no-route = 192.168.5.0/255.255.255.0
  # any other routes. In case of defaultroute, the no-routes are restricted.
  # All the routes applied by ocserv can be reverted using /etc/ocserv/ocserv-fw
  # --removeall. This option can be set globally or in the per-user 
configuration.
@@ -106,7 +108,7 @@ Index: doc/sample.config
  #restrict-user-to-routes = true
  
  # This option implies restrict-user-to-routes set to true. If set, the
-@@ -633,23 +615,6 @@ no-route = 192.168.5.0/255.255.255.0
+@@ -635,23 +617,6 @@ no-route = 192.168.5.0/255.255.255.0
  # and '%{G}', if present will be replaced by the username and group name.
  #proxy-url = http://example.com/
  #proxy-url = http://example.com/%{U}/



[update patch] htop 3.0.5 -> 3.1.2

2022-03-16 Thread Martin Ziemer
This patch updates htop from 3.0.5 to 3.1.2.

Tested on two amd64 systems.

Index: Makefile
===
RCS file: /cvs/ports/sysutils/htop/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile11 Mar 2022 19:57:32 -  1.30
+++ Makefile16 Mar 2022 14:13:41 -
@@ -2,10 +2,8 @@ COMMENT =  interactive process viewer
 
 GH_ACCOUNT =   htop-dev
 GH_PROJECT =   htop
-#GH_TAGNAME =  3.0.5
-GH_COMMIT =feec16cbb53dabc6a52ef2f69a6a13798be82617
-DISTNAME = htop-3.0.5pl20210418
-REVISION = 0
+GH_TAGNAME =   3.1.2
+DISTNAME = htop-3.1.2
 
 CATEGORIES =   sysutils
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/htop/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo23 Apr 2021 21:16:16 -  1.8
+++ distinfo16 Mar 2022 14:13:41 -
@@ -1,2 +1,2 @@
-SHA256 (htop-3.0.5pl20210418-feec16cb.tar.gz) = 
bUysbhZRqsVVLSZcz4GvUl5ekauQCn81QQLqFP+ruF0=
-SIZE (htop-3.0.5pl20210418-feec16cb.tar.gz) = 314058
+SHA256 (htop-3.1.2.tar.gz) = /pVZY3yPIfX9UxpMByBIpAQXOAasva0TWca4L9h6oAE=
+SIZE (htop-3.1.2.tar.gz) = 387656



[update] net/mautrix-whatsapp 0.3.0

2022-03-16 Thread Renaud Allard


Hello,

Here is a diff to update net/mautrix-whatsapp to 0.3.0

Best RegardsIndex: Makefile
===
RCS file: /cvs/ports/net/mautrix-whatsapp/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile	18 Jan 2022 22:47:05 -	1.9
+++ Makefile	16 Mar 2022 14:57:31 -
@@ -2,7 +2,7 @@
 
 COMMENT =	matrix-WhatsApp puppeting bridge
 
-MODGO_VERSION =	v0.2.3
+MODGO_VERSION =	v0.3.0
 MODGO_MODNAME =	maunium.net/go/mautrix-whatsapp
 
 DISTNAME =	mautrix-whatsapp-${MODGO_VERSION}
Index: distinfo
===
RCS file: /cvs/ports/net/mautrix-whatsapp/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo	18 Jan 2022 22:47:05 -	1.6
+++ distinfo	16 Mar 2022 14:57:31 -
@@ -2,8 +2,6 @@ SHA256 (go_modules/cloud.google.com/go/@
 SHA256 (go_modules/cloud.google.com/go/@v/v0.34.0.zip) = J8EZDc0zxZSDhIdUTYw9F99PeRb7VC9cLJynKe8dn+Y=
 SHA256 (go_modules/filippo.io/edwards25519/@v/v1.0.0-rc.1.mod) = 18MvTgz5F65FgigZwzhreQaHZbYlu+JJdGHuwPjoYpw=
 SHA256 (go_modules/filippo.io/edwards25519/@v/v1.0.0-rc.1.zip) = TLfb313jSVwjCKLpcyK/w0qgvUzYS5gKOAGzHFCDBEg=
-SHA256 (go_modules/github.com/aead/siphash/@v/v1.0.1.mod) = 8r19CiJrZJWlKBTpUhctwtX9IpAN9+tBsWF+rNQRTyc=
-SHA256 (go_modules/github.com/aead/siphash/@v/v1.0.1.zip) = JdoE/0GOCyhxsRk6NHiXe0qmbCBze5ynClBAuHa209k=
 SHA256 (go_modules/github.com/alecthomas/template/@v/v0.0.0-20160405071501-a0175ee3bccc.mod) = wCGTza/yP3AiRZc5CDL1aCUK84T5jcQ3iutb+P7GkPw=
 SHA256 (go_modules/github.com/alecthomas/template/@v/v0.0.0-20190718012654-fb15b899a751.mod) = wCGTza/yP3AiRZc5CDL1aCUK84T5jcQ3iutb+P7GkPw=
 SHA256 (go_modules/github.com/alecthomas/template/@v/v0.0.0-20190718012654-fb15b899a751.zip) = JeO+cZKTLRMNCvMc5bzdroh2R7pK/PsyAJw7m3nbvbM=
@@ -15,31 +13,11 @@ SHA256 (go_modules/github.com/beorn7/per
 SHA256 (go_modules/github.com/beorn7/perks/@v/v1.0.0.mod) = wNxuW3KlzSPG92OQoe/KJ+VoublPPKvl3zWk+mGGJIQ=
 SHA256 (go_modules/github.com/beorn7/perks/@v/v1.0.1.mod) = yHCz/lC2lE+rCVsGII2ciJh2PpFzyx7tMljD1YMJumY=
 SHA256 (go_modules/github.com/beorn7/perks/@v/v1.0.1.zip) = Jb2eLZSsp3Dm28H1NyX4T2r0Qy9jHTXdLEb5bvBRLxo=
-SHA256 (go_modules/github.com/btcsuite/btcd/@v/v0.20.1-beta.mod) = GWYjI0sRbmdgxHMBm0o0EWq4MmFyoxG5I5TAy85eKf8=
-SHA256 (go_modules/github.com/btcsuite/btcd/@v/v0.20.1-beta.zip) = fSqaajpWojmnm7dciH6HxnJPJ4036M/dAeJ/QeR44sc=
-SHA256 (go_modules/github.com/btcsuite/btclog/@v/v0.0.0-20170628155309-84c8d2346e9f.mod) = VmySCS/WorSnvWjDo5ZZ4S9pcChh698SEWWMiu1bHEU=
-SHA256 (go_modules/github.com/btcsuite/btclog/@v/v0.0.0-20170628155309-84c8d2346e9f.zip) = dK1N77q/SMmLu1R74cQMEfosKG9ZlBLHdNHFYE3BgI0=
-SHA256 (go_modules/github.com/btcsuite/btcutil/@v/v0.0.0-20190425235716-9e5f4b9a998d.mod) = RxxT6Y7FgLEsHGevoKvowuAcLQaMO8PWnPQgdzaPMTs=
-SHA256 (go_modules/github.com/btcsuite/btcutil/@v/v1.0.2.mod) = +TB49HV9APjj1oPVJ1m7qo4zlPVii3dh/vIYyaFYnoE=
-SHA256 (go_modules/github.com/btcsuite/btcutil/@v/v1.0.2.zip) = LXdHHMHDakdNSsJN9fwFPU69mcjL3vfwrcU5rV12rDs=
-SHA256 (go_modules/github.com/btcsuite/go-socks/@v/v0.0.0-20170105172521-4720035b7bfd.mod) = h9+2UWT3kMHxprkDrZxpgv1Y5nIt9SAo8MY1T4iDXe4=
-SHA256 (go_modules/github.com/btcsuite/go-socks/@v/v0.0.0-20170105172521-4720035b7bfd.zip) = zCd3b1b3xYwoCK9VeB6bP30OsNwI5MGcOMa98kZc4Oc=
-SHA256 (go_modules/github.com/btcsuite/goleveldb/@v/v0.0.0-20160330041536-7834afc9e8cd.mod) = 9T1wiQNMfc2uyvSa+zGViaCcgvOsxhiQZ2waqpSilx4=
-SHA256 (go_modules/github.com/btcsuite/goleveldb/@v/v0.0.0-20160330041536-7834afc9e8cd.zip) = ldDNwbI0/s5w38V2GAlOlLyDFLFf9u0vyX1+spkZutI=
-SHA256 (go_modules/github.com/btcsuite/snappy-go/@v/v0.0.0-20151229074030-0bdef8d06723.mod) = LwzCaDQCESXNO4/ZDuAX2zVOde/nl8vZAIe7qcbASfM=
-SHA256 (go_modules/github.com/btcsuite/snappy-go/@v/v0.0.0-20151229074030-0bdef8d06723.zip) = /jGi70coywb7HEFmD/lyMgE4J84u0nAGZ6Fjq1crcNY=
-SHA256 (go_modules/github.com/btcsuite/websocket/@v/v0.0.0-20150119174127-31079b680792.mod) = THOMDsNV+njD8u7wASjOZAE6Fu7Zh2OqPKdokLgESpU=
-SHA256 (go_modules/github.com/btcsuite/websocket/@v/v0.0.0-20150119174127-31079b680792.zip) = 1FrBb1kIKsNp5hx7viMVPiicrQNhmrgEGWPVTNcA1vA=
-SHA256 (go_modules/github.com/btcsuite/winsvc/@v/v1.0.0.mod) = AlDjj7CLL7ngBBNISaHFuUHo+sG/DOw6C+4kaR7VvqQ=
-SHA256 (go_modules/github.com/btcsuite/winsvc/@v/v1.0.0.zip) = aJP3pi+uwX17CFbHRkdUyrFMTZE+J69SdvapiyXzx3k=
 SHA256 (go_modules/github.com/cespare/xxhash/v2/@v/v2.1.1.mod) = oJD46q9ZzCrfFjKZ6+/nl+Hco/at0sjoimo7kLpTiwI=
 SHA256 (go_modules/github.com/cespare/xxhash/v2/@v/v2.1.1.zip) = W6oDHHLnPkJhfw/XTn2BM0SFC9amBzOBtqQWCl6ctZ4=
-SHA256 (go_modules/github.com/davecgh/go-spew/@v/v0.0.0-20171005155431-ecdeabc65495.mod) = vLKTkyUSN7eaF7bBm/KRNPQ+j0OMMZiYj81GGhzfBcw=
 SHA256 (go_modules/github.com/davecgh/go-spew/@v/v1.1.0.mod) = vLKTkyUSN7eaF7bBm/KRNPQ+j0OMMZiYj81GGhzfBcw=
 SHA256 (go_modules/github.com/davecgh/go-spew/@v/v1.1.1.mod) = vLKTkyUSN7eaF7bBm/KRNPQ+j0OMMZiYj81GGhzfBcw=
 SH

Re: CVS: cvs.openbsd.org: ports

2022-03-16 Thread Giovanni Bechis
On Tue, Mar 15, 2022 at 05:03:17PM -0400, Kurt Mosiejczuk wrote:
> On Tue, Mar 15, 2022 at 08:22:43PM +, Stuart Henderson wrote:
> 
> > > It fails identically on -current.
> 
> > base-gcc won't be good enough:
> 
> > > util.c:3183: error: thread-local storage not supported for this target
> 
> Here's a diff to switch to ports-gcc for base-gcc arches.
> 
> ok?
> 
> (Should also be backported to fix -stable (minus the REVISION bump) to
> fix it there.
> 
ok giovanni@ portwise.

  Giovanni


> --Kurt
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/www/apache-httpd/Makefile,v
> retrieving revision 1.114
> diff -u -p -r1.114 Makefile
> --- Makefile  14 Mar 2022 14:41:34 -  1.114
> +++ Makefile  15 Mar 2022 21:03:05 -
> @@ -3,6 +3,7 @@ COMMENT=  apache HTTP server
>  V=   2.4.53
>  DISTNAME=httpd-${V}
>  PKGNAME= apache-httpd-${V}
> +REVISION=0
>  
>  CATEGORIES=  www net
>  
> @@ -12,6 +13,9 @@ HOMEPAGE=   https://httpd.apache.org/
>  
>  # Apache 2.0
>  PERMIT_PACKAGE=  Yes
> +
> +COMPILER=base-clang ports-gcc
> +COMPILER_LANGS=  c
>  
>  WANTLIB += apr-1 aprutil-1 brotlicommon brotlienc c crypto curl
>  WANTLIB += db expat iconv jansson lzma m nghttp2 pcre pthread ssl
> 


signature.asc
Description: PGP signature


Update: databases/ruby-pg 1.3.4

2022-03-16 Thread Jeremy Evans
This updates to the latest version of the pg gem.  Release notes
available at: https://github.com/ged/ruby-pg/blob/master/History.rdoc

Tested on amd64.  Will be committing in a couple days unless I hear
objections.

Thanks,
Jeremy

Index: Makefile
===
RCS file: /cvs/ports/databases/ruby-pg/Makefile,v
retrieving revision 1.43
diff -u -p -r1.43 Makefile
--- Makefile11 Mar 2022 18:31:44 -  1.43
+++ Makefile16 Mar 2022 15:43:31 -
@@ -1,6 +1,6 @@
 COMMENT =  PostgreSQL database interface for ruby
 
-DISTNAME = pg-1.2.3
+DISTNAME = pg-1.3.4
 CATEGORIES =   databases
 
 MAINTAINER =   Jeremy Evans 
Index: distinfo
===
RCS file: /cvs/ports/databases/ruby-pg/distinfo,v
retrieving revision 1.26
diff -u -p -r1.26 distinfo
--- distinfo9 Jun 2020 22:22:33 -   1.26
+++ distinfo16 Mar 2022 15:43:31 -
@@ -1,2 +1,2 @@
-SHA256 (pg-1.2.3.gem) = 8uceEB63/ClyIvqaJ3qJqWhnKajfpBbUZAjmlrXPro4=
-SIZE (pg-1.2.3.gem) = 196608
+SHA256 (pg-1.3.4.gem) = q7I3I0Y/3IyHf0Jnm4QOgVGO4mtHK1rE/TFW+tUcDCQ=
+SIZE (pg-1.3.4.gem) = 200192
Index: pkg/PLIST
===
RCS file: /cvs/ports/databases/ruby-pg/pkg/PLIST,v
retrieving revision 1.18
diff -u -p -r1.18 PLIST
--- pkg/PLIST   11 Mar 2022 18:31:45 -  1.18
+++ pkg/PLIST   16 Mar 2022 15:43:31 -
@@ -1,9 +1,22 @@
 ${GEM_LIB}/cache/${DISTNAME}.gem
 ${GEM_LIB}/gems/${DISTNAME}/
+${GEM_LIB}/gems/${DISTNAME}/.appveyor.yml
+${GEM_LIB}/gems/${DISTNAME}/.gems
 ${GEM_LIB}/gems/${DISTNAME}/.gemtest
+${GEM_LIB}/gems/${DISTNAME}/.github/
+${GEM_LIB}/gems/${DISTNAME}/.github/workflows/
+${GEM_LIB}/gems/${DISTNAME}/.github/workflows/binary-gems.yml
+${GEM_LIB}/gems/${DISTNAME}/.github/workflows/source-gem.yml
+${GEM_LIB}/gems/${DISTNAME}/.gitignore
+${GEM_LIB}/gems/${DISTNAME}/.hgsigs
+${GEM_LIB}/gems/${DISTNAME}/.hgtags
+${GEM_LIB}/gems/${DISTNAME}/.irbrc
+${GEM_LIB}/gems/${DISTNAME}/.pryrc
+${GEM_LIB}/gems/${DISTNAME}/.tm_properties
+${GEM_LIB}/gems/${DISTNAME}/.travis.yml
 ${GEM_LIB}/gems/${DISTNAME}/BSDL
-${GEM_LIB}/gems/${DISTNAME}/ChangeLog
 ${GEM_LIB}/gems/${DISTNAME}/Contributors.rdoc
+${GEM_LIB}/gems/${DISTNAME}/Gemfile
 ${GEM_LIB}/gems/${DISTNAME}/History.rdoc
 ${GEM_LIB}/gems/${DISTNAME}/LICENSE
 ${GEM_LIB}/gems/${DISTNAME}/Manifest.txt
@@ -14,38 +27,67 @@ ${GEM_LIB}/gems/${DISTNAME}/README.ja.rd
 ${GEM_LIB}/gems/${DISTNAME}/README.rdoc
 ${GEM_LIB}/gems/${DISTNAME}/Rakefile
 ${GEM_LIB}/gems/${DISTNAME}/Rakefile.cross
+${GEM_LIB}/gems/${DISTNAME}/certs/
+${GEM_LIB}/gems/${DISTNAME}/certs/ged.pem
+${GEM_LIB}/gems/${DISTNAME}/certs/larskanis-2022.pem
 ${GEM_LIB}/gems/${DISTNAME}/lib/
 ${GEM_LIB}/gems/${DISTNAME}/lib/pg/
 ${GEM_LIB}/gems/${DISTNAME}/lib/pg.rb
-${GEM_LIB}/gems/${DISTNAME}/lib/pg/basic_type_mapping.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/pg/basic_type_map_based_on_result.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/pg/basic_type_map_for_queries.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/pg/basic_type_map_for_results.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/pg/basic_type_registry.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/pg/binary_decoder.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/pg/coder.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/pg/connection.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/pg/constants.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/pg/exceptions.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/pg/postgresql_lib_path.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/pg/result.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/pg/text_decoder.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/pg/text_encoder.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/pg/tuple.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/pg/type_map_by_column.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/pg/version.rb
 @so ${GEM_LIB}/gems/${DISTNAME}/lib/pg_ext.so
-${GEM_LIB}/gems/${DISTNAME}/spec/
-${GEM_LIB}/gems/${DISTNAME}/spec/data/
-${GEM_LIB}/gems/${DISTNAME}/spec/data/expected_trace.out
-${GEM_LIB}/gems/${DISTNAME}/spec/data/random_binary_data
-${GEM_LIB}/gems/${DISTNAME}/spec/helpers.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/basic_type_mapping_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/connection_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/connection_sync_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/result_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/tuple_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/type_map_by_class_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/type_map_by_column_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/type_map_by_mri_type_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/type_map_by_oid_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/type_map_in_ruby_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/type_map_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg/type_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/pg_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/misc/
+${GEM_LIB}/gems/${DISTNAME}/misc/openssl-pg-segfault.rb
+${GEM_LIB}/gems/${DISTNAME}/misc/postgres/
+${GEM_L

Update: databases/sequel_pg 1.15.0

2022-03-16 Thread Jeremy Evans
This updates to the current version of the sequel_pg gem. Release
announcement at https://github.com/jeremyevans/sequel_pg/discussions/44

Tested on amd64. Will be committing in a couple days unless I hear
objections.

Thanks,
Jeremy

Index: Makefile
===
RCS file: /cvs/ports/databases/ruby-sequel_pg/Makefile,v
retrieving revision 1.47
diff -u -p -r1.47 Makefile
--- Makefile11 Mar 2022 18:31:45 -  1.47
+++ Makefile16 Mar 2022 15:44:17 -
@@ -1,6 +1,6 @@
 COMMENT =  faster SELECTs when using ruby-sequel with ruby-pg
 
-DISTNAME = sequel_pg-1.14.0
+DISTNAME = sequel_pg-1.15.0
 CATEGORIES =   databases
 
 MAINTAINER =   Jeremy Evans 
Index: distinfo
===
RCS file: /cvs/ports/databases/ruby-sequel_pg/distinfo,v
retrieving revision 1.31
diff -u -p -r1.31 distinfo
--- distinfo22 Sep 2020 16:25:55 -  1.31
+++ distinfo16 Mar 2022 15:44:17 -
@@ -1,2 +1,2 @@
-SHA256 (sequel_pg-1.14.0.gem) = ZtoyjF3ACRikO+XPnfEmfXGPeeSfLqYwL/S6ZRKza1Y=
-SIZE (sequel_pg-1.14.0.gem) = 25600
+SHA256 (sequel_pg-1.15.0.gem) = 5/gJU24os0yS5tVkT9oeMLH/RiAQ6SGQL1LZQ7HiHtQ=
+SIZE (sequel_pg-1.15.0.gem) = 26112



Re: Anki crashing when trying to import/export decks.

2022-03-16 Thread Stuart Henderson
On 2022/03/16 17:05, Solene Rapenne wrote:
> On Wed, 16 Mar 2022 06:40:53 +
> Hashim Mahmoud :
> 
> > On Tue, 15 Mar 2022 20:10:17 +
> > Hashim Mahmoud  wrote:
> > 
> > > Anki works with full functionality as expected, but when clicking  
> > > "File>Import" or clicking the "File>Export" button, and selecting any  
> > > export format, whether checking "Include media" or not, crashes the
> > > program, with the attached error log.  
> > 
> > Forgot to mention, this is on OpenBSD 7.0.
> > 
> 
> I can reproduce this on -current
> 

A backtrace would be nice..



[update] herbstluftwm 0.9.4

2022-03-16 Thread Florian Viehweger
Hi,

this updates herbstluftwm to 0.9.4. Changes are listed here[1].

Port-wise there is a new dependency: Xfixes.

portcheck, 'make lib-depends-check' and 'make test' are happy.

So far, no issues on amd64, i386 is due later.

Tests on big endian architectures welcome.

Comments?

Thanks!

[1] https://herbstluftwm.org/news.html


Index: Makefile
===
RCS file: /cvs/ports/x11/herbstluftwm/Makefile,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 Makefile
--- Makefile11 Mar 2022 20:16:05 -  1.23
+++ Makefile16 Mar 2022 17:02:03 -
@@ -1,5 +1,5 @@
 COMMENT =  manual tiling window manager
-DISTNAME = herbstluftwm-0.9.3
+DISTNAME = herbstluftwm-0.9.4
 CATEGORIES =   x11
 
 HOMEPAGE = https://herbstluftwm.org/
@@ -10,8 +10,8 @@ MAINTAINER =  Lucas , \
 # BSD
 PERMIT_PACKAGE =   Yes
 
-WANTLIB += ${COMPILER_LIBCXX} X11 Xext Xft Xinerama Xrandr Xrender
-WANTLIB += c freetype m z
+WANTLIB += ${COMPILER_LIBCXX} X11 Xext Xfixes Xft Xinerama Xrandr
+WANTLIB += Xrender c freetype m z
 
 MASTER_SITES = https://herbstluftwm.org/tarballs/
 
Index: distinfo
===
RCS file: /cvs/ports/x11/herbstluftwm/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo5 Jun 2021 11:21:31 -   1.10
+++ distinfo16 Mar 2022 17:02:03 -
@@ -1,2 +1,2 @@
-SHA256 (herbstluftwm-0.9.3.tar.gz) = 
C6exvQKWbm7v4ngFdTCCQGotKVS8Qf4EDRzKrtJewQU=
-SIZE (herbstluftwm-0.9.3.tar.gz) = 497523
+SHA256 (herbstluftwm-0.9.4.tar.gz) = 
7vju0HavM68qdZEcD7EhX9s0J2BqA06otE/naHLLA8w=
+SIZE (herbstluftwm-0.9.4.tar.gz) = 549029

-- 
greetings,

Florian Viehweger



Re: update devel/codeblocks to 20.03 patch level 12751

2022-03-16 Thread Josh Grosse
Attached is the diff I should have sent, with correct WANTLIBS
added.

On Tue, Mar 15, 2022 at 10:12:32PM -0400, Josh Grosse wrote:
> Recently, problems with wxWidgets handling and startup have been
> noticed with codeblocks 20.03.  Upstream has 730+ commits since
> 20.03 but have not yet tagged any new release or candidates of any kind.
> 
> Their recent HEAD at revision 12571 seems to solves both issues.

Sorry, typo.  The revision is 12751.
diff --git a/devel/codeblocks/Makefile b/devel/codeblocks/Makefile
index 3e30ad54745..fb4238123f3 100755
--- a/devel/codeblocks/Makefile
+++ b/devel/codeblocks/Makefile
@@ -1,11 +1,17 @@
 BROKEN-alpha=  sqvm.cpp:394:1: internal compiler error: Segmentation fault
 COMMENT=   Code::Blocks C/C++ IDE
 
-V= 20.03
+V= 20.03pl12751
+
+# source tarball for this OpenBSD-specific patch level:
+MASTER_SITES1= https://jggimi.net/codeblocks/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:1
+
 DISTNAME=  codeblocks-${V}
 PKGNAME=   codeblocks-${V}
 EXTRACT_SUFX=  .tar.xz
-REVISION=  2
+
+DEBUG_PACKAGES=${BUILD_PACKAGES}
 
 WRKDIST=   ${WRKDIR}/codeblocks-${V}
 
@@ -31,7 +37,7 @@ HOMEPAGE= http://www.codeblocks.org/
 PERMIT_PACKAGE=Yes
 
 WANTLIB += ${COMPILER_LIBCXX} ICE SDL2 SM X11 Xcomposite Xcursor
-WANTLIB += Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender Xss
+WANTLIB += Xau Xdmcp Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender Xss
 WANTLIB += Xxf86vm atk-1.0 atk-bridge-2.0 boost_system bz2 c cairo
 WANTLIB += cairo-gobject curses epoxy execinfo expat ffi fontconfig
 WANTLIB += freetype fribidi gamin-1 gdk-3 gdk_pixbuf-2.0 gio-2.0
diff --git a/devel/codeblocks/distinfo b/devel/codeblocks/distinfo
index 09f55e353a9..0182edab851 100644
--- a/devel/codeblocks/distinfo
+++ b/devel/codeblocks/distinfo
@@ -1,2 +1,2 @@
-SHA256 (codeblocks-20.03.tar.xz) = Fe6z4orqBU4fOLDH9GcbTU0RFv0F9jwHqpWpHbieqsU=
-SIZE (codeblocks-20.03.tar.xz) = 11799264
+SHA256 (codeblocks-20.03pl12751.tar.xz) = 
ZP/Co2/RU2CzLUsxQEAvxjkpmSkwiA/xT4+zB9VNczs=
+SIZE (codeblocks-20.03pl12751.tar.xz) = 16711944
diff --git a/devel/codeblocks/patches/patch-configure 
b/devel/codeblocks/patches/patch-configure
index 46c8967c235..353f464c7cb 100644
--- a/devel/codeblocks/patches/patch-configure
+++ b/devel/codeblocks/patches/patch-configure
@@ -3,7 +3,7 @@ undefined reference to `free'
 Index: configure
 --- configure.orig
 +++ configure
-@@ -16911,7 +16911,6 @@ if ${ax_cv_check_ldflags___Wl___no_undefined+:} false;
+@@ -16899,7 +16899,6 @@ if ${ax_cv_check_ldflags___Wl___no_undefined+:} false;
  else
  
ax_check_save_flags=$LDFLAGS
@@ -11,7 +11,7 @@ Index: configure
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  /* end confdefs.h.  */
  
-@@ -16935,7 +16934,6 @@ fi
+@@ -16923,7 +16922,6 @@ fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: 
$ax_cv_check_ldflags___Wl___no_undefined" >&5
  $as_echo "$ax_cv_check_ldflags___Wl___no_undefined" >&6; }
  if test "x$ax_cv_check_ldflags___Wl___no_undefined" = xyes; then :
diff --git a/devel/codeblocks/patches/patch-src_base_tinyxml_Makefile_in 
b/devel/codeblocks/patches/patch-src_base_tinyxml_Makefile_in
index 59247107298..ab710b33327 100644
--- a/devel/codeblocks/patches/patch-src_base_tinyxml_Makefile_in
+++ b/devel/codeblocks/patches/patch-src_base_tinyxml_Makefile_in
@@ -4,7 +4,7 @@ Fix build when tinyxml is installed.
 Index: src/base/tinyxml/Makefile.in
 --- src/base/tinyxml/Makefile.in.orig
 +++ src/base/tinyxml/Makefile.in
-@@ -423,10 +423,10 @@ top_builddir = @top_builddir@
+@@ -417,10 +417,10 @@ top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
  zlib_CFLAGS = @zlib_CFLAGS@
  zlib_LIBS = @zlib_LIBS@
diff --git 
a/devel/codeblocks/patches/patch-src_include_mozilla_chardet_nsprpub_pr_include_prcpucfg_linux_h
 
b/devel/codeblocks/patches/patch-src_include_mozilla_chardet_nsprpub_pr_include_prcpucfg_linux_h
deleted file mode 100644
index 59dead9a877..000
--- 
a/devel/codeblocks/patches/patch-src_include_mozilla_chardet_nsprpub_pr_include_prcpucfg_linux_h
+++ /dev/null
@@ -1,58 +0,0 @@
-Add support for riscv64
-
-Index: src/include/mozilla_chardet/nsprpub/pr/include/prcpucfg_linux.h
 src/include/mozilla_chardet/nsprpub/pr/include/prcpucfg_linux.h.orig
-+++ src/include/mozilla_chardet/nsprpub/pr/include/prcpucfg_linux.h
-@@ -643,6 +643,52 @@
- #define PR_BYTES_PER_WORD_LOG2  3
- #define PR_BYTES_PER_DWORD_LOG2 3
- 
-+#elif defined(__riscv) && __riscv_xlen == 64
-+
-+#define IS_LITTLE_ENDIAN 1
-+#undef  IS_BIG_ENDIAN
-+#define IS_64
-+
-+#define PR_BYTES_PER_BYTE   1
-+#define PR_BYTES_PER_SHORT  2
-+#define PR_BYTES_PER_INT4
-+#define PR_BYTES_PER_INT64  8
-+#define PR_BYTES_PER_LONG   8
-+#define PR_BYTES_PER_FLOAT  4
-+#define PR_BYTES_PER_DOUBLE 8
-+#define PR_BYTES_PER_WORD   8
-+#define PR_BYTES_PER_DWORD  8
-+
-+#define PR_BITS_PER_BYTE8
-+#define PR_BITS_PER_SHORT   16
-+#define PR_BITS_PER_INT 32
-+#define PR_BITS_PER_INT64   64
-+#define PR_BITS_PER_LONG64
-+#define PR_B

NEW: productivity/kalendar

2022-03-16 Thread Rafael Sadowski
Please find attached KDE Kalendar, a calendar application using Akonadi
to sync with external services (Nextcloud, GMail, ...).

It works quite well to sync my Nextcloud CalDAV calendar and tasks. It
is much faster than working in the browser.

Feedback, OK?

Rafael

-
Information for inst:kalendar-1.0.0

Comment:
Akonadi calendar application

Description:
Kalendar is a calendar application that allows you to manage your tasks and
events. Kalendar supports both local calendars as well as a multitude of online
calendars:

 - CalDAV calendars (e.g. Nextcloud)
 - Google calendars
 - Exchange calendars
 - iCal calendar files (.ics)
 - iCal calendar folders
 - Kolab groupware servers
 - Open-Xchange groupware servers

Maintainer: Rafael Sadowski 

WWW: https://invent.kde.org/pim/kalendar




kalendar-1.0.0.tar.gz
Description: Binary data


Re: [update patch] htop 3.0.5 -> 3.1.2

2022-03-16 Thread Rafael Sadowski
On Wed Mar 16, 2022 at 03:21:29PM +0100, Martin Ziemer wrote:
> This patch updates htop from 3.0.5 to 3.1.2.
> 
> Tested on two amd64 systems.

I ran into on updating it:

Error: Dependency htop-3.1.2 doesn't match FULLPKGNAME: htop-3.0.5pl20210418p0

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/sysutils/htop/Makefile,v
> retrieving revision 1.30
> diff -u -p -r1.30 Makefile
> --- Makefile  11 Mar 2022 19:57:32 -  1.30
> +++ Makefile  16 Mar 2022 14:13:41 -
> @@ -2,10 +2,8 @@ COMMENT =interactive process viewer
>  
>  GH_ACCOUNT = htop-dev
>  GH_PROJECT = htop
> -#GH_TAGNAME =3.0.5
> -GH_COMMIT =  feec16cbb53dabc6a52ef2f69a6a13798be82617
> -DISTNAME =   htop-3.0.5pl20210418
> -REVISION =   0
> +GH_TAGNAME = 3.1.2
> +DISTNAME =   htop-3.1.2
>  
>  CATEGORIES = sysutils
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/sysutils/htop/distinfo,v
> retrieving revision 1.8
> diff -u -p -r1.8 distinfo
> --- distinfo  23 Apr 2021 21:16:16 -  1.8
> +++ distinfo  16 Mar 2022 14:13:41 -
> @@ -1,2 +1,2 @@
> -SHA256 (htop-3.0.5pl20210418-feec16cb.tar.gz) = 
> bUysbhZRqsVVLSZcz4GvUl5ekauQCn81QQLqFP+ruF0=
> -SIZE (htop-3.0.5pl20210418-feec16cb.tar.gz) = 314058
> +SHA256 (htop-3.1.2.tar.gz) = /pVZY3yPIfX9UxpMByBIpAQXOAasva0TWca4L9h6oAE=
> +SIZE (htop-3.1.2.tar.gz) = 387656
> 



Re: [update patch] htop 3.0.5 -> 3.1.2

2022-03-16 Thread Stuart Henderson
On 2022/03/16 22:10, Rafael Sadowski wrote:
> On Wed Mar 16, 2022 at 03:21:29PM +0100, Martin Ziemer wrote:
> > This patch updates htop from 3.0.5 to 3.1.2.
> > 
> > Tested on two amd64 systems.
> 
> I ran into on updating it:
> 
> Error: Dependency htop-3.1.2 doesn't match FULLPKGNAME: htop-3.0.5pl20210418p0

I think you may have a copy in mystuff

Here's an improved diff

Index: Makefile
===
RCS file: /cvs/ports/sysutils/htop/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile11 Mar 2022 19:57:32 -  1.30
+++ Makefile16 Mar 2022 21:59:52 -
@@ -2,10 +2,7 @@ COMMENT =  interactive process viewer
 
 GH_ACCOUNT =   htop-dev
 GH_PROJECT =   htop
-#GH_TAGNAME =  3.0.5
-GH_COMMIT =feec16cbb53dabc6a52ef2f69a6a13798be82617
-DISTNAME = htop-3.0.5pl20210418
-REVISION = 0
+GH_TAGNAME =   3.1.2
 
 CATEGORIES =   sysutils
 
@@ -16,7 +13,7 @@ MAINTAINER =  Ian Sutton 
 # GPLv2 only
 PERMIT_PACKAGE =   Yes
 
-WANTLIB =  c curses kvm m
+WANTLIB =  c curses execinfo kvm m
 
 RUN_DEPENDS =  devel/desktop-file-utils
 
@@ -25,7 +22,7 @@ NO_TEST = Yes
 DEBUG_PACKAGES =   ${BUILD_PACKAGES}
 
 CONFIGURE_STYLE =  autoreconf
-AUTOCONF_VERSION = 2.69
+AUTOCONF_VERSION = 2.71
 AUTOMAKE_VERSION = 1.16
 AUTORECONF =   ./autogen.sh
 CONFIGURE_ARGS +=  --disable-unicode \
Index: distinfo
===
RCS file: /cvs/ports/sysutils/htop/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo23 Apr 2021 21:16:16 -  1.8
+++ distinfo16 Mar 2022 21:59:52 -
@@ -1,2 +1,2 @@
-SHA256 (htop-3.0.5pl20210418-feec16cb.tar.gz) = 
bUysbhZRqsVVLSZcz4GvUl5ekauQCn81QQLqFP+ruF0=
-SIZE (htop-3.0.5pl20210418-feec16cb.tar.gz) = 314058
+SHA256 (htop-3.1.2.tar.gz) = /pVZY3yPIfX9UxpMByBIpAQXOAasva0TWca4L9h6oAE=
+SIZE (htop-3.1.2.tar.gz) = 387656



Re: update devel/codeblocks to 20.03 patch level 12751

2022-03-16 Thread Stuart Henderson
> diff --git 
> a/devel/codeblocks/patches/patch-src_plugins_contrib_dragscroll_dragscrollcfg_h
>  
> b/devel/codeblocks/patches/patch-src_plugins_contrib_dragscroll_dragscrollcfg_h
> index ccf08ff3315..c9aaaee7fc3 100644
> --- 
> a/devel/codeblocks/patches/patch-src_plugins_contrib_dragscroll_dragscrollcfg_h
> +++ 
> b/devel/codeblocks/patches/patch-src_plugins_contrib_dragscroll_dragscrollcfg_h
> @@ -8,7 +8,7 @@ Index: src/plugins/contrib/dragscroll/dragscrollcfg.h
>   void OnApply();
>   void OnCancel(){}
>  +#if defined(LOGGING)
> - virtual void InitDialog(){ asm("int3");} /*trap*/
> + virtual void InitDialog() { } /*trap*/
>  +#endif

With the upstream change getting rid of the asm int3 call,
I think it probably doesn't make sense to patch for the
reason described in the comment any more

> --- a/devel/codeblocks/patches/patch-src_sdk_scripting_squirrel_sqvm_cpp
> +++ b/devel/codeblocks/patches/patch-src_sdk_scripting_squirrel_sqvm_cpp
> @@ -2,12 +2,12 @@ Index: src/sdk/scripting/squirrel/sqvm.cpp
>  --- src/sdk/scripting/squirrel/sqvm.cpp.orig
>  +++ src/sdk/scripting/squirrel/sqvm.cpp
>  @@ -1,8 +1,8 @@
> - /*
> - see copyright notice in squirrel.h
> - */
> --#include "sqpcheader.h"
> - #include 
> -+#include "sqpcheader.h"
> - #include 
> - #include "sqopcodes.h"
> - #include "sqfuncproto.h"
> + /*
> + see copyright notice in squirrel.h
> + */
> +-#include "sqpcheader.h"
> + #include 
> ++#include "sqpcheader.h"
> + #include 
> + #include "sqopcodes.h"
> + #include "sqvm.h"

This patch doesn't apply (the patch against the ports tree
applies, but the resulting patch doesn't apply to the upstream
code) - codeblocks builds without this patch, should it just be
rm'd instead? 



Re: update devel/codeblocks to 20.03 patch level 12751

2022-03-16 Thread Josh Grosse
On Wed, Mar 16, 2022 at 11:31:34PM +, Stuart Henderson wrote:
> > diff --git 
> > a/devel/codeblocks/patches/patch-src_plugins_contrib_dragscroll_dragscrollcfg_h
> >  
> > b/devel/codeblocks/patches/patch-src_plugins_contrib_dragscroll_dragscrollcfg_h
> > index ccf08ff3315..c9aaaee7fc3 100644
> > --- 
> > a/devel/codeblocks/patches/patch-src_plugins_contrib_dragscroll_dragscrollcfg_h
> > +++ 
> > b/devel/codeblocks/patches/patch-src_plugins_contrib_dragscroll_dragscrollcfg_h
> > @@ -8,7 +8,7 @@ Index: src/plugins/contrib/dragscroll/dragscrollcfg.h
> >   void OnApply();
> >   void OnCancel(){}
> >  +#if defined(LOGGING)
> > - virtual void InitDialog(){ asm("int3");} /*trap*/
> > + virtual void InitDialog() { } /*trap*/
> >  +#endif
> 
> With the upstream change getting rid of the asm int3 call,
> I think it probably doesn't make sense to patch for the
> reason described in the comment any more

Thank you for catching this, and ...
> 
> > --- a/devel/codeblocks/patches/patch-src_sdk_scripting_squirrel_sqvm_cpp
> > +++ b/devel/codeblocks/patches/patch-src_sdk_scripting_squirrel_sqvm_cpp
> > @@ -2,12 +2,12 @@ Index: src/sdk/scripting/squirrel/sqvm.cpp
> >  --- src/sdk/scripting/squirrel/sqvm.cpp.orig
> >  +++ src/sdk/scripting/squirrel/sqvm.cpp
> >  @@ -1,8 +1,8 @@
> > - /*
> > -   see copyright notice in squirrel.h
> > - */
> > --#include "sqpcheader.h"
> > - #include 
> > -+#include "sqpcheader.h"
> > - #include 
> > - #include "sqopcodes.h"
> > - #include "sqfuncproto.h"
> > + /*
> > + see copyright notice in squirrel.h
> > + */
> > +-#include "sqpcheader.h"
> > + #include 
> > ++#include "sqpcheader.h"
> > + #include 
> > + #include "sqopcodes.h"
> > + #include "sqvm.h"
> 
> This patch doesn't apply (the patch against the ports tree
> applies, but the resulting patch doesn't apply to the upstream
> code) - codeblocks builds without this patch, should it just be
> rm'd instead? 
 
Yes, thanks!  I'll rebuild here and send an updated diff
after I've tested.  It takes a few hours on this laptop. :)



UPDATE prosody 0.12.0 from MAINTAINER

2022-03-16 Thread Lucas
Hello ports,

Here's a big release for Prosody! \o/ All the details can be found in
their post in https://blog.prosody.im/prosody-0.12.0-released/ as it
includes 3 years of development. Mayor things include incorporating
lots of stuff that was previously community modules.

Ports-wise,

- changed Lua to 5.3
- replaced libidn with icu4c
- added an optional dependency on luastruct
- adjusted WANTLIB and patches
- regenerated PLIST
- added an optional but recommend dependency on a new port which
  provides Lua bindings for libunbound, net/luaunbound, developed by
  one of the Prosody devs

This last new dep is attached as a tarball in this email (lemme know if
I should start a new thread instead). I created the tarball relative to
`/usr/ports`, as I didn't find much information on where should I do it,
and I ported it because it's really small and simple, seemingly a good
candidate to learn how to create a new port.

It's currently running on my -current instance without any issue, and
I'd love to see it in 7.1, as I think it would ease maintainance:
0.11.x will still be supported but not actively developed, and in that
case I don't know if I would need split ports for the different versions
or whatever.

-Lucas

diff 767a732b4c22a245147b9c5ec5e90f4693671a7a 
d5b867bb0889327a1e3402a0c453bc75debe4857
blob - 111da98c2182b99f76398aaf581238cb9dcda46e
blob + 9be7d13017888df31f263ba5a63ad4a459bbf3c0
--- net/prosody/Makefile
+++ net/prosody/Makefile
@@ -1,5 +1,5 @@
 COMMENT =  communications server for Jabber/XMPP written in Lua
-DISTNAME = prosody-0.11.13
+DISTNAME = prosody-0.12.0
 CATEGORIES =   net
 HOMEPAGE = https://prosody.im/
 
@@ -11,20 +11,22 @@ MASTER_SITES =  https://prosody.im/downloads/source/
 PERMIT_PACKAGE =   Yes
 
 MODULES =  lang/lua
-MODLUA_VERSION =   5.2
+MODLUA_VERSION =   5.3
 
-MODLUA_RUN_DEPENDS +=  databases/luadbi \
-   devel/lua-bitop \
+MODLUA_RUN_DEPENDS +=  converters/luastruct \
+   databases/luadbi \
devel/luafs \
+   devel/luarocks \
+   net/luaunbound \
security/luasec \
textproc/luaexpat
-LIB_DEPENDS =  devel/libidn
+LIB_DEPENDS =  textproc/icu4c
 
 # fails, depends on busted not yet in
 NO_TEST =  Yes
 TEST_DEPENDS = ${MODLUA_RUN_DEPENDS}
 
-WANTLIB += crypto idn
+WANTLIB += crypto icudata icui18n icuuc
 
 CONFIGURE_STYLE =  simple
 CONFIGURE_ARGS +=  --prefix="${PREFIX}" \
@@ -34,6 +36,7 @@ CONFIGURE_ARGS += --prefix="${PREFIX}" \
--with-lua-include="${MODLUA_INCL_DIR}" \
--lua-version="${MODLUA_VERSION}" \
--no-example-certs \
+   --idn-library=icu \
--c-compiler="${CC}" \
--linker="${CC}" \
--ldflags="-L/usr/lib -L${LOCALBASE}/lib -shared" \
blob - 1259a78118331eeda8b325c7586b7b975b0eab4a
blob + 4c568d96106682731568f8292407e98b43194031
--- net/prosody/distinfo
+++ net/prosody/distinfo
@@ -1,2 +1,2 @@
-SHA256 (prosody-0.11.13.tar.gz) = OcYbNGoJtRJbYEy5aeFCBsu8uGyBFW/8a6LWJSfPBDI=
-SIZE (prosody-0.11.13.tar.gz) = 439816
+SHA256 (prosody-0.12.0.tar.gz) = dS/zIBXaxWX8NBfCGWryaJccNY7gZuUfXZEkE1gNiJo=
+SIZE (prosody-0.12.0.tar.gz) = 610330
blob - 77b129d26593e3f817c3ed091d1971315a39b745
blob + 9a2584e6469c8ace4698242ce55c89ff7f641b94
--- net/prosody/patches/patch-core_certmanager_lua
+++ net/prosody/patches/patch-core_certmanager_lua
@@ -1,7 +1,7 @@
 Index: core/certmanager.lua
 --- core/certmanager.lua.orig
 +++ core/certmanager.lua
-@@ -110,7 +110,7 @@ end
+@@ -202,7 +202,7 @@ end
  
  -- Built-in defaults
  local core_defaults = {
@@ -9,4 +9,4 @@ Index: core/certmanager.lua
 +  cafile = "/etc/ssl/cert.pem";
depth = 9;
protocol = "tlsv1+";
-   verify = (ssl_x509 and { "peer", "client_once", }) or "none";
+   verify = "none";
blob - c71921bfdeffd77276b9058509080de47c86db43
blob + 2b8227c237db7c1ebd5d295793948c03623af83a
--- net/prosody/patches/patch-prosody_cfg_lua_dist
+++ net/prosody/patches/patch-prosody_cfg_lua_dist
@@ -12,10 +12,10 @@ Index: prosody.cfg.lua.dist
 +-- Enable POSIX-only options
 +pidfile = "/var/prosody/prosody.pid"
 +
- -- Enable use of libevent for better performance under high load
- -- For more information see: https://prosody.im/doc/libevent
- --use_libevent = true
-@@ -164,8 +171,8 @@ archive_expires_after = "1w" -- Remove archived messag
+ -- This option allows you to specify additional locations where Prosody
+ -- will search first for modules. For additional modules you can install, see
+ -- the community module repository at https://modules.prosody.im/
+@@ -183,8 +190,8 @@ archive_expires_after = "1w" -- Remove archived messag
  -- Logging configuration
  -- For advanced logging see https://prosody.im/doc/logging
  log = {

Re: UPDATE prosody 0.12.0 from MAINTAINER

2022-03-16 Thread Lucas
Lucas  wrote:
> It's currently running on my -current instance without any issue

Of course, as soon as I sent this email I remembered I forgot to check
if the new plugin manager with LuaRocks works. It does, but not out of
the box: it's invoked as `luarocks`, while it should be `luarocks-5.3`
in this case. I could patch it to literal `luarocks-5.3`, but I think
it would be more correct to patch it to something that doesn't force me
to keep both in sync, something like `luarocks-${MODLUA_VERSION}` and
then replace. Is that the correct approach? Patching like that and then
adding a `post-patch:` target using ${SUBST_CMD}?



Re: update devel/codeblocks to 20.03 patch level 12751

2022-03-16 Thread Stuart Henderson
On 2022/03/16 19:39, Josh Grosse wrote:
> Yes, thanks!  I'll rebuild here and send an updated diff
> after I've tested.  It takes a few hours on this laptop. :)

It took a while here too :)

If you find yourself rebuilding ports a few times while you work
on an update, you might save some time with ccache:

pkg_add ccache
echo 'USE_CCACHE=Yes' >> /etc/mk.conf



Re: UPDATE prosody 0.12.0 from MAINTAINER

2022-03-16 Thread Stuart Henderson
On 2022/03/16 23:53, Lucas wrote:
> - added an optional but recommend dependency on a new port which
>   provides Lua bindings for libunbound, net/luaunbound, developed by
>   one of the Prosody devs

luaunbound needs NO_TEST, otherwise it's OK with me to import

> This last new dep is attached as a tarball in this email (lemme know if
> I should start a new thread instead). I created the tarball relative to
> `/usr/ports`, as I didn't find much information on where should I do it,
> and I ported it because it's really small and simple, seemingly a good
> candidate to learn how to create a new port.

either /usr/ports or /usr/ports/$category. if you're sending several
small ports in one go which are all related (e.g. a couple of new
deps for an port you're updating, or a new port which needs a couple
of other small ports) then it's easier for the reviewer to put them
in a single tar. (if it's more than a couple then it's often better
to send them in manageable chunks with a quick overview of how things
will fit together at the start).

> It's currently running on my -current instance without any issue, and
> I'd love to see it in 7.1, as I think it would ease maintainance:
> 0.11.x will still be supported but not actively developed, and in that
> case I don't know if I would need split ports for the different versions
> or whatever.

seems sensible if you're happy that 0.12.0 is solid enough.
(with some software it makes sense to wait for a point release or two
after a big update, with others it doesn't, I don't know prosody well
enough to know which applies here :)

> Of course, as soon as I sent this email I remembered I forgot to check
> if the new plugin manager with LuaRocks works. It does, but not out of
> the box: it's invoked as `luarocks`, while it should be `luarocks-5.3`
> in this case. I could patch it to literal `luarocks-5.3`, but I think
> it would be more correct to patch it to something that doesn't force me
> to keep both in sync, something like `luarocks-${MODLUA_VERSION}` and
> then replace. Is that the correct approach? Patching like that and then
> adding a `post-patch:` target using ${SUBST_CMD}?

exactly



回复: [NEW]devel/ruby-temple

2022-03-16 Thread wen heping
OK. Since ruby-haml should be removed from portstree, please skip this patch.

wen


发件人: Jeremy Evans 
发送时间: 2022年3月16日 0:10
收件人: wen heping
抄送: ports@openbsd.org
主题: Re: [NEW]devel/ruby-temple

On Tue, Mar 15, 2022 at 6:44 AM wen heping 
mailto:wenheping2...@hotmail.com>> wrote:
ping ...


发件人: owner-po...@openbsd.org 
mailto:owner-po...@openbsd.org>> 代表 wen heping 
mailto:wenheping2...@hotmail.com>>
发送时间: 2022年3月6日 11:51
收件人: ports@openbsd.org
主题: [NEW]devel/ruby-temple

Hi, ports@:

   Here is a patch to create new port devel/ruby-temple,
it is required by the update of textproc/ruby-haml.

ruby-haml is a pure ruby port with no reverse dependencies.  I don't see a 
reason it should be packaged in OpenBSD ports, unless the reason to package it 
is for the command line tools it offers, in which case the port needs some 
changes (see www/sass for an example).  We may be better off removing ruby-haml 
(current version in ports is nearing 10 years old).  You can use `gem install 
haml` for the appropriate ruby version if you would like to install the haml 
library.

Thanks,
Jeremy