Re: Node and rc.d

2023-09-27 Thread Renato Aguiar



On Wed, Sep 27 2023, Remi L. wrote:

I am an OpenBSD user and I recently installed Node.js. I managed 
to
create an rc.d script to start a basic Node.js application, but 
it

only starts manually.

At OpenBSD boot, I can see that the application is started, but 
it

doesn't work.


I observed same thing with another nodejs application 
(zigbee2mqtt). As a workaround, I've been starting it from root's 
crontab using the following:


---
@reboot -n rcctl start zigbee2mqtt
---

And, of course, I'm keeping the service disabled (rcctl disable 
zigbee2mqtt), so it doesn't run until cron starts.


I know that is not a proper solution, but it might be able to use 
the same in the meantime.


Regards,

--
Renato Aguiar



NEW: devel/zls 0.11.0

2023-09-27 Thread Renato Aguiar
I attached a port of zls (Zig Language Server). I hope it is not 
too late to make it to the release :)


I'm copying the maintainer of lang/zig since both ports should be 
kept in sync.


pkg/DESCR:

The Zig Language Server (zls) is a tool that implements 
Microsoft's

Language Server Protocol for Zig in Zig. In simpler terms: it'll
provide you with completions, go-to definition, etc. when you 
write

Zig code!



zls.tar.gz
Description: Binary data


--
Renato Aguiar


UPDATE: database/timescaledb 2.12.0

2023-09-27 Thread Renato Aguiar

Patch updating database/timescaledb to 2.12.0:

diff -ru /usr/ports/databases/timescaledb/Makefile ./Makefile
--- /usr/ports/databases/timescaledb/Makefile	Wed Sep 20 
   11:11:12 2023

+++ ./Makefile  Wed Sep 27 20:41:39 2023
@@ -2,7 +2,7 @@

GH_ACCOUNT =timescale
GH_PROJECT =timescaledb
-GH_TAGNAME =   2.11.2
+GH_TAGNAME =   2.12.0

CATEGORIES =databases
HOMEPAGE =  https://www.timescale.com/
diff -ru /usr/ports/databases/timescaledb/distinfo ./distinfo
--- /usr/ports/databases/timescaledb/distinfo	Wed Sep 20 
   11:11:12 2023

+++ ./distinfo  Wed Sep 27 20:41:39 2023
@@ -1,2 +1,2 @@
-SHA256 (timescaledb-2.11.2.tar.gz) = 
rMpfbsVoRyI3TuzpL3PXdjvRcQdQdP0ua9AkS9qfvCU=

-SIZE (timescaledb-2.11.2.tar.gz) = 7728399
+SHA256 (timescaledb-2.12.0.tar.gz) = 
HDV+ZJmjNlO/zj22CySmxTP7I8XomXpmYbK8oHt4e9A=

+SIZE (timescaledb-2.12.0.tar.gz) = 7510785
diff -ru /usr/ports/databases/timescaledb/pkg/PLIST ./pkg/PLIST
--- /usr/ports/databases/timescaledb/pkg/PLIST	Wed Sep 20 
   11:11:12 2023

+++ ./pkg/PLIST Wed Sep 27 20:41:39 2023
@@ -2,19 +2,6 @@
@so lib/postgresql/timescaledb-tsl-${GH_TAGNAME}.so
@so lib/postgresql/timescaledb.so
share/doc/pkg-readmes/${PKGSTEM}
-share/postgresql/extension/timescaledb--1.7.0--${GH_TAGNAME}.sql
-share/postgresql/extension/timescaledb--1.7.1--${GH_TAGNAME}.sql
-share/postgresql/extension/timescaledb--1.7.2--${GH_TAGNAME}.sql
-share/postgresql/extension/timescaledb--1.7.3--${GH_TAGNAME}.sql
-share/postgresql/extension/timescaledb--1.7.4--${GH_TAGNAME}.sql
-share/postgresql/extension/timescaledb--1.7.5--${GH_TAGNAME}.sql
-share/postgresql/extension/timescaledb--2.0.0--${GH_TAGNAME}.sql
-share/postgresql/extension/timescaledb--2.0.0-rc1--${GH_TAGNAME}.sql
-share/postgresql/extension/timescaledb--2.0.0-rc2--${GH_TAGNAME}.sql
-share/postgresql/extension/timescaledb--2.0.0-rc3--${GH_TAGNAME}.sql
-share/postgresql/extension/timescaledb--2.0.0-rc4--${GH_TAGNAME}.sql
-share/postgresql/extension/timescaledb--2.0.1--${GH_TAGNAME}.sql
-share/postgresql/extension/timescaledb--2.0.2--${GH_TAGNAME}.sql
share/postgresql/extension/timescaledb--2.1.0--${GH_TAGNAME}.sql
share/postgresql/extension/timescaledb--2.1.1--${GH_TAGNAME}.sql
share/postgresql/extension/timescaledb--2.10.0--${GH_TAGNAME}.sql
@@ -23,6 +10,7 @@
share/postgresql/extension/timescaledb--2.10.3--${GH_TAGNAME}.sql
share/postgresql/extension/timescaledb--2.11.0--${GH_TAGNAME}.sql
share/postgresql/extension/timescaledb--2.11.1--${GH_TAGNAME}.sql
+share/postgresql/extension/timescaledb--2.11.2--${GH_TAGNAME}.sql
share/postgresql/extension/timescaledb--${GH_TAGNAME}.sql
share/postgresql/extension/timescaledb--2.2.0--${GH_TAGNAME}.sql
share/postgresql/extension/timescaledb--2.2.1--${GH_TAGNAME}.sql


--
Renato Aguiar



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2023/09/27 21:17:48

Modified files:
games/widelands: Makefile 

Log message:
Enable debug packages.



Re: games/fifengine broken?

2023-09-27 Thread Daniel Dickman



On Wed, 27 Sep 2023, Theo Buehler wrote:

> Might be worth at try to build fifengine from HEAD, which is what some
> distros seem to be packaging without patching:
> 

There's no point doing anything but updating to the latest git commits for 
both fifengine and unknown-horizons.

I've done that and committed both updates so the game now works.

Note that unknown horizons states they are planning to switch game engines 
from fifengine to godot under a separate project. Once they do that we can 
retire fifengine.



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Daniel Dickman
CVSROOT:/cvs
Module name:ports
Changes by: dan...@cvs.openbsd.org  2023/09/27 18:23:25

Modified files:
games/unknown-horizons: Makefile distinfo 
games/unknown-horizons/patches: patch-setup_py 
games/unknown-horizons/pkg: PLIST 
Added files:
games/unknown-horizons/patches: patch-horizons_constants_py 

Log message:
unbreak unknown-horizons by updating to latest git head



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Daniel Dickman
CVSROOT:/cvs
Module name:ports
Changes by: dan...@cvs.openbsd.org  2023/09/27 18:23:03

Modified files:
games/fifengine: Makefile distinfo 
Removed files:
games/fifengine/patches: patch-CMakeLists_txt 

Log message:
unbreak fifengine by updating to latest git head



Re: [New] UnrealIRCD 6.1.1.1

2023-09-27 Thread JR Aquino
> Also curious why the do-install target had to be manually written out,
> what's wrong with the autoconf installation? If you need to add extra
> files manually, do it in a post-install step.

Sorted out the install issues.

Removed the do-install and now have a proper post-install only for the
extra files.

This should be the last major item that was outstanding

Thank you for your patience

On Wed, Sep 27, 2023 at 11:27 AM JR Aquino  wrote:

> Thank you both very much for the feedback! I have been very hard at work
> making the requested changes and corrections.
>
> Attached you will find the updated .tgz with all of the requested
> optimizations.
>
> Responses in-line below:
>
> On 2023/09/26 19:27, A Tammy wrote:
> >
> > On 9/26/23 18:52, JR Aquino wrote:
> > > Attached you will find the proposed new addition of the UnrealIRCD
> Port for
> > > OpenBSD
> > >
> > > I have tested everything based upon the OpenBSD Porting Guide
> documentation
> > > and everything appears to be in full working order.
> > >
> > > Attached in the tarball
> >
> >
> > thanks, this will be a nice one to have. even better if we can sneak it
> > in by 7.4 (seems unlikely though).
> >
> > A few comments.
> >
> > Remove DISTNAME, EXTRACT_SUFX, and bunch of other values which are
> > already the default. I'd suggest with trying to start removing things
> > and if a clean build of the port still works. This will give you a good
> > idea of whats redundant and what isn't.
>
> I did the clean up of the unnecessary values you referenced.  DISTNAME
> couldn't be removed without breaking the port though and I noticed that all
> other ports seem to still have DISTNAME declared. If there is a new method
> for declaring that, I'd be happy to reference the doc and implement the
> best practice there.
>
> >
> > Your BUILD_DEPENDS on gmake should be change to say USE_GMAKE=Yes
>
> Fixed.
>
> > Your CONFIGURE_ARGS seems extremely verbose and it seems very likely
> > that a lot of it can be trimmed down.
>
> This is now trimmed down.
> There were a number of defaults that didn't require declaration and I've
> minimized the args down as far as they will go.
> The path declarations in configure are required because the upstream
> source defaults to expecting the user to install into a fully chrooted
> /home/unrealircd directory.
>
> > The LIB_DEPENDS on libtool is almost certainly incorrect (haven't built
> > the port yet). Maybe you should set USE_LIBTOOL=gnu and see if that
> > suffices - https://man.openbsd.org/bsd.port.mk.5#USE_LIBTOOL
>
> > it uses libtdl
>
> This was an unnecessary declaration and has been removed, cleaned up, and
> verified with "make lib-depends-check" and "make port-lib-depends-check"
>
> > A lot of the variables that you''ve set, like RUNDIR, CONFDIR don't seem
> > correct. CONFDIR being inside /usr/local is definitely incorrect, it
> > needs to be just /etc/unrealircd.
> >
> > ${SYSCONFDIR}
>
> The added SUBST_VARS variables have been re-reviewed and corrected to
> reflect their proper locations for OpenBSD.
>
> > Also curious why the do-install target had to be manually written out,
> > what's wrong with the autoconf installation? If you need to add extra
> > files manually, do it in a post-install step.
>
> The upstream source project has a peculiar conf and make process; they
> have homebrew'd a Config script that is a completely rewritten interface to
> autoconf and I believe it is to blame for why I have to manually have the
> do-install target.  If one of you see something that I am missing, I'd be
> happy to make the adjustment, but I can't get the port to "make install"
> without the aforementioned "do-install" target.
>
> >  there's a bunch of ${WRKINST}/usr/local which should be ${PREFIX}
> though
> >  yes better to use autoconf installation
>
> Thank you for calling these out, I have corrected the references and
> ${PREFIX} is now properly in place for the paths that required /usr/local
>
> >   others:
> >
> >  why the empty pre-configure?
>
> This is totally an oversight. It was unnecessary and has been removed.
>
> >  just running "make configure" compiles libargon2 and shouldn't,
> >  it should probably use security/argon2 instead. (also the compile
> >  run as part of configure uses -O3 -march=native, which will
> >  produce broken packages)
>
> This requires some explanation. The upstream source bundles its
> dependencies libraries in case the system is lacking them. These bundles
> are unnecessary and should not be compiled or configured using the
> incorrect "  -O3 -march=native".
>
> The reason that libargon2 is attempting to erroneously compile is due to a
> bug in security/argon2 - please see my prior email to the list with the
> subject: "[Update] security/argon2 pkg-config version fix"
>
> The OpenBSD port security/argon2 was not properly declaring the right make
> flags and wasn't capturing the necessary version information for pkg-config
> to pickup; A simple fix that was already acknowledged 

CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 15:41:17

Modified files:
devel/xtensa-lx106-elf/gcc: Makefile 
devel/xtensa-lx106-elf/gcc-bootstrap: Makefile 
infrastructure/db: network.conf dist-tuple.pattern 
infrastructure/mk: bsd.port.mk cpan.port.mk dist-tuple.port.mk 
infrastructure/templates: mk.conf.template 
lang/erlang: erlang.port.mk 
lang/php/pecl  : pecl.port.mk 
lang/ruby  : ruby.port.mk 
tests/portbump/t1: Makefile 
tests/portbump/t10: Makefile 
tests/portbump : t1.sample t10.sample t4.sample t5.sample 
 t8.sample 
tests/portbump/t2: Makefile.inc 
tests/portbump/t4: Makefile 
tests/portbump/t5: Makefile 
tests/portbump/t8: Makefile 
tests/portcheck/t7: Makefile 
www/pecl-chroot: Makefile 

Log message:
bye bye MASTER*, you served us well (no change in dump-vars)



Re: Node and rc.d

2023-09-27 Thread Stuart Henderson
On 2023/09/27 22:14, Remi L. wrote:
> I am an OpenBSD user and I recently installed Node.js. I managed to create
> an rc.d script to start a basic Node.js application, but it only starts
> manually.
> 
> At OpenBSD boot, I can see that the application is started, but it doesn't
> work.

FWIW I have express-based node applications running with scripts like
this:

-
#!/bin/ksh

daemon="/usr/local/bin/node"
daemon_flags="/home/someuser/node_modules/node-mjpeg-proxy/west/express-app.js"
daemon_user="someuser"

. /etc/rc.d/rc.subr

rc_bg=YES

rc_cmd $1
-

N.B. if you run as a non-root user you won't be able to bind to port 80



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/09/27 15:34:19

Modified files:
games/xonix: Makefile 

Log message:
respect CFLAGS



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/09/27 15:24:05

Modified files:
games/xonix: Makefile 

Log message:
set DEBUG_PACKAGES



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 14:37:34

Modified files:
x11/2bwm   : Makefile 
x11/Xaw3d  : Makefile 
x11/XawMu  : Makefile 
x11/Xdialog: Makefile 
x11/abclock: Makefile 
x11/aewm   : Makefile 
x11/afterstep  : Makefile 
x11/agar   : Makefile.inc 
x11/amiwm  : Makefile 
x11/arandr : Makefile 
x11/arc-theme  : Makefile.inc 
x11/asapm  : Makefile 
x11/asclock: Makefile 
x11/asfiles: Makefile 
x11/astime : Makefile 
x11/autocutsel : Makefile 
x11/awesome: Makefile 
x11/bbdate : Makefile 
x11/bbkeys : Makefile 
x11/bbpager: Makefile 
x11/bclock : Makefile 
x11/belt   : Makefile 
x11/blackbox   : Makefile 
x11/blast  : Makefile 
x11/bricons: Makefile 
x11/bwidget: Makefile 
x11/cegui  : Makefile 
x11/coma   : Makefile 
x11/ctwm   : Makefile 
x11/dbus   : Makefile 
x11/dbus-glib  : Makefile 
x11/dbus-intf  : Makefile 
x11/dbus-python: Makefile 
x11/dbus-tcl   : Makefile 
x11/dbusmenu-qt: Makefile 
x11/dmenu  : Makefile 
x11/driconf: Makefile 
x11/dstat  : Makefile 
x11/dwm: Makefile 
x11/e16keyedit : Makefile 
x11/echinus: Makefile 
x11/ede: Makefile.inc 
x11/emelfm2: Makefile 
x11/enlightenment: Makefile 
x11/eterm  : Makefile 
x11/evilwm : Makefile 
x11/faenza-icon-theme: Makefile 
x11/fleditor   : Makefile 
x11/fltk   : Makefile 
x11/fluxter: Makefile 
x11/flvw   : Makefile 
x11/flwm   : Makefile 
x11/freerdp: Makefile 
x11/fsv: Makefile 
x11/fvwm2  : Makefile 
x11/fvwm3  : Makefile 
x11/gammapage  : Makefile 
x11/gbdfed : Makefile 
x11/gcolor2: Makefile 
x11/gentoo : Makefile 
x11/girara : Makefile 
x11/gmrun  : Makefile 
x11/gmtk   : Makefile 
x11/gnome  : gnome.port.mk 
x11/gnome/aisleriot: Makefile 
x11/gnome/endeavour: Makefile 
x11/gnome/gucharmap: Makefile 
x11/gnome/libdmapsharing4: Makefile 
x11/gnome/libxklavier: Makefile 
x11/gnome/notes: Makefile 
x11/gnome/seahorse-nautilus: Makefile 
x11/gnome/secrets: Makefile 
x11/gnome/sushi: Makefile 
x11/gnome/terminal: Makefile 
x11/gnome-colors-icon-theme: Makefile 
x11/gnome-mplayer: Makefile 
x11/gnustep: gnustep.port.mk 
x11/gnustep/aclock: Makefile 
x11/gnustep/addresses: Makefile 
x11/gnustep/affiche: Makefile 
x11/gnustep/back: Makefile 
x11/gnustep/base: Makefile 
x11/gnustep/batmon: Makefile 
x11/gnustep/camera: Makefile 
x11/gnustep/camerakit: Makefile 
x11/gnustep/cdplayer: Makefile 
x11/gnustep/corebase: Makefile 
x11/gnustep/cynthiune: Makefile 
x11/gnustep/databasin: Makefile 
x11/gnustep/databasinkit: Makefile 
x11/gnustep/dbuskit: Makefile 
x11/gnustep/displaycalibrator: Makefile 
x11/gnustep/edenmath: Makefile 
x11/gnustep/examples: Makefile 
x11/gnustep/fisicalab: Makefile 
x11/gnustep/ftp: Makefile 
x11/gnustep/gemas: Makefile 
x11/gnustep/gmastermind: Makefile 
x11/gnustep/gmines: Makefile 
x11/gnustep/gnumail: Makefile 
x11/gnustep/gomoku: Makefile 
x11/gnustep/gorm: Makefile 
x11/gnustep/graphos: Makefile 
x11/gnustep/grr: Makefile 
x11/gnustep/gshisen: Makefile 
x11/gnustep/gspdf: Makefile 
x11/gnustep/gui: Makefile 
x11/gnustep/gworkspace: Makefile 
x11/gnustep/highlighterkit: Makefile 
x11/gnustep/imageviewer: Makefile 
x11/gnustep/impersonatortoolkit: Makefile 
x11/gnustep/jigsaw: Makefile 
x11/gnustep/lapispuzzle: Makefile 
x11/gnustep/laternamagica: Makefile 
x11/gnustep/make: Makefile 
x11/gnustep/matharray: Makefile 
x11/gnustep/mpdcon: Makefile 
x11/gnustep/neos-theme: Makefile 
x11/gnustep/netclasses: Makefile 
x11/gnustep/paje: Makefile 
x11/gnustep/pantomime: Makefile 
x11/gnustep/pcapkit: Makefile 
x11/gnustep/pdfkit: Makefile 
x11/gnustep/performance: Makefile 
x11/gnustep/price: Makefile 
x11/gnustep/projectcenter: Makefile 
x11/gnustep/remotedesk: Makefile 
x11/gnustep/renaissance: Makefile 
x11/gnustep/rsskit: Makefile 

