CVS: cvs.openbsd.org: ports

2022-09-11 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2022/09/11 23:58:59

Added files:
geo/py-shapely/patches: patch-pyproject_toml 

Log message:
geo/py-shapely: add forgotten patch to fix build, reported by tb@



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/09/11 22:59:25

Modified files:
net/py-slixmpp : Makefile distinfo 
net/py-slixmpp/pkg: PLIST 

Log message:
Update to 1.8.2

Move to MODPY_PEP517 at the same time



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/09/11 21:30:49

Modified files:
games/py-minecraft-launcher-lib: Makefile distinfo 
games/py-minecraft-launcher-lib/patches: 
 
patch-minecraft_launcher_lib_install_py 
 
patch-minecraft_launcher_lib_runtime_py 
games/py-minecraft-launcher-lib/pkg: PLIST 

Log message:
Update to version 5.2 and move to using MODPY_PEP517



Re: [NEW] net/py-semiphemeral 0.7

2022-09-11 Thread George Rosamond

On 9/11/22 22:49, Lucas Raab wrote:

On Mon, Sep 12, 2022, at 01:53, George Rosamond wrote:

Attached is a port for py-semiphemeral.

  From pkg/DESCR:

There are plenty of tools that let you make your Twitter feed
ephemeral, automatically deleting tweets older than some threshold,
like one month.

Semiphemeral does this, but also lets you automatically exclude
tweets based on criteria: how many RTs or likes they have, and if
they're part of a thread where one of your tweets has that many RTs
or likes. It also lets you manually select tweets you'd like to
exclude from deleting.

It delete all of your old likes, even really old ones that Twitter
makes difficult to delete. And it can automatically delete your old
direct messages.

***

I do not have a Twitter account to test with, so I encourage others to
provide feedback and test.

devel/py-click is listed as a requirement in setup.py, but it's already
a dependency for www/py-flask.

Thanks.

g
Attachments:
* py-semiphemeral-0.7.tgz


The devel/py-click dep ought to be explicitly included, no?



Added devel/py-click to BUILD_DEPENDS.  Attached.

Thanks Lucas.

g

py3-semiphemeral-0.7.tgz
Description: Binary data


Re: [NEW] net/py-semiphemeral 0.7

2022-09-11 Thread Lucas Raab
On Mon, Sep 12, 2022, at 01:53, George Rosamond wrote:
> Attached is a port for py-semiphemeral.
>
>  From pkg/DESCR:
>
> There are plenty of tools that let you make your Twitter feed
> ephemeral, automatically deleting tweets older than some threshold,
> like one month.
>
> Semiphemeral does this, but also lets you automatically exclude
> tweets based on criteria: how many RTs or likes they have, and if
> they're part of a thread where one of your tweets has that many RTs
> or likes. It also lets you manually select tweets you'd like to
> exclude from deleting.
>
> It delete all of your old likes, even really old ones that Twitter
> makes difficult to delete. And it can automatically delete your old
> direct messages.
>
> ***
>
> I do not have a Twitter account to test with, so I encourage others to 
> provide feedback and test.
>
> devel/py-click is listed as a requirement in setup.py, but it's already 
> a dependency for www/py-flask.
>
> Thanks.
>
> g
> Attachments:
> * py-semiphemeral-0.7.tgz

The devel/py-click dep ought to be explicitly included, no?



Re: NEW security/py-zxcvbn

2022-09-11 Thread Lucas Raab
On Sun, Sep 11, 2022 at 12:28:00PM +0100, Stuart Henderson wrote:
> newer security/pass-import wants this, ok to import?
> 
> 
> A realistic password strength estimator.
> 
> This is a Python implementation of the library created by the team at
> Dropbox. The original library, written for JavaScript, can be found
> at https://github.com/dropbox/zxcvbn.
> 
> - Accepts user data to be added to the dictionaries that are tested
> against (name, birthdate, etc)
> 
> - Gives a score to the password, from 0 (terrible) to 4 (great)
> 
> - Provides feedback on the password and ways to improve it
> 
> - Returns time estimates on how long it would take to guess the password
> in different situations
> 

That's nifty. OK lraab@



Re: [update] sysutils/loki to 2.6.1

