CVS: cvs.openbsd.org: ports

2022-10-07 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2022/10/07 23:59:51

Modified files:
x11/i3-gaps: Makefile distinfo 
x11/i3-gaps/patches: patch-i3-dmenu-desktop patch-meson_build 
 patch-src_config_parser_c 

Log message:
Update i3-gaps to 4.21



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2022/10/07 23:58:17

Modified files:
productivity/homebank: Makefile distinfo 
productivity/homebank/pkg: PLIST 

Log message:
Update homebank to 5.5.7



Re: valgrind: mark broken

2022-10-07 Thread Masato Asou
From: Stefan Sperling 
Date: Fri, 7 Oct 2022 10:27:47 +0200

> On Fri, Oct 07, 2022 at 02:37:15PM +0900, Masato Asou wrote:
>> Hi tb and ports,
>> 
>> I have adapted the system call number definition to the new syscall.h
>> 
>> comments, ok?
> 
> Thank you!
> 
> I have tried running devel/got in valgrind and it fails because
> the __realpath syscall is missing. Could this be fixed?
> 
> --59025-- WARNING: unhandled syscall: 115
> --59025-- You may be able to write your own handler.
> --59025-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
> 
> In sys/kern/syscalls.master:
> 
> 115 STD { int sys___realpath(const char *pathname, \
> char *resolved); }
> 

Thank for your bug report.

I have reproduced problem using the realpath command.  I am
investigating.
--
ASOU Masato



aarch64 bulk build report

2022-10-07 Thread phessler
bulk build on arm64.ports.openbsd.org
started on  Wed Oct 5 08:23:48 MDT 2022
finished at Fri Oct 7 21:26:56 MDT 2022
lasted 2D13h03m
done with kern.version=OpenBSD 7.2-current (GENERIC.MP) #1846: Wed Oct  5 
03:17:16 MDT 2022

built packages:11347
Oct 5:3307
Oct 6:2391
Oct 7:5648


critical path missing pkgs:  
http://build-failures.rhaalovely.net/aarch64/2022-10-05/summary.log

build failures: 2
http://build-failures.rhaalovely.net/aarch64/2022-10-05/security/step-cli.log
http://build-failures.rhaalovely.net/aarch64/2022-10-05/x11/kde-plasma/breeze-gtk.log

recurrent failures
 failures/security/step-cli.log
new failures
+++ ls-failures Fri Oct  7 21:27:07 2022
+failures/x11/kde-plasma/breeze-gtk.log
resolved failures
--- ../old/aarch64/last//ls-failuresFri Sep 30 16:34:39 2022



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Jan Klemkow
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2022/10/07 17:50:04

Modified files:
textproc/libgrapheme: Makefile distinfo 
textproc/libgrapheme/pkg: DESCR PLIST 
Added files:
textproc/libgrapheme/patches: patch-Makefile 

Log message:
update textproc/libgrapheme to version 2.0.0

ok op@



UPDATE: iperf3 3.12

2022-10-07 Thread Brad Smith
Here is an update to iperf3.


https://raw.githubusercontent.com/esnet/iperf/master/RELNOTES.md


Index: Makefile
===
RCS file: /home/cvs/ports/net/iperf3/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile11 Mar 2022 19:46:08 -  1.9
+++ Makefile7 Oct 2022 21:39:50 -
@@ -1,6 +1,6 @@
 COMMENT=   tool to measure maximum achievable bandwidth on IP networks
 
-V= 3.10.1
+V= 3.12
 PKGNAME=   iperf3-${V}
 DISTNAME=  iperf-${V}
 
@@ -19,7 +19,9 @@ WANTLIB += c m
 
 MASTER_SITES=  https://downloads.es.net/pub/iperf/
 
-CONFIGURE_STYLE= gnu
+AUTOCONF_VERSION=  2.71
+
+CONFIGURE_STYLE= autoconf
 CONFIGURE_ARGS= --with-openssl=no
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/net/iperf3/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo13 Jul 2021 02:02:09 -  1.6
+++ distinfo3 Oct 2022 05:54:03 -
@@ -1,2 +1,2 @@
-SHA256 (iperf-3.10.1.tar.gz) = A7yXYMxUokUZHUa/yO2vikdQ8Oh6vKZ2RIaXIETWcVo=
-SIZE (iperf-3.10.1.tar.gz) = 633304
+SHA256 (iperf-3.12.tar.gz) = cgNOz7an1tZ+OE4Z+27/8yNspPftTFGNfbZJxEfh/9Y=
+SIZE (iperf-3.12.tar.gz) = 644807
Index: patches/patch-configure_ac
===
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-configure_ac  7 Oct 2022 21:37:49 -
@@ -0,0 +1,13 @@
+Add support for OpenBSD systems which have TCP_INFO implemented.
+
+Index: configure.ac
+--- configure.ac.orig
 configure.ac
