CVS: cvs.openbsd.org: ports

2024-04-25 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/04/25 16:05:21

Modified files:
games/openmw   : Makefile distinfo 
games/openmw/patches: patch-extern_CMakeLists_txt 
games/openmw/pkg: PLIST 
Added files:
games/openmw/patches: patch-files_settings-default_cfg 

Log message:
Update to OpenMW 0.48.0.

ok solene@ lraab@



Re: update games/openmw (but crash, need some help)

2024-04-25 Thread Pascal Stumpf
On Thu, 25 Apr 2024 17:56:28 +0200, Solene Rapenne wrote:
> I got openmw to work with latest version,
> but unfortunately I get an error before the in-game menu.
> 
> I share the diff so people could try if it works with
> their hardware, and potentially figure a fix =D
> 
> 
> the crash logs looks like this, I tried to add egdb in $PATH
> with the name gdb, but it didn't help much to get a trace:
> 

This is the diff I sent to lraab@ some time ago, working from his
update.  This fixes the crash you are likely seeing, although enabling
shadows will still cause the game to coredump.

(the settings-default.cfg patch is the important bit)


Index: Makefile
===
RCS file: /home/cvs/ports/games/openmw/Makefile,v
diff -u -p -r1.31 Makefile
--- Makefile26 Sep 2023 17:58:07 -  1.31
+++ Makefile30 Mar 2024 13:46:53 -
@@ -2,7 +2,7 @@ ONLY_FOR_ARCHS =amd64 i386
 
 COMMENT =  open source implementation of TES III: Morrowind
 
-V =0.47.0
+V =0.48.0
 GH_ACCOUNT =   OpenMW
 GH_PROJECT =   openmw
 GH_TAGNAME =   openmw-$V
@@ -21,29 +21,38 @@ MAINTAINER =Pascal Stumpf https://github.com/recastnavigation/recastnavigation/archive/e75adf86f91eb3082220085e42dda62679f9a3ea.zip
--URL_HASH MD5=af905d121ef9d1cdfa979b0495cba059
+-URL_HASH 
SHA512=93a19490cdfa55e98a6af9cc050e94af88fdb95fae2059ceeff28b62f3b48515f5fdd2c806c910550933b6861a4f6a91173ee0ed1b61c1396f7b34d4c78f0793
 -SOURCE_DIR fetched/recastnavigation
 -)
 -FetchContent_MakeAvailableExcludeFromAll(recastnavigation)
-+#include(FetchContent)
-+#FetchContent_Declare(recastnavigation
-+#URL 
https://github.com/recastnavigation/recastnavigation/archive/e75adf86f91eb3082220085e42dda62679f9a3ea.zip
-+#URL_HASH MD5=af905d121ef9d1cdfa979b0495cba059
-+#SOURCE_DIR fetched/recastnavigation
-+#)
-+#FetchContent_MakeAvailableExcludeFromAll(recastnavigation)
-+
 +add_subdirectory("fetched/recastnavigation")
  endif()
+ 
+ if (NOT OPENMW_USE_SYSTEM_SQLITE3)
Index: patches/patch-files_settings-default_cfg
===
RCS file: patches/patch-files_settings-default_cfg
diff -N patches/patch-files_settings-default_cfg
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-files_settings-default_cfg30 Mar 2024 13:46:26 -
@@ -0,0 +1,12 @@
+Index: files/settings-default.cfg
+--- files/settings-default.cfg.orig
 files/settings-default.cfg
+@@ -27,7 +27,7 @@ field of view = 60.0
+ first person field of view = 60.0
+ 
+ # Reverse the depth range, reduces z-fighting of distant objects and terrain
+-reverse z = true
++reverse z = false
+ 
+ [Cells]
+ 
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/games/openmw/pkg/PLIST,v
diff -u -p -r1.12 PLIST
--- pkg/PLIST   11 Mar 2022 19:04:46 -  1.12
+++ pkg/PLIST   30 Mar 2024 11:46:57 -
@@ -2,11 +2,43 @@
 @bin bin/esmtool
 @bin bin/niftest
 @bin bin/openmw
+@bin bin/openmw-bulletobjecttool
 @bin bin/openmw-cs
 @bin bin/openmw-essimporter
 @bin bin/openmw-iniimporter
 @bin bin/openmw-launcher
+@bin bin/openmw-navmeshtool
 @bin bin/openmw-wizard
+include/recastnavigation/
+include/recastnavigation/DebugDraw.h
+include/recastnavigation/DetourAlloc.h
+include/recastnavigation/DetourAssert.h
+include/recastnavigation/DetourCommon.h
+include/recastnavigation/DetourCrowd.h
+include/recastnavigation/DetourDebugDraw.h
+include/recastnavigation/DetourLocalBoundary.h
+include/recastnavigation/DetourMath.h
+include/recastnavigation/DetourNavMesh.h
+include/recastnavigation/DetourNavMeshBuilder.h
+include/recastnavigation/DetourNavMeshQuery.h
+include/recastnavigation/DetourNode.h
+include/recastnavigation/DetourObstacleAvoidance.h
+include/recastnavigation/DetourPathCorridor.h
+include/recastnavigation/DetourPathQueue.h
+include/recastnavigation/DetourProximityGrid.h
+include/recastnavigation/DetourStatus.h
+include/recastnavigation/DetourTileCache.h
+include/recastnavigation/DetourTileCacheBuilder.h
+include/recastnavigation/Recast.h
+include/recastnavigation/RecastAlloc.h
+include/recastnavigation/RecastAssert.h
+include/recastnavigation/RecastDebugDraw.h
+include/recastnavigation/RecastDump.h
+@static-lib lib/libDebugUtils.a
+@static-lib lib/libDetour.a
+@static-lib lib/libDetourCrowd.a
+@static-lib lib/libDetourTileCache.a
+@static-lib lib/libRecast.a
 share/applications/org.openmw.cs.desktop
 share/applications/org.openmw.launcher.desktop
 share/doc/pkg-readmes/${PKGSTEM}
@@ -22,114 +54,65 @@ share/examples/openmw/openmw.cfg
 @sample ${SYSCONFDIR}/openmw/openmw.cfg
 share/examples/openmw/version
 @sample ${SYSCONFDIR}/openmw/version
-share/licenses/
-share/licenses/openmw/
-share/licenses/openmw/DejaVuFontLice

Re: [new] lang/mujs

2024-04-23 Thread Pascal Stumpf
On Tue, 23 Apr 2024 20:51:59 +0100, Stuart Henderson wrote:
> On 2024/04/23 21:10, Pascal Stumpf wrote:
> > MuJS is a lightweight Javascript interpreter designed for embedding
> > in other software to extend them with scripting capabilities.
> > 
> > MuJS was designed with a focus on small size, correctness, and
> > simplicity. It is written in portable C and implements ECMAScript
> > as specified by ECMA-262. The interface for binding with native
> > code is designed to be as simple as possible to use, and is very
> > similar to Lua. There is no need to interact with byzantine C++
> > template mechanisms, or worry about marking and unmarking garbage
> > collection roots, or wrestle with obscure build systems.
> > 
> > 
> > Useful for js in an upcoming port of the new elinks codebase.
> > 
> > textproc/mupdf,js needs a small fix to cope with an external libmujs.
> 
> Any reason not to use the shared library?

Not really, other than upstream apparently preferring the static one.

Updated tarball with shared library.


> --- Makefile.orig Tue Apr 23 18:49:24 2024
> +++ Makefile  Tue Apr 23 20:51:10 2024
> @@ -1,5 +1,7 @@
>  COMMENT =lightweight Javascript interpreter
>  
> +SHARED_LIBS =mujs 0.0
> +
>  V =  1.3.4
>  DISTNAME =   mujs-$V
>  
> @@ -16,12 +18,13 @@ WANTLIB += c m readline
>  
>  SITES =  https://mujs.com/downloads/
>  
> -MAKE_FLAGS = OPTIM="${CFLAGS}"
> +MAKE_FLAGS = OPTIM="${CFLAGS}" SO="so.${LIBmujs_VERSION}"
>  
>  USE_GMAKE =  Yes
>  
>  NO_TEST =Yes
>  
>  ALL_TARGET = release
> +INSTALL_TARGET = install-shared
>  
>  .include 


mujs.tar.gz
Description: mujs.tar.gz


lang/mupdf: Use external mujs

2024-04-23 Thread Pascal Stumpf
Required to work with new lang/mujs port.

Lightly tested with some PDFs containing JavaScript.

Index: Makefile
===
RCS file: /home/cvs/ports/textproc/mupdf/Makefile,v
diff -u -p -r1.127 Makefile
--- Makefile28 Feb 2024 09:10:55 -  1.127
+++ Makefile23 Apr 2024 18:00:16 -
@@ -5,6 +5,7 @@ SHARED_LIBS +=  mupdf 9.
 V =1.23.11
 DISTNAME = mupdf-$V-source
 PKGNAME =  mupdf-${V:S/-rc/rc/}
+REVISION = 0
 
 CATEGORIES =   textproc x11
 
@@ -76,8 +77,9 @@ CFLAGS += -DFZ_ENABLE_JS=0
 # js support can't be knocked out completely
 MAKE_FLAGS +=  HAVE_GLUT=No
 .else
-MAKE_FLAGS +=  ENABLE_MUJS=yes
+MAKE_FLAGS +=  ENABLE_MUJS=yes USE_SYSTEM_MUJS=yes
 WANTLIB += GL glut
+BUILD_DEPENDS +=lang/mujs
 LIB_DEPENDS += graphics/freeglut
 .endif
 



[new] lang/mujs

2024-04-23 Thread Pascal Stumpf
MuJS is a lightweight Javascript interpreter designed for embedding
in other software to extend them with scripting capabilities.

MuJS was designed with a focus on small size, correctness, and
simplicity. It is written in portable C and implements ECMAScript
as specified by ECMA-262. The interface for binding with native
code is designed to be as simple as possible to use, and is very
similar to Lua. There is no need to interact with byzantine C++
template mechanisms, or worry about marking and unmarking garbage
collection roots, or wrestle with obscure build systems.


Useful for js in an upcoming port of the new elinks codebase.

textproc/mupdf,js needs a small fix to cope with an external libmujs.


mujs.tar.gz
Description: mujs.tar.gz


CVS: cvs.openbsd.org: ports

2024-04-18 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/04/18 23:36:17

Modified files:
net/tor: Makefile distinfo 

Log message:
Update to tor 0.4.8.11, from openbsd AT systemfailure DOT net.

ok solene@



Re: UPDATE: OpenColorIO 2.3.2

2024-04-14 Thread Pascal Stumpf
On Sat, 13 Apr 2024 17:47:48 +0100, Stuart Henderson wrote:
> On 2024/04/13 14:30, Stuart Henderson wrote:
> > i386 doesn't like that one,
> > 
> > /pobj/opencolorio-2.3.2/OpenColorIO-2.3.2/src/OpenColorIO/ops/cdl/CDLOpCPU.cpp:339:18:
> >  error: always_inline function '_mm_loadu_ps' requires target feature 
> > 'sse', but would be inlined into function 'LoadRenderParams' that is 
> > compiled without support for 'sse'
> > slope  = _mm_loadu_ps(renderParams.getSlope());
> >  ^
> > /pobj/opencolorio-2.3.2/OpenColorIO-2.3.2/src/OpenColorIO/ops/cdl/CDLOpCPU.cpp:340:18:
> >  error: always_inline function '_mm_loadu_ps' requires target feature 
> > 'sse', but would be inlined into function 'LoadRenderParams' that is 
> > compiled without support for 'sse'
> > offset = _mm_loadu_ps(renderParams.getOffset());
> >  ^
> > /pobj/opencolorio-2.3.2/OpenColorIO-2.3.2/src/OpenColorIO/ops/cdl/CDLOpCPU.cpp:341:18:
> >  error: always_inline function '_mm_loadu_ps' requires target feature 
> > 'sse', but would be inlined into function 'LoadRenderParams' that is 
> > compiled without support for 'sse'
> > power  = _mm_loadu_ps(renderParams.getPower());
> >  ^
> > /pobj/opencolorio-2.3.2/OpenColorIO-2.3.2/src/OpenColorIO/ops/cdl/CDLOpCPU.cpp:342:18:
> >  error: always_inline function '_mm_set1_ps' requires target feature 'sse', 
> > but would be inlined into function 'LoadRenderParams' that is compiled 
> > without support for 'sse'
> > saturation = _mm_set1_ps(renderParams.getSaturation());
> >  ^
> > 4 errors generated.
> > ninja: build stopped: subcommand failed.
> > 
> > There is also
> > 
> > CMake Warning:
> >   Manually-specified variables were not used by the project:
> > ...
> > OCIO_USE_SSE
> > 
> > I'll try this for starters..
> > 
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/graphics/opencolorio/Makefile,v
> > diff -u -p -r1.32 Makefile
> > --- Makefile10 Apr 2024 10:38:06 -  1.32
> > +++ Makefile13 Apr 2024 13:27:34 -
> > @@ -40,9 +40,9 @@ CONFIGURE_ARGS += -DPYTHON="${MODPY_BIN}
> > -Dminizip-ng_INCLUDE_DIR="${LOCALBASE}/include/minizip"
> >  
> >  .if ${MACHINE_ARCH} == "amd64"
> > -CONFIGURE_ARGS +=  -DOCIO_USE_SSE=ON
> > +CONFIGURE_ARGS +=  -DOCIO_USE_SIMD=ON
> >  .else
> > -CONFIGURE_ARGS +=  -DOCIO_USE_SSE=OFF
> > +CONFIGURE_ARGS +=  -DOCIO_USE_SIMD=OFF
> >  .endif
> >  
> >  # everything except tests
> > 
> 
> So that fixes i386, but testing on arm64 the SIMD build there is happy
> anyway, and I don't think there's a problem with other archs,  so
> I propose this:
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/graphics/opencolorio/Makefile,v
> diff -u -p -r1.32 Makefile
> --- Makefile  10 Apr 2024 10:38:06 -  1.32
> +++ Makefile  13 Apr 2024 16:46:53 -
> @@ -4,6 +4,7 @@ GH_ACCOUNT =  AcademySoftwareFoundation
>  GH_PROJECT = OpenColorIO
>  GH_TAGNAME = v2.3.2
>  PKGNAME =${DISTNAME:L}
> +REVISION =   0
>  EPOCH =  2
>  
>  SHARED_LIBS +=  OpenColorIO   4.0 # 1.1.1
> @@ -39,10 +40,10 @@ CONFIGURE_ARGS += -DPYTHON="${MODPY_BIN}
>   -DOCIO_BUILD_GPU_TESTS=OFF \
>   -Dminizip-ng_INCLUDE_DIR="${LOCALBASE}/include/minizip"
>  
> -.if ${MACHINE_ARCH} == "amd64"
> -CONFIGURE_ARGS +=-DOCIO_USE_SSE=ON
> +.if ${MACHINE_ARCH} == "i386"
> +CONFIGURE_ARGS +=-DOCIO_USE_SIMD=OFF
>  .else
> -CONFIGURE_ARGS +=-DOCIO_USE_SSE=OFF
> +CONFIGURE_ARGS +=-DOCIO_USE_SIMD=ON
>  .endif
>  
>  # everything except tests

OK.



Re: UPDATE: OpenColorIO 2.3.2

2024-04-09 Thread Pascal Stumpf
On Fri, 5 Apr 2024 18:43:32 -0400, Brad Smith wrote:
> On Fri, Apr 05, 2024 at 10:01:29PM +0100, Stuart Henderson wrote:
> > +cc maintainer
> > 
> > On 2024/04/05 04:45, Brad Smith wrote:
> > > ping.
> > > 
> > > Now that the Blender diff is in.
> > 
> > ok.
> 
> One last change. One fix for the patch.

OK