2022-09-11 Thread Lucas Raab
On Sun, Sep 11, 2022 at 09:59:35AM +0200, Landry Breuil wrote:
> Le Sun, Sep 11, 2022 at 12:49:25AM +, Lucas Raab a écrit :
> > Hello,
> > 
> > Here's an update for loki up to 2.6.1 as well as breaking it apart
> > into -main and -promtail subpackages. promtail is the log forwarder
> > for loki and meant to be distributed to endpoints. For now, I've
> > bundled two extra merge requests from upstream that will be included
> > in the next release: https://github.com/grafana/loki/pull/6833 and
> > https://github.com/grafana/loki/pull/7021. These are to support
> > building with Go 1.19 and on OpenBSD after the syscall changes
> > respectively. Upstream does the vendoring within the repo itself so
> > when the next version is released, the MASTER_SITES can be removed.
> > 
> > This has been working for the past couple weeks with syslog forwarding
> > to it and with a grafana instance for searching.  Any other tests
> > and/or feedback?
> 
> you need @pkgpath sysutils/loki in PLIST-main if you want sysutils/loki
> 2.4.2 to be properly upgraded to sysutils/loki,-main 2.6.1 - with that,
> ok with me.
> 
> Landry
> 

Ah, thanks for catching that! Updated diff attached. Look good?

Thanks,
Lucas
diff refs/heads/master refs/heads/loki-2.6.1
commit - 91eff722774c3d8f9a6cf432aa8953368cf7af01
commit + b194cb3df9e306eda15b9a6159e6e3dd39a89438
blob - 3fdc638ddb0d4cc670a346b1bb9458b60d84cd45
blob + 8d01cc197e2c2cb05ea81572f47be56d5b323fec
--- sysutils/loki/Makefile
+++ sysutils/loki/Makefile
@@ -1,13 +1,17 @@
-COMMENT =  like Prometheus, but for logs
+COMMENT-main = like Prometheus, but for logs
+COMMENT-promtail = tails log files and pushes them to Loki
 
 GH_ACCOUNT =   grafana
 GH_PROJECT =   loki
-GH_TAGNAME =   v2.4.2
+GH_TAGNAME =   v2.6.1
 
 CATEGORIES =   sysutils
 
 HOMEPAGE = https://grafana.com/oss/loki/
+MASTER_SITES = https://ports.lucasraab.me/
 
+MULTI_PACKAGES =   -main -promtail
+
 # AGPLv3 + some bits Apache 2.0
 PERMIT_PACKAGE =   Yes
 
blob - 81d5f3b62999e665bbcef603474a53186a4268b6
blob + f11d2f4c8a93f986fd5a796aae4ec6746680419f
--- sysutils/loki/distinfo
+++ sysutils/loki/distinfo
@@ -1,2 +1,2 @@
-SHA256 (loki-2.4.2.tar.gz) = 
725af867fa3bece6ccd46e0722eb68fe72462b15faa15c8ada609b5b2a476b07
-SIZE (loki-2.4.2.tar.gz) = 26148143
+SHA256 (loki-2.6.1.tar.gz) = q3H2KQo+NGHL+yOOdZAOGGzo77X7CVuVOIfu1Sd+4zk=
+SIZE (loki-2.6.1.tar.gz) = 29338323
blob - 3569b2dff9eda69a2878087edfc649f0b302d379
blob + 87b384453c8075ac8da3a468b4db86426e086bca
--- sysutils/loki/patches/patch-cmd_loki_loki-local-config_yaml
+++ sysutils/loki/patches/patch-cmd_loki_loki-local-config_yaml
@@ -1,6 +1,7 @@
+Index: cmd/loki/loki-local-config.yaml
 --- cmd/loki/loki-local-config.yaml.orig
 +++ cmd/loki/loki-local-config.yaml
-@@ -5,11 +5,11 @@
+@@ -5,11 +5,11 @@ server:
grpc_listen_port: 9096
  
  common:
blob - e77c7f94b619cd025d5a543ac09b15c7281abafd (mode 644)
blob + /dev/null
--- sysutils/loki/pkg/DESCR
+++ /dev/null
@@ -1,17 +0,0 @@
-Loki is a log aggregation system inspired by Prometheus. It does not index the
-contents of the logs, but rather a set of labels for each log stream.
-
-Compared to other log aggregation systems, Loki:
-- does not do full text indexing on logs
-- indexes and groups log streams using the same labels as Prometheus, allowing
-  to seamlessly switch between metrics and logs using the same labels
-- has native support in Grafana
-
-A Loki-based logging stack consists of 3 components:
-- promtail is the agent, responsible for gathering logs and sending them to 
Loki
-- loki is the main server, responsible for storing logs and processing queries
-- Grafana for querying and displaying the logs
-
-Additionally 2 other components are provided:
-- logcli to run LoqQL queries against a Loki server
-- loki-canary to audit the log capturing performance of Loki
blob - /dev/null
blob + e77c7f94b619cd025d5a543ac09b15c7281abafd (mode 644)
--- /dev/null
+++ sysutils/loki/pkg/DESCR-main
@@ -0,0 +1,17 @@
+Loki is a log aggregation system inspired by Prometheus. It does not index the
+contents of the logs, but rather a set of labels for each log stream.
+
+Compared to other log aggregation systems, Loki:
+- does not do full text indexing on logs
+- indexes and groups log streams using the same labels as Prometheus, allowing
+  to seamlessly switch between metrics and logs using the same labels
+- has native support in Grafana
+
+A Loki-based logging stack consists of 3 components:
+- promtail is the agent, responsible for gathering logs and sending them to 
Loki
+- loki is the main server, responsible for storing logs and processing queries
+- Grafana for querying and displaying the logs
+
+Additionally 2 other components are provided:
+- logcli to run LoqQL queries against a Loki server
+- loki-canary to audit the log capturing performance of Loki
blob - 1f6c724bc149f23d72c3cfe1a656ee81eba2ff9b (mode 644)
blob + /dev/null
--- sysutils/loki/pkg/PLIST
+++ /dev/null
@@ -1,40 +0,0 @@