+@@ -305,6 +305,7 @@ AC_CHECK_MEMBER([struct tcp_info.tcpi_snd_wnd],
+ [#ifdef HAVE_LINUX_TCP_H
+ #include 
+ #else
++#include 
+ #include 
+ #endif
+ ])
Index: patches/patch-src_iperf_api_c
===
RCS file: /home/cvs/ports/net/iperf3/patches/patch-src_iperf_api_c,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-src_iperf_api_c
--- patches/patch-src_iperf_api_c   11 Mar 2022 19:46:08 -  1.5
+++ patches/patch-src_iperf_api_c   3 Oct 2022 05:54:34 -
@@ -3,7 +3,7 @@ Default to IPv4.
 Index: src/iperf_api.c
 --- src/iperf_api.c.orig
 +++ src/iperf_api.c
-@@ -2314,7 +2314,7 @@ iperf_defaults(struct iperf_test *testp)
+@@ -2787,7 +2787,7 @@ iperf_defaults(struct iperf_test *testp)
  testp->stats_interval = testp->reporter_interval = 1;
  testp->num_streams = 1;
  
Index: patches/patch-src_iperf_h
===
RCS file: patches/patch-src_iperf_h
diff -N patches/patch-src_iperf_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_iperf_h   7 Oct 2022 21:38:07 -
@@ -0,0 +1,17 @@
+Add support for OpenBSD systems which have TCP_INFO implemented.
+
+Index: src/iperf.h
+--- src/iperf.h.orig
 src/iperf.h
+@@ -94,9 +94,9 @@ struct iperf_interval_results
+ int   cnt_error;
+ 
+ int omitted;
+-#if (defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__)) && \
++#if (defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) || 
defined(__OpenBSD__)) && \
+   defined(TCP_INFO)
+-struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux, {Free,Net}BSD 
*/
++struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux, 
{Free,Net,Open}BSD */
+ #else
+ /* Just placeholders, never accessed. */
+ char *tcpInfo;
Index: patches/patch-src_iperf_locale_c
===
RCS file: patches/patch-src_iperf_locale_c
diff -N patches/patch-src_iperf_locale_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_iperf_locale_c7 Oct 2022 21:38:18 -
@@ -0,0 +1,18 @@
+Add support for OpenBSD systems which have TCP_INFO implemented.
+
+Index: src/iperf_locale.c
+--- src/iperf_locale.c.orig
 src/iperf_locale.c
+@@ -450,11 +450,7 @@ const char report_receiver_not_available_summary_forma
+ const char report_tcpInfo[] =
+ "event=TCP_Info CWND=%u SND_SSTHRESH=%u RCV_SSTHRESH=%u UNACKED=%u SACK=%u 
LOST=%u RETRANS=%u FACK=%u RTT=%u REORDERING=%u\n";
+ #endif
+-#if defined(__FreeBSD__)
+-const char report_tcpInfo[] =
+-"event=TCP_Info CWND=%u RCV_WIND=%u SND_SSTHRESH=%u RTT=%u\n";
+-#endif
+-#if defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+ const char report_tcpInfo[] =
+ "event=TCP_Info CWND=%u RCV_WIND=%u SND_SSTHRESH=%u RTT=%u\n";
+ #endif
Index: patches/patch-src_tcp_info_c
===
RCS file: patches/patch-src_tcp_info_c
diff -N patches/patch-src_tcp_info_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_tcp_info_c7 Oct 2022 21:38:44 -
@@ -0,0 +1,90 @@
+Add support for OpenBSD systems which have TCP_INFO implemented.
+

CVS: cvs.openbsd.org: ports

2022-10-07 Thread Marcus Glocker
CVSROOT:/cvs
Module name:ports
Changes by: mgloc...@cvs.openbsd.org2022/10/07 15:15:44

Modified files:
www/nostromo   : Makefile distinfo 

Log message:
Update to nostromo 2.0.



[NEW] security/py-pkce-1.0.3

2022-10-07 Thread Martin Reindl
Hello,

Attached is a port for py-pkce (Proof Key for Code Exchange), simple
Python module to generate PKCE code verifier and code challenge.

OK?

-m

py-pkce.tgz
Description: GNU Zip compressed data


CVS: cvs.openbsd.org: ports

2022-10-07 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2022/10/07 13:43:50

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

Log message:
Update to openssl-ruby-tests 20221007



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Martin Reindl
CVSROOT:/cvs
Module name:ports
Changes by: mar...@cvs.openbsd.org  2022/10/07 13:18:22

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

Log message:
Update py-tinytuya to 1.7.0.



Re: update: net/swirc 3.3.5 -> 3.3.6

2022-10-07 Thread Frederic Cambus
On Wed, Oct 05, 2022 at 08:14:12PM +, Markus Uhlin wrote:
> Hi ports@,
> 
> Here comes an update for net/swirc.