Re: Node and rc.d

2023-09-27 Thread Volker Schlecht
What about

 const express = require("express");
 
 const app = express();
 
 app.get("/", (req, res) => {
res.send("Hello from OpenBSD");
 });
 
 app.listen(80, (err) => {
if (err) {
console.log("Something went wrong: ");
} else {
console.log("Server started on port 80");
}
 });

or something like that? Your app seems to ignore all possible errors, one of
which might be that it can't bind to port 80.

Alternatively try to bind to port 3000 and see if that changes things.

On Wed Sep 27, 2023 at 9:42 PM CEST, Remi L. wrote:
> Thank you for your reply Lucas.
>
> After the changes:
>
> openbsd# rcctl start app
> app(ok) -- it takes about 10 seconds to get it done
> openbsd# pgrep node
> 76957
> openbsd# cat /tmp/server.js.log
> Server started on port 80
> openbsd# rcctl stop app
> openbsd# reboot
>
> then:
>
> openbsd# pgrep node
> openbsd# cat /tmp/server.js.log
> Server started on port 80
> openbsd# pgrep node
> openbsd# netstat -anf inet | grep 80
> openbsd#
>
> Same issue, I think it drop the require()... it continues, that's why we 
> get the Server started... message.
>
> /Remi
>
>
> Le 2023-09-27 23:26, Lucas a écrit :
> > "Remi L."  wrote:
> >> Hello everyone,
> >> 
> >> I am an OpenBSD user and I recently installed Node.js. I managed to
> >> create an rc.d script to start a basic Node.js application, but it 
> >> only
> >> starts manually.
> >> 
> >> At OpenBSD boot, I can see that the application is started, but it
> >> doesn't work. I have the impression that it is related to the
> >> node_modules directory, because after inspection, the JavaScript file
> >> seems to stop at the line :
> >> 
> >> const express = require("express");
> >> 
> >> It cannot load the express module.
> >> 
> >> Here are the full details so that you can reproduce the same error on
> >> your side:
> >> 
> >> OpenBSD version: 7.3 (release + syspatch)
> >> 
> >> Node version: 18.15.0
> >> 
> >> npm version: 9.5.0
> >> 
> >> Let's create a basic node.js app:
> >> 
> >> mkdir /var/www/htdocs/app
> >> cd /var/www/htdocs/app/
> >> npm init -y
> >> npm install express
> >> touch server.js
> >> chown -R www.www /var/www/htdocs/app
> >> chmod -R 775 /var/www/htdocs/app
> >> 
> >> /var/www/htdocs/app/server.js file:
> >> 
> >> --8<--
> >> const express = require("express");
> >> 
> >> const app = express();
> >> 
> >> app.get("/", (req, res) => {
> >>res.send("Hello from OpenBSD");
> >> });
> >> 
> >> app.listen(80, () => {
> >>console.log("Server started on port 80");
> >> });
> >> 
> >> --EOF--
> >> 
> >> You can run `node server.js` to test the url: http://your-ip
> >> 
> >> Ctrl-c to quit
> >> 
> >> Now let's create the /etc/rc.d/app script:
> >> 
> >> --8<--
> >> #!/bin/ksh
> >> 
> >> daemon="/usr/local/bin/node"
> >> daemon_execdir="/var/www/htdocs/app"
> >> daemon_flags="server.js"
> >> daemon_logger="daemon.info"
> > 
> > After checking rc_exec() in /etc/rc.d/rc.subr, a hack you can try to 
> > get
> > more information is removing the daemon_logger variable and change
> > daemon_flags to
> > 
> > daemon_flags="server.js >/tmp/server.js.log 2>&1
> > 
> > That should create a /tmp/server.js.log file with the program's stdout
> > and stderr. Give it a try with rcctl start / stop, and if it works, go
> > with a reboot.
> > 
> >> #daemon_rtable=0
> >> #daemon_timeout=30
> >> #daemon_user=root
> >> 
> >> . /etc/rc.d/rc.subr
> >> 
> >> #pexp="$(eval echo ${daemon}${daemon_flags:+ ${daemon_flags}})"
> >> rc_bg="YES"
> >> rc_reload="NO"
> >> #rc_reload_signal=HUP
> >> #rc_stop_signal=TERM
> >> #rc_usercheck= # (undefined or "NO")
> >> 
> >> #rc_configtest() {
> >> #}
> >> 
> >> #rc_pre() {
> >> #}
> >> 
> >> #rc_start() {
> >> #  rc_exec "${daemon} ${daemon_flags}"
> >> #}
> >> 
> >> #rc_check() {
> >> #  pgrep -T "${daemon_rtable}" -q -xf "${pexp}"
> >> #}
> >> 
> >> #rc_reload() {
> >> #  pkill -${rc_reload_signal} -T "${daemon_rtable}" -xf "${pexp}"
> >> #}
> >> 
> >> #rc_stop() {
> >> #  pkill -${rc_stop_signal} -T "${daemon_rtable}" -xf "${pexp}"
> >> #}
> >> 
> >> #rc_post() {
> >> #}
> >> 
> >> rc_cmd $1
> >> --EOF--
> >> 
> >> chmod +x /etc/rc.d/app
> >> rcctl enable app
> >> 
> >> Start the app: rcctl start app
> >> 
> >> Check in the browser or use: netstat -anf inet | grep 80
> >> 
> >> Stop the app: rcctl stop app
> >> 
> >> Check that it is not anymore started: pgrep node => nothing
> >> 
> >> - Reboot -
> >> 
> >> If I do a `dmesg -s`, I can see the following line:
> >> 
> >> starting package daemons: app.
> >> 
> >> No errors, no output, even in the /var/log/daemon log.
> >> 
> >> I would be very grateful for any help or advice that you can provide.
> >> 
> >> 
> >> 
> >> Sincerely,
> >> 
> >> -- Remi
> >> 
> >> "Everyone makes mistakes, and the best way to learn is from our
> >> mistakes." - Henry Ford



Re: games/fifengine broken?