Re: [new] www/libreddit

2022-09-11 Thread Lucas Raab
On Sun, Sep 04, 2022 at 06:52:50PM +, Lucas Raab wrote:
> On Sun, Sep 04, 2022 at 07:41:38PM +0100, Stuart Henderson wrote:
> > See the first line of crates.inc
> 
> Fixed up (and will remember for next time)
> 
> > 
> > Looks like maybe the pexp setting isn't needed?
> 
> Doesn't seem to be. I removed the line, recycled, stopped, and started
> with no issues.
> 
> > 
> > Please zap the comments on rc_bg/rc_reload
> 
> Done
> 

Other items to address or good to import?

Thanks,
Lucas


libreddit.tgz
Description: Binary data


[NEW] net/py-semiphemeral 0.7

2022-09-11 Thread George Rosamond

Attached is a port for py-semiphemeral.

From pkg/DESCR:

There are plenty of tools that let you make your Twitter feed
ephemeral, automatically deleting tweets older than some threshold,
like one month.

Semiphemeral does this, but also lets you automatically exclude
tweets based on criteria: how many RTs or likes they have, and if
they're part of a thread where one of your tweets has that many RTs
or likes. It also lets you manually select tweets you'd like to
exclude from deleting.

It delete all of your old likes, even really old ones that Twitter
makes difficult to delete. And it can automatically delete your old
direct messages.

***

I do not have a Twitter account to test with, so I encourage others to 
provide feedback and test.


devel/py-click is listed as a requirement in setup.py, but it's already 
a dependency for www/py-flask.


Thanks.

g

py-semiphemeral-0.7.tgz
Description: Binary data


[NEW] net/py-tweepy-4.10.1

2022-09-11 Thread George Rosamond
Library that's a DEPEND for net/py-semiphemeral which is arriving after 
this.


From pkg/DESCR:

Twitter library for Python.

Attached.

Thanks.

g

py-tweepy-4.10.1.tgz
Description: Binary data


CVS: cvs.openbsd.org: ports

2022-09-11 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/09/11 18:29:05

Modified files:
games/mvdsv: Makefile 

Log message:
Mark BROKEN-sparc64



CVS: cvs.openbsd.org: ports

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

Modified files:
security/libssh: Makefile 

Log message:
libssh now needs ports-gcc on base-gcc arches

Fixes build on sparc64



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/09/11 17:20:18

Modified files:
math/py-numpy  : Makefile 

Log message:
numpy uses C++ now, so COMPILER needs to be "base-clang ports-gcc"

Fixes build on sparc64



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/09/11 16:52:58

Modified files:
geo/py-owslib/pkg: PLIST 

Log message:
Fixed missed PLIST update for the switch to MODPY_PEP517



Re: update audio/flac 1.4.0

2022-09-11 Thread Nam Nguyen
Jeremie Courreges-Anglas writes:

> A major bump looks appropriate but the switch to using pandoc
> unconditionally doesn't.
>
> I suggest using lowdown(1) from textproc/lowdown to format them,
> proposal below.