Committed, thanks!

I took care of removing the forgotten REVISION directive.



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2022/10/07 13:06:18

Modified files:
net/swirc  : Makefile distinfo 

Log message:
Update swirc to 3.3.6.

>From maintainer Markus Uhlin, thanks!



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2022/10/07 12:23:27

Modified files:
net/libmaxminddb: Makefile distinfo 

Log message:
Update libmaxminddb to 1.7.1.



[new] stalwart-jmap & stalwart-imap: JMAP server written in rust

2022-10-07 Thread Landry Breuil
hi,

here's two new wip ports for https://jmap.stalw.art/ and its counterpart
https://imap.stalw.art/ which serves as an IMAP proxy in front of the
JMAP server.

cf https://jmap.io/software.html for more details about JMAP.

i've had quite a struggle with some rust bits but in the end it builds,
packages and starts fine. Not properly tested yet, as its mandatory to
setup TLS certs for it.

it cant work yet with the mail/meli submission i've sent but it's being worked
on upstream.

as for the uids ive reused the ones from prelude/pfflowd:

 561 _rbldns_rbldns net/rbldnsd
 562 _smokeping _smokeping  net/smokeping
 563 _postgrey  _postgrey   mail/postgrey
-#564 _prelude  _preludesecurity/prelude
-#565 _pfflowd  _pfflowdnet/pfflowd
+564 _stalwart-jmap _stalwart-jmap  mail/stalwart-jmap
+565 _stalwart-imap _stalwart-imap  mail/stalwart-imap
 566 _tor   _tornet/tor
 #567 _dk-milter_dk-milter  mail/dk-milter
 568 _milter-greylist   mail/milter-greylist

feedback welcome ! especially on the rust bits (the ones about the
bundled zlib are hairy)

Landry


stalwart-jmap-imap.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2022-10-07 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2022/10/07 08:43:26

ports/textproc/libgrapheme/patches

Update of /cvs/ports/textproc/libgrapheme/patches
In directory cvs.openbsd.org:/tmp/cvs-serv864/patches

Log Message:
Directory /cvs/ports/textproc/libgrapheme/patches added to the repository



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2022/10/07 08:40:47

Modified files:
www/ungoogled-chromium: Makefile distinfo 

Log message:
update to 106.0.5249.103



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2022/10/07 08:39:14

Modified files:
www/chromium   : Makefile distinfo 

Log message:
update to 106.0.5249.103



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/10/07 08:26:17

Modified files:
sysutils/nomad : Makefile distinfo 

Log message:
Update to nomad-1.4.1.



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2022/10/07 08:18:19

Modified files:
astro/kstars   : Makefile distinfo 
astro/kstars/pkg: PLIST 

Log message:
Update kstars to 3.6.1



CVS: cvs.openbsd.org: ports

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

Modified files:
cad/qcad   : Makefile distinfo 
cad/qcad/pkg   : PLIST 

Log message:
Update qcad to 3.27.8.0 BUT still broken at runtime



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/10/07 08:04:47

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

Log message:
Update to awscli-1.25.89.



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/10/07 08:04:31

Modified files:
net/py-boto3   : Makefile distinfo 

Log message:
Update to py3-boto3-1.24.88.



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/10/07 08:04:20

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

Log message:
Update to py3-botocore-1.27.88.



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/10/07 08:00:41

Modified files:
textproc/libical: Makefile distinfo 
textproc/libical/patches: patch-CMakeLists_txt 

Log message:
Update to libical-3.0.15.



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2022/10/07 07:33:42

Modified files:
www/seamonkey  : Tag: OPENBSD_7_2 Makefile 

Log message:
www/seamonkey: MFC: add missing BDEP on cbindgen



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2022/10/07 07:32:22

Modified files:
www/seamonkey  : Makefile 

Log message:
www/seamonkey: add missing BDEP on cbindgen

spotted by naddy@, thanks !



Re: [UPDATE] graphics/geeqie

2022-10-07 Thread Kirill Bychkov
On Fri, October 7, 2022 02:59, Antoine Jacoutot wrote:
> It?s pretty rare that intltool is used with meson. Most of the time you want
> gettext,-tools.
> Could you check if this is the case here.
> Thanks.

Hi,
Thanks for the hint.
Updated diff without intltool dep and gettext-,tools added as a BDEP.
Also fixed mandir path.

