[maintainer update] remind 4.2.2 -> 4.2.3

2023-02-10 Thread Martin Ziemer
This patch updates remind from 4.2.2 to 4.2.3.

Tested on amd64

Index: Makefile
===
RCS file: /cvs/ports/misc/remind/Makefile,v
retrieving revision 1.63
diff -u -p -r1.63 Makefile
--- Makefile2 Jan 2023 06:11:53 -   1.63
+++ Makefile11 Feb 2023 07:17:57 -
@@ -1,7 +1,7 @@
 COMMENT=   scripting language for reminders, with a Tk front end
 
-DISTNAME=  remind-04.02.02
-PKGNAME=   remind-4.2.2
+DISTNAME=  remind-04.02.03
+PKGNAME=   remind-4.2.3
 
 CATEGORIES=misc
 
Index: distinfo
===
RCS file: /cvs/ports/misc/remind/distinfo,v
retrieving revision 1.33
diff -u -p -r1.33 distinfo
--- distinfo2 Jan 2023 06:11:53 -   1.33
+++ distinfo11 Feb 2023 07:17:57 -
@@ -1,2 +1,2 @@
-SHA256 (remind-04.02.02.tar.gz) = 1VcfJg+D/BUtIYHJLGa402j9Fmx/wcD8f4FXj1nnIYw=
-SIZE (remind-04.02.02.tar.gz) = 492738
+SHA256 (remind-04.02.03.tar.gz) = 0hY/ee3+ErqPNucD1ZcisK7WbzT7dmV/9vQKus/sOgA=
+SIZE (remind-04.02.03.tar.gz) = 495502
Index: pkg/PLIST
===
RCS file: /cvs/ports/misc/remind/pkg/PLIST,v
retrieving revision 1.13
diff -u -p -r1.13 PLIST
--- pkg/PLIST   2 Jan 2023 06:11:53 -   1.13
+++ pkg/PLIST   11 Feb 2023 07:17:57 -
@@ -27,6 +27,7 @@ share/remind/ansitext.rem
 share/remind/holidays/
 share/remind/holidays/ca.rem
 share/remind/holidays/fr.rem
+share/remind/holidays/gr.rem
 share/remind/holidays/jewish.rem
 share/remind/holidays/us.rem
 share/remind/lang/
@@ -37,6 +38,7 @@ share/remind/lang/en.rem
 share/remind/lang/es.rem
 share/remind/lang/fi.rem
 share/remind/lang/fr.rem
+share/remind/lang/gr.rem
 share/remind/lang/is.rem
 share/remind/lang/it.rem
 share/remind/lang/nl.rem



UPDATE archivers/zstd-1.5.4

2023-02-10 Thread Bjorn Ketelaars
zstd-1.5.4 is a pretty big release benefiting from one year of work. It
offers performance improvements, as well as new features, and it fixes
some bugs. Details can be found at
https://github.com/facebook/zstd/releases/tag/v1.5.4

Bumped minor because of addition of symbols.

'make test' passes all tests, run tested with several consumers on
amd64, and build tested about half of the consumers.

Comments/OK?


diff --git Makefile Makefile
index c38c0d5bfb4..2a3b29ac836 100644
--- Makefile
+++ Makefile
@@ -1,9 +1,9 @@
 COMMENT =  zstandard fast real-time compression algorithm
 
-V =1.5.2
+V =1.5.4
 DISTNAME = zstd-${V}
 
-SHARED_LIBS =  zstd6.1 # 1.5.1
+SHARED_LIBS =  zstd6.2 # 1.5.4
 
 CATEGORIES =   archivers
 
diff --git distinfo distinfo
index 25b30205e17..84f5ab5dc76 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (zstd-1.5.2.tar.gz) = fELVb6wSaSmmqF28c/8dskEdBPEE+um96lEwVmOoP9A=
-SIZE (zstd-1.5.2.tar.gz) = 1936664
+SHA256 (zstd-1.5.4.tar.gz) = D0cJkq7a1UMSbQbvqzRNxfPhcYk4EEVXh9ODRzQ6RCQ=
+SIZE (zstd-1.5.4.tar.gz) = 2161536
diff --git patches/patch-lib_libzstd_mk patches/patch-lib_libzstd_mk
index 9f6a496dc90..c2272b3b354 100644
--- patches/patch-lib_libzstd_mk
+++ patches/patch-lib_libzstd_mk
@@ -3,7 +3,7 @@ Some compilers don't have -Wvla.
 Index: lib/libzstd.mk
 --- lib/libzstd.mk.orig
 +++ lib/libzstd.mk
-@@ -92,7 +92,7 @@ endif
+@@ -100,7 +100,7 @@ endif
  DEBUGFLAGS= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
  -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement \
  -Wstrict-prototypes -Wundef -Wpointer-arith \



Re: amd64-clang bulk build report

2023-02-10 Thread Yifei Zhan
On 23/02/11 05:02AM, Theo Buehler wrote:
> My clang 15 ports queue is empty. Below is the list of remaining build
> failures with some quick notes. Some of them still have obvious fixes.
> Either there is a maintainer who can look or the ports involve languages
> or build systems I don't enjoy dealing with.
> 
> www/midoricvs rm? [-Wint-conversion]

I think cvs rm is the way to go, from offical README[1]:

> ...built on top of Electron and React.

Seems like the midori as we know has been discontinued.

[1]: https://gitlab.com/midori-web/midori-desktop/-/blob/master/README.md



Re: amd64-clang bulk build report

2023-02-10 Thread Theo Buehler
My clang 15 ports queue is empty. Below is the list of remaining build
failures with some quick notes. Some of them still have obvious fixes.
Either there is a maintainer who can look or the ports involve languages
or build systems I don't enjoy dealing with.

comms/pilot-linkperl XS [-Wint-conversion] - still useful?
databases/p5-sybperlperl XS [-Wint-conversion] - has newer version (poorly 
done)

devel/arm-none-eabi/newlib  gcc code is beautiful [-Wint-conversion]
devel/avr32/gcc-bootstrap   gcc code is beautiful [-Wint-conversion]
devel/ti-msp430gcc  gcc code is beautiful [-Wint-conversion]