2023-09-27 Thread Theo Buehler
On Wed, Sep 27, 2023 at 10:22:14PM +0200, Theo Buehler wrote:
> On Wed, Sep 27, 2023 at 09:06:03PM +0200, Volker Schlecht wrote:
> > games/unknown-horizons seems broken through games/fifengine ... I'm not a 
> > python
> > expert, but it looks like that must have happened quite a while ago already?
> 
> >   File 
> > "/usr/local/lib/python3.10/site-packages/fife/extensions/serializers/simplexml.py",
> >  line 386, in _validateTree
> > for c in self._root_element.getchildren():
> >
> > AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 
> > 'getchildren'
> > swig/python detected a memory leak of type 'fcn::Color *', no destructor 
> > found.
> > .
> > 
> 
> getchildren() was removed in Python 3.9, so this was broken for nearly
> two years:
> 
> getchildren():
> 
> Deprecated since version 3.2, will be removed in version 3.9: Use
> list(elem) or iteration.
> 
> https://docs.python.org/3.8/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.getchildren
> 
> blindly removing the getchildren() calls fixes this, but it doesn't
> help much as it runs into the next problem:
> 
>   File 
> "/usr/local/lib/python3.10/site-packages/horizons/util/loaders/jsondecoder.py",
>  line 40, in load
> return json.load(f, encoding="ascii", object_hook=_decode_dict)
>   File "/usr/local/lib/python3.10/json/__init__.py", line 293, in load
> return loads(fp.read(),
>   File "/usr/local/lib/python3.10/json/__init__.py", line 359, in loads
> return cls(**kw).decode(s)
> TypeError: JSONDecoder.__init__() got an unexpected keyword argument 
> 'encoding'
> 
> Might be worth at try to build fifengine from HEAD, which is what some
> distros seem to be packaging without patching:
> 
> https://github.com/fifengine/fifengine/
> 

https://docs.python.org/3/library/json.html#json.loads

Changed in version 3.9: The keyword argument encoding has been removed.

Oh well.



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Thomas Frohwein
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2023/09/27 14:25:27

Modified files:
infrastructure/db: dist-tuple.pattern 
infrastructure/mk: dist-tuple.port.mk 

Log message:
commonalize more parts of DIST_TUPLE, based (loosely) on espie@'s comments:
- EXTRACT_SUFX.x is TEMPLATE_EXTRACT_SUFX unless otherwise set (.tar.gz)
- Re-use MASTER_SITES.x (soon SITES.x) in TEMPLATE_HOMEPAGE

Also set WRKDIST unless already specified which is how GH_* does it.
Also expand the regex for DISTNAME from tag format (e.g. v1.0, r122)
the same way GH_* does it.

ok espie@



Re: games/fifengine broken?

2023-09-27 Thread Theo Buehler
On Wed, Sep 27, 2023 at 09:06:03PM +0200, Volker Schlecht wrote:
> games/unknown-horizons seems broken through games/fifengine ... I'm not a 
> python
> expert, but it looks like that must have happened quite a while ago already?

>   File 
> "/usr/local/lib/python3.10/site-packages/fife/extensions/serializers/simplexml.py",
>  line 386, in _validateTree
> for c in self._root_element.getchildren():
>
> AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 
> 'getchildren'
> swig/python detected a memory leak of type 'fcn::Color *', no destructor 
> found.
> .
> 

getchildren() was removed in Python 3.9, so this was broken for nearly
two years:

getchildren():

Deprecated since version 3.2, will be removed in version 3.9: Use
list(elem) or iteration.

https://docs.python.org/3.8/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.getchildren

blindly removing the getchildren() calls fixes this, but it doesn't
help much as it runs into the next problem:

  File 
"/usr/local/lib/python3.10/site-packages/horizons/util/loaders/jsondecoder.py", 
line 40, in load
return json.load(f, encoding="ascii", object_hook=_decode_dict)
  File "/usr/local/lib/python3.10/json/__init__.py", line 293, in load
return loads(fp.read(),
  File "/usr/local/lib/python3.10/json/__init__.py", line 359, in loads
return cls(**kw).decode(s)
TypeError: JSONDecoder.__init__() got an unexpected keyword argument 'encoding'

Might be worth at try to build fifengine from HEAD, which is what some
distros seem to be packaging without patching:

https://github.com/fifengine/fifengine/



Re: Node and rc.d

2023-09-27 Thread Remi L.

I tried to change the JS code:

--8<--

console.log("Read server.js");

// debug require() => node_modules/ access

try {
const express = require("express");
console.log("require() OK");

const app = express();

app.get("/", (req, res) => {
res.send("Hello from OpenBSD");
});

app.listen(80, () => {
console.log("Server started on port 80");
});
} catch (error) {
console.log("require() failed!");
}

--EOF--

openbsd# rcctl start app
app(ok)
openbsd# cat /tmp/server.js.log
Read server.js
require() OK
Server started on port 80
openbsd# pgrep node
99648
openbsd# reboot

openbsd# cat /tmp/server.js.log
Read server.js
require() OK
Server started on port 80
openbsd# pgrep node

If I uninstall the express.js module: npm remove express

run: rcctl start app

openbsd# cat /tmp/server.js.log
Read server.js
require() failed!

I really don't understand why it doesn't work on reboot.

/Remi


Le 2023-09-27 23:42, Remi L. a écrit :

Thank you for your reply Lucas.

After the changes:

openbsd# rcctl start app
app(ok) -- it takes about 10 seconds to get it done
openbsd# pgrep node
76957
openbsd# cat /tmp/server.js.log
Server started on port 80
openbsd# rcctl stop app
openbsd# reboot

then:

openbsd# pgrep node
openbsd# cat /tmp/server.js.log
Server started on port 80
openbsd# pgrep node
openbsd# netstat -anf inet | grep 80
openbsd#

Same issue, I think it drop the require()... it continues, that's why
we get the Server started... message.

/Remi


Le 2023-09-27 23:26, Lucas a écrit :

"Remi L."  wrote:

Hello everyone,

I am an OpenBSD user and I recently installed Node.js. I managed to
create an rc.d script to start a basic Node.js application, but it 
only

starts manually.

At OpenBSD boot, I can see that the application is started, but it
doesn't work. I have the impression that it is related to the
node_modules directory, because after inspection, the JavaScript file
seems to stop at the line :

const express = require("express");

It cannot load the express module.

Here are the full details so that you can reproduce the same error on
your side:

OpenBSD version: 7.3 (release + syspatch)

Node version: 18.15.0

npm version: 9.5.0

Let's create a basic node.js app:

mkdir /var/www/htdocs/app
cd /var/www/htdocs/app/
npm init -y
npm install express
touch server.js
chown -R www.www /var/www/htdocs/app
chmod -R 775 /var/www/htdocs/app

/var/www/htdocs/app/server.js file:

--8<--
const express = require("express");

const app = express();

app.get("/", (req, res) => {
   res.send("Hello from OpenBSD");
});

app.listen(80, () => {
   console.log("Server started on port 80");
});

--EOF--

You can run `node server.js` to test the url: http://your-ip

Ctrl-c to quit

Now let's create the /etc/rc.d/app script:

--8<--
#!/bin/ksh

daemon="/usr/local/bin/node"
daemon_execdir="/var/www/htdocs/app"
daemon_flags="server.js"
daemon_logger="daemon.info"


After checking rc_exec() in /etc/rc.d/rc.subr, a hack you can try to 
get

more information is removing the daemon_logger variable and change
daemon_flags to

daemon_flags="server.js >/tmp/server.js.log 2>&1

That should create a /tmp/server.js.log file with the program's stdout
and stderr. Give it a try with rcctl start / stop, and if it works, go
with a reboot.


#daemon_rtable=0
#daemon_timeout=30
#daemon_user=root

. /etc/rc.d/rc.subr

#pexp="$(eval echo ${daemon}${daemon_flags:+ ${daemon_flags}})"
rc_bg="YES"
rc_reload="NO"
#rc_reload_signal=HUP
#rc_stop_signal=TERM
#rc_usercheck= # (undefined or "NO")

#rc_configtest() {
#}

#rc_pre() {
#}

#rc_start() {
#   rc_exec "${daemon} ${daemon_flags}"
#}

#rc_check() {
#   pgrep -T "${daemon_rtable}" -q -xf "${pexp}"
#}

#rc_reload() {
#   pkill -${rc_reload_signal} -T "${daemon_rtable}" -xf "${pexp}"
#}

#rc_stop() {
#   pkill -${rc_stop_signal} -T "${daemon_rtable}" -xf "${pexp}"
#}

#rc_post() {
#}

rc_cmd $1
--EOF--

chmod +x /etc/rc.d/app
rcctl enable app

Start the app: rcctl start app

Check in the browser or use: netstat -anf inet | grep 80

Stop the app: rcctl stop app

Check that it is not anymore started: pgrep node => nothing

- Reboot -

If I do a `dmesg -s`, I can see the following line:

starting package daemons: app.

No errors, no output, even in the /var/log/daemon log.

I would be very grateful for any help or advice that you can provide.



Sincerely,

-- Remi

"Everyone makes mistakes, and the best way to learn is from our
mistakes." - Henry Ford


--
-- Remi



Re: Node and rc.d

2023-09-27 Thread Remi L.

Thank you for your reply Lucas.

After the changes:

openbsd# rcctl start app
app(ok) -- it takes about 10 seconds to get it done
openbsd# pgrep node
76957
openbsd# cat /tmp/server.js.log
Server started on port 80
openbsd# rcctl stop app
openbsd# reboot

then:

openbsd# pgrep node
openbsd# cat /tmp/server.js.log
Server started on port 80
openbsd# pgrep node
openbsd# netstat -anf inet | grep 80
openbsd#

Same issue, I think it drop the require()... it continues, that's why we 
get the Server started... message.


/Remi


Le 2023-09-27 23:26, Lucas a écrit :

"Remi L."  wrote:

Hello everyone,

I am an OpenBSD user and I recently installed Node.js. I managed to
create an rc.d script to start a basic Node.js application, but it 
only

starts manually.

At OpenBSD boot, I can see that the application is started, but it
doesn't work. I have the impression that it is related to the
node_modules directory, because after inspection, the JavaScript file
seems to stop at the line :

const express = require("express");

It cannot load the express module.

Here are the full details so that you can reproduce the same error on
your side:

OpenBSD version: 7.3 (release + syspatch)

Node version: 18.15.0

npm version: 9.5.0

Let's create a basic node.js app:

mkdir /var/www/htdocs/app
cd /var/www/htdocs/app/
npm init -y
npm install express
touch server.js
chown -R www.www /var/www/htdocs/app
chmod -R 775 /var/www/htdocs/app

/var/www/htdocs/app/server.js file:

--8<--
const express = require("express");

const app = express();

app.get("/", (req, res) => {
   res.send("Hello from OpenBSD");
});

app.listen(80, () => {
   console.log("Server started on port 80");
});

--EOF--

You can run `node server.js` to test the url: http://your-ip

Ctrl-c to quit

Now let's create the /etc/rc.d/app script:

--8<--
#!/bin/ksh

daemon="/usr/local/bin/node"
daemon_execdir="/var/www/htdocs/app"
daemon_flags="server.js"
daemon_logger="daemon.info"


After checking rc_exec() in /etc/rc.d/rc.subr, a hack you can try to 
get

more information is removing the daemon_logger variable and change
daemon_flags to

daemon_flags="server.js >/tmp/server.js.log 2>&1

That should create a /tmp/server.js.log file with the program's stdout
and stderr. Give it a try with rcctl start / stop, and if it works, go
with a reboot.


#daemon_rtable=0
#daemon_timeout=30
#daemon_user=root

. /etc/rc.d/rc.subr

#pexp="$(eval echo ${daemon}${daemon_flags:+ ${daemon_flags}})"
rc_bg="YES"
rc_reload="NO"
#rc_reload_signal=HUP
#rc_stop_signal=TERM
#rc_usercheck= # (undefined or "NO")

#rc_configtest() {
#}

#rc_pre() {
#}

#rc_start() {
#   rc_exec "${daemon} ${daemon_flags}"
#}

#rc_check() {
#   pgrep -T "${daemon_rtable}" -q -xf "${pexp}"
#}

#rc_reload() {
#   pkill -${rc_reload_signal} -T "${daemon_rtable}" -xf "${pexp}"
#}

#rc_stop() {
#   pkill -${rc_stop_signal} -T "${daemon_rtable}" -xf "${pexp}"
#}

#rc_post() {
#}

rc_cmd $1
--EOF--

chmod +x /etc/rc.d/app
rcctl enable app

Start the app: rcctl start app

Check in the browser or use: netstat -anf inet | grep 80

Stop the app: rcctl stop app

Check that it is not anymore started: pgrep node => nothing

- Reboot -

If I do a `dmesg -s`, I can see the following line:

starting package daemons: app.

No errors, no output, even in the /var/log/daemon log.

I would be very grateful for any help or advice that you can provide.



Sincerely,

-- Remi

"Everyone makes mistakes, and the best way to learn is from our
mistakes." - Henry Ford


--
-- Remi



UPDATE: eltclsh 1.19

2023-09-27 Thread Matthieu Herrb
Hi,

eltclsh 1.19 released
https://git.openrobots.org/news/291
Anthony Mallet

h3. Changes

* Fix off-by-one in brace parsing function (Arvid Björkengren)
* Fix completion on variables in a namespace (Arvid Björkengren)
* Consistently preserve or remove the global namespaces qualifier in
   completions 
* Improve completion for strings ending in a single colon

ok ? comments ?

Index: Makefile
===
RCS file: /cvs/OpenBSD/ports/lang/eltclsh/Makefile,v
retrieving revision 1.35
diff -u -p -u -r1.35 Makefile
--- Makefile31 Aug 2022 15:08:18 -  1.35
+++ Makefile27 Sep 2023 19:36:10 -
@@ -1,6 +1,6 @@
 COMMENT =  Libedit interface to Tcl/Tk interpreters
 
-DISTNAME = eltclsh-1.18
+DISTNAME = eltclsh-1.19
 CATEGORIES =   lang x11
 
 MASTER_SITES = https://www.openrobots.org/distfiles/eltclsh/
Index: distinfo
===
RCS file: /cvs/OpenBSD/ports/lang/eltclsh/distinfo,v
retrieving revision 1.10
diff -u -p -u -r1.10 distinfo
--- distinfo31 Aug 2022 15:08:18 -  1.10
+++ distinfo27 Sep 2023 19:36:10 -
@@ -1,2 +1,2 @@
-SHA256 (eltclsh-1.18.tar.gz) = d8JC6/OEyJORbZanOCiCr1hsDL+QH3/eM+3UlqA82cY=
-SIZE (eltclsh-1.18.tar.gz) = 378712
+SHA256 (eltclsh-1.19.tar.gz) = 1OT3t52Jpe033HU10ArDiU/PO6MyReZy16B1Pt4501E=
+SIZE (eltclsh-1.19.tar.gz) = 383140
Index: patches/patch-configure
===
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- patches/patch-configure 11 Mar 2022 19:28:55 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-Find X includes
-
-Index: configure
 configure.orig
-+++ configure
-@@ -643,6 +643,7 @@ TK_LIB_SPEC
- TK_LIB_FLAG
- TK_LIB_FILE
- TK_INCLUDE_SPEC
-+TK_XINCLUDES
- TK_SRC_DIR
- TK_BIN_DIR
- TK_VERSION
Index: patches/patch-src_Makefile_in
===
RCS file: /cvs/OpenBSD/ports/lang/eltclsh/patches/patch-src_Makefile_in,v
retrieving revision 1.4
diff -u -p -u -r1.4 patch-src_Makefile_in
--- patches/patch-src_Makefile_in   11 Mar 2022 19:28:55 -  1.4
+++ patches/patch-src_Makefile_in   27 Sep 2023 19:36:10 -
@@ -1,22 +1,14 @@
-Find X and Tcl includes
+Find Tcl includes
 
 Index: src/Makefile.in
 --- src/Makefile.in.orig
 +++ src/Makefile.in
-@@ -303,6 +303,7 @@ TCL_STUB_LIB_SPEC = @TCL_STUB_LIB_SPEC@
- TCL_VERSION = @TCL_VERSION@
- TK_BIN_DIR = @TK_BIN_DIR@
- TK_INCLUDE_SPEC = @TK_INCLUDE_SPEC@
-+TK_XINCLUDES = @TK_XINCLUDES@
- TK_LIB_FILE = @TK_LIB_FILE@
- TK_LIB_FLAG = @TK_LIB_FLAG@
- TK_LIB_SPEC = @TK_LIB_SPEC@
-@@ -389,7 +390,7 @@ AM_CPPFLAGS = ${TCL_INCLUDE_SPEC} -DELTCLSH_DATA='"${d
+@@ -397,7 +397,7 @@ AM_CPPFLAGS = ${TCL_INCLUDE_SPEC} -DELTCLSH_DATA='"${d
-DELTCLSH_VERSION='"${PACKAGE_VERSION}"'
  eltclsh_LDFLAGS = ${RUNTIME_PATH}
  eltclsh_LDADD = libcommon.la ${TCL_LIB_SPEC}
--elwish_CPPFLAGS = ${TK_INCLUDE_SPEC}
-+elwish_CPPFLAGS = ${TK_XINCLUDES} ${TK_INCLUDE_SPEC} ${TCL_INCLUDE_SPEC}
+-elwish_CPPFLAGS = ${TK_INCLUDE_SPEC} ${TK_XINCLUDES}
++elwish_CPPFLAGS = ${TK_INCLUDE_SPEC} ${TK_XINCLUDES} ${TCL_INCLUDE_SPEC}
  elwish_LDFLAGS = ${RUNTIME_PATH}
  elwish_LDADD = libcommon.la ${TK_LIB_SPEC} ${TCL_LIB_SPEC}
  
Index: pkg/PLIST
===
RCS file: /cvs/OpenBSD/ports/lang/eltclsh/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -u -r1.8 PLIST
--- pkg/PLIST   11 Mar 2022 19:28:55 -  1.8
+++ pkg/PLIST   27 Sep 2023 19:36:10 -
@@ -6,5 +6,5 @@ lib/tcl/eltcl/init.tcl
 lib/tcl/eltcl/pkgIndex.tcl
 lib/tcl/eltcl/tools.tcl
 lib/tcl/eltcl/version.tcl
-lib/tcl/libeltclsh.so
+@so lib/tcl/libeltclsh.so
 @man man/man1/eltclsh.1

-- 
Matthieu Herrb



Re: Node and rc.d

2023-09-27 Thread Lucas
"Remi L."  wrote:
> Hello everyone,
> 
> I am an OpenBSD user and I recently installed Node.js. I managed to 
> create an rc.d script to start a basic Node.js application, but it only 
> starts manually.
> 
> At OpenBSD boot, I can see that the application is started, but it 
> doesn't work. I have the impression that it is related to the 
> node_modules directory, because after inspection, the JavaScript file 
> seems to stop at the line :
> 
> const express = require("express");
> 
> It cannot load the express module.
> 
> Here are the full details so that you can reproduce the same error on 
> your side:
> 
> OpenBSD version: 7.3 (release + syspatch)
> 
> Node version: 18.15.0
> 
> npm version: 9.5.0
> 
> Let's create a basic node.js app:
> 
> mkdir /var/www/htdocs/app
> cd /var/www/htdocs/app/
> npm init -y
> npm install express
> touch server.js
> chown -R www.www /var/www/htdocs/app
> chmod -R 775 /var/www/htdocs/app
> 
> /var/www/htdocs/app/server.js file:
> 
> --8<--
> const express = require("express");
> 
> const app = express();
> 
> app.get("/", (req, res) => {
>res.send("Hello from OpenBSD");
> });
> 
> app.listen(80, () => {
>console.log("Server started on port 80");
> });
> 
> --EOF--
> 
> You can run `node server.js` to test the url: http://your-ip
> 
> Ctrl-c to quit
> 
> Now let's create the /etc/rc.d/app script:
> 
> --8<--
> #!/bin/ksh
> 
> daemon="/usr/local/bin/node"
> daemon_execdir="/var/www/htdocs/app"
> daemon_flags="server.js"
> daemon_logger="daemon.info"

After checking rc_exec() in /etc/rc.d/rc.subr, a hack you can try to get
more information is removing the daemon_logger variable and change
daemon_flags to

daemon_flags="server.js >/tmp/server.js.log 2>&1

That should create a /tmp/server.js.log file with the program's stdout
and stderr. Give it a try with rcctl start / stop, and if it works, go
with a reboot.

> #daemon_rtable=0
> #daemon_timeout=30
> #daemon_user=root
> 
> . /etc/rc.d/rc.subr
> 
> #pexp="$(eval echo ${daemon}${daemon_flags:+ ${daemon_flags}})"
> rc_bg="YES"
> rc_reload="NO"
> #rc_reload_signal=HUP
> #rc_stop_signal=TERM
> #rc_usercheck= # (undefined or "NO")
> 
> #rc_configtest() {
> #}
> 
> #rc_pre() {
> #}
> 
> #rc_start() {
> # rc_exec "${daemon} ${daemon_flags}"
> #}
> 
> #rc_check() {
> # pgrep -T "${daemon_rtable}" -q -xf "${pexp}"
> #}
> 
> #rc_reload() {
> # pkill -${rc_reload_signal} -T "${daemon_rtable}" -xf "${pexp}"
> #}
> 
> #rc_stop() {
> # pkill -${rc_stop_signal} -T "${daemon_rtable}" -xf "${pexp}"
> #}
> 
> #rc_post() {
> #}
> 
> rc_cmd $1
> --EOF--
> 
> chmod +x /etc/rc.d/app
> rcctl enable app
> 
> Start the app: rcctl start app
> 
> Check in the browser or use: netstat -anf inet | grep 80
> 
> Stop the app: rcctl stop app
> 
> Check that it is not anymore started: pgrep node => nothing
> 
> - Reboot -
> 
> If I do a `dmesg -s`, I can see the following line:
> 
> starting package daemons: app.
> 
> No errors, no output, even in the /var/log/daemon log.
> 
> I would be very grateful for any help or advice that you can provide.
> 
> 
> 
> Sincerely,
> 
> -- Remi
> 
> "Everyone makes mistakes, and the best way to learn is from our 
> mistakes." - Henry Ford




CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 13:13:07

Modified files:
www/ap2-mod_dnssd: Makefile 
www/ap2-mod_jk : Makefile 
www/ap2-mod_perl: Makefile 
www/apache-httpd: Makefile 
www/aria2  : Makefile 
www/asql   : Makefile 
www/awl: Makefile 
www/awstats: Makefile 
www/azorius: Makefile 
www/badwolf: Makefile 
www/blogsum: Makefile 
www/bluefish   : Makefile 
www/bozohttpd  : Makefile 
www/c-icap : Makefile.inc 
www/calamaris  : Makefile 
www/castor : Makefile 
www/cgicc  : Makefile 
www/cgiparse   : Makefile 
www/cntlm  : Makefile 
www/composer   : Makefile 
www/cronolog   : Makefile 
www/dansguardian: Makefile 
www/dillo  : Makefile 
www/dokuwiki   : Makefile 
www/drush  : Makefile 
www/fcgi   : Makefile 
www/fcgi-cgi   : Makefile 
www/ffproxy: Makefile 
www/firefox-esr-i18n: Makefile.inc 
www/firefox-i18n: Makefile.inc 
www/gcap   : Makefile 
www/gitea  : Makefile 
www/goaccess   : Makefile 
www/gumbo  : Makefile 
www/haserl : Makefile 
www/havp   : Makefile 
www/hiawatha   : Makefile 
www/honk   : Makefile 
www/http_load  : Makefile 
www/http_ping  : Makefile 
www/httrack: Makefile 
www/icedtea-web: Makefile 
www/igal   : Makefile 
www/igal2  : Makefile 
www/japana : Makefile 
www/jesred : Makefile 
www/kcaldav: Makefile 
www/kcgi   : Makefile 
www/kiwix  : Makefile.inc 
www/kore   : Makefile 
www/larbin : Makefile 
www/libmicrohttpd: Makefile 
www/liferea: Makefile 
www/lightsquid : Makefile 
www/lighttpd   : Makefile 
www/links  : Makefile 
www/links+ : Makefile 
www/llgal  : Makefile 
www/logswan: Makefile 
www/luakit : Makefile 
www/lynx   : Makefile 
www/mhonarc: Makefile 
www/mimetex: Makefile 
www/minitube   : Makefile 
www/moinmoin   : Makefile 
www/mozilla: mozilla.port.mk 
www/netsurf: Makefile.inc 
www/netsurf/browser: Makefile 
www/netsurf/netsurf-fb: Makefile 
www/newsboat   : Makefile 
www/newsraft   : Makefile 
www/nextcloud  : Makefile.inc 
www/nextcloud_notify_push: Makefile 
www/nghttp2: Makefile 
www/nghttp3: Makefile 
www/nostromo   : Makefile 
www/odoo   : Makefile 
www/openradtool: Makefile 
www/opensearch-dashboards: Makefile 
www/otter-browser: Makefile 
www/p5-Apache-Gallery: Makefile 
www/p5-Maypole : Makefile 
www/p5-Maypole-Authentication-UserSessionCookie: Makefile 
www/p5-PodToHTML: Makefile 
www/p5-libapreq2: Makefile 
www/pear   : pear.port.mk 
www/phpmyadmin : Makefile 
www/phppgadmin : Makefile 
www/pnp4nagios : Makefile 
www/polipo : Makefile 
www/pound  : Makefile 
www/privoxy: Makefile 
www/racktables : Makefile 
www/ratproxy   : Makefile 
www/retawq : Makefile 
www/rt : Makefile 
www/ruby-passenger: Makefile 
www/sarg   : Makefile 
www/sblg   : Makefile 
www/seamonkey-i18n: Makefile.inc 
www/selfoss: Makefile 
www/sfeed  : Makefile 
www/sogo   : Makefile 
www/sope   : Makefile 
www/spawn-fcgi : Makefile 
www/squidclamav: Makefile 
www/squidguard : Makefile 
www/stagit : Makefile 
www/surf   : Makefile 
www/surfraw: Makefile 
www/swiggle: Makefile 
www/syweb  : Makefile 
www/tidyp  : Makefile 
www/tinyproxy  : Makefile 
www/tomcat : Makefile.inc 
www/tor-browser/browser: Makefile 
www/tor-browser/noscript: Makefile 
www/uget   : Makefile 
www/unit   : Makefile.inc 
www/varnish: Makefile 
www/vaultwarden-web: Makefile 
www/visitors   : Makefile 
www/vnu: Makefile 
www/w3m: Makefile 
www/w3mir  : Makefile 
www/wApua  : Makefile 
www/wbox   : Makefile 
www/webalizer  : Makefile 
www/webkitgtk4 : Makefile 
www/woob   : Makefile 
www/wp-cli : Makefile 
www/wslay  : Makefile 
www/wwwcount   : Makefile 
www/wwwoffle   : Makefile 
www/xapian-omega: 

games/fifengine broken?

2023-09-27 Thread Volker Schlecht
games/unknown-horizons seems broken through games/fifengine ... I'm not a python
expert, but it looks like that must have happened quite a while ago already?

Traceback (most recent call last):
  File "/usr/local/bin/unknown-horizons", line 381, in 
main()
  File "/usr/local/bin/unknown-horizons", line 122, in main
ret = horizons.main.start(options)
  File "/usr/local/lib/python3.10/site-packages/horizons/main.py", line 113, in 
start
horizons.globals.fife = Fife()
  File "/usr/local/lib/python3.10/site-packages/horizons/engine/engine.py", 
line 46, in __init__
self._setting = Settings(PATHS.USER_CONFIG_FILE, 
PATHS.SETTINGS_TEMPLATE_FILE)
  File "/usr/local/lib/python3.10/site-packages/horizons/engine/settings.py", 
line 39, in __init__
self._settings_serializer.load(settings_file)
  File 
"/usr/local/lib/python3.10/site-packages/fife/extensions/serializers/simplexml.py",
 line 132, in load
self._validateTree()
  File 
"/usr/local/lib/python3.10/site-packages/fife/extensions/serializers/simplexml.py",
 line 386, in _validateTree
for c in self._root_element.getchildren():
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 
'getchildren'
swig/python detected a memory leak of type 'fcn::Color *', no destructor found.
.



Re: [wip] devel/{pyside6,pyside6-tools,shiboken6}

2023-09-27 Thread Johannes Thyssen Tishman
Has anyone been able to test this?

Sep 20, 2023 15:29:37 Johannes Thyssen Tishman :

>> It would need to be overridden, I tried it a few ways and eventually hit
>> on the approach in the attached tar. It's still a bit hacked together
>> and some parts done in a quick-and-dirty way but it does at least start
>> building ok (still running).
>> 
>> MODPY_PYBUILD is mostly for ports using pyproject.toml files, though
>> it can also work with standard setuptools-based builds. It might be
>> possible to get pyside6 to work with that but it's not clear how to pass
>> command-line arguments to setup.py with that, and pyside seems to need
>> that (at least with how we install qtpaths6 outside of the path).
>> 
>> There's another problem with running the build from python in that
>> there's no easy way to pass through the cmake build flags from
>> cmake.port.mk that set things up for a ports build, that needs looking
>> at too (not done in my tar).
> 
> Thanks for working on this Stuart. Indeed it does seem quite hacky.
> I'll continue to look into it. In the meantime I went ahead and
> tried the other approach you suggested and it seems to work quite
> well. I've attached a tarball of all three ports if you or anyone
> want to give it a test.
> 
>> no idea, the split-llvm stuff is very new (and mainly there to make
>> it easier to work on getting base ready for the newer version IIUC),
>> I haven't looked into it much (and I would try to avoid it unless
>> absolutely required for the software).
> 
> Regarding this, I left out the devel/llvm/13 for now and made a
> comment about ignoring the non-reachable libs. In the pyside6/tools
> package I think (based on looking at other ports of PySide6 and
> intuition) that pyside6/pyside should be included as a LIB_DEPENDS.
> However 'make port-lib-depends-check' is not sure it belongs there.
> Aside from that, both 'portcheck' and 'make port-lib-depends-check'
> seem to be happy.
> 
> Lastly, if you look at the PLIST from pyside6/tools, some scripts
> and binaries are installed with very generic names. The FreeBSD
> port moves them into the ${PREFIX}/bin/pyside6 directory. This
> however is because they don't have a consumer yet as their FreeCAD
> is using QT5 and PySide2. I need to test with the FreeCAD compilation
> first before we decide to move/rename the scripts.



Re: new bootstrap for lang/ghc

2023-09-27 Thread Matthias Kilian
Hi Greg,

On Tue, Sep 26, 2023 at 08:47:09PM -0700, Greg Steuck wrote:
> > My internet connection is currently almost completely
> > broken.
> 
> Do you also host the bootstrap files there? Should we considering
> mirroring them somewhere else?

No. The bootstrap files are on a machine running in our data center
at work, where also have enough bandwidth. The networking problems
are here at home, from where I normally commit.

Ciao,
Kili



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Paco Esteban
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2023/09/27 12:32:55

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

Log message:
update net/dnscontrol to 4.4.1

ok kn@



Re: [New] UnrealIRCD 6.1.1.1

2023-09-27 Thread JR Aquino
Thank you both very much for the feedback! I have been very hard at work
making the requested changes and corrections.

Attached you will find the updated .tgz with all of the requested
optimizations.

Responses in-line below:

On 2023/09/26 19:27, A Tammy wrote:
>
> On 9/26/23 18:52, JR Aquino wrote:
> > Attached you will find the proposed new addition of the UnrealIRCD Port
for
> > OpenBSD
> >
> > I have tested everything based upon the OpenBSD Porting Guide
documentation
> > and everything appears to be in full working order.
> >
> > Attached in the tarball
>
>
> thanks, this will be a nice one to have. even better if we can sneak it
> in by 7.4 (seems unlikely though).
>
> A few comments.
>
> Remove DISTNAME, EXTRACT_SUFX, and bunch of other values which are
> already the default. I'd suggest with trying to start removing things
> and if a clean build of the port still works. This will give you a good
> idea of whats redundant and what isn't.

I did the clean up of the unnecessary values you referenced.  DISTNAME
couldn't be removed without breaking the port though and I noticed that all
other ports seem to still have DISTNAME declared. If there is a new method
for declaring that, I'd be happy to reference the doc and implement the
best practice there.

>
> Your BUILD_DEPENDS on gmake should be change to say USE_GMAKE=Yes

Fixed.

> Your CONFIGURE_ARGS seems extremely verbose and it seems very likely
> that a lot of it can be trimmed down.

This is now trimmed down.
There were a number of defaults that didn't require declaration and I've
minimized the args down as far as they will go.
The path declarations in configure are required because the upstream source
defaults to expecting the user to install into a fully chrooted
/home/unrealircd directory.

> The LIB_DEPENDS on libtool is almost certainly incorrect (haven't built
> the port yet). Maybe you should set USE_LIBTOOL=gnu and see if that
> suffices - https://man.openbsd.org/bsd.port.mk.5#USE_LIBTOOL

> it uses libtdl

This was an unnecessary declaration and has been removed, cleaned up, and
verified with "make lib-depends-check" and "make port-lib-depends-check"

> A lot of the variables that you''ve set, like RUNDIR, CONFDIR don't seem
> correct. CONFDIR being inside /usr/local is definitely incorrect, it
> needs to be just /etc/unrealircd.
>
> ${SYSCONFDIR}

The added SUBST_VARS variables have been re-reviewed and corrected to
reflect their proper locations for OpenBSD.

> Also curious why the do-install target had to be manually written out,
> what's wrong with the autoconf installation? If you need to add extra
> files manually, do it in a post-install step.

The upstream source project has a peculiar conf and make process; they have
homebrew'd a Config script that is a completely rewritten interface to
autoconf and I believe it is to blame for why I have to manually have the
do-install target.  If one of you see something that I am missing, I'd be
happy to make the adjustment, but I can't get the port to "make install"
without the aforementioned "do-install" target.

>  there's a bunch of ${WRKINST}/usr/local which should be ${PREFIX} though
>  yes better to use autoconf installation

Thank you for calling these out, I have corrected the references and
${PREFIX} is now properly in place for the paths that required /usr/local

>   others:
>
>  why the empty pre-configure?

This is totally an oversight. It was unnecessary and has been removed.

>  just running "make configure" compiles libargon2 and shouldn't,
>  it should probably use security/argon2 instead. (also the compile
>  run as part of configure uses -O3 -march=native, which will
>  produce broken packages)

This requires some explanation. The upstream source bundles its
dependencies libraries in case the system is lacking them. These bundles
are unnecessary and should not be compiled or configured using the
incorrect "  -O3 -march=native".

The reason that libargon2 is attempting to erroneously compile is due to a
bug in security/argon2 - please see my prior email to the list with the
subject: "[Update] security/argon2 pkg-config version fix"

The OpenBSD port security/argon2 was not properly declaring the right make
flags and wasn't capturing the necessary version information for pkg-config
to pickup; A simple fix that was already acknowledged and committed to
correction by the mailing list.

>  it uses a bunch of SUBST_VARS for things which don't appear in
>  PLIST/etc

This should now be hugely cleaned up in the Makefile and PLIST.  I've made
proper use of the @sample syntax to reflect the /etc configs and adjusted
the other SUBST_VARS and PLIST info accordingly.

Please double-check but I believe things are in proper order now based upon
other ports examples.

>  RUN_DEPENDS for libraries which should be LIB_DEPENDS

Fixed and double-checked via "make lib-depends-check" and "make
port-lib-depends-check"
This should be in order now.

> Overall, a pretty good start, hope this all 

Node and rc.d

2023-09-27 Thread Remi L.

Hello everyone,

I am an OpenBSD user and I recently installed Node.js. I managed to 
create an rc.d script to start a basic Node.js application, but it only 
starts manually.


At OpenBSD boot, I can see that the application is started, but it 
doesn't work. I have the impression that it is related to the 
node_modules directory, because after inspection, the JavaScript file 
seems to stop at the line :


const express = require("express");

It cannot load the express module.

Here are the full details so that you can reproduce the same error on 
your side:


OpenBSD version: 7.3 (release + syspatch)

Node version: 18.15.0

npm version: 9.5.0

Let's create a basic node.js app:

mkdir /var/www/htdocs/app
cd /var/www/htdocs/app/
npm init -y
npm install express
touch server.js
chown -R www.www /var/www/htdocs/app
chmod -R 775 /var/www/htdocs/app

/var/www/htdocs/app/server.js file:

--8<--
const express = require("express");

const app = express();

app.get("/", (req, res) => {
  res.send("Hello from OpenBSD");
});

app.listen(80, () => {
  console.log("Server started on port 80");
});

--EOF--

You can run `node server.js` to test the url: http://your-ip

Ctrl-c to quit

Now let's create the /etc/rc.d/app script:

--8<--
#!/bin/ksh

daemon="/usr/local/bin/node"
daemon_execdir="/var/www/htdocs/app"
daemon_flags="server.js"
daemon_logger="daemon.info"
#daemon_rtable=0
#daemon_timeout=30
#daemon_user=root

. /etc/rc.d/rc.subr

#pexp="$(eval echo ${daemon}${daemon_flags:+ ${daemon_flags}})"
rc_bg="YES"
rc_reload="NO"
#rc_reload_signal=HUP
#rc_stop_signal=TERM
#rc_usercheck= # (undefined or "NO")

#rc_configtest() {
#}

#rc_pre() {
#}

#rc_start() {
#   rc_exec "${daemon} ${daemon_flags}"
#}

#rc_check() {
#   pgrep -T "${daemon_rtable}" -q -xf "${pexp}"
#}

#rc_reload() {
#   pkill -${rc_reload_signal} -T "${daemon_rtable}" -xf "${pexp}"
#}

#rc_stop() {
#   pkill -${rc_stop_signal} -T "${daemon_rtable}" -xf "${pexp}"
#}

#rc_post() {
#}

rc_cmd $1
--EOF--

chmod +x /etc/rc.d/app
rcctl enable app

Start the app: rcctl start app

Check in the browser or use: netstat -anf inet | grep 80

Stop the app: rcctl stop app

Check that it is not anymore started: pgrep node => nothing

- Reboot -

If I do a `dmesg -s`, I can see the following line:

starting package daemons: app.

No errors, no output, even in the /var/log/daemon log.

I would be very grateful for any help or advice that you can provide.



Sincerely,

-- Remi

"Everyone makes mistakes, and the best way to learn is from our 
mistakes." - Henry Ford




CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 12:13:48

Modified files:
wayland/foot   : Makefile 
wayland/plasma-wayland-protocols: Makefile 
wayland/swaybg : Makefile 
wayland/wayland: Makefile 
wayland/wayland-protocols: Makefile 
wayland/wayland-utils: Makefile 
wayland/wev: Makefile 
wayland/wlroots: Makefile 
wayland/xwayland: Makefile 

Log message:
MASTER_SITES -> SITES



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 12:09:07

Modified files:
textproc/TclXML: Makefile 
textproc/antiword: Makefile 
textproc/apertium: Makefile 
textproc/apertium-dicts: Makefile.inc 
textproc/apertium-dicts/afr: Makefile 
textproc/apertium-dicts/arg: Makefile 
textproc/apertium-dicts/bel-rus: Makefile 
textproc/apertium-dicts/cy-en: Makefile 
textproc/apertium-dicts/en-es: Makefile 
textproc/apertium-dicts/eo-es: Makefile 
textproc/apertium-dicts/pol: Makefile 
textproc/apertium-dicts/pol-szl: Makefile 
textproc/apertium-dicts/rus: Makefile 
textproc/apertium-dicts/szl: Makefile 
textproc/apertium-dicts/urd-hin: Makefile 
textproc/apertium-lex-tools: Makefile 
textproc/apertium-separable: Makefile 
textproc/arabica: Makefile 
textproc/argparse-manpage: Makefile 
textproc/asciidoc: Makefile 
textproc/aspell/dicts/af: Makefile 
textproc/aspell/dicts/ar: Makefile 
textproc/aspell/dicts/bg: Makefile 
textproc/aspell/dicts/br: Makefile 
textproc/aspell/dicts/ca: Makefile 
textproc/aspell/dicts/cs: Makefile 
textproc/aspell/dicts/cy: Makefile 
textproc/aspell/dicts/da: Makefile 
textproc/aspell/dicts/de: Makefile 
textproc/aspell/dicts/el: Makefile 
textproc/aspell/dicts/eo: Makefile 
textproc/aspell/dicts/es: Makefile 
textproc/aspell/dicts/fa: Makefile 
textproc/aspell/dicts/fo: Makefile 
textproc/aspell/dicts/fr: Makefile 
textproc/aspell/dicts/ga: Makefile 
textproc/aspell/dicts/gl: Makefile 
textproc/aspell/dicts/he: Makefile 
textproc/aspell/dicts/ia: Makefile 
textproc/aspell/dicts/id: Makefile 
textproc/aspell/dicts/is: Makefile 
textproc/aspell/dicts/it: Makefile 
textproc/aspell/dicts/lt: Makefile 
textproc/aspell/dicts/mi: Makefile 
textproc/aspell/dicts/ms: Makefile 
textproc/aspell/dicts/mt: Makefile 
textproc/aspell/dicts/nb: Makefile 
textproc/aspell/dicts/nl: Makefile 
textproc/aspell/dicts/nn: Makefile 
textproc/aspell/dicts/pl: Makefile 
textproc/aspell/dicts/pt: Makefile 
textproc/aspell/dicts/ro: Makefile 
textproc/aspell/dicts/ru: Makefile 
textproc/aspell/dicts/sk: Makefile 
textproc/aspell/dicts/sl: Makefile 
textproc/aspell/dicts/sr: Makefile 
textproc/aspell/dicts/sv: Makefile 
textproc/aspell/dicts/sw: Makefile 
textproc/aspell/dicts/tn: Makefile 
textproc/aspell/dicts/tr: Makefile 
textproc/aspell/dicts/uk: Makefile 
textproc/aspell/dicts/wa: Makefile 
textproc/aspell/dicts/zu: Makefile 
textproc/bibelot: Makefile 
textproc/bibtex2html: Makefile 
textproc/boust : Makefile 
textproc/c2html: Makefile 
textproc/calibre: Makefile 
textproc/catdoc: Makefile 
textproc/clit  : Makefile 
textproc/clo++ : Makefile 
textproc/cloc  : Makefile 
textproc/clucene: Makefile 
textproc/crossfire: Makefile 
textproc/crunch: Makefile 
textproc/dblatex: Makefile 
textproc/diction: Makefile 
textproc/diffstat: Makefile 
textproc/discount: Makefile 
textproc/docbook-dsssl: Makefile 
textproc/docbook-to-man: Makefile 
textproc/docbook-utils: Makefile 
textproc/docbook-xsl: Makefile 
textproc/docbook2mdoc: Makefile 
textproc/docbook2x: Makefile 
textproc/doclifter: Makefile 
textproc/docx2txt: Makefile 
textproc/ebook-tools: Makefile 
textproc/enchant: Makefile 
textproc/enchant2: Makefile 
textproc/epubcheck: Makefile 
textproc/exempi: Makefile 
textproc/fcbanner: Makefile 
textproc/filepp: Makefile 
textproc/fragistics: Makefile 
textproc/fzy   : Makefile 
textproc/gdiff : Makefile 
textproc/gi-docgen: Makefile 
textproc/gpresent: Makefile 
textproc/groff : Makefile 
textproc/gsed  : Makefile 
textproc/gtkspell: Makefile 
textproc/gtkspell3: Makefile 
textproc/halibut: Makefile 
textproc/heirloom-doctools: Makefile 
textproc/hevea : Makefile 
textproc/hfst  : Makefile 
textproc/hgrep : Makefile 
textproc/highlight: Makefile 
textproc/html  : Makefile 
textproc/html-xml-utils: Makefile 
textproc/hunspell: Makefile 
textproc/hyperestraier: Makefile 
textproc/hyphen: Makefile 
textproc/hyphen-i18n: Makefile.inc 
textproc/icu4c : Makefile 
textproc/idiff : Makefile 
textproc/igor  : Makefile 
textproc/iksemel: 

Re: maintainer update. net/dnscontrol --> 4.4.1

2023-09-27 Thread Klemens Nanni
On Wed, Sep 27, 2023 at 07:20:34PM +0200, Paco Esteban wrote:
> Hi ports@,
> 
> This is an update for net/dnscontrol to its latest version 4.4.1
> Lots of changes on the software like JSON report of changes, new
> providers, "no color" flag for output and more.  You can see them here:
> 
> https://github.com/StackExchange/dnscontrol/releases
> 
> Builds and runs ok for me on amd64.

Keeps working for me, OK kn

> 
> Ok to commit ?
> 
> diff /usr/ports
> commit - 774b5ac8593c8e368254a0c7382f33d6cdaeca56
> path + /usr/ports
> blob - 0227a6b8ce172e9ab8414e1cca9fbfd43e7c1bc9
> file + net/dnscontrol/Makefile
> --- net/dnscontrol/Makefile
> +++ net/dnscontrol/Makefile
> @@ -1,6 +1,6 @@
>  COMMENT =manage DNS configuration across any number of DNS hosts
>  
> -MODGO_VERSION =  v4.1.1
> +MODGO_VERSION =  v4.4.1
>  MODGO_MODNAME =  github.com/StackExchange/dnscontrol/v4
>  
>  DISTNAME =   dnscontrol-${MODGO_VERSION}
> blob - 76e96ec91792e371b7fda3e7ae1db8d7877f3e46
> file + net/dnscontrol/distinfo
> --- net/dnscontrol/distinfo
> +++ net/dnscontrol/distinfo
> @@ -1,24 +1,23 @@
> -SHA256 (dnscontrol-v4.1.1.zip) = pj1eEir6FAmP7C31cauCV4dzyf8wkxMd2ppW7GyqxpQ=
> -SHA256 (go_modules/cloud.google.com/go/@v/v0.110.0.mod) = 
> O29NEw+OV6zWIuXjFT6h9S5KXzwbXoW3zojCi1nx384=
> -SHA256 (go_modules/cloud.google.com/go/@v/v0.110.0.zip) = 
> i9zg17/AfnHOu7198tk9FBijXu0JIRuyHjwe6NL6v3w=
> +SHA256 (dnscontrol-v4.4.1.zip) = fnptxNRqWFDTHhTDWhgRmwZNQ39gtv6A70548qMYZiU=
> +SHA256 (go_modules/cloud.google.com/go/@v/v0.110.2.mod) = 
> /s4a1MvtHl2Hbqh33OyjQI8BVXQ+80/P9rgBsismEqs=
> +SHA256 (go_modules/cloud.google.com/go/@v/v0.110.2.zip) = 
> KLdNUKql4bzaBnN/W4We5n7EaFIf2+2jo2QKrCh8ab4=
>  SHA256 (go_modules/cloud.google.com/go/@v/v0.26.0.mod) = 
> IhijTyC5cbwZUhbUGV9XUgoqy9hd5/wxrPxEAmZwTBE=
> -SHA256 (go_modules/cloud.google.com/go/@v/v0.34.0.mod) = 
> IhijTyC5cbwZUhbUGV9XUgoqy9hd5/wxrPxEAmZwTBE=
>  SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.14.0.mod) = 
> FZKBsxgLr1dfC/2kB0mJxvyU9EO6BB5HaziS5VCb4a8=
> -SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.18.0.mod) = 
> j48coWqiC8JZFDdoKilHp9McujUQLHsb7lEUQ1QGqfU=
> -SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.19.3.mod) = 
> am0s/+OFo8MUMlu1WLCAZ9fMAzH3Ulp3G/3xSTPVTJM=
> -SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.19.3.zip) = 
> 6cjuKZqjwBnmtFhqR/2qxmQGR/D3iJbUzsW6WvoeYZ8=
> -SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.0.mod) = 
> ZmAMRI0rXFR3BnNIkO0YGJyCgLII2Gua8qsIENW2HSE=
> +SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.19.1.mod) = 
> 9RfF0Dh/zS8oHGgkYReqyiILXJvFbxk+mk2faCqZ8jI=
> +SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.20.1.mod) = 
> SI2TVknKeuBzDnUj1v2BwiWJhPotYoT9IlqTVMmt43I=
> +SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.23.0.mod) = 
> SI2TVknKeuBzDnUj1v2BwiWJhPotYoT9IlqTVMmt43I=
> +SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.23.0.zip) = 
> qJ66lKMxOOCscmYOxkJoros5RBt5tXjpIKj8R4BtifU=
>  SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.3.mod) = 
> ABGpCmT7GqppqtQm/orJyeWjfkthmnvQTUCQlTZatIg=
>  SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.3.zip) = 
> KShk29Cx3jepaOKF6UmIXlczhIN9gc02lb5c4uI5GIc=
>  SHA256 
> (go_modules/github.com/!azure!a!d/microsoft-authentication-library-for-go/@v/v0.9.0.mod)
>  = eIEzGSlm9B2ULdtFjDQ0B9OPRlwVLJtkuMLowEz91Nk=
> -SHA256 
> (go_modules/github.com/!azure!a!d/microsoft-authentication-library-for-go/@v/v1.0.0.mod)
>  = eIEzGSlm9B2ULdtFjDQ0B9OPRlwVLJtkuMLowEz91Nk=
> -SHA256 
> (go_modules/github.com/!azure!a!d/microsoft-authentication-library-for-go/@v/v1.0.0.zip)
>  = 8ob/hIELHsnDy+XNz+zfAPLwTuWIAcKRHIN8t1twftI=
> +SHA256 
> (go_modules/github.com/!azure!a!d/microsoft-authentication-library-for-go/@v/v1.1.1.mod)
>  = 7Qhg33P5gdaF3uCyx4T31hPZ8gfqcTsNLxcoiYmJuG0=
> +SHA256 
> (go_modules/github.com/!azure!a!d/microsoft-authentication-library-for-go/@v/v1.1.1.zip)
>  = b5M/ANUxBAnI8/4lkXw8SKu5T6nFgqnOauNeqv6A0Gw=
>  SHA256 
> (go_modules/github.com/!azure/azure-sdk-for-go/sdk/azcore/@v/v1.4.0.mod) = 
> ajXJzyKfZpxC3PgtrqUx5hHrKDJE1X9XgLVekjJt44Y=
> -SHA256 
> (go_modules/github.com/!azure/azure-sdk-for-go/sdk/azcore/@v/v1.6.0.mod) = 
> OpfCagdkJsYpdFdLc6MxeD5hyoH1qYX+9dxp49ZN42U=
> -SHA256 
> (go_modules/github.com/!azure/azure-sdk-for-go/sdk/azcore/@v/v1.6.0.zip) = 
> lKmkzuBGL6x2/V+J8TgfKPrD8aBdWc6nDwl0XlVjigw=
> +SHA256 
> (go_modules/github.com/!azure/azure-sdk-for-go/sdk/azcore/@v/v1.7.1.mod) = 
> OpfCagdkJsYpdFdLc6MxeD5hyoH1qYX+9dxp49ZN42U=
> +SHA256 
> (go_modules/github.com/!azure/azure-sdk-for-go/sdk/azcore/@v/v1.7.1.zip) = 
> HhnJT+OONjGQxbtFxeuktyrj4Sk8itR1G+NwYKLXiKY=
>  SHA256 
> (go_modules/github.com/!azure/azure-sdk-for-go/sdk/azidentity/@v/v1.2.2.mod) 
> = /cO9WBRUgF/hEDRzhKMKEfZk2m2GGImLjyM/NOPSF/8=
> -SHA256 
> (go_modules/github.com/!azure/azure-sdk-for-go/sdk/azidentity/@v/v1.3.0.mod) 
> = MzSHQLBeJkCCXp5xqYDD7NT9LwNIg5ITn+fmfwHoNKU=
> -SHA256 
> 