>
> ?
> Antoine
>
>> On 6 Oct 2022, at 18:04, Kirill Bychkov  wrote:
>>
>> ?Hi,
>> Attached patch updates geeqie to the latest 2.0.1 version.
>> Main portwise change is that upstream switched fgo autotools to meson.
>> I'm also taking maintainer.
>> OK?
>>
>> Index: Makefile
>> ===
>> RCS file: /cvs/ports/graphics/geeqie/Makefile,v
>> retrieving revision 1.34
>> diff -u -p -u -p -r1.34 Makefile
>> --- Makefile26 Jul 2022 06:24:48 -1.34
>> +++ Makefile6 Oct 2022 20:43:20 -
>> @@ -1,27 +1,28 @@
>> COMMENT=lightweight Gtk+3 based image viewer
>>
>> -V=1.7.3
>> +V=2.0.1
>> DISTNAME=geeqie-${V}
>> EXTRACT_SUFX=.tar.xz
>> CATEGORIES=graphics
>> -REVISION=0
>> EPOCH=0
>>
>> HOMEPAGE=https://www.geeqie.org/
>>
>> +MAINTAINER=Kirill Bychkov 
>> +
>> # GPLv2+
>> PERMIT_PACKAGE=Yes
>>
>> -WANTLIB += ${COMPILER_LIBCXX} atk-1.0 c cairo cairo-gobject exiv2
>> -WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gthread-2.0
>> -WANTLIB += gtk-3 harfbuzz heif intl jpeg lcms2 m openjp2 pango-1.0
>> +WANTLIB += ${COMPILER_LIBCXX} c cairo  exiv2
>> +WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
>> +WANTLIB += gtk-3 heif intl jpeg lcms2 m openjp2 pango-1.0
>> WANTLIB += pangocairo-1.0 raw tiff
>>
>> COMPILER=base-clang ports-gcc base-gcc
>>
>> MASTER_SITES=
>> https://github.com/BestImageViewer/geeqie/releases/download/v${V}/
>>
>> -MODULES=textproc/intltool
>> +MODULES=devel/meson textproc/intltool
>>
>> RUN_DEPENDS=devel/desktop-file-utils \
>>devel/xdg-utils \
>> @@ -34,40 +35,20 @@ LIB_DEPENDS=graphics/exiv2 \
>>multimedia/libheif \
>>x11/gtk+3
>>
>> -USE_GMAKE=Yes
>> -
>> -CONFIGURE_STYLE=autoreconf
>> -CONFIGURE_ENV=CPPFLAGS="-I${LOCALBASE}/include" \
>> -LDFLAGS="-L${LOCALBASE}/lib"
>> -CONFIGURE_ARGS=--disable-doxygen-doc \
>> ---disable-doxygen-html \
>> ---disable-archive \
>> ---disable-lirc \
>> ---disable-lua \
>> ---disable-ffmpegthumbnailer \
>> ---disable-gpu-accel \
>> ---disable-pdf \
>> ---disable-djvu \
>> ---disable-webp \
>> ---enable-gtk3 \
>> ---with-htmldir=${PREFIX}/share/doc/geeqie \
>> ---with-readmedir=${PREFIX}/share/doc/geeqie
>> -
>> -AUTOCONF_VERSION=2.71
>> -AUTOMAKE_VERSION=1.16
>> -AUTORECONF=./autogen.sh
>> -MAKE_ENV=MKDIR_P='mkdir -p'
>> -
>> -# XXX
>> -# lxml.ElementInclude.FatalIncludeError: cannot load
>> 'GuideMainWindowFilePane.xml' as 'xml'
>> -CONFIGURE_ENV +=ac_cv_path_GNOME_DOC_TOOL=
>> -
>> -SEPARATE_BUILD=Yes
>> +CONFIGURE_ARGS+=-Darchive=disabled \
>> +-Ddjvu=disabled \
>> +-Dgps-map=disabled \
>> +-Djpegxl=disabled \
>> +-Dlua=disabled \
>> +-Dpdf=disabled \
>> +-Dspell=disabled \
>> +-Dvideothumbnailer=disabled \
>> +-Dwebp=disabled \
>> +-Dgq_htmldir=${PREFIX}/share/doc/geeqie \
>> +-Dgq_helpdir=${PREFIX}/share/doc/geeqie
>>
>> post-extract:
>>sed -i 's,bash,sh,g' ${WRKSRC}/version.sh
>> -sed -i 's,./create-doxygen-lua-api.sh,,' ${WRKSRC}/doc/Makefile.am
>> -sed -i 's,-Werror ,,g' ${WRKSRC}/configure.ac
>>
>> post-install:
>>rm -r ${PREFIX}/share/doc/
>> Index: distinfo
>> ===
>> RCS file: /cvs/ports/graphics/geeqie/distinfo,v
>> retrieving revision 1.9
>> diff -u -p -u -p -r1.9 distinfo
>> --- distinfo25 Jul 2022 07:33:01 -1.9
>> +++ distinfo6 Oct 2022 20:43:20 -
>> @@ -1,2 +1,2 @@
>> -SHA256 (geeqie-1.7.3.tar.xz) = JbH3HPkb2alvOZ0qnnBQflS7N3pW5k2JUhwPepzl3Tg=
>> -SIZE (geeqie-1.7.3.tar.xz) = 1949696
>> +SHA256 (geeqie-2.0.1.tar.xz) = icGnV0z+OIiXLRByP0zzonckm+pJT9nGMKqNDflEVV0=
>> +SIZE (geeqie-2.0.1.tar.xz) = 100
>> Index: patches/patch-Makefile_am
>> ===
>> RCS file: patches/patch-Makefile_am
>> diff -N patches/patch-Makefile_am
>> --- patches/patch-Makefile_am11 Mar 2022 19:22:21 -1.4
>> +++ /dev/null1 Jan 1970 00:00:00 -
>> @@ -1,26 +0,0 @@
>> -Index: Makefile.am
>>  Makefile.am.orig
>> -+++ Makefile.am
>> -@@ -10,9 +10,9 @@ man_MANS = geeqie.1
>> - readmedir = @readmedir@
>> -
>> - if HAVE_MARKDOWN
>> --readme_DATA = README.md COPYING ChangeLog 