devel/py-llvmlite,python3   ...

devel/qcoro rsadowski - templated C++ is strange

games/lwjgl3kmos - Java SIGSEGV/SIGABRT
games/scorched3dautoconf - chokes on OpenAL

editors/axe imake [-Wint-conversion]
games/spiderimake/X headers [-Wint-conversion]
games/xjewelimake [-Wint-conversion]
misc/xgas   imake/X headers [-Wint-conversion]

japanese/Wnnespie [-Wint-conversion]
japanese/canna  espie [-Wint-conversion]

lang/crystaljcs - no llvm 15 support yet -> BROKEN
lang/ldcbcallah -> looks into update to 1.31b1 for llvm 15 
support

mail/geary  aja - vala generates bad code [-Wint-conversion]
x11/gnome/gitg  aja - vala generates bad code [-Wint-conversion]
x11/gnome/usage aja - vala generates bad code [-Wint-conversion]

net/irc yuck - still useful? header mess [-Wint-conversion]
net/nam stu - tk/missing header? [-Wint-conversion]

security/cryptcat   varargs - fix on tech / cvs rm?
security/john-jumbo sebastia - needs string.h [-Wint-conversion]
security/pivy   jmatthew - embedded OpenSSH/autoconf

shells/ksh93pascal [-Wint-conversion]

www/midori  cvs rm? [-Wint-conversion]
www/sogosebastia [-Wint-conversion]

x11/chbggtk/gnome stuff [-Wint-conversion]
x11/gnustep/pantomime   sebastia - [-Wint-conversion]
x11/mate/engrampa   robert - needs time.h for strptime [-Wint-conversion]

x11/rep-gtk lisp generated C code, incorrect types for coordinate 
getters [-Wint-conversion]



new: productivity/xournalpp: handwriting notetaking and PDF annotation

2023-02-10 Thread Yifei Zhan
Hi,

xournalpp (Xournal++) is a handwriting notetaking software with PDF annotation 
support. It has good balance in terms of lightweightness and feature and has 
been part of my notetaking workflow.

Tested on amd64, audio recording needs extra steps to enable and has been 
documented in README, PDF annotation with text and images also works fine.

This port requires cxx binding to be enabled for audio/portaudio-svn, a patch 
is 
included for that.

Both xournalpp and patched portaudio-svn passed portcheck and 
port-lib-depends-check. Builtin testing is not ported but any help is welcomed.

any comments? 


xournalpp.tar
Description: Unix tar archive
Index: Makefile
===
RCS file: /cvs/ports/audio/portaudio-svn/Makefile,v
retrieving revision 1.22
diff -u -p -u -r1.22 Makefile
--- Makefile11 Mar 2022 18:20:26 -  1.22
+++ Makefile11 Feb 2023 03:24:31 -
@@ -6,19 +6,23 @@ CATEGORIES=   audio
 MASTER_SITES = http://files.portaudio.com/archives/
 EXTRACT_SUFX = .tgz
 
-SHARED_LIBS =  portaudio   1.2
+SHARED_LIBS += portaudio   1.2
+SHARED_LIBS += portaudiocpp0.12
 
 HOMEPAGE=  http://www.portaudio.com/
 
 # MIT
 PERMIT_PACKAGE=Yes
 
-WANTLIB=   m pthread sndio
+WANTLIB += ${COMPILER_LIBCXX} m sndio
+
+COMPILER = base-clang ports-gcc
 
 USE_GMAKE= Yes
 AUTOCONF_VERSION = 2.69
 CONFIGURE_STYLE=   autoconf no-autoheader
-CONFIGURE_ARGS=--without-alsa --without-oss --without-jack
+CONFIGURE_ARGS=--without-alsa --without-oss --without-jack \
+   --enable-cxx
 
 # builds non-automated, interactive tests in ${WRKBUILD}/bin
 TEST_TARGET=   tests
Index: pkg/PLIST
===
RCS file: /cvs/ports/audio/portaudio-svn/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -u -r1.5 PLIST
--- pkg/PLIST   11 Mar 2022 18:20:27 -  1.5
+++ pkg/PLIST   11 Feb 2023 03:24:31 -
@@ -1,5 +1,29 @@
 include/portaudio.h
+include/portaudiocpp/
+include/portaudiocpp/AutoSystem.hxx
+include/portaudiocpp/BlockingStream.hxx
+include/portaudiocpp/CFunCallbackStream.hxx
+include/portaudiocpp/CallbackInterface.hxx
+include/portaudiocpp/CallbackStream.hxx
+include/portaudiocpp/CppFunCallbackStream.hxx
+include/portaudiocpp/Device.hxx
+include/portaudiocpp/DirectionSpecificStreamParameters.hxx
+include/portaudiocpp/Exception.hxx
+include/portaudiocpp/HostApi.hxx
+include/portaudiocpp/InterfaceCallbackStream.hxx
+include/portaudiocpp/MemFunCallbackStream.hxx
+include/portaudiocpp/PortAudioCpp.hxx
+include/portaudiocpp/SampleDataFormat.hxx
+include/portaudiocpp/Stream.hxx
+include/portaudiocpp/StreamParameters.hxx
+include/portaudiocpp/System.hxx
+include/portaudiocpp/SystemDeviceIterator.hxx
+include/portaudiocpp/SystemHostApiIterator.hxx
 @static-lib lib/libportaudio.a
 lib/libportaudio.la
 @lib lib/libportaudio.so.${LIBportaudio_VERSION}
+@lib lib/libportaudiocpp.so.${LIBportaudiocpp_VERSION}
+@static-lib lib/libportaudiocpp.a
+lib/libportaudiocpp.la
 lib/pkgconfig/portaudio-2.0.pc
+lib/pkgconfig/portaudiocpp.pc


Re: update math/py-scipy: 1.5.3 -> 1.6.3

2023-02-10 Thread Daniel Dickman



