Re: NEW: games/oneko

2024-03-09 Thread Stuart Henderson
On 2024/03/09 18:14, Tobias Heider wrote:
> On Fri, Mar 08, 2024 at 10:02:33PM -0600, izder456 wrote:
> > 
> > Hey ports@ o/,
> > 
> > This is a little & silly X program that has a small pixelated
> > cat "neko" or optionally a dog or other characters like Beastie follow
> > your cursor around.
> > 
> > I loosely followed the FreeBSD port as a structural reference and used
> > the Arch PKGBUILD for finding `DISTFILES`. Unsure as this is my first
> > `CONFIGURE = imake` port.
> > 
> > I want to import this.
> > 
> > OK? or nits b4 merge?
> > 
> > -- 
> > -iz (they/them)
> > 
> > > i like to say mundane things, 
> > > there are too many uninteresting things 
> > > that go unnoticed.
> > 
> > izder456 (dot) neocities (dot) org
> 
> What's the licensing situation for oneko?
> I thought it didn't have one, which could be a problem for distributing it in
> ports.

Right. The only copyright information or license grant in the distfile
is McKusick's permission for the BSD daemon image, nothing else.

If there's no copyright information for something, it is _not_ public
domain, it is copyrighted by the creator.

Looks to me like, if it's imported at all, it needs to be set for
no redistribution of packages or distfiles.



No more imports, only important updates

2024-03-09 Thread Christian Weisgerber
The release is rapidly approaching.  Please, no more imports of new
ports.  Also, only important updates should still go in, i.e., if
they fix something or are required for the lifetime of -stable.

Obviously we still want bug fixes!

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: UPDATE: games/minetest to 5.8.0

2024-03-09 Thread izder456
On Tue, 5 Mar 2024 23:08:04 +0100
Fabien ROMANO  wrote:

> Hi izder,
> 
> On 04/03/2024 17:58, izder456 wrote:
> > Hello ports@,
> > 
> > Attached is a tarball of the update.
> > 
> > I took a line from FreeBSD's port system for gmp stuff, as we can
> > also use system gmp fine. I also patched a file so `getpid()` is
> > properly referenced from `unistd.h`. May be good to PR this patch
> > upstream?
> > 
> > This port seems rather-ish complex, so I didn't do the DIST_TUPLE
> > stuff as I am no expert.
> > 
> > OK to merge?
> > 
> 
> There is what I have done on my side, feel free to use at your own.
> Not sure about gmp stuff from freebsd.
> It was weeks ago and I ran into grahic card issue so I did not test
> again.
> 
> I also added patches from lang/lua to the build (not needed ?)
>
> [diff]
>

Thanks for the lang/lua stuff, I needed to use -DENABLE_LUAJIT=FALSE in
the CONFIGURE_ARGS without them. Looks like the default
-DENABLE_LUAJIT=TRUE works fine here, just needed a little patching.
(CMake complains a little, but eh, whatevs)

I also swapped the DISTFILES to DIST_TUPLE here for simplicity's sake.
Thanks for the lang/lua tips.

attached is the diff with the above changes.

OK?

-- 
-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org
diff --git games/minetest/Makefile games/minetest/Makefile
index c359bb848..37295c56b 100644
--- games/minetest/Makefile
+++ games/minetest/Makefile
@@ -1,11 +1,13 @@
 COMMENT =		infinite-world block sandbox game
 
-V =			5.6.0
-GAME_V =		5.6.0
-IRRLICHTMT_V =		1.9.0mt7
+V =			5.8.0
+PKGNAME =		minetest-${V}
 
-DISTNAME =		minetest-${V}
-CATEGORIES =		games x11
+DIST_TUPLE +=		github minetest minetest ${V} .
+DIST_TUPLE +=		github minetest irrlicht 1.9.0mt13 lib/irrlichtmt
+DIST_TUPLE +=		github minetest minetest_game 5.8.0 games/minetest_game
+
+CATEGORIES =	games
 REVISION =		0
 
 HOMEPAGE =		https://www.minetest.net/
@@ -13,25 +15,17 @@ HOMEPAGE =		https://www.minetest.net/
 # source LGPLv2.1/ datas CC BY-SA 3.0
 PERMIT_PACKAGE =	Yes
 