Re: [update] sysutils/fzf-0.34.0

2022-10-07 Thread Edd Barrett
Hi Laurent,

On Fri, Oct 07, 2022 at 12:55:22PM +0200, Omar Polo wrote:
> -MAINTAINER = Edd Barrett 
> +MAINTAINER = Laurent Cheylus 

Uh, yeah, don't rug-pull me please.

I actually already have an OK for this diff from semarie@:
https://theunixzoo.co.uk/random/fzf.diff

But your module change is certainly worthwhile, as it's super-annoying to have
to re-roll the distfile every time.

Can you fix the stuff Omar has pointed out and send an updated diff please?

Cheers

-- 
Best Regards
Edd Barrett

https://www.theunixzoo.co.uk



Re: [update] sysutils/fzf-0.34.0

2022-10-07 Thread Omar Polo
On 2022/10/07 11:48:13 +0200, Laurent Cheylus  wrote:
> Hi,
> 
> I updated sysutils/fzf (command-line fuzzy finder in Go) to 0.34.0 
> version :
> 
> - update for FZF version 0.34.0 from GH https://github.com/junegunn/fzf
> - use modules.inc for Go modules (generated with go-module) => no longer 
> need to
>have specific package for sources on MASTER_SITE (edd personal Web 
> site in
>previous port)
> - add Go ldflags to build with internal version
> - update README to fix path ${BASH_SITE}/key-bindings.bash
> - add patch for Bash completion for kill command (kill **)

for updates diffs are easier to handle.  I'm attaching a diff that is
equivalent to your tarball for ease of review by others.

note that there are some issue with your proposal update:

 - i'd ask edd@ before removing him as maintainer

 - it loses the "uses pledge()" comment before wantlib.  ps(1)
   confirms that it still pledge

 - make port-lib-depends-check complains of unused wantlib

 - the .include "modules.inc" line is usually at the bottom, right
   above .include 

 - MODGO_VERSION should be specified in the Makefile, not in
   modules.inc.  make modgo-gen-modules outputs it, I guess because
   it's easier to do `make MODGO_VERSION=latest' (or whatever) and get
   the correct version in the output, but then should be removed.

fyi: if you prefer to use git (or got) instead of cvs you can use the
github mirror and generate diffs against that.


Index: Makefile
===
RCS file: /home/cvs/ports/sysutils/fzf/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile11 Mar 2022 19:57:26 -  1.13
+++ Makefile7 Oct 2022 10:17:10 -
@@ -1,29 +1,32 @@
 COMMENT =  command-line fuzzy finder
 
-# Note: we make our own vendored distfile as upstream doesn't do semantic
-# versioning. Use 'go mod vendor'.
-DISTNAME = fzf-0.24.1
-REVISION = 2
+MODGO_MODNAME = github.com/junegunn/fzf
+
+V =0.34.0
+DISTNAME = fzf-${V}
 
 CATEGORIES =   sysutils
 
 HOMEPAGE = https://github.com/junegunn/fzf
 
-MAINTAINER =   Edd Barrett 
+MAINTAINER =   Laurent Cheylus 
 # BSD
 PERMIT_PACKAGE =   Yes
 
-# uses pledge()
 WANTLIB += c pthread
 
-MASTER_SITES = https://theunixzoo.co.uk/distfiles/
-
 MODULES =  lang/go
 MODGO_TYPE =   bin
 
+MODGO_LDFLAGS +=   -X main.version=${V}
+MODGO_LDFLAGS +=   -X main.revision=""
+
 RUN_DEPENDS =  shells/bash
 
-ALL_TARGET =   github.com/junegunn/fzf
+.include "modules.inc"
+
+# for patch to apply
+WRKDIST =  ${WRKOBJDIR}/${DISTNAME}/${MODGO_MODNAME}@${MODGO_VERSION}
 
 # Note that unlike zsh and fish, bash has no well-defined site functions
 # directory from which to autoload stuff.