> On Feb 10, 2023, at 8:02 PM, James Cook  wrote:
> 
> Daniel Dickman  writes:
>> It's just a warning, right? It works for me here.
>> 
>> If something isn't working on your end can you share a code snippet?
> 
> Ah, you're right, it's just a warning.
> 
> It does seem to work; I tested using beancount-import. Below is one
> unfortunate caveat. I'm not sure if this counts as ports' problem; maybe
> you could say it's my fault for mixing pkg_add and pip:
> 
> If I do the following:
> 
> - (as root) pkg_add some python deps including py3-scikit-learn (which
>  depends on scipy)
> - (as non-root) pip install beancount-import
> - (as non-root, in Python) beancount_import.webserver.main(...)
> 
> I see:
> 
> RuntimeError: module compiled against API version 0x10 but this version of 
> numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting 
> ImportError section at 
> https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility
>  for indications on how to solve this problem .
> 
> and a bunch more error lines cumulating in
>ImportError: numpy.core.multiarray failed to import
> and the beancount-import webserver drops to a Pdb prompt.
> 
> My guess: pip installed numpy-1.22.4 to my home dir because of the
> version incompatibility, but did not override the system scipy, leading
> to some sort of incompatibility. Evidence for my guess: if I delete
> ~/.local/python3.10/site-packages/numpy*, the error goes away and
> beancount-import works.

Thanks for sharing. Well I guess one thing you could do is look into upgrading 
scipy to a newer version. But as I previously noted, prepare to roll up your 
sleeves.

> 
> -- 
> James



Re: update math/py-scipy: 1.5.3 -> 1.6.3

2023-02-10 Thread James Cook
Daniel Dickman  writes:
> It's just a warning, right? It works for me here.
>
> If something isn't working on your end can you share a code snippet?

Ah, you're right, it's just a warning.

It does seem to work; I tested using beancount-import. Below is one
unfortunate caveat. I'm not sure if this counts as ports' problem; maybe
you could say it's my fault for mixing pkg_add and pip:

If I do the following:

- (as root) pkg_add some python deps including py3-scikit-learn (which
  depends on scipy)
- (as non-root) pip install beancount-import
- (as non-root, in Python) beancount_import.webserver.main(...)

I see:

RuntimeError: module compiled against API version 0x10 but this version of 
numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting 
ImportError section at 
https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility
 for indications on how to solve this problem .

and a bunch more error lines cumulating in
ImportError: numpy.core.multiarray failed to import
and the beancount-import webserver drops to a Pdb prompt.

My guess: pip installed numpy-1.22.4 to my home dir because of the
version incompatibility, but did not override the system scipy, leading
to some sort of incompatibility. Evidence for my guess: if I delete
~/.local/python3.10/site-packages/numpy*, the error goes away and
beancount-import works.

-- 
James



textproc/p5-LaTeX-TOM: Update to 1.05

2023-02-10 Thread wen heping
Hi, ports@:

Here is a patch for textproc/p5-LaTeX-TOM to update to 1.05.
It build well and pass all tests on amd64-current system.
One port(textproc/p5-LaTeX-Pod) depends on it,it build well 
and pass tests too.


Cheers !
wenIndex: textproc/p5-LaTeX-TOM/Makefile
===
RCS file: /cvs/ports/textproc/p5-LaTeX-TOM/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- textproc/p5-LaTeX-TOM/Makefile  11 Mar 2022 20:02:52 -  1.16
+++ textproc/p5-LaTeX-TOM/Makefile  11 Feb 2023 00:24:31 -
@@ -1,11 +1,12 @@
 COMMENT =  parse, analyze and manipulate LaTeX documents
 
-DISTNAME = LaTeX-TOM-1.03
+DISTNAME = LaTeX-TOM-1.05
 CATEGORIES =   textproc
-REVISION = 0
 
 MODULES =  cpan
 PKG_ARCH = *
+
+CONFIGURE_STYLE =  modbuild
 
 # perl
 PERMIT_PACKAGE =   Yes
Index: textproc/p5-LaTeX-TOM/distinfo
===
RCS file: /cvs/ports/textproc/p5-LaTeX-TOM/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- textproc/p5-LaTeX-TOM/distinfo  15 Aug 2015 09:44:32 -  1.8
+++ textproc/p5-LaTeX-TOM/distinfo  11 Feb 2023 00:24:31 -
@@ -1,2 +1,2 @@
-SHA256 (LaTeX-TOM-1.03.tar.gz) = qzKi8QeNbXkD6uvKoU1gfSu1+xO8YYcUh4SQKuDWUME=
-SIZE (LaTeX-TOM-1.03.tar.gz) = 41210
+SHA256 (LaTeX-TOM-1.05.tar.gz) = Bn2Yqen/N23ZrrvBZwvk7YXEHejQbN1L8bjVXfQwryw=
+SIZE (LaTeX-TOM-1.05.tar.gz) = 41408


textproc/p5-LaTeX-Pod: Update to 0.22

2023-02-10 Thread wen heping
Hi, ports@:

Here is a simple patch for textproc/p5-LaTeX-Pod to update 
to 0.22. It build well and pass all tests om amd64-current system.
No other ports depend on it.

Cheers !
wenIndex: textproc/p5-LaTeX-Pod/Makefile
===
RCS file: /cvs/ports/textproc/p5-LaTeX-Pod/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- textproc/p5-LaTeX-Pod/Makefile  11 Mar 2022 20:02:52 -  1.6
+++ textproc/p5-LaTeX-Pod/Makefile  11 Feb 2023 00:24:01 -
@@ -1,8 +1,7 @@
 COMMENT=   transform LaTeX source files to POD
 
-DISTNAME=  LaTeX-Pod-0.21
+DISTNAME=  LaTeX-Pod-0.22
 CATEGORIES=textproc
-REVISION=  0
 
 MODULES=   cpan
 PKG_ARCH=  *