maintainer update. net/dnscontrol --> 4.4.1

2023-09-27 Thread Paco Esteban
Hi ports@,

This is an update for net/dnscontrol to its latest version 4.4.1
Lots of changes on the software like JSON report of changes, new
providers, "no color" flag for output and more.  You can see them here:

https://github.com/StackExchange/dnscontrol/releases

Builds and runs ok for me on amd64.

Ok to commit ?

diff /usr/ports
commit - 774b5ac8593c8e368254a0c7382f33d6cdaeca56
path + /usr/ports
blob - 0227a6b8ce172e9ab8414e1cca9fbfd43e7c1bc9
file + net/dnscontrol/Makefile
--- net/dnscontrol/Makefile
+++ net/dnscontrol/Makefile
@@ -1,6 +1,6 @@
 COMMENT =  manage DNS configuration across any number of DNS hosts
 
-MODGO_VERSION =v4.1.1
+MODGO_VERSION =v4.4.1
 MODGO_MODNAME =github.com/StackExchange/dnscontrol/v4
 
 DISTNAME = dnscontrol-${MODGO_VERSION}
blob - 76e96ec91792e371b7fda3e7ae1db8d7877f3e46
file + net/dnscontrol/distinfo
--- net/dnscontrol/distinfo
+++ net/dnscontrol/distinfo
@@ -1,24 +1,23 @@
-SHA256 (dnscontrol-v4.1.1.zip) = pj1eEir6FAmP7C31cauCV4dzyf8wkxMd2ppW7GyqxpQ=
-SHA256 (go_modules/cloud.google.com/go/@v/v0.110.0.mod) = 
O29NEw+OV6zWIuXjFT6h9S5KXzwbXoW3zojCi1nx384=
-SHA256 (go_modules/cloud.google.com/go/@v/v0.110.0.zip) = 
i9zg17/AfnHOu7198tk9FBijXu0JIRuyHjwe6NL6v3w=
+SHA256 (dnscontrol-v4.4.1.zip) = fnptxNRqWFDTHhTDWhgRmwZNQ39gtv6A70548qMYZiU=
+SHA256 (go_modules/cloud.google.com/go/@v/v0.110.2.mod) = 
/s4a1MvtHl2Hbqh33OyjQI8BVXQ+80/P9rgBsismEqs=
+SHA256 (go_modules/cloud.google.com/go/@v/v0.110.2.zip) = 
KLdNUKql4bzaBnN/W4We5n7EaFIf2+2jo2QKrCh8ab4=
 SHA256 (go_modules/cloud.google.com/go/@v/v0.26.0.mod) = 