Index: distinfo
===
RCS file: /home/cvs/ports/sysutils/fzf/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo1 Nov 2020 10:59:45 -   1.6
+++ distinfo7 Oct 2022 10:17:10 -
@@ -1,2 +1,68 @@
-SHA256 (fzf-0.24.1.tar.gz) = CjWTiFpY0dJojwEJFy8n+jsfgutN1s1YmZAmbLas1ic=
-SIZE (fzf-0.24.1.tar.gz) = 2036120
+SHA256 (fzf-0.34.0.zip) = GLClhjtPUipAtoXp0xbqsTodjsChSx+J0MTUdD6yUCw=
+SHA256 (go_modules/github.com/gdamore/encoding/@v/v1.0.0.mod) = 
pJgRJVFfDy3yU8LeOjrBlwx0Q+W2adlH6HTnezaBtuU=
+SHA256 (go_modules/github.com/gdamore/encoding/@v/v1.0.0.zip) = 
Y4qYMuL2LRGNfFEdhr2uFiKlHzMd5IoB2Sn9JOvmoqY=
+SHA256 (go_modules/github.com/gdamore/tcell/v2/@v/v2.5.3.mod) = 
JlVpbQ0HAS2x5kpMtli+W+9P8KLVR4V1QqKu/6qySn8=
+SHA256 (go_modules/github.com/gdamore/tcell/v2/@v/v2.5.3.zip) = 
62+TeJEgY6dd3D5gEYJ7WH/M2vIKR/sF6Exuuob8uqM=
+SHA256 (go_modules/github.com/lucasb-eyer/go-colorful/@v/v1.2.0.mod) = 
hPnDjpiEqwE8g3yxau4TlQDT1cbMqwJDmIHbLs8o9mA=
+SHA256 (go_modules/github.com/lucasb-eyer/go-colorful/@v/v1.2.0.zip) = 
eNXQ4HN/D1S77Xe236hH2MhxvtJmip3EQyjHw0Ea2hA=
+SHA256 (go_modules/github.com/mattn/go-isatty/@v/v0.0.16.mod) = 
cUdm7ILWfbiVreiva4BUrUMMPOpeFbOoiPI+0vPhuGM=
+SHA256 (go_modules/github.com/mattn/go-isatty/@v/v0.0.16.zip) = 
PV/xnEsqKhZP64T1zDivNJOAwMSgPQRD3OQLvW7D/Ss=
+SHA256 (go_modules/github.com/mattn/go-runewidth/@v/v0.0.13.mod) = 
IWyT0ZMQYSyB1cdBAkmJ+DiX0jM8Op+We1ixMXWH9Rk=
+SHA256 (go_modules/github.com/mattn/go-runewidth/@v/v0.0.14.mod) = 
IWyT0ZMQYSyB1cdBAkmJ+DiX0jM8Op+We1ixMXWH9Rk=
+SHA256 (go_modules/github.com/mattn/go-runewidth/@v/v0.0.14.zip) = 
Nk717TH2Vx2tVnMDBbXCKIpT2gbZgyaAreXiHZenSOc=
+SHA256 (go_modules/github.com/mattn/go-shellwords/@v/v1.0.12.mod) = 
Kb//Fv9Xt9raZOanSAbZMVSazOYctwxFijidCZwtDsI=
+SHA256 (go_modules/github.com/mattn/go-shellwords/@v/v1.0.12.zip) = 
bTXD7ckuR6BpiHiNaDwa04lxm1XvGdWn8jmrRwi22hE=
+SHA256 (go_modules/github.com/rivo/uniseg/@v/v0.2.0.mod) = 
bHMYonqNVHOo62YedfsAUoF24O/FkxDtJ3yhO9EqU/E=
+SHA256 (go_modules/github.com/rivo/uniseg/@v/v0.4.2.mod) = 
oeF0iQ/J8lJFAhH63rU3VvnPWrexlpd2X5+yVfgeqJg=
+SHA256 (go_modules/github.com/rivo/uniseg/@v/v0.4.2.zip) = 

Re: [NEW] devel/difftastic

2022-10-07 Thread Volker Schlecht



On 10/7/22 10:02, Landry Breuil wrote:

anyway, my port for 0.35 was much similar to yours, the only "relevant"
differences i had were:
SEPARATE_BUILD =   Yes
WANTLIB += c ${COMPILER_LIBCXX} m pthread

(im never sure about the COMPILER_LIBCXX bit for rust ports..)


I went for c++ and c++abi mostly because I would have had to explicitly 
set COMPILER to shut up portcheck, so I chose your textproc/delta port 
as an orientation.


Regarding SEPARATE_BUILD: Is there anything particular about non-amd64 
platforms needing that? It definitely isn't needed on amd64 here.