> Index: Makefile
> ===
> RCS file: /cvs/ports/graphics/opencolorio/Makefile,v
> retrieving revision 1.31
> diff -u -p -u -p -r1.31 Makefile
> --- Makefile  23 Sep 2023 16:29:53 -  1.31
> +++ Makefile  5 Apr 2024 21:52:07 -
> @@ -1,14 +1,12 @@
> -ONLY_FOR_ARCHS = ${CLANG_ARCHS}
> -
>  COMMENT =color management library
>  
> -EPOCH =  2
>  GH_ACCOUNT = AcademySoftwareFoundation
>  GH_PROJECT = OpenColorIO
> -GH_TAGNAME = v2.1.1
> +GH_TAGNAME = v2.3.2
>  PKGNAME =${DISTNAME:L}
> +EPOCH =  2
>  
> -SHARED_LIBS +=  OpenColorIO   3.0 # 1.1.1
> +SHARED_LIBS +=  OpenColorIO   4.0 # 1.1.1
>  
>  CATEGORIES = graphics
>  
> @@ -19,9 +17,9 @@ MAINTAINER =Pascal Stumpf   # several BSD-like
>  PERMIT_PACKAGE = Yes
>  
> -WANTLIB += ${COMPILER_LIBCXX} Imath-3_1 expat m pystring yaml-cpp
> +WANTLIB += ${COMPILER_LIBCXX} Imath-3_1 expat m minizip pystring yaml-cpp z
>  
> -COMPILER =   base-clang
> +COMPILER =   base-clang ports-gcc
>  
>  MODULES =devel/cmake \
>   lang/python
> @@ -30,16 +28,16 @@ BUILD_DEPENDS =   devel/boost \
>   devel/py-pybind11${MODPY_FLAVOR} \
>   devel/py-setuptools${MODPY_FLAVOR} \
>   devel/py-wheel${MODPY_FLAVOR}
> -LIB_DEPENDS =devel/pystring \
> +LIB_DEPENDS =archivers/minizip>=4.0.4 \
> + devel/pystring \
>   devel/yaml-cpp \
>   math/imath
>  
>  CONFIGURE_ARGS +=-DPYTHON="${MODPY_BIN}" \
>   -DOCIO_BUILD_STATIC=OFF \
>   -DOCIO_BUILD_APPS=OFF \
> - -DOCIO_BUILD_GPU_TESTS=OFF
> -
> -MODCMAKE_LDFLAGS =   -L${LOCALBASE}/lib
> + -DOCIO_BUILD_GPU_TESTS=OFF \
> + -Dminizip-ng_INCLUDE_DIR="${LOCALBASE}/include/minizip"
>  
>  .if ${MACHINE_ARCH} == "amd64"
>  CONFIGURE_ARGS +=-DOCIO_USE_SSE=ON
> @@ -49,10 +47,6 @@ CONFIGURE_ARGS +=  -DOCIO_USE_SSE=OFF
>  
>  # everything except tests
>  ALL_TARGET = OpenColorIO PyOpenColorIO
> -
> -pre-configure:
> - # custom code fails to find yaml-cpp>=0.8.0
> - rm -f ${WRKSRC}/share/cmake/modules/Findyaml-cpp.cmake
>  
>  pre-test:
>   # build whatever is left (ca. 180 C++ test files)
> Index: distinfo
> ===
> RCS file: /cvs/ports/graphics/opencolorio/distinfo,v
> retrieving revision 1.9
> diff -u -p -u -p -r1.9 distinfo
> --- distinfo  12 Jun 2023 21:29:25 -  1.9
> +++ distinfo  5 Apr 2024 21:52:07 -
> @@ -1,2 +1,2 @@
> -SHA256 (OpenColorIO-2.1.1.tar.gz) = 
> FuvD4PIfctvpD+YEN+uGT01N6cJV744hL4N4JPybjZw=
> -SIZE (OpenColorIO-2.1.1.tar.gz) = 11013141
> +SHA256 (OpenColorIO-2.3.2.tar.gz) = 
> a79Of6TqL3Q6I4yyKv9EiQQldxovV/Ys7OFXTkbO7C8=
> +SIZE (OpenColorIO-2.3.2.tar.gz) = 11443450
> Index: patches/patch-src_utils_NumberUtils_h
> ===
> RCS file: 
> /cvs/ports/graphics/opencolorio/patches/patch-src_utils_NumberUtils_h,v
> retrieving revision 1.6
> diff -u -p -u -p -r1.6 patch-src_utils_NumberUtils_h
> --- patches/patch-src_utils_NumberUtils_h 12 Jun 2023 21:29:25 -  
> 1.6
> +++ patches/patch-src_utils_NumberUtils_h 5 Apr 2024 21:52:07 -
> @@ -1,14 +1,36 @@
> -Fix build failure
> -
>  Index: src/utils/NumberUtils.h
>  --- src/utils/NumberUtils.h.orig
>  +++ src/utils/NumberUtils.h
> -@@ -140,7 +140,7 @@ really_inline from_chars_result from_chars(const char 
> +@@ -64,8 +64,10 @@ really_inline from_chars_result from_chars(const char 
> + double
>   #ifdef _WIN32
> - tempval = _strtol_l(first, , 0, loc.local);
> - #else
> --tempval = ::strtol_l(first, , 0, loc.local);
> -+tempval = ::strtoll_l(first, , 0, loc.local);
> + tempval = _strtod_l(first, , loc.local);
> +-#else
> ++#elif defined(__GLIBC__) || defined(_LIBCPP_VERSION)
> + tempval = ::strtod_l(first, , loc.local);
> ++#else
> ++ 

CVS: cvs.openbsd.org: ports

2024-04-06 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/04/06 00:34:41

Modified files:
lang/gcc/11: Makefile distinfo 

Log message:
Update powerpc adastrap.



CVS: cvs.openbsd.org: ports

2024-04-01 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/04/01 13:03:54

Modified files:
lang/gcc/8 : Makefile distinfo 

Log message:
Update adastrap for powerpc.



CVS: cvs.openbsd.org: ports

2024-03-31 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/03/31 09:28:13

Modified files:
lang/gcc/8 : Makefile distinfo 

Log message:
Regen adastrap on amd64 with libc.so.99.



CVS: cvs.openbsd.org: ports

2024-03-30 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/03/30 10:44:41

Modified files:
games/flightgear: Makefile.inc 
games/flightgear/base: Makefile distinfo 
games/flightgear/data: distinfo 
games/flightgear/data/pkg: PLIST 

Log message:
Update to flightgear 2020.3.19.



CVS: cvs.openbsd.org: ports

2024-03-30 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/03/30 10:43:41

Modified files:
graphics/simgear: Makefile distinfo 
graphics/simgear/pkg: PLIST 

Log message:
Update to simgear 2020.3.19.



CVS: cvs.openbsd.org: ports

2024-03-30 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/03/30 03:58:10

Modified files:
net/py-stem: Makefile distinfo 

Log message:
Update to stem 1.8.2.



CVS: cvs.openbsd.org: ports

2024-03-29 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/03/29 05:55:13

Modified files:
net/matterhorn : Makefile 
Added files:
net/matterhorn/patches: patch-Hclip-3_0_0_4_System_Hclip_hs 

Log message:
Make "copy to clipboard" functionality work.



CVS: cvs.openbsd.org: ports

2024-03-29 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/03/29 05:54:07

ports/net/matterhorn/patches

Update of /cvs/ports/net/matterhorn/patches
In directory cvs.openbsd.org:/tmp/cvs-serv61450/patches

Log Message:
Directory /cvs/ports/net/matterhorn/patches added to the repository



CVS: cvs.openbsd.org: ports

2024-03-23 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/03/23 01:26:49

Modified files:
games/extremetuxracer: Makefile distinfo 
games/extremetuxracer/pkg: PLIST 

Log message:
Update to extremetuxracer 0.8.3.



CVS: cvs.openbsd.org: ports

2024-03-21 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/03/21 00:37:28

Modified files:
net: Makefile 

Log message:
+= matterhorn



CVS: cvs.openbsd.org: ports

2024-03-21 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/03/21 00:35:53

Log message:
Import net/matterhorn, ok kili@.

Matterhorn is a terminal client for the Mattermost chat system.

Features include:
* Channel creation, deletion, and membership management commands
* Support for multiple teams
* Optimized channel-switching modes: M-a, M-s, and C-g
* Message posting, editing, replying, and deletion
* Markdown rendering
* Support for participating in threads via the thread window
* Convenient URL-opening with local browser
* Yank verbatim content from messages into the system clipboard
* Edit messages with $EDITOR
* Rebindable keys (see /help keybindings)
* Message editor with kill/yank buffer and readline-style keybindings
* Support for adding and removing emoji post reactions
* Tab-completion
* Multiple color themes with color theme customization support
* Custom notifications via notification scripts

Status:

Vendor Tag: pascal
Release Tags:   pascal_20240321

N ports/net/matterhorn/Makefile
N ports/net/matterhorn/distinfo
N ports/net/matterhorn/pkg/DESCR
N ports/net/matterhorn/pkg/PLIST

No conflicts created by this import



Re: [new] net/matterhorn

2024-03-19 Thread Pascal Stumpf
Now with HOMEPAGE.


On Tue, 19 Mar 2024 18:51:58 +0100, Pascal Stumpf wrote:
> Matterhorn is a terminal client for the Mattermost chat system.
> 
> Features include:
>  * Channel creation, deletion, and membership management commands
>  * Support for multiple teams
>  * Optimized channel-switching modes: M-a, M-s, and C-g
>  * Message posting, editing, replying, and deletion
>  * Markdown rendering
>  * Support for participating in threads via the thread window
>  * Convenient URL-opening with local browser
>  * Yank verbatim content from messages into the system clipboard
>  * Edit messages with $EDITOR
>  * Rebindable keys (see /help keybindings)
>  * Message editor with kill/yank buffer and readline-style keybindings
>  * Support for adding and removing emoji post reactions
>  * Tab-completion
>  * Multiple color themes with color theme customization support
>  * Custom notifications via notification scripts
> 
>>> application/x-gzip attachment, name=matterhorn.tgz


matterhorn.tgz
Description: matterhorn.tgz


[new] net/matterhorn

2024-03-19 Thread Pascal Stumpf
Matterhorn is a terminal client for the Mattermost chat system.

Features include:
 * Channel creation, deletion, and membership management commands
 * Support for multiple teams
 * Optimized channel-switching modes: M-a, M-s, and C-g
 * Message posting, editing, replying, and deletion
 * Markdown rendering
 * Support for participating in threads via the thread window
 * Convenient URL-opening with local browser
 * Yank verbatim content from messages into the system clipboard
 * Edit messages with $EDITOR
 * Rebindable keys (see /help keybindings)
 * Message editor with kill/yank buffer and readline-style keybindings
 * Support for adding and removing emoji post reactions
 * Tab-completion
 * Multiple color themes with color theme customization support
 * Custom notifications via notification scripts


matterhorn.tgz
Description: matterhorn.tgz


CVS: cvs.openbsd.org: ports

2024-03-01 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/03/01 16:58:18

Modified files:
lang/rakudo: Makefile distinfo 
lang/rakudo/pkg: PLIST 
Removed files:
lang/rakudo/patches: patch-Configure_pl 

Log message:
Update to Rakudo 2024.01.



CVS: cvs.openbsd.org: ports

2024-03-01 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/03/01 16:57:42

Modified files:
lang/nqp   : Makefile distinfo 
Removed files:
lang/nqp/patches: patch-Configure_pl 

Log message:
Update to NQP 2024.01.



CVS: cvs.openbsd.org: ports

2024-03-01 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/03/01 16:56:58

Modified files:
lang/moarvm: Makefile distinfo 
lang/moarvm/patches: patch-Configure_pl 
lang/moarvm/pkg: PLIST 

Log message:
Update to MoarVM 2024.01.



[update] net/ddclient

2024-03-01 Thread Pascal Stumpf
Update to latest version, 3.11.2.  Tested freedns and dyndns2 protocols.

Quite a lot has changed in the codebase, so please test with your
provider.

Index: Makefile
===
RCS file: /home/anoncvs/cvs/ports/net/ddclient/Makefile,v
diff -u -p -r1.29 Makefile
--- Makefile8 Nov 2022 11:14:54 -   1.29
+++ Makefile7 Feb 2024 22:04:32 -
@@ -2,8 +2,7 @@ COMMENT=update client for dynamic DNS s
 
 GH_ACCOUNT=ddclient
 GH_PROJECT=ddclient
-GH_TAGNAME=v3.9.1
-REVISION=  0
+GH_TAGNAME=v3.11.2
 
 CATEGORIES=net
 
@@ -12,30 +11,24 @@ HOMEPAGE=   https://ddclient.net/
 # GPLv2+
 PERMIT_PACKAGE=Yes
 
-RUN_DEPENDS=   devel/p5-Data-Validate-IP \
+CONFIGURE_STYLE=gnu autoreconf
+AUTOMAKE_VERSION=  1.11
+AUTOCONF_VERSION=  2.63
+
+MAKE_ENV=  runstatedir=/var/run/ddclient
+FAKE_FLAGS=sysconfdir=${PREFIX}/share/examples/ddclient
+
+BUILD_DEPENDS= net/curl
+RUN_DEPENDS=   net/curl \
net/p5-IO-Socket-INET6 \
security/p5-IO-Socket-SSL
 
-NO_BUILD=  Yes
-NO_TEST=   Yes
 PKG_ARCH=  *
 
-SAMPLES=   sample-etc_cron.d_ddclient sample-etc_ddclient.conf \
-   sample-etc_dhclient-exit-hooks sample-etc_dhcpc_dhcpcd-eth0.exe 
\
-   sample-etc_ppp_ip-up.local sample-ddclient-wrapper.sh
+SYSCONFDIR=${BASESYSCONFDIR}/ddclient
 
 post-extract:
-   @sed -i -e "s,/var/cache/ddclient/,/var/db/ddclient/,g;" \
-   -e "s,/etc/ddclient/,${SYSCONFDIR}/ddclient/,g" \
-   ${WRKSRC}/ddclient
-
-do-install:
-   ${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${PREFIX}/sbin/
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ddclient
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddclient
-   ${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/ddclient
-.for i in ${SAMPLES}
-   ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/examples/ddclient
-.endfor
+   @sed -i -e "s,/cache/ddclient,/db/ddclient,g" \
+   ${WRKSRC}/{ddclient.in,Makefile.am}
 
 .include 
Index: distinfo
===
RCS file: /home/anoncvs/cvs/ports/net/ddclient/distinfo,v
diff -u -p -r1.12 distinfo
--- distinfo17 Jan 2021 15:46:53 -  1.12
+++ distinfo7 Feb 2024 21:58:20 -
@@ -1,2 +1,2 @@
-SHA256 (ddclient-3.9.1.tar.gz) = 5JaeFcxJH8Ur3NZJ1MKw5LG/DJ+duiNHHGNIcazFJHA=
-SIZE (ddclient-3.9.1.tar.gz) = 63469
+SHA256 (ddclient-3.11.2.tar.gz) = JDzYMqvTzdK0mQPhte1/RQ4tnEwOr4zk/mksJE06/Xc=
+SIZE (ddclient-3.11.2.tar.gz) = 278314
Index: patches/patch-ddclient
===
RCS file: /home/anoncvs/cvs/ports/net/ddclient/patches/patch-ddclient,v
diff -u -p -r1.4 patch-ddclient
--- patches/patch-ddclient  11 Mar 2022 19:45:52 -  1.4
+++ patches/patch-ddclient  20 Oct 2022 21:10:44 -
@@ -1,20 +0,0 @@
-Index: ddclient
 ddclient.orig
-+++ ddclient
-@@ -1163,16 +1163,6 @@ sub _read_config {
-   # fatal("Cannot open file '%s'. ($!)", $file);
-   warning("Cannot open file '%s'. ($!)", $file);
- }
--# Check for only owner has any access to config file
--my ($dev, $ino, $mode, @statrest) = stat(FD);
--if ($mode & 077) {  
--  if (-f FD && (chmod 0600, $file)) {
--  warning("file $file must be accessible only by its owner (fixed).");
--  } else {
--  # fatal("file $file must be accessible only by its owner.");
--  warning("file $file must be accessible only by its owner.");
--  }
--}
- 
- local $lineno   = 0;
- my$continuation = '';
Index: patches/patch-sample-etc_ddclient_conf
===
RCS file: 
/home/anoncvs/cvs/ports/net/ddclient/patches/patch-sample-etc_ddclient_conf,v
diff -u -p -r1.3 patch-sample-etc_ddclient_conf
--- patches/patch-sample-etc_ddclient_conf  11 Mar 2022 19:45:52 -  
1.3
+++ patches/patch-sample-etc_ddclient_conf  20 Oct 2022 21:10:44 -
@@ -1,12 +0,0 @@
-Index: sample-etc_ddclient.conf
 sample-etc_ddclient.conf.orig
-+++ sample-etc_ddclient.conf
-@@ -20,7 +20,7 @@ daemon=300   # check every 300 
seconds
- syslog=yes# log update msgs to syslog
- mail=root # mail all msgs to root
- mail-failure=root # mail failed update msgs to root
--pid=/var/run/ddclient.pid # record PID in file.
-+pid=/var/run/ddclient/ddclient.pid# record PID in file.
- ssl=yes   # use ssl-support.  Works with
-   # ssl-library
- # postscript=script   # run script after updating.  The
Index: pkg/PLIST
===
RCS file: /home/anoncvs/cvs/ports/net/ddclient/pkg/PLIST,v

Re: net/torsocks: update to 2.4.0

2024-01-31 Thread Pascal Stumpf
On Wed, 31 Jan 2024 02:06:53 +, Klemens Nanni wrote:
> On Thu, Jan 18, 2024 at 10:57:58PM +, Klemens Nanni wrote:
> > Upstream changed sites, release is from may 2022, that one fclose(3) is
> > effectively merged, others remain.
> > 
> > https://gitlab.torproject.org/tpo/core/torsocks/-/releases
> > 
> > While here, bump AUTO*_VERSION, sync DESCR and capitalise COMMENT.
> > 
> > No shared lib, WANTLIB or PLIST change.
> > 100% amd64 tests pass, works for me.
> > Feedback? OK?
> 
> Ping.

OK.

> Index: Makefile
> ===
> RCS file: /cvs/ports/net/torsocks/Makefile,v
> diff -u -p -r1.18 Makefile
> --- Makefile  11 Nov 2023 11:51:22 -  1.18
> +++ Makefile  18 Jan 2024 22:47:05 -
> @@ -1,13 +1,14 @@
> -COMMENT =socks proxy for use with tor
> +COMMENT =SOCKS proxy for use with Tor
>  
> -DISTNAME =   torsocks-2.3.0
> -REVISION =   0
> +V =  2.4.0
> +DISTNAME =   torsocks-v${V}
> +PKGNAME =${DISTNAME:S/v//}
>  
>  SHARED_LIBS =torsocks2.0 # 0.0
>  
>  CATEGORIES = net
>  
> -HOMEPAGE =   https://gitweb.torproject.org/torsocks.git/
> +HOMEPAGE =   https://gitlab.torproject.org/tpo/core/torsocks
>  
>  MAINTAINER = Pascal Stumpf 
>  
> @@ -16,10 +17,10 @@ PERMIT_PACKAGE =  Yes
>  
>  WANTLIB += pthread
>  
> -SITES=   
> https://gitweb.torproject.org/torsocks.git/snapshot/
> +SITES=   
> https://gitlab.torproject.org/tpo/core/torsocks/-/archive/v${V}/
>  
> -AUTOCONF_VERSION=2.69
> -AUTOMAKE_VERSION=1.15
> +AUTOCONF_VERSION=2.71
> +AUTOMAKE_VERSION=1.16
>  
>  USE_LIBTOOL =gnu
>  
> @@ -31,6 +32,5 @@ CONFIGURE_STYLE =   autoreconf autoheader
>  
>  pre-configure:
>   ${SUBST_CMD} ${WRKSRC}/src/bin/torsocks.in
> -
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/torsocks/distinfo,v
> diff -u -p -r1.4 distinfo
> --- distinfo  1 Jun 2022 12:35:11 -   1.4
> +++ distinfo  18 Jan 2024 22:35:05 -
> @@ -1,2 +1,2 @@
> -SHA256 (torsocks-2.3.0.tar.gz) = gXwUPoqdIX9BoiOoUTnGyijhuZVWxUf820xy28Fwtsk=
> -SIZE (torsocks-2.3.0.tar.gz) = 118033
> +SHA256 (torsocks-v2.4.0.tar.gz) = 
> wBtHHYntqfPI3LhaRI6AZmktBwf5/4sqx+ZlpgIpG4c=
> +SIZE (torsocks-v2.4.0.tar.gz) = 118991
> Index: patches/patch-src_common_compat_h
> ===
> RCS file: /cvs/ports/net/torsocks/patches/patch-src_common_compat_h,v
> diff -u -p -r1.3 patch-src_common_compat_h
> --- patches/patch-src_common_compat_h 1 Jun 2022 12:35:11 -   1.3
> +++ patches/patch-src_common_compat_h 18 Jan 2024 22:38:40 -
> @@ -20,7 +20,7 @@ Index: src/common/compat.h
>   
>   #if defined(__linux__)
>   #include 
> -@@ -196,7 +197,8 @@ void tsocks_once(tsocks_once_t *o, void (*init_routine
> +@@ -204,7 +205,8 @@ void tsocks_once(tsocks_once_t *o, void (*init_routine
>   
>   #endif /* __linux__ */
>   
> @@ -30,7 +30,7 @@ Index: src/common/compat.h
>   
>   #include 
>   #include 
> -@@ -215,7 +217,7 @@ void tsocks_once(tsocks_once_t *o, void (*init_routine
> +@@ -223,7 +225,7 @@ void tsocks_once(tsocks_once_t *o, void (*init_routine
>   #define TSOCKS_NR_LISTENSYS_listen
>   #define TSOCKS_NR_RECVMSG   SYS_recvmsg
>   
> Index: patches/patch-src_lib_fclose_c
> ===
> RCS file: patches/patch-src_lib_fclose_c
> diff -N patches/patch-src_lib_fclose_c
> --- patches/patch-src_lib_fclose_c11 Mar 2022 19:47:53 -  1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,19 +0,0 @@
> -Unbreak funopen usage with libtorsocks - always call the libc fclose
> -function, even when fd < 0.
> -
> -Index: src/lib/fclose.c
>  src/lib/fclose.c.orig
> -+++ src/lib/fclose.c
> -@@ -64,11 +64,9 @@ LIBC_FCLOSE_RET_TYPE tsocks_fclose(LIBC_FCLOSE_SIG)
> - connection_put_ref(conn);
> - }
> - 
> -+error:
> - /* Return the original libc fclose. */
> - return tsocks_libc_fclose(fp);
> --
> --error:
> --return -1;
> - }
> - 
> - /*
> Index: patches/patch-src_lib_syscall_c
> ===
> RCS file: /cvs/ports/net/torsocks/patches/patch-src_lib_syscall_c,v
> diff -u -p -r1.4 patch-src_lib_syscall_c
> --- patches/patch-src_lib_syscall_c   11 Nov 2023 11:51:22 -  1.4
> +++ patches/patch-src_li

Re: net/tor: rcctl configtest

2024-01-19 Thread Pascal Stumpf
On Thu, 18 Jan 2024 21:56:00 +, Klemens Nanni wrote:
> # rcctl -d configtest tor
> doing _rc_parse_conf
> tor_flags empty, using default ><
> doing _rc_parse_conf /var/run/rc.d/tor
> tor
> doing rc_configtest
> Jan 18 22:53:19.437 [notice] Tor 0.4.8.10 running on OpenBSD with Libevent 
> 2.1.12-stable, OpenSSL LibreSSL 3.8.2, Zlib 1.3.0.1-motley, Liblzma N/A, 
> Libzstd N/A and BSD 202310 as libc.
> Jan 18 22:53:19.438 [notice] Tor can't help you if you use it wrong! Learn 
> how to be safe at https://support.torproject.org/faq/staying-anonymous/
> Jan 18 22:53:19.438 [notice] Read configuration file "/etc/tor/torrc".
> Configuration was valid
> (ok)
> 
> 
> Feedback? OK?

Nice.  OK.

> Index: Makefile
> ===
> RCS file: /cvs/ports/net/tor/Makefile,v
> diff -u -p -r1.162 Makefile
> --- Makefile  9 Dec 2023 22:38:11 -   1.162
> +++ Makefile  18 Jan 2024 21:52:31 -
> @@ -3,6 +3,7 @@ COMMENT=  anonymity service using onion r
>  DISTNAME=tor-0.4.8.10
>  CATEGORIES=  net
>  HOMEPAGE=https://www.torproject.org/
> +REVISION=0
>  
>  MAINTAINER=  Pascal Stumpf 
>  
> Index: pkg/tor.rc
> ===
> RCS file: /cvs/ports/net/tor/pkg/tor.rc,v
> diff -u -p -r1.8 tor.rc
> --- pkg/tor.rc11 Mar 2022 19:47:53 -  1.8
> +++ pkg/tor.rc18 Jan 2024 21:52:26 -
> @@ -7,4 +7,8 @@ daemon_timeout=60
>  
>  rc_stop_signal=INT
>  
> +rc_configtest() {
> + ${daemon} ${daemon_flags} --verify-config
> +}
> +
>  rc_cmd $1



CVS: cvs.openbsd.org: ports

2024-01-09 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2024/01/09 12:08:51

Modified files:
shells/ksh93   : Makefile distinfo 

Log message:
Update to ksh 1.0.8.



CVS: cvs.openbsd.org: ports

2023-12-14 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/12/14 03:12:38

Modified files:
net/tor: Tag: OPENBSD_7_4 Makefile distinfo 

Log message:
SECURITY update to tor 0.4.8.10.

ok sthen@



CVS: cvs.openbsd.org: ports

2023-12-09 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/12/09 15:38:11

Modified files:
net/tor: Makefile distinfo 

Log message:
SECURITY update to tor 0.4.8.10.



CVS: cvs.openbsd.org: ports

2023-11-11 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/11/11 05:24:58

Modified files:
net/tor: Tag: OPENBSD_7_4 Makefile distinfo 

Log message:
SECURITY update to tor 0.4.8.9.

ok sthen@



CVS: cvs.openbsd.org: ports

2023-11-10 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/11/10 10:59:57

Modified files:
net/tor: Makefile distinfo 

Log message:
SECURITY update to tor 0.4.8.9.



CVS: cvs.openbsd.org: ports

2023-11-06 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/11/06 03:07:15

Modified files:
net/tor: Tag: OPENBSD_7_4 Makefile distinfo 

Log message:
SECURITY update to tor 0.4.8.8.

ok sthen@



CVS: cvs.openbsd.org: ports

2023-11-04 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/11/04 15:23:07

Modified files:
net/tor: Makefile distinfo 

Log message:
SECURITY update to tor 0.4.8.8.



CVS: cvs.openbsd.org: ports

2023-09-30 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/09/30 01:22:41

Modified files:
net/tor: Makefile distinfo 

Log message:
Update to tor 0.4.8.7.



CVS: cvs.openbsd.org: ports

2023-09-24 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/09/24 12:31:16

Modified files:
net/tor: Makefile distinfo 

Log message:
Update to tor 0.4.8.6.  Same diff from openbsd at systemfailure dot net.



CVS: cvs.openbsd.org: ports

2023-09-17 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/09/17 00:48:24

Modified files:
shells/ksh93   : Makefile distinfo 

Log message:
Update to ksh93 1.0.7.



[update] net/i2p to 2.3.0

2023-09-12 Thread Pascal Stumpf
Update net/i2p to 2.3.0, take MAINTAINER.

ok?


Index: Makefile
===
RCS file: /home/anoncvs/cvs/ports/net/i2p/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile26 Apr 2023 08:17:17 -  1.18
+++ Makefile12 Sep 2023 21:41:09 -
@@ -2,13 +2,14 @@ COMMENT=  i2p routing protocol
 
 GH_ACCOUNT=i2p
 GH_PROJECT=i2p.i2p
-GH_TAGNAME=i2p-1.8.0
+GH_TAGNAME=i2p-2.3.0
 DISTNAME=  ${GH_TAGNAME}
-REVISION=  1
 
 CATEGORIES=net
 
 HOMEPAGE=  https://geti2p.net/en/
+
+MAINTAINER=Pascal Stumpf 
 
 # Apache-2.0 Artistic BSD CC-BY-2.5 CC-BY-3.0 CC-BY-SA-3.0
 # EPLv1.0 GPLv2 GPLv3 LGPLv2.1 LGPLv3 MIT public-domain WTFPLv2
Index: distinfo
===
RCS file: /home/anoncvs/cvs/ports/net/i2p/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo1 Jul 2022 05:21:10 -   1.7
+++ distinfo12 Sep 2023 21:36:23 -
@@ -1,2 +1,2 @@
-SHA256 (i2p-1.8.0.tar.gz) = AYQyEGkD8KqdzJ9q0wKFbaPhlfcwumHO3ek/nkW0OtQ=
-SIZE (i2p-1.8.0.tar.gz) = 38024343
+SHA256 (i2p-2.3.0.tar.gz) = 6JBfzZy9YOVMI/riZTTZPtEpqa/QwhN9s3zDdpIzQiI=
+SIZE (i2p-2.3.0.tar.gz) = 38157548
Index: patches/patch-core_c_jbigi_build_sh
===
RCS file: /home/anoncvs/cvs/ports/net/i2p/patches/patch-core_c_jbigi_build_sh,v
retrieving revision 1.2
diff -u -p -r1.2 patch-core_c_jbigi_build_sh
--- patches/patch-core_c_jbigi_build_sh 8 Mar 2022 00:56:24 -   1.2
+++ patches/patch-core_c_jbigi_build_sh 16 Jan 2023 21:19:34 -
@@ -2,8 +2,9 @@ use only local gmp
 change default lib to dynamic
 avoid tests
 
 core/c/jbigi/build.sh.orig Mon Aug 24 21:45:06 2020
-+++ core/c/jbigi/build.sh  Sun Oct  4 08:02:36 2020
+Index: core/c/jbigi/build.sh
+--- core/c/jbigi/build.sh.orig
 core/c/jbigi/build.sh
 @@ -21,7 +21,6 @@ rm -rf bin/local
  mkdir -p lib bin/local
  
@@ -18,23 +19,23 @@ avoid tests
  echo "Building..."
 -if [ "$1" != "dynamic" ]; then
 +if [ "$1" = "static" ]; then
- case `uname -sr` in
+ case $(uname -sr) in
  Darwin*)
  # --with-pic is required for static linking
-@@ -50,7 +49,6 @@ if [ "$1" != "dynamic" ]; then
- make
+@@ -51,7 +50,6 @@ if [ "$1" != "dynamic" ]; then
+ make check
  sh ../../build_jbigi.sh static
  else
 -shift
  sh ../../build_jbigi.sh dynamic
  fi
  
-@@ -58,7 +56,7 @@ cp *jbigi???* ../../lib/
+@@ -59,7 +57,7 @@ cp -- *jbigi???* ../../lib/
  echo 'Library copied to lib/'
  cd ../..
  
 -if [ "$1" != "notest" ]; then
 +if [ "$1" = "test" ]; then
  if [ -z "$I2P" ]; then
- if [ -r $HOME/i2p/lib/i2p.jar ]; then
+ if [ -r "$HOME/i2p/lib/i2p.jar" ]; then
  I2P="$HOME/i2p"
Index: pkg/PLIST
===
RCS file: /home/anoncvs/cvs/ports/net/i2p/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST
--- pkg/PLIST   8 Nov 2022 11:14:56 -   1.8
+++ pkg/PLIST   18 Apr 2023 17:43:05 -
@@ -37,9 +37,9 @@ share/i2p/certificates/plugin/backup_at_
 share/i2p/certificates/plugin/cacapo_at_mail.i2p.crt
 share/i2p/certificates/plugin/hankhill19580_at_gmail.com.crt
 share/i2p/certificates/plugin/str4d_at_mail.i2p.crt
-share/i2p/certificates/plugin/zab_at_mail.i2p.crt
 share/i2p/certificates/plugin/zzz-plugin_at_mail.i2p.crt
 share/i2p/certificates/reseed/
+share/i2p/certificates/reseed/arnavbhatt288_at_mail.i2p.crt
 share/i2p/certificates/reseed/creativecowpat_at_mail.i2p.crt
 share/i2p/certificates/reseed/echelon3_at_mail.i2p.crt
 share/i2p/certificates/reseed/hankhill19580_at_gmail.com.crt



CVS: cvs.openbsd.org: ports

2023-09-02 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/09/02 03:24:28

Modified files:
net/tor: Makefile distinfo 

Log message:
Update to tor 0.4.8.5.



CVS: cvs.openbsd.org: ports

2023-08-29 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/08/29 14:25:19

Modified files:
net/tor: Makefile distinfo 
net/tor/patches: patch-configure_ac 
 patch-src_lib_crypt_ops_crypto_rsa_openssl_c 
 patch-src_test_test_crypto_c 
Removed files:
net/tor/patches: patch-src_lib_tls_tortls_openssl_c 

Log message:
Update to tor 0.4.8.4.



CVS: cvs.openbsd.org: ports

2023-08-17 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/08/17 09:35:17

Modified files:
net/tor: Makefile distinfo 

Log message:
Update to tor 0.4.7.14.



Re: shells/ksh93: prepare libc bump

2023-08-17 Thread Pascal Stumpf
OK pascal@

On Thu, 17 Aug 2023 18:04:31 +0900 (JST), YASUOKA Masahiko wrote:
> Hi,
> 
> This also is to prepare the libc bump.
> The macro variable name might be changed.  I'll update it then.
> 
> ok?
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/shells/ksh93/Makefile,v
> retrieving revision 1.21
> diff -u -p -r1.21 Makefile
> --- Makefile  13 Jun 2023 21:50:41 -  1.21
> +++ Makefile  17 Aug 2023 08:57:19 -
> @@ -6,6 +6,7 @@ GH_PROJECT =  ksh
>  GH_TAGNAME = v${V}
>  PKGNAME =ksh93-$V
>  EPOCH =  0
> +REVISION =   0
>  
>  CATEGORIES = shells
>  
> Index: patches/patch-src_lib_libast_features_wchar
> ===
> RCS file: patches/patch-src_lib_libast_features_wchar
> diff -N patches/patch-src_lib_libast_features_wchar
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_lib_libast_features_wchar   17 Aug 2023 08:57:19 
> -
> @@ -0,0 +1,13 @@
> +Index: src/lib/libast/features/wchar
> +--- src/lib/libast/features/wchar.orig
>  src/lib/libast/features/wchar
> +@@ -8,6 +8,9 @@ cat{
> + #if defined(__FreeBSD__) || defined(__DragonFly__)
> + #define _STDFILE_DECLARED 1
> + #endif
> ++#if defined(__OpenBSD__)
> ++#define _STDFILES_DECLARED 1
> ++#endif
> + }end
> + 
> + lib mbstowcs,wctomb,wcrtomb,wcslen,wcstombs,wcwidth stdlib.h stdio.h wchar.h



Re: Enable BTI by default in gcc 11

2023-07-27 Thread Pascal Stumpf
On Thu, 27 Jul 2023 17:38:34 +0200, Mark Kettenis wrote:
> With this diff I can build the gcc 11 port on a machine that
> implements BTI.  As far as I can tell the option has no effect on
> non-arm64 machines.
> 
> ok?

OK.

But now there's two methods for doing this, depending on the
architecture, which I'll need to keep in mind.  Oh well.

> Index: lang/gcc/11/Makefile
> ===
> RCS file: /cvs/ports/lang/gcc/11/Makefile,v
> retrieving revision 1.19
> diff -u -p -r1.19 Makefile
> --- lang/gcc/11/Makefile  2 Jul 2023 15:33:26 -   1.19
> +++ lang/gcc/11/Makefile  27 Jul 2023 15:34:15 -
> @@ -18,7 +18,7 @@ USE_NOEXECONLY = Yes
>  V = 11.2.0
>  FULL_VERSION = $V
>  FULL_PKGVERSION = $V
> -REVISION = 7
> +REVISION = 8
>  
>  ADASTRAP-amd64 = adastrap-amd64-$V-3.tar.xz
>  ADASTRAP-arm = adastrap-arm-4.9.4-0.tar.xz
> @@ -155,7 +155,8 @@ CONFIGURE_ARGS += \
>   --enable-languages=${LANGS} \
>   --disable-libstdcxx-pch \
>   --enable-default-pie \
> - --without-isl
> + --enable-standard-branch-protection \
> + --without-isl   
>  
>  # Enable the stack protector by default where supported
>  .if ${MACHINE_ARCH} != "riscv64"



CVS: cvs.openbsd.org: ports

2023-07-07 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/07/07 11:25:07

Modified files:
lang/fpc   : Makefile distinfo 
Added files:
lang/fpc/patches: patch-fpcsrc_compiler_systems_t_bsd_pas 

Log message:
All fpc-compiled binaries need to be linked with -znobtcfi.  Regen bootstrap
accordingly.

Note that this needs the recent binutils changes.



CVS: cvs.openbsd.org: ports

2023-07-02 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/07/02 09:33:26

Modified files:
lang/gcc/11: Makefile distinfo 
lang/gcc/11/patches: patch-gcc_common_opt patch-gcc_config_gcc 
 patch-gcc_defaults_h 

Log message:
sync with GCC 8:

* use gas from ports on amd64 and i386 (from Brad)
* default to -fcf-protection=branch on amd64
* regen bootstrap



CVS: cvs.openbsd.org: ports

2023-06-22 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/06/22 06:36:34

Modified files:
lang/gcc/8 : Makefile 

Log message:
Use new gas on i386 also now that vmm-firmware has been patched to cope.

from Brad, ok sthen@



CVS: cvs.openbsd.org: ports

2023-06-14 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/06/14 03:34:52

Modified files:
lang/gcc/8 : Makefile distinfo 
lang/gcc/8/patches: patch-gcc_common_opt patch-gcc_config_gcc 
patch-gcc_defaults_h 

Log message:
Generate code with -fcf-protection=branch per default on amd64, regen bootstrap
accordingly.

tests/feedback and devel/gmp work by semarie@



CVS: cvs.openbsd.org: ports

2023-06-13 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/06/13 15:50:41

Modified files:
shells/ksh93   : Makefile distinfo 

Log message:
Update to ksh93 1.0.6.



CVS: cvs.openbsd.org: ports

2023-06-07 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/06/07 09:36:36

Modified files:
shells/ksh93   : Makefile distinfo 
shells/ksh93/pkg: PLIST 

Log message:
Update to ksh93 1.0.5.



CVS: cvs.openbsd.org: ports

2023-06-06 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/06/06 13:26:00

Modified files:
games/supertux/patches: patch-CMakeLists_txt 

Log message:
Propagate *_RANLIB_* and *_AR_* cmake variables to external/squirrel
subdirectory.

found by espie@, thanks.



CVS: cvs.openbsd.org: ports

2023-04-08 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/04/08 10:56:52

Modified files:
www/honk   : Makefile distinfo 
www/honk/pkg   : MESSAGE PLIST README 

Log message:
Update to honk 0.9.91, from MAINTAINER Horia Racoviceanu.



Re: [MAINTAINER UPDATE] www/honk 0.9.8 -> 0.9.91

2023-04-05 Thread Pascal Stumpf
On Fri, 17 Mar 2023 14:56:05 -0400, Horia Racoviceanu wrote:
> Please ignore the v0.9.9 patch and use the v0.9.91 patch:
> 
> - Upgrade to v0.9.91
> 
> changelog
> 
> === 0.9.91 One More Time
> 
> + Swallow a follow bug.

I've been running this without any problems.  Will commit in a bit if
there are no objections.


> On 3/17/23, Horia Racoviceanu  wrote:
> > - Upgrade to v0.9.9
> > - Remove icon.png from DISTFILES
> > - Remove the wonkawonk toy
> > - Remove INSTALL_DATA icons
> > - Update MESSAGE and README
> >
> > changelog
> >
> > === 0.9.9 Eat the Bugs
> >
> > + Some fixes for image descriptions.
> >
> > + Fix double htmlization of subject lines.
> >
> > + Remove the wonk support. Fun's over, back to work.
> >
> > + All inclusive danger zone spoiler alerts.
> >
> > + Emu peeker
> >
> > + CSP compliance
> >
> > + Filter to match anything with summary/warning.
> >
> > + Start collecting quties.
> >
> > + Fix http signatures for GET requests.
> >
> > + Fix adjacent mentions.
> >
> > + Fix argv for chpass.
> >
> > + Avoid self mention in reply all.
> >
> > + Fix markdown links with parens.
> >
> > + Add a default icon.png.
> >
> > + Try to fix hoot again because Twitter did a Twitter.
> >
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/www/honk/Makefile,v
> retrieving revision 1.21
> diff -u -p -r1.21 Makefile
> --- Makefile  8 Nov 2022 11:17:17 -   1.21
> +++ Makefile  17 Mar 2023 18:52:29 -
> @@ -1,8 +1,7 @@
>  COMMENT =federated status conveyance
>  
> -DISTNAME =   honk-0.9.8
> +DISTNAME =   honk-0.9.91
>  CATEGORIES = www
> -REVISION =   0
>  
>  HOMEPAGE =   https://humungus.tedunangst.com/r/honk
>  
> @@ -14,8 +13,6 @@ PERMIT_PACKAGE =Yes
>  WANTLIB +=   c pthread sqlite3
>  
>  MASTER_SITES =   ${HOMEPAGE}/d/
> -DISTFILES =  ${EXTRACT_ONLY} honk-{../v/tip/d/views/}icon.png
> -EXTRACT_ONLY =   ${DISTNAME}${EXTRACT_SUFX}
>  EXTRACT_SUFX =   .tgz
>  
>  MODULES =lang/go
> @@ -34,7 +31,7 @@ post-build:
>   ${MODGO_CMD} build ${MODGO_FLAGS} -o ${MODGO_WORKSPACE}/bin/${toy} \
>   ${MODGO_WORKSPACE}/src/${ALL_TARGET}/toys/${toy}.go
>  .endfor
> -.for toy2 in gettoken wonkawonk
> +.for toy2 in gettoken
>   ${MODGO_CMD} build ${MODGO_FLAGS} -o ${MODGO_WORKSPACE}/bin/${toy2} \
>   ${MODGO_WORKSPACE}/src/${ALL_TARGET}/toys/{${toy2}.go,fetch.go}
>  .endfor
> @@ -55,7 +52,5 @@ post-install:
>   ${EXAMPLESDIR}/views/
>   ${INSTALL_DATA} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/schema.sql \
>   ${EXAMPLESDIR}/
> - ${INSTALL_DATA} ${DISTDIR}/honk-icon.png 
> ${EXAMPLESDIR}/views/favicon.ico
> - ${INSTALL_DATA} ${DISTDIR}/honk-icon.png ${EXAMPLESDIR}/views/icon.png
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/honk/distinfo,v
> retrieving revision 1.12
> diff -u -p -r1.12 distinfo
> --- distinfo  23 Sep 2022 19:19:26 -  1.12
> +++ distinfo  17 Mar 2023 18:52:29 -
> @@ -1,4 +1,2 @@
> -SHA256 (honk-0.9.8.tgz) = BmZgMvN7fFrft+W0+V2j3tezI5kRLl/7Fx5wIVXwCG4=
> -SHA256 (honk-icon.png) = 92RJuF2onJ/1OYs4E4TYDm9KbzmNKISl+1+MSdhpzUQ=
> -SIZE (honk-0.9.8.tgz) = 511957
> -SIZE (honk-icon.png) = 912
> +SHA256 (honk-0.9.91.tgz) = +NFWTTMVdngWsC8/EIN2xJC/5C4naaAekk/YoA17wFk=
> +SIZE (honk-0.9.91.tgz) = 516396
> Index: pkg/MESSAGE
> ===
> RCS file: /cvs/ports/www/honk/pkg/MESSAGE,v
> retrieving revision 1.1
> diff -u -p -r1.1 MESSAGE
> --- pkg/MESSAGE   23 Sep 2022 19:19:26 -  1.1
> +++ pkg/MESSAGE   17 Mar 2023 18:52:29 -
> @@ -1 +1 @@
> -The database has changed since version 0.9.7. See the pkg-readme.
> +The database has changed since version 0.9.8. See the pkg-readme.
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/www/honk/pkg/PLIST,v
> retrieving revision 1.11
> diff -u -p -r1.11 PLIST
> --- pkg/PLIST 8 Nov 2022 11:17:17 -   1.11
> +++ pkg/PLIST 17 Mar 2023 18:52:29 -
> @@ -6,7 +6,6 @@
>  @bin bin/honk
>  @bin bin/saytheday
>  @bin bin/sprayandpray
> -@bin bin/wonkawonk
>  @bin bin/youvegothonks
>  @man man/man1/hfcs.1
>  @man man/man1/honk.1
> @@ -71,8 +70,8 @@ share/examples/honk/views/chatter.html
>  @sample ${LOCALSTATEDIR}/honk/views/chatter.html
>  share/examples/honk/views/combos.html
>  @sample ${LOCALSTATEDIR}/honk/views/combos.html
> -share/examples/honk/views/favicon.ico
> -@sample ${LOCALSTATEDIR}/honk/views/favicon.ico
> +share/examples/honk/views/emus.html
> +@sample ${LOCALSTATEDIR}/honk/views/emus.html
>  share/examples/honk/views/funzone.html
>  @sample ${LOCALSTATEDIR}/honk/views/funzone.html
>  share/examples/honk/views/header.html
> @@ -95,6 +94,8 @@ share/examples/honk/views/icon.png
>  

Re: remove multimedia/ogmrip

2023-03-15 Thread Pascal Stumpf
On Wed, 15 Mar 2023 02:26:34 -0700, Nam Nguyen wrote:
> Nam Nguyen writes:
> 
> > I propose removing devel/ogmrip. stsp@ had problems with ogmrip
> > segfaulting on startup. Upstream says it is dead. jca@ had suggested
> > multimedia/dvdbackup as an alternative.
> >
> > see:
> > https://sourceforge.net/p/ogmrip/discussion/258033/thread/cd664501/?limit=25#511a
> > https://sourceforge.net/p/ogmrip/discussion/258033/thread/b01310a252/?limit=25#c9bf
> >
> > I was able to get past the segfault with a series of patches here
> > renaming / to - since gconf dislikes / in names.
> > https://www.namtsui.com/cgi-bin/cvsweb/ports/multimedia/ogmrip/patches/
> >
> > However, runtime fails at extracting from an iso file. According to the
> > discussions above:
> > 1) the upstream author says the project is dead.
> > 2) it also does not work on linux.
> >
> > ok to remove?
> 
> I just realized I forgot to check consumers. multimedia/shrip would need
> to be removed, too.

Yup, it's dead.  OK pascal@.

> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/quirks/Makefile,v
> retrieving revision 1.1504
> diff -u -p -u -p -r1.1504 Makefile
> --- Makefile  10 Mar 2023 08:35:49 -  1.1504
> +++ Makefile  15 Mar 2023 09:25:34 -
> @@ -3,7 +3,7 @@ CATEGORIES =  devel databases
>  DISTFILES =
>  
>  # API.rev
> -PKGNAME =quirks-6.120
> +PKGNAME =quirks-6.121
>  PKG_ARCH =   *
>  MAINTAINER = Marc Espie 
>  
> Index: files/Quirks.pm
> ===
> RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
> retrieving revision 1.1515
> diff -u -p -u -p -r1.1515 Quirks.pm
> --- files/Quirks.pm   10 Mar 2023 08:35:49 -  1.1515
> +++ files/Quirks.pm   15 Mar 2023 09:25:34 -
> @@ -1812,6 +1812,8 @@ setup_obsolete_reason(
>   6 => 'ap-utils',
>   6 => 'kibana',
>   6 => 'elasticsearch',
> + 3 => 'ogmrip',
> + 3 => 'shrip',
>  );
>  
>  # though it's not yet used, these should be pkgnames, so that eventually
> 



CVS: cvs.openbsd.org: ports

2023-02-19 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/02/19 09:51:44

Modified files:
mail/nmh   : Makefile distinfo 
mail/nmh/patches: patch-configure patch-uip_rcvtty_c 

Log message:
Update to nmh 1.8.



Re: aarch64 bulk build report

2023-02-16 Thread Pascal Stumpf
On Thu, 16 Feb 2023 09:49:17 +0100, Peter Hessler wrote:
> On 2023 Feb 15 (Wed) at 22:09:05 +0100 (+0100), Theo Buehler wrote:
> :> 
> http://build-failures.rhaalovely.net/aarch64/2023-02-13/graphics/openscenegraph.log
> :
> :This is a hidden dep on cad/oce. Not sure if it is desirable to add this
> :relatively heavy dependency or if it's better to neuter it.
> :
> :It seems that there are various other hidden deps. For instance, my logs
> :suggest that the curl module may or may not be picked up. It would be
> :nice if someone who likes dealing with cmake could fix this.
> :
> 
> Here's a patch to disable the hidden dep on cad/oce, OK?

OK.

> curl is already listed in the port as a lib depends, so I don't think I
> should change anything there.

Yep, and that dep is there on purpose.

> Index: Makefile
> ===
> RCS file: /cvs/openbsd/ports/graphics/openscenegraph/Makefile,v
> retrieving revision 1.30
> diff -u -p -u -p -r1.30 Makefile
> --- Makefile  30 Dec 2022 00:13:29 -  1.30
> +++ Makefile  16 Feb 2023 08:44:30 -
> @@ -10,7 +10,7 @@ GH_ACCOUNT =openscenegraph
>  GH_PROJECT = OpenSceneGraph
>  GH_TAGNAME = OpenSceneGraph-$V
>  DISTNAME =   openscenegraph-${V}
> -REVISION =   3
> +REVISION =   4
>  
>  SUBST_VARS +=V
>  
> @@ -64,6 +64,8 @@ LIB_DEPENDS =   devel/sdl \
>   x11/gnome/librsvg
>  
>  NO_TEST =Yes
> +
> +CONFIGURE_ARGS +=-DCMAKE_DISABLE_FIND_PACKAGE_OpenCascade:Bool=Yes
>  
>  # Fix build with OpenEXR>=3 (Imath split)
>  CXXFLAGS +=  -I${LOCALBASE}/include/Imath
> 
> 



Re: Remove devel/gas?

2023-01-15 Thread Pascal Stumpf
On Sun, 15 Jan 2023 23:12:44 +0100, Frederic Cambus wrote:
> Hi ports@,
> 
> When I imported binutils back in August, sthen@ hinted that it was a
> bit strange to now have gas in a separate port [1], to which I agreed.
> 
> Following the binutils 2.40 update, I enabled the build of gas in the
> binutils package. This means we can now remove devel/gas.
> 
> CC'ed MAINTAINER (pascal@)
> 
> Comments? OK to remove it?

You need to test if lang/gcc/* still works fine with the newer gas from
binutils, on aarch64, arm, powerpc64 and riscv64.  Also keep in mind that
this will be the major test case for future binutils updates.  If that's
fine (and everything works), go for it.



CVS: cvs.openbsd.org: ports

2023-01-13 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/01/13 06:19:55

Modified files:
net/tor: Tag: OPENBSD_7_2 Makefile distinfo 

Log message:
MFC update to tor 0.4.7.13, fixing TROVE-2022-002.

ok sthen@



CVS: cvs.openbsd.org: ports

2023-01-13 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2023/01/13 04:05:23

Modified files:
net/tor: Makefile distinfo 

Log message:
Update to tor 0.4.7.13.  Includes security fix for TROVE-2022-002.



Re: lang/gcc and llvm 15 (was: Re: amd64-clang bulk build report (llvm 15))

2023-01-11 Thread Pascal Stumpf
On Tue, 10 Jan 2023 18:40:19 +0100, Jeremie Courreges-Anglas wrote:

[...]

> (Note that the two "lazy binding failed" error messages were produced
> with a tweaked ld.so to print the symbol name.)
> 
> Below is the diff I used to work around the breakage on amd64. The last
> part of the diff (lang/gcc/8/patches/patch-gcc_genconditions_c) could be
> committed right away I think. ok?

OK for this one.

> I'm not looking for oks for the rest of the diff, but rather for help in
> understanding and fixing the issue at hand.

I'm still trying to figure out the xonly breakage, but I'll get back to
this asap.

> llvm 15 test material: git branch:
> https://github.com/jcourreges/openbsd-src/tree/llvm15-6 amd64 snaps:
> https://pbuild-amd64.wxcvbn.org/pub/OpenBSD/snapshots/amd64/
> 
> 
> Index: lang/gcc/11/Makefile
> === RCS
> file: /home/cvs/ports/lang/gcc/11/Makefile,v retrieving revision 1.16
> diff -u -p -r1.16 Makefile --- lang/gcc/11/Makefile 22 Nov 2022 23:26:10
> - 1.16 +++ lang/gcc/11/Makefile 2 Jan 2023 20:22:15 - @@ -11,6
> +11,9 @@ ONLY_FOR_ARCHS = aarch64 alpha amd64 arm ONLY_FOR_ARCHS-ada =
> amd64 i386 mips64 powerpc ONLY_FOR_ARCHS-dlang = aarch64 amd64 arm i386
> powerpc powerpc64
> 
> +# XXX lld 15 can't link internal tools like genpreds +USE_LLD = No +
> DPB_PROPERTIES = parallel
> 
>  V = 11.2.0 @@ -130,7 +133,6 @@ MAKE_ENV += ${EXTRA_ENV}
> # powerpc lld can't link C++ code from gcc, "ld: error:
> relocation # refers to a discarded section:" .data.rel.ro.* or #
> .sdata.DW.ref.__gxx_personality_v0 -USE_LLD = No CONFIGURE_ENV +=
> LDFLAGS="-Wl,--relax" .endif
> 
> Index: lang/gcc/8/Makefile
> ===
> RCS file: /home/cvs/ports/lang/gcc/8/Makefile,v retrieving revision
> 1.61 diff -u -p -r1.61 Makefile --- lang/gcc/8/Makefile 18 Dec 2022
> 16:19:26 - 1.61 +++ lang/gcc/8/Makefile 2 Jan 2023 20:21:46 - @@
> -4,12 +4,8 @@ ONLY_FOR_ARCHS = aarch64 alpha amd64 arm # XXX: sparc64
> ONLY_FOR_ARCHS-ada = amd64 hppa i386 mips64 powerpc
> 
> -# powerpc lld can't link C++ code from gcc, "ld: error:
> relocation -# refers to a discarded section:" .data.rel.ro.* or -#
> .sdata.DW.ref.__gxx_personality_v0 -.if ${MACHINE_ARCH:Mpowerpc} +# XXX
> lld 15 can't link internal tools such as genpreds USE_LLD = No -.endif
> 
>  DPB_PROPERTIES = parallel
> 
> Index: lang/gcc/8/patches/patch-gcc_genconditions_c
> === RCS
> file: /home/cvs/ports/lang/gcc/8/patches/patch-gcc_genconditions_c,v
> retrieving revision 1.2 diff -u -p -r1.2 patch-gcc_genconditions_c
> --- lang/gcc/8/patches/patch-gcc_genconditions_c 11 Mar 2022 19:28:59
> - 1.2 +++ lang/gcc/8/patches/patch-gcc_genconditions_c 2 Jan 2023
> 20:21:11 - @@ -6,7 +6,7 @@ Index: gcc/genconditions.c in a generator
> program. As a defensive measure, don't do so when the\n\ table isn't
> going to have anything in it. */\n\ -#if GCC_VERSION >= 3001\n\ -+#if
> GCC_VERSION >= 3001 && __clang_major__ != 13\n\ ++#if GCC_VERSION >=
> 3001 && !defined(__clang_major__)\n\ \n\ /* Do not allow checking to
> confuse the issue. */\n\ #undef CHECKING_P\n\ @@ -15,7 +15,7 @@ Index:
> gcc/genconditions.c optimizing. */\n\ \n\ -#if GCC_VERSION >= 3001\n\
> -+#if GCC_VERSION >= 3001 && __clang_major__ != 13\n\ ++#if GCC_VERSION
> >= 3001 && !defined(__clang_major__)\n\ static const struct c_test
> insn_conditions[] = {\n");
> 
> traverse_c_tests (write_one_condition, 0); @@ -24,7 +24,7 @@ Index:
> gcc/genconditions.c " const char *p;\n" " puts (\"(define_conditions
> [\");\n" - "#if GCC_VERSION >= 3001\n" -+ "#if GCC_VERSION >=
> 3001 && __clang_major__ != 13\n" ++ "#if GCC_VERSION >= 3001
> && !defined(__clang_major__)\n" " for (i = 0; i < ARRAY_SIZE
> (insn_conditions); i++)\n" " {\n" " printf (\" (%d \\\"\",
> insn_conditions[i].value);\n"
> 
> 
> -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524
> E7EE
> 
>>> application/pgp-signature attachment



CVS: cvs.openbsd.org: ports

2022-12-31 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/12/31 04:29:51

Modified files:
net/endlessh   : Makefile 
net/endlessh/pkg: endlessh.rc endlessh6.rc 

Log message:
Make the rc scripts actually work as intended in absence of a config file.

ok op@



Re: CVS: cvs.openbsd.org: ports

2022-12-30 Thread Pascal Stumpf
On Fri, 30 Dec 2022 04:33:06 -0700 (MST), Omar Polo wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   o...@cvs.openbsd.org2022/12/30 04:33:06
> 
> Modified files:
>   net/endlessh   : Makefile 
>   net/endlessh/pkg: PLIST 
> 
> Log message:
> net/endlessh: add missing @newuser
> 
> ok tb
> 

Still does not work as intended though without a config file.


Index: Makefile
===
RCS file: /home/anoncvs/cvs/ports/net/endlessh/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile30 Dec 2022 11:33:06 -  1.2
+++ Makefile30 Dec 2022 23:02:09 -
@@ -6,7 +6,7 @@ GH_COMMIT = dfe44eb2c5b6fc3c48a39ed826fe
 
 V =1.1pre20210430
 DISTNAME = endlessh-$V
-REVISION = 0
+REVISION = 1
 CATEGORIES =   net security
 
 MAINTAINER =   Michael 
Index: pkg/endlessh.rc
===
RCS file: /home/anoncvs/cvs/ports/net/endlessh/pkg/endlessh.rc,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 endlessh.rc
--- pkg/endlessh.rc 29 Dec 2022 23:41:22 -  1.1.1.1
+++ pkg/endlessh.rc 30 Dec 2022 23:02:23 -
@@ -1,7 +1,7 @@
 #!/bin/ksh
 
 daemon="${LOCALBASE}/bin/endlessh"
-daemon_flags=-s
+daemon_flags="-s -4"
 daemon_user=_endlessh
 rc_bg=YES
 
Index: pkg/endlessh6.rc
===
RCS file: /home/anoncvs/cvs/ports/net/endlessh/pkg/endlessh6.rc,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 endlessh6.rc
--- pkg/endlessh6.rc29 Dec 2022 23:41:22 -  1.1.1.1
+++ pkg/endlessh6.rc30 Dec 2022 23:02:33 -
@@ -1,7 +1,7 @@
 #!/bin/ksh
 
 daemon="${LOCALBASE}/bin/endlessh"
-daemon_flags=-s -6
+daemon_flags="-s -6"
 daemon_user=_endlessh
 rc_bg=YES
 



CVS: cvs.openbsd.org: ports

2022-12-29 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/12/29 14:07:28

Added files:
graphics/rawtherapee/patches: patch-rtengine_dcraw_c 
  patch-rtengine_procparams_cc 
  patch-rtengine_rtthumbnail_cc 
  patch-rtexif_rtexif_cc 
  patch-rtgui_cacheimagedata_cc 
  patch-rtgui_multilangmgr_cc 
  patch-rtgui_options_cc 

Log message:
Add a workaround for rawtherapee crashing on startup due to threaded use
of setlocale(), see https://github.com/Beep6581/RawTherapee/issues/6452.

ok kirby@ (maintainer)



Re: NEW: net/endlessh

2022-12-20 Thread Pascal Stumpf
On Sun, 18 Dec 2022 15:11:22 +0100, Michael wrote:
> On Sun, Dec 18, 2022 at 11:55:12AM +, Stuart Henderson wrote:
> > On 2022/12/17 22:36, Michael wrote:
> > > On Sat, Dec 17, 2022 at 11:06:32AM +0100, Omar Polo wrote:
> > > > On 2022/12/17 10:41:26 +0100, Pascal Stumpf  wrote:
> > > > > On Sat, 17 Dec 2022 10:18:15 +0100, Pascal Stumpf wrote:
> > > > > > A few tweaks:
> > > > > > 
> > > > > > * set MAKE_FLAGS so that the build respects CFLAGS
> > > > > > * NO_TESTS = Yes
> > > > > > * add README and endless.rc to the port itself, reformat, turn on 
> > > > > > -s per
> > > > > >   default (syslog logging)
> > > > > > * add dedicated _endlessh user
> > > > > > * install a default config file into examples and @sample it
> > > > > 
> > > > > * correct Nm in endlessh.1
> > > > 
> > > > there's an extra patch-Makefile.orig in the tarball and
> > > > pkg/endlessh.rc is executable when it doesn't need to.
> > > > 
> > > > ok for me with that fixed.
> > > 
> > > Thanks to Pascal and you for the tweaks.
> > > 
> > > I have tested the latest revision; works as expected and the changes 
> > > seem fine to me. I took the liberty of fixing the last problems Omar 
> > > mentioned in the attached port.
> > > 
> > > > 
> > > > 
> > > > in pkg/README I'd say to symlink /etc/rc.d/endlessh to endlessh6
> > > > instead of copying it, less to worry when updating.
> > > > 
> > > > If I'm reading it correctly, it can't directly bind to 22 because it
> > > > doesn't start as root, it' would be nice to include an excerpt of the
> > > > pf configuration to redirect the port 22 to .
> > > > 
> > > > I'd use a patch instead of perl -pi in post-install to tweak the
> > > > configuration, it's more verbose but it's also more resiliant to
> > > > upstream changes to the file.
> > > > 
> > > > Including the diff for user.list in case it comes in handy to who
> > > > would like to test it.
> > > > 
> > > > Index: user.list
> > > > ===
> > > > RCS file: /home/cvs/ports/infrastructure/db/user.list,v
> > > > retrieving revision 1.413
> > > > diff -u -p -r1.413 user.list
> > > > --- user.list   14 Dec 2022 12:09:05 -  1.413
> > > > +++ user.list   17 Dec 2022 09:50:27 -
> > > > @@ -395,3 +395,4 @@ id  usergroup   port
> > > >  884 _iblock_iblock net/iblock
> > > >  885 _mycorrhiza_mycorrhiza www/mycorrhiza
> > > >  886 _eduvpn_eduvpn net/eduvpn
> > > > +887 _endlessh  _endlessh   net/endlessh
> > > > 
> > 
> > There is no 1.1 release yet, so better name it 1.1pre20210430 (date of 
> > commit).
> > 
> > From readme:
> > 
> > : If you want to cover both IPv4 and IPv6 you'll need to run *two* 
> > instances of
> > : endlessh.
> > : 
> > : - copy the endlessh rc script to ${RCDIR}/endlessh6
> > : - copy the config file to ${SYSCONFDIR}/endlessh/config6
> > :   - use BindFamily 6 in config6
> > : - in rc.conf.local force endlessh6 to load config6 like so:
> > : 
> > : endlessh6_flags=-s -f /etc/endlessh/config6
> > : endlessh_flags=-s
> > 
> > No need to tell the user to do this, just provide an endlessh6 rc script
> > with the required daemon_flags. I don't think you need a second config
> > file, just use -6.
> > 
> > : Covering more than 128 connections
> > : ==
> > : 
> > : The defaults in OpenBSD only allow for 128 open file descriptors per 
> > process,
> > : so regardless of the MaxClients setting in ${SYSCONFDIR}/endlessh/config
> > : you'll end up with something like 124 clients at the most.
> > : You can increase these limits in ${SYSCONFDIR}/login.conf for endlessh 
> > (and
> > : endlessh6) like so:
> > : 
> > : endlessh:\
> > :   :openfiles=1024:\
> > :   :tc=daemon:
> > : endlessh6:\
> > :   :openfiles=1024:\
> > :   :tc=daemon:
> > 
> > Provide pkg/endlessh.login and endless6.login files instead. 1024x2 is
> > a bit high for the default kern.maxfiles, I would suggest not more than
> > 512 for the installed file, users can change it if they need more.
> > 
> > Then because it is just using standard OS mechanisms there is no more
> > need for pkg/README.
> > 
> 
> Thanks for the feedback.
> 
> Attached port should contain all the suggestions above.
> Also the pledge() comment was changed to "uses pledge() and unveil()"
> 
> portcheck now complains about the two extra *.login files but looking at
> other ports that have those this seems normal:
> 
> # /usr/ports/infrastructure/bin/portcheck
> extra file: pkg/endlessh.login
> extra file: pkg/endlessh6.login
> net/endlessh
> 
> 
> (this time actually reaching the mailinglist...)

As sthen@ said, you can now remove pkg/README.  With that fixed, ok
pascal@.

>>> application/octet-stream attachment, name=endlessh.tgz



Re: NEW: net/endlessh

2022-12-17 Thread Pascal Stumpf
On Sat, 17 Dec 2022 10:18:15 +0100, Pascal Stumpf wrote:
> A few tweaks:
> 
> * set MAKE_FLAGS so that the build respects CFLAGS
> * NO_TESTS = Yes
> * add README and endless.rc to the port itself, reformat, turn on -s per
>   default (syslog logging)
> * add dedicated _endlessh user
> * install a default config file into examples and @sample it

* correct Nm in endlessh.1

> On Fri, 16 Dec 2022 21:17:52 +0100, Michael wrote:
> > Hi ports,
> > 
> > this is a port for endlessh [1], an SSH tarpit that slowly sends an 
> > endless banner. From pkg/DESCR:
> > 
> > Endlessh is an SSH tarpit that very slowly sends an endless, random
> > SSH banner. It keeps SSH clients locked up for hours or even days at a
> > time. The purpose is to put your real SSH server on another port and
> > then let the script kiddies get stuck in this tarpit instead of
> > bothering a real server.
> > 
> > This uses the latest git commit since some OpenBSD specific files were 
> > added after version 1.1 got tagged. Same for some compiler warning 
> > fixes. I would like to switch back on using some release or tagged 
> > version as soon as it becomes available.
> > 
> > I am unsure if all lines in post-install are correct the way they are, 
> > however providing those files makes sense to me.
> > 
> > Tested on amd64.
> > 
> > 
> > [1] https://github.com/skeeto/endlessh
> > 
> >>> application/octet-stream attachment, name=endlessh.tar.gz
> 
>>> application/x-gzip attachment, name=endlessh.tgz


endlessh.tgz
Description: endlessh.tgz


Re: NEW: net/endlessh

2022-12-17 Thread Pascal Stumpf
A few tweaks:

* set MAKE_FLAGS so that the build respects CFLAGS
* NO_TESTS = Yes
* add README and endless.rc to the port itself, reformat, turn on -s per
  default (syslog logging)
* add dedicated _endlessh user
* install a default config file into examples and @sample it

On Fri, 16 Dec 2022 21:17:52 +0100, Michael wrote:
> Hi ports,
> 
> this is a port for endlessh [1], an SSH tarpit that slowly sends an 
> endless banner. From pkg/DESCR:
> 
> Endlessh is an SSH tarpit that very slowly sends an endless, random
> SSH banner. It keeps SSH clients locked up for hours or even days at a
> time. The purpose is to put your real SSH server on another port and
> then let the script kiddies get stuck in this tarpit instead of
> bothering a real server.
> 
> This uses the latest git commit since some OpenBSD specific files were 
> added after version 1.1 got tagged. Same for some compiler warning 
> fixes. I would like to switch back on using some release or tagged 
> version as soon as it becomes available.
> 
> I am unsure if all lines in post-install are correct the way they are, 
> however providing those files makes sense to me.
> 
> Tested on amd64.
> 
> 
> [1] https://github.com/skeeto/endlessh
> 
>>> application/octet-stream attachment, name=endlessh.tar.gz


endlessh.tgz
Description: endlessh.tgz


CVS: cvs.openbsd.org: ports

2022-12-11 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/12/11 14:29:47

Added files:
lang/moarvm/patches: patch-build_Makefile_in 

Log message:
add forgotten patch



CVS: cvs.openbsd.org: ports

2022-12-11 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/12/11 14:27:04

Modified files:
lang/rakudo: Makefile distinfo 
lang/rakudo/pkg: PLIST 

Log message:
Update to Rakudo 2022.12.



CVS: cvs.openbsd.org: ports

2022-12-11 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/12/11 14:26:43

Modified files:
lang/nqp   : Makefile distinfo 

Log message:
Update to NQP 2022.12.



CVS: cvs.openbsd.org: ports

2022-12-11 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/12/11 14:26:26

Modified files:
lang/moarvm: Makefile distinfo 
lang/moarvm/pkg: PLIST 

Log message:
Update to MoarVM 2022.12.



CVS: cvs.openbsd.org: ports

2022-12-07 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/12/07 14:52:07

Modified files:
net/tor: Makefile distinfo 

Log message:
Update to tor 0.4.7.12.



CVS: cvs.openbsd.org: ports

2022-11-27 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/11/27 14:48:30

Modified files:
games/flightgear: Makefile.inc 
games/flightgear/base: Makefile distinfo 
games/flightgear/data: distinfo 
games/flightgear/data/pkg: PLIST 

Log message:
Update to flightgear 2020.3.17.



CVS: cvs.openbsd.org: ports

2022-11-27 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/11/27 14:47:48

Modified files:
graphics/simgear: Makefile distinfo 
graphics/simgear/pkg: PLIST 

Log message:
Update to simgear 2020.3.17.



CVS: cvs.openbsd.org: ports

2022-11-27 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/11/27 12:18:51

Modified files:
games/dhewm3   : Makefile distinfo 
Removed files:
games/dhewm3/patches: patch-neo_CMakeLists_txt 

Log message:
Update to dhewm3 1.5.2.



CVS: cvs.openbsd.org: ports

2022-11-26 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/11/26 04:20:09

Modified files:
games/warzone2100: Makefile 

Log message:
Add two sneaky BUILD_DEPENDS on libzip and sdl2, found by sthen@ and naddy@
respectively.



CVS: cvs.openbsd.org: ports

2022-11-24 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/11/24 16:09:49

Modified files:
sysutils/parallel: Makefile distinfo 
sysutils/parallel/patches: patch-src_Makefile_in 
sysutils/parallel/pkg: PLIST 

Log message:
Update to parallel 20221122.



Re: CVS: cvs.openbsd.org: ports

2022-11-24 Thread Pascal Stumpf
On Thu, 24 Nov 2022 15:31:18 +, Stuart Henderson wrote:
> On 2022/11/22 16:26, Pascal Stumpf wrote:
> > CVSROOT:/cvs
> > Module name:ports
> > Changes by: pas...@cvs.openbsd.org  2022/11/22 16:26:10
> > 
> > Modified files:
> > lang/gcc/11: Makefile distinfo 
> > 
> > Log message:
> > Update bootstraps.
> > 
> 
> ===> Trying https://distfiles.stumpf.co/
> /usr/bin/ftp -C -v -o /mnt/distfiles/gcc/adastrap-i386-11.2.0-2.tar.xz.part 
> https://distfiles.stumpf.co/adastrap-i386-11.2.0-2.tar.xz
> Trying 81.169.222.158...
> Requesting https://distfiles.stumpf.co/adastrap-i386-11.2.0-2.tar.xz
> 72316224 bytes received in 20.80 seconds (3.31 MB/s)
> size does not match
> 

Whoops, fixed.



CVS: cvs.openbsd.org: ports

2022-11-24 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/11/24 10:23:53

Modified files:
lang/gcc/11: distinfo 

Log message:
Correct size/checksum for i386 and powerpc bootstraps.



CVS: cvs.openbsd.org: ports

2022-11-22 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/11/22 16:26:10

Modified files:
lang/gcc/11: Makefile distinfo 

Log message:
Update bootstraps.



CVS: cvs.openbsd.org: ports

2022-11-22 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/11/22 16:25:21

Modified files:
lang/gcc/8 : Makefile distinfo 

Log message:
Update remaining bootstraps.



CVS: cvs.openbsd.org: ports

2022-11-22 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/11/22 04:00:35

Modified files:
games/warzone2100: Makefile distinfo 
games/warzone2100/patches: patch-doc_CMakeLists_txt 
   patch-icons_CMakeLists_txt 
games/warzone2100/pkg: PLIST 
Added files:
games/warzone2100/patches: patch-3rdparty_fmt_src_os_cc 
Removed files:
games/warzone2100/patches: patch-src_CMakeLists_txt 

Log message:
Update to Warzone2100 4.3.2.

tested by and ok op@, tiny tweak from Brad.



Re: [update] games/warzone2100

2022-11-21 Thread Pascal Stumpf
On Mon, 21 Nov 2022 23:22:59 +0100, Omar Polo wrote:
> On 2022/11/15 13:21:30 +0100, Pascal Stumpf  wrote:
> > Update to latest version, 4.3.2.
> 
> fails to build :/

Dangit.  *blames cvs for missing a patch*


Index: Makefile
===
RCS file: /home/cvs/ports/games/warzone2100/Makefile,v
retrieving revision 1.48
diff -u -p -r1.48 Makefile
--- Makefile18 Oct 2022 00:48:10 -  1.48
+++ Makefile21 Nov 2022 22:30:58 -
@@ -2,34 +2,36 @@ ONLY_FOR_ARCHS=   amd64 i386
 
 COMMENT=   3D realtime strategy on a future earth
 
-V= 4.2.4
+V= 4.3.2
 DISTNAME=  warzone2100-$V
 CATEGORIES=games
 MASTER_SITES=  https://github.com/Warzone2100/warzone2100/releases/download/$V/
 DISTFILES= warzone2100-${V}{warzone2100_src}${EXTRACT_SUFX}
 EXTRACT_SUFX=  .tar.xz
-REVISION=  2
 
 HOMEPAGE=  https://wz2100.net/
 
 # GPLv2+
 PERMIT_PACKAGE=Yes
 
-WANTLIB += ${COMPILER_LIBCXX} SDL2 c curl freetype harfbuzz intl
-WANTLIB += m miniupnpc ogg openal physfs png sodium sqlite3 theoradec
-WANTLIB += vorbis vorbisfile z
+WANTLIB += ${COMPILER_LIBCXX} X11 Xcursor Xext Xfixes Xi Xrandr
+WANTLIB += Xss c curl freetype fribidi harfbuzz intl m miniupnpc
+WANTLIB += ogg openal opus physfs png samplerate sndio sodium
+WANTLIB += sqlite3 theoradec usbhid vorbis vorbisfile z
 
 MODULES=   devel/cmake
 
 COMPILER=  base-clang ports-gcc
 
 LIB_DEPENDS=   audio/libogg \
+   audio/libsamplerate \
audio/libvorbis \
-   audio/openal>=20110627 \
+   audio/openal \
+   audio/opus \
databases/sqlite3 \
+   devel/fribidi \
devel/harfbuzz \
devel/physfs \
-   devel/sdl2 \
graphics/png \
multimedia/libtheora \
net/curl \
@@ -39,12 +41,13 @@ LIB_DEPENDS=audio/libogg \
 BUILD_DEPENDS= archivers/unzip \
archivers/zip \
devel/gettext,-tools \
-   graphics/vulkan-headers \
textproc/asciidoc \
textproc/asciidoctor
 RUN_DEPENDS=   devel/desktop-file-utils \
x11/gtk+3,-guic
 
+# needs glslc
+CONFIGURE_ARGS+=   -DWZ_ENABLE_BACKEND_VULKAN=OFF
 MODCMAKE_LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
 
 WRKDIST =  ${WRKDIR}/warzone2100
Index: distinfo
===
RCS file: /home/cvs/ports/games/warzone2100/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo31 Dec 2021 14:28:31 -  1.15
+++ distinfo15 Nov 2022 10:25:36 -
@@ -1,2 +1,2 @@
-SHA256 (warzone2100-4.2.4.tar.xz) = 
IkD1WkeKas9qtUUTTo9w4cEoGAoX+d+Cr2C5PTUFaEg=
-SIZE (warzone2100-4.2.4.tar.xz) = 338685080
+SHA256 (warzone2100-4.3.2.tar.xz) = 
RcpHk+p9Adu9zkd2J54hspeolZr/xsBsY8eUHLGY0xw=
+SIZE (warzone2100-4.3.2.tar.xz) = 320455376
Index: patches/patch-3rdparty_fmt_src_os_cc
===
RCS file: patches/patch-3rdparty_fmt_src_os_cc
diff -N patches/patch-3rdparty_fmt_src_os_cc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-3rdparty_fmt_src_os_cc15 Nov 2022 11:33:24 -
@@ -0,0 +1,12 @@
+Index: 3rdparty/fmt/src/os.cc
+--- 3rdparty/fmt/src/os.cc.orig
 3rdparty/fmt/src/os.cc
+@@ -203,7 +203,7 @@ void buffered_file::close() {
+ }
+ 
+ int buffered_file::descriptor() const {
+-  int fd = FMT_POSIX_CALL(fileno(file_));
++  int fd = fileno(file_);
+   if (fd == -1) FMT_THROW(system_error(errno, "cannot get file descriptor"));
+   return fd;
+ }
Index: patches/patch-doc_CMakeLists_txt
===
RCS file: /home/cvs/ports/games/warzone2100/patches/patch-doc_CMakeLists_txt,v
retrieving revision 1.2
diff -u -p -r1.2 patch-doc_CMakeLists_txt
--- patches/patch-doc_CMakeLists_txt11 Mar 2022 19:05:10 -  1.2
+++ patches/patch-doc_CMakeLists_txt15 Nov 2022 10:29:25 -
@@ -1,7 +1,7 @@
 Index: doc/CMakeLists.txt
 --- doc/CMakeLists.txt.orig
 +++ doc/CMakeLists.txt
-@@ -261,7 +261,7 @@ if(UNIX)
+@@ -261,7 +261,7 @@ if(UNIX AND NOT SKIPPED_DOC_GENERATION)
)
endif()
  
Index: patches/patch-icons_CMakeLists_txt
===
RCS file: /home/cvs/ports/games/warzone2100/patches/patch-icons_CMakeLists_txt,v
retrieving revision 1.2
diff -u -p -r1.2 patch-icons_CMakeLists_txt
--- patches/patch-icons_CMakeLists_txt  11 Mar 2022 19:05:10 -  1.2
+++ patches/patch-icons_CMakeLists_txt  15 Nov 2022 12:01:22 -
@@ -1,12 +1,12 @@
 Index: icons/CMakeLists.txt
 --- icons/CMakeLists.txt.orig
 +++ icons/CMakeLists.txt
-@@ -13,7 +13,7 @@ if(UNIX AND NOT APPLE AND NOT WIN32)
+@@ -53,7 +53,7 @@ if(UNIX AND NOT APPLE AND NOT WIN32)
  

[update] games/warzone2100

2022-11-15 Thread Pascal Stumpf
Update to latest version, 4.3.2.


Index: Makefile
===
RCS file: /home/cvs/ports/games/warzone2100/Makefile,v
retrieving revision 1.48
diff -u -p -r1.48 Makefile
--- Makefile18 Oct 2022 00:48:10 -  1.48
+++ Makefile15 Nov 2022 11:51:34 -
@@ -2,34 +2,36 @@ ONLY_FOR_ARCHS=   amd64 i386
 
 COMMENT=   3D realtime strategy on a future earth
 
-V= 4.2.4
+V= 4.3.2
 DISTNAME=  warzone2100-$V
 CATEGORIES=games
 MASTER_SITES=  https://github.com/Warzone2100/warzone2100/releases/download/$V/
 DISTFILES= warzone2100-${V}{warzone2100_src}${EXTRACT_SUFX}
 EXTRACT_SUFX=  .tar.xz
-REVISION=  2
 
 HOMEPAGE=  https://wz2100.net/
 
 # GPLv2+
 PERMIT_PACKAGE=Yes
 
-WANTLIB += ${COMPILER_LIBCXX} SDL2 c curl freetype harfbuzz intl
-WANTLIB += m miniupnpc ogg openal physfs png sodium sqlite3 theoradec
-WANTLIB += vorbis vorbisfile z
+WANTLIB += ${COMPILER_LIBCXX} X11 Xcursor Xext Xfixes Xi Xrandr
+WANTLIB += Xss c curl freetype fribidi harfbuzz intl m miniupnpc
+WANTLIB += ogg openal opus physfs png samplerate sndio sodium
+WANTLIB += sqlite3 theoradec usbhid vorbis vorbisfile z
 
 MODULES=   devel/cmake
 
 COMPILER=  base-clang ports-gcc
 
 LIB_DEPENDS=   audio/libogg \
+   audio/libsamplerate \
audio/libvorbis \
audio/openal>=20110627 \
+   audio/opus \
databases/sqlite3 \
+   devel/fribidi \
devel/harfbuzz \
devel/physfs \
-   devel/sdl2 \
graphics/png \
multimedia/libtheora \
net/curl \
@@ -39,12 +41,13 @@ LIB_DEPENDS=audio/libogg \
 BUILD_DEPENDS= archivers/unzip \
archivers/zip \
devel/gettext,-tools \
-   graphics/vulkan-headers \
textproc/asciidoc \
textproc/asciidoctor
 RUN_DEPENDS=   devel/desktop-file-utils \
x11/gtk+3,-guic
 
+# needs glslc
+CONFIGURE_ARGS+=   -DWZ_ENABLE_BACKEND_VULKAN=OFF
 MODCMAKE_LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
 
 WRKDIST =  ${WRKDIR}/warzone2100
Index: distinfo
===
RCS file: /home/cvs/ports/games/warzone2100/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo31 Dec 2021 14:28:31 -  1.15
+++ distinfo15 Nov 2022 10:25:36 -
@@ -1,2 +1,2 @@
-SHA256 (warzone2100-4.2.4.tar.xz) = 
IkD1WkeKas9qtUUTTo9w4cEoGAoX+d+Cr2C5PTUFaEg=
-SIZE (warzone2100-4.2.4.tar.xz) = 338685080
+SHA256 (warzone2100-4.3.2.tar.xz) = 
RcpHk+p9Adu9zkd2J54hspeolZr/xsBsY8eUHLGY0xw=
+SIZE (warzone2100-4.3.2.tar.xz) = 320455376
Index: patches/patch-doc_CMakeLists_txt
===
RCS file: /home/cvs/ports/games/warzone2100/patches/patch-doc_CMakeLists_txt,v
retrieving revision 1.2
diff -u -p -r1.2 patch-doc_CMakeLists_txt
--- patches/patch-doc_CMakeLists_txt11 Mar 2022 19:05:10 -  1.2
+++ patches/patch-doc_CMakeLists_txt15 Nov 2022 10:29:25 -
@@ -1,7 +1,7 @@
 Index: doc/CMakeLists.txt
 --- doc/CMakeLists.txt.orig
 +++ doc/CMakeLists.txt
-@@ -261,7 +261,7 @@ if(UNIX)
+@@ -261,7 +261,7 @@ if(UNIX AND NOT SKIPPED_DOC_GENERATION)
)
endif()
  
Index: patches/patch-icons_CMakeLists_txt
===
RCS file: /home/cvs/ports/games/warzone2100/patches/patch-icons_CMakeLists_txt,v
retrieving revision 1.2
diff -u -p -r1.2 patch-icons_CMakeLists_txt
--- patches/patch-icons_CMakeLists_txt  11 Mar 2022 19:05:10 -  1.2
+++ patches/patch-icons_CMakeLists_txt  15 Nov 2022 12:01:22 -
@@ -1,12 +1,12 @@
 Index: icons/CMakeLists.txt
 --- icons/CMakeLists.txt.orig
 +++ icons/CMakeLists.txt
-@@ -13,7 +13,7 @@ if(UNIX AND NOT APPLE AND NOT WIN32)
+@@ -53,7 +53,7 @@ if(UNIX AND NOT APPLE AND NOT WIN32)
COMPONENT Core
)
install(FILES warzone2100.png
 -  DESTINATION "${CMAKE_INSTALL_DATADIR}/icons"
-+  DESTINATION "${CMAKE_INSTALL_DATADIR}/warzone2100/icons"
-   RENAME "warzone2100${WZ_OUTPUT_NAME_SUFFIX}.png"
++  DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/warzone2100/"
+   RENAME "${WZ_APPSTREAM_ID}${WZ_OUTPUT_NAME_SUFFIX}.png"
COMPONENT Core
)
Index: patches/patch-src_CMakeLists_txt
===
RCS file: patches/patch-src_CMakeLists_txt
diff -N patches/patch-src_CMakeLists_txt
--- patches/patch-src_CMakeLists_txt11 Mar 2022 19:05:10 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-Index: src/CMakeLists.txt
 src/CMakeLists.txt.orig
-+++ src/CMakeLists.txt
-@@ -619,9 +619,6 @@ endif()
- # Install
- install(TARGETS warzone2100 

CVS: cvs.openbsd.org: ports

2022-11-12 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/11/12 18:11:08

Added files:
games/supertuxkart/patches: 

patch-lib_graphics_engine_include_vk_mem_alloc_h 

Log message:
add forgotten patch



CVS: cvs.openbsd.org: ports

2022-11-12 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/11/12 14:53:00

Modified files:
games/supertuxkart: Makefile distinfo 
games/supertuxkart/pkg: PLIST 

Log message:
Update to SuperTuxKart 1.4.



CVS: cvs.openbsd.org: ports

2022-11-10 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/11/10 10:22:54

Modified files:
net/tor: Makefile distinfo 

Log message:
Update to tor 0.4.7.11, containing DoS fixes.

Announcement: https://forum.torproject.net/t/stable-release-0-4-7-11/5501



CVS: cvs.openbsd.org: ports

2022-10-22 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/10/22 06:32:27

Modified files:
shells/ksh93   : Makefile distinfo 

Log message:
Update to ksh 1.0.4.



[update] net/ddclient 3.10.0

2022-10-20 Thread Pascal Stumpf
Update to ddclient 3.10.0.

* switched to auto(re)conf
* killed the samples (they are mostly useless)
* is there any reason we're placing the config file in a separate
  directory?  I kept the /etc/ddclient/ddclient.conf dance for now, but
  maybe we can just go with /etc/ddclient.conf?
* there is now the option to use curl.  I think it's reasonable to not
  add a dependency.  However, the path needs to be hardcoded.
* there are now tests.  One of them fails for a stupid reason.


Works for my use case (afraid.freedns.org).  Please test with your
configuration.


Index: Makefile
===
RCS file: /home/cvs/ports/net/ddclient/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile11 Mar 2022 19:45:52 -  1.28
+++ Makefile20 Oct 2022 22:04:21 -
@@ -2,7 +2,7 @@ COMMENT=update client for dynamic DNS s
 
 GH_ACCOUNT=ddclient
 GH_PROJECT=ddclient
-GH_TAGNAME=v3.9.1
+GH_TAGNAME=v3.10.0
 
 CATEGORIES=net
 
@@ -11,30 +11,26 @@ HOMEPAGE=   https://ddclient.net/
 # GPLv2+
 PERMIT_PACKAGE=Yes
 
-RUN_DEPENDS=   devel/p5-Data-Validate-IP \
-   net/p5-IO-Socket-INET6 \
+CONFIGURE_STYLE=gnu autoreconf
+AUTOMAKE_VERSION=  1.11
+AUTOCONF_VERSION=  2.63
+
+# hardcode path, but do not add a dependency
+CONFIGURE_ENV= CURL=${LOCALBASE}/bin/curl
+
+MAKE_ENV=  runstatedir=/var/run/ddclient
+FAKE_FLAGS=sysconfdir=${PREFIX}/share/examples/ddclient
+
+RUN_DEPENDS=   net/p5-IO-Socket-INET6 \
security/p5-IO-Socket-SSL
+TEST_DEPENDS=  devel/p5-Test-Warnings
 
-NO_BUILD=  Yes
-NO_TEST=   Yes
 PKG_ARCH=  *
 
-SAMPLES=   sample-etc_cron.d_ddclient sample-etc_ddclient.conf \
-   sample-etc_dhclient-exit-hooks sample-etc_dhcpc_dhcpcd-eth0.exe 
\
-   sample-etc_ppp_ip-up.local sample-ddclient-wrapper.sh
+SYSCONFDIR=${BASESYSCONFDIR}/ddclient
 
 post-extract:
-   @sed -i -e "s,/var/cache/ddclient/,/var/db/ddclient/,g;" \
-   -e "s,/etc/ddclient/,${SYSCONFDIR}/ddclient/,g" \
-   ${WRKSRC}/ddclient
-
-do-install:
-   ${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${PREFIX}/sbin/
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ddclient
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddclient
-   ${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/ddclient
-.for i in ${SAMPLES}
-   ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/examples/ddclient
-.endfor
+   @sed -i -e "s,/cache/ddclient,/db/ddclient,g" \
+   ${WRKSRC}/{ddclient.in,Makefile.am}
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/net/ddclient/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo17 Jan 2021 15:46:53 -  1.12
+++ distinfo20 Oct 2022 19:36:46 -
@@ -1,2 +1,2 @@
-SHA256 (ddclient-3.9.1.tar.gz) = 5JaeFcxJH8Ur3NZJ1MKw5LG/DJ+duiNHHGNIcazFJHA=
-SIZE (ddclient-3.9.1.tar.gz) = 63469
+SHA256 (ddclient-3.10.0.tar.gz) = NLbZqUYpCvCSfidGCpZa0BinxSViUGOw84DL3f/AHBs=
+SIZE (ddclient-3.10.0.tar.gz) = 275494
Index: patches/patch-ddclient
===
RCS file: patches/patch-ddclient
diff -N patches/patch-ddclient
--- patches/patch-ddclient  11 Mar 2022 19:45:52 -  1.4
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,20 +0,0 @@
-Index: ddclient
 ddclient.orig
-+++ ddclient
-@@ -1163,16 +1163,6 @@ sub _read_config {
-   # fatal("Cannot open file '%s'. ($!)", $file);
-   warning("Cannot open file '%s'. ($!)", $file);
- }
--# Check for only owner has any access to config file
--my ($dev, $ino, $mode, @statrest) = stat(FD);
--if ($mode & 077) {  
--  if (-f FD && (chmod 0600, $file)) {
--  warning("file $file must be accessible only by its owner (fixed).");
--  } else {
--  # fatal("file $file must be accessible only by its owner.");
--  warning("file $file must be accessible only by its owner.");
--  }
--}
- 
- local $lineno   = 0;
- my$continuation = '';
Index: patches/patch-sample-etc_ddclient_conf
===
RCS file: patches/patch-sample-etc_ddclient_conf
diff -N patches/patch-sample-etc_ddclient_conf
--- patches/patch-sample-etc_ddclient_conf  11 Mar 2022 19:45:52 -  
1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-Index: sample-etc_ddclient.conf
 sample-etc_ddclient.conf.orig
-+++ sample-etc_ddclient.conf
-@@ -20,7 +20,7 @@ daemon=300   # check every 300 
seconds
- syslog=yes# log update msgs to syslog
- mail=root # mail all msgs to root
- mail-failure=root # mail failed update msgs to root
--pid=/var/run/ddclient.pid # record PID 

Re: [new] converters/p5-JSON-PP

2022-10-20 Thread Pascal Stumpf
Hah, I did not catch that.  Sorry for the noise.


On Thu, 20 Oct 2022 13:27:38 -0700, Andrew Hewus Fresh wrote:
> This is part of core perl, so it's already in base. Does ddclient need a
> newer version?
> 
> On October 20, 2022 12:57:48 PM PDT, Pascal Stumpf 
> wrote: >JSON::XS compatible pure-Perl module. > >Needed for an update of
> net/ddclient. OK?
> 



[new] converters/p5-JSON-PP

2022-10-20 Thread Pascal Stumpf
JSON::XS compatible pure-Perl module.

Needed for an update of net/ddclient.  OK?


p5-JSON-PP.tgz
Description: p5-JSON-PP.tgz


Re: lang/gcc/8 diff for riscv64

2022-09-19 Thread Pascal Stumpf
On Wed, 14 Sep 2022 22:29:15 +0200, Jeremie Courreges-Anglas wrote:
> On Tue, Sep 13 2022, Jeremie Courreges-Anglas  wrote:
> > On Sun, Sep 11 2022, Jeremie Courreges-Anglas  wrote:
> >> On Fri, Sep 09 2022, Pascal Stumpf  wrote:
> >>> OK as soon as the lld patch is in.  Great work!
> >>
> >> This involved a fair amount of headdesks, thanks for your kind words. :)
> >>
> >> It might be doable to work around the lld problem within the gcc ports.
> >> Thay may be sufficient given that not many C++ ports will be built with
> >> ports-gcc on riscv64.  I'm gonna work on this next.
> >
> > The diff below (for lang/gcc/8 only this time) includes the workaround
> > for the ld.lld error.
> >
> >> Meanwhile, I fixed the lang/gcc/11 build with what I learnt from
> >> lang/gcc/8, diff below.
> >>
> >>> On Fri, 09 Sep 2022 00:34:21 +0200, Jeremie Courreges-Anglas wrote:
> >>>> 
> >>>> With the diff below I can build ports-gcc on riscv64.  PIE is disabled
> >>>> by default because I hit crashes at build time.  Since not many ports
> >>>> require ports-gcc for for C or C++ code I believe that's okay for now.
> >>>> Trying to forcefully disable PIE led to some dubious patches, I'm not
> >>>> sure yet why they are actually needed (see the comments).  The rest of
> >>>> the patches are as riscv64-specific as possible.
> >>>> 
> >>>> One patch which isn't included here is for ld.lld in base, which I have
> >>>> yet to submit.
> >>>> 
> >>>> With this I can build blas, lapack, numpy with fortran support... more
> >>>> to come.
> >>>> 
> >>>> Thoughts?  oks?
> >>>> 
> >>>> PS: I have yet to backport my recent fixes to lang/gcc/11, crossing
> >>>>   fingers...
> >>>> 
> >>>> PPS: the ONLY_FOR_ARCHS and GCC49_ARCHS changes aren't included for now
> >>>>   but they're trivial
> >>
> >> (This time with riscv64 added to ONLY_FOR_ARCHS.)
> >
> > Updated diff for lang/gcc/8.  I only have dim memories and don't have
> > notes about the errors I hit when hacking on this during k2k21 and
> > h2k21.  But it seems that only ssp is currently a problem, and I can
> > enable PIE by default.  Since ld.lld in base actually defaults to PIE,
> > this lets me drop most initial patches and hacks, and build eg math/hdf5
> > without hitting errors.
> >
> > lang/gcc/11 is still building with a similarly simplified diff.
> > I intend to commit the lang/gcc/8 part this evening, review/ok still
> > welcome.
> 
> I have committed the tweaked version of lang/gcc/8 along with a missing
> PFRAG (sorry about that).  A bulk is running and gfortran has already
> been used to build a few ports.
> 
> Here's an updated diff for lang/gcc/11.
> 
> ok?

If this builds fine, OK.


> Index: Makefile
> ===
> RCS file: /cvs/ports/lang/gcc/11/Makefile,v
> retrieving revision 1.14
> diff -u -p -r1.14 Makefile
> --- Makefile  24 Jul 2022 09:52:45 -  1.14
> +++ Makefile  13 Sep 2022 12:05:16 -
> @@ -6,7 +6,7 @@ BROKEN-sparc64 = ICE during selftests
>  
>  # tested: aarch64 amd64 arm hppa i386 powerpc
>  ONLY_FOR_ARCHS = aarch64 alpha amd64 arm hppa i386 mips64 mips64el \
> - powerpc powerpc64 sparc64
> + powerpc powerpc64 riscv64 sparc64
>  
>  ONLY_FOR_ARCHS-ada = amd64 i386 mips64 powerpc
>  ONLY_FOR_ARCHS-dlang = aarch64 amd64 arm i386 powerpc powerpc64
> @@ -68,7 +68,8 @@ EXTRACT_ONLY =  ${DISTNAME}.tar.xz
>  BUILD_DEPENDS += devel/bison
>  
>  .if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "arm" || \
> -${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
> +${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64" || \
> +${MACHINE_ARCH} == "riscv64"
>  # would be helpful on i386/amd64 too, but some ports also need the old
>  # ld.bfd in base which can't cope with new gas.
>  BUILD_DEPENDS += devel/gas
> @@ -153,10 +154,15 @@ CONFIGURE_ARGS += \
>   --with-gmp="${LOCALBASE}" \
>   --enable-languages=${LANGS} \
>   --disable-libstdcxx-pch \
> - --enable-default-ssp \
>   --enable-default-pie \
>   --without-isl
>  
> +# Enable the stack protector by default where supported
> +.if ${MACHINE_ARCH} != "riscv64"
> +CONFIGURE_ARGS += \
> + --enable-default-

Re: lang/gcc/8 diff for riscv64

2022-09-09 Thread Pascal Stumpf
OK as soon as the lld patch is in.  Great work!


On Fri, 09 Sep 2022 00:34:21 +0200, Jeremie Courreges-Anglas wrote:
> 
> With the diff below I can build ports-gcc on riscv64.  PIE is disabled
> by default because I hit crashes at build time.  Since not many ports
> require ports-gcc for for C or C++ code I believe that's okay for now.
> Trying to forcefully disable PIE led to some dubious patches, I'm not
> sure yet why they are actually needed (see the comments).  The rest of
> the patches are as riscv64-specific as possible.
> 
> One patch which isn't included here is for ld.lld in base, which I have
> yet to submit.
> 
> With this I can build blas, lapack, numpy with fortran support... more
> to come.
> 
> Thoughts?  oks?
> 
> PS: I have yet to backport my recent fixes to lang/gcc/11, crossing
>   fingers...
> 
> PPS: the ONLY_FOR_ARCHS and GCC49_ARCHS changes aren't included for now
>   but they're trivial
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/lang/gcc/8/Makefile,v
> retrieving revision 1.56
> diff -u -p -r1.56 Makefile
> --- Makefile  24 Jul 2022 09:52:45 -  1.56
> +++ Makefile  8 Sep 2022 22:28:25 -
> @@ -64,7 +64,7 @@ EXTRACT_ONLY =  ${DISTNAME}.tar.xz
>  BUILD_DEPENDS += devel/bison
>  
>  .if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "arm" || \
> -${MACHINE_ARCH} == "powerpc64"
> +${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "riscv64"
>  # would be helpful on i386/amd64 too, but some ports also need the old
>  # ld.bfd in base which can't cope with new gas.
>  BUILD_DEPENDS += devel/gas
> @@ -133,9 +133,14 @@ CONFIGURE_ARGS += \
>   --with-gmp="${LOCALBASE}" \
>   --enable-languages=${LANGS} \
>   --disable-libstdcxx-pch \
> - --enable-default-ssp \
> - --enable-default-pie \
>   --without-isl
> +.if ${MACHINE_ARCH} != "riscv64"
> +CONFIGURE_ARGS += \
> + --enable-default-ssp \
> + --enable-default-pie
> +.else
> +EXTRA_ENV += PORTS_FORCE_DISABLE_PIE="-nopie"
> +.endif
>  
>  # This is needed, as internal cpp is no longer compatible with the
>  # visible beast
> Index: patches/patch-fixincludes_Makefile_in
> ===
> RCS file: patches/patch-fixincludes_Makefile_in
> diff -N patches/patch-fixincludes_Makefile_in
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-fixincludes_Makefile_in 8 Sep 2022 21:58:03 -
> @@ -0,0 +1,25 @@
> +Add a knob to force-disable PIE to unbreak compilation where PIE isn't
> +properly supported.
> +
> +Index: fixincludes/Makefile.in
> +--- fixincludes/Makefile.in.orig
>  fixincludes/Makefile.in
> +@@ -107,15 +107,15 @@ oneprocess : full-stamp
> + twoprocess : test-stamp $(AF)
> + 
> + full-stamp : $(ALLOBJ) $(LIBIBERTY)
> +-$(CC) $(CFLAGS) $(LDFLAGS) -o $(FI) $(ALLOBJ) $(LIBIBERTY)
> ++$(CC) $(CFLAGS) $(PORTS_FORCE_DISABLE_PIE) $(LDFLAGS) -o $(FI) 
> $(ALLOBJ) $(LIBIBERTY)
> + $(STAMP) $@
> + 
> + test-stamp : $(TESTOBJ) $(LIBIBERTY)
> +-$(CC) $(CFLAGS) $(LDFLAGS) -o $(FI) $(TESTOBJ) $(LIBIBERTY)
> ++$(CC) $(CFLAGS) $(PORTS_FORCE_DISABLE_PIE) $(LDFLAGS) -o $(FI) 
> $(TESTOBJ) $(LIBIBERTY)
> + $(STAMP) $@
> + 
> + $(AF): $(FIXOBJ) $(LIBIBERTY)
> +-$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(FIXOBJ) $(LIBIBERTY)
> ++$(CC) $(CFLAGS) $(PORTS_FORCE_DISABLE_PIE) $(LDFLAGS) -o $@ $(FIXOBJ) 
> $(LIBIBERTY)
> + 
> + $(ALLOBJ)   : $(HDR)
> + fixincl.o   : fixincl.c  $(srcdir)/fixincl.x
> Index: patches/patch-gcc_config_gcc
> ===
> RCS file: /cvs/ports/lang/gcc/8/patches/patch-gcc_config_gcc,v
> retrieving revision 1.6
> diff -u -p -r1.6 patch-gcc_config_gcc
> --- patches/patch-gcc_config_gcc  11 Mar 2022 19:28:59 -  1.6
> +++ patches/patch-gcc_config_gcc  5 Apr 2022 14:38:47 -
> @@ -96,7 +96,28 @@ Index: gcc/config.gcc
>   i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-gnu* | 
> i[34567]86-*-kopensolaris*-gnu)
>   # Intel 80386's running GNU/*
>   # with ELF format using glibc 2
> -@@ -2394,6 +2432,18 @@ pdp11-*-*)
> +@@ -2113,6 +2151,20 @@ riscv*-*-freebsd*)
> + # automatically detect that GAS supports it, yet we require it.
> + gcc_cv_initfini_array=yes
> + ;;
> ++riscv64-*-openbsd*)
> ++tm_file="${tm_file} dbxelf.h elfos.h"
> ++tm_file="${tm_file} openbsd-stdint.h"
> ++tm_file="${tm_file} openbsd.h riscv/openbsd.h openbsd-libpthread.h"
> ++tmake_file="${tmake_file} riscv/t-riscv"
> ++extra_options="${extra_options} openbsd.opt"
> ++# Force .init_array support.  The configure script cannot always
> ++# automatically detect that GAS supports it, yet we require it.
> ++gcc_cv_initfini_array=yes
> ++# Also force this, can't hurt...
> ++cpu_is_64bit=yes
> ++gnu_ld=yes
> ++gas=yes
> ++;;
> + mips*-*-netbsd*) 

Re: [new] net/arti

2022-09-03 Thread Pascal Stumpf
On Sat, 03 Sep 2022 12:04:30 +0200, Pascal Stumpf wrote:
> Done, new tarball.

Erm.  This one.

> On Sat, 3 Sep 2022 11:46:08 +0200, Sebastien Marie wrote:
> > On Sat, Sep 03, 2022 at 10:55:33AM +0200, Pascal Stumpf wrote:
> > > Arti is an implementation of Tor anonymity protocols, written in Rust.
> > > 
> > > It is intended to replace the C implementation at some point.  It's
> > > still missing features like bridges, transports and onion services, but
> > > it's usable for regular connections.  Here's the release announcement
> > > for version 1.0.0: https://blog.torproject.org/arti_100_released/
> > > 
> > > Not sure if we want to add a dedicated user and rc.d script yet.
> > 
> > some comments:
> > 
> > - crates.inc : the first line says "run: make modcargo-gen-crates-licenses"
> >   please include licenses information
> > 
> > - the "ring" crate is used. please add:
> > 
> > # ring-v0.16.20 does not support those archs
> > NOT_FOR_ARCHS = powerpc64 riscv64 sparc64
> > 
> >   ring doesn't support these archs for now, no need to try to build here
> > 
> > Thanks
> > -- 
> > Sebastien Marie
> 
>>> application/x-gzip attachment, name=arti.tgz


arti.tgz
Description: arti.tgz


Re: [new] net/arti

2022-09-03 Thread Pascal Stumpf
Done, new tarball.

On Sat, 3 Sep 2022 11:46:08 +0200, Sebastien Marie wrote:
> On Sat, Sep 03, 2022 at 10:55:33AM +0200, Pascal Stumpf wrote:
> > Arti is an implementation of Tor anonymity protocols, written in Rust.
> > 
> > It is intended to replace the C implementation at some point.  It's
> > still missing features like bridges, transports and onion services, but
> > it's usable for regular connections.  Here's the release announcement
> > for version 1.0.0: https://blog.torproject.org/arti_100_released/
> > 
> > Not sure if we want to add a dedicated user and rc.d script yet.
> 
> some comments:
> 
> - crates.inc : the first line says "run: make modcargo-gen-crates-licenses"
>   please include licenses information
> 
> - the "ring" crate is used. please add:
> 
>   # ring-v0.16.20 does not support those archs
>   NOT_FOR_ARCHS = powerpc64 riscv64 sparc64
> 
>   ring doesn't support these archs for now, no need to try to build here
> 
> Thanks
> -- 
> Sebastien Marie


arti.tgz
Description: arti.tgz


[new] net/arti

2022-09-03 Thread Pascal Stumpf
Arti is an implementation of Tor anonymity protocols, written in Rust.

It is intended to replace the C implementation at some point.  It's
still missing features like bridges, transports and onion services, but
it's usable for regular connections.  Here's the release announcement
for version 1.0.0: https://blog.torproject.org/arti_100_released/

Not sure if we want to add a dedicated user and rc.d script yet.


arti.tgz
Description: arti.tgz


update net/i2p to 1.9.0

2022-08-27 Thread Pascal Stumpf
Update to 1.9.0.  Unfortunately, MAINTAINER's Email is bouncing.


Index: Makefile
===
RCS file: /home/cvs/ports/net/i2p/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile1 Jul 2022 05:21:10 -   1.16
+++ Makefile27 Aug 2022 16:24:46 -
@@ -2,7 +2,7 @@ COMMENT=i2p routing protocol
 
 GH_ACCOUNT=i2p
 GH_PROJECT=i2p.i2p
-GH_TAGNAME=i2p-1.8.0
+GH_TAGNAME=i2p-1.9.0
 DISTNAME=  ${GH_TAGNAME}
 
 CATEGORIES=net
Index: distinfo
===
RCS file: /home/cvs/ports/net/i2p/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo1 Jul 2022 05:21:10 -   1.7
+++ distinfo27 Aug 2022 16:25:12 -
@@ -1,2 +1,2 @@
-SHA256 (i2p-1.8.0.tar.gz) = AYQyEGkD8KqdzJ9q0wKFbaPhlfcwumHO3ek/nkW0OtQ=
-SIZE (i2p-1.8.0.tar.gz) = 38024343
+SHA256 (i2p-1.9.0.tar.gz) = XZ2dkjjz4Hc1ZKHzFyTQbprHZ2On2v7DgzKlC19/8dI=
+SIZE (i2p-1.9.0.tar.gz) = 37899205
Index: patches/patch-core_c_jbigi_build_sh
===
RCS file: /home/cvs/ports/net/i2p/patches/patch-core_c_jbigi_build_sh,v
retrieving revision 1.2
diff -u -p -r1.2 patch-core_c_jbigi_build_sh
--- patches/patch-core_c_jbigi_build_sh 8 Mar 2022 00:56:24 -   1.2
+++ patches/patch-core_c_jbigi_build_sh 27 Aug 2022 16:25:39 -
@@ -2,8 +2,9 @@ use only local gmp
 change default lib to dynamic
 avoid tests
 
 core/c/jbigi/build.sh.orig Mon Aug 24 21:45:06 2020
-+++ core/c/jbigi/build.sh  Sun Oct  4 08:02:36 2020
+Index: core/c/jbigi/build.sh
+--- core/c/jbigi/build.sh.orig
 core/c/jbigi/build.sh
 @@ -21,7 +21,6 @@ rm -rf bin/local
  mkdir -p lib bin/local
  
@@ -21,15 +22,15 @@ avoid tests
  case `uname -sr` in
  Darwin*)
  # --with-pic is required for static linking
-@@ -50,7 +49,6 @@ if [ "$1" != "dynamic" ]; then
- make
+@@ -51,7 +50,6 @@ if [ "$1" != "dynamic" ]; then
+ make check
  sh ../../build_jbigi.sh static
  else
 -shift
  sh ../../build_jbigi.sh dynamic
  fi
  
-@@ -58,7 +56,7 @@ cp *jbigi???* ../../lib/
+@@ -59,7 +57,7 @@ cp *jbigi???* ../../lib/
  echo 'Library copied to lib/'
  cd ../..
  



Re: drop print/libXp ?

2022-08-27 Thread Pascal Stumpf
Yes, this should be removed.  OK.

On Sat, 27 Aug 2022 08:37:05 +0200, Matthieu Herrb wrote:
> Hi,
> 
> I'd like to propose to remove print/libXp, the client library for the
> long deprecated Xprint X server.
> By itself this library is useless, unless one has a working Xprint
> server running somewhere.
> 
> It used to be a dependency for OpenMotif, but as far as I can tell
> it's not the case anymore, and I couldn't find any port that lists it
> as LIB_DEPEND.
> 
> and also X.Org is considring dropping it for good :
> https://lists.x.org/archives/xorg-devel/2022-August/058876.html
> 
> Comments ?
> -- 
> Matthieu Herrb



CVS: cvs.openbsd.org: ports

2022-08-26 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/08/26 07:07:16

Modified files:
shells/ksh93   : Makefile distinfo 

Log message:
Update to ksh 1.0.3.



CVS: cvs.openbsd.org: ports

2022-08-14 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/08/14 10:52:23

Modified files:
net/tor: Makefile distinfo 

Log message:
Update to tor 0.4.7.10.



CVS: cvs.openbsd.org: ports

2022-08-08 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/08/08 04:35:56

Modified files:
shells/ksh93   : Makefile distinfo 

Log message:
Update to ksh 1.0.2.



CVS: cvs.openbsd.org: ports

2022-08-05 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2022/08/05 05:18:33

Modified files:
shells/ksh93   : Makefile distinfo 

Log message:
Update to ksh 1.0.1.



  1   2   3   4   5   6   7   8   9   10   >