IhijTyC5cbwZUhbUGV9XUgoqy9hd5/wxrPxEAmZwTBE=
-SHA256 (go_modules/cloud.google.com/go/@v/v0.34.0.mod) = 
IhijTyC5cbwZUhbUGV9XUgoqy9hd5/wxrPxEAmZwTBE=
 SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.14.0.mod) = 
FZKBsxgLr1dfC/2kB0mJxvyU9EO6BB5HaziS5VCb4a8=
-SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.18.0.mod) = 
j48coWqiC8JZFDdoKilHp9McujUQLHsb7lEUQ1QGqfU=
-SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.19.3.mod) = 
am0s/+OFo8MUMlu1WLCAZ9fMAzH3Ulp3G/3xSTPVTJM=
-SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.19.3.zip) = 
6cjuKZqjwBnmtFhqR/2qxmQGR/D3iJbUzsW6WvoeYZ8=
-SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.0.mod) = 
ZmAMRI0rXFR3BnNIkO0YGJyCgLII2Gua8qsIENW2HSE=
+SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.19.1.mod) = 
9RfF0Dh/zS8oHGgkYReqyiILXJvFbxk+mk2faCqZ8jI=
+SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.20.1.mod) = 
SI2TVknKeuBzDnUj1v2BwiWJhPotYoT9IlqTVMmt43I=
+SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.23.0.mod) = 
SI2TVknKeuBzDnUj1v2BwiWJhPotYoT9IlqTVMmt43I=
+SHA256 (go_modules/cloud.google.com/go/compute/@v/v1.23.0.zip) = 
qJ66lKMxOOCscmYOxkJoros5RBt5tXjpIKj8R4BtifU=
 SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.3.mod) = 
ABGpCmT7GqppqtQm/orJyeWjfkthmnvQTUCQlTZatIg=
 SHA256 (go_modules/cloud.google.com/go/compute/metadata/@v/v0.2.3.zip) = 
KShk29Cx3jepaOKF6UmIXlczhIN9gc02lb5c4uI5GIc=
 SHA256 
(go_modules/github.com/!azure!a!d/microsoft-authentication-library-for-go/@v/v0.9.0.mod)
 = eIEzGSlm9B2ULdtFjDQ0B9OPRlwVLJtkuMLowEz91Nk=
-SHA256 
(go_modules/github.com/!azure!a!d/microsoft-authentication-library-for-go/@v/v1.0.0.mod)
 = eIEzGSlm9B2ULdtFjDQ0B9OPRlwVLJtkuMLowEz91Nk=
-SHA256 
(go_modules/github.com/!azure!a!d/microsoft-authentication-library-for-go/@v/v1.0.0.zip)
 = 8ob/hIELHsnDy+XNz+zfAPLwTuWIAcKRHIN8t1twftI=
+SHA256 
(go_modules/github.com/!azure!a!d/microsoft-authentication-library-for-go/@v/v1.1.1.mod)
 = 7Qhg33P5gdaF3uCyx4T31hPZ8gfqcTsNLxcoiYmJuG0=
+SHA256 
(go_modules/github.com/!azure!a!d/microsoft-authentication-library-for-go/@v/v1.1.1.zip)
 = b5M/ANUxBAnI8/4lkXw8SKu5T6nFgqnOauNeqv6A0Gw=
 SHA256 
(go_modules/github.com/!azure/azure-sdk-for-go/sdk/azcore/@v/v1.4.0.mod) = 
ajXJzyKfZpxC3PgtrqUx5hHrKDJE1X9XgLVekjJt44Y=
-SHA256 
(go_modules/github.com/!azure/azure-sdk-for-go/sdk/azcore/@v/v1.6.0.mod) = 
OpfCagdkJsYpdFdLc6MxeD5hyoH1qYX+9dxp49ZN42U=
-SHA256 
(go_modules/github.com/!azure/azure-sdk-for-go/sdk/azcore/@v/v1.6.0.zip) = 
lKmkzuBGL6x2/V+J8TgfKPrD8aBdWc6nDwl0XlVjigw=
+SHA256 
(go_modules/github.com/!azure/azure-sdk-for-go/sdk/azcore/@v/v1.7.1.mod) = 
OpfCagdkJsYpdFdLc6MxeD5hyoH1qYX+9dxp49ZN42U=
+SHA256 
(go_modules/github.com/!azure/azure-sdk-for-go/sdk/azcore/@v/v1.7.1.zip) = 
HhnJT+OONjGQxbtFxeuktyrj4Sk8itR1G+NwYKLXiKY=
 SHA256 
(go_modules/github.com/!azure/azure-sdk-for-go/sdk/azidentity/@v/v1.2.2.mod) = 
/cO9WBRUgF/hEDRzhKMKEfZk2m2GGImLjyM/NOPSF/8=
-SHA256 
(go_modules/github.com/!azure/azure-sdk-for-go/sdk/azidentity/@v/v1.3.0.mod) = 
MzSHQLBeJkCCXp5xqYDD7NT9LwNIg5ITn+fmfwHoNKU=
-SHA256 
(go_modules/github.com/!azure/azure-sdk-for-go/sdk/azidentity/@v/v1.3.0.zip) = 
aZbA0vEs9taxCAYrOZ9aOlRsISZ6FgH6p3LRG3pv3Oc=
+SHA256 
(go_modules/github.com/!azure/azure-sdk-for-go/sdk/azidentity/@v/v1.3.1.mod) = 
26BfvbYKOINVSNTOGyHSyQBYuzowgNlUYC2dinmHkLI=
+SHA256 

CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 11:20:40

Modified files:
telephony/asterisk-g729: Makefile 
telephony/asterisk-openbsd-moh: Makefile 
telephony/asterisk-sounds: asterisk-sounds.port.mk 
telephony/bcg729: Makefile 
telephony/coturn: Makefile 
telephony/fobbit: Makefile 
telephony/gsutil: Makefile 
telephony/iaxclient: Makefile 
telephony/iaxmodem: Makefile 
telephony/kamailio: Makefile 
telephony/libosip2: Makefile 
telephony/linphone: Makefile.inc 
telephony/resiprocate: Makefile 
telephony/siproxd: Makefile 
telephony/sofia-sip: Makefile 
telephony/spandsp: Makefile 
telephony/stuntman: Makefile 

Log message:
MASTER_SITES -> SITES



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 11:16:37

Modified files:
sysutils/accountsservice: Makefile 
sysutils/anacron: Makefile 
sysutils/apachetop: Makefile 
sysutils/apcd  : Makefile 
sysutils/apcupsd: Makefile 
sysutils/appmanager: Makefile 
sysutils/autossh: Makefile 
sysutils/backuppc: Makefile 
sysutils/bacula: Makefile 
sysutils/bchunk: Makefile 
sysutils/bdfresize: Makefile 
sysutils/bubblemon-dockapp: Makefile 
sysutils/burp  : Makefile.inc 
sysutils/cdrtools: Makefile 
sysutils/cfengine: Makefile 
sysutils/checkbashisms: Makefile 
sysutils/checkrestart: Makefile 
sysutils/cl-launch: Makefile 
sysutils/cloud-agent: Makefile 
sysutils/cloud-sql-proxy: Makefile 
sysutils/clusterit: Makefile 
sysutils/cmb   : Makefile 
sysutils/cmdseq: Makefile 
sysutils/collectd: Makefile 
sysutils/colorls: Makefile 
sysutils/colortree: Makefile 
sysutils/consul: Makefile 
sysutils/coreboot-utils: Makefile 
sysutils/coreutils: Makefile 
sysutils/cpdup : Makefile 
sysutils/crashme: Makefile 
sysutils/curlftpfs: Makefile 
sysutils/dateutils: Makefile 
sysutils/dcled : Makefile 
sysutils/ddrescue: Makefile 
sysutils/deja-dup: Makefile 
sysutils/dep   : Makefile 
sysutils/detox : Makefile 
sysutils/dfc   : Makefile 
sysutils/dinit : Makefile 
sysutils/dmassage: Makefile 
sysutils/dmidecode: Makefile 
sysutils/dosfstools: Makefile 
sysutils/downtimed: Makefile 
sysutils/dsh   : Makefile 
sysutils/dtb   : Makefile 
sysutils/dtpstree: Makefile 
sysutils/duplicity: Makefile 
sysutils/dvd+rw-tools: Makefile 
sysutils/dwdiff: Makefile 
sysutils/e2fsprogs: Makefile 
sysutils/ec2-api-tools: Makefile 
sysutils/entr  : Makefile 
sysutils/eventlog: Makefile 
sysutils/faubackup: Makefile 
sysutils/fdupes: Makefile 
sysutils/findlib: Makefile 
sysutils/firmware: Makefile.inc 
sysutils/firmware/amd: Makefile 
sysutils/firmware/amdgpu: Makefile 
sysutils/firmware/inteldrm: Makefile 
sysutils/firmware/iwm: Makefile 
sysutils/firmware/iwn: Makefile 
sysutils/firmware/iwx: Makefile 
sysutils/firmware/mtw: Makefile 
sysutils/firmware/qcpas: Makefile 
sysutils/firmware/radeondrm: Makefile 
sysutils/firmware/ulpt: Makefile 
sysutils/firmware/wpi: Makefile 
sysutils/flock : Makefile 
sysutils/fprintd: Makefile 
sysutils/freedt: Makefile 
sysutils/fsstress: Makefile 
sysutils/galleon: Makefile 
sysutils/gdmap : Makefile 
sysutils/ggrep : Makefile 
sysutils/gitlab-runner: Makefile 
sysutils/gke-gcloud-auth-plugin: Makefile 
sysutils/gkrellm/gkrellm: Makefile 
sysutils/gkrellm/plugins/aclock: Makefile 
sysutils/gkrellm/plugins/bgchg: Makefile 
sysutils/gkrellm/plugins/kam: Makefile 
sysutils/gkrellm/plugins/launch: Makefile 
sysutils/gkrellm/plugins/mailwatch: Makefile 
sysutils/gkrellm/plugins/moon: Makefile 
sysutils/gkrellm/plugins/reminder: Makefile 
sysutils/gkrellm/plugins/shoot: Makefile 
sysutils/gkrellm/plugins/stock: Makefile 
sysutils/gkrellm/plugins/sun: Makefile 
sysutils/gkrellm/plugins/volume: Makefile 
sysutils/gkrellm/plugins/weather: Makefile 
sysutils/gkrellm/plugins/wireless: Makefile 
sysutils/glastree: Makefile 
sysutils/google-cloud-sdk: Makefile 
sysutils/gource: Makefile 
sysutils/gpioflicker: Makefile 
sysutils/gsmartcontrol: Makefile 
sysutils/hotplug-diskmount: Makefile 
sysutils/htop  : Makefile 
sysutils/idled : Makefile 
sysutils/incron: Makefile 
sysutils/iucode-tool: Makefile 
sysutils/krename: Makefile 
sysutils/libburn: Makefile 
sysutils/libdisplay-info: Makefile 
sysutils/libesedb: Makefile 
sysutils/libevdev-openbsd: Makefile 
sysutils/libevt: Makefile 
sysutils/libevtx: Makefile 
sysutils/libfsapfs: Makefile 
sysutils/libfsntfs: Makefile 
sysutils/libfvde: Makefile 
sysutils/libfwnt: Makefile 
sysutils/libfwsi: Makefile 
sysutils/libisoburn: Makefile 
sysutils/libisofs: Makefile 
sysutils/liblnk: Makefile 
sysutils/libluksde: Makefile 
sysutils/libmsiecf: Makefile 
sysutils/libolecf: Makefile 
sysutils/libportal: Makefile 
sysutils/libptytty: Makefile 
sysutils/libqcow: Makefile 
   