Here is the diff with one sed tweak escaping underscores. Functions with
underscores like `bartlett_hann' in the "Apodization functions" section
in flac(1) were incorrectly underlined.

> I added an override in CONFIGURE_ENV so that pandoc
> isn't picked up even if the empty .1 files are removed in a subsequent
> update.
>
> If you and naddy agree, please use the diff below with my ok.

I incorrectly thought .1 files were intended to be removed. Actually,
upstream is supposed to bundle generated .1 files to avoid needing
pandoc. 1.4.0 release tarball accidentally included empty .1 files. This
could mean that the CONFIGURE_ENV bit is unnecessary, but it seems fine.

Index: Makefile
===
RCS file: /cvs/ports/audio/flac/Makefile,v
retrieving revision 1.64
diff -u -p -u -p -r1.64 Makefile
--- Makefile8 Mar 2022 14:27:48 -   1.64
+++ Makefile11 Sep 2022 21:04:35 -
@@ -1,11 +1,10 @@
 COMMENT=   free lossless audio codec
 
-DISTNAME=  flac-1.3.4
-REVISION=  0
+DISTNAME=  flac-1.4.0
 CATEGORIES=audio archivers
 HOMEPAGE=  https://www.xiph.org/flac/
-SHARED_LIBS +=  FLAC 12.0 # 11.0
-SHARED_LIBS +=  FLAC++   10.0 # 9.0
+SHARED_LIBS +=  FLAC 13.0 # 12.0
+SHARED_LIBS +=  FLAC++   11.0 # 10.0
 
 MAINTAINER=Christian Weisgerber 
 
@@ -20,6 +19,7 @@ WANTLIB=  c iconv m ogg ${COMPILER_LIBCXX
 
 COMPILER = base-clang ports-gcc base-gcc
 
+BUILD_DEPENDS= textproc/lowdown
 LIB_DEPENDS=   audio/libogg converters/libiconv
 
 .if ${MACHINE_ARCH} == "i386"
@@ -36,11 +36,24 @@ CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/
 
 # powerpc64 doesn't support VSX yet
 CONFIGURE_ARGS += --disable-vsx
+# don't pick up pandoc to rebuild man pages
+CONFIGURE_ENV =ac_cv_prog_PANDOC=""
 
 DEBUG_PACKAGES=${BUILD_PACKAGES}
 
+post-extract:
+# skip doc/ which contains logos and empty doxygen file
+   sed -i 's;doc/Doxyfile doc/Makefile doc/images/Makefile;;' \
+   ${WRKSRC}/configure
+
+post-configure:
+   sed -i 's;SUBDIRS = doc;SUBDIRS =;' ${WRKSRC}/Makefile
+
 post-install:
-   ${SUBST_CMD} ${PREFIX}/man/man1/flac.1
-   rm ${PREFIX}/man/man1/flac.1.beforesubst
+.for manpage in flac metaflac
+   sed -i 's;_;\\_;g' ${WRKSRC}/man/${manpage}.md
+   lowdown -s -tman -m section=1 -mtitle=${manpage} \
+   ${WRKSRC}/man/${manpage}.md > ${PREFIX}/man/man1/${manpage}.1
+.endfor
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/audio/flac/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo25 Feb 2022 20:45:09 -  1.14
+++ distinfo11 Sep 2022 21:04:35 -
@@ -1,2 +1,2 @@
-SHA256 (flac-1.3.4.tar.xz) = j/BgfnWjIt181uxI9PIlRxQEricw0OqUUSexNVFV5zc=
-SIZE (flac-1.3.4.tar.xz) = 1038356
+SHA256 (flac-1.4.0.tar.xz) = r0HAczyTwjfD5S9k3YfjsNmvOCWfHH0R6Mv1g8SMJQY=
+SIZE (flac-1.4.0.tar.xz) = 783372
Index: patches/patch-man_flac_1
===
RCS file: patches/patch-man_flac_1
diff -N patches/patch-man_flac_1
--- patches/patch-man_flac_18 Mar 2022 14:27:48 -   1.5
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
 man/flac.1.origTue Nov 25 04:40:14 2014
-+++ man/flac.1 Sun Nov 30 20:59:42 2014
-@@ -384,7 +384,7 @@ These flags can be used to invert the sense of the cor
- .PP
- metaflac(1)
- .PP
--The programs are documented fully by HTML format documentation, available in 
\fI/usr/share/doc/libflac-doc/html\fR on Debian GNU/Linux systems.
-+The programs are documented fully by HTML format documentation, available in 
\fI${TRUEPREFIX}/share/doc/flac/html\fR.
- .SH "AUTHOR"
- .PP
- This manual page was initially written by Matt Zimmerman  
for the Debian GNU/Linux system (but may be used by others). It has been kept 
up-to-date by the Xiph.org Foundation.
Index: patches/patch-src_libFLAC_cpu_c
===
RCS file: patches/patch-src_libFLAC_cpu_c
diff -N patches/patch-src_libFLAC_cpu_c
--- patches/patch-src_libFLAC_cpu_c 8 Mar 2022 14:27:48 -   1.5
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-No support for reading PPC hwcaps on OpenBSD.
-
-Index: src/libFLAC/cpu.c
 src/libFLAC/cpu.c.orig
-+++ src/libFLAC/cpu.c
-@@ -262,7 +262,7 @@ ppc_cpu_info (FLAC__CPUInfo *info)
-   } else if (hwcaps & PPC_FEATURE2_ARCH_2_07) {
-   info->ppc.arch_2_07 = true;
-   }
--#elif defined(__APPLE__)
-+#elif defined(__APPLE__) || defined(__OpenBSD__)
-   /* no Mac OS X version supports CPU with Power AVI v2.07 or better */
- 

Re: [update] nheko 0.10.1 (and olm/mtxclient/coeurl)

2022-09-11 Thread Alvar Penning
Excerpts from Landry Breuil's message of September 10, 2022 4:59 pm:
> here's a diff to update nheko and its deps, seems to work fine here in
> basic testing. havent tested other olm consumers but the changelog isnt
> scary:
> https://gitlab.matrix.org/matrix-org/olm/-/blob/master/CHANGELOG.rst

Thanks a lot for patching olm, which I just wanted to address myself.
The current version 3.2.6 is vulnerable to a known buffer overflow[0]
which got fixed in 3.2.8.

I have successfully tested the updated olm package against its Python
library. The other changes I have not checked.

This might be a bit nit-picky, but the comment next to the SHARED_LIBS
version should also be bumped to 3.2.12.

[0] 
https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk



plan9port works on i386 and powerpc

2022-09-11 Thread Kyle Milz
Hi,

Recently I needed plan9port for i386 and to my surprise it builds and
light testing of mk and acme work fine.

I was curious if macppc was also fixed, so I built and tested that as
well, with the same results.

Diff below re-enables these architectures.
? plan9port_i386_powerpc.diff
Index: Makefile
===
RCS file: /cvs/ports/plan9/plan9port/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- Makefile	11 Mar 2022 19:49:08 -	1.39
+++ Makefile	11 Sep 2022 20:36:23 -
@@ -1,6 +1,4 @@
 ONLY_FOR_ARCHS =	amd64 i386 powerpc
-BROKEN-i386 =		various "invalid operand for instruction", OpenBSD-386-asm.S
-BROKEN-powerpc =	threading issues
 
 COMMENT =		Plan 9 from user space
 


Re: Outdated games/multimc port

2022-09-11 Thread Kurt Mosiejczuk
On Sun, Sep 11, 2022 at 01:26:09PM +, Ibrahim Kaikaa wrote:
> Hey there, I see that games/multimc is outdated, the latest version is 0.6.14 
> while the ports have 0.6.12
> Is there anyone working on updating this port?

You'll want blockgame. multimc updated their license and dont allow others
to use the multimc name.

--Kurt



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/09/11 13:03:09

Modified files:
devel/py-algorithm-munkres: Makefile distinfo 
devel/py-algorithm-munkres/pkg: PLIST 
Removed files:
devel/py-algorithm-munkres/patches: patch-test_test_munkres_py 

Log message:
Update to 1.1.4

https://github.com/bmc/munkres/blob/master/CHANGELOG.md

Move to MODPY_PEP517 at the same time

ok sthen



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/09/11 12:29:23

Modified files:
net: Makefile 
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 
Removed files:
net/usrsctp: Makefile distinfo 
net/usrsctp/pkg: DESCR PLIST 

Log message:
Remove net/usrsctp

It was imported as a net/tdesktop dependency which no longer users it.

OK sthen



Re: Web WhatsApp and Chromium or Firefox, does not finish loading

2022-09-11 Thread Mikolaj Kucharski
On Sun, Sep 11, 2022 at 06:19:50PM +0200, Caspar Schutijser wrote:
> On Sat, Sep 10, 2022 at 08:32:27AM +, Mikolaj Kucharski wrote:
> > Hi,
> > 
> > I've noticed this problem many weeks before, but didn't report at the
> > time, as I thought it was random cookie problem, but then I started to
> > open new instances of Chroimum or Firefox, like scripts show at the very
> > end of this email. WhatsApp never finishes loading for me. Can anyone of
> > you reproduce the problem?
> 
> That has to do with WebAssembly. See
> https://marc.info/?l=openbsd-misc=165209716832707=2 for an earlier
> thread about similar issues.
> 
> Caspar
> 

Thanks! Exporting ENABLE_WASM=1 per above thread made Web WhatsApp work
on dedicated Chromium instance.

-- 
Regards,
 Mikolaj



Re: Outdated games/multimc port

2022-09-11 Thread John Verne
On Sun, 11 Sept 2022 at 10:03, Ibrahim Kaikaa
 wrote:
>
> Hey there, I see that games/multimc is outdated, the latest version is 0.6.14 
> while the ports have 0.6.12
> Is there anyone working on updating this port?

make search key=multimc

outputs this for the maintainer:

Maint:Muhammad Kaisar Arkhan 

You could try CCing this to that person.



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2022/09/11 11:59:48

Modified files:
security/libdigidocpp: Makefile 
Added files:
security/libdigidocpp/patches: patch-src_crypto_TS_cpp 
   patch-src_crypto_X509Crypto_cpp 

Log message:
security/libdigidocpp: update for opaque TS structs.



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2022/09/11 11:58:00

Modified files:
net/zabbix : Makefile 
Added files:
net/zabbix/patches: patch-src_libs_zbxcomms_tls_c 

Log message:
net/zabbix: Cope with OPENSSL_cleanup() addition



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2022/09/11 11:56:43

Modified files:
lang/pypy  : Makefile 
Added files:
lang/pypy/patches: 
   patch-lib_pypy__cffi_ssl__cffi_src_openssl_crypto_py 

Log message:
lang/pypy: Cope with OPENSSL_cleanup() addition



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2022/09/11 11:54:52

Modified files:
security/py-cryptography: Makefile 
Added files:
security/py-cryptography/patches: 
  patch-src__cffi_src_openssl_crypto_py 

Log message:
security/py-cryptography: Cope with OPENSSL_cleanup() addition



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2022/09/11 11:53:15

Modified files:
textproc/zathura/plugins/mupdf: Makefile 

Log message:
zathura/plugins/mupdf: bump after mupdf bump



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2022/09/11 11:51:27

Modified files:
textproc/mupdf : Makefile 
textproc/mupdf/patches: 
patch-source_helpers_pkcs7_pkcs7-openssl_c 

Log message:
textproc/mupdf: avoid redefinition of newly added LibreSSL API

ok sthen



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/09/11 11:40:53

Modified files:
sysutils/augeas: Makefile 
sysutils/ruby-augeas: Makefile 
sysutils/ruby-puppet/6: Makefile 
sysutils/tmate : Makefile 
www/tuir   : Makefile 

Log message:
Drop myself as maintainer



Re: [patch] install gitea web files into /var/www/gitea

2022-09-11 Thread Pavel Korovin
On 09/11, aisha wrote:
> 
> On 9/11/2022 9:47 AM, Pavel Korovin wrote:
> > I tried to play with PREFIX="/", but it didn't work this way, on make
> > update-plist it complains "Can't put into any plist (no applicable
> > prefix)". Tried with PREFIX="" and it works fine.
> > 
> > I'd vote for single package approach recommended by Stuart, please find
> > the diff attached (updated for v1.17.2 btw).
> 
> Thanks a lot!
> 
> Works for me :)

Since this PREFIX="" looks weird, though works fine, I'm looking for OKs
to update the port.

-- 
With best regards,
Pavel Korovin



Re: Web WhatsApp and Chromium or Firefox, does not finish loading

2022-09-11 Thread Caspar Schutijser
On Sat, Sep 10, 2022 at 08:32:27AM +, Mikolaj Kucharski wrote:
> Hi,
> 
> I've noticed this problem many weeks before, but didn't report at the
> time, as I thought it was random cookie problem, but then I started to
> open new instances of Chroimum or Firefox, like scripts show at the very
> end of this email. WhatsApp never finishes loading for me. Can anyone of
> you reproduce the problem?

That has to do with WebAssembly. See
https://marc.info/?l=openbsd-misc=165209716832707=2 for an earlier
thread about similar issues.

Caspar

> 
> 
> Chromium
> 
> --->8---
> #!/bin/sh
> 
> umask 077
> 
> temp=`mktemp -d "${TMPDIR:=/tmp}/chrome."` || exit 1
> trap 'rm -rfP -- "$temp"' EXIT
> trap 'exit 1' HUP INT QUIT TRAP PIPE TERM INFO USR1 USR2
> 
> if cd "$temp"
> then
> chrome \
> --user-data-dir="$temp/${0##*/}" \
> --incognito "$@"
> exit $?
> fi
> ---8<---
> 
> 
> Firefox
> 
> --->8---
> #!/bin/sh
> 
> umask 077
> 
> temp=`mktemp -d "${TMPDIR:=/tmp}/firefox."` || exit 1
> trap 'rm -rfP -- "$temp"' EXIT
> trap 'exit 1' HUP INT QUIT TRAP PIPE TERM INFO USR1 USR2
> 
> if cd "$temp"
> then
> if ! mkdir -m 0700 "$temp/${0##*/}"
> then
> exit 5
> fi
> /usr/local/bin/firefox \
> --new-instance --private-window \
> --profile "$temp/${0##*/}" "$@"
> exit $?
> fi
> ---8<---
> 
> -- 
> Regards,
>  Mikolaj
> 



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2022/09/11 09:42:13

Modified files:
net/tailscale  : Makefile distinfo modules.inc 
net/tailscale/pkg: PLIST 

Log message:
Update tailscale to 1.30.1



Re: [patch] install gitea web files into /var/www/gitea

2022-09-11 Thread Stuart Henderson
On 2022/09/11 09:03, aisha wrote:
>   @find ${WRKINST} -type f \
> diff --git a/www/gitea/pkg/DESCR b/www/gitea/pkg/DESCR-main
> similarity index 100%
> rename from www/gitea/pkg/DESCR
> rename to www/gitea/pkg/DESCR-main

oh those are a pain to apply, would be better to do a cvs diff with
the 'cvs add' / 'cvs rm' and cvs diff -puN



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/09/11 06:53:08

Modified files:
biology/py-biopython: Makefile 

Log message:
missed bump



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/09/11 06:50:34

Modified files:
textproc/xxdiff: Makefile 

Log message:
xxdiff: make sure setuptools is present at build time, otherwise
the plist changes



NEW security/py-zxcvbn

2022-09-11 Thread Stuart Henderson
newer security/pass-import wants this, ok to import?


A realistic password strength estimator.

This is a Python implementation of the library created by the team at
Dropbox. The original library, written for JavaScript, can be found
at https://github.com/dropbox/zxcvbn.

- Accepts user data to be added to the dictionaries that are tested
against (name, birthdate, etc)

- Gives a score to the password, from 0 (terrible) to 4 (great)

- Provides feedback on the password and ways to improve it

- Returns time estimates on how long it would take to guess the password
in different situations



py-zxcvbn.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2022-09-11 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/09/11 04:49:27

Modified files:
devel/py-hatch-fancy-pypi-readme: Makefile distinfo 
devel/py-hatch-fancy-pypi-readme/pkg: PLIST 

Log message:
update to py3-hatch_fancy_pypi_readme-22.6.0



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2022/09/11 04:33:30

Modified files:
geo/py-osmium  : Makefile distinfo 
geo/py-osmium/pkg: PLIST 
Added files:
geo/py-osmium/patches: patch-test_test_nodelist_py 

Log message:
geo/py-osmium: update to 3.4.1, switch to MODPY_PEP517=setuptools



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2022/09/11 04:31:12

Modified files:
geo/osm2pgsql  : Makefile distinfo 
geo/osm2pgsql/patches: patch-CMakeLists_txt 
   patch-docs_CMakeLists_txt 
   patch-src_options_cpp 
   patch-src_options_hpp 
geo/osm2pgsql/pkg: PLIST 
Removed files:
geo/osm2pgsql/patches: patch-src_output-flex_cpp 

Log message:
geo/osm2pgsql: update to 1.7.0



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2022/09/11 04:20:49

Modified files:
geo/py-shapely : Makefile distinfo 
geo/py-shapely/pkg: PLIST 

Log message:
geo/py-shapely: update to 1.8.4, switch to MODPY_PEP517=setuptools



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2022/09/11 03:56:26

Modified files:
geo/py-owslib  : Makefile distinfo 
geo/py-owslib/pkg: PLIST 
Removed files:
geo/py-owslib/patches: patch-requirements_txt 

Log message:
geo/py-owslib: update to 0.27.2, switch to MODPY_PEP517=setuptools



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/09/11 03:10:33

Modified files:
converters/py-num2words/pkg: PLIST 

Log message:
missed PLIST regen



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/09/11 03:04:30

Modified files:
x11/gnome/yelp : Makefile 

Log message:
Move to webkitgtk41 (the default).



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/09/11 02:52:36

Modified files:
x11/gnome/sushi: Makefile 

Log message:
Move to webkitgtk41 (the default).



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Pavel Korovin
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2022/09/11 02:49:10

Modified files:
sysutils/ansible: Makefile distinfo 
sysutils/ansible/pkg: PLIST 

Log message:
Update ansible 6.2.0 -> 6.3.0
Changelog: 
https://github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst#v6-3-0



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/09/11 02:41:08

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

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



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2022/09/11 02:40:41

Modified files:
infrastructure/bin: build-debug-info update-plist 
infrastructure/lib/OpenBSD: BasePlistReader.pm 
UpdatePlistReader.pm 

Log message:
refactor by adding an extra "factory" class in order not to overload
things horribly. No actual functional change



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2022/09/11 02:28:21

Modified files:
infrastructure/bin: update-plist 

Log message:
get rid of XXX here as well



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2022/09/11 02:27:21

Modified files:
infrastructure/lib/OpenBSD: BasePlistReader.pm 

Log message:
do something slightly horrible to match base through plistreader subclasses



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2022/09/11 02:07:27

Modified files:
geo/postgis: Makefile distinfo 
geo/postgis/patches: patch-liblwgeom_Makefile_in 
geo/postgis/pkg: PLIST 
Removed files:
geo/postgis/patches: patch-configure 

Log message:
geo/postgis: update to 3.3.1.

see https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.3.1/NEWS
drop patches/patch-configure, merged upstream since a while in 3.1 branch



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2022/09/11 02:03:08

Modified files:
infrastructure/bin: build-debug-info 

Log message:
remove XXX: even though they're all the same, build-debug-info
processes base separately for each subpackage



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2022/09/11 02:00:37

Modified files:
infrastructure/bin: build-debug-info 

Log message:
replace horrible shortcuts with half-decent code (specifically: no longer
hardcode destdir in the first cwd, but instead add it systematically where
required)

fixes stsp@ issue with got
thx aja@ for a bulk check "just in case"



Re: [update] sysutils/loki to 2.6.1

2022-09-11 Thread Landry Breuil
Le Sun, Sep 11, 2022 at 12:49:25AM +, Lucas Raab a écrit :
> Hello,
> 
> Here's an update for loki up to 2.6.1 as well as breaking it apart
> into -main and -promtail subpackages. promtail is the log forwarder
> for loki and meant to be distributed to endpoints. For now, I've
> bundled two extra merge requests from upstream that will be included
> in the next release: https://github.com/grafana/loki/pull/6833 and
> https://github.com/grafana/loki/pull/7021. These are to support
> building with Go 1.19 and on OpenBSD after the syscall changes
> respectively. Upstream does the vendoring within the repo itself so
> when the next version is released, the MASTER_SITES can be removed.
> 
> This has been working for the past couple weeks with syslog forwarding
> to it and with a grafana instance for searching.  Any other tests
> and/or feedback?

you need @pkgpath sysutils/loki in PLIST-main if you want sysutils/loki
2.4.2 to be properly upgraded to sysutils/loki,-main 2.6.1 - with that,
ok with me.

Landry



CVS: cvs.openbsd.org: ports

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

Modified files:
inputmethods/ibus-typing-booster: Makefile distinfo 
inputmethods/ibus-typing-booster/pkg: PLIST 

Log message:
Update to ibus-typing-booster-2.19.0.



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/09/11 01:39:56

Modified files:
inputmethods/ibus: Makefile distinfo 
inputmethods/ibus/patches: patch-client_gtk2_ibusimcontext_c 
Added files:
inputmethods/ibus/patches: patch-tools_Makefile_am 
Removed files:
inputmethods/ibus/patches: patch-src_ibusinputcontext_c 
   patch-src_ibusproperty_c 

Log message:
Update to ibus-1.5.27.



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2022/09/11 01:27:29

Modified files:
x11/xcape  : Makefile 
Added files:
x11/xcape/patches: patch-xcape_c 

Log message:
pledge x11/xcape

add a simple patch to pledge("stdio") xcape.  Tested also by Thim
Cederlund, thanks!



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2022/09/11 01:25:10

Modified files:
plan9/u9fs : Makefile distinfo 
plan9/u9fs/pkg : PLIST 
Added files:
plan9/u9fs/patches: patch-u9fs_man 
Removed files:
plan9/u9fs/patches: patch-makefile patch-oldfcall_c 
patch-safecpy_c 

Log message:
update plan9/u9fs to 20210125

This switches plan9/u9fs to another upstream which has seen some small
development over the time, following what other package repositories
already did: https://bitbucket.org/plan9-from-bell-labs/u9fs

port-wise:

- tweak the COMMENT
- drop unneeded patches
- install u9fs in sbin/ rather than bin/
- install the manpage (and tweak it so it's useful in here.)

maintainer timeout, ok sthen@



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/09/11 01:10:35

Modified files:
www/py-cookies : Makefile 
www/py-cookies/pkg: PLIST 
www/py-query   : Makefile 
www/py-query/pkg: PLIST 

Log message:
Shift a couple of my ports to using MODPY_PEP517



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/09/11 00:42:29

Modified files:
textproc/py-humanize: Makefile distinfo 
textproc/py-humanize/pkg: PLIST 

Log message:
Update to py-humanize 4.3.0

Shift to using MODPY_PEP517

Similar diff sent by George Rosamond



Re: [patch] install gitea web files into /var/www/gitea

2022-09-11 Thread Stuart Henderson
On 2022/09/11 00:29, aisha wrote:
> Hi,
>   I've attached a patch which splits www/gitea into -main and -web packages.
> 
> The -web package contains static files, images/css/js, which can be served by 
> nginx without proxying.

You need an @pkgpath marker in PLIST-main so that updates work. Test by
placing just the two new packages in a directory, installing the old package,
PKG_PATH=/path/to/wherever doas pkh_add -u -Dunsigned

I wonder if it might be better to set PREFIX=/ and put everything in a
single package though... That is a bit non-stamdard but saves a lot of
messing around. What does anyone else think?



CVS: cvs.openbsd.org: ports

2022-09-11 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/09/11 00:26:54

Modified files:
textproc/py-emoji: Makefile distinfo 
textproc/py-emoji/pkg: PLIST 

Log message:
Update to py-emoji 2.0.0 and shift to using MODPY_PEP517

Similar diff sent to me by George Rosamond