UPDATE: devel/cmake (bulk build)

2022-08-07 Thread Rafael Sadowski
Update CMake to the latest version. Could someone throw it into a bulk
build for me?

Thanks, Rafael

Index: Makefile
===
RCS file: /cvs/ports/devel/cmake/Makefile,v
retrieving revision 1.215
diff -u -p -u -p -r1.215 Makefile
--- Makefile31 Jul 2022 20:40:36 -  1.215
+++ Makefile8 Aug 2022 05:43:15 -
@@ -2,7 +2,7 @@ DPB_PROPERTIES =parallel
 
 COMMENT =  portable build system
 
-VER =  3.23.3
+VER =  3.24.0
 EPOCH =0
 DISTNAME = cmake-${VER}
 CATEGORIES =   devel
Index: distinfo
===
RCS file: /cvs/ports/devel/cmake/distinfo,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 distinfo
--- distinfo31 Jul 2022 20:40:36 -  1.65
+++ distinfo8 Aug 2022 05:43:15 -
@@ -1,2 +1,2 @@
-SHA256 (cmake-3.23.3.tar.gz) = Bv768K2UmJcktW9zMJPCYj9vhDVuW+uVWVf5zj7iiAk=
-SIZE (cmake-3.23.3.tar.gz) = 9988050
+SHA256 (cmake-3.24.0.tar.gz) = wrYffN7LFXbK0l+Rio9CuGhdiKgy/UtiueD6MukVplg=
+SIZE (cmake-3.24.0.tar.gz) = 10395167
Index: patches/patch-Modules_Compiler_GNU_cmake
===
RCS file: /cvs/ports/devel/cmake/patches/patch-Modules_Compiler_GNU_cmake,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 patch-Modules_Compiler_GNU_cmake
--- patches/patch-Modules_Compiler_GNU_cmake11 Mar 2022 18:49:50 -  
1.18
+++ patches/patch-Modules_Compiler_GNU_cmake8 Aug 2022 05:43:15 -
@@ -1,7 +1,7 @@
 Index: Modules/Compiler/GNU.cmake
 --- Modules/Compiler/GNU.cmake.orig
 +++ Modules/Compiler/GNU.cmake
-@@ -53,10 +53,17 @@ macro(__compiler_gnu lang)
+@@ -54,10 +54,17 @@ macro(__compiler_gnu lang)
  
# Initial configuration flags.
string(APPEND CMAKE_${lang}_FLAGS_INIT " ")
Index: patches/patch-Source_cmFileCommand_cxx
===
RCS file: /cvs/ports/devel/cmake/patches/patch-Source_cmFileCommand_cxx,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 patch-Source_cmFileCommand_cxx
--- patches/patch-Source_cmFileCommand_cxx  29 May 2022 00:30:31 -  
1.8
+++ patches/patch-Source_cmFileCommand_cxx  8 Aug 2022 05:43:15 -
@@ -1,7 +1,7 @@
 Index: Source/cmFileCommand.cxx
 --- Source/cmFileCommand.cxx.orig
 +++ Source/cmFileCommand.cxx