CVS: cvs.openbsd.org: ports

2023-09-27 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2023/09/27 10:44:12

Modified files:
www/smarc  : Makefile distinfo 

Log message:
update www/smarc to 0.3

changelog:
- msearchd: add a strict Content-Security-Policy

while here, switch MASTER_SITES -> SITES



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 10:41:31

Modified files:
shells/bash: Makefile 
shells/dash: Makefile 
shells/es  : Makefile 
shells/etsh: Makefile 
shells/fish: Makefile 
shells/sash: Makefile 
shells/tcsh: Makefile 
shells/zsh : Makefile 

Log message:
MASTER_SITES -> SITES



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 10:34:38

Modified files:
security/ADMsnmp: Makefile 
security/aescrypt: Makefile 
security/aide  : Makefile 
security/aircrack-ng: Makefile 
security/amap  : Makefile 
security/apg   : Makefile 
security/arirang: Makefile 
security/bfbtester: Makefile 
security/botan2: Makefile 
security/bounix: Makefile 
security/burpsuite: Makefile 
security/ccid  : Makefile 
security/ccrypt: Makefile 
security/chrootuid: Makefile 
security/clamav-unofficial-sigs: Makefile 
security/clusterssh: Makefile 
security/corkscrew: Makefile 
security/cracklib: Makefile 
security/cyrus-sasl2: Makefile 
security/dante : Makefile 
security/dicepassc: Makefile 
security/dirb  : Makefile 
security/dropbear: Makefile 
security/dsniff: Makefile 
security/emldump: Makefile 
security/encfs : Makefile 
security/exploitdb: Makefile 
security/fcrackzip: Makefile 
security/foremost: Makefile 
security/fragrouter: Makefile 
security/fwknop: Makefile 
security/gnupg : Makefile 
security/gnutls: Makefile 
security/gpa   : Makefile 
security/gpgme : Makefile 
security/gringotts: Makefile 
security/heimdal: Makefile 
security/integrit: Makefile 
security/ipguard: Makefile 
security/isic  : Makefile 
security/jailkit: Makefile 
security/john  : Makefile 
security/john-jumbo: Makefile 
security/keepassxc: Makefile 
security/keybase: Makefile 
security/keychain: Makefile 
security/keycloak: Makefile 
security/keyringer: Makefile 
security/kpcli : Makefile 
security/lastpass-cli: Makefile 
security/libassuan: Makefile 
security/libb2 : Makefile 
security/libbde: Makefile 
security/libewf: Makefile 
security/libfprint: Makefile 
security/libgcrypt: Makefile 
security/libgpg-error: Makefile 
security/libgringotts: Makefile 
security/libgsasl: Makefile 
security/libident: Makefile 
security/libksba: Makefile 
security/libmcrypt: Makefile 
security/libmodsecurity: Makefile 
security/libnettle: Makefile 
security/libotr: Makefile 
security/libsodium: Makefile 
security/libssh: Makefile 
security/libssh2: Makefile 
security/libtasn1: Makefile 
security/logsentry: Makefile 
security/lynis : Makefile 
security/mcrypt: Makefile 
security/mhash : Makefile 
security/netpgp: Makefile 
security/nfsshell: Makefile 
security/nss   : Makefile 
security/oath-toolkit: Makefile 
security/oledump: Makefile 
security/onesixtyone: Makefile 
security/opendnssec: Makefile 
security/openpam: Makefile 
security/opensc: Makefile 
security/openssl: Makefile.inc 
security/openssl/libretls: Makefile 
security/ophcrack: Makefile 
security/opmsg : Makefile 
security/otpcalc: Makefile 
security/outguess: Makefile 
security/p0f   : Makefile 
security/p0f3  : Makefile 
security/p5-Mozilla-CA-Fake: Makefile 
security/paperkey: Makefile 
security/pass-otp: Makefile 
security/passwdqc: Makefile 
security/password-store: Makefile 
security/pcsc-lite: Makefile 
security/pcsc-tools: Makefile 
security/pdf-parser: Makefile 
security/pdfcrack: Makefile 
security/pdfid : Makefile 
security/pgp5  : Makefile 
security/pgpdump: Makefile 
security/pidgin-otr: Makefile 
security/pinentry: Makefile 
security/pivy  : Makefile 
security/pizauth: Makefile 
security/plaso : Makefile 
security/plass : Makefile 
security/portscanner: Makefile 
security/portsentry: Makefile 
security/ppgen : Makefile 
security/pwgen : Makefile 
security/pwsafe: Makefile 
security/py-dfdatetime: Makefile 
security/py-dfvfs: Makefile 
security/py-dfwinreg: Makefile 
security/py-gssapi: Makefile 
security/qca-qt5: Makefile 
security/radiusniff: Makefile 
security/rarcrack: Makefile 
security/rbw   : Makefile 
security/rdp   : Makefile 
security/reop  : Makefile 
security/rhash : Makefile 
security/rnp   : Makefile 
security/rust-ring: Makefile 
security/scanlogd: Makefile 
security/scrypt: Makefile 
security/shash : Makefile 
security/smtpscan: Makefile 
security/smurflog: Makefile 

CVS: cvs.openbsd.org: ports

2023-09-27 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2023/09/27 10:13:08

Modified files:
net: Makefile 

Log message:
+ openvpn-otp



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2023/09/27 10:12:09

Log message:
import openvpn-otp, requested & tested by henning, help & ok sthen

This plug-in adds support for time-based OTP (totp) and HMAC-based
OTP (hotp) tokens for OpenVPN. Compatible with Google Authenticator
software tokens and other software- and hardware-based OTP tokens.

Status:

Vendor Tag: tb
Release Tags:   tb_20230927

N ports/net/openvpn-otp/Makefile
N ports/net/openvpn-otp/distinfo
N ports/net/openvpn-otp/pkg/DESCR
N ports/net/openvpn-otp/pkg/PLIST

No conflicts created by this import



Re: [new] net/openvpn-otp

2023-09-27 Thread Stuart Henderson
On 2023/09/27 18:02, Theo Buehler wrote:
> On Wed, Sep 27, 2023 at 04:43:37PM +0100, Stuart Henderson wrote:
> > On 2023/09/27 15:49, Theo Buehler wrote:
> > > This is a simple OpenVPN plugin that a client of henning would like to
> > > have.  The released version 1.0 is not compatible with OpenSSL 1.1 API,
> > > which is not a great sign, but the code doesn't look too terrible.
> > > 
> > > It ships an .so. Not sure if that needs to be versioned and if so, how.
> > 
> > It's just a module that gets dlopen()'d by openvpn, no version needed.
> > 
> > The .a is of no use at all - "LIBTOOL_FLAGS= --tag=disable-static"
> > skips building it.
> > 
> > It's unlikely that the .la will be useful either - the only plugin
> > loader I've seen that wants that is openldap's which uses ltdl.
> > So I think that can probably be skipped too (no fancy way, but
> > rm or @comment would do).
> > 
> > I would avoid autoconf 2.68 unless regenerating a script which was
> > originally generated with 2.68 (and even then I might go for something
> > newer if it works) - it was a short lived fairly buggy release.
> > I'd go for either of 2.69 or 2.71, they both work fine for this.
> > 
> 
> Thanks for the explanations. Yes, 2.68 is a remnant from experimenting
> before I figured out what to set in AUTORECONF. I should have looked
> closer at that AC_PREREQ([2.68]) line...

ah yes, that's a minimum.

> So attached is a new tarball with the following diff to the previous
> one. The generated .so is exactly the same.

ok

> diff -pu -r /tmp/openvpn-otp/Makefile ./Makefile
> --- /tmp/openvpn-otp/Makefile Wed Sep 27 15:46:44 2023
> +++ ./MakefileWed Sep 27 17:52:44 2023
> @@ -17,8 +17,10 @@ BUILD_DEPENDS= net/openvpn
>  
>  CONFIGURE_STYLE= autoreconf
>  AUTORECONF=  ${WRKSRC}/autogen.sh
> -AUTOCONF_VERSION=2.68
> +AUTOCONF_VERSION=2.71
>  AUTOMAKE_VERSION=1.16
> +
> +LIBTOOL_FLAGS=   --tag=disable-static
>  
>  DEBUG_PACKAGES=  ${BUILD_PACKAGES}
>  
> diff -pu -r /tmp/openvpn-otp/pkg/PLIST ./pkg/PLIST
> --- /tmp/openvpn-otp/pkg/PLISTWed Sep 27 12:49:30 2023
> +++ ./pkg/PLIST   Wed Sep 27 17:47:40 2023
> @@ -1,4 +1,3 @@
>  lib/openvpn/
> -lib/openvpn/openvpn-otp.a
> -lib/openvpn/openvpn-otp.la
> +@comment lib/openvpn/openvpn-otp.la
>  @so lib/openvpn/openvpn-otp.so




Re: [New] UnrealIRCD 6.1.1.1

2023-09-27 Thread Stuart Henderson
On 2023/09/26 19:27, A Tammy wrote:
> 
> On 9/26/23 18:52, JR Aquino wrote:
> > Attached you will find the proposed new addition of the UnrealIRCD Port for
> > OpenBSD
> >
> > I have tested everything based upon the OpenBSD Porting Guide documentation
> > and everything appears to be in full working order.
> >
> > Attached in the tarball
> 
> 
> thanks, this will be a nice one to have. even better if we can sneak it
> in by 7.4 (seems unlikely though).
> 
> A few comments.
> 
> Remove DISTNAME, EXTRACT_SUFX, and bunch of other values which are
> already the default. I'd suggest with trying to start removing things
> and if a clean build of the port still works. This will give you a good
> idea of whats redundant and what isn't.
> 
> Your BUILD_DEPENDS on gmake should be change to say USE_GMAKE=Yes
> 
> Your CONFIGURE_ARGS seems extremely verbose and it seems very likely
> that a lot of it can be trimmed down.
> 
> The LIB_DEPENDS on libtool is almost certainly incorrect (haven't built
> the port yet). Maybe you should set USE_LIBTOOL=gnu and see if that
> suffices - https://man.openbsd.org/bsd.port.mk.5#USE_LIBTOOL

it uses libltdl

> A lot of the variables that you''ve set, like RUNDIR, CONFDIR don't seem
> correct. CONFDIR being inside /usr/local is definitely incorrect, it
> needs to be just /etc/unrealircd.

${SYSCONFDIR}

> Also curious why the do-install target had to be manually written out,
> what's wrong with the autoconf installation? If you need to add extra
> files manually, do it in a post-install step.

there's a bunch of ${WRKINST}/usr/local which should be ${PREFIX} though
yes better to use autoconf installation

others:

why the empty pre-configure?

just running "make configure" compiles libargon2 and shouldn't,
it should probably use security/argon2 instead. (also the compile
run as part of configure uses -O3 -march=native, which will
produce broken packages)

it uses a bunch of SUBST_VARS for things which don't appear in
PLIST/etc

RUN_DEPENDS for libraries which should be LIB_DEPENDS

> Overall, a pretty good start, hope this all helps.

there is a fair bit of work still to do, it won't make 7.4



Re: [new] net/openvpn-otp

2023-09-27 Thread Theo Buehler
On Wed, Sep 27, 2023 at 04:43:37PM +0100, Stuart Henderson wrote:
> On 2023/09/27 15:49, Theo Buehler wrote:
> > This is a simple OpenVPN plugin that a client of henning would like to
> > have.  The released version 1.0 is not compatible with OpenSSL 1.1 API,
> > which is not a great sign, but the code doesn't look too terrible.
> > 
> > It ships an .so. Not sure if that needs to be versioned and if so, how.
> 
> It's just a module that gets dlopen()'d by openvpn, no version needed.
> 
> The .a is of no use at all - "LIBTOOL_FLAGS= --tag=disable-static"
> skips building it.
> 
> It's unlikely that the .la will be useful either - the only plugin
> loader I've seen that wants that is openldap's which uses ltdl.
> So I think that can probably be skipped too (no fancy way, but
> rm or @comment would do).
> 
> I would avoid autoconf 2.68 unless regenerating a script which was
> originally generated with 2.68 (and even then I might go for something
> newer if it works) - it was a short lived fairly buggy release.
> I'd go for either of 2.69 or 2.71, they both work fine for this.
> 

Thanks for the explanations. Yes, 2.68 is a remnant from experimenting
before I figured out what to set in AUTORECONF. I should have looked
closer at that AC_PREREQ([2.68]) line...

So attached is a new tarball with the following diff to the previous
one. The generated .so is exactly the same.

diff -pu -r /tmp/openvpn-otp/Makefile ./Makefile
--- /tmp/openvpn-otp/Makefile   Wed Sep 27 15:46:44 2023
+++ ./Makefile  Wed Sep 27 17:52:44 2023
@@ -17,8 +17,10 @@ BUILD_DEPENDS=   net/openvpn
 
 CONFIGURE_STYLE=   autoreconf
 AUTORECONF=${WRKSRC}/autogen.sh
-AUTOCONF_VERSION=  2.68
+AUTOCONF_VERSION=  2.71
 AUTOMAKE_VERSION=  1.16
+
+LIBTOOL_FLAGS= --tag=disable-static
 
 DEBUG_PACKAGES=${BUILD_PACKAGES}
 
diff -pu -r /tmp/openvpn-otp/pkg/PLIST ./pkg/PLIST
--- /tmp/openvpn-otp/pkg/PLIST  Wed Sep 27 12:49:30 2023
+++ ./pkg/PLIST Wed Sep 27 17:47:40 2023
@@ -1,4 +1,3 @@
 lib/openvpn/
-lib/openvpn/openvpn-otp.a
-lib/openvpn/openvpn-otp.la
+@comment lib/openvpn/openvpn-otp.la
 @so lib/openvpn/openvpn-otp.so


openvpn-otp.tgz
Description: application/tar-gz


Re: [NEW] graphics/oxipng

2023-09-27 Thread Benoit Lecocq


--- Original Message ---
Le mardi 26 septembre 2023 à 18:23, Frederic Cambus  a écrit :


> Hi ports@,
> 
> Here is a new port: graphics/oxipng
> 
> From DESCR:
> 
> Oxipng is a multithreaded lossless PNG compression optimizer. It can be used
> via a command-line interface or as a library in other Rust programs.
> 
> Comments? OK?

ok benoit@



Re: [new] net/openvpn-otp

2023-09-27 Thread Stuart Henderson
On 2023/09/27 15:49, Theo Buehler wrote:
> This is a simple OpenVPN plugin that a client of henning would like to
> have.  The released version 1.0 is not compatible with OpenSSL 1.1 API,
> which is not a great sign, but the code doesn't look too terrible.
> 
> It ships an .so. Not sure if that needs to be versioned and if so, how.

It's just a module that gets dlopen()'d by openvpn, no version needed.

The .a is of no use at all - "LIBTOOL_FLAGS= --tag=disable-static"
skips building it.

It's unlikely that the .la will be useful either - the only plugin
loader I've seen that wants that is openldap's which uses ltdl.
So I think that can probably be skipped too (no fancy way, but
rm or @comment would do).

