Re: [Update] devel/avr/gcc: 5.4.0 -> 8.4.0

2021-08-04 Thread Martin Reindl
On Thu, Dec 03, 2020 at 02:44:22PM +0100, Manuel Giraud wrote:
> Hi,
> 
> Here is an update of avr/gcc. I was able to build current qmk_firmware
> (https://qmk.fm/) for my keyboard (with 5.4.0, it was not building since
> august 2019).

Taking this diff, here is an update to 8.5.0. Tested with ethersex.de for a
644PU which does not work with the current avr-gcc.

Also compile tested:
devel/arduino
devel/avr/gdb
devel/avr/libc (and ethersex runs this)
devel/simulavr

Comments? OKs?

-m

Index: Makefile
===
RCS file: /cvs/ports/devel/avr/gcc/Makefile,v
retrieving revision 1.36
diff -u -p -u -p -r1.36 Makefile
--- Makefile9 Jan 2021 21:41:16 -   1.36
+++ Makefile5 Aug 2021 05:51:54 -
@@ -2,12 +2,9 @@
 
 COMMENT=   Atmel AVR 8-bit RISC microcontrollers' XGCC #'
 
-V= 5.4.0
-REVISION=  3
+V= 8.5.0
 DISTNAME = gcc-$V
 PKGNAME=   avr-gcc-${V}
-SHARED_LIBS +=  cc1plugin 0.0 # 0.0
-SHARED_LIBS +=  cc1   0.0 # 0.0
 
 # GPLv3
 PERMIT_PACKAGE=Yes
@@ -17,7 +14,7 @@ WANTLIB=  c gmp mpfr ${COMPILER_LIBCXX} 
 COMPILER = base-clang ports-gcc base-gcc
 
 MASTER_SITES=  ${MASTER_SITE_GCC:=releases/gcc-$(V)/}
-EXTRACT_SUFX=  .tar.bz2
+EXTRACT_SUFX=  .tar.xz
 DIST_SUBDIR=   gcc
 
 .if ${MACHINE_ARCH} == "powerpc64"
Index: distinfo
===
RCS file: /cvs/ports/devel/avr/gcc/distinfo,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 distinfo
--- distinfo7 Sep 2018 20:11:08 -   1.7
+++ distinfo5 Aug 2021 05:51:54 -
@@ -1,2 +1,2 @@
-SHA256 (gcc/gcc-5.4.0.tar.bz2) = YI33bewtNN5lWCSdivTL7iHs7dvLWA1mb3paWDyjMDo=
-SIZE (gcc/gcc-5.4.0.tar.bz2) = 95661481
+SHA256 (gcc/gcc-8.5.0.tar.xz) = 0wiEGlEbuDCmEAOXsAQtskzhH2Qtq26m7kSELlMl7VA=
+SIZE (gcc/gcc-8.5.0.tar.xz) = 63841008
Index: patches/patch-contrib_texi2pod_pl
===
RCS file: patches/patch-contrib_texi2pod_pl
diff -N patches/patch-contrib_texi2pod_pl
--- patches/patch-contrib_texi2pod_pl   16 Apr 2019 15:35:30 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-$OpenBSD: patch-contrib_texi2pod_pl,v 1.1 2019/04/16 15:35:30 naddy Exp $
-
-Index: contrib/texi2pod.pl
 contrib/texi2pod.pl.orig