-WANTLIB += ${COMPILER_LIBCXX} GL GLU ICE SM X11 Xext Xi c curl
-WANTLIB += curses form freetype gmp iconv intl jpeg jsoncpp lua5.1
-WANTLIB += m ogg openal png pq spatialindex sqlite3 vorbis vorbisfile
-WANTLIB += z zstd
+WANTLIB +=	${COMPILER_LIBCXX} GL GLU ICE SM X11 Xext Xi c curl
+WANTLIB +=	curses form freetype gmp iconv intl jpeg jsoncpp
+WANTLIB +=	m ogg openal png pq spatialindex sqlite3 vorbis vorbisfile
+WANTLIB +=	z zstd
 
 COMPILER =		base-clang ports-gcc base-gcc
 
-SITES =			https://github.com/minetest/
-
-DISTFILES =		minetest-{minetest/archive/}${V}${EXTRACT_SUFX} \
-			minetest-game-{minetest_game/archive/}${GAME_V}${EXTRACT_SUFX} \
-			irrlichtmt-{irrlicht/archive/}${IRRLICHTMT_V}${EXTRACT_SUFX}
-
-MODULES =		devel/cmake \
-			lang/lua
+MODULES =		devel/cmake
 
 CONFIGURE_ARGS =	-DENABLE_GETTEXT=ON -DCUSTOM_MANDIR=${PREFIX}/man
 CONFIGURE_ARGS+=	-DENABLE_REDIS=FALSE -DENABLE_LEVELDB=FALSE
-CONFIGURE_ARGS+=	-DENABLE_SYSTEM_JSONCPP=TRUE -DENABLE_LUAJIT=FALSE
 CONFIGURE_ARGS+=	-DBUILD_SERVER=TRUE
 
 CXXFLAGS +=		-I${X11BASE}/include
@@ -42,8 +36,7 @@ BUILD_DEPENDS =		devel/gettext,-tools
 RUN_DEPENDS =		devel/desktop-file-utils \
 			x11/gtk+4,-guic
 
-LIB_DEPENDS =		${MODLUA_LIB_DEPENDS} \
-			audio/openal \
+LIB_DEPENDS =		audio/openal \
 			audio/libvorbis \
 			archivers/zstd \
 			devel/gettext,-runtime \
@@ -60,17 +53,10 @@ TEST_DEPENDS =		${FULLPKGNAME}:${BUILD_PKGPATH}
 TEST_ENV +=		HOME=${WRKBUILD}/test \
 			LC_CTYPE="en_US.UTF-8"
 
-post-extract:
-	mv ${WRKDIR}/irrlicht-${IRRLICHTMT_V} \
-		${WRKSRC}/lib/irrlichtmt
-
-# Use system cmake modules
-post-patch:
-	rm ${WRKSRC}/cmake/Modules/FindLua*
-
 post-install:
-	mv ${WRKDIR}/minetest_game-${GAME_V}/ \
-		${PREFIX}/share/minetest/games/minetest_game
+	mkdir -p ${PREFIX}/share/minetest/games
+	mv ${WRKDIST}/games \
+		${PREFIX}/share/minetest/
 	chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/minetest/games/minetest_game
 
 do-test:
diff --git games/minetest/distinfo games/minetest/distinfo
index 08f8f924f..1ac767a40 100644
--- games/minetest/distinfo
+++ games/minetest/distinfo
@@ -1,6 +1,6 @@
-SHA256 (irrlichtmt-1.9.0mt7.tar.gz) = wSzb1KhS4ebr97oieJqgV6Gn8tWF3YGiQSpi9XoOJhk=
-SHA256 (minetest-5.6.0.tar.gz) = P9vAyNn2oYwSlUugyu21SKIvNnUg9Z0HmASiHeA0epE=
-SHA256 (minetest-game-5.6.0.tar.gz) = /ZkdQsJT2zgFWcWTorA18i4HqB+Ge1OAovBF6aTQTIc=
-SIZE (irrlichtmt-1.9.0mt7.tar.gz) = 909510
-SIZE (minetest-5.6.0.tar.gz) = 9922682
-SIZE (minetest-game-5.6.0.tar.gz) = 2590530
+SHA256 (minetest-irrlicht-1.9.0mt13.tar.gz) = L96OJxRJiCELnA/x4gKQWDTZ0lqqY85FJ2P9cXEJatw=
+SHA256 (minetest-minetest-5.8.0.tar.gz) = YQyFok13rNwwQ6add3vtnmwAFpQGygnfIq1JD+DWjAw=
+SHA256 (minetest-minetest_game-5.8.0.tar.gz) = M6O7Q7CEl6C9svSfFAooKeWC1cFsCtUr4VlcgD9waRI=
+SIZE (minetest-irrlicht-1.9.0mt13.tar.gz) = 754056
+SIZE (minetest-minetest-5.8.0.tar.gz) = 10419348
+SIZE (minetest-minetest_game-5.8

Re: NEW: games/oneko

2024-03-09 Thread izder456
On Sat, 9 Mar 2024 18:14:29 +0100
Tobias Heider  wrote:

> On Fri, Mar 08, 2024 at 10:02:33PM -0600, izder456 wrote:
> > 
> > Hey ports@ o/,
> > 
> > This is a little & silly X program that has a small pixelated
> > cat "neko" or optionally a dog or other characters like Beastie
> > follow your cursor around.
> > 
> > I loosely followed the FreeBSD port as a structural reference and
> > used the Arch PKGBUILD for finding `DISTFILES`. Unsure as this is
> > my first `CONFIGURE = imake` port.
> > 
> > I want to import this.
> > 
> > OK? or nits b4 merge?
> > 
> > -- 
> > -iz (they/them)
> >   
> > > i like to say mundane things, 
> > > there are too many uninteresting things 
> > > that go unnoticed.  
> > 
> > izder456 (dot) neocities (dot) org  
> 
> What's the licensing situation for oneko?
> I thought it didn't have one, which could be a problem for
> distributing it in ports.
> 

Good question,

As far as I can tell, its a public domain licence. 

FreeBSD, and even Debian distribute binaries.

The only CAVEAT I can see is the CARDCAPTOR derivative bitmaps, unsure
on this.

I understand they are different projects with different licensing
policies, but from what it looks like we should be in the clear here.

In all honesty, this software appears to be abandonware, so this may
change things, possibly?

(side-note: make sure to read my reply diff though, I fixed *some* of
the compile warns in those.)

anyways- for brevity's sake, here is the attached diff with the
relevant licence information and the above mentioned patches.

-- 
-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org
diff --git games/oneko/Makefile games/oneko/Makefile
index 0282e2e..e1e2a51 100644
--- games/oneko/Makefile
+++ games/oneko/Makefile
@@ -7,9 +7,10 @@ CATEGORIES =		games
 
 HOMEPAGE =		http://www.daidouji.com/oneko
 
+# License: Custom, includes derivates of CARDCAPTOR SAKURA, see https://www.clamp-net.com
 PERMIT_PACKAGE =	Yes
 
-WANTLIB += 		X11 Xau Xdmcp Xext c m
+WANTLIB +=		X11 Xau Xdmcp Xext c m
 
 SITES =			http://www.daidouji.com/oneko/distfiles/
 
diff --git games/oneko/patches/patch-oneko_c games/oneko/patches/patch-oneko_c
new file mode 100644
index 000..41ebfb7
--- /dev/null
+++ games/oneko/patches/patch-oneko_c
@@ -0,0 +1,30 @@
+Index: oneko.c
+--- oneko.c.orig
 oneko.c
+@@ -335,7 +335,7 @@ char	*resource;
+  *	$@%j%=!<%9!&%G!<%?%Y!<%9$+$i%*%W%7%g%s$r@_Dj(J
+  */
+ 
+-GetResources()
++void GetResources()
+ {
+   char	*resource;
+   int		num;
+@@ -434,7 +434,7 @@ GetResources()
+  *	$@$M$:$_7?%+!<%=%k$r:n$k(J
+  */
+ 
+-MakeMouseCursor()
++void MakeMouseCursor()
+ {
+ Pixmap			theCursorSource;
+ Pixmap			theCursorMask;
+@@ -463,7 +463,7 @@ MakeMouseCursor()
+  *	$@?'$r=i4|@_Dj$9$k(J
+  */
+ 
+-SetupColors()
++void SetupColors()
+ {
+ XColor	theExactColor;
+ Colormap	theColormap;
diff --git games/oneko/patches/patch-oneko_h games/oneko/patches/patch-oneko_h
new file mode 100644
index 000..00812c5
--- /dev/null
+++ games/oneko/patches/patch-oneko_h
@@ -0,0 +1,11 @@
+Index: oneko.h
+--- oneko.h.orig
 oneko.h
+@@ -15,6 +15,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ #include 
diff --git games/oneko/patches/patch-oneko_man games/oneko/patches/patch-oneko_man
new file mode 100644
index 000..342b5fb
--- /dev/null
+++ games/oneko/patches/patch-oneko_man
@@ -0,0 +1,11 @@
+Index: oneko.man
+--- oneko.man.orig
 oneko.man
+@@ -1,6 +1,5 @@
+ .TH ONEKO 6
+-.SH NAME oneko
+-The program oneko creates a cute cat chasing around your mouse cursor.
++.SH NAME oneko \- Creates a cute cat chasing around your mouse cursor.
+ .SH SYNOPSIS
+ .B oneko
+ [\fB-help\fP] [\fB-tora\fP]


Re: [UPDATE] x11/picom - new version 11.2

2024-03-09 Thread Jose Maldonado
El Sat, 9 Mar 2024 14:54:45 -0500
Stefan Moran  escribió:
> Disclaimer, this was done on a backport to -stable.
> 
> Works fine on intel (modesetting driver), testing with glxgears and
> mpv I get some nasty frame-timing issues with the glx backend (doesn't
> matter if vsync is enabled or not). Using the --no-frame-pacing flag
> sort of fixes this, as well as using the xrender backend (which I
> prefer using anyways since it seems to perform better). This could
> very well likely be an upstream issue, but I'm giving a heads up here
> anyways.

Hi @Stefan

It is better to activate the --no-frame-pacing option, the frame pacing
option in x11/picom is new and has several problems with rendering
delays.

-- 
*
Dios en su cielo, todo bien en la Tierra



Re: sysutils/docker-cli: update to 25.0.3

2024-03-09 Thread Omar Polo
On 2024/03/09 10:15:55 +0100, Omar Polo  wrote:
> On 2024/02/25 14:06:27 +, Lucas Gabriel Vuotto  wrote:
> > Bump.
> 
> pinging again

i've imported it with ok rsadowski, thanks :-)



Re: [UPDATE] x11/picom - new version 11.2

2024-03-09 Thread Stefan Moran
Disclaimer, this was done on a backport to -stable.

Works fine on intel (modesetting driver), testing with glxgears and mpv
I get some nasty frame-timing issues with the glx backend (doesn't
matter if vsync is enabled or not). Using the --no-frame-pacing flag
sort of fixes this, as well as using the xrender backend (which I prefer
using anyways since it seems to perform better). This could very well
likely be an upstream issue, but I'm giving a heads up here anyways.



Re: NEW: games/oneko

2024-03-09 Thread Tobias Heider
On Fri, Mar 08, 2024 at 10:02:33PM -0600, izder456 wrote:
> 
> Hey ports@ o/,
> 
> This is a little & silly X program that has a small pixelated
> cat "neko" or optionally a dog or other characters like Beastie follow
> your cursor around.
> 
> I loosely followed the FreeBSD port as a structural reference and used
> the Arch PKGBUILD for finding `DISTFILES`. Unsure as this is my first
> `CONFIGURE = imake` port.
> 
> I want to import this.
> 
> OK? or nits b4 merge?
> 
> -- 
> -iz (they/them)
> 
> > i like to say mundane things, 
> > there are too many uninteresting things 
> > that go unnoticed.
> 
> izder456 (dot) neocities (dot) org

What's the licensing situation for oneko?
I thought it didn't have one, which could be a problem for distributing it in
ports.



Re: NEW: games/oneko

2024-03-09 Thread izder456
On Fri, 8 Mar 2024 22:02:33 -0600
izder456  wrote:

> 
> Hey ports@ o/,
> 
> This is a little & silly X program that has a small pixelated
> cat "neko" or optionally a dog or other characters like Beastie follow
> your cursor around.
> 
> I loosely followed the FreeBSD port as a structural reference and used
> the Arch PKGBUILD for finding `DISTFILES`. Unsure as this is my first
> `CONFIGURE = imake` port.
> 
> I want to import this.
> 
> OK? or nits b4 merge?
> 

I took some patches from the debian sources and referenced them.

Not exactly sure what they do, except fix some warnings during
compiletime.

attached is the git-style diff.


OK?

-- 
-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org
diff --git games/oneko/patches/patch-oneko_c games/oneko/patches/patch-oneko_c
new file mode 100644
index 000..41ebfb7
--- /dev/null
+++ games/oneko/patches/patch-oneko_c
@@ -0,0 +1,30 @@
+Index: oneko.c
+--- oneko.c.orig
 oneko.c
+@@ -335,7 +335,7 @@ char	*resource;
+  *	$@%j%=!<%9!&%G!<%?%Y!<%9$+$i%*%W%7%g%s$r@_Dj(J
+  */
+ 
+-GetResources()
++void GetResources()
+ {
+   char	*resource;
+   int		num;
+@@ -434,7 +434,7 @@ GetResources()
+  *	$@$M$:$_7?%+!<%=%k$r:n$k(J
+  */
+ 
+-MakeMouseCursor()
++void MakeMouseCursor()
+ {
+ Pixmap			theCursorSource;
+ Pixmap			theCursorMask;
+@@ -463,7 +463,7 @@ MakeMouseCursor()
+  *	$@?'$r=i4|@_Dj$9$k(J
+  */
+ 
+-SetupColors()
++void SetupColors()
+ {
+ XColor	theExactColor;
+ Colormap	theColormap;
diff --git games/oneko/patches/patch-oneko_h games/oneko/patches/patch-oneko_h
new file mode 100644
index 000..00812c5
--- /dev/null
+++ games/oneko/patches/patch-oneko_h
@@ -0,0 +1,11 @@
+Index: oneko.h
+--- oneko.h.orig
 oneko.h
+@@ -15,6 +15,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ #include 
diff --git games/oneko/patches/patch-oneko_man games/oneko/patches/patch-oneko_man
new file mode 100644
index 000..342b5fb
--- /dev/null
+++ games/oneko/patches/patch-oneko_man
@@ -0,0 +1,11 @@
+Index: oneko.man
+--- oneko.man.orig
 oneko.man
+@@ -1,6 +1,5 @@
+ .TH ONEKO 6
+-.SH NAME oneko
+-The program oneko creates a cute cat chasing around your mouse cursor.
++.SH NAME oneko \- Creates a cute cat chasing around your mouse cursor.
+ .SH SYNOPSIS
+ .B oneko
+ [\fB-help\fP] [\fB-tora\fP]


Re: gnustep/libobjc2 and BTI (was: Re: x11/gnustep/libobjc2 failed to build)

2024-03-09 Thread Sebastian Reitenbach
Sure, fine with me, OK, sebastia@


Missing signature 

> On 8. Mar 2024, at 17:05, Stuart Henderson  wrote:
> 
> Something more than the libffi fix is indeed needed for gnustep on
> arm64, building x11/gnustep/back trips SIGILL when running plmerge (from
> gnustep-base) as part of the build.
> 
> I propose using USE_NOBTCFI-aarch64 (to link with -z nobtcfi on aarch64)
> for now on this set of ports, I think that's good enough for release.
> With this, oolite runs (kind-of important for an Acorn-derived system
> for historical reasons ;) and I can crash into things as well as I can
> on amd64.
> 
> $ doas egdb 
> /usr/local/bin/plmerge plmerge.core
> GNU gdb (GDB) 9.2
> Copyright (C) 2020 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "aarch64-unknown-openbsd7.5".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> .
> Find the GDB manual and other documentation resources online at:
>.
> 
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from /usr/local/bin/plmerge...
> Reading symbols from /usr/local/bin/.debug/plmerge.dbg...
> [New process 288319]
> btCore was generated by `plmerge'.
> Program terminated with signal SIGILL, Illegal instruction.
> #0  -[NSBundle release] (self=0xad1ea1f58, _cmd=) at 
> NSBundle.m:2057
> 2057- (oneway void) release
> (gdb) bt
> #0  -[NSBundle release] (self=0xad1ea1f58, _cmd=) at 
> NSBundle.m:2057
> #1  0x000af6786cbc in release(objc_object*) () from 
> /usr/local/lib/libobjc2.so.3.0
> #2  0x000af6786b7c [PAC] in emptyPool(arc_tls*, void*) () from 
> /usr/local/lib/libobjc2.so.3.0
> #3  0x000af6786938 [PAC] in objc_autoreleasePoolPop () from 
> /usr/local/lib/libobjc2.so.3.0
> #4  0x000a975aa4fc [PAC] in -[NSAutoreleasePool dealloc] 
> (self=0xabd627908, _cmd=0xa978b0778 ) at 
> NSAutoreleasePool.m:571
> #5  0x000601345908 [PAC] in gnustep_base_user_main (argc=, 
> argv=, env=) at plmerge.m:139
> #6  0x000601344eb8 [PAC] in _start ()
> 
> 
> Index: games/oolite/Makefile
> ===
> RCS file: /cvs/ports/games/oolite/Makefile,v
> diff -u -p -r1.28 Makefile
> --- games/oolite/Makefile26 Sep 2023 09:41:39 -1.28
> +++ games/oolite/Makefile8 Mar 2024 15:54:40 -
> @@ -1,7 +1,7 @@
> COMMENT=space combat and trading game in the style of Elite
> 
> VERSION=1.73.4
> -REVISION =18
> +REVISION =19
> DISTNAME=oolite-dev-source-${VERSION}
> PKGNAME=oolite-${VERSION}
> CATEGORIES=games
> Index: www/sogo/Makefile
> ===
> RCS file: /cvs/ports/www/sogo/Makefile,v
> diff -u -p -r1.111 Makefile
> --- www/sogo/Makefile14 Jan 2024 20:49:18 -1.111
> +++ www/sogo/Makefile8 Mar 2024 15:54:40 -
> @@ -3,6 +3,7 @@ COMMENT =web based groupware server
> VERSION =5.9.1
> DISTNAME =SOGo-${VERSION}
> PKGNAME =sogo-${VERSION}
> +REVISION =0
> 
> SHARED_LIBS +=GDLContentStore 3.0
> SHARED_LIBS +=NGCards3.1
> Index: www/sope/Makefile
> ===
> RCS file: /cvs/ports/www/sope/Makefile,v
> diff -u -p -r1.99 Makefile
> --- www/sope/Makefile14 Jan 2024 20:40:45 -1.99
> +++ www/sope/Makefile8 Mar 2024 15:54:40 -
> @@ -7,6 +7,9 @@ DISTNAME =SOPE-${VERSION}
> PKGNAME-main =sope-${VERSION}
> PKGNAME-mysql =sope-mysql-${VERSION}
> PKGNAME-postgres =sope-postgres-${VERSION}
> +REVISION-main =0
> +REVISION-mysql =0
> +REVISION-postgres =0
> 
> SO_MAJOR=6
> SO_MINOR=0
> Index: x11/gnustep/gnustep.port.mk
> ===
> RCS file: /cvs/ports/x11/gnustep/gnustep.port.mk,v
> diff -u -p -r1.41 gnustep.port.mk
> --- x11/gnustep/gnustep.port.mk27 Sep 2023 20:37:07 -1.41
> +++ x11/gnustep/gnustep.port.mk8 Mar 2024 15:54:40 -
> @@ -1,6 +1,18 @@
> # until tested on others
> ONLY_FOR_ARCHS ?=${LLD_ARCHS}
> 
> +USE_NOBTCFI-aarch64= Yes
> +# Program terminated with signal SIGILL, Illegal instruction.
> +# #0  -[NSBundle release] (self=0x14704af2d8, _cmd=) at 
> NSBundle.m:2057
> +# #1  0x001565473cbc in release(objc_object*) () from 
> /usr/local/lib/libobjc2.so.3.0
> +# #2  0x001565473ac8 [PAC] in emptyPool(arc_tls*, void*) () from 
> /usr/local/lib/libobjc2.so.3.0
> +# #3  0x001565473938 [PAC] in objc_autoreleasePoolPop () from 
> /usr/local/lib/libobjc2.so.3.0
> +# #4  0x001496a7553c [PAC

[UPDATE]: security/kc - enable YubiKey support, add -yubikey flavor

2024-03-09 Thread Lévai , Dániel
Hi all,

This is a patch to enable YubiKey support with a new -yubikey flavor.
I invite anyone to test it; it works for me(tm), but requires some fiddling 
with the USB device files - hence the package message.

Any ideas, suggestions are welcome,
Danieldiff --git a/security/kc/Makefile b/security/kc/Makefile
index ac9e76e7e60..f1fdbbd2676 100644
--- a/security/kc/Makefile
+++ b/security/kc/Makefile
@@ -11,6 +11,9 @@ MAINTAINER =	LEVAI Daniel 
 # BSD
 PERMIT_PACKAGE =		Yes
 
+FLAVORS=		yubikey
+FLAVOR?=
+
 WANTLIB += c crypto curses edit scrypt util xml2
 
 LIB_DEPENDS =	textproc/libxml \
@@ -18,6 +21,15 @@ LIB_DEPENDS =	textproc/libxml \
 
 MAKE_ENV +=	OS_OPENBSD=yes HAVE_LIBSCRYPT=yes
 
+.if ${FLAVOR:Myubikey}
+WANTLIB += ykpers-1 yubikey
+
+LIB_DEPENDS +=	security/yubico/yubikey-personalization \
+		security/yubico/yubico-c
+
+MAKE_ENV +=	HAVE_YUBIKEY=yes
+.endif
+
 post-install:
 	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/kc
 	${INSTALL} ${WRKBUILD}/Changelog.md ${PREFIX}/share/doc/kc/
diff --git a/security/kc/pkg/MESSAGE b/security/kc/pkg/MESSAGE
index 345fc451266..303ac67cddb 100644
--- a/security/kc/pkg/MESSAGE
+++ b/security/kc/pkg/MESSAGE
@@ -1 +1,3 @@
 Please read ${PREFIX}/share/doc/kc/Changelog.md to see why you might not be able to open your database anymore.
+
+Using YubiKey support with the -yubikey flavor requires read/write access to the /dev/usb? and /dev/ugen?.?? devices.


aarch64 bulk build report

2024-03-09 Thread phessler
bulk build on arm64.ports.openbsd.org
started on  Wed Mar 6 00:01:03 MST 2024
finished at Sat Mar 9 06:27:13 MST 2024
lasted 3D06h26m
done with kern.version=OpenBSD 7.5 (GENERIC.MP) #123: Tue Mar  5 21:24:38 MST 
2024

built packages:12232
Mar 6:4500
Mar 7:627
Mar 8:2755
Mar 9:4349


critical path missing pkgs:  
http://build-failures.rhaalovely.net/aarch64/2024-03-06/summary.log

build failures: 0



Re: [UPDATE] emulators/dosbox-x-2024.03.01

2024-03-09 Thread SASANO Takayoshi
Hi,

> I would recommend running `make update-patches` to update the patch for
> Makefile.am, otherwise looks good and runs. ok thfr@

I committed after running `make update-patches`. Thanks!
-- 
SASANO Takayoshi (JG1UAA) 



Re: [new] devel/sbt 1.9.8

2024-03-09 Thread Kirill A . Korinsky
Greetings,

Here an updated version which respects JAVA_HOME installed from shell.

-- 
wbr, Kirill



sbt-1.9.9.tgz
Description: Binary data


Re: Foliate not working

2024-03-09 Thread Klemens Nanni
On Tue, Mar 05, 2024 at 06:14:29PM +, Chris Narkiewicz wrote:
> es1;4000;26cOn Mon, Mar 04, 2024 at 11:58:42PM +, Klemens Nanni wrote:
> > Haven't used foliate before, but using textproc/dictd seemed interesting,
> 
> It supports contextual lookups using dict.

commit f2ce859bbfa57ced73fcfd228c15953c23e7bd34
Author: John Factotum <50942278+johnfacto...@users.noreply.github.com>
Date:   Mon Oct 24 01:49:48 2022 +0800

Initial commit for new GTK4 version

 src/lookup.js | 472 ---
 1 file changed, 472 deletions(-)

$ git tag --contains
3.0.0
3.0.1
3.1.0

This commit entirely removed the code that runs local dictd(8), thus
7.4-stable  foliate-2.6.4p1 contains it and somehow fails, while
7.5 foliate-3.1.0   does not, there lookups work via internet.



Re: [Maintainer Update] devel/difftastic 0.56.1

2024-03-09 Thread Laurent Cheylus
On Thu, 7 Mar 2024 19:47:14 +0100, Volker Schlecht wrote:

> Trivial Update to difftastic 0.56.1, built and tested on amd64.

OK, build and tests on current/amd64 with rustc 1.76.0.

Laurent



Re: sysutils/docker-cli: update to 25.0.3

2024-03-09 Thread Omar Polo
On 2024/02/25 14:06:27 +, Lucas Gabriel Vuotto  wrote:
> Bump.

pinging again

I'm reattaching the tarballs.  I made a small edit in docker-compose and
buildx to switch back to GH_*: go.port.mk has some special casing for it
and none for DIST_TUPLE and until someone brave enough will take a look,
it makes more sense to continue using GH_* with go ports for the time
being, less chances of surprises ;)

Ah, also, in docker-compose a `make update-plist' was needed to make
bin/docker-compose lose the @bin marker (it's a symlink now.)


Index: Makefile
===
RCS file: /home/cvs/ports/sysutils/docker-cli/Makefile,v
diff -u -p -r1.9 Makefile
--- Makefile20 Nov 2022 16:14:43 -  1.9
+++ Makefile3 Mar 2024 17:41:51 -
@@ -1,10 +1,8 @@
 COMMENT =  command-line tool for controlling Docker
 
-V =20.10.21
+V =25.0.3
 
-GH_ACCOUNT =   docker
-GH_PROJECT =   cli
-GH_TAGNAME =   v${V}
+DIST_TUPLE =   github docker cli v${V} .
 PKGNAME =  docker-${DISTNAME}
 
 CATEGORIES =   sysutils
@@ -17,10 +15,12 @@ PERMIT_PACKAGE =Yes
 WANTLIB += c pthread
 
 MODULES =  lang/go
-MODGO_LDFLAGS =-X 
github.com/docker/cli/cli/version.Version=${V}
-
 GO_PKGNAME =   github.com/docker/cli
+MODGO_LDFLAGS =-X ${GO_PKGNAME}/cli/version.Version=${V}
+
+RUN_DEPENDS =  sysutils/docker-buildx
+
 WRKSRC =   ${MODGO_WORKSPACE}/src/${GO_PKGNAME}
-ALL_TARGET =   github.com/docker/cli/cmd/docker
+ALL_TARGET =   ${GO_PKGNAME}/cmd/docker
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/sysutils/docker-cli/distinfo,v
diff -u -p -r1.5 distinfo
--- distinfo20 Nov 2022 16:14:43 -  1.5
+++ distinfo3 Mar 2024 17:41:51 -
@@ -1,2 +1,2 @@
-SHA256 (cli-20.10.21.tar.gz) = 8PYsocgOj9W54UDKZO8+ddx896KAQLPRCyYDBxKJRug=
-SIZE (cli-20.10.21.tar.gz) = 7633967
+SHA256 (docker-cli-v25.0.3.tar.gz) = 
BK0M6pkqZdsgyxsNv20c4yxwXOh53lGyIJX+jSgDCBU=
+SIZE (docker-cli-v25.0.3.tar.gz) = 6864551
Index: patches/patch-cli-plugins_socket_socket_nodarwin_go
===
RCS file: patches/patch-cli-plugins_socket_socket_nodarwin_go
diff -N patches/patch-cli-plugins_socket_socket_nodarwin_go
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-cli-plugins_socket_socket_nodarwin_go 3 Mar 2024 17:41:51 
-
@@ -0,0 +1,20 @@
+Avoid keeping @docker_cli_[UUID] files
+https://github.com/docker/cli/pull/4862
+
+Index: cli-plugins/socket/socket_nodarwin.go
+--- cli-plugins/socket/socket_nodarwin.go.orig
 cli-plugins/socket/socket_nodarwin.go
+@@ -1,4 +1,4 @@
+-//go:build !darwin
++//go:build !darwin && !openbsd
+ 
+ package socket
+ 
+@@ -15,5 +15,6 @@ func listen(socketname string) (*net.UnixListener, err
+ 
+ func onAccept(conn *net.UnixConn, listener *net.UnixListener) {
+   // do nothing
+-  // while on darwin we would unlink here; on non-darwin the socket is 
abstract and not present on the filesystem
++  // while on darwin and OpenBSD we would unlink here;
++  // on non-darwin the socket is abstract and not present on the 
filesystem
+ }
Index: patches/patch-cli-plugins_socket_socket_openbsd_go
===
RCS file: patches/patch-cli-plugins_socket_socket_openbsd_go
diff -N patches/patch-cli-plugins_socket_socket_openbsd_go
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-cli-plugins_socket_socket_openbsd_go  3 Mar 2024 17:41:51 
-
@@ -0,0 +1,26 @@
+Avoid keeping @docker_cli_[UUID] files
+https://github.com/docker/cli/pull/4862
+
+Index: cli-plugins/socket/socket_openbsd.go
+--- cli-plugins/socket/socket_openbsd.go.orig
 cli-plugins/socket/socket_openbsd.go
+@@ -0,0 +1,19 @@
++package socket
++
++import (
++  "net"
++  "os"
++  "path/filepath"
++  "syscall"
++)
++
++func listen(socketname string) (*net.UnixListener, error) {
++  return net.ListenUnix("unix", &net.UnixAddr{
++  Name: filepath.Join(os.TempDir(), socketname),
++  Net:  "unix",
++  })
++}
++
++func onAccept(conn *net.UnixConn, listener *net.UnixListener) {
++  syscall.Unlink(listener.Addr().String())
++}
Index: 
patches/patch-vendor_github_com_containerd_containerd_content_local_store_unix_go
===
RCS file: 
patches/patch-vendor_github_com_containerd_containerd_content_local_store_unix_go
diff -N 
patches/patch-vendor_github_com_containerd_containerd_content_local_store_unix_go
--- 
patches/patch-vendor_github_com_containerd_containerd_content_local_store_unix_go
   11 Mar 2022 19:57:21 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,9 +0,0 @@
-Index: vendor/github