[maintainer update] remind 4.3.6 -> 4.3.7

2024-05-02 Thread Martin Ziemer
This patch updates remind from 4.3.6 to 4.3.7.

Tested on amd64.

Index: Makefile
===
RCS file: /cvs/ports/misc/remind/Makefile,v
retrieving revision 1.73
diff -u -p -u -p -r1.73 Makefile
--- Makefile26 Apr 2024 07:50:43 -  1.73
+++ Makefile3 May 2024 06:26:04 -
@@ -1,7 +1,7 @@
 COMMENT=   scripting language for reminders, with a Tk front end
 
-DISTNAME=  remind-04.03.06
-PKGNAME=   remind-4.3.6
+DISTNAME=  remind-04.03.07
+PKGNAME=   remind-4.3.7
 
 CATEGORIES=misc
 
Index: distinfo
===
RCS file: /cvs/ports/misc/remind/distinfo,v
retrieving revision 1.42
diff -u -p -u -p -r1.42 distinfo
--- distinfo26 Apr 2024 07:50:43 -  1.42
+++ distinfo3 May 2024 06:26:04 -
@@ -1,2 +1,2 @@
-SHA256 (remind-04.03.06.tar.gz) = Mgp+MPxXVZvL4/Aro7KJTesc2c30o9FzQn8kKJt5IQ4=
-SIZE (remind-04.03.06.tar.gz) = 531420
+SHA256 (remind-04.03.07.tar.gz) = s/jEsNXUBigNHPTCi3e4V2pGUNhK2s5/n+sU1ow7UU0=
+SIZE (remind-04.03.07.tar.gz) = 532447



Re: RADXIDE to OpenBSD

2024-05-02 Thread Stuart Henderson
On 2024/05/02 19:34, Bryan Stenson wrote:
> Just a friendly comment from a long-time lurker: I don't think that's how 
> this works.

Sometimes it is, iff there's somebody interested enough in the software
who already has porting skills. But considering this is the seventh
time Dan / "Nowarez Market" asked on ports@ about this I don't get
the feeling there are any readers wanting to do this.



Re: RADXIDE to OpenBSD

2024-05-02 Thread Bryan Stenson
Just a friendly comment from a long-time lurker: I don't think that's how
this works.

I'm guessing you'll get more traction if YOU provide the PR with port
details...probably a porting guide somewhere...

Bryan


On Thursday, May 2, 2024, Dan  wrote:

> Hello,
>
> Just want to check one more time if there is any developer
> who wants to help making a port of RADXIDE for OpenBSD.
>
> https://github.com/par7133/RADXIDE
> Licence: MIT
> Language: Tcl/Tk
>
> ( actually tested on OpenBSD till 7.4 )
>
> Thanks,
>
> -Dan
>
>


UPDATE: mail/mlmmj

2024-05-02 Thread gilles
Hello,

Hopefully I didn't completely mess up this port, I'm a bit rusty.

This bumps mlmmj from 1.3.0 to 1.4.5.

Tested on the opensmtpd mailing list this afternoon.

Gilles


Index: Makefile
===
RCS file: /cvs/ports/mail/mlmmj/Makefile,v
diff -u -p -r1.26 Makefile
--- Makefile26 Sep 2023 12:28:13 -  1.26
+++ Makefile2 May 2024 21:21:28 -
@@ -1,19 +1,27 @@
 COMMENT=   mailing list manager
 
-DISTNAME=  mlmmj-1.3.0
+V= 1.4.5
 REVISION=  0
+
+DISTNAME=  mlmmj-${V}
+
 CATEGORIES=mail
 
-HOMEPAGE=  http://mlmmj.org/
+HOMEPAGE=  htts://codeberg.org/mlmmj/mlmmj
 
 # MIT
 PERMIT_PACKAGE=Yes
 
 WANTLIB += c iconv
 
-SITES= http://mlmmj.org/releases/
+SITES= 
https://codeberg.org/mlmmj/mlmmj/releases/download/RELEASE_${V:S/./_/g}/
+
+BUILD_DEPENDS= devel/kyua-cli  \
+   devel/atf
 
 LIB_DEPENDS=   converters/libiconv
+
+AUTOCONF_VERSION=  2.69
 
 CONFIGURE_STYLE=gnu
 CONFIGURE_ARGS+=--enable-receive-strip=yes
Index: distinfo
===
RCS file: /cvs/ports/mail/mlmmj/distinfo,v
diff -u -p -r1.12 distinfo
--- distinfo28 Nov 2017 03:43:07 -  1.12
+++ distinfo2 May 2024 21:21:28 -
@@ -1,2 +1,2 @@
-SHA256 (mlmmj-1.3.0.tar.gz) = dgnQ3YBPDAhMLkg+tYxgAStpi8dkZFN4UqHuH/nG8Ok=
-SIZE (mlmmj-1.3.0.tar.gz) = 355298
+SHA256 (mlmmj-1.4.5.tar.gz) = UluUL2mGZmdubon/3KbdvDBlSsNp3ux/z27RBVyH6Aw=
+SIZE (mlmmj-1.4.5.tar.gz) = 465064
--- /dev/null   Thu May  2 23:21:56 2024
+++ patches/patch-Makefile.am   Thu May  2 22:37:58 2024
@@ -0,0 +1,12 @@
+Index: Makefile.am
+--- Makefile.am.orig
 Makefile.am
+@@ -30,7 +30,7 @@ tests_mlmmj_SOURCES = \
+   tests/mlmmj_tests.c
+ tests_mlmmj_LDADD = \
+   $(top_builddir)/src/libmlmmj.a \
+-  @ATF_LIBS@ -lrt
++  @ATF_LIBS@
+ 
+ tests_fakesmtpd_SOURCES = \
+   tests/fakesmtpd.c
--- /dev/null   Thu May  2 23:22:00 2024
+++ patches/patch-Makefile.in   Thu May  2 23:18:56 2024
@@ -0,0 +1,11 @@
+--- Makefile.in.orig   Thu May  2 23:18:17 2024
 Makefile.inThu May  2 23:18:23 2024
+@@ -420,7 +420,7 @@ SUBDIRS = src listtexts contrib
+ 
+ @WANT_TESTS_TRUE@tests_mlmmj_LDADD = \
+ @WANT_TESTS_TRUE@ $(top_builddir)/src/libmlmmj.a \
+-@WANT_TESTS_TRUE@ @ATF_LIBS@ -lrt
++@WANT_TESTS_TRUE@ @ATF_LIBS@
+ 
+ @WANT_TESTS_TRUE@tests_fakesmtpd_SOURCES = \
+ @WANT_TESTS_TRUE@ tests/fakesmtpd.c



UPDATE: audio/mpdscribble

2024-05-02 Thread Steven Mestdagh
overdue maintenance update;  works fine here on amd64.
ok?

Index: Makefile
===
RCS file: /cvs/ports/audio/mpdscribble/Makefile,v
diff -u -p -u -r1.10 Makefile
--- Makefile5 Sep 2023 16:13:40 -   1.10
+++ Makefile2 May 2024 20:15:52 -
@@ -1,8 +1,8 @@
 COMMENT =  mpd client to scrobble track info to last.fm
 
-V =0.22
+V =0.25
 DISTNAME = mpdscribble-$V
-REVISION = 2
+EXTRACT_SUFX = .tar.xz
 
 CATEGORIES =   audio
 
@@ -13,19 +13,19 @@ MAINTAINER =Steven Mestdagh http://www.musicpd.org/download/mpdscribble/$V/
 
 LIB_DEPENDS =  net/curl \
-   devel/glib2 \
-   audio/libmpdclient
+   audio/libmpdclient \
+   security/libgcrypt
 
-CONFIGURE_STYLE =  gnu
-CONFIGURE_ARGS =   --with-http-client=curl
+MODULES =  devel/meson
 
 do-install:
-   ${INSTALL_PROGRAM} ${WRKSRC}/src/mpdscribble ${PREFIX}/bin/mpdscribble
+   ${INSTALL_PROGRAM} ${WRKBUILD}/mpdscribble ${PREFIX}/bin/mpdscribble
${INSTALL_MAN} ${WRKSRC}/doc/mpdscribble.1 
${PREFIX}/man/man1/mpdscribble.1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mpdscribble
${INSTALL_DATA} ${WRKSRC}/doc/mpdscribble.conf 
${PREFIX}/share/doc/mpdscribble
Index: distinfo
===
RCS file: /cvs/ports/audio/mpdscribble/distinfo,v
diff -u -p -u -r1.3 distinfo
--- distinfo11 Nov 2013 14:01:56 -  1.3
+++ distinfo2 May 2024 20:15:52 -
@@ -1,2 +1,2 @@
-SHA256 (mpdscribble-0.22.tar.gz) = /4gtAr2DC9y8z+PDybDTL0+Y2b7Nto3DE190gEZfHjg=
-SIZE (mpdscribble-0.22.tar.gz) = 141480
+SHA256 (mpdscribble-0.25.tar.xz) = IPidlFv1F8TWi/d6d6NZ/bE4QqsSlejSHtp5vitbNc4=
+SIZE (mpdscribble-0.25.tar.xz) = 68732



Re: Support ghc-9.8 in git-annex

2024-05-02 Thread Matthias Kilian
Hi Greg,

On Sun, Apr 28, 2024 at 09:00:02PM -0700, Greg Steuck wrote:
> Seems to work. OK?

Yes.

Ciao,
Kili