-@@ -1761,6 +1761,13 @@ bool HandleDownloadCommand(std::vector co
+@@ -1762,6 +1762,13 @@ bool HandleDownloadCommand(std::vector co
++i;
std::string file;
  
@@ -15,7 +15,7 @@ Index: Source/cmFileCommand.cxx
long timeout = 0;
long inactivity_timeout = 0;
std::string logVar;
-@@ -2135,6 +2142,12 @@ bool HandleUploadCommand(std::vector cons
+@@ -2166,6 +2173,12 @@ bool HandleUploadCommand(std::vector cons
   cmExecutionStatus& status)
  {
  #if !defined(CMAKE_BOOTSTRAP)
Index: patches/patch-Source_cmFindPackageCommand_cxx
===
RCS file: /cvs/ports/devel/cmake/patches/patch-Source_cmFindPackageCommand_cxx,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-Source_cmFindPackageCommand_cxx
--- patches/patch-Source_cmFindPackageCommand_cxx   28 May 2022 06:18:52 
-  1.3
+++ patches/patch-Source_cmFindPackageCommand_cxx   8 Aug 2022 05:43:15 
-
@@ -3,7 +3,7 @@ Disable find_package QUIET option in ope
 Index: Source/cmFindPackageCommand.cxx
 --- Source/cmFindPackageCommand.cxx.orig
 +++ Source/cmFindPackageCommand.cxx
-@@ -257,7 +257,13 @@ bool cmFindPackageCommand::InitialPass(std::vector moduleArgs;
for (unsigned int i = 1; i < args.size(); ++i) {
  if (args[i] == "QUIET") {
@@ -16,5 +16,5 @@ Index: Source/cmFindPackageCommand.cxx
 +  }
 +  this->Quiet = quiet;
doing = DoingNone;
- } else if (args[i] == "EXACT") {
-   this->VersionExact = true;
+ } else if (args[i] == "BYPASS_PROVIDER") {
+   bypassProvider = true;
Index: patches/patch-Source_cmGeneratorTarget_cxx
===
RCS file: /cvs/ports/devel/cmake/patches/patch-Source_cmGeneratorTarget_cxx,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 patch-Source_cmGeneratorTarget_cxx
--- patches/patch-Source_cmGeneratorTarget_cxx  14 Jun 2022 10:26:13 -  
1.20
+++ patches/patch-Source_cmGeneratorTarget_cxx  8 Aug 2022 05:43:15 -
@@ -1,7 +1,7 @@
 Index: Source/cmGeneratorTarget.cxx
 --- Source/cmGeneratorTarget.cxx.orig
 +++ Source/cmGeneratorTarget.cxx
-@@ -5115,6 +5115,50 @@ cmGeneratorTarget::Names cmGeneratorTarget::GetLibrary
+@@ -5139,6 +5139,50 @@ cmGeneratorTarget::Names cmGeneratorTarget::GetLibrary
// The library name.
targetNames.Output = prefix + targetNames.Base + suffix;
  
Index: patches/patch-Source_cmGlobalGenerator_cxx
===
RCS file: 

CVS: cvs.openbsd.org: ports

2022-08-07 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2022/08/07 23:24:16

Modified files:
www/lighttpd   : Makefile distinfo 

Log message:
Update to lighttpd 1.4.66.

- 1.4.66 - 2022-08-07
* [core] h2: optim: send window update in 16k units
* [mod_magnet] reset for http-response-send-file
* [multiple] fix json encoding
* [core] buffer_append_bs_escaped_json()
* [autoconf] update ax_prog_cc_for_build.m4
* [doc] add libdeflate to INSTALL
* [mod_webdav] cold func if xml reqbody w/o db conf
* [mod_webdav] check reqbody Content-Type is XML
* [doc] more consistent use of vars in examples
* [core] do not load indexfile, dirlisting if unused
* [mod_dirlisting] send ETag, Cache-Control w/ cache
* [mod_openssl] compile compat w/ openssl < 1.1.0
* [mod_webdav] webdav_reqbody_type_xml() fixes
* [core] clarify server.username = "root" error msg
* [mod_wolfssl] compat with older wolfssl versions
* [core] fix li_base64_dec() on whitespace
* [core] perf tweak buffer_eq_icase_ssn()
* [mod_deflate] fix use of libdeflate for files>128k (fixes #3161)
* [core] fix buffer_substr_replace() extend (fixes #3160)
* [mod_webdav] build with Android NDK
* [core] check r->http_status before handling Range
* [core] preprocessor option to force crypto lib
* [core] fix SIGUSR1 graceful restart w/ TLS (fixes #3164)
* [mod_authn_gssapi] warn if no confidentiality flag (fixes #3163)
* [mod_wstunnel] fix crash with bad hybivers (fixes #3165)
* [core] perf: adjust max h2 stream send increment
* [core] fix HTTP/2 downloads >= 4GiB (fixes #3166)

Update diff from Brad, thanks



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2022/08/07 23:23:20

Modified files:
multimedia/svt-av1: Makefile distinfo 
Removed files:
multimedia/svt-av1/patches: patch-CMakeLists_txt 

Log message:
Update to SVT-AV1 1.2.0.

## [1.2.0] - 2022-08-02

Encoder
- Improve CRF preset tradeoffs for both the default and fast-decode modes
- Improve the SSIM-based tradeoffs of the presets without impacting those of 
PSNR / VMAF
- Improve CBR mode by enhancing the bit-distribution within the gop
- Added support for reference frame scaling
- Added support for quantization matrices
- Added svtparams patches applicable to ffmpeg 4.4
- AVX2 optimizations for low-delay mode
- TPL-based VBR mode improvements
- Improved Chroma RDOQ
- Improve TPL QP Scaling
- Add length info to ivf header
- Fix support for metadata pass-through
- Add ability to specify Chroma and Luma qindex offsets independently on top of 
CRF qp assignments

Build, Cleanup and Documentation
- Fix multiple API documentation mismatches
- Updated features documentation
- Various functional bug fixes

Update diff from Brad, thanks



[big-endian] unbreak graphics/freeimage

2022-08-07 Thread George Koehler
Hello ports list,

BE_ARCHS can't build graphics/freeimage, because its big-endian code
gives errors like,

Source/FreeImage/PluginBMP.cpp:1422:14: error: use of undeclared identifier 'bpp
'
} else if (bpp == 16) {
   ^

This diff, from an upstream commit, fixes the build for me on
big-endian powerpc and powerpc64.  It unblocks some other packages,
at least graphics/imv (an image viewer).  I tried to run imv on
powerpc, but it got stuck on the cpu and failed to show any image.
I can view images with imv on little-endian amd64, after I built
freeimage with this diff.

ok to commit this diff?

Index: Makefile
===
RCS file: /cvs/ports/graphics/freeimage/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile4 Aug 2022 19:03:14 -   1.20
+++ Makefile7 Aug 2022 21:27:51 -
@@ -3,7 +3,7 @@ COMMENT=c++ library for common image f
 DISTNAME=  FreeImage3180
 PKGNAME=   freeimage-3.18.0
 CATEGORIES=graphics
-REVISION=  0
+REVISION=  1
 
 SHARED_LIBS+=  freeimage   3.0
 
Index: patches/patch-Source_FreeImage_PluginBMP_cpp
===
RCS file: patches/patch-Source_FreeImage_PluginBMP_cpp
diff -N patches/patch-Source_FreeImage_PluginBMP_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Source_FreeImage_PluginBMP_cpp7 Aug 2022 21:27:51 
-
@@ -0,0 +1,43 @@
+fixed PluginBMP, PluginDDS for compilation under Big Endian OS (see
+FREEIMAGE_BIGENDIAN)
+https://sourceforge.net/p/freeimage/svn/1809/
+
+Index: Source/FreeImage/PluginBMP.cpp
+--- Source/FreeImage/PluginBMP.cpp.orig
 Source/FreeImage/PluginBMP.cpp
+@@ -518,7 +518,7 @@ LoadWindowsBMP(FreeImageIO *io, fi_handle handle, int 
+   io->read_proc(FreeImage_GetPalette(dib), 
used_colors * sizeof(RGBQUAD), 1, handle);
+ #if FREEIMAGE_COLORORDER == FREEIMAGE_COLORORDER_RGB
+   RGBQUAD *pal = FreeImage_GetPalette(dib);
+-  for(int i = 0; i < used_colors; i++) {
++  for(unsigned i = 0; i < used_colors; i++) {
+   INPLACESWAP(pal[i].rgbRed, 
pal[i].rgbBlue);
+   }
+ #endif
+@@ -1419,7 +1419,7 @@ Save(FreeImageIO *io, FIBITMAP *dib, fi_handle handle,
+ 
+   free(buffer);
+ #ifdef FREEIMAGE_BIGENDIAN
+-  } else if (bpp == 16) {
++  } else if (dst_bpp == 16) {
+   int padding = dst_pitch - dst_width * sizeof(WORD);
+   WORD pad = 0;
+   WORD pixel;
+@@ -1440,7 +1440,7 @@ Save(FreeImageIO *io, FIBITMAP *dib, fi_handle handle,
+   }
+ #endif
+ #if FREEIMAGE_COLORORDER == FREEIMAGE_COLORORDER_RGB
+-  } else if (bpp == 24) {
++  } else if (dst_bpp == 24) {
+   int padding = dst_pitch - dst_width * sizeof(FILE_BGR);
+   DWORD pad = 0;
+   FILE_BGR bgr;
+@@ -1461,7 +1461,7 @@ Save(FreeImageIO *io, FIBITMAP *dib, fi_handle handle,
+   }
+   }
+   }
+-  } else if (bpp == 32) {
++  } else if (dst_bpp == 32) {
+   FILE_BGRA bgra;
+   for(unsigned y = 0; y < dst_height; y++) {
+   BYTE *line = FreeImage_GetScanLine(dib, y);
Index: patches/patch-Source_FreeImage_PluginDDS_cpp
===
RCS file: patches/patch-Source_FreeImage_PluginDDS_cpp
diff -N patches/patch-Source_FreeImage_PluginDDS_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Source_FreeImage_PluginDDS_cpp7 Aug 2022 21:27:51 
-
@@ -0,0 +1,22 @@
+fixed PluginBMP, PluginDDS for compilation under Big Endian OS (see
+FREEIMAGE_BIGENDIAN)
+https://sourceforge.net/p/freeimage/svn/1809/
+
+Index: Source/FreeImage/PluginDDS.cpp
+--- Source/FreeImage/PluginDDS.cpp.orig
 Source/FreeImage/PluginDDS.cpp
+@@ -356,14 +356,6 @@ SwapHeader(DDSHEADER *header) {
+   for(int i=0; i<11; i++) {
+   SwapLong(>surfaceDesc.dwReserved1[i]);
+   }
+-  SwapLong(>surfaceDesc.ddpfPixelFormat.dwSize);
+-  SwapLong(>surfaceDesc.ddpfPixelFormat.dwFlags);
+-  SwapLong(>surfaceDesc.ddpfPixelFormat.dwFourCC);
+-  SwapLong(>surfaceDesc.ddpfPixelFormat.dwRGBBitCount);
+-  SwapLong(>surfaceDesc.ddpfPixelFormat.dwRBitMask);
+-  SwapLong(>surfaceDesc.ddpfPixelFormat.dwGBitMask);
+-  SwapLong(>surfaceDesc.ddpfPixelFormat.dwBBitMask);
+-  SwapLong(>surfaceDesc.ddpfPixelFormat.dwRGBAlphaBitMask);
+   SwapLong(>surfaceDesc.ddsCaps.dwCaps1);
+   

Re: games/arx-libertatis on riscv64: fix riscv64

2022-08-07 Thread Thomas Frohwein
ok with me, please commit. I'm still moving cross-country and therefore very 
short on time.

On Sun, Aug 7, 2022, at 4:56 PM, Jeremie Courreges-Anglas wrote:
> This diff has been in riscv64 snaps since some time already, I don't
> know how to fix the build with LTO enabled.  The error message is in the
> diff below.
>
> ok?
>
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/games/arx-libertatis/Makefile,v
> retrieving revision 1.13
> diff -u -p -r1.13 Makefile
> --- Makefile  28 May 2022 06:19:59 -  1.13
> +++ Makefile  3 Jul 2022 22:35:55 -
> @@ -39,6 +39,12 @@ CONFIGURE_ARGS =   -DBUILD_CRASHHANDLER=OF
>   -DCMAKE_INSTALL_PREFIX=${LOCALBASE}/share/arx \
>   -DUNITY_BUILD=OFF
> 
> +# ld: error: linking module flags 'SmallDataLimit': IDs have 
> conflicting values in
> +# 'CMakeFiles/common.dir/src/io/log/ConsoleLogger.cpp.o' and 
> 'ld-temp.o'
> +.if ${MACHINE_ARCH} == "riscv64"
> +CONFIGURE_ARGS +=-DUSE_LTO=OFF
> +.endif
> +
>  MODCMAKE_LDFLAGS =   -lpthread
> 
>  PORTHOME =   ${WRKDIR}
>
>
> -- 
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



games/arx-libertatis on riscv64: fix riscv64

2022-08-07 Thread Jeremie Courreges-Anglas


This diff has been in riscv64 snaps since some time already, I don't
know how to fix the build with LTO enabled.  The error message is in the
diff below.

ok?


Index: Makefile
===
RCS file: /cvs/ports/games/arx-libertatis/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile28 May 2022 06:19:59 -  1.13
+++ Makefile3 Jul 2022 22:35:55 -
@@ -39,6 +39,12 @@ CONFIGURE_ARGS = -DBUILD_CRASHHANDLER=OF
-DCMAKE_INSTALL_PREFIX=${LOCALBASE}/share/arx \
-DUNITY_BUILD=OFF
 
+# ld: error: linking module flags 'SmallDataLimit': IDs have conflicting 
values in
+# 'CMakeFiles/common.dir/src/io/log/ConsoleLogger.cpp.o' and 'ld-temp.o'
+.if ${MACHINE_ARCH} == "riscv64"
+CONFIGURE_ARGS +=  -DUSE_LTO=OFF
+.endif
+
 MODCMAKE_LDFLAGS = -lpthread
 
 PORTHOME = ${WRKDIR}


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



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Kurt Miller
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/08/07 15:55:37

Modified files:
devel/jdk/17   : Makefile distinfo 

Log message:
Update to 17.0.4 GA:
* Contains many upstream bug fixes which can be found in the release notes
here:
https://foojay.io/java-17/?quarter=072022=allissues
https://openjdk.org/groups/vulnerability/advisories/2022-07-19
* Update bootstraps
okay sthen@



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Kurt Miller
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/08/07 15:53:29

Modified files:
devel/jdk/11   : Makefile distinfo 

Log message:
Update to 11.0.16 GA:
* Contains many upstream bug fixes which can be found in the release
notes here:
https://foojay.io/java-11/?quarter=072022=allissues
https://openjdk.org/groups/vulnerability/advisories/2022-07-19
* Update bootstraps
okay sthen@



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Kurt Miller
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2022/08/07 15:49:38

Modified files:
devel/jdk/1.8  : Makefile distinfo 
Removed files:
devel/jdk/1.8/patches: 
   
patch-hotspot_src_cpu_aarch64_vm_pauth_aarch64_hpp 
   
patch-hotspot_src_os_cpu_bsd_aarch64_vm_pauth_bsd_aarch64_inline_hpp 
   patch-make_common_MakeBase_gmk 

Log message:
Update to 8u342 GA:
* Contains many upstream bug fixes which can be found in the release
notes here:
https://foojay.io/java-8/?tab=allissues=openjdk8u342
https://openjdk.org/groups/vulnerability/advisories/2022-07-19
* Update bootstraps and strip debuginfo from them to keep them as small
as possible
okay sthen@



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Pavel Korovin
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2022/08/07 15:35:53

Modified files:
net/mattermost-server: Makefile distinfo 
net/mattermost-server/patches: patch-config_config_json 
   patch-utils_fileutils_fileutils_go 
net/mattermost-server/pkg: PLIST 

Log message:
Update mattermost-server 6.7.2 -> 7.1.2
Changelog: https://docs.mattermost.com/install/self-managed-changelog.html
Switched to vendored distfile



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Pavel Korovin
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2022/08/07 15:25:05

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

Log message:
Update ansible 6.1.0 -> 6.2.0
Changelog: 
https://github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst#v6-2-0



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2022/08/07 15:06:33

Modified files:
devel  : Makefile 

Log message:
Add binutils.



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2022/08/07 15:02:22

Added files:
devel/binutils : Makefile 

Log message:
binutils: resolve conflict which happened during import.

There used to be a binutils port which was removed in 2004, which created
a merge conflict when using portimport.

Add Makefile manually to fix the issue.



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2022/08/07 14:55:23

Modified files:
emulators/bochs: Makefile 

Log message:
Enable Cirrus support in Bochs

Requested and tested by  Manuel 



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2022/08/07 14:52:59

Modified files:
fonts/font-awesome: Makefile distinfo 

Log message:
Update font-awesome to 6.1.2



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Lucas Raab
CVSROOT:/cvs
Module name:ports
Changes by: lr...@cvs.openbsd.org   2022/08/07 14:44:54

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

Log message:
sysutils/grafana: update to 9.0.6

9.0.5 changelog:
https://github.com/grafana/grafana/releases/tag/v9.0.5

9.0.6 changelog:
https://github.com/grafana/grafana/releases/tag/v9.0.6

OK sthen@ and landry@



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2022/08/07 14:44:09

Log message:
Import devel/binutils.

This package contains the following GNU binary utilities:

- addr2line - Converts addresses into filenames and line numbers.
- ar - A utility for creating, modifying and extracting from archives.
- c++filt - Filter to demangle encoded C++ symbols.
- elfedit - Update ELF header and program property of ELF files.
- nm - Lists symbols from object files.
- objcopy - Copies and translates object files.
- objdump - Displays information from object files.
- ranlib - Generates an index to the contents of an archive.
- readelf - Displays information from any ELF format object file.
- size - Lists the section sizes of an object or archive file.
- strings - Lists printable strings from files.
- strip - Discards symbols.

All installed utilities have the 'g' prefix prepended to the binary
name.

OK sthen@

Status:

Vendor Tag: fcambus
Release Tags:   fcambus_20220807

C ports/devel/binutils/Makefile
N ports/devel/binutils/distinfo
N ports/devel/binutils/pkg/DESCR
N ports/devel/binutils/pkg/PLIST

1 conflicts created by this import.
Use the following command to help the merge:

cvs checkout -jfcambus:yesterday -jfcambus ports/devel/binutils



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Lucas Raab
CVSROOT:/cvs
Module name:ports
Changes by: lr...@cvs.openbsd.org   2022/08/07 14:41:02

Modified files:
databases/py-influxdb_client: Makefile distinfo 
databases/py-influxdb_client/pkg: PLIST 

Log message:
databases/py-influxdb_client: update to 1.31.0

changelog:
Features
Add possibility to initialize client by json file
Improve Query UX - simplify serialization to JSON and add
possibility to serialize query results as a flattened list of
values

Bug Fixes
Redact the Authorization HTTP header from log

OK sthen@



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Caspar Schutijser
CVSROOT:/cvs
Module name:ports
Changes by: cas...@cvs.openbsd.org  2022/08/07 13:22:11

Modified files:
www/firefox-esr: Makefile 
www/firefox-esr/pkg: README 

Log message:
www/firefox-esr: mention sysctl kern.video.record in pkg-readme
since sysctl kern.audio.record is already mentioned.

OK landry@



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Caspar Schutijser
CVSROOT:/cvs
Module name:ports
Changes by: cas...@cvs.openbsd.org  2022/08/07 13:21:20

Modified files:
www/mozilla-firefox: Makefile 
www/mozilla-firefox/pkg: README 

Log message:
www/mozilla-firefox: mention sysctl kern.video.record in pkg-readme
since sysctl kern.audio.record is already mentioned.

OK landry@



Re: NEW: devel/rizin

2022-08-07 Thread Gonzalo Rodriguez




On 8/6/22 15:17, Edd Barrett wrote:

Hi,

Here's a port of rizin, a reverse engineering tool (and a fork of radare2).

This will be needed to bring back devel/cutter.

This can co-exist with radare2 without issue.

I'll now try to get cutter to use this.



Thank you for this!

I am glad that mine wasn't that far from yours :)

Works fine here!



Re: wayland/input-event-codes: new port for wayland compat (bulk wanted)

2022-08-07 Thread Theo Buehler
> The port itself is very simple, but the fallout to have ports picking 
>  is somehow important.
> 
> If possible, I would like to have a bulk build with wayland/input-event-codes 
> installed, in order to see if the presence of linux/input.h header makes 
> problems or not.

The bulk finished with pulseaudio knocking out a good chunk of the tree:

Elapsed time=1 day 10:43:34
I=10642 B=133 Q=0 T=513 F=1 !=83
E=games/bzflag graphics/gimp/stable audio/pulseaudio

$ grep -R 'linux/input\.h' .
./x11/xkbcommon.log:Has header "linux/input.h" : NO 
./x11/gtk+3.log:checking for linux/input.h... yes
./x11/gtk+4.log:Has header "linux/input.h" : YES 
./x11/x11vnc.log:checking linux/input.h usability... yes
./x11/x11vnc.log:checking linux/input.h presence... yes
./x11/x11vnc.log:checking for linux/input.h... yes
./audio/pulseaudio.log:Has header "linux/input.h" : YES 
./graphics/gimp/stable.log:checking for linux/input.h... yes
./games/bzflag.log:checking linux/input.h usability... yes
./games/bzflag.log:checking linux/input.h presence... yes
./games/bzflag.log:checking for linux/input.h... yes
./misc/brltty.log:checking linux/input.h usability... no
./misc/brltty.log:checking linux/input.h presence... no
./misc/brltty.log:checking for linux/input.h... no
./sysutils/consolekit.log:checking linux/input.h usability... yes
./sysutils/consolekit.log:checking linux/input.h presence... yes
./sysutils/consolekit.log:checking for linux/input.h... yes
$


games/bzflags:

depbase=`echo EvdevJoystick.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; 
/usr/bin/libtool --tag=disable-static  --tag=CXX   --silent --mode=compile c++ 
-std=gnu++11 -DHAVE_CONFIG_H  -I. 
-I/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/src/platform -I../../include  
-DINSTALL_DATA_DIR=\"/usr/local/share/bzflag\"  -I/usr/local/include/SDL2 
-I/usr/X11R6/include -D_REENTRANT
-I/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/include -I/usr/X11R6/include 
-I/usr/local/include  -fexpensive-optimizations -O2 -pipe -MT EvdevJoystick.lo 
-MD -MP -MF $depbase.Tpo -c -o EvdevJoystick.lo 
/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/src/platform/EvdevJoystick.cxx && mv -f 
$depbase.Tpo $depbase.Plo
c++: warning: optimization flag '-fexpensive-optimizations' is not supported 
[-Wignored-optimization-argument]
/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/src/platform/EvdevJoystick.cxx:39:34: 
error: unknown type name '__u32'
return 1 & (((const volatile __u32 *) addr)[nr >> 5] >> (nr & 31));
 ^
/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/src/platform/EvdevJoystick.cxx:75:5: 
warning: deleting pointer to incomplete type 'struct ff_effect' may cause 
undefined behavior [-Wdelete-incomplete]
delete ff_rumble;
^  ~
/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/src/platform/EvdevJoystick.h:126:12: 
note: forward declaration of 'ff_effect'
struct ff_effect*  ff_rumble;
   ^
/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/src/platform/EvdevJoystick.cxx:125:23: 
error: use of undeclared identifier 'EVIOCGNAME'
if (ioctl(fd, EVIOCGNAME(sizeof(jsname)-1), jsname) < 0)
  ^
/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/src/platform/EvdevJoystick.cxx:152:19: 
error: use of undeclared identifier 'EVIOCGBIT'
if (ioctl(fd, EVIOCGBIT(0, sizeof(info.evbit)), info.evbit) < 0)
  ^
/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/src/platform/EvdevJoystick.cxx:154:19: 
error: use of undeclared identifier 'EVIOCGBIT'
if (ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(info.keybit)), info.keybit) < 0)
  ^
/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/src/platform/EvdevJoystick.cxx:156:19: 
error: use of undeclared identifier 'EVIOCGBIT'
if (ioctl(fd, EVIOCGBIT(EV_ABS, sizeof(info.absbit)), info.absbit) < 0)
  ^
/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/src/platform/EvdevJoystick.cxx:167:23: 
error: use of undeclared identifier 'EVIOCGABS'
if (ioctl(fd, EVIOCGABS(axis + ABS_X), _info[axis]) < 0)
  ^
/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/src/platform/EvdevJoystick.cxx:258:24: 
error: variable has incomplete type 'struct input_event'
struct input_event ev;
   ^
/tmp/pobj/bzflag-2.4.22/bzflag-2.4.22/src/platform/EvdevJoystick.cxx:258:12: 
note: forward declaration of 'input_event'
struct input_event ev;
   ^
1 warning and 7 errors generated.


graphics/gimp/stable
controller-linux-input.c:398:3: warning: implicit declaration of function 
'ioctl' is invalid in C99 [-Wimplicit-function-declaration]
  ioctl (fd, EVIOCGBIT (0, EV_MAX), evbit);
  ^
controller-linux-input.c:398:14: warning: implicit declaration of function 
'EVIOCGBIT' is invalid in C99 [-Wimplicit-function-declaration]
  ioctl (fd, EVIOCGBIT (0, EV_MAX), evbit);
 ^
controller-linux-input.c:467:34: error: variable has incomplete type 'struct 
input_absinfo'
struct input_absinfo absinfo;
 ^
controller-linux-input.c:467:20: note: forward declaration of 'struct 

CVS: cvs.openbsd.org: ports

2022-08-07 Thread George Koehler
CVSROOT:/cvs
Module name:ports
Changes by: gkoeh...@cvs.openbsd.org2022/08/07 11:00:43

Modified files:
lang/python: Makefile.inc 

Log message:
Don't --enable-optimizations on powerpc

This unbreaks python 3.* on powerpc.  The build had enabled PGO
(Profile Guided Optimization), then got "Segmentation fault" from the
./python binary.  This seems to be a bug in clang or lld specific to
32-bit powerpc.  We continue to --enable-optimizations on powerpc64.

ok kmos@, sthen@



Firefoxes: mention kern.video.record in pkg-readme

2022-08-07 Thread Caspar Schutijser
The Firefox pkg-readmes mention kern.audio.record. Should they mention
kern.video.record as well? OK?

Caspar


www/firefox-esr: mention kern.video.record in pkg-readme
since kern.audio.record is already mentioned.

Index: www/firefox-esr/Makefile
===
RCS file: /cvs/ports/www/firefox-esr/Makefile,v
retrieving revision 1.175
diff -u -p -r1.175 Makefile
--- www/firefox-esr/Makefile26 Jul 2022 13:22:07 -  1.175
+++ www/firefox-esr/Makefile7 Aug 2022 14:42:02 -
@@ -12,6 +12,7 @@ HOMEPAGE =https://www.mozilla.org/firef
 PKGNAME =  ${MOZILLA_PROJECT}-${MOZILLA_VERSION:S/esr//}
 SO_VERSION =   9.0
 MOZILLA_LIBS = xul clearkey lgpllibs mozavcodec mozavutil mozgtk mozsqlite3 
ipcclientcerts
+REVISION = 0
 
 CATEGORIES =   www
 
Index: www/firefox-esr/pkg/README
===
RCS file: /cvs/ports/www/firefox-esr/pkg/README,v
retrieving revision 1.8
diff -u -p -r1.8 README
--- www/firefox-esr/pkg/README  11 Mar 2022 20:09:44 -  1.8
+++ www/firefox-esr/pkg/README  7 Aug 2022 14:42:02 -
@@ -102,9 +102,10 @@ videos, install the "ffmpeg" package:
 
 WebRTC support
 ==
-For WebRTC to work properly, you need to enable audio recording:
+For WebRTC to work properly, you need to enable audio and video recording:
 
 # sysctl kern.audio.record=1
+# sysctl kern.video.record=1
 
 You will also need to change the ownership and/or permissions of the
 relevant video(4) device so that your user can access the webcam




www/mozilla-firefox: mention kern.video.record in pkg-readme
since kern.audio.record is already mentioned.

Index: www/mozilla-firefox/Makefile
===
RCS file: /cvs/ports/www/mozilla-firefox/Makefile,v
retrieving revision 1.502
diff -u -p -r1.502 Makefile
--- www/mozilla-firefox/Makefile1 Aug 2022 13:42:28 -   1.502
+++ www/mozilla-firefox/Makefile7 Aug 2022 14:42:02 -
@@ -7,6 +7,7 @@ MOZILLA_VERSION =   103.0.1
 MOZILLA_BRANCH =   release
 MOZILLA_PROJECT =  firefox
 MOZILLA_CODENAME = browser
+REVISION = 0
 
 WRKDIST =  ${WRKDIR}/${MOZILLA_DIST}-${MOZILLA_DIST_VERSION:C/b[0-9]*//}
 HOMEPAGE = https://www.mozilla.org/firefox/
Index: www/mozilla-firefox/pkg/README
===
RCS file: /cvs/ports/www/mozilla-firefox/pkg/README,v
retrieving revision 1.32
diff -u -p -r1.32 README
--- www/mozilla-firefox/pkg/README  11 Mar 2022 20:10:07 -  1.32
+++ www/mozilla-firefox/pkg/README  7 Aug 2022 14:42:02 -
@@ -108,9 +108,10 @@ videos, install the "ffmpeg" package:
 
 WebRTC support
 ==
-For WebRTC to work properly, you need to enable audio recording:
+For WebRTC to work properly, you need to enable audio and video recording:
 
 # sysctl kern.audio.record=1
+# sysctl kern.video.record=1
 
 You will also need to change the ownership and/or permissions of the
 relevant video(4) device so that your user can access the webcam



Re: audio/quodlibet & devel/libsoup

2022-08-07 Thread Laurence Tratt
On Sat, Aug 06, 2022 at 12:14:40PM +0100, Stuart Henderson wrote:

Hello Stuart,

> soup3 was already installed so changing RDEP by itself can't make any
> difference.

Agreed, it seemed odd to me too. I think you're right when you say:

> With 4.4.0 repeated runs sometimes trigger the problem, sometimes not.
> It's about 50/50 I think. So the success after adding the RDEP must have
> just been due to random success/failure.

With the 4.5.0 update in ports, I get a Python exception on most actions,
which seems to relate to cover art:

  AttributeError: 'gi.repository.Soup' object has no attribute 'URI'
  --
  Traceback (most recent call last):
File 
"/usr/local/lib/python3.9/site-packages/quodlibet/util/cover/manager.py", line 
120, in failure
  run()
File 
"/usr/local/lib/python3.9/site-packages/quodlibet/util/cover/manager.py", line 
136, in run
  provider.fetch_cover()
File "/usr/local/lib/python3.9/site-packages/quodlibet/util/cover/http.py", 
line 86, in fetch_cover
  if not self.url:
File 
"/usr/local/lib/python3.9/site-packages/quodlibet/ext/covers/discogs.py", line 
63, in url
  artist = escape_query_value(artists)
File "/usr/local/lib/python3.9/site-packages/quodlibet/util/cover/http.py", 
line 111, in escape_query_value
  return Soup.URI.encode(s, '&')
File "/usr/local/lib/python3.9/site-packages/gi/module.py", line 123, in 
__getattr__
  raise AttributeError("%r object has no attribute %r" % (
  AttributeError: 'gi.repository.Soup' object has no attribute 'URI'

Music and so on seem to play correctly, though, which is the main thing!


Laurie



Re: UPDATE: audio/faad

2022-08-07 Thread Omar Polo
Stuart Henderson  wrote:
> I did a test bulk with this, the diff I am using is below (merged from
> the two posted diffs). Most things were OK but libquicktime fails:
> 
> 
> configure:17628: checking for faad.h usability for faad2
> configure:17657: cc -o conftest -O2 -pipe -I/usr/local/include -I/usr/X11R6/in
> clude -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lpthread -lm -lz  -lfaad -
> lm >&5
> In file included from conftest.c:60:
> /usr/local/include/faad.h:32:9: warning: please update faad2 include filename
> and function names! [-W#pragma-messages]
> #pragma message("please update faad2 include filename and function names!")
> ^
> 

well, this is weird :)

libquicktime configure scripts does a sscanf on FAAD_VERSION expecting
something like %d.%d.  FAAD_VERSION now is "unknown".

Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libquicktime/Makefile,v
retrieving revision 1.65
diff -u -p -r1.65 Makefile
--- Makefile31 Mar 2022 16:45:26 -  1.65
+++ Makefile7 Aug 2022 14:09:14 -
@@ -1,7 +1,7 @@
 COMMENT=   library for reading and writing QuickTime files
 
 DISTNAME=  libquicktime-1.2.4
-REVISION=  16
+REVISION=  17
 CATEGORIES=multimedia
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libquicktime/}
 
@@ -17,7 +17,7 @@ WANTLIB += Xdmcp Xext Xfixes Xi Xinerama
 WANTLIB += Xt Xv Xxf86vm avcodec avutil c cairo drm dv expat faad
 WANTLIB += ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
 WANTLIB += gio-2.0 glapi glib-2.0 gmodule-2.0 gobject-2.0 graphite2
-WANTLIB += gsm gthread-2.0 gtk-x11-2.0 harfbuzz iconv intl jpeg m mp3lame
+WANTLIB += gsm gtk-x11-2.0 harfbuzz iconv intl jpeg m mp3lame mp4v2
 WANTLIB += ogg opus pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
 WANTLIB += pixman-1 png pthread sndio speex ${COMPILER_LIBCXX}
 WANTLIB += swresample swscale vorbisenc vorbisfile vpx x264 x265
Index: patches/patch-configure
===
RCS file: /home/cvs/ports/multimedia/libquicktime/patches/patch-configure,v
retrieving revision 1.14
diff -u -p -r1.14 patch-configure
--- patches/patch-configure 11 Mar 2022 19:39:21 -  1.14
+++ patches/patch-configure 7 Aug 2022 14:06:05 -
@@ -1,5 +1,8 @@
 configure.orig Thu Mar 29 15:45:15 2012
-+++ configure  Mon Apr  2 19:49:37 2012
+FAAD2_VERSION is "unknown" now, the sscanf test fails.
+
+Index: configure
+--- configure.orig
 configure
 @@ -14951,7 +14951,7 @@ fi
  VORBIS_LIBS="-L$prefix/lib"
fi
@@ -21,3 +24,16 @@
  
  
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lame" >&5
+@@ -17592,12 +17588,8 @@ else
+ #include 
+ main()
+ {
+-int faad_major;
+-int faad_minor;
+ faacDecHandle dec;
+ 
+-if(sscanf(FAAD2_VERSION, "%d.%d", _major, _minor) < 2)
+-  return -1;
+ dec = faacDecOpen();
+ if(!dec)
+   return -1;



[patch] x11/fvwm2 and libX11 1.8.1

2022-08-07 Thread Matthieu Herrb
Hi,

I've received a report that fvwm2 is abort(2)ing under -current, since
the import of libX11 1.8.1. The backtrace associated with this report
shows that it's the same issue that I fixed in xfce4-settings
earlier.

Unfortunatly, I can't reproduce the crash with the default fvwm2
configuration on my machines so I can't confirm if the patch below is
enough to completely fix the issue. I'm still waiting for a report
from the original reporter.

(There is also a NetBSD report that's probably caused by the same
issue: https://marc.infœ?l=netbsd-current-users=165902977815467=2)

Did anyone else here stumble on fvwm2 aborting since libX11 1.8.2 was
imported (approxymatly july 25 snapshots) ? if so can you try the
patch below ?

PS: x11/fvwm3 will need a very similar change. If you see the issue
with fvwm3, please try to adapt the patch and report.

Index: Makefile
===
RCS file: /cvs/OpenBSD/ports/x11/fvwm2/Makefile,v
retrieving revision 1.73
diff -u -p -u -r1.73 Makefile
--- Makefile29 Jul 2022 07:45:04 -  1.73
+++ Makefile7 Aug 2022 13:11:02 -
@@ -1,7 +1,7 @@
 COMMENT=   multiple virtual desktop window manager
 
 VERSION=   2.6.9
-REVISION=  1
+REVISION=  2
 DISTNAME=  fvwm-${VERSION}
 PKGNAME=   fvwm2-${VERSION}
 
Index: patches/patch-fvwm_events_c
===
RCS file: patches/patch-fvwm_events_c
diff -N patches/patch-fvwm_events_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-fvwm_events_c 7 Aug 2022 13:21:18 -
@@ -0,0 +1,28 @@
+Fix for XCheckIfEvent() callback lock recursion
+
+Index: fvwm/events.c
+--- fvwm/events.c.orig
 fvwm/events.c
+@@ -258,6 +258,12 @@ static int _pred_weed_accumulate_expose(
+   return 1;
+ }
+ 
++static int _pred_weed_is_expose(
++  Display *display, XEvent *event, XPointer arg)
++{
++  return (event->type == Expose);
++}
++
+ static int _pred_weed_handle_expose(
+   Display *display, XEvent *event, XPointer arg)
+ {
+@@ -4542,7 +4548,8 @@ void handle_all_expose(void)
+ 
+   saved_event = fev_save_event();
+   FPending(dpy);
+-  FWeedIfEvents(dpy, _pred_weed_handle_expose, NULL);
++  FWeedAndHandleIfEvents(dpy, _pred_weed_is_expose,
++ _pred_weed_handle_expose, NULL);
+   fev_restore_event(saved_event);
+ 
+   return;
Index: patches/patch-libs_FEvent_c
===
RCS file: patches/patch-libs_FEvent_c
diff -N patches/patch-libs_FEvent_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-libs_FEvent_c 7 Aug 2022 13:21:18 -
@@ -0,0 +1,34 @@
+Fix for XCheckIfEvent() callback lock recursion
+
+Index: libs/FEvent.c
+--- libs/FEvent.c.orig
 libs/FEvent.c
+@@ -532,6 +532,28 @@ int FWeedIfEvents(
+   return weed_args.count;
+ }
+ 
++int FWeedAndHandleIfEvents(
++  Display *display,
++  int (*weed_predicate) (Display *display, XEvent *event, XPointer arg),
++  int (*handler) (Display *display, XEvent *event, XPointer arg),
++  XPointer arg)
++{
++  _fev_weed_args weed_args;
++  XEvent e;
++
++  assert(fev_is_invalid_event_type_set);
++  memset(_args, 0, sizeof(weed_args));
++  weed_args.weed_predicate = weed_predicate;
++  weed_args.arg = arg;
++  if (FCheckPeekIfEvent(display, , _fev_pred_weed_if,
++(XPointer)_args)) {
++  handler(display, , arg);
++  }
++  _fev_pred_weed_if_finish(_args);
++
++  return weed_args.count;
++}
++
+ int FWeedIfWindowEvents(
+   Display *display, Window window,
+   int (*weed_predicate) (
Index: patches/patch-libs_FEvent_h
===
RCS file: patches/patch-libs_FEvent_h
diff -N patches/patch-libs_FEvent_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-libs_FEvent_h 7 Aug 2022 13:11:02 -
@@ -0,0 +1,20 @@
+Fix for XCheckIfEvent() callback lock recursion
+
+Index: libs/FEvent.h
+--- libs/FEvent.h.orig
 libs/FEvent.h
+@@ -113,6 +113,14 @@ int FWeedIfEvents(
+   Display *display, XEvent *current_event, XPointer arg),
+   XPointer arg);
+ 
++/* Same as FWeedIfEvents but with a second callback out of XLockDisplay()
++ * to handle events in a lock-safe manner */
++int FWeedAndHandleIfEvents(
++  Display *display,
++  int (*weed_predicate) (Display *display, XEvent *event, XPointer arg),
++  int (*handler) (Display *display, XEvent *event, XPointer arg),
++  XPointer arg);
++
+ /* Same as FWeedIfEvents but weeds only events for the given window.  The
+  * weed_predicate is only called for events with a matching window.  */
+ int FWeedIfWindowEvents(

-- 
Matthieu Herrb



Re: [update] fish 3.5.1

2022-08-07 Thread Florian Viehweger
Am Sun, 07 Aug 2022 11:29:54 +0200
schrieb Omar Polo :

> Florian Viehweger  wrote:
> > > Hi,
> > > 
> > > this updates to fish 3.5.1. Changes are listed here[1].
> > > 
> > > portcheck and port-lib-depends-check are happy. Some tests are
> > > failing for example not being able to connect to a TMUX server or
> > > a X-Server, even if it was running in TMUX in a tigervnc session.
> > > 
> > > Some testing done on amd64 and no errors found.
> > > 
> > > 
> > > [1] https://fishshell.com/docs/current/relnotes.html
> > > 
> > 
> > friendly ping.
> 
> committed, thanks!
> 

Thanks!

-- 
greetings,

Florian Viehweger



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Joel Sing
CVSROOT:/cvs
Module name:ports
Changes by: js...@cvs.openbsd.org   2022/08/07 06:22:18

Modified files:
lang/go: Makefile 
Added files:
lang/go/patches: patch-src_internal_cpu_cpu_arm64_openbsd_go 
 patch-src_internal_cpu_cpu_arm64_other_go 
 patch-src_runtime_os_openbsd_go 

Log message:
Implement CPU feature detection for lang/go on openbsd/arm64.

Make use of the ISAR0 register information exposed via sysctl. This allows
Go to make use of the available hardware accelerated features.



UPDATE: www/stagit 1.1 to 1.2

2022-08-07 Thread Hiltjo Posthuma
Hi,

The below patch updates stagit 1.1 to 1.2.

libgit2 recently added an option GIT_OPT_SET_OWNER_VALIDATION which prevented
other users from reading a repository. In the case of stagit it is not a
security issue and broke a normal use-case. This new version disables the 
option.

Also stagit makes use of OpenBSD pledge and unveil and locks down reading other
files from the filesystem or writing to them etc.

For more information see:
https://git.codemadness.org/stagit/commit/1357ad5181f80a99fe9c436af134e947ec7f4d29.html
https://github.blog/2022-04-12-git-security-vulnerability-announced/


Patch:


diff --git www/stagit/Makefile www/stagit/Makefile
index 17811d07b2e..dbee855efb8 100644
--- www/stagit/Makefile
+++ www/stagit/Makefile
@@ -1,6 +1,6 @@
 COMMENT =  static git page generator
 
-DISTNAME = stagit-1.1
+DISTNAME = stagit-1.2
 
 CATEGORIES =   www
 
diff --git www/stagit/distinfo www/stagit/distinfo
index f654e79ccc0..c35a8ab11a4 100644
--- www/stagit/distinfo
+++ www/stagit/distinfo
@@ -1,2 +1,2 @@
-SHA256 (stagit-1.1.tar.gz) = ZvatG+PWtkVfr5z90pMpZEt/8qoxI/vxN1FpxgvadcU=
-SIZE (stagit-1.1.tar.gz) = 19648
+SHA256 (stagit-1.2.tar.gz) = Vlm9i6fhQX7dQPe3eBqOomk5q2qlE0CQI4NfBIdZIcU=
+SIZE (stagit-1.2.tar.gz) = 19818

-- 
Kind regards,
Hiltjo



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/08/07 05:36:37

Modified files:
telephony/asterisk-g729: Makefile 

Log message:
unbreak asterisk-g729 build



aarch64 bulk build report

2022-08-07 Thread phessler
bulk build on arm64.ports.openbsd.org
started on  Fri Aug 5 13:46:52 MDT 2022
finished at Sun Aug 7 05:15:47 MDT 2022
lasted 1D15h28m
done with kern.version=OpenBSD 7.2-beta (GENERIC.MP) #1769: Thu Aug  4 15:39:24 
MDT 2022

built packages:10517
Aug 5:3940
Aug 6:3236
Aug 7:3340


critical path missing pkgs:  
http://build-failures.rhaalovely.net/aarch64/2022-08-05/summary.log

build failures: 2
http://build-failures.rhaalovely.net/aarch64/2022-08-05/lang/gcc/8.log
http://build-failures.rhaalovely.net/aarch64/2022-08-05/telephony/asterisk-g729.log

recurrent failures
new failures
+++ ls-failures Sun Aug  7 05:16:02 2022
+failures/lang/gcc/8.log
+failures/telephony/asterisk-g729.log
resolved failures
--- ../old/aarch64/last//ls-failuresWed Aug  3 08:35:29 2022
-failures/emulators/emulationstation.log
-failures/x11/ogre.log



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/08/07 05:14:53

Modified files:
sysutils/bacula: Makefile distinfo 
sysutils/bacula/patches: patch-configure 

Log message:
update to bacula-13.0.1



Re: UPDATE: audio/faad

2022-08-07 Thread Stuart Henderson
I did a test bulk with this, the diff I am using is below (merged from
the two posted diffs). Most things were OK but libquicktime fails:


configure:17628: checking for faad.h usability for faad2
configure:17657: cc -o conftest -O2 -pipe -I/usr/local/include -I/usr/X11R6/in
clude -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lpthread -lm -lz  -lfaad -
lm >&5
In file included from conftest.c:60:
/usr/local/include/faad.h:32:9: warning: please update faad2 include filename
and function names! [-W#pragma-messages]
#pragma message("please update faad2 include filename and function names!")
^



Index: Makefile
===
RCS file: /cvs/ports/audio/faad/Makefile,v
retrieving revision 1.62
diff -u -p -r1.62 Makefile
--- Makefile11 Mar 2022 18:20:09 -  1.62
+++ Makefile3 Aug 2022 13:03:10 -
@@ -3,23 +3,23 @@ NOT_FOR_ARCHS=${GCC3_ARCHS}
 
 COMMENT=   MPEG-2 and MPEG-4 AAC decoder
 
-V= 2.7
-DISTNAME=  faad2-${V}
-PKGNAME=   faad-${V}
-REVISION=  2
-CATEGORIES=audio
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=faac/}
-EXTRACT_SUFX=  .tar.bz2
+GH_ACCOUNT=knik0
+GH_PROJECT=faad2
+GH_TAGNAME=2_10_0
 
-SHARED_LIBS=   faad3.0 \
-   mp4ff   2.0
+PKGNAME=   faad-${GH_TAGNAME:S/_/./g}
+
+CATEGORIES=audio
+
+SHARED_LIBS +=  faad  4.0 # 2.0
+SHARED_LIBS +=  faad_drm  0.0 # 2.0
 
 HOMEPAGE=  http://www.audiocoding.com/
 
 # GPLv2+
 PERMIT_PACKAGE=Yes
 
-WANTLIB=   c m
+WANTLIB=   c m mp4v2
 
 # bootstrap checks for libtoolize
 BUILD_DEPENDS+=${MODGNU_AUTOCONF_DEPENDS} \
@@ -27,16 +27,13 @@ BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPEND
devel/libtool
 
 USE_GMAKE= Yes
-CONFIGURE_STYLE= gnu
-AUTOCONF_VERSION= 2.61
-AUTOMAKE_VERSION= 1.9
+CONFIGURE_STYLE= autoreconf
+AUTOCONF_VERSION= 2.71
+AUTOMAKE_VERSION= 1.16
+CONFIGURE_ARGS+=--with-mpeg4ip
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
 
-post-extract:
-   @mv ${WRKSRC}/frontend/faad.man ${WRKSRC}/frontend/faad.1
-
-post-patch:
-   @cd ${WRKSRC} && ${AUTOCONF_ENV} sh bootstrap
+LIB_DEPENDS =  multimedia/libmp4v2
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/audio/faad/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo18 Jan 2015 03:12:40 -  1.7
+++ distinfo3 Aug 2022 13:02:40 -
@@ -1,2 +1,2 @@
-SHA256 (faad2-2.7.tar.bz2) = FFYbXWvEV+glv9OSGuUKZkjzd6k5bq8W1LBXs5o/Y7U=
-SIZE (faad2-2.7.tar.bz2) = 901043
+SHA256 (faad2-2_10_0.tar.gz) = DG2WNslvlcfXNvCX1BiCnO2OxtvYmcxsyCtyhICoS/s=
+SIZE (faad2-2_10_0.tar.gz) = 803225
Index: patches/patch-common_mp4ff_Makefile_am
===
RCS file: /cvs/ports/audio/faad/patches/patch-common_mp4ff_Makefile_am,v
retrieving revision 1.3
diff -u -p -r1.3 patch-common_mp4ff_Makefile_am
--- patches/patch-common_mp4ff_Makefile_am  11 Mar 2022 18:20:09 -  
1.3
+++ patches/patch-common_mp4ff_Makefile_am  3 Aug 2022 13:02:40 -
@@ -1,13 +0,0 @@
 common/mp4ff/Makefile.am.orig  Fri Feb  6 09:24:21 2009
-+++ common/mp4ff/Makefile.am   Thu May 10 19:02:20 2012
-@@ -1,7 +1,7 @@
--lib_LIBRARIES = libmp4ff.a
-+lib_LTLIBRARIES = libmp4ff.la
- include_HEADERS = mp4ff.h mp4ffint.h
- 
--libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
-+libmp4ff_la_CFLAGS = -DUSE_TAGGING=1
- 
--libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
-+libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
-mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h
Index: patches/patch-common_mp4ff_mp4ff_h
===
RCS file: /cvs/ports/audio/faad/patches/patch-common_mp4ff_mp4ff_h,v
retrieving revision 1.2
diff -u -p -r1.2 patch-common_mp4ff_mp4ff_h
--- patches/patch-common_mp4ff_mp4ff_h  11 Mar 2022 18:20:09 -  1.2
+++ patches/patch-common_mp4ff_mp4ff_h  3 Aug 2022 13:02:40 -
@@ -1,14 +0,0 @@
 common/mp4ff/mp4ff.h.orig  Mon May 14 17:05:03 2012
-+++ common/mp4ff/mp4ff.h   Mon May 14 17:05:27 2012
-@@ -35,11 +35,7 @@
- extern "C" {
- #endif /* __cplusplus */
- 
--#ifdef HAVE_STDINT_H
- #include 
--#else
--#include "mp4ff_int_types.h"
--#endif
- 
- /* file callback structure */
- typedef struct
Index: patches/patch-common_mp4ff_mp4ffint_h
===
RCS file: /cvs/ports/audio/faad/patches/patch-common_mp4ff_mp4ffint_h,v
retrieving revision 1.2
diff -u -p -r1.2 patch-common_mp4ff_mp4ffint_h
--- patches/patch-common_mp4ff_mp4ffint_h   11 Mar 2022 18:20:09 -  
1.2
+++ patches/patch-common_mp4ff_mp4ffint_h   3 Aug 2022 13:02:40 -
@@ -1,11 +0,0 @@
 common/mp4ff/mp4ffint.h.orig   Mon 

CVS: cvs.openbsd.org: ports

2022-08-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/08/07 05:07:43

Modified files:
lang/php/8.1   : Tag: OPENBSD_7_1 Makefile distinfo 

Log message:
update to php-8.1.9



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/08/07 05:07:42

Modified files:
lang/php/8.0   : Tag: OPENBSD_7_1 Makefile distinfo 

Log message:
update to php-8.0.22



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/08/07 05:07:28

Modified files:
lang/php/8.1   : Makefile distinfo 

Log message:
update to php-8.1.9



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/08/07 05:07:27

Modified files:
lang/php/8.0   : Makefile distinfo 

Log message:
update to php-8.0.22



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/08/07 04:44:13

Modified files:
multimedia/aom : Makefile distinfo 
multimedia/aom/patches: patch-CMakeLists_txt 
patch-build_cmake_aom_configure_cmake 

Log message:
update to aom-3.4.0, from Brad (maintainer)



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/08/07 04:41:42

Modified files:
www/lighttpd   : Makefile distinfo 

Log message:
update to lighttpd-1.4.65, from Brad (maintainer)



Re: [update] fish 3.5.1

2022-08-07 Thread Omar Polo
Florian Viehweger  wrote:
> > Hi,
> > 
> > this updates to fish 3.5.1. Changes are listed here[1].
> > 
> > portcheck and port-lib-depends-check are happy. Some tests are failing
> > for example not being able to connect to a TMUX server or a X-Server,
> > even if it was running in TMUX in a tigervnc session.
> > 
> > Some testing done on amd64 and no errors found.
> > 
> > 
> > [1] https://fishshell.com/docs/current/relnotes.html
> > 
> 
> friendly ping.

committed, thanks!



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2022/08/07 03:29:35

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

Log message:
update shells/fish to 3.5.1; diff from MAINTAINER Florian Viehweger,
thanks!

changelog: https://fishshell.com/docs/current/relnotes.html



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Elias M . Mariani
CVSROOT:/cvs
Module name:ports
Changes by: mari...@cvs.openbsd.org 2022/08/07 03:29:21

Modified files:
net/qbittorrent: Makefile.inc 
net/qbittorrent/qbittorrent: distinfo 
net/qbittorrent/qbittorrent-nox: distinfo 

Log message:
Update net/qbittorrent 4.4.2 to 4.4.3.1

Changelog:
https://github.com/qbittorrent/qBittorrent/blob/release-4.4.3.1/Changelog
Just small fixes.



Re: [macppc] unbreak lang/python, segfault in PGO

2022-08-07 Thread Stuart Henderson
> > There is no problem on powerpc64; this seems to be a bug in clang or
> > lld specific to 32-bit powerpc.  I don't know how to reproduce this
> > bug outside of python.  All of python 3.8, 3.9, 3.10 are broken; they
> > all get packaged after I remove --enable-optimizations.
> 
> > May I commit this diff, which removes --enable-optimizations on
> > powerpc?--George
> 
> Looks reasonable. ok kmos@

+1



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/08/07 02:18:27

Modified files:
x11/gnome/eog  : Makefile distinfo 
x11/gnome/eog/pkg: PLIST 

Log message:
Update to eog-42.3.



CVS: cvs.openbsd.org: ports

2022-08-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/08/07 02:15:51

Modified files:
mail/alpine: Makefile 

Log message:
alpine HOMEPAGE/MASTER_SITES changed again