Index: textproc/p5-LaTeX-Pod/distinfo
===
RCS file: /cvs/ports/textproc/p5-LaTeX-Pod/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- textproc/p5-LaTeX-Pod/distinfo  18 Jan 2015 03:15:23 -  1.2
+++ textproc/p5-LaTeX-Pod/distinfo  11 Feb 2023 00:24:01 -
@@ -1,2 +1,2 @@
-SHA256 (LaTeX-Pod-0.21.tar.gz) = VxUU9awICeAHjUtqkgEX/f9kIsAm9mO8HUVEM8ZBH6Q=
-SIZE (LaTeX-Pod-0.21.tar.gz) = 13698
+SHA256 (LaTeX-Pod-0.22.tar.gz) = KAWkWa2QGqd7L9vMToE77hDtv16FwKQO8druQs71G4k=
+SIZE (LaTeX-Pod-0.22.tar.gz) = 13980


www/p5-Dancer: Update to 1.3521

2023-02-10 Thread wen heping
Hi, ports@:

Here is a simple patch for www/p5-Dancer to 
update to 1.3521. It build well and pass all tests
on OpenBSD-current system.

This update fix test failures.

Cheers !
wenIndex: www/p5-Dancer/Makefile
===
RCS file: /cvs/ports/www/p5-Dancer/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- www/p5-Dancer/Makefile  6 Jan 2023 13:39:55 -   1.18
+++ www/p5-Dancer/Makefile  11 Feb 2023 00:02:50 -
@@ -2,7 +2,7 @@ COMMENT =   simple perl web app framework
 
 MODULES =  cpan
 PKG_ARCH = *
-DISTNAME = Dancer-1.3520
+DISTNAME = Dancer-1.3521
 CATEGORIES =   www
 
 # perl
Index: www/p5-Dancer/distinfo
===
RCS file: /cvs/ports/www/p5-Dancer/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- www/p5-Dancer/distinfo  6 Jan 2023 13:39:55 -   1.10
+++ www/p5-Dancer/distinfo  11 Feb 2023 00:02:50 -
@@ -1,2 +1,2 @@
-SHA256 (Dancer-1.3520.tar.gz) = kq4REAW6n3gPuQHL5LbtIZJK25uTZPy8u1zMf8Yh/bI=
-SIZE (Dancer-1.3520.tar.gz) = 401620
+SHA256 (Dancer-1.3521.tar.gz) = FfYz4bQx3+VemoLJr0wyIQheZeHbqTv8/9JEWEWFWeI=
+SIZE (Dancer-1.3521.tar.gz) = 401803


Re: New: games/runelite

2023-02-10 Thread David Pedersen
Thank you! I applied your patch, regenerated distinfo, removed the
.png in files and updated the tar.gz.

On Fri, Feb 10, 2023 at 4:15 PM Stuart Henderson  wrote:
>
> On 2023/02/10 15:25, David Pedersen wrote:
> > That was my initial goal, to use the same launcher logo from the
> > runelite repository as FreeBSD use on their port.
> > This one: 
> > https://raw.githubusercontent.com/runelite/launcher/2.6.1/appimage/runelite.png
> >
> > But I was unable to get it working fetching multiple files and the
> > MASTER_SITE is different. Can you give me some pointers on how to
> > fetch the logo separately on build?
> >
> > The other ports I can find that fetch a .jar directly skip the logo,
> > and the Minecraft port has a .svg directly in files.
>
> ah, I just looked in the repo and missed that it's just fetching the
> jar. ok, something like this (+ regen distinfo) should do the trick.
>
> --- Makefile.orig   Thu Feb  9 19:38:48 2023
> +++ MakefileFri Feb 10 15:13:01 2023
> @@ -1,16 +1,16 @@
>  COMMENT =  open source OldSchool RuneScape client
>
>  V =2.6.1
> -DISTNAME = RuneLite
>  PKGNAME =  runelite-${V}
> -REVISION = 1
>
> -MASTER_SITES = https://github.com/runelite/launcher/releases/download/${V}/
> +MASTER_SITES = https://github.com/runelite/launcher/releases/download/$V/
> +MASTER_SITES0 =
> https://raw.githubusercontent.com/runelite/launcher/$V/appimage/
> +DISTFILES =runelite-$V{RuneLite}.jar \
> +   runelite-$V{runelite}.png:0
>
>  CATEGORIES =   games
>
>  EXTRACT_ONLY =
> -EXTRACT_SUFX = .jar
>
>  NO_BUILD = Yes
>  NO_TEST =  Yes
> @@ -29,13 +29,13 @@ do-install:
> ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/128x128/apps/ \
> ${PREFIX}/share/applications/ \
> ${PREFIX}/share/java/classes/
> -   ${SUBST_PROGRAM} ${FILESDIR}/runelite.png \
> +   ${INSTALL_DATA} ${FULLDISTDIR}/runelite-$V.png \
> ${PREFIX}/share/icons/hicolor/128x128/apps/runelite.png
> -   ${SUBST_PROGRAM} ${FILESDIR}/runelite.desktop \
> +   ${SUBST_DATA} ${FILESDIR}/runelite.desktop \
> ${PREFIX}/share/applications/runelite.desktop
> ${SUBST_PROGRAM} ${FILESDIR}/runelite.sh \
> ${PREFIX}/bin/runelite
> -   cp -r ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
> +   ${INSTALL_DATA} ${FULLDISTDIR}/runelite-$V.jar \
> ${PREFIX}/share/java/classes/runelite.jar
>
>  .include 
>



Re: NEW: databases/puppetdb and sysutils/puppetserver 7.X

2023-02-10 Thread Sebastian Reitenbach
On Thursday, February 09, 2023 14:51 CET, Giovanni Bechis 
 wrote:

> On 1/30/23 21:42, Sebastian Reitenbach wrote:
> > Hi,
> >
> > with Puppet 5 now replaced by Puppet 7, the ability to run a Puppet master 
> > on OpenBSD was gone.
> > These two new packages replace the old PuppetDB 5, with PuppetDB 7 and 
> > introduces the new Puppetserver.
> >
> > Similarly to systuls/ruby-puppet, they go into branches based on the major 
> > version, to have future room for Puppet 8.
> > Their paths where software gets installed is aligned to Puppet, under 
> > /var/puppetlabs/... /usr/local/share/puppetlabs/... etc.
> >
> > Puppetserver usually comes bundled with a Ruby interpreter and Puppet 
> > agent. That doesn't work out
> > on OpenBSD. Therefore some bootstrapping has to be done manually that is 
> > OpenBSD specific, and noted
> > in the Puppetserver pkg/README.
> >
> >   A couple of tweaks I had to do to my hiera files, as well as to some of 
> > the modules, mostly updating
> > them. Overall, the changes weren't that big. As everyone might have 
> > different (custom) modules or
> > hiera plugins in use, ymmv. Therefore I can't really provide a step by step 
> > upgrade path. Install on a test
> > environment before attempting to upgrade/replace your former Puppet 5 
> > Master.
> > That said, Puppet 7 works for me standalone with puppet apply ... but also 
> > against this Puppetserver with PuppetDB backend, autosigning setup...
> >
> > comments to the ports, test reports, or maybe even OKs welcome ;)
> >
> > cheers,
> > Sebastian
> 

thanks for testing.
> Few issues:
> - puppetdb is missing pkg/README file in the tarball
This is missing on purpose, forgot to remove that, as I did last-minute 
clean-ups before sending out the tarball.
Puppetdb is quite standard, so the upstream doc should more or less just work. 
Also the old puppetdb 5 README
contained quite some outdated/misleading info
If there turns to be out some OpenBSD specific issues, I'm happy to re-add.

> - puppetserver doesn't create /var/log/puppetlabs/puppetserver directory
oops

> - puppetserver doesn't start on my server log file attached, it seems there 
> is a dependency missing (no such file to load...).
puppetserver is quite non-standard, compared to puppetdb, just to make sure, 
did you do the initial bootstrap as described in the README?


> New package doesn't upgrade from puppet5, a pkg_path is missing I think.
not sure if that should. as puppetserver is now "extra", and before, it was 
just a single package conaining client and master.

Sebastian

> 
>   Cheers
> 
>   Giovanni



Fix or remove net/cryptcat?

2023-02-10 Thread Theo Buehler
The diff below fixes the build of cryptcat with llvm 15 which no longer
accepts the old school way of doing varargs. It also fixes some of the
more egregious warnings.

The code hasn't aged well to put it mildly and I'm not sure how much of
a selling point twofish encryption is nowadays. Nevertheless it still
works.

Is there a reason to keep this in the ports tree?

Index: Makefile
===
RCS file: /cvs/ports/security/cryptcat/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile11 Mar 2022 19:53:20 -  1.8
+++ Makefile10 Feb 2023 20:50:44 -
@@ -3,10 +3,10 @@ COMMENT=  netcat enhanced with twofish e
 V= 1.2.1
 DISTNAME=  cryptcat-unix-$V
 PKGNAME=   cryptcat-$V
-REVISION = 2
+REVISION = 3
 CATEGORIES=security
 
-HOMEPAGE=  http://cryptcat.sourceforge.net
+HOMEPAGE=  https://cryptcat.sourceforge.net
 
 MAINTAINER=Laurent Fanis 
 
@@ -19,6 +19,7 @@ PERMIT_DISTFILES= No clear Licence
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=cryptcat/}
 
 EXTRACT_SUFX=  .tar
+FIX_EXTRACT_PERMISSIONS= Yes
 
 ALL_TARGET=openbsd
 
Index: patches/patch-netcat_c
===
RCS file: patches/patch-netcat_c
diff -N patches/patch-netcat_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-netcat_c  10 Feb 2023 20:56:03 -
@@ -0,0 +1,55 @@
+Index: netcat.c
+--- netcat.c.orig
 netcat.c
