Re: Valgrind: Detect access outside the range of malloc.

2023-10-16 Thread Otto Moerbeek
On Tue, Oct 17, 2023 at 07:33:47AM +0900, Masato Asou wrote:

> From: Masato Asou 
> Date: Fri, 29 Sep 2023 19:39:12 +0900 (JST)
> 
> ping

Sorry for not replying earlier. The locations are reported
correctly now. But there are spurious reports of accesses of a 8 byte
value on each system call. (tested on amd64).

-Otto

==83949== Use of uninitialised value of size 8
==83949==at 0x4A0CEC2: write (sys/w_write.c:28)
==83949==by 0x4A1B322: __sflush (stdio/fflush.c:80)
==83949==by 0x49B21E8: __sfvwrite (stdio/fvwrite.c:188)
==83949==by 0x4A26FED: __sprint (stdio/vfprintf.c:108)
==83949==by 0x4A26FED: __vfprintf (stdio/vfprintf.c:1062)
==83949==by 0x4A23CA5: vfprintf (stdio/vfprintf.c:263)
==83949==by 0x49EDB54: printf (stdio/printf.c:44)
==83949==by 0x109B90: main (m.c:16)

> 
> > I have fixed the bug you reported when symbols were not printed.
> > 
> > As shown below, if the lower 12 bits of Virtual Address are 0 and File
> > Size is 0, then the a.out symbol will not be printed.
> > 
> > $ readelf -l a.out
> > 
> > Program Headers:
> >   Type   Offset VirtAddr   PhysAddr
> >  FileSizMemSiz  Flags  Align
> > 
> >   LOAD   0x1000 0x3000 0x3000
> >  0x 0x0055  RW 1000
> > 
> > From: Otto Moerbeek 
> > Date: Tue, 5 Sep 2023 07:40:18 +0200
> > 
> >> On Tue, Sep 05, 2023 at 09:38:40AM +0900, Masato Asou wrote:
> >> 
> >>> hi,
> >>> 
> >>> I have fixed a bug in Valgrind. The Valgrind could not detect access
> >>> outside the range of malloc.
> >>> 
> >>> comments, ok?
> >> 
> >> This works much better that before. Thanks for working on this!
> >> 
> >> It now detects out of bounds read and writes correctly. A double
> >> free is detected.
> >> Also, the spurious reports for accesses to errno are gone.
> >> 
> >> It does not report proper locations though, even if I compile my test
> >> program with -g:
> >> 
> >> ==23912== Invalid read of size 1
> >> ==23912==at 0x109B5D: ??? (in ./a.out)
> >> ==23912==by 0x1098D1: ??? (in ./a.out)
> >> ==23912==  Address 0x4a42840 is 0 bytes after a block of size 10,240 
> >> alloc'd
> >> ==23912==at 0x493A3A9: malloc (vg_replace_malloc.c:435)
> >> ==23912==by 0x109B32: ??? (in ./a.out)
> >> ==23912==by 0x1098D1: ??? (in ./a.out)
> >> ==23912== 
> >> 0
> > 
> > The a.out symbol is now printed as shown below:
> > 
> > $ cat malloctest.c
> > #include 
> > #include 
> > 
> > int
> > main(int argc, char *argv[])
> > {
> > size_t sz = atoi(argv[1]);
> > unsigned char *p = malloc(sz);
> > printf("%p\n", p);
> > p[sz] = 0;
> > printf("%x\n", p[sz]);
> > free(p);
> > free(p);
> > return 0;
> > }
> > $ cc -g malloctest.c 
> > $ valgrind ./a.out 128
> > ==21074== Memcheck, a memory error detector
> > ==21074== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
> > ==21074== Using Valgrind-3.21.0 and LibVEX; rerun with -h for copyright info
> > ==21074== Command: ./a.out 128
> > ==21074== 
> > ==21074== Use of uninitialised value of size 8
> > ==21074==at 0x49C34CD: write (sys/w_write.c:26)
> > ==21074==by 0x4A150D2: __sflush (stdio/fflush.c:80)
> > ==21074==by 0x49B99C8: __sfvwrite (stdio/fvwrite.c:191)
> > ==21074==by 0x4979E4D: __sprint (stdio/vfprintf.c:108)
> > ==21074==by 0x4979E4D: __vfprintf (stdio/vfprintf.c:1064)
> > ==21074==by 0x4976B05: vfprintf (stdio/vfprintf.c:263)
> > ==21074==by 0x49D6434: printf (stdio/printf.c:44)
> > ==21074==by 0x109B48: main (malloctest.c:9)
> > ==21074== 
> > ==21074== Use of uninitialised value of size 8
> > ==21074==at 0x49C34DE: write (sys/w_write.c:26)
> > ==21074==by 0x4A150D2: __sflush (stdio/fflush.c:80)
> > ==21074==by 0x49B99C8: __sfvwrite (stdio/fvwrite.c:191)
> > ==21074==by 0x4979E4D: __sprint (stdio/vfprintf.c:108)
> > ==21074==by 0x4979E4D: __vfprintf (stdio/vfprintf.c:1064)
> > ==21074==by 0x4976B05: vfprintf (stdio/vfprintf.c:263)
> > ==21074==by 0x49D6434: printf (stdio/printf.c:44)
> > ==21074==by 0x109B48: main (malloctest.c:9)
> > 
> >> ==23912== Invalid free() / delete / delete[] / realloc()
> >> ==23912==at 0x493C981: free (vg_replace_malloc.c:978)
> >> ==23912==by 0x109B80: ??? (in ./a.out)
> >> ==23912==by 0x1098D1: ??? (in ./a.out)
> >> ==23912==  Address 0x4a40040 is 0 bytes inside a block of size 10,240 
> >> free'd
> >> ==23912==at 0x493C981: free (vg_replace_malloc.c:978)
> >> ==23912==by 0x109B77: ??? (in ./a.out)
> >> ==23912==by 0x1098D1: ??? (in ./a.out)
> >> ==23912==  Block was alloc'd at
> >> ==23912==at 0x493A3A9: malloc (vg_replace_malloc.c:435)
> >> ==23912==by 0x109B32: ??? (in ./a.out)
> >> ==23912==by 0x1098D1: ??? (in ./a.out)
> >> 
> >> addr2line -e ./a.out 0x109B80 also does not succeed in translating the 
> >> address.
> > 
> > Address reported by 

CVS: cvs.openbsd.org: ports

2023-10-16 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2023/10/16 23:28:18

Modified files:
x11/kde-plasma/kinfocenter/patches: 

patch-Modules_about-distro_src_MemoryEntry_cpp 

Log message:
Fix build by adding missing includes



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2023/10/16 23:13:16

Modified files:
editors/nvi: Makefile 