I would avoid autoconf 2.68 unless regenerating a script which was
originally generated with 2.68 (and even then I might go for something
newer if it works) - it was a short lived fairly buggy release.
I'd go for either of 2.69 or 2.71, they both work fine for this.



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/09/27 09:26:15

Modified files:
cad/netgen : Makefile 
devel/git  : Makefile 

Log message:
remove a remaining couple of unnecessary PATCHORIG
(there is one more in texlive but there are too many fiddly pieces there
to touch now)



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 09:04:14

Modified files:
productivity/aqbanking: Makefile 
productivity/baikal: Makefile 
productivity/calcurse: Makefile 
productivity/davical: Makefile 
productivity/deskzilla: Makefile 
productivity/devtodo: Makefile 
productivity/fet: Makefile 
productivity/gnucash: Makefile 
productivity/gnucash-docs: Makefile 
productivity/grisbi: Makefile 
productivity/gtg: Makefile 
productivity/impressive: Makefile 
productivity/kalendar: Makefile 
productivity/kmymoney: Makefile 
productivity/ktimetracker: Makefile 
productivity/libalkimia: Makefile 
productivity/librcps: Makefile 
productivity/lifeograph: Makefile 
productivity/mcds: Makefile 
productivity/monica: Makefile 
productivity/novprog: Makefile 
productivity/osmo: Makefile 
productivity/projectlibre: Makefile 
productivity/rubrica2: Makefile 
productivity/siag: Makefile 
productivity/sl: Makefile 
productivity/taskd: Makefile 
productivity/taskwarrior: Makefile 
productivity/tdl: Makefile 
productivity/teapot: Makefile 
productivity/thinkingrock: Makefile 
productivity/timewarrior: Makefile 
productivity/tryton: Makefile.inc 
productivity/tudu: Makefile 
productivity/vit: Makefile 
productivity/vym: Makefile 
productivity/when: Makefile 
productivity/workrave: Makefile 
productivity/xinvest: Makefile 
productivity/xquote: Makefile 
productivity/yokadi: Makefile 
productivity/zim: Makefile 

Log message:
MASTER_SITES -> SITES



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 08:32:04

Modified files:
print/a2ps : Makefile 
print/apsfilter: Makefile 
print/bibview  : Makefile 
print/cups-bjnp: Makefile 
print/cups-filters: Makefile 
print/cups-pdf : Makefile 
print/cups-pk-helper: Makefile 
print/detex: Makefile 
print/dvi2tty  : Makefile 
print/enscript : Makefile 
print/epson-inkjet-printer-escpr: Makefile 
print/foiltex  : Makefile 
print/fontforge: Makefile 
print/foo2zjs  : Makefile 
print/foomatic-db: Makefile 
print/foomatic-db-engine: Makefile 
print/ghostscript/gnu-fonts: Makefile 
print/gl2ps: Makefile 
print/gtklp: Makefile 
print/gutenprint: Makefile 
print/gv   : Makefile 
print/hplip: Makefile 
print/htmldoc  : Makefile 
print/ijs  : Makefile 
print/kbibtex  : Makefile 
print/l2a  : Makefile 
print/latex-mk : Makefile 
print/lcdf-typetools: Makefile 
print/libcupsfilters: Makefile 
print/libpaper : Makefile 
print/libppd   : Makefile 
print/libspectre: Makefile 
print/lout : Makefile 
print/lss  : Makefile 
print/lyx  : Makefile 
print/mftrace  : Makefile 
print/mpage: Makefile 
print/muttprint: Makefile 
print/openclipart: Makefile 
print/poppler  : Makefile 
print/poppler-data: Makefile 
print/ps2eps   : Makefile 
print/pscal: Makefile 
print/psdim: Makefile 
print/psutils  : Makefile 
print/ptouch-driver: Makefile 
print/qpdf : Makefile 
print/scribus  : Makefile 
print/splix: Makefile 
print/system-config-printer: Makefile 
print/t1utils  : Makefile 
print/texinfo  : Makefile 
print/texlive  : Makefile.inc 
print/transfig : Makefile 
print/u2ps : Makefile 
print/unpaper  : Makefile 
print/xournal  : Makefile 
print/xprintproto: Makefile 

Log message:
MASTER_SITES -> SITES



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2023/09/27 08:24:50

Modified files:
editors/libreoffice: Makefile distinfo 

Log message:
update to 7.6.2.1



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 08:23:28

Modified files:
plan9/9libs: Makefile 
plan9/9menu: Makefile 
plan9/drawterm : Makefile 
plan9/rc   : Makefile 
plan9/tcs  : Makefile 
plan9/u9fs : Makefile 
plan9/wily : Makefile 

Log message:
MASTER_SITES -> SITES



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 08:21:13

Modified files:
news/aub   : Makefile 
news/leafnode  : Makefile 
news/multimail : Makefile 
news/nn: Makefile 
news/nzbget: Makefile 
news/p5-Gateway: Makefile 
news/pan   : Makefile 
news/sabnzbd   : Makefile 
news/slrn  : Makefile 
news/tin   : Makefile 
news/trn   : Makefile 
news/ubh   : Makefile 
news/yencode   : Makefile 

Log message:
MASTER_SITES -> SITES



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 08:18:42

Modified files:
net/adns   : Makefile 
net/aggregate  : Makefile 
net/amule  : Makefile 
net/argus  : Makefile 
net/arpcatch   : Makefile 
net/arpd   : Makefile 
net/arping : Makefile 
net/arpwatch   : Makefile 
net/axel   : Makefile 
net/balance: Makefile 
net/bindgraph  : Makefile 
net/bing   : Makefile 
net/bird   : Makefile.inc 
net/bitlbee: Makefile 
net/bitlbee-facebook: Makefile 
net/bnc: Makefile 
net/bore   : Makefile 
net/bro: Makefile 
net/btpd   : Makefile 
net/bwm-ng : Makefile 
net/cadaver: Makefile 
net/castget: Makefile 
net/cftp   : Makefile 
net/cgterm : Makefile 
net/clic   : Makefile 
net/cnupm  : Makefile 
net/coccinella : Makefile 
net/crawl  : Makefile 
net/ctrace : Makefile 
net/czmq   : Makefile 
net/daq: Makefile 
net/darkstat   : Makefile 
net/dbip   : Makefile.inc 
net/dhcdrop: Makefile 
net/dhcpdump   : Makefile 
net/dhcping: Makefile 
net/dico   : Makefile 
net/dictd  : Makefile 
net/dleyna : Makefile 
net/dlint  : Makefile 
net/dnsdist: Makefile 
net/dnsmasq: Makefile 
net/dnsreflector: Makefile 
net/dnstracer  : Makefile 
net/doc: Makefile 
net/dog: Makefile 
net/dsocks : Makefile 
net/dxpc   : Makefile 
net/echoping   : Makefile 
net/ekg: Makefile 
net/enet   : Makefile 
net/epic4  : Makefile 
net/epic5  : Makefile 
net/ettercap   : Makefile 
net/ezstream   : Makefile 
net/filezilla  : Makefile 
net/flickcurl  : Makefile 
net/flvstreamer: Makefile 
net/fmirror: Makefile 
net/freetalk   : Makefile 
net/ftpcopy: Makefile 
net/ftpsesame  : Makefile 
net/gajim  : Makefile 
net/gdnsd  : Makefile 
net/geomyidae  : Makefile 
net/gloox  : Makefile 
net/gmid   : Makefile 
net/gmudix : Makefile 
net/gopher : Makefile 
net/gophernicus: Makefile 
net/gotthard   : Makefile 
net/grake  : Makefile 
net/gtk-gnutella: Makefile 
net/haproxy: Makefile 
net/hexchat: Makefile 
net/httptunnel : Makefile 
net/iblock : Makefile 
net/icbirc : Makefile 
net/icecast: Makefile 
net/ices   : Makefile 
net/ices2  : Makefile 
net/icli   : Makefile 
net/icmpinfo   : Makefile 
net/ifstat : Makefile 
net/iftop  : Makefile 
net/igmpproxy  : Makefile 
net/inadyn : Makefile 
net/inetsim: Makefile 
net/iodine : Makefile 
net/ipaudit: Makefile 
net/ipcad  : Makefile 
net/ipcalc : Makefile 
net/iperf  : Makefile 
net/iperf3 : Makefile 
net/ipfm   : Makefile 
net/ipfreely   : Makefile 
net/iplog  : Makefile 
net/iprange: Makefile 
net/ipsvd  : Makefile 
net/ipv6-toolkit: Makefile 
net/irc: Makefile 
net/ircII  : Makefile 
net/ircd-hybrid: Makefile 
net/ircd-ratbox: Makefile 
net/irrtoolset : Makefile 
net/irssi  : Makefile 
net/irssi-xmpp : Makefile 
net/isc-dhcp   : Makefile 
net/jftpgw : Makefile 
net/jitsi/meet : Makefile 
net/jnettop: Makefile 
net/kdeconnect-kde: Makefile 
net/kdsoap : Makefile 
net/kea: Makefile 
net/kismet : Makefile 
net/kissd  : Makefile 
net/knot   : Makefile 
net/konversation: Makefile 
net/ktorrent   : Makefile 
net/kurly  : Makefile 
net/ladvd  : Makefile 
net/lagrange   : Makefile 
net/ldns   : Makefile 
net/lftp   : Makefile 
net/libaccounts-glib: Makefile 
net/libaccounts-qt: Makefile 
net/libbgpdump : Makefile 
net/libbind: Makefile 
net/libcares   : Makefile 
net/libfilezilla: Makefile 
net/libfstrm   : Makefile 
net/libgadu: Makefile 
net/libircclient: Makefile 
net/libktorrent: Makefile 
net/libmygpo-qt: Makefile 
net/libnet/1.0 : Makefile 
net/libnet/1.1 : Makefile 
net/libnids: Makefile 

[new] net/openvpn-otp

2023-09-27 Thread Theo Buehler
This is a simple OpenVPN plugin that a client of henning would like to
have.  The released version 1.0 is not compatible with OpenSSL 1.1 API,
which is not a great sign, but the code doesn't look too terrible.

It ships an .so. Not sure if that needs to be versioned and if so, how.
Works in simple testing.

Comment:
OpenVPN OTP Authentication support

Description:
This plug-in adds support for time-based OTP (totp) and HMAC-based
OTP (hotp) tokens for OpenVPN. Compatible with Google Authenticator
software tokens and other software- and hardware-based OTP tokens.

Maintainer: The OpenBSD ports mailing-list 

WWW: https://github.com/evgeny-gridasov/openvpn-otp


openvpn-otp.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2023-09-27 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/09/27 06:04:45

Modified files:
astro/sunclock : Makefile distinfo 

Log message:
simplify extraction. regen distinfo (hex -> base64 sha256)



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 04:10:22

Modified files:
multimedia/ccextractor: Makefile 
multimedia/dav1d: Makefile 
multimedia/devede: Makefile 
multimedia/dvdauthor: Makefile 
multimedia/dvdbackup: Makefile 
multimedia/dvdstyler: Makefile 
multimedia/get_flash_videos: Makefile 
multimedia/gstreamer1: Makefile.inc 
multimedia/gstreamer1/core: Makefile 
multimedia/gstreamer1/plugins-bad: Makefile 
multimedia/gstreamer1/plugins-base: Makefile 
multimedia/gstreamer1/plugins-good: Makefile 
multimedia/gstreamer1/plugins-libav: Makefile 
multimedia/gstreamer1/plugins-ugly: Makefile 
multimedia/gstreamer1/py-gstreamer: Makefile 
multimedia/handbrake: Makefile 
multimedia/hdhomerun: Makefile 
multimedia/imagination: Makefile 
multimedia/kid3: Makefile 
multimedia/lebiniou: Makefile 
multimedia/lebiniou-data: Makefile 
multimedia/libaacs: Makefile 
multimedia/libass: Makefile 
multimedia/libbdplus: Makefile 
multimedia/libbluray: Makefile 
multimedia/libde265: Makefile 
multimedia/libdv: Makefile 
multimedia/libdvdnav: Makefile 
multimedia/libheif: Makefile 
multimedia/libmatroska: Makefile 
multimedia/libmms: Makefile 
multimedia/libmp4v2: Makefile 
multimedia/libtheora: Makefile 
multimedia/libtheorafile: Makefile 
multimedia/libtheoraplay: Makefile 
multimedia/libudfread: Makefile 
multimedia/libv4l: Makefile 
multimedia/lsdvd: Makefile 
multimedia/minidlna: Makefile 
multimedia/mjpegtools: Makefile 
multimedia/mkvtoolnix: Makefile 
multimedia/mlt7: Makefile 
multimedia/mpgtx: Makefile 
multimedia/oggz: Makefile 
multimedia/ogmtools: Makefile 
multimedia/phonon: Makefile 
multimedia/phonon-backend/gstreamer: Makefile 
multimedia/phonon-backend/vlc: Makefile 
multimedia/pipewire: Makefile.inc 
multimedia/regionset: Makefile 
multimedia/sfml: Makefile 
multimedia/streamdvd: Makefile 
multimedia/subrip: Makefile 
multimedia/subtitleripper: Makefile 
multimedia/svt-av1: Makefile 
multimedia/synfig: Makefile 
multimedia/synfigstudio: Makefile 
multimedia/transcode: Makefile 
multimedia/upplay: Makefile 
multimedia/vitunes: Makefile 
multimedia/x265: Makefile 
multimedia/xine-lib: Makefile 
multimedia/xine-ui: Makefile 
multimedia/xvidcore: Makefile 

Log message:
MASTER_SITES -> SITES



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 03:52:14

Modified files:
misc/WordGenerator: Makefile 
misc/astrolog  : Makefile 
misc/bible-kjv : Makefile 
misc/brltty: Makefile 
misc/bsdiff: Makefile 
misc/buffer: Makefile 
misc/ccze  : Makefile 
misc/cdrdao: Makefile 
misc/clex  : Makefile 
misc/cmdpack   : Makefile 
misc/deco  : Makefile 
misc/delay : Makefile 
misc/dialog: Makefile 
misc/digitemp  : Makefile 
misc/divecmd   : Makefile 
misc/dtach : Makefile 
misc/dtcltiny  : Makefile 
misc/dvtm  : Makefile 
misc/ent   : Makefile 
misc/findutils : Makefile 
misc/fortunes-ru: Makefile 
misc/ftdi-eeprom: Makefile 
misc/garmin-utils: Makefile 
misc/geekcode  : Makefile 
misc/gnugetopt : Makefile 
misc/gnuwatch  : Makefile 
misc/gone  : Makefile 
misc/gpsd  : Makefile 
misc/gramps: Makefile 
misc/hfsplus   : Makefile 
misc/impress   : Makefile 
misc/insult: Makefile 
misc/lchat : Makefile 
misc/libcpucycles: Makefile 
misc/libdivecomputer: Makefile 
misc/libstubborn: Makefile 
misc/lifelines : Makefile 
misc/logjam: Makefile 
misc/m17n  : Makefile.inc 
misc/magicpoint: Makefile 
misc/mc: Makefile 
misc/memcached : Makefile 
misc/memchan   : Makefile 
misc/migrationtools: Makefile 
misc/most  : Makefile 
misc/openbabel : Makefile 
misc/os-test   : Makefile 
misc/osinfo: Makefile.inc 
misc/p5-Umph-Prompt: Makefile 
misc/pdmenu: Makefile 
misc/pfm   : Makefile 
misc/plan  : Makefile 
misc/posixtestsuite: Makefile 
misc/randtype  : Makefile 
misc/redshift  : Makefile 
misc/remind: Makefile 
misc/rlwrap: Makefile 
misc/rocrail   : Makefile 
misc/screen: Makefile 
misc/screen-shm: Makefile 
misc/sent  : Makefile 
misc/shared-desktop-ontologies: Makefile 
misc/shared-mime-info: Makefile 
misc/spdrs60   : Makefile 
misc/srcpd : Makefile 
misc/subsurface: Makefile 
misc/supercat  : Makefile 
misc/tapclean  : Makefile 
misc/teseq : Makefile 
misc/tkcron: Makefile 
misc/tkinfo: Makefile 
misc/tkman : Makefile 
misc/toilet: Makefile 
misc/ttyrec: Makefile 
misc/uniutils  : Makefile 
misc/vmware-vncpasswd: Makefile 
misc/vttest: Makefile 
misc/wmmand: Makefile 
misc/xcdroast  : Makefile 
misc/xgas  : Makefile 
misc/xkcd-viewer: Makefile 
misc/xless : Makefile 
misc/xtar  : Makefile 
misc/xtimer: Makefile 
misc/ytree : Makefile 
misc/zzuf  : Makefile 

Log message:
MASTER_SITES -> SITES



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/09/27 03:27:59