and DESCR:
-Difftastic is an experimental diff tool that compares files based
-on their syntax.
-It supports over 30 programming languages.
+Difftastic is a structural diff tool that understands syntax. It
+supports over 20 programming languages, parses the code, and then
+compares the syntax trees.

ok landry@ to import your version, maybe just improve the DESCR and
lowercase the first letter of COMMENT.


Done, updated port attached!

cu,
Volker

difftastic.tar.gz
Description: application/gzip


Re: [UPDATE] graphics/geeqie

2022-10-07 Thread Landry Breuil
Le Thu, Oct 06, 2022 at 11:47:00PM +0300, Kirill Bychkov a écrit :
> Hi,
> Attached patch updates geeqie to the latest 2.0.1 version.
> Main portwise change is that upstream switched fgo autotools to meson.
> I'm also taking maintainer.

cant comment on the intltool module usage, but it works fine here.
on stderr it complains about "unknown attribute
image.use_clutter_renderer = false" but i guess that's minor.

https://github.com/BestImageViewer/geeqie/releases has some details
about the changes.

Landry



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2022/10/07 03:58:04

Modified files:
mail/mozilla-thunderbird: Tag: OPENBSD_7_2 Makefile distinfo 

Log message:
mail/mozilla-thunderbird: MFC update to 102.3.2.

see https://www.thunderbird.net/en-US/thunderbird/102.3.2/releasenotes/



CVS: cvs.openbsd.org: ports

2022-10-07 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2022/10/07 03:57:15

Modified files:
mail/mozilla-thunderbird: Makefile distinfo 
mail/mozilla-thunderbird/pkg: PLIST 
mail/thunderbird-i18n: Makefile.inc distinfo 

Log message:
mail/mozilla-thunderbird: update to 102.3.2.

see https://www.thunderbird.net/en-US/thunderbird/102.3.2/releasenotes/



Re: [NEW] devel/difftastic

2022-10-07 Thread Volker Schlecht