> The main point of the two upgrades is to make ghc-9.8 import that
> follows not cause any further churn.
> 
> >From 3d1fbcadc2598cdc75be6d7dd4f1337b2cd51279 Mon Sep 17 00:00:00 2001
> From: Greg Steuck 
> Date: Sun, 28 Apr 2024 17:24:27 -0700
> Subject: [PATCH 2/2] Support ghc-9.8 in git-annex
> 
> ---
>  devel/git-annex/Makefile | 152 +
>  devel/git-annex/distinfo | 348 ---
>  2 files changed, 264 insertions(+), 236 deletions(-)
> 
> diff --git a/devel/git-annex/Makefile b/devel/git-annex/Makefile
> index 171d014c6c6..130e39c100d 100644
> --- a/devel/git-annex/Makefile
> +++ b/devel/git-annex/Makefile
> @@ -22,7 +22,10 @@ BUILD_DEPENDS =devel/git
>  MODULES =devel/cabal
>  
>  MODCABAL_STEM= git-annex
> +# newer versions have no docs to install
>  MODCABAL_VERSION = 10.20230802
> +REVISION = 0
> +
>  MAN1_STAGING_DIR = ${WRKBUILD}/man1_staging
>  
>  post-build:
> @@ -41,6 +44,7 @@ post-install:
>   ${INSTALL_MAN_DIR} ${PREFIX}/man/man1
>   ${INSTALL_MAN} ${MAN1_STAGING_DIR}/*.1 ${PREFIX}/man/man1
>  
> +MODCABAL_BUILD_ARGS  = --allow-newer
>  MODCABAL_MANIFEST= \
>   DAV 1.3.4   0   \
>   Glob0.10.2  3   \
> @@ -48,24 +52,24 @@ MODCABAL_MANIFEST = \
>   IfElse  0.850   \
>   OneTuple0.4.1.1 1   \
>   Only0.1 2   \
> - QuickCheck  2.14.3  0   \
> + QuickCheck  2.150   \
>   SafeSemaphore   0.10.1  1   \
>   StateVar1.2.2   0   \
>   adjunctions 4.4.2   2   \
> - aeson   2.1.2.1 3   \
> - alex3.4.0.1 0   \
> - ansi-terminal   1.0 0   \
> - ansi-terminal-types 0.11.5  1   \
> + aeson   2.2.1.0 1   \
> + alex3.5.1.0 0   \
> + ansi-terminal   1.1.1   0   \
> + ansi-terminal-types 1.1 0   \
>   appar   0.1.8   0   \
>   asn1-encoding   0.9.6   2   \
>   asn1-parse  0.9.5   0   \
>   asn1-types  0.3.4   0   \
>   assoc   1.1 1   \
> - async   2.2.4   4   \
> + async   2.2.5   1   \
>   attoparsec  0.14.4  5   \
> - attoparsec-aeson2.1.0.0 0   \
> - auto-update 0.1.6   0   \
> - aws 0.24.1  0   \
> + attoparsec-aeson2.2.0.1 0   \
> + auto-update 0.2.0   0   \
> + aws 0.24.2  0   \
>   base-compat 0.13.1  0   \
>   base-compat-batteries   0.13.1  0   \
>   base-orphans0.9.1   0   \
> @@ -73,11 +77,11 @@ MODCABAL_MANIFEST = \
>   base64-bytestring   1.2.1.0 1   \
>   basement0.0.16  0   \
>   bencode 0.6.1.1 0   \
> - bifunctors  5.6.1   2   \
> + bifunctors  5.6.2   0   \
>   binary-orphans  1.0.4.1 3   \
> - bitvec  1.1.5.0 0   \
> + bitvec  1.1.5.0 1   \
>   blaze-builder   0.4.2.3 0   \
> - blaze-html  0.9.1.2 4   \
> + blaze-html  0.9.2.0 0   \
>   blaze-markup0.8.3.0 1   \
>   bloomfilter 2.0.1.2 0   \
>   bsb-http-chunked0.0.0.4 4   \
> @@ -86,7 +90,8 @@ MODCABAL_MANIFEST   = \
>   cabal-doctest   1.0.9   3   \
>   call-stack  0.4.0   0   \
>   case-insensitive1.2.1.0 0   \
> - cassava 0.5.3.0 5   \
> + cassava 0.5.3.1 0   \
> + cborg   0.2.10.00   \
>   cereal  0.5.8.3 0   \
>   clientsession   0.9.2.0 1   \
>   clock   0.8.4   0   \
> @@ -97,14 +102,15 @@ MODCABAL_MANIFEST= \
>   conduit 1.3.5   0   \
>   conduit-extra   1.3.6   0   \
>   contravariant   1.5.5   0   \
> - cookie  0.4.6   0   \
> + cookie  0.5.0   0   \
>   criterion   1.6.3.0 0   \
>   criterion-measurement   0.2.1.0 0   \
>   crypto-api  0.13.3  1   \
> - cryptohash-md5  0.11.101.0  3   \
> - cryptohash-sha1 0.11.101.0  3   \
> - crypton 0.340   \
> - crypton-connection  0.3.1   0   \
> + crypto-token0.1.1   0   \
> + cryptohash-md5  0.11.101.0  4   \
> + cryptohash-sha1 0.11.101.0  4   \
> + crypton 1.0.0   0   \
> + crypton-connection  0.3.2   0   \
>   crypton-x5091.7.6   1   \
>   crypton-x509-store  1.6.9   0   \
>   crypton-x509-system 1.6.7   0   \
> @@ -124,82 +130,87 @@ MODCABAL_MANIFEST   = \
>   dlist   1.0 1   \
>   easy-file   0.2.5   0   \
>   edit-distance   0.2.2.1 1   \
> - email-validate  2.3.2.190   \
> + email-validate  2.3.2.200   \
>   entropy 0.

Re: update games/brogue

2024-05-02 Thread Thomas Frohwein
On Fri, Apr 19, 2024 at 10:07:28PM +0200, Solene Rapenne wrote:
> this updates brogue to latest version, it introduces a quick game
> mode
> 
> the Recordings.c patch isn't needed, upstream is now casting the
> variable to unsigned long long instead of our long long, I guess
> it's good enough to drop the patch?
> 
> the -Wformat-overflow=0 part in the Makefile was also dropped
> upstream.

The update looks good to me, I've built it and launched the game
successfully. Any word from maintainer? ok thfr@ for the update in this
form.

> 
> diff --git a/games/brogue/Makefile b/games/brogue/Makefile
> index 7135bf18124..a73c8e05c4f 100644
> --- a/games/brogue/Makefile
> +++ b/games/brogue/Makefile
> @@ -3,7 +3,7 @@ COMMENT-no_x11 =  roguelike game by Brian Walker
>  
>  GH_ACCOUNT = tmewett
>  GH_PROJECT = BrogueCE
> -GH_TAGNAME = v1.12
> +GH_TAGNAME = v1.13
>  
>  PKGNAME =brogue-${GH_TAGNAME:S/v//}
>  
> diff --git a/games/brogue/distinfo b/games/brogue/distinfo
> index 6bed27b849e..71416d88ad5 100644
> --- a/games/brogue/distinfo
> +++ b/games/brogue/distinfo
> @@ -1,2 +1,2 @@
> -SHA256 (BrogueCE-1.12.tar.gz) = ru0/bKD041ITewGW6d3b3OVCqemd2p7/2RXgGJI81Cg=
> -SIZE (BrogueCE-1.12.tar.gz) = 1168482
> +SHA256 (BrogueCE-1.13.tar.gz) = TGPpFjmQLVhWWrPChS2JpCBs3WAgC1hfqdk9aliBkGw=
> +SIZE (BrogueCE-1.13.tar.gz) = 1294988
> diff --git a/games/brogue/patches/patch-Makefile 
> b/games/brogue/patches/patch-Makefile
> index baef5747b1f..c7a2949a183 100644
> --- a/games/brogue/patches/patch-Makefile
> +++ b/games/brogue/patches/patch-Makefile
> @@ -4,21 +4,12 @@
>  Index: Makefile
>  --- Makefile.orig
>  +++ Makefile
> -@@ -2,7 +2,7 @@ include config.mk
> - 
> - cflags := -Isrc/brogue -Isrc/platform -std=c99 \
> - -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result \
> ---Wformat -Werror=format-security -Wformat-overflow=0
> -+-Wformat -Werror=format-security
> - libs := -lm
> - cppflags := -DDATADIR=$(DATADIR)
> - 
> -@@ -41,7 +41,7 @@ ifeq ($(DEBUG),YES)
> - cflags += -g -Og
> - cppflags += -DENABLE_PLAYBACK_SWITCH
> +@@ -62,7 +62,7 @@ ifeq ($(DEBUG),YES)
> + cflags += -g -Og
> + cppflags += -DENABLE_PLAYBACK_SWITCH
>   else
> --cflags += -O2
> -+cflags +=
> +-cflags += -O2
> ++cflags +=
>   endif
>   
> - objects := $(sources:.c=.o)
> + # Add user-provided flags.
> diff --git a/games/brogue/patches/patch-src_brogue_Recordings_c 
> b/games/brogue/patches/patch-src_brogue_Recordings_c
> deleted file mode 100644
> index f173d23598b..000
> --- a/games/brogue/patches/patch-src_brogue_Recordings_c
> +++ /dev/null
> @@ -1,18 +0,0 @@
> -cast int64_t to long long for printing
> -
> -Index: src/brogue/Recordings.c
>  src/brogue/Recordings.c.orig
> -+++ src/brogue/Recordings.c
> -@@ -1454,10 +1454,10 @@ void parseFile() {
> - numDepths   = recallNumber(4);
> - fileLength  = recallNumber(4);
> - 
> --fprintf(descriptionFile, "Parsed file \"%s\":\n\tVersion: 
> %s\n\tSeed: %li\n\tNumber of turns: %li\n\tNumber of depth changes: 
> %li\n\tFile length: %li\n",
> -+fprintf(descriptionFile, "Parsed file \"%s\":\n\tVersion: 
> %s\n\tSeed: %lli\n\tNumber of turns: %li\n\tNumber of depth changes: 
> %li\n\tFile length: %li\n",
> - currentFilePath,
> - versionString,
> --seed,
> -+(long long)seed,
> - numTurns,
> - numDepths,
> - fileLength);
> 



Re: Upgrade hledger to 1.33 making it ghc-9.8 compatible in the process

2024-05-02 Thread Matthias Kilian
Hi Greg,

On Sun, Apr 28, 2024 at 08:57:31PM -0700, Greg Steuck wrote:
> Running fine here. OK?

Of course, if it works for you.

Ciao,
Kili

> >From ce39a866ea4e5ff0b3042e50a83d0e25776562f1 Mon Sep 17 00:00:00 2001
> From: Greg Steuck 
> 
> ---
>  productivity/hledger/Makefile |  66 
>  productivity/hledger/distinfo | 142 +-
>  .../hledger/patches/patch-hledger_cabal   |  43 ++
>  3 files changed, 151 insertions(+), 100 deletions(-)
>  create mode 100644 productivity/hledger/patches/patch-hledger_cabal
> 
> diff --git a/productivity/hledger/Makefile b/productivity/hledger/Makefile
> index 345bf36f89c..b9cf5afc91b 100644
> --- a/productivity/hledger/Makefile
> +++ b/productivity/hledger/Makefile
> @@ -15,7 +15,7 @@ LIB_DEPENDS =   converters/libiconv \
>  
>  MODULES =devel/cabal
>  MODCABAL_STEM =  hledger
> -MODCABAL_VERSION =   1.32.2
> +MODCABAL_VERSION =   1.33
>  
>  post-install:
>   @${INSTALL_MAN} ${WRKSRC}/hledger.1 ${PREFIX}/man/man1
> @@ -30,23 +30,23 @@ MODCABAL_MANIFEST = \
>   StateVar1.2.2   0   \
>   aeson   2.2.1.0 1   \
>   aeson-pretty0.8.10  0   \
> - ansi-terminal   1.0.2   0   \
> - ansi-terminal-types 0.11.5  1   \
> + ansi-terminal   1.1.1   0   \
> + ansi-terminal-types 1.1 0   \
>   assoc   1.1 1   \
> - async   2.2.5   0   \
> + async   2.2.5   1   \
>   attoparsec  0.14.4  5   \
>   base-compat 0.13.1  0   \
>   base-orphans0.9.1   0   \
> - bifunctors  5.6.1   2   \
> - bitvec  1.1.5.0 0   \
> + bifunctors  5.6.2   0   \
> + bitvec  1.1.5.0 1   \
>   blaze-builder   0.4.2.3 0   \
> - blaze-html  0.9.1.2 4   \
> + blaze-html  0.9.2.0 0   \
>   blaze-markup0.8.3.0 1   \
>   cabal-doctest   1.0.9   3   \
>   call-stack  0.4.0   0   \
>   case-insensitive1.2.1.0 0   \
> - cassava 0.5.3.0 5   \
> - cassava-megaparsec  2.0.4   1   \
> + cassava 0.5.3.1 0   \
> + cassava-megaparsec  2.1.1   0   \
>   clock   0.8.4   0   \
>   cmdargs 0.10.22 0   \
>   colour  2.3.6   0   \
> @@ -67,52 +67,54 @@ MODCABAL_MANIFEST = \
>   doclayout   0.4.0.1 0   \
>   emojis  0.1.3   0   \
>   extra   1.7.14  0   \
> - file-embed  0.0.15.00   \
> + file-embed  0.0.16.00   \
>   generically 0.1.1   2   \
>   githash 0.1.7.0 0   \
> - hashable1.4.3.0 1   \
> + hashable1.4.4.0 1   \
>   hashtables  1.3.1   0   \
> - hledger-lib 1.32.2  0   \
> - hsc2hs  0.68.10 1   \
> + haskeline   0.8.2.1 1   \
> + hledger-lib 1.330   \
> + hsc2hs  0.68.10 2   \
>   html1.0.1.2 0   \
>   indexed-traversable 0.1.3   0   \
>   indexed-traversable-instances   0.1.1.2 2   \
>   integer-conversion  0.1.0.1 1   \
> - integer-logarithms  1.0.3.1 5   \
> + integer-logarithms  1.0.3.1 6   \
>   lucid   2.11.20230408   1   \
> - math-functions  0.3.4.3 0   \
> + math-functions  0.3.4.4 0   \
>   megaparsec  9.6.1   0   \
>   microlens   0.4.13.11   \
> - microlens-th0.4.3.140   \
> + microlens-th0.4.3.150   \
>   mmorph  1.2.0   3   \
> - mono-traversable1.0.15.30   \
> - network 3.1.4.0 1   \
> + mono-traversable1.0.17.00   \
> + network 3.2.0.0 0   \
>   network-uri 2.6.4.2 1   \
>   old-locale  1.0.0.7 2   \
>   optparse-applicative0.18.1.00   \
> + os-string   2.0.2.1 0   \
>   pager   0.1.1.0 0   \
>   parser-combinators  1.3.0   1   \
>   pretty-simple   4.1.2.0 0   \
>   prettyprinter   1.7.1   0   \
>   prettyprinter-ansi-terminal 1.1.3   0   \
> - primitive   0.9.0.0 0   \
> + primitive   0.9.0.0 1   \
>   quote-quot  0.2.1.0 0   \
> - random  1.2.1.1 1   \
> + random  1.2.1.2 0   \
>   regex-base  0.94.0.24   \
> - regex-tdfa  1.3.2.2 2   \
> + regex-tdfa  1.3.2.2 3   \
>   resourcet   1.3.0   0   \
> - safe0.3.21  0   \
> + safe0.3.21  1   \
>   scientific  0.3.7.0 7   \
>   semialign   1.3 1   \
>   semigroupoids   6.0.0.1 1   \
>   shakespeare 2.1.0.1 0   \
>   split   0.2.5   0   \
> - splitmix0.1.0.5 0   \
> + splitmix0.1.0.5 1   \
>   streaming-

update bgpq4 1.13

2024-05-02 Thread Job Snijders
OK?

Index: Makefile
===
RCS file: /cvs/ports/net/bgpq4/Makefile,v
diff -u -p -r1.15 Makefile
--- Makefile14 Feb 2024 09:19:39 -  1.15
+++ Makefile2 May 2024 18:11:21 -
@@ -1,6 +1,6 @@
 COMMENT=   generate access/prefix lists for BGP config
 
-DIST_TUPLE=github bgp bgpq4 1.12 .
+DIST_TUPLE=github bgp bgpq4 1.13 .
 
 CATEGORIES=net
 
Index: distinfo
===
RCS file: /cvs/ports/net/bgpq4/distinfo,v
diff -u -p -r1.12 distinfo
--- distinfo14 Feb 2024 09:19:39 -  1.12
+++ distinfo2 May 2024 18:11:21 -
@@ -1,2 +1,2 @@
-SHA256 (bgp-bgpq4-1.12.tar.gz) = 9uj0bgu5ICymSQ86ydmj22HivauYFuaeX9j0n15qsPM=
-SIZE (bgp-bgpq4-1.12.tar.gz) = 61223
+SHA256 (bgp-bgpq4-1.13.tar.gz) = fDhEf788a2hWiZv6zCQzAYyTA2zDaQBksVGFEWdpZqw=
+SIZE (bgp-bgpq4-1.13.tar.gz) = 60811



Re: mail/mlmmj new home, new release

2024-05-02 Thread gilles
May 2, 2024 6:39 PM, "Marcus MERIGHI"  wrote:

> Hello, 
> 
> as a reader of the mlmmj mailinglist I wanted to let you know that 
> there is some development for mlmmj, find some links below. 
> 
> David Goerger mentioned the move to gitlab on 2021-02-14:
> 
> https://marc.info/?l=openbsd-ports&m=161327034309620
> 
> The current mlmmj code home is on codeberg (1.4.5, we have 1.3.0):
> 
> https://codeberg.org/mlmmj/mlmmj/releases
> 
> Here's some history of recent events:
> 
> https://marc.info/?t=16220345362
> https://marc.info/?t=16699956412
> https://marc.info/?t=16841655571
> https://marc.info/?t=16972139581
> https://marc.info/?l=mlmmj&m=170314778924852
> https://marc.info/?l=mlmmj&m=170508017329727
> 
> If weather permits I'll make an attempt at a patch in the next days.
> 
> Marcus


Hello,

I actually updated the port today and deployed it on the opensmtpd mailing list,
I have a minor issue to fix but intended to send the diff shortly.

Gilles



Re: Update default erlang version to 26

2024-05-02 Thread Volker Schlecht

Ping. Any oks, or at least no objections ...?

On 2024-04-26 23:49, Volker Schlecht wrote:

With Erlang/OTP 27 just around the corner, I'd like to move our default version
to erlang/26.

lang/lfe, lang/elixir, lang/gleam and net/rabbitmq have officially supported
erlang/26 for a while now. benchmarks/tsung still shows 4 test failures, and
will need erlang/25 for a while longer.

ok?



Index: erlang.port.mk
===
RCS file: /cvs/ports/lang/erlang/erlang.port.mk,v
retrieving revision 1.39
diff -u -p -r1.39 erlang.port.mk
--- erlang.port.mk  8 Mar 2024 12:17:12 -   1.39
+++ erlang.port.mk  26 Apr 2024 21:40:45 -
@@ -5,7 +5,7 @@ CATEGORIES +=   lang/erlang
USE_GMAKE ?=Yes

# Default Erlang version to use if MODERL_VERSION is not set.
-_MODERL_DEFAULT_VERSION =  25
+_MODERL_DEFAULT_VERSION =  26

# Default Erlang flavor to use if MODERL_VERSION is not set,
# and MODERL_HANDLE_FLAVORS is set.



Index: Makefile
===
RCS file: /cvs/ports/lang/gleam/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile22 Apr 2024 20:53:35 -  1.8
+++ Makefile26 Apr 2024 21:40:17 -
@@ -3,6 +3,7 @@ COMMENT =   statically typed language for
GH_ACCOUNT =gleam-lang
GH_PROJECT =gleam
GH_TAGNAME =v1.1.0
+REVISION = 0

HOMEPAGE =  https://gleam.run

@@ -15,7 +16,6 @@ PERMIT_PACKAGE =  Yes

MODULES =   devel/cargo \
lang/erlang
-MODERL_VERSION =   25
BUILD_DEPENDS = security/rust-ring
COMPILER =  base-clang ports-gcc
WANTLIB +=  ${MODCARGO_WANTLIB} m



Index: Makefile
===
RCS file: /cvs/ports/lang/elixir/Makefile,v
retrieving revision 1.71
diff -u -p -r1.71 Makefile
--- Makefile16 Apr 2024 16:38:19 -  1.71
+++ Makefile26 Apr 2024 21:37:59 -
@@ -1,6 +1,7 @@
COMMENT=functional language for building scalable applications

V=  1.16.2
+REVISION=  0
GH_ACCOUNT= elixir-lang
GH_PROJECT= elixir
GH_TAGNAME= v$V
@@ -14,7 +15,6 @@ HOMEPAGE= https://elixir-lang.org/
PERMIT_PACKAGE= Yes

MODULES=lang/erlang
-MODERL_VERSION=25

ALL_TARGET= # empty




Index: Makefile
===
RCS file: /cvs/ports/lang/lfe/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile23 Feb 2024 15:48:07 -  1.4
+++ Makefile26 Apr 2024 21:35:47 -
@@ -3,6 +3,7 @@ COMMENT =   Lisp Flavoured Erlang (LFE)
GH_ACCOUNT =lfe
GH_PROJECT =lfe
GH_TAGNAME =2.1.4
+REVISION = 0

CATEGORIES =lang




Index: Makefile
===
RCS file: /cvs/ports/net/rabbitmq/Makefile,v
retrieving revision 1.57
diff -u -p -r1.57 Makefile
--- Makefile26 Mar 2024 20:10:57 -  1.57
+++ Makefile26 Apr 2024 21:36:14 -
@@ -4,6 +4,7 @@ V = 3.12.13
DISTNAME =  rabbitmq-server-${V}
PKGNAME =   rabbitmq-${V}
CATEGORIES =net
+REVISION = 0

HOMEPAGE =  https://www.rabbitmq.com/

@@ -15,7 +16,6 @@ EXTRACT_SUFX =.tar.xz

MODULES =   lang/erlang \
lang/python
-MODERL_VERSION = 25

USE_GMAKE = Yes
CONFIGURE_STYLE = none




mail/mlmmj new home, new release

2024-05-02 Thread Marcus MERIGHI
Hello, 

as a reader of the mlmmj mailinglist I wanted to let you know that 
there is some development for mlmmj, find some links below. 

David Goerger mentioned the move to gitlab on 2021-02-14:

https://marc.info/?l=openbsd-ports&m=161327034309620

The current mlmmj code home is on codeberg (1.4.5, we have 1.3.0):

https://codeberg.org/mlmmj/mlmmj/releases

Here's some history of recent events:

https://marc.info/?t=16220345362
https://marc.info/?t=16699956412
https://marc.info/?t=16841655571
https://marc.info/?t=16972139581
https://marc.info/?l=mlmmj&m=170314778924852
https://marc.info/?l=mlmmj&m=170508017329727

If weather permits I'll make an attempt at a patch in the next days.

Marcus



Re: update games/hyperrogue

2024-05-02 Thread Thomas Frohwein
On Fri, Apr 19, 2024 at 10:27:49PM +0200, Solene Rapenne wrote:
> our hyperrogue version is quite old of a dozen releases
> 
> latest release adds a lot of changes
> https://github.com/zenorogue/hyperrogue/releases
> 
> the Makefile patch had to be reworked a bit because the original
> Makefile differed from the patch, but it applies the same changes
> as before.
> 
> update-plist removed some honeycomb files, I don't know if it's
> expected... the game plays fine

Built it and it works as expected.

Noticed that it save hyperrogue.log in $PWD which I find annoying, not
sure if that's how upstream designed it. It would make more sense to
have a location in the home directory for that. Might be worth checking
on, but either way this update is ok thfr@, provided Brian is okay with
it or timeout...

> 
> diff --git a/games/hyperrogue/Makefile b/games/hyperrogue/Makefile
> index 4c1a7417f10..b5173d052ca 100644
> --- a/games/hyperrogue/Makefile
> +++ b/games/hyperrogue/Makefile
> @@ -1,4 +1,4 @@
> -V =  12.0f
> +V =  13.0d
>  COMMENT =roguelike game in a non-Euclidean world
>  CATEGORIES = games x11
>  
> diff --git a/games/hyperrogue/distinfo b/games/hyperrogue/distinfo
> index 835425d2f49..fe08e61d88c 100644
> --- a/games/hyperrogue/distinfo
> +++ b/games/hyperrogue/distinfo
> @@ -1,2 +1,2 @@
> -SHA256 (hyperrogue-12.0f.tar.gz) = 
> ROeOk+0dMZg9680EeR1//Pz73EBpfnCaD2yi04wwID4=
> -SIZE (hyperrogue-12.0f.tar.gz) = 79946099
> +SHA256 (hyperrogue-13.0d.tar.gz) = 
> 4ApHLRReh9u3dzH+FXCHyB2N5b0rBfogkbyQGFMIDoo=
> +SIZE (hyperrogue-13.0d.tar.gz) = 87765129
> diff --git a/games/hyperrogue/patches/patch-Makefile 
> b/games/hyperrogue/patches/patch-Makefile
> index 1567a49854b..6d4afc867d8 100644
> --- a/games/hyperrogue/patches/patch-Makefile
> +++ b/games/hyperrogue/patches/patch-Makefile
> @@ -26,9 +26,9 @@ Index: Makefile
>   
>  -ifeq (${TOOLCHAIN},clang)
>  -  CXXFLAGS_STD = -std=c++11
> --  CXXFLAGS_EARLY += -march=native -fPIC
> --  CXXFLAGS_EARLY += -W -Wall -Wextra -Wsuggest-override -Werror -pedantic
> --  CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough 
> -Wno-maybe-uninitialized -Wno-unknown-warning-option
> +-  CXXFLAGS_EARLY += -fPIC
> +-  CXXFLAGS_EARLY += -W -Wall -Wextra -Wsuggest-override -pedantic
> +-  CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough 
> -Wno-maybe-uninitialized -Wno-char-subscripts -Wno-unknown-warning-option
>  -  CXXFLAGS_EARLY += -Wno-invalid-offsetof
>  -endif
>  +CXXFLAGS_STD = -std=c++11
> @@ -39,23 +39,23 @@ Index: Makefile
>   
>  -ifeq (${TOOLCHAIN},gcc)
>  -  CXXFLAGS_STD = -std=c++11
> --  CXXFLAGS_EARLY += -march=native -fPIC
> --  CXXFLAGS_EARLY += -W -Wall -Wextra -Werror -pedantic
> +-  CXXFLAGS_EARLY += -fPIC
> +-  CXXFLAGS_EARLY += -W -Wall -Wextra -pedantic
>  -  CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough 
> -Wno-maybe-uninitialized
> +-  CXXFLAGS_EARLY += -Wno-invalid-offsetof
>  -endif
>  -
>  -ifeq (${TOOLCHAIN},mingw)
>  -  CXXFLAGS_STD = -std=c++11
> --  CXXFLAGS_EARLY += -march=native
> --  CXXFLAGS_EARLY += -W -Wall -Wextra -Werror
> +-  CXXFLAGS_EARLY += -W -Wall -Wextra
>  -  CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough 
> -Wno-maybe-uninitialized
> +-  CXXFLAGS_EARLY += -Wno-invalid-offsetof
>  -endif
>  -
> --
> - ## We have now finished OS-specific and TOOLCHAIN-specific computations.
> - ## Begin customization points for user-specifiable HYPERROGUE_USE_XXX 
> macros.
> - 
> -@@ -139,19 +120,19 @@ override CXXFLAGS := $(CXXFLAGS_STD) $(CXXFLAGS_EARLY)
> + ifeq (${FONTCONFIG},1)
> +   CXXFLAGS_EARLY += -DFONTCONFIG `pkg-config --cflags fontconfig`
> +   LDFLAGS_EARLY += `pkg-config --libs fontconfig`
> +@@ -144,19 +125,19 @@ override CXXFLAGS := $(CXXFLAGS_STD) $(CXXFLAGS_EARLY)
>   override LDFLAGS := $(LDFLAGS_EARLY) $(LDFLAGS) ${EXTRA_LDFLAGS}
>   
>   hyperrogue$(EXE_EXTENSION): $(hyper_OBJS) $(hyper_RES)
> @@ -78,8 +78,8 @@ Index: Makefile
>  +$(CXX) $(CXXFLAGS) makeh.cpp $(LDFLAGS) -o $@
>   
>   autohdr.h: makeh$(EXE_EXTENSION) language-data.cpp *.cpp
> - ./makeh classes.cpp locations.cpp colors.cpp hyperpoint.cpp 
> geometry.cpp goldberg.cpp init.cpp floorshapes.cpp cell.cpp multi.cpp 
> shmup.cpp pattern2.cpp mapeditor.cpp graph.cpp textures.cpp hprint.cpp 
> language.cpp util.cpp complex.cpp *.cpp > autohdr.h
> -@@ -160,10 +141,10 @@ language-data.cpp: langen$(EXE_EXTENSION)
> + ./makeh classes.cpp locations.cpp colors.cpp hyperpoint.cpp 
> geometry.cpp embeddings.cpp goldberg.cpp init.cpp floorshapes.cpp cell.cpp 
> multi.cpp shmup.cpp pattern2.cpp mapeditor.cpp graph.cpp textures.cpp 
> hprint.cpp language.cpp util.cpp complex.cpp multigame.cpp arbitrile.cpp 
> rulegen.cpp *.cpp > autohdr.h
> +@@ -165,10 +146,10 @@ language-data.cpp: langen$(EXE_EXTENSION)
>   ./langen > language-data.cpp
>   
>   savepng$(OBJ_EXTENSION): savepng.cpp
> diff --git a/games/hyperrogue/pkg/PLIST b/games/hyperrogue/pkg/PLIST
> index 3095c30894e..9d6c

Re: NEW: games/classicube

2024-05-02 Thread Thomas Frohwein
On Tue, Apr 30, 2024 at 11:13:40AM +0200, Sebastian Reitenbach wrote:
> On Tuesday, April 30, 2024 07:47 CEST, izder456  wrote:
> 
> > Awh jeez. It is too late for this.
> > 
> > Fixed trailing whitespace in pkg/README, as well as removed leftover
> > PLIST.orig.
> > 
> > this should be the last of my mails in this thread unless something
> > comes up.
> > 
> > OK to merge?
> 
> lgtm, OK sebastia@

So what was the reason for your earlier Error 2 when starting game?
> 
> > 
> > -- 
> > -iz (they/them)
> > 
> > > i like to say mundane things, 
> > > there are too many uninteresting things 
> > > that go unnoticed.
> > 
> > izder456 (dot) neocities (dot) org
> 



Re: cmake.port.mk: limit max number of autogen moc/uic processes

2024-05-02 Thread Rafael Sadowski
On Wed May 01, 2024 at 08:54:44PM GMT, Jeremie Courreges-Anglas wrote:
> 
> Some projects use cmake_autogen to generate moc/uic/rcc jobs.  The max
> number of parallel jobs to run is AUTOGEN_PARALLEL[0], itself
> initialized by CMAKE_AUTOGEN_PARALLEL.  By default it's empty, which
> means cmake_autogen will start up to $ncpus jobs on the system.  Those
> $ncpus are children of the cmake_autogen process and aren't accounted
> in the global pool of ${MAKE_JOBS} jobs.  So if you build an affected
> port with MAKE_JOBS=1 on a 16 cores machine, you end up with 1
> cmake_autogen job + 16 moc/uic jobs = 17 jobs.  That's not nice as we
> may have other ports building in parallel.
> 
> The diff below attempts to limit the max number of autogen jobs to
> ${MAKE_JOBS}, so that the max number of jobs running at any time
> doesn't exceed 2 * ${MAKE_JOBS}.  Looks like there is no way to get
> exactly ${MAKE_JOBS} jobs in total, but hopefully the behavior should
> now be saner.
> 
> Issue spotted while looking at qgis.  Thoughts?  ok?
> 
> [0] https://cmake.org/cmake/help/latest/prop_tgt/AUTOGEN_PARALLEL.html
> [1] https://cmake.org/cmake/help/latest/variable/CMAKE_AUTOGEN_PARALLEL.html

I didn't know that we could also control this! Great finding!

Tested with digikam and it looks like "/usr/local/bin/cmake -E
cmake_autogen" uses the correct ${MAKE_JOBS} jobs.

> 
> 
> Index: cmake.port.mk
> ===
> RCS file: /home/cvs/ports/devel/cmake/cmake.port.mk,v
> diff -u -p -r1.84 cmake.port.mk
> --- cmake.port.mk 29 Jul 2023 11:53:23 -  1.84
> +++ cmake.port.mk 1 May 2024 18:49:32 -
> @@ -13,6 +13,10 @@ CONFIGURE_ENV += MODCMAKE_USE_SHARED_LIB
>  MAKE_ENV += MODCMAKE_USE_SHARED_LIBS=yes
>  .endif
>  
> +# Limit the number of moc/uic processes started by cmake_autogen
> +# (default: number of CPUs on the system)
> +CONFIGURE_ARGS += -DCMAKE_AUTOGEN_PARALLEL=${MAKE_JOBS}
> +
>  USE_NINJA ?= Yes
>  
>  .if ${USE_NINJA:L} == "yes"

Could we add it above, please?

"CONFIGURE_ARGS :=>---DCMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line"

Otherwise OK rsadowski



Re: UPDATE: libsamplerate

2024-05-02 Thread Kirill A . Korinsky
On Thu, 02 May 2024 14:29:26 +0200,
Jan Stary  wrote:
> 
> Sorry, I don't understand at all how this concerns
> the OpenBSD port of libsamplerate: the Benchmark does not
> mention an OS or an architecture, so what is this being run on?
>

Because it seems like a magic. Special in the case of clang.

I don't belive in magic, and I've a bit changed result to check that it
really works, and result is quite different:
https://quick-bench.com/q/twMsv0sSWQvlWFjg7P0vfISBMUk

-- 
wbr, Kirill



Re: [update] geo/traccar 6.1

2024-05-02 Thread Renaud Allard

small ping :)

On 4/23/24 8:17 AM, Renaud Allard wrote:

oops, indeed
That's better now

On 4/22/24 7:43 PM, Stuart Henderson wrote:

oh, diff wasn't included :)


On 2024/04/20 10:18, Renaud Allard wrote:

Hello,

Here is an update for geo/traccar 6.1.
Tested on amd64


Legacy app is now removed by default from 6.0 onwards, but is still
available on GitHub for those who still want to use it. This should 
maybe

be added to upgrade76.html.

Best Regards


Index: Makefile
===
RCS file: /cvs/ports/geo/traccar/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile	30 Jan 2024 08:35:22 -	1.37
+++ Makefile	20 Apr 2024 08:16:29 -
@@ -1,5 +1,5 @@
 COMMENT =	modern GPS tracking platform
-V =		5.12
+V =		6.1
 PKGNAME =	traccar-${V}
 DISTNAME =	traccar-other-${V}
 EXTRACT_SUFX =	.zip
Index: distinfo
===
RCS file: /cvs/ports/geo/traccar/distinfo,v
retrieving revision 1.24
diff -u -p -r1.24 distinfo
--- distinfo	30 Jan 2024 08:35:22 -	1.24
+++ distinfo	20 Apr 2024 08:16:29 -
@@ -1,2 +1,2 @@
-SHA256 (traccar-other-5.12.zip) = JaYb6p1G1cGyY8mlP72yg0wMPvHA2qVK6ZV5wKtKzN8=
-SIZE (traccar-other-5.12.zip) = 142494458
+SHA256 (traccar-other-6.1.zip) = navhK4wKWE2OwOPMUHzTejtxgNQELGT8UT5El+w9ZUs=
+SIZE (traccar-other-6.1.zip) = 130279335
Index: patches/patch-conf_default_xml
===
RCS file: /cvs/ports/geo/traccar/patches/patch-conf_default_xml,v
retrieving revision 1.14
diff -u -p -r1.14 patch-conf_default_xml
--- patches/patch-conf_default_xml	30 Jan 2024 08:35:22 -	1.14
+++ patches/patch-conf_default_xml	20 Apr 2024 08:16:29 -
@@ -1,15 +1,15 @@
 Index: conf/default.xml
 --- conf/default.xml.orig
 +++ conf/default.xml
-@@ -12,6 +12,7 @@
- 
- 8082
- ./modern
-+127.0.0.1
+@@ -15,6 +15,7 @@
+ ./override
  false
  false
++127.0.0.1
  true
-@@ -23,7 +24,7 @@
+ 
+ true
+@@ -24,7 +25,7 @@
  true
  
  info
@@ -18,7 +18,7 @@ Index: conf/default.xml
  true
  
  true
-@@ -34,8 +35,6 @@
+@@ -35,8 +36,6 @@
  ./media
  
  web,mail,command
Index: pkg/PLIST
===
RCS file: /cvs/ports/geo/traccar/pkg/PLIST,v
retrieving revision 1.27
diff -u -p -r1.27 PLIST
--- pkg/PLIST	30 Jan 2024 08:35:22 -	1.27
+++ pkg/PLIST	20 Apr 2024 08:16:29 -
@@ -28,968 +28,6 @@ share/traccar/conf/traccar.xml
 @mode
 @owner
 @group
-share/traccar/legacy/
-share/traccar/legacy/app/
-share/traccar/legacy/app.css
-share/traccar/legacy/app.js
-share/traccar/legacy/app.min.js
-share/traccar/legacy/app/Application.js
-share/traccar/legacy/app/AttributeFormatter.js
-share/traccar/legacy/app/DeviceImages.js
-share/traccar/legacy/app/GeofenceConverter.js
-share/traccar/legacy/app/Style.js
-share/traccar/legacy/app/controller/
-share/traccar/legacy/app/controller/Root.js
-share/traccar/legacy/app/model/
-share/traccar/legacy/app/model/Attribute.js
-share/traccar/legacy/app/model/Calendar.js
-share/traccar/legacy/app/model/Command.js
-share/traccar/legacy/app/model/ComputedAttribute.js
-share/traccar/legacy/app/model/Device.js
-share/traccar/legacy/app/model/Driver.js
-share/traccar/legacy/app/model/Event.js
-share/traccar/legacy/app/model/Geofence.js
-share/traccar/legacy/app/model/Group.js
-share/traccar/legacy/app/model/KnownAttribute.js
-share/traccar/legacy/app/model/KnownCommand.js
-share/traccar/legacy/app/model/KnownNotification.js
-share/traccar/legacy/app/model/KnownNotificator.js
-share/traccar/legacy/app/model/Maintenance.js
-share/traccar/legacy/app/model/Notification.js
-share/traccar/legacy/app/model/Position.js
-share/traccar/legacy/app/model/ReportStop.js
-share/traccar/legacy/app/model/ReportSummary.js
-share/traccar/legacy/app/model/ReportTrip.js
-share/traccar/legacy/app/model/Server.js
-share/traccar/legacy/app/model/Statistics.js
-share/traccar/legacy/app/model/User.js
-share/traccar/legacy/app/store/
-share/traccar/legacy/app/store/AlarmTypes.js
-share/traccar/legacy/app/store/AllCalendars.js
-share/traccar/legacy/app/store/AllCommandTypes.js
-share/traccar/legacy/app/store/AllCommands.js
-share/traccar/legacy/app/store/AllComputedAttributes.js
-share/traccar/legacy/app/store/AllDevices.js
-share/traccar/legacy/app/store/AllDrivers.js
-share/traccar/legacy/app/store/AllGeofences.js
-share/traccar/legacy/app/store/AllGroups.js
-share/traccar/legacy/app/store/AllMaintenances.js
-share/traccar/legacy/app/store/AllNotificationTypes.js
-share/traccar/legacy/app/store/AllNotifications.js
-share/traccar/legacy/app/store/AllNotificators.js
-share/traccar/legacy/app/store/AllTimezones.js
-share/traccar/legacy/app/store/AttributeValueTypes.js
-share/traccar/legacy/app/store/Attributes.js
-share/traccar/legacy/app/store/Calendars.js
-share/traccar/legacy/app/store/CommandTypes.js
-share/traccar/legacy/app/s

Re: RADXIDE to OpenBSD

2024-05-02 Thread Dan
Hello,

Just want to check one more time if there is any developer
who wants to help making a port of RADXIDE for OpenBSD.

https://github.com/par7133/RADXIDE
Licence: MIT
Language: Tcl/Tk

( actually tested on OpenBSD till 7.4 )

Thanks,

-Dan



Re: Fwd: Re: RADXIDE to OpenBSD [from @ports]

2024-05-02 Thread Stuart Henderson
I'm not interested in this.

On 2024/05/02 14:44, dan wrote:
> 
> Hello Stu, any help from your side?
> 
> 
> -Dan
> 
> May 2, 2024 13:45:53 Dan :
> 
> 
> Hello,
> 
> Just want to check one more time if there is any developer
> who wants to help making a port of RADXIDE for OpenBSD.
> 
> https://github.com/par7133/RADXIDE
> Licence: MIT
> Language: Tcl/Tk
> 
> ( actually tested on OpenBSD till 7.4 )
> 
> Thanks,
> 
> -Dan



Re: UPDATE: libsamplerate

2024-05-02 Thread Jan Stary
On May 02 13:04:54, s...@spacehopper.org wrote:
> On 2024/05/01 21:04, Jan Stary wrote:
> > On May 01 11:00:12, s...@spacehopper.org wrote:
> > > On 2024/05/01 11:21, Jan Stary wrote:
> > > > Hi,
> > > > 
> > > > On Apr 26 20:46:51, b...@comstyle.com wrote:
> > > > > Implement SSE2 lrint() and lrintf() on amd64.
> > > > 
> > > > I don't think this is worth the added complexity:
> > > > seven more patches to have a different lrint()?
> > > > Does it make the resampling noticably better/faster?
> > > 
> > > Playing with the benchmark mentioned in
> > > https://github.com/libsndfile/libsamplerate/issues/187
> > > suggests that it's going to be *hugely* faster with clang (and a bit
> > > faster with gcc).
> > 
> > This talks about a MSVC build compared to a MinGW64 build on windows.
> > Is that also relevant to an AMD64 build on OpenBSD? I just rebuilt
> > with the diff - what would be a good way to test the actual performance
> > before and after?
> 
> oh, actually it was the bench in the linked PR that I played with,
> 
> https://github.com/libsndfile/libsndfile/pull/663
> -> https://quick-bench.com/q/OabKT-gEOZ8CYDriy1JEwq1lEsg
> 
> where there's a huge difference in clang builds.

Sorry, I don't understand at all how this concerns
the OpenBSD port of libsamplerate: the Benchmark does not
mention an OS or an architecture, so what is this being run on?

Anyway, just running it (Run Benchmark) gives the result
of cpu_time of 722.537 for BM_d2les_array (using lrint)
and cpu_time of 0 for BM_d2les_array_sse2 (using psf_lrint),
reporting a speedup ratio of 200,000,000.

That's not an example of what I have in mind: a simple application
of libsamplerate, sped up by the usage of the new SSE2 lrint,
as in Brad's diff.

I am not sure my naive test is a test at all, as it operates on floats,
so perhaps lrint() never even comes to play. That is libsamplerate's
"simple API" - I will try to come up with something that actualy
conevrts to ints while resampling. But maybe someone already has
a good example of such a speedup.


Jan





> On 2024/05/01 22:14, Jan Stary wrote:
> > > what would be a good way to test the actual performance before and after?
> 
> any suggestions Brad?
> 
> > OK, here's a naive example: using SRC_LINEAR,
> > convert 4 hours of silence from 48000 to 44100.
> > 
> > Before:
> > 
> > 0m17.23s real 0m11.63s user 0m03.52s system
> > 0m17.03s real 0m11.35s user 0m03.58s system
> > 0m17.55s real 0m11.68s user 0m03.72s system
> > 
> > After:
> > 
> > 0m17.98s real 0m12.40s user 0m03.41s system
> > 0m17.98s real 0m12.13s user 0m03.78s system
> > 0m18.10s real 0m12.44s user 0m03.57s system
> > 
> > Same thing with four hours worth of a sine wave:
> > 
> > Before:
> > 
> > 0m29.87s real 0m24.28s user 0m03.42s system
> > 0m29.85s real 0m23.79s user 0m03.77s system
> > 0m29.75s real 0m24.28s user 0m03.21s system
> > 
> > After:
> > 
> > 0m30.54s real 0m24.91s user 0m03.55s system
> > 0m30.51s real 0m24.70s user 0m03.64s system
> > 0m30.65s real 0m24.91s user 0m03.44s system
> > 
> > This is an amd64 machine using clang 16.0.6
> > Is my test naive? Am I missing something?
> > (How much lrintf gets used inside this?)
> > 
> > Jan
> > 
> > 
> > 
> > OpenBSD 7.5-current (GENERIC.MP) #34: Sat Apr 27 21:19:57 MDT 2024
> > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > real mem = 8285454336 (7901MB)
> > avail mem = 8013254656 (7642MB)
> > random: good seed from bootblocks
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (36 entries)
> > bios0: vendor Award Software International, Inc. version "F3" date 
> > 03/31/2011
> > bios0: Gigabyte Technology Co., Ltd. H67MA-USB3-B3
> > acpi0 at bios0: ACPI 1.0
> > acpi0: sleep states S0 S3 S4 S5
> > acpi0: tables DSDT FACP HPET MCFG ASPT SSPT EUDS MATS TAMG APIC SSDT
> > acpi0: wakeup devices PCI0(S5) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) 
> > PEX5(S5) PEX6(S5) PEX7(S5) HUB0(S5) UAR1(S3) USBE(S3) USE2(S3) AZAL(S5)
> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > acpihpet0 at acpi0: 14318179 Hz
> > acpimcfg0 at acpi0
> > acpimcfg0: addr 0xf400, bus 0-63
> > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 3492.09 MHz, 06-2a-07, patch 
> > 002f
> > cpu0: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
> > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 
> > 64b/line 8-way L2 cache, 8MB 64b/line 16-way L3 cache
> > cpu0: smt 0, core 0, package 

Re: mail/imapdedup: new port

2024-05-02 Thread Stuart Henderson
On 2024/05/01 20:03, Kirill A. Korinsky wrote:
> Anyone?
> 
> On Thu, 25 Apr 2024 00:18:23 +0200,
> Kirill A. Korinsky  wrote:
> > 
> > [1  ]
> > Greetings,
> > 
> > I'd like to offer a small python script which is called imapdedup. Idea of
> > this script is remove duplicated emails from IMAP server.
> > 
> > It has only one optional dependency: keyring.
> > 
> > I use this script more than once.
> > 
> > -- 
> > wbr, Kirill
> > [2 imapdedup.tgz ]
> 
> -- 
> wbr, Kirill
> 

I think it's OK with this on top:

- some whitespace nits ("FOO=" vs "FOO =")

- it doesn't use the normal Python build mechanisms so shouldn't use the
MODPY_PYBUILD (you can set CONFIGURE_STYLE=none to workaround the python
module trying to run setup.py) or MODPY_EGG_VERSION

- use MODPY_ADJ_FILES rather than a handrolled implementation

- use a PKGNAME version that will allow using an upstream version number
directly if they change to providing releases sometime

diff --git mail/imapdedup/Makefile mail/imapdedup/Makefile
index 3849a0f..f1334c0 100644
--- mail/imapdedup/Makefile
+++ mail/imapdedup/Makefile
@@ -1,9 +1,8 @@
 COMMENT =  IMAP message de-duplicator
 
 V =b232a13bf923292dccb0dd22a78b74e20950daf3
-MODPY_EGG_VERSION= 20240131
 
-PKGNAME =  imapdedup-${MODPY_EGG_VERSION}
+PKGNAME =  imapdedup-0.0.20240131
 
 DIST_TUPLE +=  github quentinsf IMAPdedup ${V} .
 
@@ -14,19 +13,15 @@ HOMEPAGE =  https://quentinsf.com/software/imapdedup
 # GPLv2+
 PERMIT_PACKAGE=Yes
 
-MODULES=   lang/python
-
-MODPY_PI=  no
-MODPY_PYBUILD =other
+MODULES =  lang/python
+MODPY_ADJ_FILES =  imapdedup.py
+CONFIGURE_STYLE =  none
 
 RUN_DEPENDS=   security/py-keyring${MODPY_FLAVOR}
 
 NO_BUILD = Yes
 NO_TEST =  Yes
 
-pre-configure:
-   ${SUBST_CMD} ${WRKSRC}/imapdedup.py
-
 do-install:
${INSTALL_SCRIPT} ${WRKSRC}/imapdedup.py ${PREFIX}/bin/imapdedup
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/imapdedup



riscv64 bulk build report

2024-05-02 Thread jca
Bulk build on riscv64-1.ports.openbsd.org

Started : Sun Apr 21 11:41:22 MDT 2024
Finished: Thu May  2 05:39:42 MDT 2024
Duration: 10 Days 17 hours 58 minutes

Built using OpenBSD 7.5-current (GENERIC.MP) #0: Sat Apr 20 03:20:29 MDT 2024

Built 10544 packages

Number of packages built each day:
Apr 21: 2683
Apr 22: 1013
Apr 23: 488
Apr 24: 376
Apr 25: 454
Apr 26: 511
Apr 27: 840
Apr 28: 824
Apr 29: 3021
Apr 30: 225
May 1: 106
May 2: 3


Critical path missing pkgs:
http://build-failures.rhaalovely.net/riscv64/2024-04-21/summary.log

Build failures: 46
http://build-failures.rhaalovely.net/riscv64/2024-04-21/devel/reposurgeon.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/devel/tea.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/games/eduke32.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/games/nblood.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/graphics/ruby-rmagick,ruby33.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/lang/gleam.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/net/dino.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/net/dt.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/net/eduvpn/vpn-daemon.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/net/iamb.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/net/irtt.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/net/minio/client.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/net/minio/server.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/net/sping.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/net/tailscale.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/net/wormhole-william.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/security/nuclei.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/security/ogvt.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/security/sops.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/security/step-cli.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/security/vault.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/shells/elvish.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/amazon-ecs-cli.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/beats/filebeat.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/beats/heartbeat.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/beats/metricbeat.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/beats/packetbeat.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/borgbackup/2.0.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/chezmoi.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/dep.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/direnv.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/gitlab-runner.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/lf.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/nomad.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/oc.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/planor.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/promscale.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/rclone.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/serf.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/telegraf.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/sysutils/terragrunt.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/textproc/apertium-dicts/fra-cat.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/textproc/gron.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/textproc/slides.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/www/chromium.log
http://build-failures.rhaalovely.net/riscv64/2024-04-21/www/netsurf/browser.log

Recurrent failures:
 failures/devel/reposurgeon.log
 failures/devel/tea.log
 failures/graphics/ruby-rmagick,ruby33.log
 failures/net/dt.log
 failures/net/eduvpn/vpn-daemon.log
 failures/net/iamb.log
 failures/net/minio/client.log
 failures/net/minio/server.log
 failures/net/sping.log
 failures/net/tailscale.log
 failures/net/wormhole-william.log
 failures/security/nuclei.log
 failures/security/ogvt.log
 failures/security/sops.log
 failures/security/step-cli.log
 failures/security/vault.log
 failures/shells/elvish.log
 failures/sysutils/dep.log
 failures/sysutils/direnv.log
 failures/sysutils/gitlab-runner.log
 failures/sysutils/lf.log
 failures/sysutils/nomad.log
 failures/sysutils/oc.log
 failures/sysutils/serf.log
 failures/sysutils/telegraf.log
 failures/sysutils/terragrunt.log
 failures/textproc/gron.log
 failures/www/chromium.log

New failures:
+failures/games/eduke32.log
+failures/games

Re: UPDATE: libsamplerate

2024-05-02 Thread Stuart Henderson
On 2024/05/01 21:04, Jan Stary wrote:
> On May 01 11:00:12, s...@spacehopper.org wrote:
> > On 2024/05/01 11:21, Jan Stary wrote:
> > > Hi,
> > > 
> > > On Apr 26 20:46:51, b...@comstyle.com wrote:
> > > > Implement SSE2 lrint() and lrintf() on amd64.
> > > 
> > > I don't think this is worth the added complexity:
> > > seven more patches to have a different lrint()?
> > > Does it make the resampling noticably better/faster?
> > 
> > Playing with the benchmark mentioned in
> > https://github.com/libsndfile/libsamplerate/issues/187
> > suggests that it's going to be *hugely* faster with clang (and a bit
> > faster with gcc).
> 
> This talks about a MSVC build compared to a MinGW64 build on windows.
> Is that also relevant to an AMD64 build on OpenBSD? I just rebuilt
> with the diff - what would be a good way to test the actual performance
> before and after?

oh, actually it was the bench in the linked PR that I played with,

https://github.com/libsndfile/libsndfile/pull/663
-> https://quick-bench.com/q/OabKT-gEOZ8CYDriy1JEwq1lEsg

where there's a huge difference in clang builds.

On 2024/05/01 22:14, Jan Stary wrote:
> > what would be a good way to test the actual performance before and after?

any suggestions Brad?

> OK, here's a naive example: using SRC_LINEAR,
> convert 4 hours of silence from 48000 to 44100.
> 
> Before:
> 
> 0m17.23s real 0m11.63s user 0m03.52s system
> 0m17.03s real 0m11.35s user 0m03.58s system
> 0m17.55s real 0m11.68s user 0m03.72s system
> 
> After:
> 
> 0m17.98s real 0m12.40s user 0m03.41s system
> 0m17.98s real 0m12.13s user 0m03.78s system
> 0m18.10s real 0m12.44s user 0m03.57s system
> 
> Same thing with four hours worth of a sine wave:
> 
> Before:
> 
> 0m29.87s real 0m24.28s user 0m03.42s system
> 0m29.85s real 0m23.79s user 0m03.77s system
> 0m29.75s real 0m24.28s user 0m03.21s system
> 
> After:
> 
> 0m30.54s real 0m24.91s user 0m03.55s system
> 0m30.51s real 0m24.70s user 0m03.64s system
> 0m30.65s real 0m24.91s user 0m03.44s system
> 
> This is an amd64 machine using clang 16.0.6
> Is my test naive? Am I missing something?
> (How much lrintf gets used inside this?)
> 
>   Jan
> 
> 
> 
> OpenBSD 7.5-current (GENERIC.MP) #34: Sat Apr 27 21:19:57 MDT 2024
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8285454336 (7901MB)
> avail mem = 8013254656 (7642MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (36 entries)
> bios0: vendor Award Software International, Inc. version "F3" date 03/31/2011
> bios0: Gigabyte Technology Co., Ltd. H67MA-USB3-B3
> acpi0 at bios0: ACPI 1.0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP HPET MCFG ASPT SSPT EUDS MATS TAMG APIC SSDT
> acpi0: wakeup devices PCI0(S5) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) 
> PEX5(S5) PEX6(S5) PEX7(S5) HUB0(S5) UAR1(S3) USBE(S3) USE2(S3) AZAL(S5)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xf400, bus 0-63
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 3492.09 MHz, 06-2a-07, patch 
> 002f
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
> cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 
> 64b/line 8-way L2 cache, 8MB 64b/line 16-way L3 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 3492.12 MHz, 06-2a-07, patch 
> 002f
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
> cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 
> 64b/line 8-way L2 cache, 8MB 64b/line 16-way L3 cache
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 4 (application processor)
> cpu2: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 3492.19 MHz, 06-2a-07, patch 
> 002f
> cpu2: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CP

Re: new/replace: opensmtpd-extras-* with opensmtpd-tables-*

2024-05-02 Thread Stuart Henderson
Personally I would have done this as a plain removal of the old packages
and ask people (via current.html and quirks obsolete_reason) to remove
the old ones themselves, then EPOCH stuff can be avoided in the new
ports, and we don't end up with a not-really-useful meta package lying
around (i.e. a small amount of extra work for upgraders, but less cruft
lying around, and the resulting ports are simpler).

But if you want to do it via that method then what you have in
quirks/@conflict/@pkgpath looks correct and works in my tests.
You'll also need to cvs rm -f opensmtpd-extras/distinfo.

A couple of nits:

opensmtpd-tables/Makefile.inc
-EPOCH =1
+EPOCH ?=   1

opensmtpd-tables/socketmap/pkg/DESCR
-The new text protocol smtpd-tables(7) bulit into smtpd(8) is now
+The new text protocol smtpd-tables(7) built into smtpd(8) is now

and, devel/quirks/files/Quirks.pm - would 31 be better for
opensmtpd-extras-python?



Re: new/replace: opensmtpd-extras-* with opensmtpd-tables-*

2024-05-02 Thread Omar Polo
On 2024/04/30 16:10:28 +0200, Omar Polo  wrote:
> With the upcoming change in the transport layer for the tables, we've
> also taken the chance to split them into separate repositories.
> 
> The idea is to remove the current opensmtpd-extra-* packages and import
> the new set of opensmtpd-table-* packages (in the tarball attached.)
> 
> The queue, schedulers and table-python will be removed, the other
> remains the same for the end-user point of view.
> 
> (queue-{null,ram,stub} and schedule-{ram,stub} I don't think are useful
> nor really used.  If anyone is using table-python I can help adapting it,
> but they should really update to python3 and implement the stdio
> protocol.  It's amazing how easy it is to write tables now.)
> 
> The -mysql, -pgqsl and -redis package gets replaced with their
> corresponding opensmtpd-table-* package.  -main instead can't be
> migrated since it contains several tables that are now in different
> repos.
> 
> To make the migration smooth, I decided to keep opensmtpd-extras-main as
> an empty "meta" package that depends on opensmtpd-table-{ldap,passwd,
> socketmap,sqlite}.
> 
> I verified by running pkg_add -u in /usr/ports/packages/... that the
> migration is painless, but please pay attention to the quirks diff and
> @conflict and @pkgpath lines in the PLISTs.
> 
> ok to import?

Updated diff after a quirks change.

Index: devel/quirks/Makefile
===
RCS file: /home/cvs/ports/devel/quirks/Makefile,v
diff -u -p -r1.1613 Makefile
--- devel/quirks/Makefile   1 May 2024 10:24:18 -   1.1613
+++ devel/quirks/Makefile   2 May 2024 09:17:50 -
@@ -3,7 +3,7 @@ CATEGORIES =devel databases
 DISTFILES =
 
 # API.rev
-PKGNAME =  quirks-7.21
+PKGNAME =  quirks-7.22
 PKG_ARCH = *
 MAINTAINER =   Marc Espie 
 
Index: devel/quirks/files/Quirks.pm
===
RCS file: /home/cvs/ports/devel/quirks/files/Quirks.pm,v
diff -u -p -r1.1624 Quirks.pm
--- devel/quirks/files/Quirks.pm1 May 2024 10:24:18 -   1.1624
+++ devel/quirks/files/Quirks.pm2 May 2024 09:13:17 -
@@ -813,13 +813,16 @@ my $stem_extensions = {
'sendxmpp' => 'go-sendxmpp',
'libreddit' => 'redlib',
'rebar3' => 'erl25-rebar3',
+# 7.6
'stalwart-cli' => 'stalwart-mail',
'stalwart-jmap' => 'stalwart-mail',
'stalwart-imap' => 'stalwart-mail',
'stalwart-smtp' => 'stalwart-mail',
'BlockZone' => 'blockzone',
-# 7.6
'tepl' => 'libgedit-tepl',
+   'opensmtpd-extras-mysql' => 'opensmtpd-table-mysql',
+   'opensmtpd-extras-pgsql' => 'opensmtpd-table-postgres',
+   'opensmtpd-extras-redis' => 'opensmtpd-table-redis',
 };
 
 my $obsolete_reason = {};
@@ -1924,6 +1927,7 @@ setup_obsolete_reason(
31 => 'mkplaylist',
1 => 'proteus',
1 => qr{^tryton},
+# 7.6
5 => 'py3-pyls-black',
5 => 'py3-python-language-server',
5 => 'py3-python-jsonrpc-server',
@@ -1932,6 +1936,7 @@ setup_obsolete_reason(
3 => 'transcode',
3 => 'phonon-backend-gstreamer',
0 => 'gone',
+   6 => 'opensmtpd-extras-python'
 );
 
 # though it's not yet used, these should be pkgnames, so that eventually
Index: mail/opensmtpd-extras/Makefile
===
RCS file: /home/cvs/ports/mail/opensmtpd-extras/Makefile,v
diff -u -p -r1.38 Makefile
--- mail/opensmtpd-extras/Makefile  31 Jan 2024 18:00:10 -  1.38
+++ mail/opensmtpd-extras/Makefile  30 Apr 2024 13:41:28 -
@@ -1,21 +1,8 @@
-COMMENT-main=  extras for smtpd
-COMMENT-mysql= mysql based smtpd table support
-COMMENT-pgsql= postgresql based smtpd table support
-COMMENT-python=extras with python bindings for smtpd
-COMMENT-redis= redis based smtpd table support
-
-V= 6.7.1
-DISTNAME=  opensmtpd-extras-${V}
-PKGNAME-main=  ${DISTNAME}
-PKGNAME-mysql= opensmtpd-extras-mysql-${V}
-PKGNAME-pgsql= opensmtpd-extras-pgsql-${V}
-PKGNAME-python=opensmtpd-extras-python-${V}
-PKGNAME-redis= opensmtpd-extras-redis-${V}
-REVISION-main= 0
-REVISION-mysql=1
-REVISION-pgsql=1
-REVISION-python=   0
-REVISION-redis=0
+COMMENT-main=  meta package with common OpenSMTPD tables
+
+PKGNAME=   opensmtpd-extras-6.7.1
+PKGNAME-main=  ${PKGNAME}
+REVISION-main= 1
 EPOCH= 0
 
 CATEGORIES=mail
@@ -25,58 +12,21 @@ HOMEPAGE=   https://www.opensmtpd.org/
 MAINTAINER=Giovanni Bechis , \
Joerg Jung 
 
-MULTI_PACKAGES=-main -mysql -pgsql -python -redis
+MULTI_PACKAGES=-main
 
 # BSD
 PERMIT_PACKAGE=Yes
 
-WANTLIB-main=  c cry

[PATCH] update print/texinfo to 7.1

2024-05-02 Thread Dima Pasechnik
Dear all,

A straightforward update; it appears that the patch has been merged
upstream (with a subsequent refactoring - one can find patched lines, in
a different file).

Only worked with gmake for me (thus it's used now).

REVISION - I commented it out - correct?

Patch attached.

Dima

diff --git a/print/texinfo/Makefile b/print/texinfo/Makefile
index eded47a982b..3b46f4504a2 100644
--- a/print/texinfo/Makefile
+++ b/print/texinfo/Makefile
@@ -1,12 +1,14 @@
 COMMENT =  official documentation format of the GNU project
 
-DISTNAME = texinfo-6.5
-REVISION = 4
+DISTNAME = texinfo-7.1
+# REVISION =   1
 
 CATEGORIES =   print
 
 HOMEPAGE = https://www.gnu.org/software/texinfo/
 
+USE_GMAKE = Yes
+
 # GPLv3
 PERMIT_PACKAGE =   Yes
 
diff --git a/print/texinfo/distinfo b/print/texinfo/distinfo
index 99686ad2554..c469544cfc6 100644
--- a/print/texinfo/distinfo
+++ b/print/texinfo/distinfo
@@ -1,2 +1,2 @@
-SHA256 (texinfo-6.5.tar.gz) = 00Jy5AQsRhht3NZr1dmAwMoU/3NERGhsz4Ex9uyLFCc=
-SIZE (texinfo-6.5.tar.gz) = 9311787
+SHA256 (texinfo-7.1.tar.gz) = 
dd5710b3a53ac002644677a06145748e260592a35be182dc830ebebb79c5d5a0
+SIZE (texinfo-7.1.tar.gz) = 12118819
diff --git a/print/texinfo/patches/patch-tp_Texinfo_Parser_pm 
b/print/texinfo/patches/patch-tp_Texinfo_Parser_pm
deleted file mode 100644
index 05359026d5a..000
--- a/print/texinfo/patches/patch-tp_Texinfo_Parser_pm
+++ /dev/null
@@ -1,17 +0,0 @@
-Index: tp/Texinfo/Parser.pm
 tp/Texinfo/Parser.pm.orig
-+++ tp/Texinfo/Parser.pm
-@@ -5478,11 +5478,11 @@ sub _parse_special_misc_command()
- }
-   } elsif ($command eq 'clickstyle') {
- # REMACRO
--if ($line =~ /^\s+@([[:alnum:]][[:alnum:]\-]*)({})?\s*/) {
-+if ($line =~ /^\s+@([[:alnum:]][[:alnum:]\-]*)(\{\})?\s*/) {
-   $args = ['@'.$1];
-   $self->{'clickstyle'} = $1;
-   $remaining = $line;
--  $remaining =~ 
s/^\s+@([[:alnum:]][[:alnum:]\-]*)({})?\s*(\@(c|comment)((\@|\s+).*)?)?//;
-+  $remaining =~ 
s/^\s+@([[:alnum:]][[:alnum:]\-]*)(\{\})?\s*(\@(c|comment)((\@|\s+).*)?)?//;
-   $has_comment = 1 if (defined($4));
- } else {
-   $self->line_error (sprintf($self->__(
diff --git a/print/texinfo/pkg/PLIST b/print/texinfo/pkg/PLIST
index 95bacf5ccdb..1998136ad9c 100644
--- a/print/texinfo/pkg/PLIST
+++ b/print/texinfo/pkg/PLIST
@@ -8,15 +8,14 @@ bin/gtexi2dvi
 bin/gtexi2pdf
 bin/gtexindex
 info/ginfo-stnd.info
+info/gtexi2any_api.info
+info/gtexi2any_internals.info
 info/gtexinfo.info
 info/gtexinfo.info-1
 info/gtexinfo.info-2
 info/gtexinfo.info-3
-lib/texinfo/
 @comment lib/texinfo/MiscXS.la
-lib/texinfo/MiscXS.so
 @comment lib/texinfo/XSParagraph.la
-lib/texinfo/XSParagraph.so
 @man man/man1/ginfo.1
 @man man/man1/ginstall-info.1
 @man man/man1/gmakeinfo.1
@@ -36,21 +35,18 @@ share/locale/ca/LC_MESSAGES/texinfo_document.mo
 share/locale/cs/LC_MESSAGES/texinfo.mo
 share/locale/cs/LC_MESSAGES/texinfo_document.mo
 share/locale/da/LC_MESSAGES/texinfo.mo
-share/locale/da/LC_MESSAGES/texinfo_document.mo
 share/locale/de.us-ascii/
 share/locale/de.us-ascii/LC_MESSAGES/
 share/locale/de.us-ascii/LC_MESSAGES/texinfo_document.mo
 share/locale/de/LC_MESSAGES/texinfo.mo
 share/locale/de/LC_MESSAGES/texinfo_document.mo
-share/locale/de_AT/
-share/locale/de_AT/LC_MESSAGES/
-share/locale/de_AT/LC_MESSAGES/texinfo.mo
 share/locale/el/LC_MESSAGES/texinfo.mo
-share/locale/el/LC_MESSAGES/texinfo_document.mo
 share/locale/eo/LC_MESSAGES/texinfo.mo
 share/locale/eo/LC_MESSAGES/texinfo_document.mo
 share/locale/es/LC_MESSAGES/texinfo.mo
 share/locale/es/LC_MESSAGES/texinfo_document.mo
+share/locale/fi/LC_MESSAGES/texinfo.mo
+share/locale/fi/LC_MESSAGES/texinfo_document.mo
 share/locale/fr/LC_MESSAGES/texinfo.mo
 share/locale/fr/LC_MESSAGES/texinfo_document.mo
 share/locale/he/LC_MESSAGES/texinfo.mo
@@ -62,17 +58,22 @@ share/locale/id/LC_MESSAGES/texinfo.mo
 share/locale/it/LC_MESSAGES/texinfo.mo
 share/locale/it/LC_MESSAGES/texinfo_document.mo
 share/locale/ja/LC_MESSAGES/texinfo.mo
+share/locale/ka/LC_MESSAGES/texinfo.mo
 share/locale/nb/LC_MESSAGES/texinfo.mo
 share/locale/nl/LC_MESSAGES/texinfo.mo
 share/locale/nl/LC_MESSAGES/texinfo_document.mo
 share/locale/no.us-ascii/
 share/locale/no.us-ascii/LC_MESSAGES/
 share/locale/no.us-ascii/LC_MESSAGES/texinfo_document.mo
+share/locale/pl.iso-8859-2/
+share/locale/pl.iso-8859-2/LC_MESSAGES/
+share/locale/pl.iso-8859-2/LC_MESSAGES/texinfo_document.mo
 share/locale/pl/LC_MESSAGES/texinfo.mo
 share/locale/pl/LC_MESSAGES/texinfo_document.mo
 share/locale/pt.us-ascii/
 share/locale/pt.us-ascii/LC_MESSAGES/
 share/locale/pt.us-ascii/LC_MESSAGES/texinfo_document.mo
+share/locale/pt/LC_MESSAGES/texinfo.mo
 share/locale/pt/LC_MESSAGES/texinfo_document.mo
 share/locale/pt_BR.us-ascii/
 share/locale/pt_BR.us-ascii/LC_MESSAGES/
@@ -80,10 +81,16 @@ share/locale/pt_BR.us-ascii/LC_MESSAGES/texinfo_document.mo
 share/locale/pt_BR/LC_MESSAGES/texinfo.mo