Modified files:
math/R : Makefile 
math/aamath: Makefile 
math/armadillo : Makefile 
math/bc-gh : Makefile 
math/bcal  : Makefile 
math/calcoo: Makefile 
math/cblas : Makefile 
math/cfitsio   : Makefile 
math/cgal  : Makefile 
math/datamash  : Makefile 
math/dieharder : Makefile 
math/ecm   : Makefile 
math/eigen3: Makefile 
math/ensmallen : Makefile 
math/fftw  : Makefile 
math/fftw3 : Makefile 
math/gbc   : Makefile 
math/geogebra  : Makefile 
math/ginac : Makefile 
math/gnuplot   : Makefile 
math/grace : Makefile 
math/graphviz  : Makefile 
math/grpn  : Makefile 
math/gunits: Makefile 
math/hc: Makefile 
math/hexcalc   : Makefile 
math/igraph: Makefile 
math/isl   : Makefile 
math/jacal : Makefile 
math/labplot   : Makefile 
math/libcerf   : Makefile 
math/libqalculate: Makefile 
math/lpsolve   : Makefile.inc 
math/lrs   : Makefile 
math/mathomatic: Makefile 
math/matio : Makefile 
math/maxima: Makefile 
math/mcl   : Makefile 
math/mcsim : Makefile 
math/ministat  : Makefile 
math/mlpack: Makefile 
math/netcdf: Makefile 
math/nonogram  : Makefile 
math/nonolib   : Makefile 
math/ntl   : Makefile 
math/octave: Makefile 
math/openfst   : Makefile 
math/pari  : Makefile 
math/plplot: Makefile 
math/prover9/ladr: Makefile 
math/prover9/p9m4: Makefile 
math/pspp  : Makefile 
math/qhull : Makefile 
math/qrupdate  : Makefile 
math/sc: Makefile 
math/spread-sheet-widget: Makefile 
math/suitesparse: Makefile 
math/udunits   : Makefile 
math/veusz : Makefile 
math/wcalc : Makefile 
math/wmcalc: Makefile 
math/yorick: Makefile 

Log message:
MASTER_SITES -> SITES



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Aisha Tammy
CVSROOT:/cvs
Module name:ports
Changes by: ai...@cvs.openbsd.org   2023/09/27 03:01:55

Modified files:
net/synapse: Makefile distinfo modules.inc 

Log message:
update to 1.93.0
fixes for CVE-2023-41335 and CVE-2023-42453
from maintainer Renaud Allard



[update] net/synapse 1.93.0

2023-09-27 Thread Renaud Allard

Hello,

Here is a diff to upgrade net/synapse to 1.93.0
Working fine on amd64

Best RegardsIndex: Makefile
===
RCS file: /cvs/ports/net/synapse/Makefile,v
retrieving revision 1.62
diff -u -p -r1.62 Makefile
--- Makefile	19 Sep 2023 11:52:38 -	1.62
+++ Makefile	27 Sep 2023 08:46:25 -
@@ -1,6 +1,6 @@
 COMMENT =	open network for secure, decentralized communication
 
-MODPY_EGG_VERSION =	1.92.3
+MODPY_EGG_VERSION =	1.93.0
 
 GH_ACCOUNT =	matrix-org
 GH_PROJECT =	synapse
Index: distinfo
===
RCS file: /cvs/ports/net/synapse/distinfo,v
retrieving revision 1.46
diff -u -p -r1.46 distinfo
--- distinfo	19 Sep 2023 11:52:38 -	1.46
+++ distinfo	27 Sep 2023 08:46:25 -
@@ -16,7 +16,7 @@ SHA256 (cargo/lazy_static-1.4.0.tar.gz) 
 SHA256 (cargo/libc-0.2.135.tar.gz) = aHg/68d4LGxctAH72k3lqYmL4XYjFNoLssEM7WHxiww=
 SHA256 (cargo/lock_api-0.4.9.tar.gz) = Q1ARNm/lZYOxbPlW+d8AlbQFuC12QlvImBwOIuYOxN8=
 SHA256 (cargo/log-0.4.20.tar.gz) = teYWPLjEkIjCw29Xh15YzNjIfHQn9/vVDqZxCy8/Lo8=
-SHA256 (cargo/memchr-2.5.0.tar.gz) = Lf/lLs8ndy5gGQW3Uiy073kNLMIDSIu9Di/oX8t0Vm0=
+SHA256 (cargo/memchr-2.6.3.tar.gz) = jyMtbvcH4ZVqQzQmk9KjHnKYlVTVgpnXqIc4zJWw01w=
 SHA256 (cargo/memoffset-0.6.5.tar.gz) = WqNh1Prqk2AwZKAnQV8HvY4dXIjJ+/aL9WooVCj9ec4=
 SHA256 (cargo/once_cell-1.15.0.tar.gz) = 6C2tBBObcakMCAyEY/4Nx5AttRktk5vQlQ8HTQFDOeE=
 SHA256 (cargo/parking_lot-0.12.1.tar.gz) = N0KywQO58GvJ//Cjf/SRKTWFG+5tNvPAK8x1W8/sIo8=
@@ -31,14 +31,14 @@ SHA256 (cargo/pyo3-macros-backend-0.17.3
 SHA256 (cargo/pythonize-0.17.0.tar.gz) = D38ME29fvAGGgYXu9GKADkllnrI6zKg7nohDZ6AGrLY=
 SHA256 (cargo/quote-1.0.29.tar.gz) = VzAV6KsnZhZ4NX8n3CZGBzj9K2yG5G84b96Uy12RMQU=
 SHA256 (cargo/redox_syscall-0.2.16.tar.gz) = +1pYwYVbS2gZ1ZASFVYD8LIq0wytdSYAqt/LaVJlUZo=
-SHA256 (cargo/regex-1.9.4.tar.gz) = Et4u/4VOX6SxKV7dZQ4ifp2PsMnpCxLn821qaBF5Gik=
-SHA256 (cargo/regex-automata-0.3.7.tar.gz) = SVMECKE24W5bSG6IP7troFjo5OiuZiGnewSLMUM25ik=
+SHA256 (cargo/regex-1.9.5.tar.gz) = aXBhIh6htKlKYk9n0K4r/k4iuKF7ahkq+xEEZULMjEc=
+SHA256 (cargo/regex-automata-0.3.8.tar.gz) = wvQB9JVSIGk7VvjsZu6ceKv/2NHE8j3EGiODnriPB5U=
 SHA256 (cargo/regex-syntax-0.7.5.tar.gz) = 27X7Gs2KGhiz3VvmLSVIXrdw4Fr7QIqWJ9FNRRuuEto=
 SHA256 (cargo/ryu-1.0.11.tar.gz) = RQGr3/OugqHBtHehclLrac7p5m65FcGrqk9E2HPfnwk=
 SHA256 (cargo/scopeguard-1.1.0.tar.gz) = 0pqwxtP8Dukv5m4tmfcA6rF6jVfRwdO3SDgPsguqeM0=
 SHA256 (cargo/serde-1.0.188.tar.gz) = z54Py6aaNw7tYbzytyhXX3JrULVcungGR1PXCN3HVJ4=
 SHA256 (cargo/serde_derive-1.0.188.tar.gz) = Tsp6xkLYKqNbYASabsy0vmvnXlmb0umttfh1pzdlSvI=
-SHA256 (cargo/serde_json-1.0.105.tar.gz) = aTFR4awnVj1tvOyd7p+9XahTmyD6FK03UrLm02Os42A=
+SHA256 (cargo/serde_json-1.0.107.tar.gz) = a0IM5uPYvYgumyQ8bu0128mmEQyXaedLWE4NaNHyDGU=
 SHA256 (cargo/smallvec-1.10.0.tar.gz) = pQe+/nlUBEVjQd+rEM72bq1MBB9iuLEbu5K//l0JU+A=
 SHA256 (cargo/subtle-2.4.1.tar.gz) = a97zLoFQwqCBEQtCdy/+fXyQMrYGvCJsgmD9l+CXZgE=
 SHA256 (cargo/syn-1.0.104.tar.gz) = SuVI7DbPGYwO93ENPCMJh8LW172YrW7cAnRGJyTFhc4=
@@ -54,7 +54,7 @@ SHA256 (cargo/windows_i686_gnu-0.36.1.ta
 SHA256 (cargo/windows_i686_msvc-0.36.1.tar.gz) = 4ueRcUiygS0e6vrrIql+SBPfpgo/j3jr4gS8yI8S8CQ=
 SHA256 (cargo/windows_x86_64_gnu-0.36.1.tar.gz) = Tc0XG4d2xBuXUh5doSei2GrSgBFIB9Cyqx5GK8dk2eE=
 SHA256 (cargo/windows_x86_64_msvc-0.36.1.tar.gz) = yBHKSoyFPvQgq9hZK6U927rJBBD6tpA7PnmXKmMfdoA=
-SHA256 (synapse-1.92.3.tar.gz) = DnkHiJT43vjaToKwu9My7o2AT9+MhFRZyvsSo2wXn6Y=
+SHA256 (synapse-1.93.0.tar.gz) = S6z/dVnNHzalF0O3n+hx6zuWkzqmY6rW+JAKHGt/jiE=
 SIZE (cargo/aho-corasick-1.0.2.tar.gz) = 167694
 SIZE (cargo/anyhow-1.0.75.tar.gz) = 43901
 SIZE (cargo/arc-swap-1.5.1.tar.gz) = 66157
@@ -73,7 +73,7 @@ SIZE (cargo/lazy_static-1.4.0.tar.gz) = 
 SIZE (cargo/libc-0.2.135.tar.gz) = 604591
 SIZE (cargo/lock_api-0.4.9.tar.gz) = 25685
 SIZE (cargo/log-0.4.20.tar.gz) = 38307
-SIZE (cargo/memchr-2.5.0.tar.gz) = 65812
+SIZE (cargo/memchr-2.6.3.tar.gz) = 94377
 SIZE (cargo/memoffset-0.6.5.tar.gz) = 7686
 SIZE (cargo/once_cell-1.15.0.tar.gz) = 31460
 SIZE (cargo/parking_lot-0.12.1.tar.gz) = 40967
@@ -88,14 +88,14 @@ SIZE (cargo/pyo3-macros-backend-0.17.3.t
 SIZE (cargo/pythonize-0.17.0.tar.gz) = 10949
 SIZE (cargo/quote-1.0.29.tar.gz) = 28345
 SIZE (cargo/redox_syscall-0.2.16.tar.gz) = 24012
-SIZE (cargo/regex-1.9.4.tar.gz) = 253112
-SIZE (cargo/regex-automata-0.3.7.tar.gz) = 607421
+SIZE (cargo/regex-1.9.5.tar.gz) = 253883
+SIZE (cargo/regex-automata-0.3.8.tar.gz) = 610113
 SIZE (cargo/regex-syntax-0.7.5.tar.gz) = 343366
 SIZE (cargo/ryu-1.0.11.tar.gz) = 47007
 SIZE (cargo/scopeguard-1.1.0.tar.gz) = 11470
 SIZE (cargo/serde-1.0.188.tar.gz) = 76230
 SIZE (cargo/serde_derive-1.0.188.tar.gz) = 55563
-SIZE (cargo/serde_json-1.0.105.tar.gz) = 146316
+SIZE (cargo/serde_json-1.0.107.tar.gz) = 146458
 SIZE (cargo/smallvec-1.10.0.tar.gz) = 31564
 SIZE (cargo/subtle-2.4.1.tar.gz) = 12630
 SIZE (cargo/syn-1.0.104.tar.gz) = 236683
@@ -111,4 +111,4 @@ SIZE 

CVS: cvs.openbsd.org: ports

2023-09-27 Thread Sebastien Marie
CVSROOT:/cvs
Module name:ports
Changes by: sema...@cvs.openbsd.org 2023/09/27 02:21:06

Modified files:
infrastructure/mk: bsd.port.mk 

Log message:
extent USE_LLD to Yes/No/ports values.

'ports' permits to force the use of ld.lld from lang/clang module.

ok landry@



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/09/27 02:18:23

Modified files:
net/flow-tools : Makefile 
net/flow-tools/pkg: PLIST 

Log message:
fix up flow-tools' @sample lines; overriding SYSCONFDIR stopped with the
2021 move to git head, but the PLIST wasn't changed to properly cope.
spotted by semarie@



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2023/09/27 00:49:28

Modified files:
geo/gpxsee : Makefile distinfo 

Log message:
geo/gpxsee: update to 13.9



Re: [update] upower 1.90.2

2023-09-27 Thread Landry Breuil
Le Wed, Sep 27, 2023 at 08:41:51AM +0200, Landry Breuil a écrit :
> hi,
> 
> small update mostly merging our patches, but also other fixes per
> https://gitlab.freedesktop.org/upower/upower/-/releases/v1.90.1 &
> https://gitlab.freedesktop.org/upower/upower/-/releases/v1.90.2
> 
> future releases drop lid handling for logind (yay) but i havent found
> the corresponding issue/discussion in gitlab.fd.o.

even better with a diff, thanks tb@ :)
? patch-src_up-device-battery_c
? patch-src_up-device_c
? upower-0.99.11-libupower-glib.so.2.1
? upower-0.99.13-libupower-glib.so.2.1
? upower-0.99.7-libupower-glib.so.2.1
? upower-0.99.9-libupower-glib.so.2.1
? upower-1.90.wip.diff
? upower-1.90.wip2.diff
? upower-1.90.wip3.diff
Index: Makefile
===
RCS file: /cvs/ports/sysutils/upower/Makefile,v
retrieving revision 1.69
diff -u -r1.69 Makefile
--- Makefile10 Aug 2022 13:34:03 -  1.69
+++ Makefile27 Sep 2023 06:38:34 -
@@ -2,7 +2,7 @@
 
 COMMENT =  userland power management interface
 
-V =v1.90.0
+V =v1.90.2
 DISTNAME = upower-${V}
 PKGNAME =  upower-${V:S/v//}
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/upower/distinfo,v
retrieving revision 1.23
diff -u -r1.23 distinfo
--- distinfo10 Aug 2022 13:34:03 -  1.23
+++ distinfo27 Sep 2023 06:38:34 -
@@ -1,2 +1,2 @@
-SHA256 (upower-v1.90.0.tar.gz) = y2Ao8JWCRCLFnZizyZA+LtoqlvxhPxGCTwtjed5++i4=
-SIZE (upower-v1.90.0.tar.gz) = 170168
+SHA256 (upower-v1.90.2.tar.gz) = XE5zZkjwyJ0jaPu+Hm/AWYoVZcS0NbreHWXokCWft1k=
+SIZE (upower-v1.90.2.tar.gz) = 180731
Index: patches/patch-src_openbsd_up-backend_c
===
RCS file: patches/patch-src_openbsd_up-backend_c
diff -N patches/patch-src_openbsd_up-backend_c
--- patches/patch-src_openbsd_up-backend_c  10 Aug 2022 13:34:03 -  
1.24
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,159 +0,0 @@
-https://gitlab.freedesktop.org/upower/upower/-/issues/201
-
-Index: src/openbsd/up-backend.c
 src/openbsd/up-backend.c.orig
-+++ src/openbsd/up-backend.c
-@@ -33,6 +33,7 @@ static void  up_backend_init (UpBackend  
*backend);
- static void   up_backend_finalize (GObject*object);
- 
- static gboolean   up_backend_apm_get_power_info(struct apm_power_info*);
-+static gpointer   up_backend_apm_event_thread(gpointer object);
- UpDeviceState up_backend_apm_get_battery_state_value(u_char battery_state);
- static void   up_backend_update_acpibat_state(UpDevice*, struct sensordev);
- static void   up_backend_update_lid_status(UpDaemon*);
-@@ -127,10 +128,63 @@ up_apm_device_get_online (UpDevice *device, gboolean *
- gboolean
- up_backend_coldplug (UpBackend *backend, UpDaemon *daemon)
- {
--  backend->priv->daemon = g_object_ref (daemon);
-+  GError *err = NULL;
-+  UpDeviceClass *device_class;
-+  gint64 current_time;
- 
-+  backend->priv = up_backend_get_instance_private (backend);
-+  backend->priv->daemon = g_object_ref (daemon);
-+  backend->priv->is_laptop = up_native_is_laptop();
-+  g_debug("is_laptop:%d",backend->priv->is_laptop);
-   if (backend->priv->is_laptop)
-   {
-+  UpApmNative *acnative = NULL;
-+  UpApmNative *battnative = NULL;
-+
-+  acnative = up_apm_native_new("/ac");
-+  battnative = up_apm_native_new("/batt");
-+
-+  backend->priv->ac = UP_DEVICE(up_device_new 
(backend->priv->daemon, G_OBJECT(acnative)));
-+  backend->priv->battery = UP_DEVICE(up_device_new 
(backend->priv->daemon, G_OBJECT(battnative)));
-+
-+  g_object_unref (acnative);
-+  g_object_unref (battnative);
-+
-+  device_class = UP_DEVICE_GET_CLASS (backend->priv->battery);
-+  device_class->get_on_battery = up_apm_device_get_on_battery;
-+  device_class->get_online = up_apm_device_get_online;
-+  device_class->refresh = up_apm_device_refresh;
-+  device_class = UP_DEVICE_GET_CLASS (backend->priv->ac);
-+  device_class->get_on_battery = up_apm_device_get_on_battery;
-+  device_class->get_online = up_apm_device_get_online;
-+  device_class->refresh = up_apm_device_refresh;
-+  /* creates thread */
-+  if((backend->priv->apm_thread = (GThread*) 
g_thread_try_new("apm-poller",(GThreadFunc)up_backend_apm_event_thread, (void*) 
backend, )) == NULL)
-+  {
-+  g_warning("Thread create failed: %s", err->message);
-+  g_error_free (err);
-+  }
-+
-+  /* setup dummy */
-+  current_time = g_get_real_time () / G_USEC_PER_SEC;
-+  g_object_set (backend->priv->battery,
-+"type", UP_DEVICE_KIND_BATTERY,

[update] upower 1.90.2

2023-09-27 Thread Landry Breuil
hi,

small update mostly merging our patches, but also other fixes per
https://gitlab.freedesktop.org/upower/upower/-/releases/v1.90.1 &
https://gitlab.freedesktop.org/upower/upower/-/releases/v1.90.2

future releases drop lid handling for logind (yay) but i havent found
the corresponding issue/discussion in gitlab.fd.o.

Landry



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2023/09/27 00:34:48

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

Log message:
sysutils/menulibre: update to 2.3.2.

see https://github.com/bluesabre/menulibre/releases/tag/menulibre-2.3.2



CVS: cvs.openbsd.org: ports

2023-09-27 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2023/09/27 00:18:37

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

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

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