I could add difftastic documentation in your port :
- files README.md, manual/src/*.md
- generate Markdown book (HTML) from md files with mdBook https://
github.com/rust-lang/mdBook (needs to create a port first)
- install HTML files in do-install section


Sure thing! I planned to look into converting the markdown documentation 
with lowdown, but in a later step - perhaps upstream would even accept a 
patch for a man page.





[update] sysutils/fzf-0.34.0

2022-10-07 Thread Laurent Cheylus

Hi,

I updated sysutils/fzf (command-line fuzzy finder in Go) to 0.34.0 
version :


- update for FZF version 0.34.0 from GH https://github.com/junegunn/fzf
- use modules.inc for Go modules (generated with go-module) => no longer 
need to
  have specific package for sources on MASTER_SITE (edd personal Web 
site in

  previous port)
- add Go ldflags to build with internal version
- update README to fix path ${BASH_SITE}/key-bindings.bash
- add patch for Bash completion for kill command (kill **)

My port is also available on openbsd-ports-wip
https://github.com/jasperla/openbsd-wip/tree/master/sysutils/fzf

Laurent


fzf-0.34.0.tar.gz
Description: GNU Zip compressed data


CVS: cvs.openbsd.org: ports

2022-10-07 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2022/10/07 02:54:30

Modified files:
geo/pgrouting  : Makefile distinfo 
geo/pgrouting/pkg: PLIST 

Log message:
geo/pgrouting: update to 3.4.0



Re: [NEW] www/py-requests-file-1.5.1

2022-10-07 Thread Omar Polo
On 2022/10/06 22:44:22 -0400, George Rosamond  
wrote:
> from pkg/DESCR:
> 
> Requests-File is a transport adapter for use with the Requests
> Python library to allow local filesystem access via file:// URLs.
> 
> from `make test`
> 
> 9 passed, 2 skipped in 0.26s
> 
> thanks.
> 
> g

looks fine to me, ok op@



Re: [NEW] devel/difftastic

2022-10-07 Thread Laurent Cheylus
On Thu, 6 Oct 2022 17:34:36 +0200, Volker Schlecht wrote:

> Attached is a port for difftastic (https://difftastic.wilfred.me.uk/),
> with which I've been toying for a while now.
> 
> I used textproc/delta and sysutils/exa as a reference, so I hope there's
> not too much wrong with it. I'm not sure if it belongs into devel or
> textproc, but given that it analyzes syntax rather than raw text, I'm
> shooting for devel.

I was also working on an OpenBSD port for difftastic. Your port is almost 
identical to mine.

I could add difftastic documentation in your port :
- files README.md, manual/src/*.md
- generate Markdown book (HTML) from md files with mdBook https://
github.com/rust-lang/mdBook (needs to create a port first)
- install HTML files in do-install section

Laurent



Re: valgrind: mark broken

2022-10-07 Thread Stefan Sperling
On Fri, Oct 07, 2022 at 02:37:15PM +0900, Masato Asou wrote:
> Hi tb and ports,
> 
> I have adapted the system call number definition to the new syscall.h
> 
> comments, ok?

Thank you!

I have tried running devel/got in valgrind and it fails because
the __realpath syscall is missing. Could this be fixed?

--59025-- WARNING: unhandled syscall: 115
--59025-- You may be able to write your own handler.
--59025-- Read the file README_MISSING_SYSCALL_OR_IOCTL.

In sys/kern/syscalls.master:

115 STD { int sys___realpath(const char *pathname, \
char *resolved); }



Re: [NEW] devel/difftastic

2022-10-07 Thread Landry Breuil
Le Thu, Oct 06, 2022 at 06:44:32PM +0200, Volker Schlecht a écrit :
> On 10/6/22 18:14, Landry Breuil wrote:
> > > If you send me the two files that crashed it, I'll also test with them.
> > 
> > iirc that was
> > https://sourceforge.net/projects/kpcli/files/prereleases/kpcli-4.0-beta6.pl/download
> > vs https://sourceforge.net/projects/kpcli/files/kpcli-3.8.1.pl/download
> 
> Ha, yes, those crash here too ... apparently in a call to ts_parse_parse().
> Might be related to
> https://github.com/ganezdragon/tree-sitter-perl/issues/18 , though I am
> really wildly guessing here.

you're right, that's probably related.

anyway, my port for 0.35 was much similar to yours, the only "relevant"
differences i had were:
SEPARATE_BUILD =   Yes
WANTLIB += c ${COMPILER_LIBCXX} m pthread

(im never sure about the COMPILER_LIBCXX bit for rust ports..)

and DESCR:
-Difftastic is an experimental diff tool that compares files based
-on their syntax.
-It supports over 30 programming languages.
+Difftastic is a structural diff tool that understands syntax. It
+supports over 20 programming languages, parses the code, and then
+compares the syntax trees.

ok landry@ to import your version, maybe just improve the DESCR and
lowercase the first letter of COMMENT.

Landry



Re: [new] mail/meli: a new terminal email client

2022-10-07 Thread Landry Breuil
Le Thu, Oct 06, 2022 at 02:40:28PM +0200, Landry Breuil a écrit :
> Hi,
> 
> here's a wip port of https://meli.delivery, i've chosen to port the git
> head instead of the last-year-old alpha-0.7.2 tag - there's wip support
> for jmap (which im also poking at).
> 
> totally untested for now, but looks nice and simple. It starts and
> there's a step-by-step assistant for configuration.
> 
> https://meli.delivery/documentation.html#quick-start
> https://meli.delivery/documentation.html#meli.7 is the full tutorial
> 
> meli man feature broken for now, since i think it relies on gzipped
> manpages, but i'll eventually have a look. plain manpages shipped in the
> package works.

meli man failed for me because i had PAGER=less -X in the env, with
PAGER=less it works.

new version with feedback from sthen@ and tb@.

runtime testing/feedback welcome, oks too :)

Landry


meli-20221006_2.tgz
Description: application/tar-gz


Re: Telegraf installation - user not created

2022-10-07 Thread Stuart Henderson
The @newuser line in PLIST shouldn't include the class. It's set 
automatically by the rc.d subsystem.


(The reason it fails is because the class didn't exist until the 
login.conf.d/telegraf file was created, which didn't happen until after the 
new user was created - but there's no need to set the class for the user 
account anyway).


--
 Sent from a phone, apologies for poor formatting.

On 7 October 2022 03:52:01 Chris Narkiewicz  wrote:


I'm installing telegraf on my server and I noticed that the pkg_add fails
to install it:

dev# uname -a
OpenBSD dev 7.1 GENERIC#3 amd64
dev# pkg_add telegraf
quirks-5.5 signed on 2022-10-06T09:54:45Z
useradd: No such login class `telegraf'
system(/usr/sbin/useradd, -u, 826, -g, _telegraf, -L, telegraf, -c, 
telegraf user, -d, /var/empty, -s, /sbin/nologin, --, _telegraf) failed: 
exit(1)

telegraf-1.22.1: ok
The following new rcscripts were installed: /etc/rc.d/telegraf
See rcctl(8) for details.

I can see that login class is in /etc/login.conf.d/telegraf:

dev# ls -la /etc/login.conf.d
total 16
drwxr-xr-x   2 root  wheel   512 Oct  7 03:41 .
drwxr-xr-x  36 root  wheel  2048 Oct  7 03:42 ..
-rw-r--r--   1 root  wheel45 Jun 24 12:12 postgresql
-rw-r--r--   1 root  wheel40 Oct  7 03:41 telegraf

When I copy-paste the useradd line printed by pkg_add, it creates the user.
I suspect some sort of a race there.

This issue happens on latest 7.2-current with latest pkg from snapshot.

A bug in ports?