+@@ -34,6 +34,8 @@
+   backend progs to do various encryption modes??!?!
+ */
+ 
++#include 
++#include 
+ #include "generic.h"  /* same as with L5, skey, etc */
+ 
+ /* conditional includes -- a very messy section which you may have to dink
+@@ -193,18 +195,19 @@ USHORT o_zero = 0;
+fake varargs -- need to do this way because we wind up calling through
+more levels of indirection than vanilla varargs can handle, and not all
+machines have vfprintf/vsyslog/whatever!  6 params oughta be enough. */
+-void holler (str, p1, p2, p3, p4, p5, p6)
+-  char * str;
+-  char * p1, * p2, * p3, * p4, * p5, * p6;
++void holler (const char *str, ...)
+ {
+   if (o_verbose) {
+-fprintf (stderr, str, p1, p2, p3, p4, p5, p6);
++va_list ap;
++va_start (ap, str);
++vfprintf (stderr, str, ap);
++va_end (ap);
+ #ifdef HAVE_BIND
+ if (h_errno) {/* if host-lookup variety of error ... */
+   if (h_errno > 4)/* oh no you don't, either */
+   fprintf (stderr, "preposterous h_errno: %d", h_errno);
+   else
+-  fprintf (stderr, h_errs[h_errno]);  /* handle it here */
++  fprintf (stderr, "%s", h_errs[h_errno]);/* handle it here */
+   h_errno = 0;/* and reset for next call */
+ }
+ #endif
+@@ -218,12 +221,13 @@ void holler (str, p1, p2, p3, p4, p5, p6)
+ 
+ /* bail :
+error-exit handler, callable from anywhere */
+-void bail (str, p1, p2, p3, p4, p5, p6)
+-  char * str;
+-  char * p1, * p2, * p3, * p4, * p5, * p6;
++void bail (const char *str, ...)
+ {
++  va_list ap;
+   o_verbose = 1;
+-  holler (str, p1, p2, p3, p4, p5, p6);
++  va_start (ap, str);
++  holler (str, ap);
++  va_end (ap);
+   close (netfd);
+   sleep (1);
+   exit (1);
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/cryptcat/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   11 Mar 2022 19:53:20 -  1.2
+++ pkg/PLIST   10 Feb 2023 20:35:29 -
@@ -1,4 +1,4 @@
-bin/cryptcat
+@bin bin/cryptcat
 share/doc/cryptcat/
 share/doc/cryptcat/README
 share/doc/cryptcat/README.cryptcat



UPDATE: security/libident

2023-02-10 Thread Michael
Hi ports@,

after the recent ngircd+libident update [1] I had a look into
security/libident itself again and would like to take over the
maintainer role. I don't expect any updates there ;) but since
net/ngircd seems to currently be the only port using it I would like
to at least get involved should there be any issue.

Other minimal changes to Makefile:
- http -> https
- get CATEGORIES in order (like Makefile.template [2] suggests)
- update copyright note (See [3])
- redo DESCR


[1] https://marc.info/?l=openbsd-ports&m=167563696025123&w=2
[2] 
https://cvsweb.openbsd.org/ports/infrastructure/templates/Makefile.template?rev=1.93
[3] https://www.remlab.net/files/libident/COPYING


Index: Makefile
===
RCS file: /cvs/ports/security/libident/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile11 Mar 2022 19:53:31 -  1.23
+++ Makefile10 Feb 2023 19:39:49 -
@@ -3,13 +3,16 @@ COMMENT=  library to interface the ident 
 SHARED_LIBS += ident 0.0 # 0.0
 
 DISTNAME=  libident-0.32
-CATEGORIES=devel net security
-MASTER_SITES=  http://www.remlab.net/files/libident/
-REVISION=  1
+CATEGORIES=security devel net
+MASTER_SITES=  https://www.remlab.net/files/libident/
+REVISION=  2
 
-HOMEPAGE=  http://www.remlab.net/libident/
+HOMEPAGE=  https://www.remlab.net/libident/
 
-# Public Domain
+MAINTAINER=Michael 
+
+# Public Domain with exceptions
+# See https://www.remlab.net/files/libident/COPYING
 PERMIT_PACKAGE=Yes
 
 CONFIGURE_STYLE=   gnu
Index: pkg/DESCR
===
RCS file: /cvs/ports/security/libident/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   29 Apr 1998 05:22:54 -  1.1.1.1
+++ pkg/DESCR   10 Feb 2023 19:39:49 -
@@ -1,21 +1,5 @@
-COPYRIGHT ISSUES:
-
-   This version of 'libident' is hereby released into the
-   Public Domain. It may be distributed for a fee or without
-   a fee. We only ask you not to pretend you wrote it.
-
-If you make any changes, please send sources or a diff of it to
-us (p...@lysator.liu.se or p...@lysator.liu.se), so we can keep
-_one_ unified version of libident available...
-
-COMMENTS:
-
-This is the second stab at a small library to interface to the Ident
-protocol server. Maybe this will work correctly on some machines.. :-)
- 
-The ident-tester.c file is a small daemon (to be started from Inetd)
-that does an ident lookup on you if you telnet into it. Can be used
-to verify that your Ident server is working correctly.
- 
-I'm currently running this "ident-tester" on port 114 at lysator.liu.se
-(130.236.254.1) if you wish to test your server.
+This is a library which provides a simple interface to the Ident
+protocol on the client side. It is meant to be used by daemons to try
+to authenticate users using the Ident protocol. For this to work,
+users need to have an Ident server running on the system from which
+they are connected.



Re: GNS3 port [new port net/gns3-server]

2023-02-10 Thread Mikhail
$ pkg_info gns3-server
Information for inst:gns3-server-2.2.37

Comment:
GNS3 server

Description:
The GNS3 server manages emulators such as Dynamips, VirtualBox or
Qemu/KVM.
Clients like the GNS3 GUI and the GNS3 Web UI control the server using
an HTTP
REST API.

Maintainer: The OpenBSD ports mailing-list 

WWW: https://github.com/GNS3/gns3-server


gns3-server.tgz
Description: application/tar-gz


Re: GNS3 port [new port net/gns3-gui]

2023-02-10 Thread Mikhail
$ pkg_info gns3-gui
Information for inst:gns3-gui-2.2.37

Comment:
GNS3 GUI

Description:
GNS3 GUI

Maintainer: The OpenBSD ports mailing-list 

WWW: https://github.com/GNS3/gns3-gui


gns3-gui.tgz
Description: application/tar-gz


Re: GNS3 port [new port net/ubridge]

2023-02-10 Thread Mikhail
$ pkg_info ubridge
Information for inst:ubridge-0.9.18

Comment:
bridge for UDP tunnels, Ethernet, TAP and VMnet interfaces

Description:
uBridge is a simple application to create user-land bridges between various
technologies. Currently, bridging between UDP tunnels, Ethernet and TAP
interfaces is supported. Packet capture is also supported.

Maintainer: The OpenBSD ports mailing-list 

WWW: https://github.com/GNS3/ubridge



ubridge.tgz
Description: application/tar-gz


Re: GNS3 port [new port net/vpcs]

2023-02-10 Thread Mikhail
Patches were upstreamed.

$ pkg_info vpcs
Information for inst:vpcs-0.8.2

Comment:
simple Virtual PC Simulator

Description:
This is a continuation of VPCS, based on the last development version and
improved with patches wrote by various people from the community. The original
VPCS code, which is unfortunately not maintained anymore, can be viewed on
https://sourceforge.net/p/vpcs/code/

Maintainer: The OpenBSD ports mailing-list 

WWW: https://github.com/GNS3/vpcs



vpcs.tgz
Description: application/tar-gz


[new] gurk-rs - a cli signal client

2023-02-10 Thread Stefan Hagen
Hello,

here is a command line signal client. It's lacking a lot of features,
but basic text send/receive functionality is there.

The contact sync doesn't work for me. But I can see and message in
conversations initiated after gurk-rs is linked.

I hope the situation will improve. But this client is much better than 
having no client at all.

Some hints:
- this is rust, so build with "MAKE_JOBS=8 make", or something.
- F1 shows the key bindings and they're not configurable
- gurk -v(vv) starts verbose mode writes to gurk.log

I have OK kn@ already.

One more?

Best regards,
Stefan


gurk-rs.tgz
Description: application/tar-gz


Re: update: net/swirc 3.4.0

2023-02-10 Thread Frederic Cambus
On Fri, Feb 10, 2023 at 07:28:34AM +, Markus Uhlin wrote:
> Hello ports@,
> 
> Today I released Swirc 3.4.0. It comes with spell-checking support so I added 
> a dep on Hunspell.

Committed, thanks!



Re: [update] afl++ 4.05c

2023-02-10 Thread Stuart Henderson
On 2023/02/10 13:13, Theo Buehler wrote:
> The in-tree version of afl++ doesn't build with llvm 15. Here's a
> straightforward update that does. Lightly tested on -current with
> the usual suspect. It immediately found something, which I will
> report. So: works for me.

Not new, but TEST_TARGET should be 'tests', part of it works ;)
Maybe add a little more to DESCR while there (example below)? the
existing one isn't very helpful unless you know what AFL is.

OK.



AFL++ is a fuzzing framework which includes the following:

- A fuzzer with many mutators and configurations: afl-fuzz.
- Different source code instrumentation modules:
  LLVM mode, afl-as, GCC plugin.
- Different binary code instrumentation modules:
  QEMU mode, Unicorn mode, QBDI mode.
- Utilities for testcase/corpus minimization: afl-tmin, afl-cmin.
- Helper libraries: libtokencap, libdislocator, libcompcov.

It is a superior fork of Google's AFL - more speed, more and better
mutations, more and better instrumentation, custom module support, etc.




Re: New: games/runelite

2023-02-10 Thread Stuart Henderson
On 2023/02/10 15:25, David Pedersen wrote:
> That was my initial goal, to use the same launcher logo from the
> runelite repository as FreeBSD use on their port.
> This one: 
> https://raw.githubusercontent.com/runelite/launcher/2.6.1/appimage/runelite.png
> 
> But I was unable to get it working fetching multiple files and the
> MASTER_SITE is different. Can you give me some pointers on how to
> fetch the logo separately on build?
> 
> The other ports I can find that fetch a .jar directly skip the logo,
> and the Minecraft port has a .svg directly in files.

ah, I just looked in the repo and missed that it's just fetching the
jar. ok, something like this (+ regen distinfo) should do the trick.

--- Makefile.orig   Thu Feb  9 19:38:48 2023
+++ MakefileFri Feb 10 15:13:01 2023
@@ -1,16 +1,16 @@
 COMMENT =  open source OldSchool RuneScape client

 V =2.6.1
-DISTNAME = RuneLite
 PKGNAME =  runelite-${V}
-REVISION = 1

-MASTER_SITES = https://github.com/runelite/launcher/releases/download/${V}/
+MASTER_SITES = https://github.com/runelite/launcher/releases/download/$V/
+MASTER_SITES0 =
https://raw.githubusercontent.com/runelite/launcher/$V/appimage/
+DISTFILES =runelite-$V{RuneLite}.jar \
+   runelite-$V{runelite}.png:0

 CATEGORIES =   games

 EXTRACT_ONLY =
-EXTRACT_SUFX = .jar

 NO_BUILD = Yes
 NO_TEST =  Yes
@@ -29,13 +29,13 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/128x128/apps/ \
${PREFIX}/share/applications/ \
${PREFIX}/share/java/classes/
-   ${SUBST_PROGRAM} ${FILESDIR}/runelite.png \
+   ${INSTALL_DATA} ${FULLDISTDIR}/runelite-$V.png \
${PREFIX}/share/icons/hicolor/128x128/apps/runelite.png
-   ${SUBST_PROGRAM} ${FILESDIR}/runelite.desktop \
+   ${SUBST_DATA} ${FILESDIR}/runelite.desktop \
${PREFIX}/share/applications/runelite.desktop
${SUBST_PROGRAM} ${FILESDIR}/runelite.sh \
${PREFIX}/bin/runelite
-   cp -r ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
+   ${INSTALL_DATA} ${FULLDISTDIR}/runelite-$V.jar \
${PREFIX}/share/java/classes/runelite.jar

 .include 



Re: New: games/runelite

2023-02-10 Thread David Pedersen
That was my initial goal, to use the same launcher logo from the
runelite repository as FreeBSD use on their port.
This one: 
https://raw.githubusercontent.com/runelite/launcher/2.6.1/appimage/runelite.png

But I was unable to get it working fetching multiple files and the
MASTER_SITE is different. Can you give me some pointers on how to
fetch the logo separately on build?

The other ports I can find that fetch a .jar directly skip the logo,
and the Minecraft port has a .svg directly in files.

On Fri, Feb 10, 2023 at 9:26 AM Stuart Henderson  wrote:
>
> The binary (.png) directly in files/ isn't the best idea. Looking at the 
> upstream repo there's 
> master/src/main/resources/net/runelite/launcher/runelite_transparent.png, can 
> you use that instead?
>
> --
>   Sent from a phone, apologies for poor formatting.
>
>
> On 9 February 2023 19:51:05 David Pedersen  wrote:
>
>> Hello!
>> This is my first ever port for OpenBSD. It's the open source RuneScape
>> game client RuneLite (https://runelite.net/).
>>
>> Tested on amd64. It doesn't perform as well as on FreeBSD or Linux,
>> but it is definitely playable.
>>
>> I wish to get this added to the official ports tree, so please leave
>> any feedback or suggestions on what can be improved. Thank you!
>>
>> Source on Github:
>> https://github.com/Limero/openbsd-ports/tree/master/runelite
>> Direct link to gzipped tarball:
>> https://github.com/Limero/openbsd-ports/raw/master/runelite.tar.gz
>
>



[update] afl++ 4.05c

2023-02-10 Thread Theo Buehler
The in-tree version of afl++ doesn't build with llvm 15. Here's a
straightforward update that does. Lightly tested on -current with
the usual suspect. It immediately found something, which I will
report. So: works for me.

Index: Makefile
===
RCS file: /cvs/ports/devel/afl++/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile11 Mar 2022 18:49:31 -  1.2
+++ Makefile10 Feb 2023 11:57:53 -
@@ -3,7 +3,7 @@ ONLY_FOR_ARCHS= i386 amd64
 COMMENT=   improved version of afl
 GH_ACCOUNT =   AFLplusplus
 GH_PROJECT =   AFLplusplus
-GH_TAGNAME =   3.14c
+GH_TAGNAME =   4.05c
 PKGNAME =  afl++-${GH_TAGNAME}
 CATEGORIES=devel
 
Index: distinfo
===
RCS file: /cvs/ports/devel/afl++/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo27 Oct 2021 17:22:11 -  1.1.1.1
+++ distinfo10 Feb 2023 11:57:57 -
@@ -1,2 +1,2 @@
-SHA256 (AFLplusplus-3.14c.tar.gz) = 
NlUuOqxcOQ3+xPddDdYNyALD6XuLrwQqoe22Up26B2Y=
-SIZE (AFLplusplus-3.14c.tar.gz) = 2162934
+SHA256 (AFLplusplus-4.05c.tar.gz) = 
Wip+lGkHceLYDSswpyNS4WvMFPLP/21vwf1n8M4qnTs=
+SIZE (AFLplusplus-4.05c.tar.gz) = 2839704
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/afl++/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   11 Mar 2022 18:49:31 -  1.2
+++ pkg/PLIST   10 Feb 2023 11:59:44 -
@@ -17,6 +17,7 @@ bin/afl-gcc
 @bin bin/afl-ld-lto
 bin/afl-lto
 bin/afl-lto++
+bin/afl-persistent-config
 bin/afl-plot
 @bin bin/afl-showmap
 bin/afl-system-config
@@ -30,15 +31,11 @@ libexec/afl/afl-compiler-rt-32.o
 libexec/afl/afl-compiler-rt-64.o
 libexec/afl/afl-compiler-rt.o
 @so libexec/afl/afl-llvm-dict2file.so
-@so libexec/afl/afl-llvm-lto-instrumentation.so
 @so libexec/afl/afl-llvm-lto-instrumentlist.so
 @so libexec/afl/afl-llvm-pass.so
-libexec/afl/afl-llvm-rt-32.o
-libexec/afl/afl-llvm-rt-64.o
 libexec/afl/afl-llvm-rt-lto-32.o
 libexec/afl/afl-llvm-rt-lto-64.o
 libexec/afl/afl-llvm-rt-lto.o
-libexec/afl/afl-llvm-rt.o
 libexec/afl/as
 @so libexec/afl/cmplog-instructions-pass.so
 @so libexec/afl/cmplog-routines-pass.so
@@ -63,6 +60,7 @@ libexec/afl/dynamic_list.txt
 @man man/man8/afl-gotcpu.8
 @man man/man8/afl-lto++.8
 @man man/man8/afl-lto.8
+@man man/man8/afl-persistent-config.8
 @man man/man8/afl-plot.8
 @man man/man8/afl-showmap.8
 @man man/man8/afl-system-config.8
@@ -243,28 +241,23 @@ share/doc/afl/
 share/doc/afl/Changelog.md
 share/doc/afl/FAQ.md
 share/doc/afl/INSTALL.md
-share/doc/afl/QuickStartGuide.md
 share/doc/afl/README.cmplog.md
-share/doc/afl/README.ctx.md
 share/doc/afl/README.gcc_plugin.md
 share/doc/afl/README.instrument_list.md
 share/doc/afl/README.laf-intel.md
 share/doc/afl/README.llvm.md
 share/doc/afl/README.lto.md
-share/doc/afl/README.neverzero.md
-share/doc/afl/README.ngram.md
-share/doc/afl/README.out_of_line.md
+share/doc/afl/README.md
 share/doc/afl/README.persistent_mode.md
-share/doc/afl/README.snapshot.md
-share/doc/afl/binaryonly_fuzzing.md
+share/doc/afl/afl-fuzz_approach.md
+share/doc/afl/best_practices.md
 share/doc/afl/custom_mutators.md
-share/doc/afl/docs.md
 share/doc/afl/env_variables.md
+share/doc/afl/features.md
+share/doc/afl/fuzzing_binary-only_targets.md
+share/doc/afl/fuzzing_in_depth.md
 share/doc/afl/ideas.md
-share/doc/afl/life_pro_tips.md
-share/doc/afl/parallel_fuzzing.md
-share/doc/afl/perf_tips.md
+share/doc/afl/important_changes.md
 share/doc/afl/rpc_statsd.md
-share/doc/afl/sister_projects.md
-share/doc/afl/status_screen.md
-share/doc/afl/technical_details.md
+share/doc/afl/third_party_tools.md
+share/doc/afl/tutorials.md



[NEW] devel/pax-utils

2023-02-10 Thread Frederic Cambus
Hi ports@,

Here is a new port: devel/pax-utils

>From DESCR:

pax-utils is a small set of utilities for peforming Q/A (mostly security)
checks on systems (most notably, `scanelf`).  It is focused on the ELF
format, but does include a Mach-O helper too for OS X systems.

While heavily integrated into Gentoo's build system, it can be used on any
distro as it is a generic toolset.

Originally focused only on PaX, it has been expanded to be generally
security focused.  It still has a good number of PaX helpers for people
interested in that.

Comments? OK?


pax-utils.tar.gz
Description: application/gzip


Re: New: games/runelite

2023-02-10 Thread Stuart Henderson
The binary (.png) directly in files/ isn't the best idea. Looking at the 
upstream repo there's 
master/src/main/resources/net/runelite/launcher/runelite_transparent.png, 
can you use that instead?


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

On 9 February 2023 19:51:05 David Pedersen  wrote:


Hello!
This is my first ever port for OpenBSD. It's the open source RuneScape
game client RuneLite (https://runelite.net/).

Tested on amd64. It doesn't perform as well as on FreeBSD or Linux,
but it is definitely playable.

I wish to get this added to the official ports tree, so please leave
any feedback or suggestions on what can be improved. Thank you!

Source on Github:
https://github.com/Limero/openbsd-ports/tree/master/runelite
Direct link to gzipped tarball:
https://github.com/Limero/openbsd-ports/raw/master/runelite.tar.gz