Log message:
base-gcc fails building with undefined reference to `__builtin_unreachable'

Switching to ports-gcc fixes build for sparc64



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2023/10/16 22:55:10

Modified files:
editors/litexl : Makefile 

Log message:
litexl uses GNU11 extensions, so that requires ports-gcc, not base-gcc

Fixes build on sparc64



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Joel Sing
CVSROOT:/cvs
Module name:ports
Changes by: js...@cvs.openbsd.org   2023/10/16 21:53:17

Modified files:
lang/go: go.port.mk 

Log message:
Bump modgo version to rebuild packages with Go 1.21.3.



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Joel Sing
CVSROOT:/cvs
Module name:ports
Changes by: js...@cvs.openbsd.org   2023/10/16 21:52:18

Modified files:
lang/go: Makefile distinfo 
lang/go/patches: patch-src_cmd_link_internal_ld_lib_go 
lang/go/pkg: PLIST 

Log message:
Update lang/go to 1.21.3.



Re: U-Boot for RK356x SoCs (take 2)

2023-10-16 Thread Kevin Lo
On Fri, Oct 13, 2023 at 07:30:43PM +0200, Mark Kettenis wrote:
> 
> Now that U-Boot 2023.10 has been release, here is an update.  This
> adds a few more boards and now uses a script that U-Boot provides to
> switch the serial console baudrate to 115200.  This way I don't need
> to patch the configs anymore.

Works for me on rock-3a and quartz64-b.

> ok?

ok kevlo@

> Index: sysutils/u-boot/rk356x/Makefile
> ===
> RCS file: sysutils/u-boot/rk356x/Makefile
> diff -N sysutils/u-boot/rk356x/Makefile
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ sysutils/u-boot/rk356x/Makefile   13 Oct 2023 17:17:03 -
> @@ -0,0 +1,43 @@
> +VERSION= 2023.10
> +
> +SOC= rk356x
> +
> +BOARDS=\
> + odroid-m1-rk3568 \
> + quartz64-a-rk3566 \
> + quartz64-b-rk3566 \
> + radxa-cm3-io-rk3566 \
> + soquartz-blade-rk3566 \
> + soquartz-cm4-rk3566 \
> + soquartz-model-a-rk3566 \
> + nanopi-r5c-rk3568 \
> + nanopi-r5s-rk3568 \
> + radxa-e25-rk3568 \
> + rock-3a-rk3568
> +
> +BUILD_DEPENDS+= devel/arm-none-eabi/gcc,aarch64 \
> + devel/py-elftools${MODPY_FLAVOR} \
> + shells/bash \
> + sysutils/e2fsprogs
> +CROSS_COMPILE=   aarch64-none-elf-
> +
> +RK3566_TPL=  rk3566_ddr_1056MHz_v1.18.bin
> +RK3568_TPL=  rk3568_ddr_1560MHz_v1.18.bin
> +RK356X_BL31= rk3568_bl31_v1.43.elf
> +
> +DISTFILES.rkbin= ${RK3566_TPL} ${RK3568_TPL} ${RK356X_BL31}
> +SITES.rkbin= https://github.com/rockchip-linux/rkbin/raw/master/bin/rk35/
> +EXTRACT_ONLY=${DISTNAME}${EXTRACT_SUFX}
> +
> +MAKE_ENV+=   BL31=${FULLDISTDIR}/${RK356X_BL31}
> +
> +pre-build:
> + cc -o ${WRKSRC}/rkbinpatch ${FILESDIR}/rkbinpatch.c 
> + cd ${WRKSRC} && \
> + cp ${FULLDISTDIR}/${RK3566_TPL} . && \
> + ./rkbinpatch ${RK3566_TPL}
> + cd ${WRKSRC} && \
> + cp ${FULLDISTDIR}/${RK3568_TPL} . && \
> + ./rkbinpatch ${RK3568_TPL}
> +
> +.include 
> Index: sysutils/u-boot/rk356x/distinfo
> ===
> RCS file: sysutils/u-boot/rk356x/distinfo
> diff -N sysutils/u-boot/rk356x/distinfo
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ sysutils/u-boot/rk356x/distinfo   13 Oct 2023 17:17:03 -
> @@ -0,0 +1,8 @@
> +SHA256 (rk3566_ddr_1056MHz_v1.18.bin) = 
> 3ABjVq4NHR9mhYo3Yub1pSlMruHKFz7lsMRTG9QgjU8=
> +SHA256 (rk3568_bl31_v1.43.elf) = U7k3G+6qDGo8AjWg8Gmtxxn/kCinhjdyzl7vJBVqsHw=
> +SHA256 (rk3568_ddr_1560MHz_v1.18.bin) = 
> nmIAyhP4RjebrnA7A21C4oCIirOoFDmZOAvcmJjQQyI=
> +SHA256 (u-boot-2023.10.tar.bz2) = 
> 4A5sbwFOBGEBc50I0G8yiBHOvPWuEBNI9AnLvVXOaQA=
> +SIZE (rk3566_ddr_1056MHz_v1.18.bin) = 55296
> +SIZE (rk3568_bl31_v1.43.elf) = 402376
> +SIZE (rk3568_ddr_1560MHz_v1.18.bin) = 55296
> +SIZE (u-boot-2023.10.tar.bz2) = 19645392
> Index: sysutils/u-boot/rk356x/files/rkbinpatch.c
> ===
> RCS file: sysutils/u-boot/rk356x/files/rkbinpatch.c
> diff -N sysutils/u-boot/rk356x/files/rkbinpatch.c
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ sysutils/u-boot/rk356x/files/rkbinpatch.c 13 Oct 2023 17:17:04 -
> @@ -0,0 +1,46 @@
> +#include 
> +#include 
> +#include 
> +#include 
> +#include 
> +
> +int
> +main(int argc, char *argv[])
> +{
> + struct stat st;
> + void *start, *end;
> + uint32_t *word;
> + uint32_t data;
> + int fd;
> +
> + fd = open(argv[1], O_RDWR);
> + if (fd == -1)
> + err(1, "%s", argv[1]);
> +
> + if (fstat(fd, ) == -1)
> + err(1, "%s: stat", argv[1]);
> +
> + start = mmap(NULL, st.st_size, PROT_READ | PROT_WRITE,
> + MAP_SHARED, fd, 0);
> + if (start == MAP_FAILED)
> + err(1, "%s: mmap", argv[1]);
> +
> + end = (char *)start + st.st_size;
> + for (word = start; (void *)word < end; word++) {
> + if (*word == 0x12345678 && (void *)(word + 10) < end) {
> + data = *(word + 9);
> + if ((data & 0xff) == 150) {
> + data &= 0xff00;
> + data |= 115200;
> + *(word + 9) = data;
> + close(fd);
> + return 0;
> + }
> + }
> + }
> +
> + warnx("%s: can't find parameters", argv[1]);
> +
> + close(fd);
> + return 1;
> +}
> Index: sysutils/u-boot/rk356x/pkg/DESCR
> ===
> RCS file: sysutils/u-boot/rk356x/pkg/DESCR
> diff -N sysutils/u-boot/rk356x/pkg/DESCR
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ sysutils/u-boot/rk356x/pkg/DESCR  13 Oct 2023 17:17:04 -
> @@ -0,0 +1,9 @@
> +U-Boot is a firmware for embedded boards based on PowerPC, ARM, MIPS and
> +several other processors, which can be installed in a boot ROM and used to
> +initialize and test the hardware or to 

hidden dependency in gnustep/base

2023-10-16 Thread Marc Espie
Currently testing

Index: Makefile
===
RCS file: /cvs/ports/x11/gnustep/base/Makefile,v
retrieving revision 1.89
diff -u -p -r1.89 Makefile
--- Makefile27 Sep 2023 20:37:07 -  1.89
+++ Makefile16 Oct 2023 23:22:12 -
@@ -46,7 +46,8 @@ CONFIGURE_STYLE=gnu
 CONFIGURE_ENV= ac_cv_header_execinfo_h=false
 CONFIGURE_ARGS +=  --enable-libdispatch \
--disable-procfs \
-   --disable-procfs-psinfo
+   --disable-procfs-psinfo \
+   --disable-bfd
 MAKE_FLAGS +=  
libgnustep-base_INTERFACE_VERSION=${LIBgnustep-base_VERSION}
 
 .include 

because of a bulk error:

to be committed if it builds unless there are objections...

>>> Building on localhost under x11/gnustep/base
BDEPENDS = 
[devel/libffi;x11/gnustep/make;converters/libiconv;textproc/libxslt;devel/gmp;x11/gnustep/libobjc2;security/gnutls;net/curl;textproc/icu4c;net/avahi,-libs;devel/gmake;devel/libdispatch]
DIST = [x11/gnustep/base:gnustep/gnustep-base-1.29.0.tar.gz]
FULLPKGNAME = gnustep-base-1.29.0p0
RDEPENDS = 
[textproc/libxslt;converters/libiconv;x11/gnustep/make;devel/libffi;x11/gnustep/libobjc2;devel/gmp;textproc/icu4c;net/curl;security/gnutls;devel/libdispatch;net/avahi,-libs]
(Junk lock obtained for localhost at 1697475058.94)
>>> Running depends in x11/gnustep/base at 1697475058.96
   last junk was in cad/tkgate
/usr/sbin/pkg_add -aI -Drepair avahi-libs-0.8p3 gnustep-libobjc2-1.8.1p6 
gnustep-make-2.9.1 gnutls-3.8.1 libdispatch-5.5 libiconv-1.17
was: /usr/sbin/pkg_add -aI -Drepair avahi-libs-0.8p3 curl-8.4.0 gmake-4.4.1 
gmp-6.3.0 gnustep-libobjc2-1.8.1p6 gnustep-make-2.9.1 gnutls-3.8.1 
icu4c-73.2p0v0 libdispatch-5.5 libffi-3.4.4 libiconv-1.17 libxslt-1.1.38
/usr/sbin/pkg_add -aI -Drepair avahi-libs-0.8p3 gnustep-libobjc2-1.8.1p6 
gnustep-make-2.9.1 gnutls-3.8.1 libdispatch-5.5 libiconv-1.17
>>> Running show-prepare-results in x11/gnustep/base at 1697475069.66
===> x11/gnustep/base
===> Building from scratch gnustep-base-1.29.0p0
===> gnustep-base-1.29.0p0 depends on: gnustep-make-* -> gnustep-make-2.9.1
===> gnustep-base-1.29.0p0 depends on: gmake-* -> gmake-4.4.1
===> gnustep-base-1.29.0p0 depends on: libiconv-* -> libiconv-1.17
===> gnustep-base-1.29.0p0 depends on: libdispatch-* -> libdispatch-5.5
===> gnustep-base-1.29.0p0 depends on: libffi-* -> libffi-3.4.4
===> gnustep-base-1.29.0p0 depends on: gmp-* -> gmp-6.3.0
===> gnustep-base-1.29.0p0 depends on: libxslt-* -> libxslt-1.1.38
===> gnustep-base-1.29.0p0 depends on: gnutls-* -> gnutls-3.8.1
===> gnustep-base-1.29.0p0 depends on: icu4c-* -> icu4c-73.2p0v0
===> gnustep-base-1.29.0p0 depends on: avahi-libs-* -> avahi-libs-0.8p3
===> gnustep-base-1.29.0p0 depends on: curl-* -> curl-8.4.0
===> gnustep-base-1.29.0p0 depends on: gnustep-libobjc2-* -> 
gnustep-libobjc2-1.8.1p6
===>  Verifying specs:  avahi-client avahi-common c ffi gmp gnutls iberty iconv 
icudata curl icui18n icuuc m objc2 pthread xml2 xslt z dispatch c++ c++abi 
pthread 
===>  found avahi-client.0.2 avahi-common.0.2 c.97.1 ffi.2.0 gmp.11.1 
gnutls.47.7 iberty.12.0 iconv.7.1 icudata.22.1 curl.26.23 icui18n.22.1 
icuuc.22.1 m.10.1 objc2.1.1 pthread.27.1 xml2.19.0 xslt.4.1 z.7.0 dispatch.0.0 
c++.9.0 c++abi.6.0
avahi-libs-0.8p3
curl-8.4.0
gmake-4.4.1
gmp-6.3.0
gnustep-libobjc2-1.8.1p6
gnustep-make-2.9.1
gnutls-3.8.1
icu4c-73.2p0v0
libdispatch-5.5
libffi-3.4.4
libiconv-1.17
libxslt-1.1.38
[...]
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
>>> Running configure in x11/gnustep/base at 1697475088.51
===> x11/gnustep/base
===>  Generating configure for gnustep-base-1.29.0p0
===>  Configuring for gnustep-base-1.29.0p0
Using /pobj/gnustep-base-1.29.0/config.site (generated)
configure: WARNING: unrecognized options: --disable-debug, --enable-strip, 
--disable-silent-rules, --disable-gtk-doc
configure: loading site script /pobj/gnustep-base-1.29.0/config.site
checking build system type... x86_64-unknown-openbsd7.4
checking host system type... x86_64-unknown-openbsd7.4
checking target system type... x86_64-unknown-openbsd7.4
checking for GNUstep configuration file to use at runtime... /etc/GNUstep.conf
checking whether the GNUstep.conf file path can be set in the environment... yes
checking if we should import an existing configuration file now... yes
checking for default GNUstep configuration file to use... /etc/GNUstep.conf
trying to import "/etc/GNUstep.conf"
configure: If this fails, please run configure again with the 
--disable-importing-config-file option or specifying an alternative file using 
the --with-default-config= option
checking for GNUstep-base installation domain... LOCAL
checking if we are hardcoding any relative paths in gnustep-base... no
configure: We store the following filesystem 

Re: Valgrind: Detect access outside the range of malloc.

2023-10-16 Thread Masato Asou
From: Masato Asou 
Date: Fri, 29 Sep 2023 19:39:12 +0900 (JST)

ping

> I have fixed the bug you reported when symbols were not printed.
> 
> As shown below, if the lower 12 bits of Virtual Address are 0 and File
> Size is 0, then the a.out symbol will not be printed.
> 
> $ readelf -l a.out
> 
> Program Headers:
>   Type   Offset VirtAddr   PhysAddr
>  FileSizMemSiz  Flags  Align
> 
>   LOAD   0x1000 0x3000 0x3000
>  0x 0x0055  RW 1000
> 
> From: Otto Moerbeek 
> Date: Tue, 5 Sep 2023 07:40:18 +0200
> 
>> On Tue, Sep 05, 2023 at 09:38:40AM +0900, Masato Asou wrote:
>> 
>>> hi,
>>> 
>>> I have fixed a bug in Valgrind. The Valgrind could not detect access
>>> outside the range of malloc.
>>> 
>>> comments, ok?
>> 
>> This works much better that before. Thanks for working on this!
>> 
>> It now detects out of bounds read and writes correctly. A double
>> free is detected.
>> Also, the spurious reports for accesses to errno are gone.
>> 
>> It does not report proper locations though, even if I compile my test
>> program with -g:
>> 
>> ==23912== Invalid read of size 1
>> ==23912==at 0x109B5D: ??? (in ./a.out)
>> ==23912==by 0x1098D1: ??? (in ./a.out)
>> ==23912==  Address 0x4a42840 is 0 bytes after a block of size 10,240 alloc'd
>> ==23912==at 0x493A3A9: malloc (vg_replace_malloc.c:435)
>> ==23912==by 0x109B32: ??? (in ./a.out)
>> ==23912==by 0x1098D1: ??? (in ./a.out)
>> ==23912== 
>> 0
> 
> The a.out symbol is now printed as shown below:
> 
> $ cat malloctest.c
> #include 
> #include 
> 
> int
> main(int argc, char *argv[])
> {
>   size_t sz = atoi(argv[1]);
>   unsigned char *p = malloc(sz);
>   printf("%p\n", p);
>   p[sz] = 0;
>   printf("%x\n", p[sz]);
>   free(p);
>   free(p);
>   return 0;
> }
> $ cc -g malloctest.c 
> $ valgrind ./a.out 128
> ==21074== Memcheck, a memory error detector
> ==21074== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
> ==21074== Using Valgrind-3.21.0 and LibVEX; rerun with -h for copyright info
> ==21074== Command: ./a.out 128
> ==21074== 
> ==21074== Use of uninitialised value of size 8
> ==21074==at 0x49C34CD: write (sys/w_write.c:26)
> ==21074==by 0x4A150D2: __sflush (stdio/fflush.c:80)
> ==21074==by 0x49B99C8: __sfvwrite (stdio/fvwrite.c:191)
> ==21074==by 0x4979E4D: __sprint (stdio/vfprintf.c:108)
> ==21074==by 0x4979E4D: __vfprintf (stdio/vfprintf.c:1064)
> ==21074==by 0x4976B05: vfprintf (stdio/vfprintf.c:263)
> ==21074==by 0x49D6434: printf (stdio/printf.c:44)
> ==21074==by 0x109B48: main (malloctest.c:9)
> ==21074== 
> ==21074== Use of uninitialised value of size 8
> ==21074==at 0x49C34DE: write (sys/w_write.c:26)
> ==21074==by 0x4A150D2: __sflush (stdio/fflush.c:80)
> ==21074==by 0x49B99C8: __sfvwrite (stdio/fvwrite.c:191)
> ==21074==by 0x4979E4D: __sprint (stdio/vfprintf.c:108)
> ==21074==by 0x4979E4D: __vfprintf (stdio/vfprintf.c:1064)
> ==21074==by 0x4976B05: vfprintf (stdio/vfprintf.c:263)
> ==21074==by 0x49D6434: printf (stdio/printf.c:44)
> ==21074==by 0x109B48: main (malloctest.c:9)
> 
>> ==23912== Invalid free() / delete / delete[] / realloc()
>> ==23912==at 0x493C981: free (vg_replace_malloc.c:978)
>> ==23912==by 0x109B80: ??? (in ./a.out)
>> ==23912==by 0x1098D1: ??? (in ./a.out)
>> ==23912==  Address 0x4a40040 is 0 bytes inside a block of size 10,240 free'd
>> ==23912==at 0x493C981: free (vg_replace_malloc.c:978)
>> ==23912==by 0x109B77: ??? (in ./a.out)
>> ==23912==by 0x1098D1: ??? (in ./a.out)
>> ==23912==  Block was alloc'd at
>> ==23912==at 0x493A3A9: malloc (vg_replace_malloc.c:435)
>> ==23912==by 0x109B32: ??? (in ./a.out)
>> ==23912==by 0x1098D1: ??? (in ./a.out)
>> 
>> addr2line -e ./a.out 0x109B80 also does not succeed in translating the 
>> address.
> 
> Address reported by Valgrind cannot be used for addr2line.  Because
> the address is the address of the area where Valgrind mapped a.out
> with mmap().
> 
> 
> The Makefile and patch-coregrind_m_replacemalloc_vg_replace_malloc_c
> in the following diff are the same as the first reported diff.
> 
> ok, comments?
> --
> ASOU Masato
> 
> Index: devel/valgrind/Makefile
> ===
> RCS file: /cvs/ports/devel/valgrind/Makefile,v
> retrieving revision 1.32
> diff -u -p -r1.32 Makefile
> --- devel/valgrind/Makefile   21 Sep 2023 09:50:07 -  1.32
> +++ devel/valgrind/Makefile   29 Sep 2023 09:44:46 -
> @@ -5,7 +5,7 @@ CATEGORIES =  devel
>  
>  V =  3.21.0
>  DISTNAME =   valgrind-${V}
> -REVISION =   0
> +REVISION =   1
>  EXTRACT_SUFX =   .tar.bz2
>  
>  SITES =  https://sourceware.org/pub/valgrind/
> Index: 

[update] samba-4.19.2

2023-10-16 Thread Jeremie Courreges-Anglas


Release notes:
https://www.samba.org/samba/history/samba-4.19.2.html

Test reports and oks welcome.


Index: Makefile
===
RCS file: /cvs/ports/net/samba/Makefile,v
retrieving revision 1.338
diff -u -p -r1.338 Makefile
--- Makefile12 Oct 2023 07:28:23 -  1.338
+++ Makefile16 Oct 2023 19:30:24 -
@@ -1,4 +1,4 @@
-VERSION =  4.19.1
+VERSION =  4.19.2
 DISTNAME = samba-${VERSION}
 EPOCH =0
 
Index: distinfo
===
RCS file: /cvs/ports/net/samba/distinfo,v
retrieving revision 1.110
diff -u -p -r1.110 distinfo
--- distinfo12 Oct 2023 07:28:23 -  1.110
+++ distinfo16 Oct 2023 19:30:24 -
@@ -1,2 +1,2 @@
-SHA256 (samba-4.19.1.tar.gz) = zjt/DRi/kapf1kbouzhaOzU3W3A8blEjsCuFoavIGHk=
-SIZE (samba-4.19.1.tar.gz) = 41818285
+SHA256 (samba-4.19.2.tar.gz) = nmPwUF4cYx8dsLepNJpR6SXAJsoDrz/V2BIii7WX05M=
+SIZE (samba-4.19.2.tar.gz) = 41817924


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



[Maintainer Update] lang/elixir 1.15.7

2023-10-16 Thread Volker Schlecht
Updates lang/elixir to the latest maintenance/bugfix release.

Tests pass, my elixir code works, and net/rabbitmq still works on amd64.
(With and without the erlang update I just sent.)

ok?
Index: Makefile
===
RCS file: /cvs/ports/lang/elixir/Makefile,v
retrieving revision 1.69
diff -u -p -r1.69 Makefile
--- Makefile	3 Sep 2023 11:55:46 -	1.69
+++ Makefile	16 Oct 2023 22:00:22 -
@@ -1,6 +1,6 @@
 COMMENT=		functional language for building scalable applications
 
-V=			1.15.5
+V=			1.15.7
 GH_ACCOUNT=		elixir-lang
 GH_PROJECT=		elixir
 GH_TAGNAME=		v$V
Index: distinfo
===
RCS file: /cvs/ports/lang/elixir/distinfo,v
retrieving revision 1.59
diff -u -p -r1.59 distinfo
--- distinfo	3 Sep 2023 11:55:46 -	1.59
+++ distinfo	16 Oct 2023 22:00:22 -
@@ -1,2 +1,2 @@
-SHA256 (elixir-1.15.5.tar.gz) = afYgPt7S1bLSRsgHUo+Jaz01IUHJzz4JV2J0jWd8cmA=
-SIZE (elixir-1.15.5.tar.gz) = 3147002
+SHA256 (elixir-1.15.7.tar.gz) = eL3ieGs5VRWuHqp9Jvqn7f3WYyv8/NdbzLY0GhjoeY8=
+SIZE (elixir-1.15.7.tar.gz) = 3151775


[Maintainer Update] lang/erlang/25 25.3.2.7

2023-10-16 Thread Volker Schlecht
Updates lang/erlang/25 to the latest maintenance release.

Tests pass, dependent ports rebuild and work on amd64.

ok?
Index: Makefile
===
RCS file: /cvs/ports/lang/erlang/25/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile	7 Aug 2023 15:47:03 -	1.20
+++ Makefile	16 Oct 2023 21:59:46 -
@@ -4,7 +4,7 @@ USE_NOBTCFI=	Yes
 COMMENT-main=	${COMMENT}
 COMMENT-wx=	WxWidgets bindings for Erlang
 
-V=		25.3.2.5
+V=		25.3.2.7
 PORTROACH=	limit:^OTP-25\.
 DISTNAME=	otp_src_$V
 PKGNAME=	erlang-$V
@@ -67,8 +67,8 @@ ERL_VERSIONS=	\
 ASN1_VSN5.0.21 \
 COMMON_TEST_VSN 1.24.0.1 \
 COMPILER_VSN8.2.6.3 \
-CRYPTO_VSN  5.1.4 \
-DEBUGGER_VSN5.3.1.1 \
+CRYPTO_VSN  5.1.4.1 \
+DEBUGGER_VSN5.3.1.2 \
 DIALYZER_VSN5.0.5 \
 DIAMETER_VSN2.2.7 \
 EDOC_VSN1.2 \
@@ -79,28 +79,28 @@ ERL_DOCGEN_VSN  1.4 \
 ET_VSN  1.6.5 \
 EUNIT_VSN   2.8.2 \
 FTP_VSN 1.1.4 \
-INETS_VSN   8.3.1.1 \
+INETS_VSN   8.3.1.2 \
 JINTERFACE_VSN  1.13.1 \
-KERNEL_VSN  8.5.4.1 \
+KERNEL_VSN  8.5.4.2 \
 MEGACO_VSN  4.4.3 \
-MNESIA_VSN  4.21.4 \
+MNESIA_VSN  4.21.4.1 \
 OBSERVER_VSN2.14 \
 ODBC_VSN2.14 \
 OS_MON_VSN  2.8.2 \
 PARSETOOLS_VSN  2.4.1 \
-PUBLIC_KEY_VSN  1.13.3 \
+PUBLIC_KEY_VSN  1.13.3.1 \
 RELTOOL_VSN 0.9.1 \
 RUNTIME_TOOLS_VSN   1.19 \
 SASL_VSN4.2 \
 SNMP_VSN5.13.5 \
 SSH_VSN 4.15.3 \
-SSL_VSN 10.9.1.1 \
-STDLIB_VSN  4.3.1.2 \
+SSL_VSN 10.9.1.2 \
+STDLIB_VSN  4.3.1.3 \
 SYNTAX_TOOLS_VSN3.0.1 \
 TFTP_VSN1.0.4 \
 TOOLS_VSN   3.5.3 \
 WX_VSN  2.2.2 \
 XMERL_VSN   1.3.31.1 \
-ERTS_VSN13.2.2.2
+ERTS_VSN13.2.2.4
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/lang/erlang/25/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo	7 Aug 2023 15:47:03 -	1.11
+++ distinfo	16 Oct 2023 21:59:46 -
@@ -1,4 +1,4 @@
-SHA256 (otp_doc_man_25.3.2.5.tar.gz) = g5S0EcRMnoxxUkB7k69g6S1/Hvn/1e/UAtzAQOrBiIQ=
-SHA256 (otp_src_25.3.2.5.tar.gz) = H4mbSx74VpwIcTt2vFRgeglQOh0Yjm1hUSA2GIzDVts=
-SIZE (otp_doc_man_25.3.2.5.tar.gz) = 1716246
-SIZE (otp_src_25.3.2.5.tar.gz) = 106241022
+SHA256 (otp_doc_man_25.3.2.7.tar.gz) = gVVefptx6dfNm+y2+pOISqtpv3/+4TD3V57+OUKcXBY=
+SHA256 (otp_src_25.3.2.7.tar.gz) = qGYoWdFT08QlPGo6TRU40PMs4c8Cu1SEsXycF22jezc=
+SIZE (otp_doc_man_25.3.2.7.tar.gz) = 1717740
+SIZE (otp_src_25.3.2.7.tar.gz) = 106217185


CVS: cvs.openbsd.org: ports

2023-10-16 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2023/10/16 15:41:27

Modified files:
x11/gromit-mpx : Makefile distinfo 
x11/gromit-mpx/patches: patch-CMakeLists_txt 
x11/gromit-mpx/pkg: PLIST 
Added files:
x11/gromit-mpx/patches: patch-src_main_c patch-src_main_h 
Removed files:
x11/gromit-mpx/patches: patch-src_gromit-mpx_c 
patch-src_gromit-mpx_h 

Log message:
update to gromit-mpx 1.5.0

feedback from Laurie (maintainer)



Re: x11/gromit-mpx: update to 1.5.0

2023-10-16 Thread Laurence Tratt
On Mon, Oct 16, 2023 at 11:38:20AM +, Klemens Nanni wrote:

Hello Klemens,

>> Simple https://github.com/bk138/gromit-mpx/releases/tag/1.5.0, works for
>> me. Remove default HOMEPAGE.
>>
>> Patch churn due to code moving from between .[ch] files, change is the
>> same.
>>
>> Feedback? OK?
> Didn't cvs add the main.h patch, thanks Laurie.

This now builds and runs fine for me -- thanks for updating!


Laurie



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2023/10/16 15:17:52

Modified files:
archivers/snappy: Makefile 
Added files:
archivers/snappy/patches: 
  
patch-third_party_googletest_googletest_src_gtest_cc 

Log message:
archivers/snappy: unbreak on sparc64, with/ok kn

ports-gcc needs -I${LOCALBASE}/includes to be able to pick up lz4.h.
Morevoer, include  for raise.



Re: archivers/snappy: unbreak on sparc64

2023-10-16 Thread Klemens Nanni
On Mon, Oct 16, 2023 at 10:51:37PM +0200, Theo Buehler wrote:
> sorry for missing that.
> 
> we should keep the existing CXXFLAGS, especially -O2 -pipe.  This diff
> no dynamic export changes and doesn't change sizees:
> 
> 38075   164840  39763   9b53../build-amd64/libsnappy.so
> 38075   164840  39763   9b53../build-amd64/libsnappy.so.3.0

Oh I see, you forced CXXFLAGS instead of amending them.

Still, I'd be happier do to this only where needed such that potential
future bugs won't get fixed silently by that.

> Index: Makefile
> ===
> RCS file: /cvs/ports/archivers/snappy/Makefile,v
> retrieving revision 1.19
> diff -u -p -r1.19 Makefile
> --- Makefile  16 Oct 2023 20:31:13 -  1.19
> +++ Makefile  16 Oct 2023 20:49:09 -
> @@ -3,7 +3,7 @@ COMMENT = fast compression/decompression
>  GH_TAGNAME = 1.1.10
>  GH_PROJECT = snappy
>  GH_ACCOUNT = google
> -REVISION =   0
> +REVISION =   1
>  
>  SHARED_LIBS =snappy  3.0
>  
> @@ -24,6 +24,8 @@ MODULES =   devel/cmake
>  CONFIGURE_ARGS +=-DBUILD_SHARED_LIBS=ON \
>   -DINSTALL_GTEST=OFF \
>   -DSNAPPY_BUILD_BENCHMARKS=OFF
> +
> +CONFIGURE_ENV += CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include"

CXXFLAGS += -I/usr/local/include

This is enough and gets picked up by cmake.

OK kn when that works on sparc64 for you and got wrapped in a
CHOSEN_COMPILER or MACHINE_ARCH check.

>  
>  # expects submodule/cannot use system library
>  DIST_TUPLE = github  google  googletest  
> e40661d89b051e9ef4eb8a2420b74bf78b39ef41 \
> Index: patches/patch-third_party_googletest_googletest_src_gtest_cc
> ===
> RCS file: patches/patch-third_party_googletest_googletest_src_gtest_cc
> diff -N patches/patch-third_party_googletest_googletest_src_gtest_cc
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-third_party_googletest_googletest_src_gtest_cc  16 Oct 
> 2023 20:49:09 -
> @@ -0,0 +1,17 @@
> +Fix build on sparc64:
> +
> +gtest.cc:5342:7:
> + error: 'raise' was not declared in this scope
> +   raise(SIGTRAP);
> +
> +Index: third_party/googletest/googletest/src/gtest.cc
> +--- third_party/googletest/googletest/src/gtest.cc.orig
>  third_party/googletest/googletest/src/gtest.cc
> +@@ -43,6 +43,7 @@
> + #include 
> + #include   // NOLINT
> + #include 
> ++#include 
> + #include 
> + #include 
> + #include 
> 



Re: archivers/snappy: unbreak on sparc64

2023-10-16 Thread Theo Buehler
On Mon, Oct 16, 2023 at 08:36:07PM +, Klemens Nanni wrote:
> On Mon, Oct 16, 2023 at 09:47:42PM +0200, Theo Buehler wrote:
> > For some reason ports-gcc can't find "lz4.h", so pass -I in CXXFLAGS.
> > Then there's the usual missing include thing in gtest. I should see if I
> > can upstream that...
> 
> You could contain it with to avoid subtle change on clang archs, no?
> 
> .if ${CHOSEN_COMPILER} == "ports-gcc"
> CXXFLAGS +=   -I/usr/local/include
> .endif
> 
> > 
> > I don't think this changes the package where it already builds, but I
> > can bump REVISION if that's preferred.
> 
> Generally, I'd say bump if in doubt.
> 
> On amd64, this diff tripples the *built* libsnappy.so.* in size.
> I've built twice without and twice with the diff:
> 
> $ size lib*
> textdatabss dec hex
> 38075   164840  39763   9b53libsnappy.so.3.0.cur
> 38075   164840  39763   9b53libsnappy.so.3.0.cur2
> 109844  520832  115084  1c18c   libsnappy.so.3.0.new
> 109844  520832  115084  1c18c   libsnappy.so.3.0.new2

sorry for missing that.

we should keep the existing CXXFLAGS, especially -O2 -pipe.  This diff
no dynamic export changes and doesn't change sizees:

38075   164840  39763   9b53../build-amd64/libsnappy.so
38075   164840  39763   9b53../build-amd64/libsnappy.so.3.0

Index: Makefile
===
RCS file: /cvs/ports/archivers/snappy/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile16 Oct 2023 20:31:13 -  1.19
+++ Makefile16 Oct 2023 20:49:09 -
@@ -3,7 +3,7 @@ COMMENT =   fast compression/decompression
 GH_TAGNAME =   1.1.10
 GH_PROJECT =   snappy
 GH_ACCOUNT =   google
-REVISION = 0
+REVISION = 1
 
 SHARED_LIBS =  snappy  3.0
 
@@ -24,6 +24,8 @@ MODULES = devel/cmake
 CONFIGURE_ARGS +=  -DBUILD_SHARED_LIBS=ON \
-DINSTALL_GTEST=OFF \
-DSNAPPY_BUILD_BENCHMARKS=OFF
+
+CONFIGURE_ENV +=   CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include"
 
 # expects submodule/cannot use system library
 DIST_TUPLE =   github  google  googletest  
e40661d89b051e9ef4eb8a2420b74bf78b39ef41 \
Index: patches/patch-third_party_googletest_googletest_src_gtest_cc
===
RCS file: patches/patch-third_party_googletest_googletest_src_gtest_cc
diff -N patches/patch-third_party_googletest_googletest_src_gtest_cc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-third_party_googletest_googletest_src_gtest_cc16 Oct 
2023 20:49:09 -
@@ -0,0 +1,17 @@
+Fix build on sparc64:
+
+gtest.cc:5342:7:
+ error: 'raise' was not declared in this scope
+   raise(SIGTRAP);
+
+Index: third_party/googletest/googletest/src/gtest.cc
+--- third_party/googletest/googletest/src/gtest.cc.orig
 third_party/googletest/googletest/src/gtest.cc
+@@ -43,6 +43,7 @@
+ #include 
+ #include   // NOLINT
+ #include 
++#include 
+ #include 
+ #include 
+ #include 



Re: archivers/snappy: unbreak on sparc64

2023-10-16 Thread Klemens Nanni
On Mon, Oct 16, 2023 at 09:47:42PM +0200, Theo Buehler wrote:
> For some reason ports-gcc can't find "lz4.h", so pass -I in CXXFLAGS.
> Then there's the usual missing include thing in gtest. I should see if I
> can upstream that...

You could contain it with to avoid subtle change on clang archs, no?

.if ${CHOSEN_COMPILER} == "ports-gcc"
CXXFLAGS += -I/usr/local/include
.endif

> 
> I don't think this changes the package where it already builds, but I
> can bump REVISION if that's preferred.

Generally, I'd say bump if in doubt.

On amd64, this diff tripples the *built* libsnappy.so.* in size.
I've built twice without and twice with the diff:

$ size lib*
textdatabss dec hex
38075   164840  39763   9b53libsnappy.so.3.0.cur
38075   164840  39763   9b53libsnappy.so.3.0.cur2
109844  520832  115084  1c18c   libsnappy.so.3.0.new
109844  520832  115084  1c18c   libsnappy.so.3.0.new2

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/archivers/snappy/Makefile,v
> retrieving revision 1.18
> diff -u -p -r1.18 Makefile
> --- Makefile  15 Oct 2023 07:31:06 -  1.18
> +++ Makefile  16 Oct 2023 19:35:14 -
> @@ -24,6 +24,8 @@ MODULES =   devel/cmake
>  CONFIGURE_ARGS +=-DBUILD_SHARED_LIBS=ON \
>   -DSNAPPY_BUILD_BENCHMARKS=OFF
>  
> +CONFIGURE_ENV += CXXFLAGS="-I${LOCALBASE}/include"
> +

Need to investigate why that adds so many symbols.

>  # expects submodule/cannot use system library
>  DIST_TUPLE = github  google  googletest  
> e40661d89b051e9ef4eb8a2420b74bf78b39ef41 \
>   third_party/googletest/ # BSD


> Index: patches/patch-third_party_googletest_googletest_src_gtest_cc
> ===
> RCS file: patches/patch-third_party_googletest_googletest_src_gtest_cc
> diff -N patches/patch-third_party_googletest_googletest_src_gtest_cc
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-third_party_googletest_googletest_src_gtest_cc  16 Oct 
> 2023 19:38:50 -
> @@ -0,0 +1,17 @@
> +Fix build on sparc64:
> +
> +gtest.cc:5342:7:
> + error: 'raise' was not declared in this scope
> +   raise(SIGTRAP);

That part is OK kn and clearly unrelated.

> +
> +Index: third_party/googletest/googletest/src/gtest.cc
> +--- third_party/googletest/googletest/src/gtest.cc.orig
>  third_party/googletest/googletest/src/gtest.cc
> +@@ -43,6 +43,7 @@
> + #include 
> + #include   // NOLINT
> + #include 
> ++#include 
> + #include 
> + #include 
> + #include 



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2023/10/16 14:31:13

Modified files:
archivers/snappy: Makefile 

Log message:
skip installing bundled gtest libs;  no PLIST change

Forgot the configure switch when enabling gtest which snappy installs
ships by default (even though they're only used for tests).
update-plist(1) picked them up, but that hunk wasn't committed,
so no package change now disabling it again.

OK tb



archivers/snappy: unbreak on sparc64

2023-10-16 Thread Theo Buehler
For some reason ports-gcc can't find "lz4.h", so pass -I in CXXFLAGS.
Then there's the usual missing include thing in gtest. I should see if I
can upstream that...

I don't think this changes the package where it already builds, but I
can bump REVISION if that's preferred.

Index: Makefile
===
RCS file: /cvs/ports/archivers/snappy/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile15 Oct 2023 07:31:06 -  1.18
+++ Makefile16 Oct 2023 19:35:14 -
@@ -24,6 +24,8 @@ MODULES = devel/cmake
 CONFIGURE_ARGS +=  -DBUILD_SHARED_LIBS=ON \
-DSNAPPY_BUILD_BENCHMARKS=OFF
 
+CONFIGURE_ENV +=   CXXFLAGS="-I${LOCALBASE}/include"
+
 # expects submodule/cannot use system library
 DIST_TUPLE =   github  google  googletest  
e40661d89b051e9ef4eb8a2420b74bf78b39ef41 \
third_party/googletest/ # BSD
Index: patches/patch-third_party_googletest_googletest_src_gtest_cc
===
RCS file: patches/patch-third_party_googletest_googletest_src_gtest_cc
diff -N patches/patch-third_party_googletest_googletest_src_gtest_cc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-third_party_googletest_googletest_src_gtest_cc16 Oct 
2023 19:38:50 -
@@ -0,0 +1,17 @@
+Fix build on sparc64:
+
+gtest.cc:5342:7:
+ error: 'raise' was not declared in this scope
+   raise(SIGTRAP);
+
+Index: third_party/googletest/googletest/src/gtest.cc
+--- third_party/googletest/googletest/src/gtest.cc.orig
 third_party/googletest/googletest/src/gtest.cc
+@@ -43,6 +43,7 @@
+ #include 
+ #include   // NOLINT
+ #include 
++#include 
+ #include 
+ #include 
+ #include 



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2023/10/16 13:41:37

Modified files:
misc/shared-mime-info: Makefile 

Log message:
shared-mime-info: unbreak on sparc64, ok aja

Needs COMPILER due to C++17 and -lstdc++fs for ports-gcc, so do the usual
dances. With help from jca



Re: misc/shared-mime-info: unbreak on sparc64

2023-10-16 Thread Antoine Jacoutot
Ok. 

—
Antoine

> On 16 Oct 2023, at 20:42, Theo Buehler  wrote:
> 
> The vast majority of current sparc64 breakage is due to shared-mime-info
> not building
> 
> http://build-failures.rhaalovely.net/sparc64/2023-10-14/summary.log
> 
> First problem is that it requires C++17, so COMPILER needs to be set,
> then it needs an extra -lstdc++fs to actually package, REVISION bump
> to be on the safe side.
> 
> The EXTRA_ports-gcc dance is from multimedia/mkvtoolnix. With lots of
> help from jca.
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/misc/shared-mime-info/Makefile,v
> retrieving revision 1.78
> diff -u -p -r1.78 Makefile
> --- Makefile11 Oct 2023 20:32:48 -1.78
> +++ Makefile16 Oct 2023 18:37:18 -
> @@ -2,6 +2,7 @@ COMMENT=shared mime database for deskt
> 
> V=2.3
> DISTNAME=shared-mime-info-${V}
> +REVISION=0
> 
> CATEGORIES=misc
> 
> @@ -15,6 +16,14 @@ PERMIT_PACKAGE=Yes
> # uses pledge() and unveil()
> WANTLIB += ${COMPILER_LIBCXX} c glib-2.0 xml2
> 
> +# C++17
> +COMPILER=base-clang ports-gcc
> +
> +# need to add this for gcc
> +# revisit when gcc drops it
> +EXTRA_ports-gcc=-lstdc++fs
> +LDFLAGS+=${EXTRA_${CHOSEN_COMPILER}}
> +
> SITES=https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/${V}/
> 
> MODULES=devel/meson \
> @@ -30,6 +39,7 @@ LIB_DEPENDS=devel/glib2 \
> 
> # XXX needs https://gitlab.freedesktop.org/xdg/xdgmime sources for tests
> CONFIGURE_ARGS +=-Dxdgmime-path=${WRKSRC}/xdgmime
> +CONFIGURE_ENV +=LDFLAGS="${LDFLAGS}"
> 
> pre-configure:
>sed -i 's|/usr/local|${PREFIX}|g' ${WRKSRC}/src/update-mime-database.cpp



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Volker Schlecht
CVSROOT:/cvs
Module name:ports
Changes by: vol...@cvs.openbsd.org  2023/10/16 13:23:17

Modified files:
lang/node  : Makefile distinfo 

Log message:
lang/node: Update to 18.18.2

Fixes
CVE-2023-45143
CVE-2023-39331
CVE-2023-39332
CVE-2023-39333
CVE-2023-38552

ok kn@



misc/shared-mime-info: unbreak on sparc64

2023-10-16 Thread Theo Buehler
The vast majority of current sparc64 breakage is due to shared-mime-info
not building

http://build-failures.rhaalovely.net/sparc64/2023-10-14/summary.log

First problem is that it requires C++17, so COMPILER needs to be set,
then it needs an extra -lstdc++fs to actually package, REVISION bump
to be on the safe side.

The EXTRA_ports-gcc dance is from multimedia/mkvtoolnix. With lots of
help from jca.

Index: Makefile
===
RCS file: /cvs/ports/misc/shared-mime-info/Makefile,v
retrieving revision 1.78
diff -u -p -r1.78 Makefile
--- Makefile11 Oct 2023 20:32:48 -  1.78
+++ Makefile16 Oct 2023 18:37:18 -
@@ -2,6 +2,7 @@ COMMENT=shared mime database for deskt
 
 V= 2.3
 DISTNAME=  shared-mime-info-${V}
+REVISION=  0
 
 CATEGORIES=misc
 
@@ -15,6 +16,14 @@ PERMIT_PACKAGE=  Yes
 # uses pledge() and unveil()
 WANTLIB += ${COMPILER_LIBCXX} c glib-2.0 xml2
 
+# C++17
+COMPILER=  base-clang ports-gcc
+
+# need to add this for gcc
+# revisit when gcc drops it
+EXTRA_ports-gcc=   -lstdc++fs
+LDFLAGS+=  ${EXTRA_${CHOSEN_COMPILER}}
+
 SITES= https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/${V}/
 
 MODULES=   devel/meson \
@@ -30,6 +39,7 @@ LIB_DEPENDS=  devel/glib2 \
 
 # XXX needs https://gitlab.freedesktop.org/xdg/xdgmime sources for tests
 CONFIGURE_ARGS +=  -Dxdgmime-path=${WRKSRC}/xdgmime
+CONFIGURE_ENV +=   LDFLAGS="${LDFLAGS}"
 
 pre-configure:
sed -i 's|/usr/local|${PREFIX}|g' ${WRKSRC}/src/update-mime-database.cpp



[Maintainer Update] lang/erlang/26 26.1.2

2023-10-16 Thread Volker Schlecht
Updates lang/erlang/26 to the latest maintenance release.

Built and tested on amd64 with IBT enabled.
Nothing else depends on it.

ok?
Index: Makefile
===
RCS file: /cvs/ports/lang/erlang/26/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile	24 Sep 2023 14:37:18 -	1.5
+++ Makefile	16 Oct 2023 11:40:12 -
@@ -6,14 +6,13 @@ USE_WXNEEDED=	Yes
 COMMENT-main=	${COMMENT}
 COMMENT-wx=	WxWidgets bindings for Erlang
 
-V=		26.1
+V=		26.1.2
 DISTNAME=	otp_src_${V}
 PORTROACH=	limit:^OTP-26\.
 PKGNAME=	erlang-${V}
 PKGNAME-main=	erlang-${V}
 PKGNAME-wx=	erlang-wx-${V}
 EPOCH=		0
-REVISION=	0
 
 VERSION_SPEC=	>=26v0,<27v0
 PKGSPEC-main=	erlang-${VERSION_SPEC}
@@ -69,7 +68,7 @@ UPDATE_PLIST_ARGS = -i V
 ERL_VERSIONS=	\
 ASN1_VSN5.2 \
 COMMON_TEST_VSN 1.25.1 \
-COMPILER_VSN8.4 \
+COMPILER_VSN8.4.1 \
 CRYPTO_VSN  5.3 \
 DEBUGGER_VSN5.3.2 \
 DIALYZER_VSN5.1.1 \
@@ -99,12 +98,12 @@ SASL_VSN4.2.1 \
 SNMP_VSN5.15 \
 SSH_VSN 5.0.1 \
 SSL_VSN 11.0.3 \
-STDLIB_VSN  5.1 \
+STDLIB_VSN  5.1.1 \
 SYNTAX_TOOLS_VSN3.1 \
 TFTP_VSN1.1 \
 TOOLS_VSN   3.6 \
-WX_VSN  2.3 \
-XMERL_VSN   1.3.31.1 \
-ERTS_VSN14.1
+WX_VSN  2.3.1 \
+XMERL_VSN   1.3.33 \
+ERTS_VSN14.1.1
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/lang/erlang/26/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo	24 Sep 2023 14:37:18 -	1.4
+++ distinfo	16 Oct 2023 11:40:12 -
@@ -1,4 +1,4 @@
-SHA256 (otp_doc_man_26.1.tar.gz) = phIAJTVt9l41nYHTJobQflJ+D2lCD7m7nzu9aKdBiXo=
-SHA256 (otp_src_26.1.tar.gz) = +RTd6nkBmrJTORHN1PkWU3JqybBWGz7FeqbsvMPfP1U=
-SIZE (otp_doc_man_26.1.tar.gz) = 1745691
-SIZE (otp_src_26.1.tar.gz) = 107409296
+SHA256 (otp_doc_man_26.1.2.tar.gz) = 9tUx/TtzIO0YJ12YVT4K3hL5pvIdmP8sFskV0RfaODw=
+SHA256 (otp_src_26.1.2.tar.gz) = 8QdM86VPH4fmYCfVq+urL6dqAkNFP6WLxfMNDOAxOSE=
+SIZE (otp_doc_man_26.1.2.tar.gz) = 1745649
+SIZE (otp_src_26.1.2.tar.gz) = 107408605


[Maintainer Update] lang/node v18.18.2

2023-10-16 Thread Volker Schlecht
Here's a simple update for lang/node for a change:

v18.18.1
* Changed bundled versions of libuv, which doesn't affect our build since
  we're building against libuv in ports

v18.18.2
* Changed bundled version of nghttp2, which doesn't affect us since we're
  building against nghttp2 in ports
* Changed bundled version of undici, changes are Javascript-only
* fixes CVE-2023-45143
  https://github.com/nodejs/undici/security/advisories/GHSA-q768-x9m6-m9qp
* Also contains fixes for (according to the commits):
CVE-2023-39331 (Path traversal)
CVE-2023-39332 (Path traversal)
CVE-2023-39333 (Code injection)
CVE-2023-38552 (Integrity check circumvention)

No changes to v8 or the build system, only the fix for CVE-2023-38552 touches
non-Javascrtipt code.

Built and tested on amd64 with IBT enabled.

ok?
Index: Makefile
===
RCS file: /cvs/ports/lang/node/Makefile,v
retrieving revision 1.129
diff -u -p -r1.129 Makefile
--- Makefile	26 Sep 2023 12:02:03 -	1.129
+++ Makefile	16 Oct 2023 11:16:54 -
@@ -5,7 +5,7 @@ USE_WXNEEDED =		Yes
 
 COMMENT = JavaScript runtime built on Chrome's V8 JavaScript engine
 
-NODE_VERSION =		v18.18.0
+NODE_VERSION =		v18.18.2
 PLEDGE_VER =		1.1.3
 DISTFILES =		${DISTNAME}-headers.tar.gz \
 			${DISTNAME}.tar.xz
Index: distinfo
===
RCS file: /cvs/ports/lang/node/distinfo,v
retrieving revision 1.72
diff -u -p -r1.72 distinfo
--- distinfo	26 Sep 2023 10:44:17 -	1.72
+++ distinfo	16 Oct 2023 11:16:54 -
@@ -1,6 +1,6 @@
 SHA256 (node-pledge-1.1.3.tar.gz) = fEaXvLg6hYEJ69K+mgQFizf8DiJY2/DtyFJB/pEanVU=
-SHA256 (node-v18.18.0-headers.tar.gz) = 3NwDNUJuPiT44f9p1t3SFyw+Q5bobb9LeiyXPXLeR4U=
-SHA256 (node-v18.18.0.tar.xz) = 5NTbrDY02Z+JLwDbR9p4+YSTwzlYLoqV+y3Vn1z+D5A=
+SHA256 (node-v18.18.2-headers.tar.gz) = cMkWTBlSp3zga9gONQehESTPYLbIJAniw60abVvFqRA=
+SHA256 (node-v18.18.2.tar.xz) = ckni8K+UPsOFmVBPSyor0x+5OHhykbbMymyLrfAeO1Y=
 SIZE (node-pledge-1.1.3.tar.gz) = 3167
-SIZE (node-v18.18.0-headers.tar.gz) = 8712286
-SIZE (node-v18.18.0.tar.xz) = 40813264
+SIZE (node-v18.18.2-headers.tar.gz) = 8713368
+SIZE (node-v18.18.2.tar.xz) = 40834428


Re: [maintainer update] sysutils/fzf 0.43.0

2023-10-16 Thread Johannes Thyssen Tishman
Laurent Cheylus  wrote:
> Hi,
> 
> update of sysutils/fzf for version 0.43.0
> Changelog: https://github.com/junegunn/fzf/releases/tag/0.43.0
> 
> - update of Makefile, distinfo and modules.inc for v0.43.0
> - simplify WRKDIST in Makefile
> - add a patch to fix issue with 'fzf --listen' command (add inet for pledge), 
> reported by semarie@
> 
> Build and tests OK on current/amd64 with Go 1.21.1.
> 
> Tests/comments welcome and please commit if OK.
> 
> Laurent

Tested and it works as expected. The runtime dependency on shells/bash
can finally be dropped though[1] :)

Thanks!

Kind regards,
Johannes

[1] https://github.com/junegunn/fzf/pull/3364



sparc64 bulk build report

2023-10-16 Thread kmos
Bulk build on sparc64-0a.ports.openbsd.org

Started : Sat Oct 14 13:31:33 MDT 2023
Finished: Mon Oct 16 10:41:33 MDT 2023
Duration: 1 Days 21 hours 10 minutes

Built using OpenBSD 7.4-current (GENERIC.MP) #1901: Fri Oct 13 23:27:28 MDT 2023

Built 8178 packages

Number of packages built each day:
Oct 14: 6151
Oct 15: 2023
Oct 16: 4



Critical path missing pkgs:
http://build-failures.rhaalovely.net/sparc64/2023-10-14/summary.log

Build failures: 37
http://build-failures.rhaalovely.net/sparc64/2023-10-14/archivers/snappy.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/audio/libsmackerdec.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/audio/ncmpc.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/databases/ruby-amalgalite,ruby31.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/devel/avr/gcc.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/devel/difftastic.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/devel/jdk/1.8.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/devel/liburcu.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/devel/mtxclient.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/devel/py-thrift,python3.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/devel/vim-command-t.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/devel/xsd.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/devel/yder.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/editors/litexl.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/editors/nvi.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/games/cataclysm-dda,no_x11.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/games/choria.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/games/crispy-doom.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/games/fheroes2.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/games/gnukem.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/games/scid.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/games/xmoto.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/graphics/glslang.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/graphics/libgexiv2.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/graphics/spirv-tools.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/graphics/tesseract/tesseract.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/mail/rspamd,hyperscan.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/math/gunits.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/math/openfst.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/misc/shared-mime-info.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/security/clamav.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/security/opensc.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/security/xmlsec.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/shells/nsh,static.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/sysutils/u-boot-asahi.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/textproc/libmarisa,,-main.log
http://build-failures.rhaalovely.net/sparc64/2023-10-14/x11/gnome/gjs.log

Recurrent failures:
 failures/archivers/snappy.log
 failures/audio/libsmackerdec.log
 failures/audio/ncmpc.log
 failures/databases/ruby-amalgalite,ruby31.log
 failures/devel/avr/gcc.log
 failures/devel/difftastic.log
 failures/devel/liburcu.log
 failures/devel/mtxclient.log
 failures/devel/py-thrift,python3.log
 failures/devel/vim-command-t.log
 failures/editors/litexl.log
 failures/editors/nvi.log
 failures/games/cataclysm-dda,no_x11.log
 failures/games/crispy-doom.log
 failures/games/fheroes2.log
 failures/games/gnukem.log
 failures/games/scid.log
 failures/graphics/glslang.log
 failures/graphics/libgexiv2.log
 failures/graphics/spirv-tools.log
 failures/graphics/tesseract/tesseract.log
 failures/mail/rspamd,hyperscan.log
 failures/math/gunits.log
 failures/math/openfst.log
 failures/security/clamav.log
 failures/security/opensc.log
 failures/security/xmlsec.log
 failures/shells/nsh,static.log
 failures/sysutils/u-boot-asahi.log
 failures/textproc/libmarisa,,-main.log

New failures:
+failures/devel/jdk/1.8.log
+failures/games/choria.log
+failures/games/xmoto.log
+failures/misc/shared-mime-info.log
+failures/x11/gnome/gjs.log

Resolved failures:
-failures/audio/libcanberra.log
-failures/devel/acpica.log
-failures/devel/clang-tools-extra.log
-failures/devel/llvm/13.log
-failures/devel/llvm/16,-lldb.log
-failures/graphics/rawstudio.log
-failures/inputmethods/ibus.log
-failures/telephony/baresip/baresip,-gtk.log
-failures/www/webkitgtk4.log
-failures/x11/gromit-mpx.log
-failures/x11/mruby-zest.log
-failures/x11/xpad.log

Packages newly built:
+audio/freealut
+audio/libmysofa
+audio/openal
+audio/zynaddsubfx
+devel/acpica
+devel/astyle
+devel/catch2

[maintainer update] sysutils/fzf 0.43.0

2023-10-16 Thread Laurent Cheylus
Hi,

update of sysutils/fzf for version 0.43.0
Changelog: https://github.com/junegunn/fzf/releases/tag/0.43.0

- update of Makefile, distinfo and modules.inc for v0.43.0
- simplify WRKDIST in Makefile
- add a patch to fix issue with 'fzf --listen' command (add inet for pledge), 
reported by semarie@

Build and tests OK on current/amd64 with Go 1.21.1.

Tests/comments welcome and please commit if OK.

Laurent

Index: Makefile
===
RCS file: /cvs/ports/sysutils/fzf/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile	19 Jun 2023 19:28:08 -	1.21
+++ Makefile	16 Oct 2023 11:27:41 -
@@ -1,9 +1,9 @@
 COMMENT =	command-line fuzzy finder
 
 MODGO_MODNAME = github.com/junegunn/fzf
-MODGO_VERSION =	v0.0.0-20230614153741-d471067e3f46
+MODGO_VERSION = v0.0.0-20231014165605-d3311d9f43d0
 
-V =	0.42.0
+V =		0.43.0
 DISTNAME =	fzf-${V}
 
 CATEGORIES =	sysutils
@@ -27,7 +27,7 @@ MODGO_LDFLAGS +=	-X main.revision=""
 RUN_DEPENDS =	shells/bash
 
 # for patch to apply
-WRKDIST =	${WRKOBJDIR}/${DISTNAME}/${MODGO_MODNAME}@${MODGO_VERSION}
+WRKDIST =	${WRKSRC}
 
 # Note that unlike zsh and fish, bash has no well-defined site functions
 # directory from which to autoload stuff.
Index: distinfo
===
RCS file: /cvs/ports/sysutils/fzf/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- distinfo	19 Jun 2023 19:28:08 -	1.14
+++ distinfo	16 Oct 2023 11:27:41 -
@@ -1,4 +1,4 @@
-SHA256 (fzf-0.42.0.zip) = Ynau5mUAQkjDp60ao0+vUsy/B8sPq4JMx1HbFB/ZH94=
+SHA256 (fzf-0.43.0.zip) = +ahxVf32QagRcSBSv7TVyMIi4TQ13k5q5PPgb2FoFUU=
 SHA256 (go_modules/github.com/gdamore/encoding/@v/v1.0.0.mod) = pJgRJVFfDy3yU8LeOjrBlwx0Q+W2adlH6HTnezaBtuU=
 SHA256 (go_modules/github.com/gdamore/encoding/@v/v1.0.0.zip) = Y4qYMuL2LRGNfFEdhr2uFiKlHzMd5IoB2Sn9JOvmoqY=
 SHA256 (go_modules/github.com/gdamore/tcell/v2/@v/v2.5.4.mod) = 4zhutrVn0oD6CGHqAr93IkVDVuXmzBVThvjmX/RGQ5E=
@@ -37,12 +37,12 @@ SHA256 (go_modules/golang.org/x/sys/@v/v
 SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20220520151302-bc2c85ada10a.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
 SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20220722155257-8c9f86f7a55f.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
 SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20220811171246-fbc7d0a398ab.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.8.0.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.8.0.zip) = JYizpkWDg5DjQfEAf4Z59eERe11ayUZ++DLRSLIhmjg=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.13.0.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.13.0.zip) = PRSa/Jk5mANUN0wNR0Ydzb0dOYDrL3fmAwSyP+5vPTc=
 SHA256 (go_modules/golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.mod) = TLqxT3cGdxsnHZlaGzzBMf5aJGqtx+5tG6bwvYlHgfo=
 SHA256 (go_modules/golang.org/x/term/@v/v0.0.0-20210927222741-03fcf44c2211.mod) = dAeU4pFPXMh+JWVsWEMiKyxlZlghIF9FYyoEd8jT95s=
-SHA256 (go_modules/golang.org/x/term/@v/v0.8.0.mod) = XTYtaoNFP3Akcl6CTAXFlJYk749MsT9dfj1Lfxygsyc=
-SHA256 (go_modules/golang.org/x/term/@v/v0.8.0.zip) = GWHf6lnOUx4tbmoyKHgfWViyfG2dnAmTL1/8VMTZzfk=
+SHA256 (go_modules/golang.org/x/term/@v/v0.13.0.mod) = Jid7C1vDPQJB8jN4OeimY9KmxgMFiHDyfO2d8f7n41c=
+SHA256 (go_modules/golang.org/x/term/@v/v0.13.0.zip) = ohQBM6te3qSG7JI52gGZXmBuYmHWbRpnPNKt0z0ID90=
 SHA256 (go_modules/golang.org/x/text/@v/v0.3.0.mod) = NoedWG/YAB6E2oeHGQoR5PeHSeKoHf6Lm2kxiZ//Mc8=
 SHA256 (go_modules/golang.org/x/text/@v/v0.3.3.mod) = +7eojtFAUV55Dsp6EP/TGcl4axHGpsfln4D3+ze7RUI=
 SHA256 (go_modules/golang.org/x/text/@v/v0.3.7.mod) = xF1mkIlCe8RjXQexhfm5aAMy0cSMdbPEnLcVuBoEpbA=
@@ -54,7 +54,7 @@ SHA256 (go_modules/golang.org/x/tools/@v
 SHA256 (go_modules/golang.org/x/tools/@v/v0.1.12.zip) = SxIuDkcDvEAUyxz4wBT8+T6n1y8B2nlJk2U0b1TLuFE=
 SHA256 (go_modules/golang.org/x/xerrors/@v/v0.0.0-20190717185122-a985d3407aa7.mod) = ql4+ybt7n2gWCe+sAZ2d4ae6dxkkj/Hqon54iC2z1/U=
 SHA256 (go_modules/golang.org/x/xerrors/@v/v0.0.0-20190717185122-a985d3407aa7.zip) = xOnwY8/tVGyQ8AqWV96sT5FaiZT4y+bb0/GOeeuDAs8=
-SIZE (fzf-0.42.0.zip) = 283506
+SIZE (fzf-0.43.0.zip) = 291787
 SIZE (go_modules/github.com/gdamore/encoding/@v/v1.0.0.mod) = 77
 SIZE (go_modules/github.com/gdamore/encoding/@v/v1.0.0.zip) = 19867
 SIZE (go_modules/github.com/gdamore/tcell/v2/@v/v2.5.4.mod) = 308
@@ -93,12 +93,12 @@ SIZE (go_modules/golang.org/x/sys/@v/v0.
 SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20220520151302-bc2c85ada10a.mod) = 33
 SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20220722155257-8c9f86f7a55f.mod) = 33
 SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20220811171246-fbc7d0a398ab.mod) = 33
-SIZE (go_modules/golang.org/x/sys/@v/v0.8.0.mod) = 33
-SIZE (go_modules/golang.org/x/sys/@v/v0.8.0.zip) = 1894928
+SIZE (go_modules/golang.org/x/sys/@v/v0.13.0.mod) = 33
+SIZE 

CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 08:21:05

Modified files:
www/webkitgtk4 : Makefile 

Log message:
tweak DPB_PROPERTIES on i386 to use parallel2 lonesome



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Caspar Schutijser
CVSROOT:/cvs
Module name:ports
Changes by: cas...@cvs.openbsd.org  2023/10/16 08:07:51

Modified files:
www/tor-browser/browser: Makefile 

Log message:
Tor Browser: add missing BDEP on py3-setuptools

Reported by naddy@, fix from landry@ (already in www/mozilla-firefox
since Dec 2022)



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 08:06:51

Modified files:
net/icinga/web2-module-director: Makefile distinfo 
net/icinga/web2-module-director/pkg: PLIST 

Log message:
update to icinga-web2-module-director-1.11.0



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Moritz Buhl
CVSROOT:/cvs
Module name:ports
Changes by: mb...@cvs.openbsd.org   2023/10/16 07:17:27

Modified files:
education  : Makefile 

Log message:
+freedict



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/10/16 07:03:42

Modified files:
infrastructure/lib/DPB: Config.pm 

Log message:
peek a bit more into the ports tree, refuse to start if bsd.port.mk
and dpb have been misconfigured to use the same LOCKDIR, as they fit
vastly different usage scenarios, and dpb will not grok bsd.port.mk(5)'s
locks, as found by tb@



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Moritz Buhl
CVSROOT:/cvs
Module name:ports
Changes by: mb...@cvs.openbsd.org   2023/10/16 07:00:57

Log message:
Import FreeDict dictionaries.

Add 203 unidirectional dictionaries in dictd format.

From https://freedict.org/:
The FreeDict project strives to be the most comprehensive source
of truly free bilingual dictionaries. They are not just free of
charge, but they give you the right to study, change and modify
them, as long as you guarantee others these freedoms, too. Founded
in 2000, FreeDict nowadays provides over 140 dictionaries in about
45 languages and thanks to its members, grows continuously.

OK kn

Status:

Vendor Tag: mbuhl
Release Tags:   mbuhl_20231016

N ports/education/freedict/Makefile.inc
N ports/education/freedict/Makefile
N ports/education/freedict/eng-deu/Makefile
N ports/education/freedict/eng-deu/distinfo
N ports/education/freedict/eng-deu/pkg/DESCR
N ports/education/freedict/eng-deu/pkg/PLIST
N ports/education/freedict/deu-eng/Makefile
N ports/education/freedict/deu-eng/distinfo
N ports/education/freedict/deu-eng/pkg/DESCR
N ports/education/freedict/deu-eng/pkg/PLIST
N ports/education/freedict/afr-deu/Makefile
N ports/education/freedict/afr-deu/distinfo
N ports/education/freedict/afr-deu/pkg/DESCR
N ports/education/freedict/afr-deu/pkg/PLIST
N ports/education/freedict/afr-eng/Makefile
N ports/education/freedict/afr-eng/distinfo
N ports/education/freedict/afr-eng/pkg/DESCR
N ports/education/freedict/afr-eng/pkg/PLIST
N ports/education/freedict/ara-eng/Makefile
N ports/education/freedict/ara-eng/distinfo
N ports/education/freedict/ara-eng/pkg/DESCR
N ports/education/freedict/ara-eng/pkg/PLIST
N ports/education/freedict/bre-fra/Makefile
N ports/education/freedict/bre-fra/distinfo
N ports/education/freedict/bre-fra/pkg/DESCR
N ports/education/freedict/bre-fra/pkg/PLIST
N ports/education/freedict/ces-eng/Makefile
N ports/education/freedict/ces-eng/distinfo
N ports/education/freedict/ces-eng/pkg/DESCR
N ports/education/freedict/ces-eng/pkg/PLIST
N ports/education/freedict/ckb-kmr/Makefile
N ports/education/freedict/ckb-kmr/distinfo
N ports/education/freedict/ckb-kmr/pkg/DESCR
N ports/education/freedict/ckb-kmr/pkg/PLIST
N ports/education/freedict/cym-eng/Makefile
N ports/education/freedict/cym-eng/distinfo
N ports/education/freedict/cym-eng/pkg/DESCR
N ports/education/freedict/cym-eng/pkg/PLIST
N ports/education/freedict/dan-eng/Makefile
N ports/education/freedict/dan-eng/distinfo
N ports/education/freedict/dan-eng/pkg/DESCR
N ports/education/freedict/dan-eng/pkg/PLIST
N ports/education/freedict/deu-bul/Makefile
N ports/education/freedict/deu-bul/distinfo
N ports/education/freedict/deu-bul/pkg/DESCR
N ports/education/freedict/deu-bul/pkg/PLIST
N ports/education/freedict/deu-ell/Makefile
N ports/education/freedict/deu-ell/distinfo
N ports/education/freedict/deu-ell/pkg/DESCR
N ports/education/freedict/deu-ell/pkg/PLIST
N ports/education/freedict/deu-fin/Makefile
N ports/education/freedict/deu-fin/distinfo
N ports/education/freedict/deu-fin/pkg/DESCR
N ports/education/freedict/deu-fin/pkg/PLIST
N ports/education/freedict/deu-fra/Makefile
N ports/education/freedict/deu-fra/distinfo
N ports/education/freedict/deu-fra/pkg/DESCR
N ports/education/freedict/deu-fra/pkg/PLIST
N ports/education/freedict/deu-ind/Makefile
N ports/education/freedict/deu-ind/distinfo
N ports/education/freedict/deu-ind/pkg/DESCR
N ports/education/freedict/deu-ind/pkg/PLIST
N ports/education/freedict/deu-ita/Makefile
N ports/education/freedict/deu-ita/distinfo
N ports/education/freedict/deu-ita/pkg/DESCR
N ports/education/freedict/deu-ita/pkg/PLIST
N ports/education/freedict/deu-kur/Makefile
N ports/education/freedict/deu-kur/distinfo
N ports/education/freedict/deu-kur/pkg/DESCR
N ports/education/freedict/deu-kur/pkg/PLIST
N ports/education/freedict/deu-nld/Makefile
N ports/education/freedict/deu-nld/distinfo
N ports/education/freedict/deu-nld/pkg/DESCR
N ports/education/freedict/deu-nld/pkg/PLIST
N ports/education/freedict/deu-pol/Makefile
N ports/education/freedict/deu-pol/distinfo
N ports/education/freedict/deu-pol/pkg/DESCR
N ports/education/freedict/deu-pol/pkg/PLIST
N ports/education/freedict/deu-por/Makefile
N ports/education/freedict/deu-por/distinfo
N ports/education/freedict/deu-por/pkg/DESCR
N ports/education/freedict/deu-por/pkg/PLIST
N ports/education/freedict/deu-rus/Makefile
N ports/education/freedict/deu-rus/distinfo
N ports/education/freedict/deu-rus/pkg/DESCR
N ports/education/freedict/deu-rus/pkg/PLIST
N ports/education/freedict/deu-spa/Makefile
N 

CVS: cvs.openbsd.org: ports

2023-10-16 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/10/16 06:42:17

Modified files:
infrastructure/lib/DPB: Locks.pm 

Log message:
be even more specific in refusing to write stuff that won't get parsed
properly



Re: new education/freedict dictionaries

2023-10-16 Thread Klemens Nanni
On Mon, Oct 16, 2023 at 01:25:40PM +0200, Moritz Buhl wrote:
> Dear ports@,
> 
> attached are 203 unidirectional dictionaries in dictd format.
> This means that each port contains at least two files:
> an index and a gz archive that allows random access.
> 
> Some of the archives also come with COPYING, INSTALL or README files.
> 
> I looked at the 00databaseinfo entry of each dictionary to determine
> the license.
> 
> You can use these files with net/dictd, kn recently sent an updated
> port to the list.  The dictionaries are also available in slob
> format but I have no use for that.
> 
> From https://freedict.org/:
> The FreeDict project strives to be the most comprehensive source
> of truly free bilingual dictionaries. They are not just free of
> charge, but they give you the right to study, change and modify
> them, as long as you guarantee others these freedoms, too. Founded
> in 2000, FreeDict nowadays provides over 140 dictionaries in about
> 45 languages and thanks to its members, grows continuously.
> 
> Any feedback?
> 
> mbuhl

All ports package/install fine with correct distinfo and PLIST.
The collection looks good.

With new textproc/goldendict (on ports@), you can add /usr/local/freedict/
and scan for installed dictionaries recursively, if you want to browse them
with a GUI rather than the CLI that is net/dictd.

Port-wise this looks OK to me, thanks.

I'd put a space between variable names and ?= as done before = already,
but that's personal taste.



Re: x11/gromit-mpx: update to 1.5.0

2023-10-16 Thread Klemens Nanni
On Sun, Oct 15, 2023 at 07:10:16PM +, Klemens Nanni wrote:
> Simple https://github.com/bk138/gromit-mpx/releases/tag/1.5.0, works for me.
> Remove default HOMEPAGE.
> 
> Patch churn due to code moving from between .[ch] files, change is the same.
> 
> Feedback? OK?

Didn't cvs add the main.h patch, thanks Laurie.


Index: Makefile
===
RCS file: /cvs/ports/x11/gromit-mpx/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile14 Aug 2023 08:28:14 -  1.4
+++ Makefile15 Oct 2023 19:03:06 -
@@ -2,12 +2,10 @@ COMMENT = draw annotations on X11
 
 GH_ACCOUNT =   bk138
 GH_PROJECT =   gromit-mpx
-GH_TAGNAME =   1.4.3
+GH_TAGNAME =   1.5.0
 
 CATEGORIES =   x11
 
-HOMEPAGE = https://github.com/bk138/gromit-mpx
-
 MAINTAINER =   Laurence Tratt 
 
 # GPLv2+
@@ -20,6 +18,8 @@ WANTLIB += pango-1.0 pangocairo-1.0
 MODULES =  devel/cmake
 
 CONFIGURE_ARGS =   -DCMAKE_INSTALL_SYSCONFDIR=share/examples
+
+BUILD_DEPENDS =devel/gettext,-tools
 
 RUN_DEPENDS =  devel/desktop-file-utils \
x11/gtk+4,-guic
Index: distinfo
===
RCS file: /cvs/ports/x11/gromit-mpx/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo14 Aug 2023 08:28:14 -  1.2
+++ distinfo15 Oct 2023 18:54:29 -
@@ -1,2 +1,2 @@
-SHA256 (gromit-mpx-1.4.3.tar.gz) = AcPjfqCXelBzSd80xHS9yTmlcoeqQc6W2e600hJ5xqQ=
-SIZE (gromit-mpx-1.4.3.tar.gz) = 1861824
+SHA256 (gromit-mpx-1.5.0.tar.gz) = vjvX3szXN1JcwEle/rXNRQ+wJScemytUyufDlWpMAGU=
+SIZE (gromit-mpx-1.5.0.tar.gz) = 1878498
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/x11/gromit-mpx/patches/patch-CMakeLists_txt,v
retrieving revision 1.3
diff -u -p -r1.3 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt14 Aug 2023 08:28:14 -  1.3
+++ patches/patch-CMakeLists_txt15 Oct 2023 18:58:13 -
@@ -3,7 +3,7 @@ Remove libappindicator support.
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -22,25 +22,18 @@ find_package(PkgConfig)
+@@ -24,25 +24,18 @@ find_package(Gettext)
  pkg_check_modules(gtk3 REQUIRED "gtk+-3.0 >= 3.22")
  pkg_check_modules(xinput REQUIRED "xi >= 1.3")
  pkg_check_modules(x11 REQUIRED x11)
@@ -29,7 +29,7 @@ Index: CMakeLists.txt
  ${xinput_LIBRARY_DIRS}
  ${x11_LIBRARY_DIRS}
  )
-@@ -62,7 +55,6 @@ add_executable(${target_name} ${sources})
+@@ -66,7 +59,6 @@ add_executable(${target_name} ${sources})
  
  target_link_libraries(${target_name}
  ${gtk3_LIBRARIES}
Index: patches/patch-src_gromit-mpx_c
===
RCS file: patches/patch-src_gromit-mpx_c
diff -N patches/patch-src_gromit-mpx_c
--- patches/patch-src_gromit-mpx_c  14 Aug 2023 08:28:14 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,42 +0,0 @@
-Remove libappindicator support.
-
-Index: src/gromit-mpx.c
 src/gromit-mpx.c.orig
-+++ src/gromit-mpx.c
-@@ -951,17 +951,6 @@ void setup_main_app (GromitData *data, int argc, char 
-   if (activate)
- acquire_grab (data, NULL); /* grab all */
- 
--  /* 
-- TRAY ICON
--  */
--  data->trayicon = app_indicator_new (PACKAGE_NAME,
--"net.christianbeier.Gromit-MPX",
--
APP_INDICATOR_CATEGORY_APPLICATION_STATUS);
--
--  app_indicator_set_status (data->trayicon, APP_INDICATOR_STATUS_ACTIVE);
--
--
--
-   /* create the menu */
-   GtkWidget *menu = gtk_menu_new ();
- 
-@@ -1087,9 +1076,6 @@ void setup_main_app (GromitData *data, int argc, char 
-   gtk_widget_show (about_item);
-   gtk_widget_show (quit_item);
- 
--
--  app_indicator_set_menu (data->trayicon, GTK_MENU(menu));
--
-   /*
- Build the support menu
-*/
-@@ -1417,8 +1403,4 @@ int main (int argc, char **argv)
- 
- void indicate_active(GromitData *data, gboolean YESNO)
- {
--if(YESNO)
--  app_indicator_set_icon(data->trayicon, 
"net.christianbeier.Gromit-MPX.active");
--else
--  app_indicator_set_icon(data->trayicon, "net.christianbeier.Gromit-MPX");
- }
Index: patches/patch-src_gromit-mpx_h
===
RCS file: patches/patch-src_gromit-mpx_h
diff -N patches/patch-src_gromit-mpx_h
--- patches/patch-src_gromit-mpx_h  14 Aug 2023 08:28:14 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,25 +0,0 @@
-Remove libappindicator support.
-
-Index: src/gromit-mpx.h
 src/gromit-mpx.h.orig
-+++ src/gromit-mpx.h
-@@ -28,11 +28,6 @@
- #include 
- #include 
- #include 
--#ifdef APPINDICATOR_IS_LEGACY
--#include 
--#else
--#include 
--#endif
- 
- #define GROMIT_MOUSE_EVENTS ( GDK_BUTTON_MOTION_MASK | \
-   GDK_BUTTON_PRESS_MASK | \
-@@ -102,7 +97,6 @@ typedef struct
- typedef struct
- {
-   GtkWidget   *win;

Re: [maintainer update] security/gosec 2.18.1

2023-10-16 Thread Daniel Jakots
On Mon, 16 Oct 2023 11:57:32 +0200 (CEST), Laurent Cheylus
 wrote:

> Hi,
> 
> a simple update for security/gosec version 2.18.1
> Changelog: https://github.com/securego/gosec/releases/tag/v2.18.1
> 
> Build and tests OK on current/amd64 with Go v1.21.1
> 
> Comments/tests welcome and please commit if OK.

Committed, thanks!



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2023/10/16 05:37:15

Modified files:
security/gosec : Makefile distinfo modules.inc 

Log message:
Update to gosec-2.18.1

>From Laurent Cheylus (maintainer)



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Kirill Bychkov
CVSROOT:/cvs
Module name:ports
Changes by: ki...@cvs.openbsd.org   2023/10/16 05:32:19

Modified files:
www/goaccess   : Makefile distinfo 

Log message:
update to goaccess-1.8



new education/freedict dictionaries

2023-10-16 Thread Moritz Buhl
Dear ports@,

attached are 203 unidirectional dictionaries in dictd format.
This means that each port contains at least two files:
an index and a gz archive that allows random access.

Some of the archives also come with COPYING, INSTALL or README files.

I looked at the 00databaseinfo entry of each dictionary to determine
the license.

You can use these files with net/dictd, kn recently sent an updated
port to the list.  The dictionaries are also available in slob
format but I have no use for that.

>From https://freedict.org/:
The FreeDict project strives to be the most comprehensive source
of truly free bilingual dictionaries. They are not just free of
charge, but they give you the right to study, change and modify
them, as long as you guarantee others these freedoms, too. Founded
in 2000, FreeDict nowadays provides over 140 dictionaries in about
45 languages and thanks to its members, grows continuously.

Any feedback?

mbuhl


freedict.tar.gz
Description: application/tar-gz


Re: [maintainer update] Python 3.11.6

2023-10-16 Thread Kurt Mosiejczuk
On Sun, Oct 15, 2023 at 05:32:13AM -0400, Kurt Mosiejczuk wrote:
> https://docs.python.org/release/3.11.6/whatsnew/changelog.html#python-3-11-6

> No security fixes but a number of other fixes. The majority in the tests
> or on other OSes (not all though).

> Regenerated patches although they applied clean with only a little slop.

> ok?

daniel@ pointed out I hadn't updated the PLISTs. Here is the version with
the updated PLIST-tests (the others did not change)

ok?

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/lang/python/3.11/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile1 Sep 2023 18:49:43 -   1.11
+++ Makefile16 Oct 2023 10:49:00 -
@@ -3,7 +3,7 @@
 # requirement of the PSF license, if it constitutes a change to
 # Python itself.
 
-FULL_VERSION = 3.11.5
+FULL_VERSION = 3.11.6
 SHARED_LIBS =  python3.11 0.0
 VERSION_SPEC = >=3.11,<3.12
 PORTROACH =limit:^3\.11
Index: distinfo
===
RCS file: /cvs/ports/lang/python/3.11/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo1 Sep 2023 18:49:43 -   1.6
+++ distinfo16 Oct 2023 10:49:00 -
@@ -1,2 +1,2 @@
-SHA256 (Python-3.11.5.tgz) = oSoKATowuEbHhsAQ8sGd02tymNiI98S9FYHZDOGLXlg=
-SIZE (Python-3.11.5.tgz) = 26571003
+SHA256 (Python-3.11.6.tgz) = wEm/MX6HfL+fzow6+QJDZ3Ts71JJop0QmEyjo39/RzY=
+SIZE (Python-3.11.6.tgz) = 26590303
Index: patches/patch-Makefile_pre_in
===
RCS file: /cvs/ports/lang/python/3.11/patches/patch-Makefile_pre_in,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-Makefile_pre_in
--- patches/patch-Makefile_pre_in   31 Oct 2022 22:05:43 -  1.1.1.1
+++ patches/patch-Makefile_pre_in   16 Oct 2023 10:49:00 -
@@ -3,7 +3,7 @@ Make bsd make happy
 Index: Makefile.pre.in
 --- Makefile.pre.in.orig
 +++ Makefile.pre.in
-@@ -533,8 +533,6 @@ LIBMPDEC_OBJS= \
+@@ -534,8 +534,6 @@ LIBMPDEC_OBJS= \
Modules/_decimal/libmpdec/numbertheory.o \
Modules/_decimal/libmpdec/sixstep.o \
Modules/_decimal/libmpdec/transpose.o
Index: patches/patch-Modules__hashopenssl_c
===
RCS file: /cvs/ports/lang/python/3.11/patches/patch-Modules__hashopenssl_c,v
retrieving revision 1.3
diff -u -p -r1.3 patch-Modules__hashopenssl_c
--- patches/patch-Modules__hashopenssl_c15 May 2023 10:45:59 -  
1.3
+++ patches/patch-Modules__hashopenssl_c16 Oct 2023 10:49:00 -
@@ -51,7 +51,7 @@ Index: Modules/_hashopenssl.c
  PY_HASH_ENTRY(NULL, NULL, NULL, 0),
  };
  
-@@ -873,11 +889,15 @@ py_evp_fromname(PyObject *module, const char *digestna
+@@ -874,11 +890,15 @@ py_evp_fromname(PyObject *module, const char *digestna
  goto exit;
  }
  
Index: patches/patch-Python_fileutils_c
===
RCS file: /cvs/ports/lang/python/3.11/patches/patch-Python_fileutils_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Python_fileutils_c
--- patches/patch-Python_fileutils_c12 Apr 2023 19:45:41 -  1.2
+++ patches/patch-Python_fileutils_c16 Oct 2023 10:49:00 -
@@ -1,7 +1,7 @@
 Index: Python/fileutils.c
 --- Python/fileutils.c.orig
 +++ Python/fileutils.c
-@@ -2599,9 +2599,9 @@ done:
+@@ -2614,9 +2614,9 @@ done:
   *non-opened fd in the middle.
   * 2b. If fdwalk(3) isn't available, just do a plain close(2) loop.
   */
Index: patches/patch-configure_ac
===
RCS file: /cvs/ports/lang/python/3.11/patches/patch-configure_ac,v
retrieving revision 1.2
diff -u -p -r1.2 patch-configure_ac
--- patches/patch-configure_ac  20 Dec 2022 23:55:22 -  1.2
+++ patches/patch-configure_ac  16 Oct 2023 10:49:00 -
@@ -49,7 +49,7 @@ Index: configure.ac
  # Any changes made here should be reflected in the GCC+Darwin case below
  PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
  PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
-@@ -3876,11 +3877,7 @@ dnl Detect Tcl/Tk. Use pkg-config if available.
+@@ -3880,11 +3881,7 @@ dnl Detect Tcl/Tk. Use pkg-config if available.
  dnl
  found_tcltk=no
  for _QUERY in \
Index: pkg/PLIST-tests
===
RCS file: /cvs/ports/lang/python/3.11/pkg/PLIST-tests,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST-tests
--- pkg/PLIST-tests 1 Sep 2023 18:49:43 -   1.5
+++ pkg/PLIST-tests 16 Oct 2023 10:49:01 -
@@ -502,30 +502,6 @@ lib/python3.11/test/__pycache__/_test_ve
 lib/python3.11/test/__pycache__/_typed_dict_helper.cpython-311.opt-1.pyc
 lib/python3.11/test/__pycache__/_typed_dict_helper.cpython-311.opt-2.pyc
 

CVS: cvs.openbsd.org: ports

2023-10-16 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2023/10/16 04:29:43

Modified files:
textproc   : Makefile 

Log message:
+apertium-regtest, +apertium-recursive



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2023/10/16 04:28:30

Log message:
Import apertium-regtest-0.9.1.

Apertium-regtest is a program for managing regression tests and corpora
for Apertium language data and translators.

ok jeremy@

Status:

Vendor Tag: bentley
Release Tags:   bentley_20231016

N ports/textproc/apertium-regtest/Makefile
N ports/textproc/apertium-regtest/distinfo
N ports/textproc/apertium-regtest/pkg/DESCR
N ports/textproc/apertium-regtest/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2023/10/16 04:27:15

Log message:
Import apertium-recursive-1.0.1.

Apertium-recursive is an alternative to apertium-transfer,
apertium-interchunk, and apertium-postchunk. It uses a GLR parser rather
than chunking and so can apply rules recursively. Rules can be written in a
format almost identical to that of apertium-transfer or in a somewhat
Yacc-like format created for this purpose.

ok jeremy@

Status:

Vendor Tag: bentley
Release Tags:   bentley_20231016

N ports/textproc/apertium-recursive/Makefile
N ports/textproc/apertium-recursive/distinfo
N ports/textproc/apertium-recursive/pkg/DESCR
N ports/textproc/apertium-recursive/pkg/PLIST
N ports/textproc/apertium-recursive/patches/patch-src_randpath_cc
N ports/textproc/apertium-recursive/patches/patch-src_rtx_comp_cc
N ports/textproc/apertium-recursive/patches/patch-src_rtx_decomp_cc
N ports/textproc/apertium-recursive/patches/patch-src_rtx_proc_cc

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2023/10/16 04:23:45

Modified files:
emulators/ppsspp: Makefile distinfo 
emulators/ppsspp/patches: patch-CMakeLists_txt 

Log message:
Update to ppsspp-1.16.6.



[maintainer update] security/gosec 2.18.1

2023-10-16 Thread Laurent Cheylus
Hi,

a simple update for security/gosec version 2.18.1
Changelog: https://github.com/securego/gosec/releases/tag/v2.18.1

Build and tests OK on current/amd64 with Go v1.21.1

Comments/tests welcome and please commit if OK.

Laurent

Index: Makefile
===
RCS file: /cvs/ports/security/gosec/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile	13 Oct 2023 16:54:00 -	1.6
+++ Makefile	16 Oct 2023 09:30:05 -
@@ -1,7 +1,7 @@
 COMMENT =	security checker for Go projects
 
 MODGO_MODNAME =	github.com/securego/gosec/v2
-MODGO_VERSION =	v2.18.0
+MODGO_VERSION =	v2.18.1
 
 DISTNAME =	gosec-${MODGO_VERSION}
 
Index: distinfo
===
RCS file: /cvs/ports/security/gosec/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo	13 Oct 2023 16:54:00 -	1.4
+++ distinfo	16 Oct 2023 09:30:07 -
@@ -606,7 +606,8 @@ SHA256 (go_modules/golang.org/x/net/@v/v
 SHA256 (go_modules/golang.org/x/net/@v/v0.10.0.mod) = 07fiNv8J5jIr5IkXAhbgGNMiGGLxoFPctj5T6rhTPBc=
 SHA256 (go_modules/golang.org/x/net/@v/v0.14.0.mod) = J5QJ9uHSLmOn4Mk3QOYvDhLmTVOnzEi6MpGYxDOCvRI=
 SHA256 (go_modules/golang.org/x/net/@v/v0.16.0.mod) = y6YYS4uODVRWC/WmXxNszXanNMScBm7YA+twvQbBdpY=
-SHA256 (go_modules/golang.org/x/net/@v/v0.16.0.zip) = FLtSKaQ0fI3DLKGAPGg4kMM+5+YJ8dayVP1eZJT1d0o=
+SHA256 (go_modules/golang.org/x/net/@v/v0.17.0.mod) = y6YYS4uODVRWC/WmXxNszXanNMScBm7YA+twvQbBdpY=
+SHA256 (go_modules/golang.org/x/net/@v/v0.17.0.zip) = 2ZQo6Vr2/Y/cIyhdabj258UslkyZApXkUYNxjjPr61o=
 SHA256 (go_modules/golang.org/x/oauth2/@v/v0.0.0-20180821212333-d2e6202438be.mod) = y7thjah9T5Q7VL/U9NOi//NhApjwT77rPbOIywdfNRo=
 SHA256 (go_modules/golang.org/x/oauth2/@v/v0.0.0-20190226205417-e64efc72b421.mod) = hp9E5OzVzaUxZVEKMIUVZw3X7ckgBegHnKClyGRSmys=
 SHA256 (go_modules/golang.org/x/oauth2/@v/v0.0.0-20190604053449-0f29369cfe45.mod) = hp9E5OzVzaUxZVEKMIUVZw3X7ckgBegHnKClyGRSmys=
@@ -876,7 +877,7 @@ SHA256 (go_modules/rsc.io/sampler/@v/v1.
 SHA256 (go_modules/rsc.io/sampler/@v/v1.3.0.zip) = 2iArDagDqyZhq5imgLuk9kEjoyblQMJVgrbNu53BFKo=
 SHA256 (go_modules/sigs.k8s.io/yaml/@v/v1.1.0.mod) = JC1yDRxq7+SjBcM0GoBXXhmlRRelO2IPjOKMKW5R06o=
 SHA256 (go_modules/sigs.k8s.io/yaml/@v/v1.1.0.zip) = oNOSUuhmWkKKjLnU38nL6ge3rpCuYufPNlG+cZrfUVo=
-SHA256 (gosec-v2.18.0.zip) = mr9lbWDno3RgcaTETWboKw0eIi0rIvOKTOQ6FDaQSu8=
+SHA256 (gosec-v2.18.1.zip) = RtcWfmszsyy1zlhNAoM+pPxmSNmCM46DXelCNOKEyrA=
 SIZE (go_modules/bitbucket.org/creachadair/shell/@v/v0.0.6.mod) = 48
 SIZE (go_modules/bitbucket.org/creachadair/shell/@v/v0.0.6.zip) = 8344
 SIZE (go_modules/cloud.google.com/go/@v/v0.26.0.mod) = 27
@@ -1485,7 +1486,8 @@ SIZE (go_modules/golang.org/x/net/@v/v0.
 SIZE (go_modules/golang.org/x/net/@v/v0.10.0.mod) = 123
 SIZE (go_modules/golang.org/x/net/@v/v0.14.0.mod) = 155
 SIZE (go_modules/golang.org/x/net/@v/v0.16.0.mod) = 155
-SIZE (go_modules/golang.org/x/net/@v/v0.16.0.zip) = 1823713
+SIZE (go_modules/golang.org/x/net/@v/v0.17.0.mod) = 155
+SIZE (go_modules/golang.org/x/net/@v/v0.17.0.zip) = 1824828
 SIZE (go_modules/golang.org/x/oauth2/@v/v0.0.0-20180821212333-d2e6202438be.mod) = 27
 SIZE (go_modules/golang.org/x/oauth2/@v/v0.0.0-20190226205417-e64efc72b421.mod) = 233
 SIZE (go_modules/golang.org/x/oauth2/@v/v0.0.0-20190604053449-0f29369cfe45.mod) = 233
@@ -1755,4 +1757,4 @@ SIZE (go_modules/rsc.io/sampler/@v/v1.3.
 SIZE (go_modules/rsc.io/sampler/@v/v1.3.0.zip) = 14308
 SIZE (go_modules/sigs.k8s.io/yaml/@v/v1.1.0.mod) = 24
 SIZE (go_modules/sigs.k8s.io/yaml/@v/v1.1.0.zip) = 18120
-SIZE (gosec-v2.18.0.zip) = 200794
+SIZE (gosec-v2.18.1.zip) = 201259
Index: modules.inc
===
RCS file: /cvs/ports/security/gosec/modules.inc,v
retrieving revision 1.5
diff -u -p -r1.5 modules.inc
--- modules.inc	13 Oct 2023 16:54:00 -	1.5
+++ modules.inc	16 Oct 2023 09:30:07 -
@@ -183,7 +183,7 @@ MODGO_MODULES =	\
 	golang.org/x/lint	 v0.0.0-20210508222113-6edffad5e616 \
 	golang.org/x/mobile	 v0.0.0-20190719004257-d2bd2a29d028 \
 	golang.org/x/mod	 v0.13.0 \
-	golang.org/x/net	 v0.16.0 \
+	golang.org/x/net	 v0.17.0 \
 	golang.org/x/oauth2	 v0.0.0-20200107190931-bf48bf16ab8d \
 	golang.org/x/sync	 v0.4.0 \
 	golang.org/x/sys	 v0.13.0 \
@@ -454,6 +454,7 @@ MODGO_MODFILES =	\
 	golang.org/x/net	 v0.0.0-20201110031124-69a78807bb2b \
 	golang.org/x/net	 v0.10.0 \
 	golang.org/x/net	 v0.14.0 \
+	golang.org/x/net	 v0.16.0 \
 	golang.org/x/oauth2	 v0.0.0-20180821212333-d2e6202438be \
 	golang.org/x/oauth2	 v0.0.0-20190226205417-e64efc72b421 \
 	golang.org/x/oauth2	 v0.0.0-20190604053449-0f29369cfe45 \


CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 02:43:08

Modified files:
devel/py-pathspec: Makefile distinfo 

Log message:
update to py3-pathspec-0.11.2



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Sebastien Marie
CVSROOT:/cvs
Module name:ports
Changes by: sema...@cvs.openbsd.org 2023/10/16 02:41:24

Modified files:
lang/sbcl  : Makefile 
lang/sbcl/pkg  : PLIST 

Log message:
lang/sbcl: remove sb-simd on amd64

it requires AVX2 support on the build machine, else the files aren't generated 
and make the packaging to fail.
so don't package them.

reported by espie@



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 02:35:18

Modified files:
databases/py-odbc: Makefile distinfo 
databases/py-odbc/patches: patch-src_connection_cpp 

Log message:
update to py3-odbc-5.0.1



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 02:35:12

Modified files:
databases/py-sqlobject: Makefile distinfo 

Log message:
update to py3-sqlobject-3.10.2



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 02:34:12

Modified files:
databases/py-peewee: Makefile distinfo 

Log message:
update to py3-peewee-3.17.0



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 02:32:34

Modified files:
devel/py-pluggy: Makefile distinfo 
devel/py-pluggy/pkg: PLIST 

Log message:
update to py3-pluggy-1.3.0



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 02:27:48

Modified files:
devel/py-parsing: Makefile distinfo 

Log message:
update to py3-parsing-3.1.1



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/10/16 02:13:17

Modified files:
infrastructure/lib/DPB: Locks.pm 

Log message:
save and show more info for problematic logfiles



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 02:02:47

Modified files:
devel/py-stack_data: Makefile distinfo 

Log message:
update to py3-stack_data-0.6.3



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 02:02:39

Modified files:
devel/py-sh: Makefile distinfo 
devel/py-sh/pkg: PLIST 

Log message:
update to py3-sh-2.0.6



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:56:04

Modified files:
devel/py-pyproject-api: Makefile distinfo 

Log message:
update to py3-pyproject_api-1.6.1



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2023/10/16 01:55:00

Modified files:
infrastructure/lib/DPB: Vars.pm 

Log message:
improve error messages: save previous non-sensical lines in the state
machine, so that "exiting with an error" tells exactly how dump-vars
failed without needing to dig up Var.pm



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:53:33

Modified files:
devel/py-regex : Makefile distinfo 

Log message:
update to py3-regex-2023.10.3



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:51:28

Modified files:
devel/py-sure  : Makefile distinfo 

Log message:
update to py3-sure-2.0.1



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:50:22

Modified files:
mail/exim  : Tag: OPENBSD_7_4 Makefile distinfo 

Log message:
update to exim-4.96.2, from Renaud Allard (maintainer)
security fixes for dnsdb lookups and the proxy protocol



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:49:41

Modified files:
mail/exim  : Makefile distinfo 

Log message:
update to exim-4.96.2, from Renaud Allard (maintainer)
security fixes for dnsdb lookups and the proxy protocol



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:48:04

Modified files:
devel  : Makefile 

Log message:
unhook py-simplejson (py2)



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:47:19

Modified files:
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 
devel/py-simplejson: Makefile distinfo 
devel/py-simplejson/pkg: PLIST 

Log message:
update to oy3-simplejson-3.19.2
move to py3-only and MODPY_PYBUILD now that floss has been marked BROKEN



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:44:01

Modified files:
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 

Log message:
quirk for py-snack



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:43:09

Modified files:
audio/snack: Makefile 
audio/snack/pkg: PLIST-main 
Removed files:
audio/snack/pkg: DESCR-python PLIST-python 

Log message:
drop py2-only unused py-snack subpackage, maintainer timeout, ok kn



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:35:30

Modified files:
print/pdfarranger: Makefile distinfo 

Log message:
update to pdfarranger-1.10.1



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:23:16

Modified files:
www/tomcat/v9  : Makefile distinfo 

Log message:
update to tomcat-9.0.82



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:23:11

Modified files:
databases/freetds: Makefile distinfo 

Log message:
update to freetds-1.4.3



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:23:02

Modified files:
textproc/oniguruma: Makefile distinfo 
textproc/oniguruma/pkg: DESCR 

Log message:
update to oniguruma-6.9.9



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/10/16 01:22:41

Modified files:
devel/py-rich  : Makefile distinfo 

Log message:
update to py3-rich-13.6.0



CVS: cvs.openbsd.org: ports

2023-10-16 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2023/10/16 01:17:29

Modified files:
x11/gnome/gcr  : Makefile 
x11/gnome/gcr/pkg: PLIST 
x11/gnome/gcr4 : Makefile 
x11/gnome/gcr4/pkg: PLIST 

Log message:
Move gcr-ssh-agent to gcr4.



[security] exim-4.96.2

2023-10-16 Thread Renaud Allard

Hello,

Here is a simple diff against exim to solve the remaining security 
issues (apart from libspf2 which is solved in libspf2).


The current latest official release is now: exim-4.96.2

- fixed issues with the proxy protocol.
- fixed issues in the `dnsdb` lookup subsystem.
- The remaining issue with `libspf2`, raised as CVE against Exim, can't
  be addressed by exim team, as it seems to happen inside the library's 
code.

  Library fixes are available.

Best RegardsIndex: Makefile
===
RCS file: /cvs/ports/mail/exim/Makefile,v
retrieving revision 1.144
diff -u -p -r1.144 Makefile
--- Makefile	2 Oct 2023 21:17:01 -	1.144
+++ Makefile	16 Oct 2023 06:23:44 -
@@ -1,12 +1,11 @@
 COMMENT-main =		flexible mail transfer agent
 COMMENT-eximon =	X11 monitor tool for Exim MTA
 
-VERSION =		4.96.1
+VERSION =		4.96.2
 DISTNAME =		exim-${VERSION}
 PKGNAME-main =		exim-${VERSION}
 FULLPKGNAME-eximon =	exim-eximon-${VERSION}
 FULLPKGPATH-eximon =	${PKGPATH},-eximon
-REVISION-main =		0
 
 CATEGORIES =		mail
 
Index: distinfo
===
RCS file: /cvs/ports/mail/exim/distinfo,v
retrieving revision 1.45
diff -u -p -r1.45 distinfo
--- distinfo	2 Oct 2023 21:17:01 -	1.45
+++ distinfo	16 Oct 2023 06:23:44 -
@@ -1,2 +1,2 @@
-SHA256 (exim-4.96.1.tar.gz) = bQaEXgfGmefau+HKHt8j/osXCD3J/gc28LSpA1GscI4=
-SIZE (exim-4.96.1.tar.gz) = 2587066
+SHA256 (exim-4.96.2.tar.gz) = oOX7lRDU4HcE0ffKi0Mq4GnTxSKzHOfvX3tJmK53elM=
+SIZE (exim-4.96.2.tar.gz) = 2587523


smime.p7s
Description: S/MIME Cryptographic Signature