-+++ contrib/texi2pod.pl
-@@ -316,7 +316,7 @@ while(<$inf>) {
-   @columns = ();
-   for $column (split (/\s*\@tab\s*/, $1)) {
-   # @strong{...} is used a @headitem work-alike
--  $column =~ s/^\@strong{(.*)}$/$1/;
-+  $column =~ s/^\@strong\{(.*)\}$/$1/;
-   push @columns, $column;
-   }
-   $_ = "\n=item ".join (" : ", @columns)."\n";
Index: patches/patch-gcc_auto-profile_c
===
RCS file: patches/patch-gcc_auto-profile_c
diff -N patches/patch-gcc_auto-profile_c
--- patches/patch-gcc_auto-profile_c13 Sep 2018 11:13:00 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,21 +0,0 @@
-$OpenBSD: patch-gcc_auto-profile_c,v 1.1 2018/09/13 11:13:00 jasper Exp $
-
-fix build with libc++
-https://svnweb.freebsd.org/ports/head/devel/avr-gcc/files/patch-libc%2B%2B?revision=435893=markup
-
-Index: gcc/auto-profile.c
 gcc/auto-profile.c.orig
-+++ gcc/auto-profile.c
-@@ -19,11 +19,9 @@ along with GCC; see the file COPYING3.  If not see
- .  */
- 
- #include "config.h"
--#include "system.h"
--
--#include 
- #include 
- #include 
-+#include "system.h"
- 
- #include "coretypes.h"
- #include "hash-set.h"
Index: patches/patch-gcc_graphite-isl-ast-to-gimple_c
===
RCS file: patches/patch-gcc_graphite-isl-ast-to-gimple_c
diff -N patches/patch-gcc_graphite-isl-ast-to-gimple_c
--- patches/patch-gcc_graphite-isl-ast-to-gimple_c  13 Sep 2018 11:13:00 
-  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,24 +0,0 @@
-$OpenBSD: patch-gcc_graphite-isl-ast-to-gimple_c,v 1.1 2018/09/13 11:13:00 
jasper Exp $
-
-fix build with libc++
-https://svnweb.freebsd.org/ports/head/devel/avr-gcc/files/patch-libc%2B%2B?revision=435893=markup
-
-Index: gcc/graphite-isl-ast-to-gimple.c
 gcc/graphite-isl-ast-to-gimple.c.orig
-+++ gcc/graphite-isl-ast-to-gimple.c
-@@ -38,6 +38,7 @@ extern "C" {
- #endif
- #endif
- 
-+#include 
- #include "system.h"
- #include "coretypes.h"
- #include "hash-set.h"
-@@ -75,7 +76,6 @@ extern "C" {
- #include "tree-scalar-evolution.h"
- #include "gimple-ssa.h"
- #include "tree-into-ssa.h"
--#include 
- 
- #ifdef HAVE_isl
- #include "graphite-poly.h"
Index: patches/patch-gcc_system_h
===
RCS file: patches/patch-gcc_system_h
diff -N patches/patch-gcc_system_h
--- patches/patch-gcc_system_h  13 Sep 2018 11:13:00 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 

Re: [update] sysutils/restic to 0.12.1

2021-08-04 Thread Bjorn Ketelaars
On Wed 04/08/2021 07:20, Aaron Bieber wrote:
> Hi,
> 
> Here is an update to restic 0.12.1 - I am able to use it as expected.
> 
> Biggest change on the port side is switching to modules.inc
> 
> Full changelog here: https://github.com/restic/restic/releases/tag/v0.12.1
> 
> OK?

Lightly run tested on amd64, works for me.

OK bket@



CVS: cvs.openbsd.org: ports

2021-08-04 Thread Kurt Miller
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2021/08/04 20:21:41

Modified files:
devel/jdk/11   : Makefile distinfo 
devel/jdk/11/patches: patch-make_common_NativeCompilation_gmk 
Added files:
devel/jdk/11/patches: 
  
patch-src_hotspot_cpu_aarch64_stubGenerator_aarch64_cpp 

Log message:
Update to 11.0.12 GA:
* Contains many upstream bug fixes which can be found in the release notes
here:
https://foojay.io/java-11/?quarter=072021=allissues=11.0.12
https://openjdk.java.net/groups/vulnerability/advisories/2021-07-20



sysutils/u-boot: add NanoPi R4S

2021-08-04 Thread Kevin Lo
Hi Jonathan,

The diff below build nanopi-r4s-rk3399 target.
dmesg: http://ix.io/3v1E

Index: sysutils/u-boot/Makefile
===
RCS file: /cvs/ports/sysutils/u-boot/Makefile,v
retrieving revision 1.84
diff -u -p -u -p -r1.84 Makefile
--- sysutils/u-boot/Makefile7 Jul 2021 11:58:37 -   1.84
+++ sysutils/u-boot/Makefile5 Aug 2021 01:41:14 -
@@ -8,6 +8,7 @@ FLAVOR?=arm
 
 COMMENT=   U-Boot firmware
 VERSION=   2021.07
+REVISION=  0
 DISTNAME=  u-boot-${VERSION}
 PKGNAME=   u-boot-${FLAVOR}-${VERSION:S/-//}
 FULLPKGNAME=   ${PKGNAME}
@@ -76,6 +77,7 @@ BOARDS=\
mvebu_espressobin-88f3720 \
mvebu_mcbin-88f8040 \
nanopi-neo4-rk3399 \
+   nanopi-r4s-rk3399 \
pinebook-pro-rk3399 \
qemu_arm64 \
rock64-rk3328 \
Index: sysutils/u-boot/patches/patch-configs_nanopi-r4s-rk3399_defconfig
===
RCS file: sysutils/u-boot/patches/patch-configs_nanopi-r4s-rk3399_defconfig
diff -N sysutils/u-boot/patches/patch-configs_nanopi-r4s-rk3399_defconfig
--- /dev/null   1 Jan 1970 00:00:00 -
+++ sysutils/u-boot/patches/patch-configs_nanopi-r4s-rk3399_defconfig   5 Aug 
2021 01:41:14 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: configs/nanopi-r4s-rk3399_defconfig
+--- configs/nanopi-r4s-rk3399_defconfig.orig
 configs/nanopi-r4s-rk3399_defconfig
+@@ -39,7 +39,7 @@ CONFIG_REGULATOR_PWM=y
+ CONFIG_REGULATOR_RK8XX=y
+ CONFIG_PWM_ROCKCHIP=y
+ CONFIG_RAM_RK3399_LPDDR4=y
+-CONFIG_BAUDRATE=150
++CONFIG_BAUDRATE=115200
+ CONFIG_DEBUG_UART_SHIFT=2
+ CONFIG_SYSRESET=y
+ CONFIG_USB=y
Index: sysutils/u-boot/pkg/PFRAG.aarch64
===
RCS file: /cvs/ports/sysutils/u-boot/pkg/PFRAG.aarch64,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 PFRAG.aarch64
--- sysutils/u-boot/pkg/PFRAG.aarch64   16 Apr 2021 06:40:44 -  1.23
+++ sysutils/u-boot/pkg/PFRAG.aarch64   5 Aug 2021 01:41:14 -
@@ -33,6 +33,14 @@ share/u-boot/nanopi-neo4-rk3399/u-boot-r
 share/u-boot/nanopi-neo4-rk3399/u-boot.bin
 share/u-boot/nanopi-neo4-rk3399/u-boot.img
 share/u-boot/nanopi-neo4-rk3399/u-boot.itb
+share/u-boot/nanopi-r4s-rk3399/
+share/u-boot/nanopi-r4s-rk3399/idbloader.img
+share/u-boot/nanopi-r4s-rk3399/u-boot
+share/u-boot/nanopi-r4s-rk3399/u-boot-rockchip.bin
+share/u-boot/nanopi-r4s-rk3399/u-boot-spl.bin
+share/u-boot/nanopi-r4s-rk3399/u-boot.bin
+share/u-boot/nanopi-r4s-rk3399/u-boot.img
+share/u-boot/nanopi-r4s-rk3399/u-boot.itb
 share/u-boot/nanopi_a64/
 share/u-boot/nanopi_a64/sunxi-spl.bin
 share/u-boot/nanopi_a64/u-boot



powerpc bulk build report

2021-08-04 Thread cwen
Bulk build on macppc-0.ports.openbsd.org

Started : Sun Jul 18 12:27:23 MDT 2021
Finished: Wed Aug  4 17:01:13 MDT 2021
Duration: 17 Days 4 hours 34 minutes

Built using OpenBSD 6.9-current (GENERIC) #909: Fri Jul 16 19:03:07 MDT 2021

Built 9506 packages

Number of packages built each day:
Jul 18: 642
Jul 19: 102
Jul 20: 395
Jul 21: 502
Jul 22: 611
Jul 23: 464
Jul 24: 213
Jul 25: 275
Jul 26: 246
Jul 27: 253
Jul 28: 335
Jul 29: 477
Jul 30: 340
Jul 31: 386
Aug 1: 673
Aug 2: 372
Aug 3: 417
Aug 4: 2803



Critical path missing pkgs: 
http://build-failures.rhaalovely.net/powerpc/2021-07-18/summary.log

Build failures: 10
http://build-failures.rhaalovely.net/powerpc/2021-07-18/comms/syncterm.log
http://build-failures.rhaalovely.net/powerpc/2021-07-18/converters/ish.log
http://build-failures.rhaalovely.net/powerpc/2021-07-18/emulators/higan.log
http://build-failures.rhaalovely.net/powerpc/2021-07-18/games/hyperrogue.log
http://build-failures.rhaalovely.net/powerpc/2021-07-18/games/qqwing.log
http://build-failures.rhaalovely.net/powerpc/2021-07-18/graphics/gmic.log
http://build-failures.rhaalovely.net/powerpc/2021-07-18/lang/gforth.log
http://build-failures.rhaalovely.net/powerpc/2021-07-18/lang/pcc/pcc-libs.log
http://build-failures.rhaalovely.net/powerpc/2021-07-18/productivity/gnucash.log
http://build-failures.rhaalovely.net/powerpc/2021-07-18/telephony/linphone/belr.log

Recurrent failures:
 failures/emulators/higan.log
 failures/games/hyperrogue.log
 failures/graphics/gmic.log
 failures/lang/gforth.log
 failures/lang/pcc/pcc-libs.log
 failures/productivity/gnucash.log
 failures/summary.log

New failures:
+failures/comms/syncterm.log
+failures/converters/ish.log
+failures/games/qqwing.log
+failures/telephony/linphone/belr.log

Resolved failures:
-failures/x11/mplayer.log

Packages newly built:
+audio/pacpl
+audio/subsonic-cli
+devel/clang-tools-extra
+devel/py-construct,python3-
+graphics/dvdrip
+multimedia/ogmrip,-dvdcpy
+multimedia/subrip
+multimedia/subtitleripper
+multimedia/transcode
+multimedia/transcode,lzo,mjpegtools
+multimedia/vitunes
+net/freeradius3,-python3
+security/openssl/3.0
+security/pass-import
+security/py-argon2-cffi
+security/py-pykeepass,python3
+telephony/linphone/bctoolbox
+telephony/linphone/bzrtp
+telephony/linphone/mediastreamer2
+telephony/linphone/ortp
+textproc/py-stache
+x11/gmtk
+x11/gnome-mplayer
+x11/mplayer

Packages not built this time:
-comms/syncterm
-converters/ish
-editors/neovim
-editors/neovim-qt
-games/qqwing
-net/ortp
-x11/gtk+3,-cloudprint
-x11/py-xlib
-x11/qt4,,-sqlite2
-x11/qt4,-sqlite2
-x11/qt5/qtdeclarative,



CVS: cvs.openbsd.org: ports

2021-08-04 Thread Kurt Miller
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2021/08/04 16:18:26

Modified files:
devel/jdk/1.8  : Makefile distinfo 
Removed files:
devel/jdk/1.8/patches: 
   
patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_debugger_bsd_sparc_BsdSPARCCFrame_java
 
   
patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_debugger_bsd_sparc_BsdSPARCThreadContext_java
 
   
patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_runtime_Threads_java 
   
patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_runtime_bsd_sparc_BsdSPARCJavaThreadPDAccess_java
 
   patch-hotspot_make_bsd_makefiles_buildtree_make 
   patch-hotspot_make_bsd_makefiles_defs_make 
   patch-hotspot_make_bsd_makefiles_gcc_make 
   patch-hotspot_make_bsd_makefiles_sparcv9_make 
   
patch-hotspot_src_cpu_aarch64_vm_macroAssembler_aarch64_cpp 
   
patch-hotspot_src_cpu_aarch64_vm_sharedRuntime_aarch64_cpp 
   
patch-hotspot_src_cpu_aarch64_vm_templateTable_aarch64_cpp 
   patch-hotspot_src_cpu_sparc_vm_debug_sparc_cpp 
   patch-hotspot_src_cpu_sparc_vm_frame_sparc_cpp 
   
patch-hotspot_src_cpu_sparc_vm_frame_sparc_inline_hpp 
   
patch-hotspot_src_cpu_sparc_vm_register_sparc_cpp 
   
patch-hotspot_src_cpu_sparc_vm_register_sparc_hpp 
   
patch-hotspot_src_cpu_sparc_vm_sharedRuntime_sparc_cpp 
   
patch-hotspot_src_cpu_sparc_vm_vm_version_ext_sparc_cpp 
   patch-hotspot_src_os_bsd_vm_os_perf_bsd_cpp 
   
patch-hotspot_src_os_cpu_bsd_aarch64_vm_os_bsd_aarch64_cpp 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_atomic_bsd_sparc_inline_hpp 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_bsd_sparc_ad 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_bsd_sparc_s 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_globals_bsd_sparc_hpp 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_orderAccess_bsd_sparc_inline_hpp 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_os_bsd_sparc_cpp 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_os_bsd_sparc_hpp 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_prefetch_bsd_sparc_inline_hpp 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_threadLS_bsd_sparc_cpp 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_threadLS_bsd_sparc_hpp 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_thread_bsd_sparc_cpp 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_thread_bsd_sparc_hpp 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_vmStructs_bsd_sparc_hpp 
   
patch-hotspot_src_os_cpu_bsd_sparc_vm_vm_version_bsd_sparc_cpp 
   
patch-hotspot_src_share_vm_runtime_atomic_inline_hpp 
   patch-hotspot_src_share_vm_runtime_globals_hpp 
   
patch-hotspot_src_share_vm_runtime_orderAccess_inline_hpp 
   patch-hotspot_src_share_vm_runtime_os_hpp 
   
patch-hotspot_src_share_vm_runtime_prefetch_inline_hpp 
   
patch-hotspot_src_share_vm_runtime_threadLocalStorage_hpp 
   patch-hotspot_src_share_vm_runtime_thread_hpp 
   patch-hotspot_src_share_vm_runtime_vmStructs_cpp 
   
patch-hotspot_src_share_vm_utilities_globalDefinitions_cpp 

Log message:
Update to 8u302 GA:
* Contains many upstream bug fixes which can be found in the release notes
here:
https://foojay.io/java-8/?tab=allissues=openjdk8u302=072021
https://openjdk.java.net/groups/vulnerability/advisories/2021-07-20



CVS: cvs.openbsd.org: ports

2021-08-04 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2021/08/04 16:11:10

Modified files:
sysutils/gitlab-runner: Makefile 
sysutils/gitlab-runner/pkg: PLIST 

Log message:
Use the proper PLIST. Spotted by kili.



CVS: cvs.openbsd.org: ports

2021-08-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/08/04 13:14:51

Modified files:
net/ntopng : Makefile 
net/ntopng/pkg : DESCR 

Log message:
update user guide url, reported ravens10 /at/ tutanota.com



CVS: cvs.openbsd.org: ports

2021-08-04 Thread Elias M . Mariani
CVSROOT:/cvs
Module name:ports
Changes by: mari...@cvs.openbsd.org 2021/08/04 12:56:16

Modified files:
net/qbittorrent: Makefile.inc 
net/qbittorrent/qbittorrent: distinfo 
net/qbittorrent/qbittorrent-nox: distinfo 
Removed files:
net/qbittorrent/qbittorrent/patches: 
 patch-src_base_utils_gzip_cpp 
net/qbittorrent/qbittorrent-nox/patches: 
 patch-src_base_utils_gzip_cpp 

Log message:
Updating net/qbittorrent from 4.3.6 to 4.3.7

Removing unneeded patch related to zlib.



resurrect lang/fpc

2021-08-04 Thread Pascal Stumpf
The latest version FPC (3.2.2) does not try to do syscalls from the main
program anymore.  OK to resurrect it?


fpc.tgz
Description: fpc.tgz


Re: audio/ncspot: update to 0.8.1

2021-08-04 Thread Henrik Friedrichsen
Sorry for the delayed response.

No worries at all, Klemens. Thanks for taking care.

Looks good to me!



CVS: cvs.openbsd.org: ports

2021-08-04 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2021/08/04 07:14:42

Modified files:
sysutils   : Makefile 

Log message:
+ gitlab-runner



CVS: cvs.openbsd.org: ports

2021-08-04 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2021/08/04 07:14:05

Log message:
Import gitlab-runner a CI/CD job runner for GitLab.

Description:
GitLab Runner is the open source project that is used to run your jobs and
send the results back to GitLab. It is used in conjunction with GitLab CI,
the open-source continuous integration service included with GitLab that
coordinates the jobs.

Tweaks and OK from kmos@

Status:

Vendor Tag: abieber
Release Tags:   abieber_20210804

N ports/sysutils/gitlab-runner/Makefile
N ports/sysutils/gitlab-runner/distinfo
N ports/sysutils/gitlab-runner/pkg/DESCR
N ports/sysutils/gitlab-runner/pkg/PLIST

No conflicts created by this import



[UPDATE] openmsx to 17.0

2021-08-04 Thread Ricardo Mestre
Hi,

I don't know what I'm doing but with the below I was able to run a few MSX games
with the new major release 17.0 (skipped 16.0) on amd64. Release notes below
[0][1].

Comments? OK?

[0] 
https://raw.githubusercontent.com/openMSX/openMSX/RELEASE_16_0/doc/release-notes.txt
[1] 
https://raw.githubusercontent.com/openMSX/openMSX/RELEASE_17_0/doc/release-notes.txt

Index: Makefile
===
RCS file: /cvs/ports/emulators/openmsx/Makefile,v
retrieving revision 1.30
diff -u -p -u -r1.30 Makefile
--- Makefile23 Feb 2021 19:39:22 -  1.30
+++ Makefile4 Aug 2021 12:27:14 -
@@ -6,7 +6,7 @@ BROKEN-alpha =  OOM when building src/cpu
 
 COMMENT =  MSX home computer emulator
 
-V =0.15.0
+V =17.0
 DISTNAME = openmsx-$V
 
 CATEGORIES =   emulators
@@ -17,7 +17,7 @@ PERMIT_PACKAGE =  claims GPLv2, but no co
 PERMIT_DISTFILES = claims GPLv2, but no copyright notices in source files
 
 WANTLIB += ${MODTCL_LIB}
-WANTLIB += GL GLEW SDL SDL_ttf c freetype m ogg png
+WANTLIB += GL GLEW SDL2 SDL2_ttf c freetype m ogg png
 WANTLIB += pthread ${COMPILER_LIBCXX} theoradec vorbis z
 
 MASTER_SITES = 
https://github.com/openMSX/openMSX/releases/download/RELEASE_${V:S/./_/g}/
@@ -30,7 +30,8 @@ MAKE_ENV +=   INSTALL_BASE=${PREFIX}/share
 
 COMPILER = base-clang ports-gcc
 LIB_DEPENDS =  audio/libvorbis \
-   devel/sdl-ttf \
+   devel/sdl2 \
+   devel/sdl2-ttf \
graphics/glew \
graphics/png \
multimedia/libtheora \
@@ -40,7 +41,7 @@ NO_TEST = Yes
 
 MODULES =  lang/python \
lang/tcl
-MODPY_VERSION =${MODPY_DEFAULT_VERSION_2}
+MODPY_VERSION =${MODPY_DEFAULT_VERSION_3}
 
 MODPY_RUNDEP = No
 MAKE_FILE =GNUmakefile
Index: distinfo
===
RCS file: /cvs/ports/emulators/openmsx/distinfo,v
retrieving revision 1.6
diff -u -p -u -r1.6 distinfo
--- distinfo20 Oct 2019 22:07:02 -  1.6
+++ distinfo4 Aug 2021 12:27:14 -
@@ -1,2 +1,2 @@
-SHA256 (openmsx-0.15.0.tar.gz) = k/IJ2P7S4E5iUmRpu2u0MbgupNB+zcRdqyuMxMoh1io=
-SIZE (openmsx-0.15.0.tar.gz) = 3748998
+SHA256 (openmsx-17.0.tar.gz) = cOxoWVItjju8lyJ6u5jIclbs2lVbAW0dqFzdmQcs5WQ=
+SIZE (openmsx-17.0.tar.gz) = 4045461
Index: patches/patch-build_cpu_py
===
RCS file: /cvs/ports/emulators/openmsx/patches/patch-build_cpu_py,v
retrieving revision 1.1
diff -u -p -u -r1.1 patch-build_cpu_py
--- patches/patch-build_cpu_py  1 Aug 2021 00:18:05 -   1.1
+++ patches/patch-build_cpu_py  4 Aug 2021 12:27:14 -
@@ -3,9 +3,9 @@ $OpenBSD: patch-build_cpu_py,v 1.1 2021/
 Index: build/cpu.py
 --- build/cpu.py.orig
 +++ build/cpu.py
-@@ -88,6 +88,12 @@ class PPC64(CPU):
-   name = 'ppc64'
-   bigEndian = True
+@@ -97,6 +97,12 @@ class RISCV64(CPU):
+   name = 'riscv64'
+   bigEndian = False
  
 +class RISCV64(CPU):
 +  '''64-bit RISC-V.
Index: patches/patch-build_detectsys_py
===
RCS file: /cvs/ports/emulators/openmsx/patches/patch-build_detectsys_py,v
retrieving revision 1.6
diff -u -p -u -r1.6 patch-build_detectsys_py
--- patches/patch-build_detectsys_py1 Aug 2021 00:18:05 -   1.6
+++ patches/patch-build_detectsys_py4 Aug 2021 12:27:14 -
@@ -3,7 +3,7 @@ $OpenBSD: patch-build_detectsys_py,v 1.6
 Index: build/detectsys.py
 --- build/detectsys.py.orig
 +++ build/detectsys.py
-@@ -48,6 +48,8 @@ def detectCPU():
+@@ -53,6 +53,8 @@ def detectCPU():
return 'sheb' if cpu.endswith('eb') else 'sh'
elif cpu == 'avr32':
return 'avr32'
Index: patches/patch-build_main_mk
===
RCS file: /cvs/ports/emulators/openmsx/patches/patch-build_main_mk,v
retrieving revision 1.3
diff -u -p -u -r1.3 patch-build_main_mk
--- patches/patch-build_main_mk 20 Oct 2019 22:07:03 -  1.3
+++ patches/patch-build_main_mk 4 Aug 2021 12:27:14 -
@@ -2,16 +2,16 @@ $OpenBSD: patch-build_main_mk,v 1.3 2019
 Index: build/main.mk
 --- build/main.mk.orig
 +++ build/main.mk
-@@ -342,7 +342,7 @@ LINK_FLAGS+=$(TARGET_FLAGS)
+@@ -334,7 +334,7 @@ LINK_FLAGS+=$(TARGET_FLAGS)
  CXX?=g++
  WINDRES?=windres
  DEPEND_FLAGS:=
 -ifneq ($(filter %clang++,$(CXX))$(filter clang++%,$(CXX)),)
 +ifneq ($(filter %clang++,$(CXX))$(filter clang++%,$(CXX))$(filter 
c++,$(CXX)),)
-   # Enable C++14 (supported since clang-3.5)
-   COMPILE_FLAGS+=-std=c++14
-   # Clang does support -Wunused-macros, but it triggers on SDL's headers,
-@@ -394,6 +394,8 @@ else
+   # Enable C++17 (for the most part supported since clang-5)
+   COMPILE_FLAGS+=-std=c++17 -fconstexpr-steps=200
+   COMPILE_FLAGS+=-Wall -Wextra -Wundef -Wno-invalid-offsetof -Wunused-macros 
-Wdouble-promotion 

using login_oath not working

2021-08-04 Thread podolica
I've trying to use login_oath for 2fa with totp follwing this
(https://dataswamp.org/~solene/2021-02-06-openbsd-2fa.html)
tutorial and the pkg_readme file in
/usr/local/share/doc/pkg-readmes/login_oath.

First, I've copied the new login classes into the /etc/login.conf.
Then, I've created a new user "testuser" and choose totppw as
login class. Then, I've entered a password "xyz" and login into
testuser using the root account and "su testuser".
There, I've created a file using
openssl rand -hex 20 > ~/.totp-key
After a reboot, I've used the root account to generate the totp
codes:
$ oathtool --totp 
123456
and login in another terminal with username "testuser" and
password "123456/xyz".
But the login is failing.

Maybe someone has an idea how I could get this to work?



CVS: cvs.openbsd.org: ports

2021-08-04 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2021/08/04 03:45:30

Modified files:
audio/abcde: Makefile 
audio/p5-MusicBrainz-DiscID: Makefile 
devel/p5-IO-Pipely: Makefile 
devel/p5-IO-Prompt-Tiny: Makefile 
devel/p5-MooseX-InsideOut: Makefile 
devel/p5-POE-Component-Syndicator: Makefile 
devel/p5-Test-Compile: Makefile 
devel/p5-Test-FailWarnings: Makefile 
devel/p5-Test-utf8: Makefile 
net/p5-Net-IP-Minimal: Makefile 
net/p5-POE-Component-Resolver: Makefile 
sysutils/screenfetch: Makefile 
www/p5-WebService-MusicBrainz: Makefile 

Log message:
Drop maintainership on various ports, bump REVISION accordingly.



CVS: cvs.openbsd.org: ports

2021-08-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/08/04 03:04:04

Modified files:
security/letsencrypt: Makefile.inc 
security/letsencrypt/client: distinfo 
security/letsencrypt/client/pkg: PLIST 
security/letsencrypt/py-acme: distinfo 

Log message:
update to py-acme/letsencrypt 1.18.0



CVS: cvs.openbsd.org: ports

2021-08-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/08/04 02:48:24

Modified files:
textproc/gdiff : Makefile distinfo 

Log message:
update to gdiff-3.8, mostly changes relating to FD handling

* Incompatible changes

diff no longer treats a closed stdin as representing an absent file
in usage like 'diff --new-file - foo <&-'.  This feature was rarely
if ever used and was not portable to POSIX platforms that reopen
stdin on exec, such as SELinux if the process underwent an AT_SECURE
transition, or HP-UX even if not setuid.



CVS: cvs.openbsd.org: ports

2021-08-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/08/04 02:28:09

Modified files:
net/vsftpd : Makefile distinfo 

Log message:
update to vsftpd-3.0.5



Re: audio/ncspot: update to 0.8.1

2021-08-04 Thread Bjorn Ketelaars
On Sat 31/07/2021 02:48, Klemens Nanni wrote:
> On Fri, Jul 30, 2021 at 01:44:33AM +, Klemens Nanni wrote:
> > https://github.com/hrkfdn/ncspot/releases/tag/v0.8.1
> > 
> > Sorry Henrik if I hijacked your update efforts, I took the liberty to
> > update ncspot as an exercise to get familiar with rust ports.
> > 
> > Builds on sparc64, arm64 and amd64.
> > Runs fine on arm64 and amd64.
> 
> Updated diff after learning more about cargo-module(5):
> 
> - replace patch with MODCARGO_* modules
> - install README.md as it contains configuration options which are
>   otherwise not documented in our package and/or contained within the
>   program itself
> 
> Builds and starts fine on sparc64 where I do fast builds for testing,
> I have yet to convince ncspot/portaudio to get sound to my workstation
> (all other audio progams on the server already stream music over the
> network via `AUDIODEVICE=snd@tunnel-addr/0' to my workstation already).
> 
> Runs fine on arm64 and amd64 just like the first diff.
> 
> Feedback? OK?

Diff looks good, and works for me on amd64.

OK bket@



UPDATE: sysutils/monit 5.28.1

2021-08-04 Thread Caspar Schutijser
Hi ports@,

Below is a diff that updates sysutils/monit to 5.28.1. Tested for a
couple of days on amd64, works fine here.

Release notes: https://mmonit.com/monit/changes/#5.28.1

Thanks,
Caspar Schutijser


Index: Makefile
===
RCS file: /cvs/ports/sysutils/monit/Makefile,v
retrieving revision 1.67
diff -u -p -r1.67 Makefile
--- Makefile28 Apr 2021 15:52:09 -  1.67
+++ Makefile4 Aug 2021 06:34:13 -
@@ -2,7 +2,7 @@
 
 COMMENT=   monitoring and managing daemons utility
 
-DISTNAME=  monit-5.28.0
+DISTNAME=  monit-5.28.1
 
 CATEGORIES=sysutils
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/monit/distinfo,v
retrieving revision 1.45
diff -u -p -r1.45 distinfo
--- distinfo28 Apr 2021 15:52:09 -  1.45
+++ distinfo4 Aug 2021 06:34:13 -
@@ -1,2 +1,2 @@
-SHA256 (monit-5.28.0.tar.gz) = n8Yof9lXCyWoXF1b+Yjui9TFTQ6eAf8EzEuTmKFZhJw=
-SIZE (monit-5.28.0.tar.gz) = 1480041
+SHA256 (monit-5.28.1.tar.gz) = V9iIX2bligpMpqln8rt+jBXtmIoltcprpnM/kZ7welw=
+SIZE (monit-5.28.1.tar.gz) = 1470342