Re: UPDATE: faad 2.10.1

2022-12-08 Thread Brad Smith

On 12/4/2022 4:57 PM, Brad Smith wrote:

On 12/4/2022 3:00 PM, Stuart Henderson wrote:

On 2022/12/03 23:42, Brad Smith wrote:

Here is an update to faad 2.10.1.

The previous update diffs for faad floating around had a lib dep on
multimedia/libmp4v2, is that not needed?


Ya, I noticed that. I don't see what the purpose of enabling it is. I 
looked around
at 8 other OS's, FreeBSD, NetBSD and some Linux OS's and none of them 
have

it enabled. FreeBSD used to many moons ago and has since removed enabling
it.


I have some recollection of the update breaking some other port, but
I forget the details. and maybe that's been fixed elsewhere by now..


I copied a workaround from the FreeBSD port as part of the 
post-install target,
but decided to go in the other direction. Only the one header is 
necessary for

the libquicktime test.



BTW, with the 2.9.0 release..

[ Hugo Lefeuvre ]
* Fix crash with unsupported MP4 files (NULL pointer dereference,
  division by zero)
* CVE-2019-6956: ps_dec: sanitize iid_index before mixing
* CVE-2018-20196: sbr_fbt: sanitize sbr->M (should not exceed MAX_M)
* CVE-2018-20199, CVE-2018-20360: specrec: better handle unexpected
  parametric stereo (PS)
* CVE-2018-20362, CVE-2018-19504, CVE-2018-20195, CVE-2018-20198,
  CVE-2018-20358: syntax.c: check for syntax element inconsistencies
* CVE-2018-20194, CVE-2018-19503, CVE-2018-20197, CVE-2018-20357,
  CVE-2018-20359, CVE-2018-20361: sbr_hfadj: sanitize frequency band
  borders

[ Hugo Beauzée-Luyssen ]
* CVE-2019-15296, CVE-2018-19502: Fix a couple buffer overflows




Re: UPDATE: faad 2.10.1

2022-12-04 Thread Brad Smith

On 12/4/2022 3:00 PM, Stuart Henderson wrote:

On 2022/12/03 23:42, Brad Smith wrote:

Here is an update to faad 2.10.1.

The previous update diffs for faad floating around had a lib dep on
multimedia/libmp4v2, is that not needed?


Ya, I noticed that. I don't see what the purpose of enabling it is. I 
looked around

at 8 other OS's, FreeBSD, NetBSD and some Linux OS's and none of them have
it enabled. FreeBSD used to many moons ago and has since removed enabling
it.


I have some recollection of the update breaking some other port, but
I forget the details. and maybe that's been fixed elsewhere by now..


I copied a workaround from the FreeBSD port as part of the post-install 
target,
but decided to go in the other direction. Only the one header is 
necessary for

the libquicktime test.



Re: UPDATE: faad 2.10.1

2022-12-04 Thread Brad Smith
On Sat, Dec 03, 2022 at 11:42:48PM -0500, Brad Smith wrote:
> Here is an update to faad 2.10.1.

Removed the workaround from faad for libquicktime and decided
to add a workaround there instead. It's just the one header
that is necessary.


Index: audio/faad/Makefile
===
RCS file: /home/cvs/ports/audio/faad/Makefile,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 Makefile
--- audio/faad/Makefile 11 Mar 2022 18:20:09 -  1.62
+++ audio/faad/Makefile 4 Dec 2022 21:26:12 -
@@ -3,18 +3,15 @@ NOT_FOR_ARCHS=${GCC3_ARCHS}
 
 COMMENT=   MPEG-2 and MPEG-4 AAC decoder
 
-V= 2.7
-DISTNAME=  faad2-${V}
+V= 2.10.1
+GH_ACCOUNT=knik0
+GH_PROJECT=faad2
+GH_TAGNAME=${V}
 PKGNAME=   faad-${V}
-REVISION=  2
 CATEGORIES=audio
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=faac/}
-EXTRACT_SUFX=  .tar.bz2
 
-SHARED_LIBS=   faad3.0 \
-   mp4ff   2.0
-
-HOMEPAGE=  http://www.audiocoding.com/
+SHARED_LIBS=   faad4.0 \
+   faad_drm0.0
 
 # GPLv2+
 PERMIT_PACKAGE=Yes
@@ -26,17 +23,9 @@ BUILD_DEPENDS+=  ${MODGNU_AUTOCONF_DEPEND
${MODGNU_AUTOMAKE_DEPENDS} \
devel/libtool
 
-USE_GMAKE= Yes
-CONFIGURE_STYLE= gnu
-AUTOCONF_VERSION= 2.61
-AUTOMAKE_VERSION= 1.9
-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
+AUTOCONF_VERSION= 2.71
+AUTOMAKE_VERSION= 1.16
+AUTORECONF=./bootstrap
+CONFIGURE_STYLE= autoreconf
 
 .include 
Index: audio/faad/distinfo
===
RCS file: /home/cvs/ports/audio/faad/distinfo,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 distinfo
--- audio/faad/distinfo 18 Jan 2015 03:12:40 -  1.7
+++ audio/faad/distinfo 4 Dec 2022 03:46:08 -
@@ -1,2 +1,2 @@
-SHA256 (faad2-2.7.tar.bz2) = FFYbXWvEV+glv9OSGuUKZkjzd6k5bq8W1LBXs5o/Y7U=
-SIZE (faad2-2.7.tar.bz2) = 901043
+SHA256 (faad2-2.10.1.tar.gz) = TBbHEpXKDL98Pf6Y6xHY+o0KwwQuQWBM/WzBGkCM8mQ=
+SIZE (faad2-2.10.1.tar.gz) = 803488
Index: audio/faad/patches/patch-common_mp4ff_Makefile_am
===
RCS file: audio/faad/patches/patch-common_mp4ff_Makefile_am
diff -N audio/faad/patches/patch-common_mp4ff_Makefile_am
--- audio/faad/patches/patch-common_mp4ff_Makefile_am   11 Mar 2022 18:20:09 
-  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -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: audio/faad/patches/patch-common_mp4ff_mp4ff_h
===
RCS file: audio/faad/patches/patch-common_mp4ff_mp4ff_h
diff -N audio/faad/patches/patch-common_mp4ff_mp4ff_h
--- audio/faad/patches/patch-common_mp4ff_mp4ff_h   11 Mar 2022 18:20:09 
-  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -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: audio/faad/patches/patch-common_mp4ff_mp4ffint_h
===
RCS file: audio/faad/patches/patch-common_mp4ff_mp4ffint_h
diff -N audio/faad/patches/patch-common_mp4ff_mp4ffint_h
--- audio/faad/patches/patch-common_mp4ff_mp4ffint_h11 Mar 2022 18:20:09 
-  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
 common/mp4ff/mp4ffint.h.orig   Mon May 14 17:06:54 2012
-+++ common/mp4ff/mp4ffint.hMon May 14 17:07:25 2012
-@@ -35,7 +35,7 @@
- extern "C" {
- #endif /* __cplusplus */
- 
--#include "mp4ff_int_types.h"
-+#include 
- #include 
- 
- #define MAX_TRACKS 1024
Index: audio/faad/patches/patch-frontend_Makefile_am
===
RCS file: audio/faad/patches/patch-frontend_Makefile_am
diff -N audio/faad/patches/patch-frontend_Makefile_am
--- audio/faad/patches/patch-frontend_Makefile_am   11 Mar 2022 18:20:09 

UPDATE: faad 2.10.1

2022-12-03 Thread Brad Smith
Here is an update to faad 2.10.1.


Index: Makefile
===
RCS file: /home/cvs/ports/audio/faad/Makefile,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 Makefile
--- Makefile11 Mar 2022 18:20:09 -  1.62
+++ Makefile4 Dec 2022 04:17:22 -
@@ -3,18 +3,15 @@ NOT_FOR_ARCHS=${GCC3_ARCHS}
 
 COMMENT=   MPEG-2 and MPEG-4 AAC decoder
 
-V= 2.7
-DISTNAME=  faad2-${V}
+V= 2.10.1
+GH_ACCOUNT=knik0
+GH_PROJECT=faad2
+GH_TAGNAME=${V}
 PKGNAME=   faad-${V}
-REVISION=  2
 CATEGORIES=audio
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=faac/}
-EXTRACT_SUFX=  .tar.bz2
 
-SHARED_LIBS=   faad3.0 \
-   mp4ff   2.0
-
-HOMEPAGE=  http://www.audiocoding.com/
+SHARED_LIBS=   faad4.0 \
+   faad_drm0.0
 
 # GPLv2+
 PERMIT_PACKAGE=Yes
@@ -26,17 +23,12 @@ BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPEND
${MODGNU_AUTOMAKE_DEPENDS} \
devel/libtool
 
-USE_GMAKE= Yes
-CONFIGURE_STYLE= gnu
-AUTOCONF_VERSION= 2.61
-AUTOMAKE_VERSION= 1.9
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib"
-
-post-extract:
-   @mv ${WRKSRC}/frontend/faad.man ${WRKSRC}/frontend/faad.1
+AUTOCONF_VERSION= 2.71
+AUTOMAKE_VERSION= 1.16
+AUTORECONF=./bootstrap
+CONFIGURE_STYLE= autoreconf
 
-post-patch:
-   @cd ${WRKSRC} && ${AUTOCONF_ENV} sh bootstrap
+post-install:
+   perl -pi -e 's,unknown,${V},g' ${WRKSRC}/include/neaacdec.h
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/audio/faad/distinfo,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 distinfo
--- distinfo18 Jan 2015 03:12:40 -  1.7
+++ distinfo4 Dec 2022 03:46:08 -
@@ -1,2 +1,2 @@
-SHA256 (faad2-2.7.tar.bz2) = FFYbXWvEV+glv9OSGuUKZkjzd6k5bq8W1LBXs5o/Y7U=
-SIZE (faad2-2.7.tar.bz2) = 901043
+SHA256 (faad2-2.10.1.tar.gz) = TBbHEpXKDL98Pf6Y6xHY+o0KwwQuQWBM/WzBGkCM8mQ=
+SIZE (faad2-2.10.1.tar.gz) = 803488
Index: patches/patch-common_mp4ff_Makefile_am
===
RCS file: patches/patch-common_mp4ff_Makefile_am
diff -N patches/patch-common_mp4ff_Makefile_am
--- patches/patch-common_mp4ff_Makefile_am  11 Mar 2022 18:20:09 -  
1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -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: patches/patch-common_mp4ff_mp4ff_h
diff -N patches/patch-common_mp4ff_mp4ff_h
--- patches/patch-common_mp4ff_mp4ff_h  11 Mar 2022 18:20:09 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -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: patches/patch-common_mp4ff_mp4ffint_h
diff -N patches/patch-common_mp4ff_mp4ffint_h
--- patches/patch-common_mp4ff_mp4ffint_h   11 Mar 2022 18:20:09 -  
1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
 common/mp4ff/mp4ffint.h.orig   Mon May 14 17:06:54 2012
-+++ common/mp4ff/mp4ffint.hMon May 14 17:07:25 2012
-@@ -35,7 +35,7 @@
- extern "C" {
- #endif /* __cplusplus */
- 
--#include "mp4ff_int_types.h"
-+#include 
- #include 
- 
- #define MAX_TRACKS 1024
Index: patches/patch-frontend_Makefile_am
===
RCS file: patches/patch-frontend_Makefile_am
diff -N patches/patch-frontend_Makefile_am
--- patches/patch-frontend_Makefile_am  11 Mar 2022 18:20:09 -  1.5
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,18 +0,0 @@
 frontend/Makefile.am.orig  Fri Feb  6 11:03:37 2009
-+++ frontend/Makefile.am   Mon May 14 16:55:55 2012
-@@ -1,12 +1,11 @@
- bin_PROGRAMS = faad
--man_MANS = faad.man
-+man_MANS = faad.1
- 
- INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/faad \
-  -I$(top_srcdir)/common/mp4ff
- 
- faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
--  

UPDATE: SVT-AV1 1.4.0

2022-12-03 Thread Brad Smith
Here is an update to SVT-AV1 1.4.0.


## [1.4.0] - 2022-11-30

Encoder
- Adopted the 6L / 32-picture mini-GOP configuraion as default and adjusted MD 
feature levels accordingly yielding higher compression efficiency gains
- Update the TPL model to account for the larger mini-gop size
- Re-tune presets M0-M12 using the gained coding efficiency for improved 
quality vs cycles tradeoffs
- Allow duplicate commandline parameters to be parsed and take into 
consideration the latter to allow AWCY integration

Build, Cleanup and Documentation
- Make include and lib paths friendly to abs and rel paths
- Update preset and API documentation
- Various functional bug fixes
- Remove manual prediction structure support


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/svt-av1/Makefile,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 Makefile
--- Makefile25 Oct 2022 19:50:00 -  1.10
+++ Makefile4 Dec 2022 02:01:30 -
@@ -2,7 +2,7 @@ ONLY_FOR_ARCHS= ${LP64_ARCHS} i386
 
 COMMENT=   scalable AV1 encoder/decoder
 
-VER=   1.3.0
+VER=   1.4.0
 DISTNAME=  SVT-AV1-v${VER}
 PKGNAME=   svt-av1-${VER}
 CATEGORIES=multimedia
@@ -28,6 +28,8 @@ MODULES=  devel/cmake
 .if ${MACHINE_ARCH} == "amd64"
 BUILD_DEPENDS+=devel/yasm
 .endif
+
+CONFIGURE_ARGS+=-DSVT_AV1_LTO=ON
 
 NO_TEST=   Yes
 
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/svt-av1/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo25 Oct 2022 19:50:00 -  1.9
+++ distinfo4 Dec 2022 01:55:29 -
@@ -1,2 +1,2 @@
-SHA256 (SVT-AV1-v1.3.0.tar.bz2) = +F/RPvFogFUOQleXvf3xsLoxDCHWs0P3Tqed0vuyM24=
-SIZE (SVT-AV1-v1.3.0.tar.bz2) = 9446862
+SHA256 (SVT-AV1-v1.4.0.tar.bz2) = 0jZFfrC4OXFrNgnbLObbYsEDocoOni7tAjnhlLcr3NA=
+SIZE (SVT-AV1-v1.4.0.tar.bz2) = 9437631
Index: patches/patch-CMakeLists_txt
===
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-CMakeLists_txt4 Dec 2022 02:15:04 -
@@ -0,0 +1,15 @@
+build: fix CMake version detection
+5cca0f013508b482cbdd2e2fa96b201fe3924d95
+
+Index: CMakeLists.txt
+--- CMakeLists.txt.orig
 CMakeLists.txt
+@@ -287,7 +287,7 @@ endmacro()
+ 
+ option(SVT_AV1_LTO "Attempt to enable Link Time Optimization if available" 
OFF)
+ if(SVT_AV1_LTO)
+-if(CMAKE_VERSION GREATER_EQUAL 3.9)
++if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.9)
+ include(CheckIPOSupported)
+ check_ipo_supported(RESULT svt_av1_ipo_supported)
+ if(svt_av1_ipo_supported AND NOT DEFINED 
CMAKE_INTERPROCEDURAL_OPTIMIZATION)



UPDATE: libbluray 1.3.4

2022-12-03 Thread Brad Smith
Here is an update to libbluray 1.3.4.


2022-11-25: Version 1.3.4
- Improve API documentation.
- Improve JVM probing.
- Improve support for FreeBSD and Solaris.
- Improve .jar file search.
- Add configure option to build without external libudfread.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libbluray/Makefile,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 Makefile
--- Makefile25 Nov 2022 11:20:07 -  1.23
+++ Makefile4 Dec 2022 01:46:04 -
@@ -1,6 +1,6 @@
 COMMENT =  library supporting Blu-ray playback
 
-V =1.3.3
+V =1.3.4
 DISTNAME = libbluray-${V}
 CATEGORIES =   multimedia
 
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libbluray/distinfo,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 distinfo
--- distinfo25 Nov 2022 11:20:07 -  1.11
+++ distinfo4 Dec 2022 01:38:46 -
@@ -1,2 +1,2 @@
-SHA256 (libbluray-1.3.3.tar.bz2) = WP9Szc7mTFXcw8d3ocOftBq9lRuSeXjk0raBG5GTpIg=
-SIZE (libbluray-1.3.3.tar.bz2) = 761335
+SHA256 (libbluray-1.3.4.tar.bz2) = R4/9aKD13ejvbKmJt/A1taCiLFmRQuXNP/ewO76+Xys=
+SIZE (libbluray-1.3.4.tar.bz2) = 756323



Re: UPDATE: FFmpeg 4.4.3

2022-12-03 Thread Brad Smith

ping.

On 11/4/2022 11:49 PM, Brad Smith wrote:

Here is an update to FFmpeg 4.4.3.


version 4.4.3:
- avformat/vividas: Check packet size
- configure: link to libatomic when it's present
- avcodec/dstdec: Check for overflow in build_filter()
- avformat/spdifdec: Use 64bit to compute bit rate
- avformat/rpl: Use 64bit for duration computation
- avformat/xwma: Use av_rescale() for duration computation
- avformat/sdsdec: Use av_rescale() to avoid intermediate overflow in duration 
calculation
- avformat/sbgdec: Check ts_int in genrate_intervals
- avformat/rmdec: check tag_size
- avformat/nutdec: Check fields
- avformat/flvdec: Use 64bit for sum_flv_tag_size
- avformat/jacosubdec: Fix overflow in get_shift()
- avformat/dxa: avoid bpc overflows
- avformat/cafdec: Check that nb_frasmes fits within 64bit
- avformat/asfdec_o: Limit packet offset
- avformat/ape: Check frames size
- avformat/icodec: Check nb_pal
- avformat/aiffdec: Use 64bit for block_duration use
- avformat/aiffdec: Check block_duration
- avformat/mxfdec: only probe max run in
- avformat/mxfdec: Check run_in is within 65536
- avcodec/mjpegdec: Check for unsupported bayer case
- avcodec/apedec: Fix integer overflow in filter_3800()
- avcodec/tta: Check 24bit scaling for overflow
- avcodec/mobiclip: Check quantizer for overflow
- avcodec/exr: Check preview psize
- avcodec/tiff: Fix loop detection
- libavformat/hls: Free keys
- avcodec/fmvc: Move frame allocation to a later stage
- avfilter/vf_showinfo: remove backspaces
- avcodec/speedhq: Check width
- avcodec/bink: disallow odd positioned scaled blocks
- avformat/asfdec_o: limit recursion depth in asf_read_unknown()
- doc/git-howto.texi: Document commit signing
- libavcodec/8bps: Check that line lengths fit within the buffer
- avcodec/midivid: Perform lzss_uncompress() before ff_reget_buffer()
- libavformat/iff: Check for overflow in body_end calculation
- avformat/avidec: Prevent entity expansion attacks
- avcodec/h263dec: Sanity check against minimal I/P frame size
- avcodec/hevcdec: Check s->ref in the md5 path similar to hwaccel
- avcodec/mpegaudiodec_template: use unsigned shift in handle_crc()
- avformat/subviewerdec: Make read_ts() more flexible
- avcodec/mjpegdec: bayer and rct are incompatible
- MAINTAINERS: Add ED25519 key for signing my commits in the future
- avcodec/hevc_filter: copy_CTB() only within width
- avcodec/tiff: Check tile_length and tile_width
- avcodec/mss4: Check image size with av_image_check_size2()
- avformat/flvdec: Check for EOF in index reading
- avformat/nutdec: Check get_packetheader() in mainheader
- avformat/asfdec_f: Use 64bit for packet start time
- avcodec/exr: Check x/ysize
- tools/target_dec_fuzzer: Adjust threshold for MMVIDEO
- avcodec/lagarith: Check dst/src in zero run code
- avcodec/h264dec: Skip late SEI
- avcodec/sbrdsp_fixed: Fix integer overflows in sbr_qmf_deint_neg_c()
- avfilter/vf_signature: Fix integer overflow in filter_frame()
- avformat/rtsp: break on unknown protocols
- avcodec/hevcdsp_template: stay within tables in sao_band_filter()
- avcodec/tiff: Check pixel format types for dng
- avcodec/qpeldsp: copy less for the mc0x cases
- avformat/aaxdec: Check for empty segments
- avcodec/ffv1dec: Limit golomb rice coded slices to width 8M
- avformat/iff: simplify duration calculation
- avcodec/wnv1: Check for width =1
- avcodec/ffv1dec_template: fix indention
- avformat/sctp: close socket on errors
- avcodec/aasc: Fix indention
- avcodec/qdrw: adjust max colors to array size
- avcodec/alacdsp: Make intermediates unsigned
- avformat/aiffdec: cleanup size handling for extreem cases
- avformat/matroskadec: avoid integer overflows in SAR computation
- avcodec/jpeglsdec: fix end check for xfrm
- avcodec/cdgraphics: limit scrolling to the line
- avformat/hls: Limit start_seq_no to one bit less
- avformat/aiffdec: avoid integer overflow in get_meta()
- avformat/ape: more bits in size for less overflows
- avformat/aviobuf: Check buf_size in ffio_ensure_seekback()
- avformat/bfi: Check offsets better
- avformat/asfdec_f: Check packet_frag_timestamp
- avcodec/texturedspenc: Fix indexing in color distribution determination
- avformat/act: Check ff_get_wav_header() for failure
- avcodec/libxavs2: Improve r redundancy in occured
- avformat/libzmq: Improve r redundancy in occured
- avfilter/vsrc_mandelbrot: Check for malloc failure
- avfilter/vf_frei0r: Copy to frame allocated according to frei0r requirements
- avfilter/video: Add ff_default_get_video_buffer2() to set specific alignment
- avformat/genh: Check sample rate
- configure: bump year
- lavc/videotoolbox: do not pass AVCodecContext to decoder output callback
- lavc/pthread_frame: always transfer stashed hwaccel state
- avcodec/arm/sbcenc: avoid callee preserved vfp registers
- avfilter/vf_scale: overwrite the width and height expressions with the 
original values
- lavc/pthread_frame: avoid leaving stale hwaccel state in worker threads
- configure: extend SDL check to accept all 2.x versi

Re: UPDATE: mpv

2022-12-01 Thread Brad Smith

ping.

On 11/20/2022 9:00 PM, Brad Smith wrote:

Convert the port over to using Meson and add zimg support while here.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.85
diff -u -p -u -p -r1.85 Makefile
--- Makefile20 Nov 2022 07:22:59 -  1.85
+++ Makefile21 Nov 2022 01:34:27 -
@@ -3,7 +3,7 @@ COMMENT =   movie player based on MPlayer
  GH_ACCOUNT =  mpv-player
  GH_PROJECT =  mpv
  GH_TAGNAME =  v0.35.0
-REVISION = 0
+REVISION = 1
  
  SHARED_LIBS +=		mpv		1.0 # 2.0
  
@@ -11,28 +11,22 @@ CATEGORIES =		multimedia x11
  
  HOMEPAGE =		https://mpv.io/
  
-WAF =			${WRKSRC}/waf-2.0.24

-MASTER_SITES0 =https://waf.io/
-DISTFILES =${GH_DISTFILE} ${WAF:T}:0
-EXTRACT_ONLY = ${DISTNAME}${EXTRACT_SUFX}
-
  # GPLv2+
  PERMIT_PACKAGE =  Yes
  
-WANTLIB += EGL GL SDL2 X11 X11-xcb Xau Xdmcp Xext Xfixes Xinerama Xpresent

-WANTLIB += Xrandr Xrender Xss Xv Xxf86vm archive ass avcodec avdevice
-WANTLIB += avfilter avformat avresample avutil bluray c cdio cdio_cdda
-WANTLIB += cdio_paranoia drm dvdnav dvdread epoxy expat fontconfig
-WANTLIB += freetype fribidi gbm glib-2.0 graphite2 harfbuzz iconv
-WANTLIB += intl jpeg lcms2 ${MODLUA_WANTLIB} m pcre2-8 placebo postproc
-WANTLIB += pthread sndio swresample swscale udfread xcb xcb-dri2
-WANTLIB += xcb-glx xml2 z
+WANTLIB += EGL SDL2 X11 Xext Xinerama Xpresent Xrandr Xss Xv archive
+WANTLIB += ass avcodec avdevice avfilter avformat avutil bluray
+WANTLIB += c cdio cdio_cdda cdio_paranoia dvdnav iconv jpeg lcms2
+WANTLIB += ${MODLUA_WANTLIB} m placebo pthread sndio swresample
+WANTLIB += swscale z zimg
  
-MODULES =		lang/lua \

+MODULES =  devel/meson \
+   lang/lua \
lang/python
  
  COMPILER =		base-clang ports-gcc

  COMPILER_LANGS =  c
+
  DEBUG_PACKAGES =  ${BUILD_PACKAGES}
  
  BUILD_DEPENDS =		audio/ladspa \

@@ -43,10 +37,11 @@ LIB_DEPENDS =   archivers/libarchive \
audio/libcdio-paranoia \
converters/libiconv \
devel/sdl2 \
-   graphics/ffmpeg>=4.1.1 \
+   graphics/ffmpeg \
graphics/jpeg \
graphics/lcms2 \
graphics/libplacebo \
+   graphics/zimg \
multimedia/libass \
multimedia/libbluray \
multimedia/libdvdnav
@@ -57,69 +52,84 @@ RUN_DEPENDS =   devel/desktop-file-utils
x11/gtk+3,-guic
  
  SEPARATE_BUILD =	Yes

-CONFIGURE_ARGS =   --confloaddir=${SYSCONFDIR}/mpv \
-   --confdir=${LOCALBASE}/share/examples/mpv \
-   --mandir=${LOCALBASE}/man \
-   --docdir=${LOCALBASE}/share/examples/mpv \
-   --lua="${MODLUA_DEP_VERSION}obsd" \
-   --enable-cdda \
-   --enable-dvdnav \
-   --enable-libmpv-shared \
-   --enable-sdl2 \
-   --enable-sndio \
-   --disable-alsa \
-   --disable-caca \
-   --disable-cuda-hwaccel \
-   --disable-egl-drm \
-   --disable-gl-wayland \
-   --disable-jack \
-   --disable-rubberband \
-   --disable-openal \
-   --disable-optimize \
-   --disable-pipewire \
-   --disable-pulse \
-   --disable-sixel \
-   --disable-sdl2-audio \
-   --disable-uchardet \
-   --disable-vaapi \
-   --disable-vaapi-drm \
-   --disable-vaapi-x-egl \
-   --disable-vaapi-x11 \
-   --disable-vaapi-wayland \
-   --disable-vapoursynth \
-   --disable-vdpau \
-   --disable-vdpau-gl-x11 \
-   --disable-videotoolbox-gl \
-   --disable-vulkan \
-   --disable-wayland
-
-MAKE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
-   LIBmpv_VERSION=${LIBmpv_VERSION}
-MAKE_FLAGS =   -o "${WRKBUILD}" -t "${WRKSRC}" --destdir="${DESTDIR}"
-
-NO_TEST =  Yes
-
-DO_WAF =   cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MODPY_BIN} \
-   ${WAF} ${MAKE_FLAGS}
  
-SUBST_VARS +=

Re: UPDATE: SDL2 / SDL2-image 2.6.2 / SDL2-mixer 2.6.2 / SDL2-net 2.2.0 / SDL2-ttf 2.20.1

2022-11-25 Thread Brad Smith
On Thu, Nov 24, 2022 at 09:51:34PM -0500, Brad Smith wrote:
> Here are updates to SDL2-image 2.6.2 / SDL2-mixer 2.6.2 / SDL2-net 2.2.0 and
> SDL2-ttf 2.20.1. Also re-add a CMake fix for shared lib usage that was missed
> in the 2.24.1 update.

Fix the REVISION bump in the sdl2 port.


Index: sdl2/Makefile
===
RCS file: /home/cvs/ports/devel/sdl2/Makefile,v
retrieving revision 1.42
diff -u -p -u -p -r1.42 Makefile
--- sdl2/Makefile   7 Nov 2022 21:45:15 -   1.42
+++ sdl2/Makefile   25 Nov 2022 03:09:40 -
@@ -1,9 +1,9 @@
 COMMENT=   cross-platform multimedia library
 
 V= 2.24.1
-REVISION=  0
 DISTNAME=  SDL2-${V}
 PKGNAME=   sdl2-${V}
+REVISION=  1
 CATEGORIES=devel
 MASTER_SITES=  https://www.libsdl.org/release/
 
Index: sdl2/patches/patch-sdl2-config_cmake_in
===
RCS file: sdl2/patches/patch-sdl2-config_cmake_in
diff -N sdl2/patches/patch-sdl2-config_cmake_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ sdl2/patches/patch-sdl2-config_cmake_in 18 Oct 2022 21:55:29 -
@@ -0,0 +1,12 @@
+Index: sdl2-config.cmake.in
+--- sdl2-config.cmake.in.orig
 sdl2-config.cmake.in
+@@ -124,7 +124,7 @@ if(WIN32)
+   unset(_sdl2_implib)
+   unset(_sdl2_dll)
+ else()
+-  set(_sdl2_shared 
"${SDL2_LIBDIR}/${CMAKE_SHARED_LIBRARY_PREFIX}SDL2${CMAKE_SHARED_LIBRARY_SUFFIX}")
++  set(_sdl2_shared 
"${SDL2_LIBDIR}/${CMAKE_SHARED_LIBRARY_PREFIX}SDL2${CMAKE_SHARED_LIBRARY_SUFFIX}.${LIBSDL2_VERSION}")
+   if(EXISTS "${_sdl2_shared}")
+ if(NOT TARGET SDL2::SDL2)
+   add_library(SDL2::SDL2 SHARED IMPORTED)
Index: sdl2/patches/patch-src_SDL_c
===
RCS file: /home/cvs/ports/devel/sdl2/patches/patch-src_SDL_c,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 patch-src_SDL_c
--- sdl2/patches/patch-src_SDL_c18 Oct 2022 00:56:38 -  1.10
+++ sdl2/patches/patch-src_SDL_c15 Oct 2022 08:18:18 -
@@ -19,7 +19,7 @@ Index: src/SDL.c
  SDL_GetPlatform(void)
  {
 +const char *platform;
-+if (platform = SDL_getenv("SDL_PLATFORM")) {
++if ((platform = SDL_getenv("SDL_PLATFORM"))) {
 +return platform;
 +}
  #if __AIX__
Index: sdl2-image/Makefile
===
RCS file: /home/cvs/ports/devel/sdl2-image/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- sdl2-image/Makefile 31 Mar 2022 16:10:30 -  1.15
+++ sdl2-image/Makefile 15 Oct 2022 10:35:29 -
@@ -1,11 +1,10 @@
-V =2.0.5
+V =2.6.2
 COMMENT =  SDL2 image library
 DISTNAME = SDL2_image-${V}
 PKGNAME =  sdl2-image-${V}
 CATEGORIES =   devel graphics
-REVISION = 0
 
-SHARED_LIBS += SDL2_image  0.1 # 0.4
+SHARED_LIBS += SDL2_image  1.0 # 0.4
 
 HOMEPAGE = https://www.libsdl.org/projects/SDL_image/
 
@@ -14,25 +13,21 @@ MAINTAINER =Thomas Frohwein https://www.libsdl.org/projects/SDL_image/release/
 
-LIB_DEPENDS =  devel/sdl2>=2.0.8 \
-   graphics/jpeg \
+LIB_DEPENDS =  devel/sdl2 \
+   graphics/libavif \
graphics/libwebp \
-   graphics/png \
graphics/tiff
 
 CONFIGURE_STYLE =  gnu
-CONFIGURE_ARGS +=  --disable-jpg-shared \
-   --disable-png-shared \
+CONFIGURE_ARGS +=  --disable-avif-shared \
--disable-tif-shared \
--disable-webp-shared
-CONFIGURE_ENV +=   CPPFLAGS="-I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib" \
-   OBJC="${CC}"
+CONFIGURE_ENV +=   OBJC="${CC}"
 
 .include 
Index: sdl2-image/distinfo
===
RCS file: /home/cvs/ports/devel/sdl2-image/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- sdl2-image/distinfo 12 Jul 2019 02:49:57 -  1.5
+++ sdl2-image/distinfo 14 Oct 2022 04:51:32 -
@@ -1,2 +1,2 @@
-SHA256 (SDL2_image-2.0.5.tar.gz) = vdX24CZoL31+G+C2BRsgnaL0AqLdi9HEvZwlrSYxCNA=
-SIZE (SDL2_image-2.0.5.tar.gz) = 11736518
+SHA256 (SDL2_image-2.6.2.tar.gz) = SDVftNjQC6xjnNHE9KdmHEr+8sISr2CzQOBrcFmBR3c=
+SIZE (SDL2_image-2.6.2.tar.gz) = 9814907
Index: sdl2-image/patches/patch-Makefile_in
===
RCS file: /home/cvs/ports/devel/sdl2-image/patches/patch-Makefile_in,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-Makefile_in
--- sdl2-image/patches/patch-Makefile_in11 Mar 2022 18:53:25 -  
1.4
+++ sdl2-image/patches/patch-Makefile_in14 Oct 2022 04:54:16 -
@@ -1,16 +1,11 @@
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.i

Re: [update] games/warzone2100

2022-11-25 Thread Brad Smith

On 11/21/2022 5:22 PM, Omar Polo wrote:

On 2022/11/15 13:21:30 +0100, Pascal Stumpf  wrote:

Update to latest version, 4.3.2.


fails to build :/

FAILED: 3rdparty/fmt/CMakeFiles/fmt.dir/src/os.cc.o
/home/_pobj/warzone2100-4.3.2/bin/c++ -DHAVE_CONFIG_H 
-I/home/_pobj/warzone2100-4.3.2/build-amd64 
-I/home/_pobj/warzone2100-4.3.2/warzone2100/. 
-I/home/_pobj/warzone2100-4.3.2/warzone2100/3rdparty 
-I/home/_pobj/warzone2100-4.3.2/warzone2100/3rdparty/fmt/include -isystem 
/home/_pobj/warzone2100-4.3.2/warzone2100/3rdparty/glm -isystem 
/home/_pobj/warzone2100-4.3.2/warzone2100/3rdparty/date/include -O2 -pipe 
-fstack-protector-strong -fstack-clash-protection -DNDEBUG -g -fPIC -std=c++14 
-MD -MT 3rdparty/fmt/CMakeFiles/fmt.dir/src/os.cc.o -MF 
3rdparty/fmt/CMakeFiles/fmt.dir/src/os.cc.o.d -o 
3rdparty/fmt/CMakeFiles/fmt.dir/src/os.cc.o -c 
/home/_pobj/warzone2100-4.3.2/warzone2100/3rdparty/fmt/src/os.cc
c++: warning: argument unused during compilation: '-fstack-clash-protection' 
[-Wunused-command-line-argument]
/home/_pobj/warzone2100-4.3.2/warzone2100/3rdparty/fmt/src/os.cc:206:27: error: 
expected unqualified-id
   int fd = FMT_POSIX_CALL(fileno(file_));
   ^
/usr/include/stdio.h:410:19: note: expanded from macro 'fileno'
#define fileno(p)   (!__isthreaded ? __sfileno(p) : (fileno)(p))
 ^
1 error generated.
ninja: build stopped: subcommand failed.


it's not obvious to me why it fails, and it doesn't provide a toggle
to use fmt from ports.


I posted a diff awhile ago to fix the root issue. This affects
both fmt and spdlog.

https://marc.info/?l=openbsd-tech=163434134507835=2



Re: UPDATE: dnsmasq 2.87

2022-11-25 Thread Brad Smith

ping.

On 10/4/2022 11:10 AM, Brad Smith wrote:

Here is an update to dnsmasq 2.87.


Index: Makefile
===
RCS file: /home/cvs/ports/net/dnsmasq/Makefile,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 Makefile
--- Makefile24 Apr 2022 19:16:29 -  1.62
+++ Makefile26 Sep 2022 05:47:10 -
@@ -1,12 +1,11 @@
  COMMENT=  lightweight caching DNS forwarder, DHCP and TFTP server
  
-DISTNAME=	dnsmasq-2.86

-REVISION=  0
+DISTNAME=  dnsmasq-2.87
  CATEGORIES=   net
-MASTER_SITES=  https://www.thekelleys.org.uk/dnsmasq/
+MASTER_SITES=  https://thekelleys.org.uk/dnsmasq/
  EXTRACT_SUFX= .tar.xz
  
-HOMEPAGE=	https://www.thekelleys.org.uk/dnsmasq/doc.html

+HOMEPAGE=  https://dnsmasq.org/
  
  MAINTAINER=	Brad Smith 
  
Index: distinfo

===
RCS file: /home/cvs/ports/net/dnsmasq/distinfo,v
retrieving revision 1.41
diff -u -p -u -p -r1.41 distinfo
--- distinfo7 Oct 2021 21:39:03 -   1.41
+++ distinfo26 Sep 2022 05:47:27 -
@@ -1,2 +1,2 @@
-SHA256 (dnsmasq-2.86.tar.xz) = KNUs/J4gBKxPhSdPUrMuFke028l2G4Ln3h5BxJkH6wg=
-SIZE (dnsmasq-2.86.tar.xz) = 531404
+SHA256 (dnsmasq-2.87.tar.xz) = AijANkp/I1b9fn8VSZN8vzCZp407LrG6W7DDHiuJ3no=
+SIZE (dnsmasq-2.87.tar.xz) = 540528
Index: patches/patch-man_dnsmasq_8
===
RCS file: /home/cvs/ports/net/dnsmasq/patches/patch-man_dnsmasq_8,v
retrieving revision 1.30
diff -u -p -u -p -r1.30 patch-man_dnsmasq_8
--- patches/patch-man_dnsmasq_8 11 Mar 2022 19:45:55 -  1.30
+++ patches/patch-man_dnsmasq_8 13 Aug 2022 05:36:50 -
@@ -17,8 +17,8 @@ Index: man/dnsmasq.8
   .TP
   .B \-v, --version
   Print the version number.
-@@ -2098,7 +2097,7 @@ in the configuration file included. Secondly, the file
- therein is updated when dnsmasq receives SIGHUP.
+@@ -2178,7 +2177,7 @@ and /share/ads-domains.gz containing a compressed
+ list of ad server domains will save disk space with large ad-server 
blocklists.
   .SH CONFIG FILE
   At startup, dnsmasq reads
  -.I /etc/dnsmasq.conf,
@@ -26,7 +26,7 @@ Index: man/dnsmasq.8
   if it exists. (On
   FreeBSD, the file is
   .I /usr/local/etc/dnsmasq.conf
-@@ -2555,7 +2554,7 @@ dnsmasq has no direct way of determining the charset i
+@@ -2637,7 +2636,7 @@ dnsmasq has no direct way of determining the charset i
   assume that it is the system default.

   .SH FILES

Index: patches/patch-src_config_h
===
RCS file: /home/cvs/ports/net/dnsmasq/patches/patch-src_config_h,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 patch-src_config_h
--- patches/patch-src_config_h  11 Mar 2022 19:45:55 -  1.27
+++ patches/patch-src_config_h  11 Mar 2022 21:52:29 -
@@ -12,7 +12,7 @@ Index: src/config.h
   #define TFTP_MAX_CONNECTIONS 50 /* max simultaneous connections */
   #define LOG_MAX 5 /* log-queue length */
   #define RANDFILE "/dev/urandom"
-@@ -212,7 +212,7 @@ RESOLVFILE
+@@ -216,7 +216,7 @@ RESOLVFILE
   #   if defined(__FreeBSD__)
   #  define CONFFILE "/usr/local/etc/dnsmasq.conf"
   #   else
Index: patches/patch-src_rfc3315_c
===
RCS file: patches/patch-src_rfc3315_c
diff -N patches/patch-src_rfc3315_c
--- patches/patch-src_rfc3315_c 24 Apr 2022 19:16:29 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,161 +0,0 @@
-Fix write-after-free error in DHCPv6 code. CVE-2022-0934 refers.
-03345ecefeb0d82e3c3a4c28f27c3554f0611b39
-
-Index: src/rfc3315.c
 src/rfc3315.c.orig
-+++ src/rfc3315.c
-@@ -33,9 +33,9 @@ struct state {
-   unsigned int mac_len, mac_type;
- };
-
--static int dhcp6_maybe_relay(struct state *state, void *inbuff, size_t sz,
-+static int dhcp6_maybe_relay(struct state *state, unsigned char *inbuff, 
size_t sz,
-struct in6_addr *client_addr, int is_unicast, 
time_t now);
--static int dhcp6_no_relay(struct state *state, int msg_type, void *inbuff, 
size_t sz, int is_unicast, time_t now);
-+static int dhcp6_no_relay(struct state *state, int msg_type, unsigned char 
*inbuff, size_t sz, int is_unicast, time_t now);
- static void log6_opts(int nest, unsigned int xid, void *start_opts, void 
*end_opts);
- static void log6_packet(struct state *state, char *type, struct in6_addr 
*addr, char *string);
- static void log6_quiet(struct state *state, char *type, struct in6_addr 
*addr, char *string);
-@@ -104,12 +104,12 @@ unsigned short dhcp6_reply(struct dhcp_context *contex
- }
-
- /* This cost me blood to write, it will probably cost you blood to understand 
- srk. */
--static int dhcp6_maybe_relay(struct state *state, void *inbuff, size_t sz,
-+static int dhcp6_maybe_relay(struct state *state, unsigned char *inbuff, 
size_t sz,
-struct in6_addr *client_addr, int is_

Re: UPDATE: libavif 0.11.1

2022-11-25 Thread Brad Smith
On Fri, Nov 25, 2022 at 11:14:24AM +, Stuart Henderson wrote:
> Needs gtest at build time.
> 
> Is it worth disabling libyuv detection in case it's ever added to ports?

Sure. Updated diff.


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/libavif/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile11 May 2022 17:26:52 -  1.19
+++ Makefile25 Nov 2022 19:17:30 -
@@ -2,10 +2,10 @@ COMMENT=  library for encoding and decodi
 
 GH_ACCOUNT=AOMediaCodec
 GH_PROJECT=libavif
-GH_TAGNAME=v0.10.1
+GH_TAGNAME=v0.11.1
 CATEGORIES=graphics
 
-SHARED_LIBS=   avif5.0
+SHARED_LIBS=   avif6.0
 
 HOMEPAGE=  https://github.com/AOMediaCodec/libavif
 
@@ -29,7 +29,10 @@ CONFIGURE_ARGS+=-DAVIF_BUILD_APPS=ON \
-DAVIF_BUILD_TESTS=ON \
-DAVIF_CODEC_AOM=ON \
-DAVIF_CODEC_AOM_DECODE=OFF \
-   -DAVIF_CODEC_DAV1D=ON
+   -DAVIF_CODEC_DAV1D=ON \
+   -DAVIF_ENABLE_GTEST=OFF \
+   -DCMAKE_DISABLE_FIND_PACKAGE_libsharpyuv=OFF \
+   -DCMAKE_DISABLE_FIND_PACKAGE_libyuv=OFF
 
 do-test:
${WRKBUILD}/tests/aviftest ${WRKSRC}/tests/data
Index: distinfo
===
RCS file: /home/cvs/ports/graphics/libavif/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo11 May 2022 17:26:52 -  1.14
+++ distinfo26 Oct 2022 01:29:28 -
@@ -1,2 +1,2 @@
-SHA256 (libavif-0.10.1.tar.gz) = ZugoVM64Sj5UK8FAo0O8kOVsaPPstP/2PmNsE27ZoF4=
-SIZE (libavif-0.10.1.tar.gz) = 2085698
+SHA256 (libavif-0.11.1.tar.gz) = DrSZZVYqDl5d5YOJZQ1DTP8yr4TDQYW2ybey/MrgbU4=
+SIZE (libavif-0.11.1.tar.gz) = 5826813
Index: patches/patch-tests_CMakeLists_txt
===
RCS file: patches/patch-tests_CMakeLists_txt
diff -N patches/patch-tests_CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-tests_CMakeLists_txt  25 Nov 2022 19:23:22 -
@@ -0,0 +1,28 @@
+Build aviftest_helpers for are_images_equal.cc
+e279707a001c8f95f8a2bc51c0d19bf35bfc79ab
+
+Index: tests/CMakeLists.txt
+--- tests/CMakeLists.txt.orig
 tests/CMakeLists.txt
+@@ -39,15 +39,17 @@ foreach(AVIFYUV_MODE limited rgb) # Modes drift and pr
+ add_test(NAME avifyuv_${AVIFYUV_MODE} COMMAND avifyuv -m ${AVIFYUV_MODE})
+ endforeach()
+ 
+-
+-# GoogleTest
+-
+-if(AVIF_ENABLE_GTEST)
++if(AVIF_ENABLE_GTEST OR AVIF_BUILD_APPS)
+ enable_language(CXX)
+ set(CMAKE_CXX_STANDARD 11)
+ add_library(aviftest_helpers OBJECT gtest/aviftest_helpers.cc)
+ target_link_libraries(aviftest_helpers avif_apps)
++endif()
+ 
++
++# GoogleTest
++
++if(AVIF_ENABLE_GTEST)
+ if(AVIF_LOCAL_GTEST)
+ set(GTEST_INCLUDE_DIRS 
${CMAKE_SOURCE_DIR}/ext/googletest/googletest/include)
+ set(GTEST_LIBRARIES



UPDATE: VLC 3.0.18

2022-11-24 Thread Brad Smith
Here is an update to VLC 3.0.18.


https://code.videolan.org/videolan/vlc/-/raw/3.0.x/NEWS


Index: Makefile
===
RCS file: /home/cvs/ports/x11/vlc/Makefile,v
retrieving revision 1.259
diff -u -p -u -p -r1.259 Makefile
--- Makefile5 Nov 2022 17:10:20 -   1.259
+++ Makefile25 Nov 2022 07:15:43 -
@@ -1,8 +1,7 @@
 COMMENT-main=  VideoLAN client; multimedia player
 COMMENT-jack=  JACK audio output module for VLC
 
-V= 3.0.17.3
-REVISION-main= 1
+V= 3.0.18
 DISTNAME=  vlc-${V}
 PKGNAME-main=  ${DISTNAME}
 PKGNAME-jack=  vlc-jack-${V}
@@ -27,7 +26,7 @@ WANTLIB-main= EGL GL ICE Qt5Core Qt5Gui 
Xdamage Xdmcp Xext Xfixes Xi Xinerama Xpm Xrandr Xrender \
Xxf86vm aom archive ass atk-1.0 atk-bridge-2.0 avahi-client \
avahi-common avcodec avformat avutil b2 bluray brotlidec \
-   brotlienc bz2 c cairo cairo-gobject cddb charset crypto dav1d \
+   brotlienc bz2 c cairo cairo-gobject cddb crypto dav1d \
double-conversion drm dvbpsi dvdnav dvdread ebml epoxy execinfo 
\
expat ffi fontconfig freetype fribidi gbm gcrypt gdk-3 \
gdk_pixbuf-2.0 gio-2.0 glapi glib-2.0 gmodule-2.0 gmp gnutls \
Index: distinfo
===
RCS file: /home/cvs/ports/x11/vlc/distinfo,v
retrieving revision 1.46
diff -u -p -u -p -r1.46 distinfo
--- distinfo20 Mar 2022 09:51:15 -  1.46
+++ distinfo25 Nov 2022 06:51:44 -
@@ -1,2 +1,2 @@
-SHA256 (vlc-3.0.17.3.tar.xz) = b36Q74lz0x2W3mTbgXFz40UVCClxepQISxu4MhzeIBQ=
-SIZE (vlc-3.0.17.3.tar.xz) = 26393440
+SHA256 (vlc-3.0.18.tar.xz) = VwlEOcNl2KqLm0H6MIDMDu8r7+YCW7XO9yKszGJa7ew=
+SIZE (vlc-3.0.18.tar.xz) = 26631372
Index: patches/patch-configure_ac
===
RCS file: /home/cvs/ports/x11/vlc/patches/patch-configure_ac,v
retrieving revision 1.42
diff -u -p -u -p -r1.42 patch-configure_ac
--- patches/patch-configure_ac  11 Mar 2022 20:17:31 -  1.42
+++ patches/patch-configure_ac  25 Nov 2022 06:52:06 -
@@ -1,6 +1,3 @@
-configure: use pkg-config file for sndio
-a9406397ed0342b3dae17a31ed54e46b4fb86407
-
 Index: configure.ac
 --- configure.ac.orig
 +++ configure.ac
@@ -14,10 +11,11 @@ Index: configure.ac
  ;;
netbsd*)
  SYS=netbsd
-@@ -1123,22 +1122,6 @@ AC_ARG_ENABLE(optimizations,
+@@ -1122,22 +1121,6 @@ AC_ARG_ENABLE(optimizations,
+ 
  dnl Check for various optimization flags
  AS_IF([test "${enable_optimizations}" != "no"], [
- 
+-
 -  dnl -O3 only in production builds
 -  AS_IF([test "${enable_debug}" = "no"], [
 -VLC_SAVE_FLAGS
@@ -33,21 +31,6 @@ Index: configure.ac
 -])
 -AS_IF([test "${ac_cv_c_o3}" = "no"], [VLC_RESTORE_FLAGS])
 -  ])
--
+ 
dnl Check for fast maths
AX_APPEND_COMPILE_FLAGS([-fno-math-errno -funsafe-math-optimizations 
-fno-rounding-math -fno-signaling-nans -fcx-limited-range], [CFLAGS])
-   AX_APPEND_COMPILE_FLAGS([-fno-math-errno -funsafe-math-optimizations 
-fno-rounding-math -fno-signaling-nans -fcx-limited-range], [CXXFLAGS])
-@@ -3600,8 +3583,12 @@ AC_ARG_ENABLE([sndio],
- ])
- have_sndio="no"
- AS_IF([test "$enable_sndio" != "no"], [
--  AC_CHECK_HEADER([sndio.h], [
-+  PKG_CHECK_MODULES([SNDIO], [sndio], [
- have_sndio="yes"
-+  ], [
-+AS_IF([test -n "$enable_sndio"], [
-+  AC_MSG_ERROR([${SNDIO_PKG_ERRORS}.)])
-+])
-   ])
- ])
- AM_CONDITIONAL([HAVE_SNDIO], [test "${have_sndio}" = "yes"])
Index: pkg/PLIST-main
===
RCS file: /home/cvs/ports/x11/vlc/pkg/PLIST-main,v
retrieving revision 1.50
diff -u -p -u -p -r1.50 PLIST-main
--- pkg/PLIST-main  11 Mar 2022 20:17:31 -  1.50
+++ pkg/PLIST-main  25 Nov 2022 07:14:11 -
@@ -475,6 +475,7 @@ share/apps/solid/actions/vlc-openvcd.des
 share/doc/vlc/
 share/doc/vlc/fortunes.txt
 share/doc/vlc/libvlc/
+share/doc/vlc/libvlc/CMakeLists.txt
 share/doc/vlc/libvlc/QtPlayer/
 share/doc/vlc/libvlc/QtPlayer/LICENSE
 share/doc/vlc/libvlc/QtPlayer/QtVLC.pro
@@ -484,6 +485,7 @@ share/doc/vlc/libvlc/QtPlayer/player.h
 share/doc/vlc/libvlc/gtk_player.c
 share/doc/vlc/libvlc/libvlc_DVD_ripper.c
 share/doc/vlc/libvlc/vlc-thumb.c
+share/doc/vlc/libvlc/win_player.c
 share/doc/vlc/libvlc/wx_player.cpp
 share/icons/hicolor/128x128/apps/vlc-kb.png
 share/icons/hicolor/128x128/apps/vlc-xmas.png



UPDATE: SDL2 / SDL2-image 2.6.2 / SDL2-mixer 2.6.2 / SDL2-net 2.2.0 / SDL2-ttf 2.20.1

2022-11-24 Thread Brad Smith
Here are updates to SDL2-image 2.6.2 / SDL2-mixer 2.6.2 / SDL2-net 2.2.0 and
SDL2-ttf 2.20.1. Also re-add a CMake fix for shared lib usage that was missed
in the 2.24.1 update.


Index: sdl2/Makefile
===
RCS file: /home/cvs/ports/devel/sdl2/Makefile,v
retrieving revision 1.42
diff -u -p -u -p -r1.42 Makefile
--- sdl2/Makefile   7 Nov 2022 21:45:15 -   1.42
+++ sdl2/Makefile   9 Nov 2022 06:51:03 -
@@ -4,6 +4,7 @@ V=  2.24.1
 REVISION=  0
 DISTNAME=  SDL2-${V}
 PKGNAME=   sdl2-${V}
+REVISION=  0
 CATEGORIES=devel
 MASTER_SITES=  https://www.libsdl.org/release/
 
Index: sdl2/patches/patch-sdl2-config_cmake_in
===
RCS file: sdl2/patches/patch-sdl2-config_cmake_in
diff -N sdl2/patches/patch-sdl2-config_cmake_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ sdl2/patches/patch-sdl2-config_cmake_in 18 Oct 2022 21:55:29 -
@@ -0,0 +1,12 @@
+Index: sdl2-config.cmake.in
+--- sdl2-config.cmake.in.orig
 sdl2-config.cmake.in
+@@ -124,7 +124,7 @@ if(WIN32)
+   unset(_sdl2_implib)
+   unset(_sdl2_dll)
+ else()
+-  set(_sdl2_shared 
"${SDL2_LIBDIR}/${CMAKE_SHARED_LIBRARY_PREFIX}SDL2${CMAKE_SHARED_LIBRARY_SUFFIX}")
++  set(_sdl2_shared 
"${SDL2_LIBDIR}/${CMAKE_SHARED_LIBRARY_PREFIX}SDL2${CMAKE_SHARED_LIBRARY_SUFFIX}.${LIBSDL2_VERSION}")
+   if(EXISTS "${_sdl2_shared}")
+ if(NOT TARGET SDL2::SDL2)
+   add_library(SDL2::SDL2 SHARED IMPORTED)
Index: sdl2/patches/patch-src_SDL_c
===
RCS file: /home/cvs/ports/devel/sdl2/patches/patch-src_SDL_c,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 patch-src_SDL_c
--- sdl2/patches/patch-src_SDL_c18 Oct 2022 00:56:38 -  1.10
+++ sdl2/patches/patch-src_SDL_c15 Oct 2022 08:18:18 -
@@ -19,7 +19,7 @@ Index: src/SDL.c
  SDL_GetPlatform(void)
  {
 +const char *platform;
-+if (platform = SDL_getenv("SDL_PLATFORM")) {
++if ((platform = SDL_getenv("SDL_PLATFORM"))) {
 +return platform;
 +}
  #if __AIX__
Index: sdl2-image/Makefile
===
RCS file: /home/cvs/ports/devel/sdl2-image/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- sdl2-image/Makefile 31 Mar 2022 16:10:30 -  1.15
+++ sdl2-image/Makefile 15 Oct 2022 10:35:29 -
@@ -1,11 +1,10 @@
-V =2.0.5
+V =2.6.2
 COMMENT =  SDL2 image library
 DISTNAME = SDL2_image-${V}
 PKGNAME =  sdl2-image-${V}
 CATEGORIES =   devel graphics
-REVISION = 0
 
-SHARED_LIBS += SDL2_image  0.1 # 0.4
+SHARED_LIBS += SDL2_image  1.0 # 0.4
 
 HOMEPAGE = https://www.libsdl.org/projects/SDL_image/
 
@@ -14,25 +13,21 @@ MAINTAINER =Thomas Frohwein https://www.libsdl.org/projects/SDL_image/release/
 
-LIB_DEPENDS =  devel/sdl2>=2.0.8 \
-   graphics/jpeg \
+LIB_DEPENDS =  devel/sdl2 \
+   graphics/libavif \
graphics/libwebp \
-   graphics/png \
graphics/tiff
 
 CONFIGURE_STYLE =  gnu
-CONFIGURE_ARGS +=  --disable-jpg-shared \
-   --disable-png-shared \
+CONFIGURE_ARGS +=  --disable-avif-shared \
--disable-tif-shared \
--disable-webp-shared
-CONFIGURE_ENV +=   CPPFLAGS="-I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib" \
-   OBJC="${CC}"
+CONFIGURE_ENV +=   OBJC="${CC}"
 
 .include 
Index: sdl2-image/distinfo
===
RCS file: /home/cvs/ports/devel/sdl2-image/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- sdl2-image/distinfo 12 Jul 2019 02:49:57 -  1.5
+++ sdl2-image/distinfo 14 Oct 2022 04:51:32 -
@@ -1,2 +1,2 @@
-SHA256 (SDL2_image-2.0.5.tar.gz) = vdX24CZoL31+G+C2BRsgnaL0AqLdi9HEvZwlrSYxCNA=
-SIZE (SDL2_image-2.0.5.tar.gz) = 11736518
+SHA256 (SDL2_image-2.6.2.tar.gz) = SDVftNjQC6xjnNHE9KdmHEr+8sISr2CzQOBrcFmBR3c=
+SIZE (SDL2_image-2.6.2.tar.gz) = 9814907
Index: sdl2-image/patches/patch-Makefile_in
===
RCS file: /home/cvs/ports/devel/sdl2-image/patches/patch-Makefile_in,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-Makefile_in
--- sdl2-image/patches/patch-Makefile_in11 Mar 2022 18:53:25 -  
1.4
+++ sdl2-image/patches/patch-Makefile_in14 Oct 2022 04:54:16 -
@@ -1,16 +1,11 @@
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -463,12 +463,10 @@ EXTRA_DIST = \
+@@ -571,7 +571,6 @@ EXTRA_DIST = \
  
- @USE_VERSION_RC_FALSE@libSDL2_image_la_LDFLAGS = \
- @USE_VERSION_RC_FALSE@-no-undefined   \
--@USE_VERSION_RC_FALSE@-release $(LT_RELEASE)  \
- @USE_VERSION_RC_FALSE@   

Re: UPDATE: libavif 0.11.1

2022-11-24 Thread Brad Smith

ping.

On 10/25/2022 10:14 PM, Brad Smith wrote:

Here is an update to libavif 0.11.1.


https://raw.githubusercontent.com/AOMediaCodec/libavif/main/CHANGELOG.md


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/libavif/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile11 May 2022 17:26:52 -  1.19
+++ Makefile26 Oct 2022 01:30:24 -
@@ -2,10 +2,10 @@ COMMENT=  library for encoding and decodi
  
  GH_ACCOUNT=	AOMediaCodec

  GH_PROJECT=   libavif
-GH_TAGNAME=v0.10.1
+GH_TAGNAME=v0.11.1
  CATEGORIES=   graphics
  
-SHARED_LIBS=	avif	5.0

+SHARED_LIBS=   avif6.0
  
  HOMEPAGE=	https://github.com/AOMediaCodec/libavif
  
Index: distinfo

===
RCS file: /home/cvs/ports/graphics/libavif/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo11 May 2022 17:26:52 -  1.14
+++ distinfo26 Oct 2022 01:29:28 -
@@ -1,2 +1,2 @@
-SHA256 (libavif-0.10.1.tar.gz) = ZugoVM64Sj5UK8FAo0O8kOVsaPPstP/2PmNsE27ZoF4=
-SIZE (libavif-0.10.1.tar.gz) = 2085698
+SHA256 (libavif-0.11.1.tar.gz) = DrSZZVYqDl5d5YOJZQ1DTP8yr4TDQYW2ybey/MrgbU4=
+SIZE (libavif-0.11.1.tar.gz) = 5826813





Re: UPDATE: libbluray 1.3.3

2022-11-24 Thread Brad Smith

ping.

On 10/4/2022 11:03 AM, Brad Smith wrote:

Here is an update to libbluray 1.3.3.


2022-09-19: Version 1.3.3
- Initial support for Java 18.
- Add support for OpenBSD operating system.
- Improve support for FreeBSD, NetBSD and DragonFlyBSD
- Improve Java 17 support.

2022-06-28: Version 1.3.2
- Fix build/run failure after Oracle Java CPU for April 2022


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libbluray/Makefile,v
retrieving revision 1.22
diff -u -p -u -p -r1.22 Makefile
--- Makefile24 Mar 2022 16:27:34 -  1.22
+++ Makefile20 Sep 2022 16:51:25 -
@@ -1,6 +1,6 @@
  COMMENT = library supporting Blu-ray playback
  
-V =			1.3.1

+V =1.3.3
  DISTNAME =libbluray-${V}
  CATEGORIES =  multimedia
  
@@ -22,11 +22,8 @@ LIB_DEPENDS =		converters/libiconv \

textproc/libxml
  BUILD_DEPENDS =   devel/bison
  
-AUTOCONF_VERSION =	2.69

-AUTOMAKE_VERSION = 1.16
-
  SEPARATE_BUILD =  Yes
-CONFIGURE_STYLE =  autoreconf
+CONFIGURE_STYLE =  gnu
  YACC =${LOCALBASE}/bin/bison -y
  CONFIGURE_ARGS += --disable-bdjava-jar \
--disable-doxygen-doc \
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libbluray/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo24 Mar 2022 16:27:35 -  1.10
+++ distinfo20 Sep 2022 16:51:44 -
@@ -1,2 +1,2 @@
-SHA256 (libbluray-1.3.1.tar.bz2) = wksPQcW3N7u2XFRP5jSVY3p3HBClGd/IAudp8RK0O3U=
-SIZE (libbluray-1.3.1.tar.bz2) = 754867
+SHA256 (libbluray-1.3.3.tar.bz2) = WP9Szc7mTFXcw8d3ocOftBq9lRuSeXjk0raBG5GTpIg=
+SIZE (libbluray-1.3.3.tar.bz2) = 761335
Index: patches/patch-Makefile_am
===
RCS file: patches/patch-Makefile_am
diff -N patches/patch-Makefile_am
--- patches/patch-Makefile_am   11 Mar 2022 19:39:20 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,24 +0,0 @@
-- Allow libbluray to be able to find mount points using the getfsstat() API.
-- Remove setting _POSIX_C_SOURCE as that breaks building some of the BSD 
headers
-  due to BSD types.
-
-Index: Makefile.am
 Makefile.am.orig
-+++ Makefile.am
-@@ -25,7 +25,6 @@ AM_CFLAGS = \
-
- AM_CPPFLAGS = \
-   -D_ISOC99_SOURCE \
--  -D_POSIX_C_SOURCE=$(POSIX_C_SOURCE) \
-   -D_REENTRANT \
-   \
-   -I$(top_srcdir)/src \
-@@ -203,7 +202,7 @@ libbluray_la_SOURCES+= \
-   src/file/dirs_xdg.c \
-   src/file/dl_posix.c \
-   src/file/file_posix.c \
--  src/file/mount.c
-+  src/file/mount_getfsstat.c
- endif
- endif
-
Index: patches/patch-jni_jni_h
===
RCS file: patches/patch-jni_jni_h
diff -N patches/patch-jni_jni_h
--- patches/patch-jni_jni_h 24 Mar 2022 16:27:35 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-Point to a real file.
-
-Index: jni/jni.h
 jni/jni.h.orig
-+++ jni/jni.h
-@@ -43,7 +43,7 @@
- /* jni_md.h contains the machine-dependent typedefs for jbyte, jint
-and jlong */
-
--#include "jni_md.h"
-+#include "netbsd/jni_md.h"
-
- #ifdef __cplusplus
- extern "C" {
Index: patches/patch-src_file_mount_getfsstat_c
===
RCS file: patches/patch-src_file_mount_getfsstat_c
diff -N patches/patch-src_file_mount_getfsstat_c
--- patches/patch-src_file_mount_getfsstat_c11 Mar 2022 19:39:20 -  
1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,68 +0,0 @@
-Re-add the old Darwin code which utilized getfsstat().
-
-Index: src/file/mount_getfsstat.c
 src/file/mount_getfsstat.c.orig
-+++ src/file/mount_getfsstat.c
-@@ -0,0 +1,62 @@
-+/*
-+ * This file is part of libbluray
-+ * Copyright (C) 2014  VideoLAN
-+ *
-+ * This library is free software; you can redistribute it and/or
-+ * modify it under the terms of the GNU Lesser General Public
-+ * License as published by the Free Software Foundation; either
-+ * version 2.1 of the License, or (at your option) any later version.
-+ *
-+ * This library is distributed in the hope that it will be useful,
-+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-+ * Lesser General Public License for more details.
-+ *
-+ * You should have received a copy of the GNU Lesser General Public
-+ * License along with this library. If not, see
-+ * <http://www.gnu.org/licenses/>.
-+ */
-+
-+#if HAVE_CONFIG_H
-+#include "config.h"
-+#endif
-+
-+#include "mount.h"
-+
-+#include "util/strutl.h"
-+
-+#include 
-+
-+#include 
-+#include 
-+#include 
-+#include 
-+
-+char *mount_get_mountpoint(const char *

UPDATE: mpv

2022-11-20 Thread Brad Smith
Convert the port over to using Meson and add zimg support while here.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.85
diff -u -p -u -p -r1.85 Makefile
--- Makefile20 Nov 2022 07:22:59 -  1.85
+++ Makefile21 Nov 2022 01:34:27 -
@@ -3,7 +3,7 @@ COMMENT =   movie player based on MPlayer
 GH_ACCOUNT =   mpv-player
 GH_PROJECT =   mpv
 GH_TAGNAME =   v0.35.0
-REVISION = 0
+REVISION = 1
 
 SHARED_LIBS += mpv 1.0 # 2.0
 
@@ -11,28 +11,22 @@ CATEGORIES =multimedia x11
 
 HOMEPAGE = https://mpv.io/
 
-WAF =  ${WRKSRC}/waf-2.0.24
-MASTER_SITES0 =https://waf.io/
-DISTFILES =${GH_DISTFILE} ${WAF:T}:0
-EXTRACT_ONLY = ${DISTNAME}${EXTRACT_SUFX}
-
 # GPLv2+
 PERMIT_PACKAGE =   Yes
 
-WANTLIB += EGL GL SDL2 X11 X11-xcb Xau Xdmcp Xext Xfixes Xinerama Xpresent
-WANTLIB += Xrandr Xrender Xss Xv Xxf86vm archive ass avcodec avdevice
-WANTLIB += avfilter avformat avresample avutil bluray c cdio cdio_cdda
-WANTLIB += cdio_paranoia drm dvdnav dvdread epoxy expat fontconfig
-WANTLIB += freetype fribidi gbm glib-2.0 graphite2 harfbuzz iconv
-WANTLIB += intl jpeg lcms2 ${MODLUA_WANTLIB} m pcre2-8 placebo postproc
-WANTLIB += pthread sndio swresample swscale udfread xcb xcb-dri2
-WANTLIB += xcb-glx xml2 z
+WANTLIB += EGL SDL2 X11 Xext Xinerama Xpresent Xrandr Xss Xv archive
+WANTLIB += ass avcodec avdevice avfilter avformat avutil bluray
+WANTLIB += c cdio cdio_cdda cdio_paranoia dvdnav iconv jpeg lcms2
+WANTLIB += ${MODLUA_WANTLIB} m placebo pthread sndio swresample
+WANTLIB += swscale z zimg
 
-MODULES =  lang/lua \
+MODULES =  devel/meson \
+   lang/lua \
lang/python
 
 COMPILER = base-clang ports-gcc
 COMPILER_LANGS =   c
+
 DEBUG_PACKAGES =   ${BUILD_PACKAGES}
 
 BUILD_DEPENDS =audio/ladspa \
@@ -43,10 +37,11 @@ LIB_DEPENDS =   archivers/libarchive \
audio/libcdio-paranoia \
converters/libiconv \
devel/sdl2 \
-   graphics/ffmpeg>=4.1.1 \
+   graphics/ffmpeg \
graphics/jpeg \
graphics/lcms2 \
graphics/libplacebo \
+   graphics/zimg \
multimedia/libass \
multimedia/libbluray \
multimedia/libdvdnav
@@ -57,69 +52,84 @@ RUN_DEPENDS =   devel/desktop-file-utils 
x11/gtk+3,-guic
 
 SEPARATE_BUILD =   Yes
-CONFIGURE_ARGS =   --confloaddir=${SYSCONFDIR}/mpv \
-   --confdir=${LOCALBASE}/share/examples/mpv \
-   --mandir=${LOCALBASE}/man \
-   --docdir=${LOCALBASE}/share/examples/mpv \
-   --lua="${MODLUA_DEP_VERSION}obsd" \
-   --enable-cdda \
-   --enable-dvdnav \
-   --enable-libmpv-shared \
-   --enable-sdl2 \
-   --enable-sndio \
-   --disable-alsa \
-   --disable-caca \
-   --disable-cuda-hwaccel \
-   --disable-egl-drm \
-   --disable-gl-wayland \
-   --disable-jack \
-   --disable-rubberband \
-   --disable-openal \
-   --disable-optimize \
-   --disable-pipewire \
-   --disable-pulse \
-   --disable-sixel \
-   --disable-sdl2-audio \
-   --disable-uchardet \
-   --disable-vaapi \
-   --disable-vaapi-drm \
-   --disable-vaapi-x-egl \
-   --disable-vaapi-x11 \
-   --disable-vaapi-wayland \
-   --disable-vapoursynth \
-   --disable-vdpau \
-   --disable-vdpau-gl-x11 \
-   --disable-videotoolbox-gl \
-   --disable-vulkan \
-   --disable-wayland
-
-MAKE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
-   LIBmpv_VERSION=${LIBmpv_VERSION}
-MAKE_FLAGS =   -o "${WRKBUILD}" -t "${WRKSRC}" --destdir="${DESTDIR}"
-
-NO_TEST =  Yes
-
-DO_WAF =   cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MODPY_BIN} \
-   ${WAF} ${MAKE_FLAGS}
 
-SUBST_VARS +=  LIBmpv_VERSION
+CONFIGURE_ARGS = 

Re: [new] databases/rocksdb

2022-11-16 Thread Brad Smith

On 11/16/2022 9:13 AM, Landry Breuil wrote:

Le Tue, Nov 01, 2022 at 02:15:22AM -0400, Brad Smith a Ă©crit :

On 10/31/2022 2:15 PM, Landry Breuil wrote:

Hi,

here's a port of facebook's rocksdb (http://rocksdb.org/), a fork of
google's leveldb. I've enabled all the archivers deps because
stalwart-jmap apparently uses snappy compress via rocksdb-rs for its index
storage. with the shipped ldb binary, i'm able to play/inspect with the
internal index, eventually backuping it (cf
https://github.com/facebook/rocksdb/wiki/Administration-and-Data-Access-Tool).

=
RocksDB is an embeddable persistent key-value store for fast storage.
It can also be the foundation for a client-server database but the
current focus is on embedded workloads.
=

feedback welcome. I dont really know if this can get picked up by some
other ports, from my understanding mariadb can/might use it ?

MariaDB uses it's own embedded copy of RocksDB for the DB engine.

Looking at what supports RocksDB so far, it's bindings that do not typically
come
out of the box with the respective languages and we do not have them in the
ports
tree. So I don't think that's much of an issue.

https://github.com/facebook/rocksdb/blob/main/LANGUAGE-BINDINGS.md

I pushed a patch to improve arm64 support.

https://github.com/facebook/rocksdb/commit/0311956fa44265db45641df94544df72bfc7782f.patch

Thanks, integrated it in a new version of the port - is your patch in a
PR upstream ? I've just filed
https://github.com/facebook/rocksdb/pull/10958  to fix i386.


https://github.com/facebook/rocksdb/pull/10902

The forked copy of RocksDB in MariaDB does not support 32-bit or big 
endian archs. Looking through
the change logs it appears as if possibly big endian is supported now, 
but that would have to be tested.


Re: [update] games/warzone2100

2022-11-16 Thread Brad Smith

On 11/15/2022 7:21 AM, Pascal Stumpf wrote:

Update to latest version, 4.3.2.


Index: Makefile
===
RCS file: /home/cvs/ports/games/warzone2100/Makefile,v
retrieving revision 1.48
diff -u -p -r1.48 Makefile
--- Makefile18 Oct 2022 00:48:10 -  1.48
+++ Makefile15 Nov 2022 11:51:34 -
@@ -2,34 +2,36 @@ ONLY_FOR_ARCHS=   amd64 i386
  
  COMMENT=	3D realtime strategy on a future earth
  
-V=		4.2.4

+V= 4.3.2
  DISTNAME= warzone2100-$V
  CATEGORIES=   games
  MASTER_SITES= https://github.com/Warzone2100/warzone2100/releases/download/$V/
  DISTFILES=warzone2100-${V}{warzone2100_src}${EXTRACT_SUFX}
  EXTRACT_SUFX= .tar.xz
-REVISION=  2
  
  HOMEPAGE=	https://wz2100.net/
  
  # GPLv2+

  PERMIT_PACKAGE=   Yes
  
-WANTLIB += ${COMPILER_LIBCXX} SDL2 c curl freetype harfbuzz intl

-WANTLIB += m miniupnpc ogg openal physfs png sodium sqlite3 theoradec
-WANTLIB += vorbis vorbisfile z
+WANTLIB += ${COMPILER_LIBCXX} X11 Xcursor Xext Xfixes Xi Xrandr
+WANTLIB += Xss c curl freetype fribidi harfbuzz intl m miniupnpc
+WANTLIB += ogg openal opus physfs png samplerate sndio sodium
+WANTLIB += sqlite3 theoradec usbhid vorbis vorbisfile z
  
  MODULES=	devel/cmake
  
  COMPILER=	base-clang ports-gcc
  
  LIB_DEPENDS=	audio/libogg \

+   audio/libsamplerate \
audio/libvorbis \
audio/openal>=20110627 \


You can remove >=20110627 for OpenAL.


Problem in py-pip for 7.2 (broken build?)

2022-11-14 Thread Brad Davis

Is the py-pip build broken?

The 7.2 package is in 
https://ftp.openbsd.org/pub/OpenBSD/7.2/packages/amd64/py-pip-20.3.4p3.tgz 
and built for python2.7 while the CVSweb tree Makefile downloads pip 
version 22.2.2 and python3 as the flavor.


(The problem seems to go back a number of versions.)


untar of 
https://ftp.openbsd.org/pub/OpenBSD/7.2/packages/amd64/py-pip-20.3.4p3.tgz 
::


281 OpenBSD server> tar ztvf /home/share/OS/OpenBSD/7.2/py-pip-20.3.4p3.tgz
-r--r--r--  1 root wheel   112048 Sep 29 12:10 +CONTENTS
-r--r--r--  1 root wheel  329 Sep 29 12:10 +DESC
-rwxr-xr-x  1 root bin    375 Dec 31  1969 bin/pip2
-rwxr-xr-x  1 root bin    379 Dec 31  1969 bin/pip2.7
-rw-r--r--  1 root bin   4811 Dec 31  1969 
lib/python2.7/site-packages/pip-20.3.4-py2.7.egg-info/PKG-INFO
-rw-r--r--  1 root bin  17998 Dec 31  1969 
lib/python2.7/site-packages/pip-20.3.4-py2.7.egg-info/SOURCES.txt
-rw-r--r--  1 root bin  1 Dec 31  1969 
lib/python2.7/site-packages/pip-20.3.4-py2.7.egg-info/dependency_links.txt


...


Brad Davis




Re: UPDATE: GNU make 4.4

2022-11-13 Thread Brad Smith
On Sun, Nov 06, 2022 at 06:16:37PM -0500, Brad Smith wrote:
> On Sun, Nov 06, 2022 at 12:28:58AM -0400, Brad Smith wrote:
> > On Thu, Nov 03, 2022 at 11:20:05PM -0400, Brad Smith wrote:
> > > On Thu, Nov 03, 2022 at 07:36:37PM -0400, Brad Smith wrote:
> > > > On Thu, Nov 03, 2022 at 03:43:17PM -0400, Brad Smith wrote:
> > > > > Here is an update to GNU make 4.4.
> > > > > 
> > > > > Ran through a bulk by naddy@ on amd64.
> > > > > 
> > > > > https://lists.gnu.org/archive/html/info-gnu/2022-10/msg8.html
> > > > > 
> > > > > "There was one suspicious build failure: x11/lablgtk2 fails at the 
> > > > > fake
> > > > > step with
> > > > > ocamlfind: sourceView2Enums.ml: No such file or directory
> > > > > 
> > > > > Other than that, no problems."
> > > > 
> > > > Fix the date in the man page patch.
> > > 
> > > Looks like this needs a tweak to build on non-Clang archs.
> > 
> > With some assistance upstream provided a patch for the loadapi tests
> > crashing.
> > 
> > The output-sync test is an issue with the framework, and not an issue
> > with make to worry about. It'll be fixed.
> 
> Here are some additional patches to have the tests pass.
> 
> But upstream had this to say..
> 
> "I'm not sure what the problem actually is here.  It's something weird about 
> the
> shell; it's doing something strange with SIGTERM.  However I modified the 
> helper
> app to be able to send TERM then replaced the test recipe "kill -TERM && 
> sleep"
> with a reference to that."

Here is an updated diff with the patches as commited upstream.


Index: Makefile
===
RCS file: /home/cvs/ports/devel/gmake/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile11 Mar 2022 18:50:08 -  1.65
+++ Makefile6 Nov 2022 22:43:14 -
@@ -1,6 +1,6 @@
 COMMENT=   GNU make
 
-DISTNAME=  make-4.3
+DISTNAME=  make-4.4
 PKGNAME=   g${DISTNAME}
 CATEGORIES=devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=make/}
@@ -26,8 +26,12 @@ MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/buil
 
 TEST_ENV=  SHELL=$$SHELL
 
-# Known test failures:
-# output-sync can fail due to a race condition in the test itself
-# https://lists.gnu.org/archive/html/bug-make/2020-01/msg00075.html
+# Test suite will run .orig files
+PATCHORIG= .~
+
+.include 
+.if !${PROPERTIES:Mclang}
+CFLAGS+=   -std=gnu99
+.endif
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/devel/gmake/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo1 Feb 2020 15:29:24 -   1.10
+++ distinfo31 Oct 2022 17:34:34 -
@@ -1,2 +1,2 @@
-SHA256 (make-4.3.tar.lz) = 3hpEHE7flSUh2zC/yoC6roag/xrNCgBAKZk0TwTEXoI=
-SIZE (make-4.3.tar.lz) = 1266180
+SHA256 (make-4.4.tar.lz) = SND8CyoEu1DykRwW2mVyMoX39IBMdPxaISSj32xfeMQ=
+SIZE (make-4.4.tar.lz) = 1283355
Index: patches/patch-Makefile_in
===
RCS file: /home/cvs/ports/devel/gmake/patches/patch-Makefile_in,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-Makefile_in
--- patches/patch-Makefile_in   11 Mar 2022 18:50:08 -  1.6
+++ patches/patch-Makefile_in   31 Oct 2022 17:38:15 -
@@ -1,12 +1,12 @@
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -1039,7 +1039,7 @@ make_SOURCES = $(make_SRCS) $(am__append_1) $(am__appe
-   $(am__append_4) $(am__append_5)
- EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
- make_LDADD = $(LIBOBJS) $(GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
+@@ -564,7 +564,7 @@ EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
+ @HAVE_GUILE_FALSE@_GUILE_LIBS = 
+ @HAVE_GUILE_TRUE@_GUILE_LIBS = $(GUILE_LIBS)
+ make_LDADD = $(LIBOBJS) $(_GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
 -  @LIBINTL@
 +  @LTLIBINTL@
  
  AM_CPPFLAGS = -Isrc -I$(top_srcdir)/src -Ilib -I$(top_srcdir)/lib \
-   -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" \
+   -DLIBDIR=\"$(libdir)\" -DLOCALEDIR=\"$(localedir)\" \
Index: patches/patch-doc_make_1
===
RCS file: /home/cvs/ports/devel/gmake/patches/patch-doc_make_1,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-doc_make_1
--- patches/patch-doc_make_111 Mar 2022 18:50:08 -  1.2
+++ patches/patch-doc_make_13 Nov 2022 23:33:07 -
@@ -5,8 +5,8 @@ Index: doc/make.1
 --- doc/make.1.orig
 +++ doc/make.1
 @@ -1,13 +1,13 @@
--.TH MAKE 1 "28 February 2016" "G

UPDATE: mpv 0.35.0

2022-11-12 Thread Brad Smith
Here is an update to mpv 0.35.0 and a patch for minitube due to
API change in libmpv.

https://raw.githubusercontent.com/mpv-player/mpv/master/RELEASE_NOTES


Index: multimedia/mpv/Makefile
===
RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.83
diff -u -p -u -p -r1.83 Makefile
--- multimedia/mpv/Makefile 5 Nov 2022 17:06:30 -   1.83
+++ multimedia/mpv/Makefile 13 Nov 2022 00:41:33 -
@@ -2,17 +2,15 @@ COMMENT = movie player based on MPlayer
 
 GH_ACCOUNT =   mpv-player
 GH_PROJECT =   mpv
-GH_TAGNAME =   v0.34.1
+GH_TAGNAME =   v0.35.0
 
-REVISION = 2
-
-SHARED_LIBS += mpv 0.2 # 1.109
+SHARED_LIBS += mpv 1.0 # 2.0
 
 CATEGORIES =   multimedia x11
 
 HOMEPAGE = https://mpv.io/
 
-WAF =  ${WRKSRC}/waf-2.0.20
+WAF =  ${WRKSRC}/waf-2.0.24
 MASTER_SITES0 =https://waf.io/
 DISTFILES =${GH_DISTFILE} ${WAF:T}:0
 EXTRACT_ONLY = ${DISTNAME}${EXTRACT_SUFX}
@@ -20,7 +18,7 @@ EXTRACT_ONLY =${DISTNAME}${EXTRACT_SUF
 # GPLv2+
 PERMIT_PACKAGE =   Yes
 
-WANTLIB += EGL GL SDL2 X11 X11-xcb Xau Xdmcp Xext Xfixes Xinerama
+WANTLIB += EGL GL SDL2 X11 X11-xcb Xau Xdmcp Xext Xfixes Xinerama Xpresent
 WANTLIB += Xrandr Xrender Xss Xv Xxf86vm archive ass avcodec avdevice
 WANTLIB += avfilter avformat avresample avutil bluray c cdio cdio_cdda
 WANTLIB += cdio_paranoia drm dvdnav dvdread epoxy expat fontconfig
@@ -77,6 +75,7 @@ CONFIGURE_ARGS =  --confloaddir=${SYSCONF
--disable-rubberband \
--disable-openal \
--disable-optimize \
+   --disable-pipewire \
--disable-pulse \
--disable-sixel \
--disable-sdl2-audio \
@@ -91,11 +90,11 @@ CONFIGURE_ARGS =--confloaddir=${SYSCONF
--disable-vdpau-gl-x11 \
--disable-videotoolbox-gl \
--disable-vulkan \
-   --disable-wayland-scanner \
-   --disable-wayland-protocols
+   --disable-wayland
 
 MAKE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+   LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
+   LIBmpv_VERSION=${LIBmpv_VERSION}
 MAKE_FLAGS =   -o "${WRKBUILD}" -t "${WRKSRC}" --destdir="${DESTDIR}"
 
 NO_TEST =  Yes
@@ -103,15 +102,11 @@ NO_TEST = Yes
 DO_WAF =   cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MODPY_BIN} \
${WAF} ${MAKE_FLAGS}
 
-LMAJ = ${LIBmpv_VERSION:R}
-LMIN = ${LIBmpv_VERSION:E}
-UPDATE_PLIST_ARGS +=   -i LMAJ -i LMIN
-SUBST_VARS +=  LMAJ \
-   LMIN
+SUBST_VARS +=  LIBmpv_VERSION
 
 post-patch:
cp ${DISTDIR}/${WAF:T} ${WAF}
-   ${SUBST_CMD} ${WRKSRC}/libmpv/client.h
+   ${SUBST_CMD} ${WRKSRC}/wscript_build.py
 
 do-configure:
${DO_WAF} configure ${CONFIGURE_ARGS}
Index: multimedia/mpv/distinfo
===
RCS file: /home/cvs/ports/multimedia/mpv/distinfo,v
retrieving revision 1.28
diff -u -p -u -p -r1.28 distinfo
--- multimedia/mpv/distinfo 29 Jan 2022 12:30:14 -  1.28
+++ multimedia/mpv/distinfo 12 Nov 2022 21:56:02 -
@@ -1,4 +1,4 @@
-SHA256 (mpv-0.34.1.tar.gz) = Mt7YwTtjmDEPondnN4GT3B2214sAa3Dby9MSOhRF50Y=
-SHA256 (waf-2.0.20) = v5cemO3CQUloomLGqmuIVBomw80khonIn0xXNwlV7n8=
-SIZE (mpv-0.34.1.tar.gz) = 3288356
-SIZE (waf-2.0.20) = 104725
+SHA256 (mpv-0.35.0.tar.gz) = 3EEciZpkVIJQwUK/H6GqdSjxtDmKJMhrgWCTmZBJ7AA=
+SHA256 (waf-2.0.24) = k5CbyoI6Z1+fQK98ZbJIh8OjwO/fQR/xl4uoJxlL3rA=
+SIZE (mpv-0.35.0.tar.gz) = 3365752
+SIZE (waf-2.0.24) = 105408
Index: multimedia/mpv/patches/patch-DOCS_man_ao_rst
===
RCS file: multimedia/mpv/patches/patch-DOCS_man_ao_rst
diff -N multimedia/mpv/patches/patch-DOCS_man_ao_rst
--- multimedia/mpv/patches/patch-DOCS_man_ao_rst11 Mar 2022 19:39:24 
-  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,19 +0,0 @@
-ao_sndio: add this audio output again
-
-https://github.com/mpv-player/mpv/pull/8314
-
-Index: DOCS/man/ao.rst
 DOCS/man/ao.rst.orig
-+++ DOCS/man/ao.rst
-@@ -219,5 +219,11 @@ Available audio output drivers are:
- ``no-waveheader`` option - with ``waveheader`` it's broken, because
- it will write a WAVE header every time the file is opened.
- 
-+``sndio``
-+Audio output to the OpenBSD sndio sound system
-+
-+(Note: only supports mono, stereo, 4.0, 5.1 and 7.1 

Re: UPDATE: GNU make 4.4

2022-11-06 Thread Brad Smith
On Sun, Nov 06, 2022 at 12:28:58AM -0400, Brad Smith wrote:
> On Thu, Nov 03, 2022 at 11:20:05PM -0400, Brad Smith wrote:
> > On Thu, Nov 03, 2022 at 07:36:37PM -0400, Brad Smith wrote:
> > > On Thu, Nov 03, 2022 at 03:43:17PM -0400, Brad Smith wrote:
> > > > Here is an update to GNU make 4.4.
> > > > 
> > > > Ran through a bulk by naddy@ on amd64.
> > > > 
> > > > https://lists.gnu.org/archive/html/info-gnu/2022-10/msg8.html
> > > > 
> > > > "There was one suspicious build failure: x11/lablgtk2 fails at the fake
> > > > step with
> > > > ocamlfind: sourceView2Enums.ml: No such file or directory
> > > > 
> > > > Other than that, no problems."
> > > 
> > > Fix the date in the man page patch.
> > 
> > Looks like this needs a tweak to build on non-Clang archs.
> 
> With some assistance upstream provided a patch for the loadapi tests
> crashing.
> 
> The output-sync test is an issue with the framework, and not an issue
> with make to worry about. It'll be fixed.

Here are some additional patches to have the tests pass.

But upstream had this to say..

"I'm not sure what the problem actually is here.  It's something weird about the
shell; it's doing something strange with SIGTERM.  However I modified the helper
app to be able to send TERM then replaced the test recipe "kill -TERM && sleep"
with a reference to that."


Index: Makefile
===
RCS file: /home/cvs/ports/devel/gmake/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile11 Mar 2022 18:50:08 -  1.65
+++ Makefile6 Nov 2022 22:43:14 -
@@ -1,6 +1,6 @@
 COMMENT=   GNU make
 
-DISTNAME=  make-4.3
+DISTNAME=  make-4.4
 PKGNAME=   g${DISTNAME}
 CATEGORIES=devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=make/}
@@ -26,8 +26,12 @@ MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/buil
 
 TEST_ENV=  SHELL=$$SHELL
 
-# Known test failures:
-# output-sync can fail due to a race condition in the test itself
-# https://lists.gnu.org/archive/html/bug-make/2020-01/msg00075.html
+# Test suite will run .orig files
+PATCHORIG= .~
+
+.include 
+.if !${PROPERTIES:Mclang}
+CFLAGS+=   -std=gnu99
+.endif
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/devel/gmake/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo1 Feb 2020 15:29:24 -   1.10
+++ distinfo31 Oct 2022 17:34:34 -
@@ -1,2 +1,2 @@
-SHA256 (make-4.3.tar.lz) = 3hpEHE7flSUh2zC/yoC6roag/xrNCgBAKZk0TwTEXoI=
-SIZE (make-4.3.tar.lz) = 1266180
+SHA256 (make-4.4.tar.lz) = SND8CyoEu1DykRwW2mVyMoX39IBMdPxaISSj32xfeMQ=
+SIZE (make-4.4.tar.lz) = 1283355
Index: patches/patch-Makefile_in
===
RCS file: /home/cvs/ports/devel/gmake/patches/patch-Makefile_in,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-Makefile_in
--- patches/patch-Makefile_in   11 Mar 2022 18:50:08 -  1.6
+++ patches/patch-Makefile_in   31 Oct 2022 17:38:15 -
@@ -1,12 +1,12 @@
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -1039,7 +1039,7 @@ make_SOURCES = $(make_SRCS) $(am__append_1) $(am__appe
-   $(am__append_4) $(am__append_5)
- EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
- make_LDADD = $(LIBOBJS) $(GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
+@@ -564,7 +564,7 @@ EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
+ @HAVE_GUILE_FALSE@_GUILE_LIBS = 
+ @HAVE_GUILE_TRUE@_GUILE_LIBS = $(GUILE_LIBS)
+ make_LDADD = $(LIBOBJS) $(_GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
 -  @LIBINTL@
 +  @LTLIBINTL@
  
  AM_CPPFLAGS = -Isrc -I$(top_srcdir)/src -Ilib -I$(top_srcdir)/lib \
-   -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" \
+   -DLIBDIR=\"$(libdir)\" -DLOCALEDIR=\"$(localedir)\" \
Index: patches/patch-doc_make_1
===
RCS file: /home/cvs/ports/devel/gmake/patches/patch-doc_make_1,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-doc_make_1
--- patches/patch-doc_make_111 Mar 2022 18:50:08 -  1.2
+++ patches/patch-doc_make_13 Nov 2022 23:33:07 -
@@ -5,8 +5,8 @@ Index: doc/make.1
 --- doc/make.1.orig
 +++ doc/make.1
 @@ -1,13 +1,13 @@
--.TH MAKE 1 "28 February 2016" "GNU" "User Commands"
-+.TH GMAKE 1 "28 February 2016" "GNU" "User Commands"
+-.TH MAKE 1 "31 May 2022" "GNU" "User Commands"
++.TH GMAKE 1 "31 May 2022" "GNU" "User Commands"
  .SH NAME
 -make \- GNU make utility to maintain groups of p

Re: UPDATE: GNU make 4.4

2022-11-05 Thread Brad Smith
On Thu, Nov 03, 2022 at 11:20:05PM -0400, Brad Smith wrote:
> On Thu, Nov 03, 2022 at 07:36:37PM -0400, Brad Smith wrote:
> > On Thu, Nov 03, 2022 at 03:43:17PM -0400, Brad Smith wrote:
> > > Here is an update to GNU make 4.4.
> > > 
> > > Ran through a bulk by naddy@ on amd64.
> > > 
> > > https://lists.gnu.org/archive/html/info-gnu/2022-10/msg8.html
> > > 
> > > "There was one suspicious build failure: x11/lablgtk2 fails at the fake
> > > step with
> > > ocamlfind: sourceView2Enums.ml: No such file or directory
> > > 
> > > Other than that, no problems."
> > 
> > Fix the date in the man page patch.
> 
> Looks like this needs a tweak to build on non-Clang archs.

With some assistance upstream provided a patch for the loadapi tests
crashing.

The output-sync test is an issue with the framework, and not an issue
with make to worry about. It'll be fixed.


Index: Makefile
===
RCS file: /home/cvs/ports/devel/gmake/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile11 Mar 2022 18:50:08 -  1.65
+++ Makefile4 Nov 2022 03:21:01 -
@@ -1,6 +1,6 @@
 COMMENT=   GNU make
 
-DISTNAME=  make-4.3
+DISTNAME=  make-4.4
 PKGNAME=   g${DISTNAME}
 CATEGORIES=devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=make/}
@@ -25,6 +25,11 @@ CONFIGURE_ENV=   CPPFLAGS="-I${LOCALBASE}/
 MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/build-aux
 
 TEST_ENV=  SHELL=$$SHELL
+
+.include 
+.if !${PROPERTIES:Mclang}
+CFLAGS+=   -std=gnu99
+.endif
 
 # Known test failures:
 # output-sync can fail due to a race condition in the test itself
Index: distinfo
===
RCS file: /home/cvs/ports/devel/gmake/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo1 Feb 2020 15:29:24 -   1.10
+++ distinfo31 Oct 2022 17:34:34 -
@@ -1,2 +1,2 @@
-SHA256 (make-4.3.tar.lz) = 3hpEHE7flSUh2zC/yoC6roag/xrNCgBAKZk0TwTEXoI=
-SIZE (make-4.3.tar.lz) = 1266180
+SHA256 (make-4.4.tar.lz) = SND8CyoEu1DykRwW2mVyMoX39IBMdPxaISSj32xfeMQ=
+SIZE (make-4.4.tar.lz) = 1283355
Index: patches/patch-Makefile_in
===
RCS file: /home/cvs/ports/devel/gmake/patches/patch-Makefile_in,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-Makefile_in
--- patches/patch-Makefile_in   11 Mar 2022 18:50:08 -  1.6
+++ patches/patch-Makefile_in   31 Oct 2022 17:38:15 -
@@ -1,12 +1,12 @@
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -1039,7 +1039,7 @@ make_SOURCES = $(make_SRCS) $(am__append_1) $(am__appe
-   $(am__append_4) $(am__append_5)
- EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
- make_LDADD = $(LIBOBJS) $(GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
+@@ -564,7 +564,7 @@ EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
+ @HAVE_GUILE_FALSE@_GUILE_LIBS = 
+ @HAVE_GUILE_TRUE@_GUILE_LIBS = $(GUILE_LIBS)
+ make_LDADD = $(LIBOBJS) $(_GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
 -  @LIBINTL@
 +  @LTLIBINTL@
  
  AM_CPPFLAGS = -Isrc -I$(top_srcdir)/src -Ilib -I$(top_srcdir)/lib \
-   -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" \
+   -DLIBDIR=\"$(libdir)\" -DLOCALEDIR=\"$(localedir)\" \
Index: patches/patch-doc_make_1
===
RCS file: /home/cvs/ports/devel/gmake/patches/patch-doc_make_1,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-doc_make_1
--- patches/patch-doc_make_111 Mar 2022 18:50:08 -  1.2
+++ patches/patch-doc_make_13 Nov 2022 23:33:07 -
@@ -5,8 +5,8 @@ Index: doc/make.1
 --- doc/make.1.orig
 +++ doc/make.1
 @@ -1,13 +1,13 @@
--.TH MAKE 1 "28 February 2016" "GNU" "User Commands"
-+.TH GMAKE 1 "28 February 2016" "GNU" "User Commands"
+-.TH MAKE 1 "31 May 2022" "GNU" "User Commands"
++.TH GMAKE 1 "31 May 2022" "GNU" "User Commands"
  .SH NAME
 -make \- GNU make utility to maintain groups of programs
 +gmake \- GNU make utility to maintain groups of programs
@@ -40,7 +40,7 @@ Index: doc/make.1
 +.BR gmake ,
  you must write a file called the
  .I makefile
- that describes the relationships among files in your program, and the states
+ that describes the relationships among files in your program, and provides
 @@ -35,17 +35,17 @@ Once a suitable makefile exists, each time you change 
  this simple shell command:
  .sp 1
@@ -61,7 +61,7 @@ Index: doc/make.1
 +.B gmake
  executes commands in the
  .I makefile
- to update one or more target
+ to update one or more
 @@ -56,7 +56,7 @@ is typically a program.
  If no
  .B \-f
@@ -98,7 +98,7 

UPDATE: FFmpeg 4.4.3

2022-11-04 Thread Brad Smith
Here is an update to FFmpeg 4.4.3.


version 4.4.3:
- avformat/vividas: Check packet size
- configure: link to libatomic when it's present
- avcodec/dstdec: Check for overflow in build_filter()
- avformat/spdifdec: Use 64bit to compute bit rate
- avformat/rpl: Use 64bit for duration computation
- avformat/xwma: Use av_rescale() for duration computation
- avformat/sdsdec: Use av_rescale() to avoid intermediate overflow in duration 
calculation
- avformat/sbgdec: Check ts_int in genrate_intervals
- avformat/rmdec: check tag_size
- avformat/nutdec: Check fields
- avformat/flvdec: Use 64bit for sum_flv_tag_size
- avformat/jacosubdec: Fix overflow in get_shift()
- avformat/dxa: avoid bpc overflows
- avformat/cafdec: Check that nb_frasmes fits within 64bit
- avformat/asfdec_o: Limit packet offset
- avformat/ape: Check frames size
- avformat/icodec: Check nb_pal
- avformat/aiffdec: Use 64bit for block_duration use
- avformat/aiffdec: Check block_duration
- avformat/mxfdec: only probe max run in
- avformat/mxfdec: Check run_in is within 65536
- avcodec/mjpegdec: Check for unsupported bayer case
- avcodec/apedec: Fix integer overflow in filter_3800()
- avcodec/tta: Check 24bit scaling for overflow
- avcodec/mobiclip: Check quantizer for overflow
- avcodec/exr: Check preview psize
- avcodec/tiff: Fix loop detection
- libavformat/hls: Free keys
- avcodec/fmvc: Move frame allocation to a later stage
- avfilter/vf_showinfo: remove backspaces
- avcodec/speedhq: Check width
- avcodec/bink: disallow odd positioned scaled blocks
- avformat/asfdec_o: limit recursion depth in asf_read_unknown()
- doc/git-howto.texi: Document commit signing
- libavcodec/8bps: Check that line lengths fit within the buffer
- avcodec/midivid: Perform lzss_uncompress() before ff_reget_buffer()
- libavformat/iff: Check for overflow in body_end calculation
- avformat/avidec: Prevent entity expansion attacks
- avcodec/h263dec: Sanity check against minimal I/P frame size
- avcodec/hevcdec: Check s->ref in the md5 path similar to hwaccel
- avcodec/mpegaudiodec_template: use unsigned shift in handle_crc()
- avformat/subviewerdec: Make read_ts() more flexible
- avcodec/mjpegdec: bayer and rct are incompatible
- MAINTAINERS: Add ED25519 key for signing my commits in the future
- avcodec/hevc_filter: copy_CTB() only within width
- avcodec/tiff: Check tile_length and tile_width
- avcodec/mss4: Check image size with av_image_check_size2()
- avformat/flvdec: Check for EOF in index reading
- avformat/nutdec: Check get_packetheader() in mainheader
- avformat/asfdec_f: Use 64bit for packet start time
- avcodec/exr: Check x/ysize
- tools/target_dec_fuzzer: Adjust threshold for MMVIDEO
- avcodec/lagarith: Check dst/src in zero run code
- avcodec/h264dec: Skip late SEI
- avcodec/sbrdsp_fixed: Fix integer overflows in sbr_qmf_deint_neg_c()
- avfilter/vf_signature: Fix integer overflow in filter_frame()
- avformat/rtsp: break on unknown protocols
- avcodec/hevcdsp_template: stay within tables in sao_band_filter()
- avcodec/tiff: Check pixel format types for dng
- avcodec/qpeldsp: copy less for the mc0x cases
- avformat/aaxdec: Check for empty segments
- avcodec/ffv1dec: Limit golomb rice coded slices to width 8M
- avformat/iff: simplify duration calculation
- avcodec/wnv1: Check for width =1
- avcodec/ffv1dec_template: fix indention
- avformat/sctp: close socket on errors
- avcodec/aasc: Fix indention
- avcodec/qdrw: adjust max colors to array size
- avcodec/alacdsp: Make intermediates unsigned
- avformat/aiffdec: cleanup size handling for extreem cases
- avformat/matroskadec: avoid integer overflows in SAR computation
- avcodec/jpeglsdec: fix end check for xfrm
- avcodec/cdgraphics: limit scrolling to the line
- avformat/hls: Limit start_seq_no to one bit less
- avformat/aiffdec: avoid integer overflow in get_meta()
- avformat/ape: more bits in size for less overflows
- avformat/aviobuf: Check buf_size in ffio_ensure_seekback()
- avformat/bfi: Check offsets better
- avformat/asfdec_f: Check packet_frag_timestamp
- avcodec/texturedspenc: Fix indexing in color distribution determination
- avformat/act: Check ff_get_wav_header() for failure
- avcodec/libxavs2: Improve r redundancy in occured
- avformat/libzmq: Improve r redundancy in occured
- avfilter/vsrc_mandelbrot: Check for malloc failure
- avfilter/vf_frei0r: Copy to frame allocated according to frei0r requirements
- avfilter/video: Add ff_default_get_video_buffer2() to set specific alignment
- avformat/genh: Check sample rate
- configure: bump year
- lavc/videotoolbox: do not pass AVCodecContext to decoder output callback
- lavc/pthread_frame: always transfer stashed hwaccel state
- avcodec/arm/sbcenc: avoid callee preserved vfp registers
- avfilter/vf_scale: overwrite the width and height expressions with the 
original values
- lavc/pthread_frame: avoid leaving stale hwaccel state in worker threads
- configure: extend SDL check to accept all 2.x versions
- lavf/tls_mbedtls: add support for mbedtls version 3



Re: UPDATE: GNU make 4.4

2022-11-03 Thread Brad Smith
On Fri, Nov 04, 2022 at 01:48:30AM -0400, Brad Smith wrote:
> On 11/3/2022 3:43 PM, Brad Smith wrote:
> > Here is an update to GNU make 4.4.
> > 
> > Ran through a bulk by naddy@ on amd64.
> > 
> > https://lists.gnu.org/archive/html/info-gnu/2022-10/msg8.html
> > 
> > "There was one suspicious build failure: x11/lablgtk2 fails at the fake
> > step with
> > ocamlfind: sourceView2Enums.ml: No such file or directory
> > 
> > Other than that, no problems."
> 
> Regarding the lablgtk2 issue. naddy@ mentioned he was seeing messages like
> so
> during the fake stage.. "warning: pattern recipe did not update peer target"
> and the release notes mention.. * WARNING: Future backward-incompatibility!
> In the NEXT release of GNU Make, pattern rules will implement the same
> behavior change for multiple targets as explicit grouped targets, below: if
> any target of the rule is needed by the build, the recipe will be invoked if
> any target of the rule is missing or out of date. During testing some
> makefiles were found to contain pattern rules that do not build all targets;
> this can cause issues so we are delaying this change for one release cycle
> to allow these makefiles to be updated. GNU Make shows a warning if it
> detects this situation: "pattern recipe did not update peer target".

Ugh. Didn't look like that when I hit send.


Regarding the lablgtk2 issue. naddy@ mentioned he was seeing messages like so
during the fake stage.. "warning: pattern recipe did not update peer target"

and the release notes mention..

* WARNING: Future backward-incompatibility!
  In the NEXT release of GNU Make, pattern rules will implement the same
  behavior change for multiple targets as explicit grouped targets, below: if
  any target of the rule is needed by the build, the recipe will be invoked if
  any target of the rule is missing or out of date.  During testing some
  makefiles were found to contain pattern rules that do not build all targets;
  this can cause issues so we are delaying this change for one release cycle
  to allow these makefiles to be updated.  GNU Make shows a warning if it
  detects this situation: "pattern recipe did not update peer target".



Re: UPDATE: GNU make 4.4

2022-11-03 Thread Brad Smith

On 11/3/2022 3:43 PM, Brad Smith wrote:

Here is an update to GNU make 4.4.

Ran through a bulk by naddy@ on amd64.

https://lists.gnu.org/archive/html/info-gnu/2022-10/msg8.html

"There was one suspicious build failure: x11/lablgtk2 fails at the fake
step with
ocamlfind: sourceView2Enums.ml: No such file or directory

Other than that, no problems."


Regarding the lablgtk2 issue. naddy@ mentioned he was seeing messages 
like so
during the fake stage.. "warning: pattern recipe did not update peer 
target" and the release notes mention.. * WARNING: Future 
backward-incompatibility! In the NEXT release of GNU Make, pattern rules 
will implement the same behavior change for multiple targets as explicit 
grouped targets, below: if any target of the rule is needed by the 
build, the recipe will be invoked if any target of the rule is missing 
or out of date. During testing some makefiles were found to contain 
pattern rules that do not build all targets; this can cause issues so we 
are delaying this change for one release cycle to allow these makefiles 
to be updated. GNU Make shows a warning if it detects this situation: 
"pattern recipe did not update peer target".


Re: UPDATE: GNU make 4.4

2022-11-03 Thread Brad Smith
On Thu, Nov 03, 2022 at 07:36:37PM -0400, Brad Smith wrote:
> On Thu, Nov 03, 2022 at 03:43:17PM -0400, Brad Smith wrote:
> > Here is an update to GNU make 4.4.
> > 
> > Ran through a bulk by naddy@ on amd64.
> > 
> > https://lists.gnu.org/archive/html/info-gnu/2022-10/msg8.html
> > 
> > "There was one suspicious build failure: x11/lablgtk2 fails at the fake
> > step with
> > ocamlfind: sourceView2Enums.ml: No such file or directory
> > 
> > Other than that, no problems."
> 
> Fix the date in the man page patch.

Looks like this needs a tweak to build on non-Clang archs.


Index: Makefile
===
RCS file: /home/cvs/ports/devel/gmake/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile11 Mar 2022 18:50:08 -  1.65
+++ Makefile4 Nov 2022 03:17:06 -
@@ -1,6 +1,6 @@
 COMMENT=   GNU make
 
-DISTNAME=  make-4.3
+DISTNAME=  make-4.4
 PKGNAME=   g${DISTNAME}
 CATEGORIES=devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=make/}
@@ -25,6 +25,11 @@ CONFIGURE_ENV=   CPPFLAGS="-I${LOCALBASE}/
 MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/build-aux
 
 TEST_ENV=  SHELL=$$SHELL
+
+.include 
+.if !${PROPERTIES:Mclang}
+CFLAGS+=   -std=gnu99
+.endif
 
 # Known test failures:
 # output-sync can fail due to a race condition in the test itself
Index: distinfo
===
RCS file: /home/cvs/ports/devel/gmake/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo1 Feb 2020 15:29:24 -   1.10
+++ distinfo31 Oct 2022 17:34:34 -
@@ -1,2 +1,2 @@
-SHA256 (make-4.3.tar.lz) = 3hpEHE7flSUh2zC/yoC6roag/xrNCgBAKZk0TwTEXoI=
-SIZE (make-4.3.tar.lz) = 1266180
+SHA256 (make-4.4.tar.lz) = SND8CyoEu1DykRwW2mVyMoX39IBMdPxaISSj32xfeMQ=
+SIZE (make-4.4.tar.lz) = 1283355
Index: patches/patch-Makefile_in
===
RCS file: /home/cvs/ports/devel/gmake/patches/patch-Makefile_in,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-Makefile_in
--- patches/patch-Makefile_in   11 Mar 2022 18:50:08 -  1.6
+++ patches/patch-Makefile_in   31 Oct 2022 17:38:15 -
@@ -1,12 +1,12 @@
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -1039,7 +1039,7 @@ make_SOURCES = $(make_SRCS) $(am__append_1) $(am__appe
-   $(am__append_4) $(am__append_5)
- EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
- make_LDADD = $(LIBOBJS) $(GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
+@@ -564,7 +564,7 @@ EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
+ @HAVE_GUILE_FALSE@_GUILE_LIBS = 
+ @HAVE_GUILE_TRUE@_GUILE_LIBS = $(GUILE_LIBS)
+ make_LDADD = $(LIBOBJS) $(_GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
 -  @LIBINTL@
 +  @LTLIBINTL@
  
  AM_CPPFLAGS = -Isrc -I$(top_srcdir)/src -Ilib -I$(top_srcdir)/lib \
-   -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" \
+   -DLIBDIR=\"$(libdir)\" -DLOCALEDIR=\"$(localedir)\" \
Index: patches/patch-doc_make_1
===
RCS file: /home/cvs/ports/devel/gmake/patches/patch-doc_make_1,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-doc_make_1
--- patches/patch-doc_make_111 Mar 2022 18:50:08 -  1.2
+++ patches/patch-doc_make_13 Nov 2022 23:33:07 -
@@ -5,8 +5,8 @@ Index: doc/make.1
 --- doc/make.1.orig
 +++ doc/make.1
 @@ -1,13 +1,13 @@
--.TH MAKE 1 "28 February 2016" "GNU" "User Commands"
-+.TH GMAKE 1 "28 February 2016" "GNU" "User Commands"
+-.TH MAKE 1 "31 May 2022" "GNU" "User Commands"
++.TH GMAKE 1 "31 May 2022" "GNU" "User Commands"
  .SH NAME
 -make \- GNU make utility to maintain groups of programs
 +gmake \- GNU make utility to maintain groups of programs
@@ -40,7 +40,7 @@ Index: doc/make.1
 +.BR gmake ,
  you must write a file called the
  .I makefile
- that describes the relationships among files in your program, and the states
+ that describes the relationships among files in your program, and provides
 @@ -35,17 +35,17 @@ Once a suitable makefile exists, each time you change 
  this simple shell command:
  .sp 1
@@ -61,7 +61,7 @@ Index: doc/make.1
 +.B gmake
  executes commands in the
  .I makefile
- to update one or more target
+ to update one or more
 @@ -56,7 +56,7 @@ is typically a program.
  If no
  .B \-f
@@ -98,7 +98,7 @@ Index: doc/make.1
  decides what to do.
  .TP 0.5i
  .BI \-\-debug "[=FLAGS]"
-@@ -172,7 +172,7 @@ If several
+@@ -179,7 +179,7 @@ If several
  options are used to specify several directories, the directories are
  searched in the order specified.
  Unlike the arguments to other flags of
@@ -107,7 +107,7 @@ Index: doc/m

Re: UPDATE: GNU make 4.4

2022-11-03 Thread Brad Smith
On Thu, Nov 03, 2022 at 09:48:30PM +, v...@ljabl.com wrote:
> > ===
> > RCS file: /home/cvs/ports/devel/gmake/patches/patch-doc_make_1,v
> > retrieving revision 1.2
> > diff -u -p -u -p -r1.2 patch-doc_make_1
> > --- patches/patch-doc_make_111 Mar 2022 18:50:08 -  1.2
> > +++ patches/patch-doc_make_131 Oct 2022 17:38:12 -
> > @@ -5,7 +5,7 @@ Index: doc/make.1
> > --- doc/make.1.orig
> > +++ doc/make.1
> > @@ -1,13 +1,13 @@
> > --.TH MAKE 1 "28 February 2016" "GNU" "User Commands"
> > +-.TH MAKE 1 "31 May 2022" "GNU" "User Commands"
> > +.TH GMAKE 1 "28 February 2016" "GNU" "User Commands"
> >  .SH NAME
> 
> The replacement date is not updated.

Thanks.



Re: UPDATE: GNU make 4.4

2022-11-03 Thread Brad Smith
On Thu, Nov 03, 2022 at 03:43:17PM -0400, Brad Smith wrote:
> Here is an update to GNU make 4.4.
> 
> Ran through a bulk by naddy@ on amd64.
> 
> https://lists.gnu.org/archive/html/info-gnu/2022-10/msg8.html
> 
> "There was one suspicious build failure: x11/lablgtk2 fails at the fake
> step with
> ocamlfind: sourceView2Enums.ml: No such file or directory
> 
> Other than that, no problems."

Fix the date in the man page patch.


Index: Makefile
===
RCS file: /home/cvs/ports/devel/gmake/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile11 Mar 2022 18:50:08 -  1.65
+++ Makefile31 Oct 2022 17:34:26 -
@@ -1,6 +1,6 @@
 COMMENT=   GNU make
 
-DISTNAME=  make-4.3
+DISTNAME=  make-4.4
 PKGNAME=   g${DISTNAME}
 CATEGORIES=devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=make/}
Index: distinfo
===
RCS file: /home/cvs/ports/devel/gmake/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo1 Feb 2020 15:29:24 -   1.10
+++ distinfo31 Oct 2022 17:34:34 -
@@ -1,2 +1,2 @@
-SHA256 (make-4.3.tar.lz) = 3hpEHE7flSUh2zC/yoC6roag/xrNCgBAKZk0TwTEXoI=
-SIZE (make-4.3.tar.lz) = 1266180
+SHA256 (make-4.4.tar.lz) = SND8CyoEu1DykRwW2mVyMoX39IBMdPxaISSj32xfeMQ=
+SIZE (make-4.4.tar.lz) = 1283355
Index: patches/patch-Makefile_in
===
RCS file: /home/cvs/ports/devel/gmake/patches/patch-Makefile_in,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-Makefile_in
--- patches/patch-Makefile_in   11 Mar 2022 18:50:08 -  1.6
+++ patches/patch-Makefile_in   31 Oct 2022 17:38:15 -
@@ -1,12 +1,12 @@
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -1039,7 +1039,7 @@ make_SOURCES = $(make_SRCS) $(am__append_1) $(am__appe
-   $(am__append_4) $(am__append_5)
- EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
- make_LDADD = $(LIBOBJS) $(GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
+@@ -564,7 +564,7 @@ EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
+ @HAVE_GUILE_FALSE@_GUILE_LIBS = 
+ @HAVE_GUILE_TRUE@_GUILE_LIBS = $(GUILE_LIBS)
+ make_LDADD = $(LIBOBJS) $(_GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
 -  @LIBINTL@
 +  @LTLIBINTL@
  
  AM_CPPFLAGS = -Isrc -I$(top_srcdir)/src -Ilib -I$(top_srcdir)/lib \
-   -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" \
+   -DLIBDIR=\"$(libdir)\" -DLOCALEDIR=\"$(localedir)\" \
Index: patches/patch-doc_make_1
===
RCS file: /home/cvs/ports/devel/gmake/patches/patch-doc_make_1,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-doc_make_1
--- patches/patch-doc_make_111 Mar 2022 18:50:08 -  1.2
+++ patches/patch-doc_make_13 Nov 2022 23:33:07 -
@@ -5,8 +5,8 @@ Index: doc/make.1
 --- doc/make.1.orig
 +++ doc/make.1
 @@ -1,13 +1,13 @@
--.TH MAKE 1 "28 February 2016" "GNU" "User Commands"
-+.TH GMAKE 1 "28 February 2016" "GNU" "User Commands"
+-.TH MAKE 1 "31 May 2022" "GNU" "User Commands"
++.TH GMAKE 1 "31 May 2022" "GNU" "User Commands"
  .SH NAME
 -make \- GNU make utility to maintain groups of programs
 +gmake \- GNU make utility to maintain groups of programs
@@ -40,7 +40,7 @@ Index: doc/make.1
 +.BR gmake ,
  you must write a file called the
  .I makefile
- that describes the relationships among files in your program, and the states
+ that describes the relationships among files in your program, and provides
 @@ -35,17 +35,17 @@ Once a suitable makefile exists, each time you change 
  this simple shell command:
  .sp 1
@@ -61,7 +61,7 @@ Index: doc/make.1
 +.B gmake
  executes commands in the
  .I makefile
- to update one or more target
+ to update one or more
 @@ -56,7 +56,7 @@ is typically a program.
  If no
  .B \-f
@@ -98,7 +98,7 @@ Index: doc/make.1
  decides what to do.
  .TP 0.5i
  .BI \-\-debug "[=FLAGS]"
-@@ -172,7 +172,7 @@ If several
+@@ -179,7 +179,7 @@ If several
  options are used to specify several directories, the directories are
  searched in the order specified.
  Unlike the arguments to other flags of
@@ -107,7 +107,7 @@ Index: doc/make.1
  directories given with
  .B \-I
  flags may come directly after the flag:
-@@ -195,7 +195,7 @@ option, the last one is effective.
+@@ -202,7 +202,7 @@ option, the last one is effective.
  If the
  .B \-j
  option is given without an argument,
@@ -115,8 +115,8 @@ Index: doc/make.1
 +.BR gmake
  will not limit the number of jobs that can run simultaneously.
  .TP 0.5i
- \fB\-k\fR, \fB\-\-keep\-going\fR
-@@ -256,7 +256,7 @@ This also prints the version information given by the
+ \fB\--jobserver-styl

UPDATE: GNU make 4.4

2022-11-03 Thread Brad Smith
Here is an update to GNU make 4.4.

Ran through a bulk by naddy@ on amd64.

https://lists.gnu.org/archive/html/info-gnu/2022-10/msg8.html

"There was one suspicious build failure: x11/lablgtk2 fails at the fake
step with
ocamlfind: sourceView2Enums.ml: No such file or directory

Other than that, no problems."


Index: Makefile
===
RCS file: /home/cvs/ports/devel/gmake/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile11 Mar 2022 18:50:08 -  1.65
+++ Makefile31 Oct 2022 17:34:26 -
@@ -1,6 +1,6 @@
 COMMENT=   GNU make
 
-DISTNAME=  make-4.3
+DISTNAME=  make-4.4
 PKGNAME=   g${DISTNAME}
 CATEGORIES=devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=make/}
Index: distinfo
===
RCS file: /home/cvs/ports/devel/gmake/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo1 Feb 2020 15:29:24 -   1.10
+++ distinfo31 Oct 2022 17:34:34 -
@@ -1,2 +1,2 @@
-SHA256 (make-4.3.tar.lz) = 3hpEHE7flSUh2zC/yoC6roag/xrNCgBAKZk0TwTEXoI=
-SIZE (make-4.3.tar.lz) = 1266180
+SHA256 (make-4.4.tar.lz) = SND8CyoEu1DykRwW2mVyMoX39IBMdPxaISSj32xfeMQ=
+SIZE (make-4.4.tar.lz) = 1283355
Index: patches/patch-Makefile_in
===
RCS file: /home/cvs/ports/devel/gmake/patches/patch-Makefile_in,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-Makefile_in
--- patches/patch-Makefile_in   11 Mar 2022 18:50:08 -  1.6
+++ patches/patch-Makefile_in   31 Oct 2022 17:38:15 -
@@ -1,12 +1,12 @@
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -1039,7 +1039,7 @@ make_SOURCES = $(make_SRCS) $(am__append_1) $(am__appe
-   $(am__append_4) $(am__append_5)
- EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
- make_LDADD = $(LIBOBJS) $(GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
+@@ -564,7 +564,7 @@ EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
+ @HAVE_GUILE_FALSE@_GUILE_LIBS = 
+ @HAVE_GUILE_TRUE@_GUILE_LIBS = $(GUILE_LIBS)
+ make_LDADD = $(LIBOBJS) $(_GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
 -  @LIBINTL@
 +  @LTLIBINTL@
  
  AM_CPPFLAGS = -Isrc -I$(top_srcdir)/src -Ilib -I$(top_srcdir)/lib \
-   -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" \
+   -DLIBDIR=\"$(libdir)\" -DLOCALEDIR=\"$(localedir)\" \
Index: patches/patch-doc_make_1
===
RCS file: /home/cvs/ports/devel/gmake/patches/patch-doc_make_1,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-doc_make_1
--- patches/patch-doc_make_111 Mar 2022 18:50:08 -  1.2
+++ patches/patch-doc_make_131 Oct 2022 17:38:12 -
@@ -5,7 +5,7 @@ Index: doc/make.1
 --- doc/make.1.orig
 +++ doc/make.1
 @@ -1,13 +1,13 @@
--.TH MAKE 1 "28 February 2016" "GNU" "User Commands"
+-.TH MAKE 1 "31 May 2022" "GNU" "User Commands"
 +.TH GMAKE 1 "28 February 2016" "GNU" "User Commands"
  .SH NAME
 -make \- GNU make utility to maintain groups of programs
@@ -40,7 +40,7 @@ Index: doc/make.1
 +.BR gmake ,
  you must write a file called the
  .I makefile
- that describes the relationships among files in your program, and the states
+ that describes the relationships among files in your program, and provides
 @@ -35,17 +35,17 @@ Once a suitable makefile exists, each time you change 
  this simple shell command:
  .sp 1
@@ -61,7 +61,7 @@ Index: doc/make.1
 +.B gmake
  executes commands in the
  .I makefile
- to update one or more target
+ to update one or more
 @@ -56,7 +56,7 @@ is typically a program.
  If no
  .B \-f
@@ -98,7 +98,7 @@ Index: doc/make.1
  decides what to do.
  .TP 0.5i
  .BI \-\-debug "[=FLAGS]"
-@@ -172,7 +172,7 @@ If several
+@@ -179,7 +179,7 @@ If several
  options are used to specify several directories, the directories are
  searched in the order specified.
  Unlike the arguments to other flags of
@@ -107,7 +107,7 @@ Index: doc/make.1
  directories given with
  .B \-I
  flags may come directly after the flag:
-@@ -195,7 +195,7 @@ option, the last one is effective.
+@@ -202,7 +202,7 @@ option, the last one is effective.
  If the
  .B \-j
  option is given without an argument,
@@ -115,8 +115,8 @@ Index: doc/make.1
 +.BR gmake
  will not limit the number of jobs that can run simultaneously.
  .TP 0.5i
- \fB\-k\fR, \fB\-\-keep\-going\fR
-@@ -256,7 +256,7 @@ This also prints the version information given by the
+ \fB\--jobserver-style=\fR\fIstyle\fR
+@@ -273,7 +273,7 @@ This also prints the version information given by the
  .B \-v
  switch (see below).
  To print the data base without trying to remake any files, use
@@ -125,7 +125,7 @@ Index: doc/make.1
  .TP 0.5i
  \fB\-q\fR, \fB\-\-question\fR
  ``Question mode''.
-@@ -287,7 +287,7 @@ Touch files (mark them up to date without really chang
+@@ -304,7 +304,7 @@ Touch files (mark them up to date without really chang
  

Re: postfix-pgsql postmap failures after upgrade

2022-11-01 Thread Brad Smith

On 11/1/2022 8:32 AM, Stuart Henderson wrote:

On 2022/11/01 12:58, Marc Peters wrote:

On Sun, Oct 30, 2022 at 09:13:19AM +, Stuart Henderson wrote:

Seems there is still some conflict between Postfix 3.7 (which needs
OpenSSL) and libraries (like libpq) using LibreSSL, despite the static
linking. (the upstream developer of TLS code in Postfix is also an
OpenSSL developer and seems to prefer using OpenSSL APIs which LibreSSL
doesn't have yet).

If you have the ports tree on your machine you can unpack the attached
file under /usr/ports/mail/postfix, pkg_delete postfix, and build a 3.5
version from /usr/ports/mail/postfix/stable35 with "FLAVOR=pgsql make
install".

Hi,

i saw the same behaviour on my mailserver but used the excuse to move to 
opensmtpd and reworked the setup in general. Maybe this should be mentioned on 
the upgrade page for users as a heads up?

We are trying to figure out what to do with this.

Brad, you didn't answer my other mail so I ask again: how about I commit
stable35 to the tree for now?


Ok.


Re: [new] databases/rocksdb

2022-11-01 Thread Brad Smith

On 10/31/2022 2:15 PM, Landry Breuil wrote:

Hi,

here's a port of facebook's rocksdb (http://rocksdb.org/), a fork of
google's leveldb. I've enabled all the archivers deps because
stalwart-jmap apparently uses snappy compress via rocksdb-rs for its index
storage. with the shipped ldb binary, i'm able to play/inspect with the
internal index, eventually backuping it (cf
https://github.com/facebook/rocksdb/wiki/Administration-and-Data-Access-Tool).

=
RocksDB is an embeddable persistent key-value store for fast storage.
It can also be the foundation for a client-server database but the
current focus is on embedded workloads.
=

feedback welcome. I dont really know if this can get picked up by some
other ports, from my understanding mariadb can/might use it ?


MariaDB uses it's own embedded copy of RocksDB for the DB engine.

Looking at what supports RocksDB so far, it's bindings that do not 
typically come
out of the box with the respective languages and we do not have them in 
the ports

tree. So I don't think that's much of an issue.

https://github.com/facebook/rocksdb/blob/main/LANGUAGE-BINDINGS.md

I pushed a patch to improve arm64 support.

https://github.com/facebook/rocksdb/commit/0311956fa44265db45641df94544df72bfc7782f.patch



Re: UPDATE: OpenAL

2022-10-29 Thread Brad Smith

On 10/29/2022 6:02 PM, Brad Smith wrote:

- Enable the SSE support on X86; there is run-time detection
- Disable NEON on arm
- The ALSOFT_CONFIG option has been deprecated
- The QSA backend was removed with the 1.21.0 release
- Sort the list of options


To add to this there is arm64 NEON support. Which is already enabled as 
it was not

explicitly disabled.



Index: Makefile
===
RCS file: /home/cvs/ports/audio/openal/Makefile,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 Makefile
--- Makefile29 Oct 2022 19:07:11 -  1.62
+++ Makefile29 Oct 2022 20:59:51 -
@@ -3,7 +3,7 @@ COMMENT =   cross-platform 3D audio API
  V =   1.22.2
  DISTNAME =openal-soft-$V
  PKGNAME = openal-$V
-REVISION = 0
+REVISION = 1
  EPOCH =   0
  CATEGORIES =  audio
  
@@ -23,29 +23,26 @@ EXTRACT_SUFX =	.tar.bz2
  
  LIB_DEPENDS +=	audio/libmysofa
  
-CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenBSD \

-   -DALSOFT_CONFIG=share/examples/openal \
+CONFIGURE_ARGS =-DALSOFT_BACKEND_PIPEWIRE=Off \
+   -DALSOFT_BACKEND_WAVE=Off \
-DALSOFT_DLOPEN=Off \
-   -DALSOFT_UTILS=On \
-DALSOFT_EXAMPLES=Off \
-   -DALSOFT_REQUIRE_SNDIO=On \
+   -DALSOFT_NO_CONFIG_UTIL=On \
-DALSOFT_RTKIT=Off \
-   -DALSOFT_BACKEND_PIPEWIRE=Off \
-   -DALSOFT_BACKEND_WAVE=Off \
-   -DALSOFT_CPUEXT_SSE=Off \
-   -DALSOFT_CPUEXT_SSE2=Off \
-   -DALSOFT_CPUEXT_SSE3=Off \
-   -DALSOFT_CPUEXT_SSE4_1=Off \
+   -DCMAKE_BUILD_TYPE=OpenBSD \
-DCMAKE_DISABLE_FIND_PACKAGE_ALSA:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_AudioIO:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_JACK:Bool=Yes \
+   -DCMAKE_DISABLE_FIND_PACKAGE_OpenSL:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_OSS:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_PortAudio:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:Bool=Yes \
-   -DCMAKE_DISABLE_FIND_PACKAGE_QSA:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_SDL2:Bool=Yes \
-   -DCMAKE_DISABLE_FIND_PACKAGE_SndFile:Bool=Yes \
-   -DALSOFT_NO_CONFIG_UTIL=On
+   -DCMAKE_DISABLE_FIND_PACKAGE_SndFile:Bool=Yes
+
+.if ${MACHINE_ARCH} == "arm"
+CONFIGURE_ARGS +=-DALSOFT_CPUEXT_NEON=Off
+.endif
  
  MODULES =	devel/cmake
  





UPDATE: OpenAL

2022-10-29 Thread Brad Smith
- Enable the SSE support on X86; there is run-time detection
- Disable NEON on arm
- The ALSOFT_CONFIG option has been deprecated
- The QSA backend was removed with the 1.21.0 release
- Sort the list of options


Index: Makefile
===
RCS file: /home/cvs/ports/audio/openal/Makefile,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 Makefile
--- Makefile29 Oct 2022 19:07:11 -  1.62
+++ Makefile29 Oct 2022 20:59:51 -
@@ -3,7 +3,7 @@ COMMENT =   cross-platform 3D audio API
 V =1.22.2
 DISTNAME = openal-soft-$V
 PKGNAME =  openal-$V
-REVISION = 0
+REVISION = 1
 EPOCH =0
 CATEGORIES =   audio
 
@@ -23,29 +23,26 @@ EXTRACT_SUFX =  .tar.bz2
 
 LIB_DEPENDS += audio/libmysofa
 
-CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenBSD \
-   -DALSOFT_CONFIG=share/examples/openal \
+CONFIGURE_ARGS =-DALSOFT_BACKEND_PIPEWIRE=Off \
+   -DALSOFT_BACKEND_WAVE=Off \
-DALSOFT_DLOPEN=Off \
-   -DALSOFT_UTILS=On \
-DALSOFT_EXAMPLES=Off \
-   -DALSOFT_REQUIRE_SNDIO=On \
+   -DALSOFT_NO_CONFIG_UTIL=On \
-DALSOFT_RTKIT=Off \
-   -DALSOFT_BACKEND_PIPEWIRE=Off \
-   -DALSOFT_BACKEND_WAVE=Off \
-   -DALSOFT_CPUEXT_SSE=Off \
-   -DALSOFT_CPUEXT_SSE2=Off \
-   -DALSOFT_CPUEXT_SSE3=Off \
-   -DALSOFT_CPUEXT_SSE4_1=Off \
+   -DCMAKE_BUILD_TYPE=OpenBSD \
-DCMAKE_DISABLE_FIND_PACKAGE_ALSA:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_AudioIO:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_JACK:Bool=Yes \
+   -DCMAKE_DISABLE_FIND_PACKAGE_OpenSL:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_OSS:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_PortAudio:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:Bool=Yes \
-   -DCMAKE_DISABLE_FIND_PACKAGE_QSA:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_SDL2:Bool=Yes \
-   -DCMAKE_DISABLE_FIND_PACKAGE_SndFile:Bool=Yes \
-   -DALSOFT_NO_CONFIG_UTIL=On
+   -DCMAKE_DISABLE_FIND_PACKAGE_SndFile:Bool=Yes
+
+.if ${MACHINE_ARCH} == "arm"
+CONFIGURE_ARGS +=-DALSOFT_CPUEXT_NEON=Off
+.endif
 
 MODULES =  devel/cmake
 



Re: UPDATE: iperf3 3.12

2022-10-27 Thread Brad Smith
On Fri, Oct 07, 2022 at 05:50:22PM -0400, Brad Smith wrote:
> Here is an update to iperf3.
> 
> 
> https://raw.githubusercontent.com/esnet/iperf/master/RELNOTES.md

An updated diff. My diff was tested and commited upstream.


Index: Makefile
===
RCS file: /home/cvs/ports/net/iperf3/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile11 Mar 2022 19:46:08 -  1.9
+++ Makefile7 Oct 2022 21:39:50 -
@@ -1,6 +1,6 @@
 COMMENT=   tool to measure maximum achievable bandwidth on IP networks
 
-V= 3.10.1
+V= 3.12
 PKGNAME=   iperf3-${V}
 DISTNAME=  iperf-${V}
 
@@ -19,7 +19,9 @@ WANTLIB += c m
 
 MASTER_SITES=  https://downloads.es.net/pub/iperf/
 
-CONFIGURE_STYLE= gnu
+AUTOCONF_VERSION=  2.71
+
+CONFIGURE_STYLE= autoconf
 CONFIGURE_ARGS= --with-openssl=no
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/net/iperf3/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo13 Jul 2021 02:02:09 -  1.6
+++ distinfo3 Oct 2022 05:54:03 -
@@ -1,2 +1,2 @@
-SHA256 (iperf-3.10.1.tar.gz) = A7yXYMxUokUZHUa/yO2vikdQ8Oh6vKZ2RIaXIETWcVo=
-SIZE (iperf-3.10.1.tar.gz) = 633304
+SHA256 (iperf-3.12.tar.gz) = cgNOz7an1tZ+OE4Z+27/8yNspPftTFGNfbZJxEfh/9Y=
+SIZE (iperf-3.12.tar.gz) = 644807
Index: patches/patch-configure_ac
===
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-configure_ac  26 Oct 2022 06:32:27 -
@@ -0,0 +1,14 @@
+Add support for OpenBSD systems which have TCP_INFO implemented.
+463571f25e8bcb49ae37fec77d63c3fe65dd0638
+
+Index: configure.ac
+--- configure.ac.orig
 configure.ac
+@@ -305,6 +305,7 @@ AC_CHECK_MEMBER([struct tcp_info.tcpi_snd_wnd],
+ [#ifdef HAVE_LINUX_TCP_H
+ #include 
+ #else
++#include 
+ #include 
+ #endif
+ ])
Index: patches/patch-src_iperf_api_c
===
RCS file: /home/cvs/ports/net/iperf3/patches/patch-src_iperf_api_c,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-src_iperf_api_c
--- patches/patch-src_iperf_api_c   11 Mar 2022 19:46:08 -  1.5
+++ patches/patch-src_iperf_api_c   26 Oct 2022 06:32:35 -
@@ -3,7 +3,7 @@ Default to IPv4.
 Index: src/iperf_api.c
 --- src/iperf_api.c.orig
 +++ src/iperf_api.c
-@@ -2314,7 +2314,7 @@ iperf_defaults(struct iperf_test *testp)
+@@ -2787,7 +2787,7 @@ iperf_defaults(struct iperf_test *testp)
  testp->stats_interval = testp->reporter_interval = 1;
  testp->num_streams = 1;
  
Index: patches/patch-src_iperf_h
===
RCS file: patches/patch-src_iperf_h
diff -N patches/patch-src_iperf_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_iperf_h   26 Oct 2022 06:32:45 -
@@ -0,0 +1,18 @@
+Add support for OpenBSD systems which have TCP_INFO implemented.
+463571f25e8bcb49ae37fec77d63c3fe65dd0638
+
+Index: src/iperf.h
+--- src/iperf.h.orig
 src/iperf.h
+@@ -94,9 +94,9 @@ struct iperf_interval_results
+ int   cnt_error;
+ 
+ int omitted;
+-#if (defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__)) && \
++#if (defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) || 
defined(__OpenBSD__)) && \
+   defined(TCP_INFO)
+-struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux, {Free,Net}BSD 
*/
++struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux, 
{Free,Net,Open}BSD */
+ #else
+ /* Just placeholders, never accessed. */
+ char *tcpInfo;
Index: patches/patch-src_iperf_locale_c
===
RCS file: patches/patch-src_iperf_locale_c
diff -N patches/patch-src_iperf_locale_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_iperf_locale_c26 Oct 2022 06:32:53 -
@@ -0,0 +1,19 @@
+Add support for OpenBSD systems which have TCP_INFO implemented.
+463571f25e8bcb49ae37fec77d63c3fe65dd0638
+
+Index: src/iperf_locale.c
+--- src/iperf_locale.c.orig
 src/iperf_locale.c
+@@ -450,11 +450,7 @@ const char report_receiver_not_available_summary_forma
+ const char report_tcpInfo[] =
+ "event=TCP_Info CWND=%u SND_SSTHRESH=%u RCV_SSTHRESH=%u UNACKED=%u SACK=%u 
LOST=%u RETRANS=%u FACK=%u RTT=%u REORDERING=%u\n";
+ #endif
+-#if defined(__FreeBSD__)
+-const char report_tcpInfo[] =
+-"event=TCP_Info CWND=%u RCV_WIND=%u SND_SSTHRESH=%u RTT=%u\n";
+-#endif
+-#if defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+ const char report_tcpInfo[] =
+ "event=TCP_Info CWND=%u RCV_WIND=%u SND_SSTHRESH=%u RTT=%u\n";
+ #endif
Index: patches/patch-src_tcp_info_c
=

UPDATE: libavif 0.11.1

2022-10-25 Thread Brad Smith
Here is an update to libavif 0.11.1.


https://raw.githubusercontent.com/AOMediaCodec/libavif/main/CHANGELOG.md


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/libavif/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile11 May 2022 17:26:52 -  1.19
+++ Makefile26 Oct 2022 01:30:24 -
@@ -2,10 +2,10 @@ COMMENT=  library for encoding and decodi
 
 GH_ACCOUNT=AOMediaCodec
 GH_PROJECT=libavif
-GH_TAGNAME=v0.10.1
+GH_TAGNAME=v0.11.1
 CATEGORIES=graphics
 
-SHARED_LIBS=   avif5.0
+SHARED_LIBS=   avif6.0
 
 HOMEPAGE=  https://github.com/AOMediaCodec/libavif
 
Index: distinfo
===
RCS file: /home/cvs/ports/graphics/libavif/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo11 May 2022 17:26:52 -  1.14
+++ distinfo26 Oct 2022 01:29:28 -
@@ -1,2 +1,2 @@
-SHA256 (libavif-0.10.1.tar.gz) = ZugoVM64Sj5UK8FAo0O8kOVsaPPstP/2PmNsE27ZoF4=
-SIZE (libavif-0.10.1.tar.gz) = 2085698
+SHA256 (libavif-0.11.1.tar.gz) = DrSZZVYqDl5d5YOJZQ1DTP8yr4TDQYW2ybey/MrgbU4=
+SIZE (libavif-0.11.1.tar.gz) = 5826813



UPDATE: SVT-AV1 1.3.0

2022-10-20 Thread Brad Smith
Here is an update to SVT-AV1 1.3.0.


## [1.3.0] - 2022-10-18

Encoder
- Port SIMD optimizations from libDav1D making the conformant path (Inv. 
Transform) faster
- Enabling smaller mini-GOP size configurations and tuning it for the low delay 
mode
- Tuning the low-latency mode in random access targeting latencies from 250ms 
to 1s
- Adding GOP-constrained Rate Control targeting low-latency streaming 
applications
- Optimize mode decision features levels for depth partitioning, RDOQ, MD 
stage0 pruning in-loop filtering temporal filtering and TPL adding more 
granularity and gaining further quality
- Preset tuning M0-M13 to smooth the spacing and utilize the quality 
improvements towards better tradeoffs

Build, Cleanup and Documentation
- Update preset and API documentation
- Various functional bug fixes
- Remove the use of GLOB in cmake and use file names


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/svt-av1/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile8 Aug 2022 05:23:20 -   1.9
+++ Makefile20 Oct 2022 21:02:02 -
@@ -2,7 +2,7 @@ ONLY_FOR_ARCHS= ${LP64_ARCHS} i386
 
 COMMENT=   scalable AV1 encoder/decoder
 
-VER=   1.2.0
+VER=   1.3.0
 DISTNAME=  SVT-AV1-v${VER}
 PKGNAME=   svt-av1-${VER}
 CATEGORIES=multimedia
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/svt-av1/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo8 Aug 2022 05:23:20 -   1.8
+++ distinfo20 Oct 2022 21:02:34 -
@@ -1,2 +1,2 @@
-SHA256 (SVT-AV1-v1.2.0.tar.bz2) = DyoGD+vGUvRdDa3cedfgnstTdH/l/q/jLoWkEAF+hRI=
-SIZE (SVT-AV1-v1.2.0.tar.bz2) = 9556514
+SHA256 (SVT-AV1-v1.3.0.tar.bz2) = +F/RPvFogFUOQleXvf3xsLoxDCHWs0P3Tqed0vuyM24=
+SIZE (SVT-AV1-v1.3.0.tar.bz2) = 9446862



Re: CVS: cvs.openbsd.org: ports

2022-10-19 Thread Brad Smith
On Wed, Oct 19, 2022 at 02:39:31PM +0100, Stuart Henderson wrote:
> On 2022/10/17 17:19, Christian Weisgerber wrote:
> > CVSROOT:/cvs
> > Module name:ports
> > Changes by: na...@cvs.openbsd.org   2022/10/17 17:19:36
> > 
> > Modified files:
> > graphics/png   : Makefile distinfo 
> > graphics/png/patches: patch-Makefile_in patch-libpng_pc_in 
> > graphics/png/pkg: PLIST 
> > 
> > Log message:
> > graphics/png: update to 1.6.38
> > 
> > * Fixed various errors in the handling of tRNS, hIST and eXIf.
> > * Implemented many stability improvements across all platforms.
> > 
> > from Brad
> > 
> 
> This moved zlib from 'Requires' to 'Requires.private' in the pkg-config
> file, which breaks graphics/azpainter (undefined references to zlib 
> functions).

Yes, there is a bug in the configure script.


Index: patches/patch-configure
===
RCS file: /home/cvs/ports/graphics/azpainter/patches/patch-configure,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-configure
--- patches/patch-configure 16 Mar 2022 01:44:05 -  1.3
+++ patches/patch-configure 19 Oct 2022 17:50:12 -
@@ -13,15 +13,24 @@ Index: configure
fi
  fi
  
-@@ -290,6 +290,11 @@ elif test "$tmp1" = Darwin;then
-   CFLAGS=`fc_add_string "$CFLAGS" "-DMLK_NO_SIMD"`
- elif test "$tmp1" = FreeBSD;then
-   cf_os=freebsd
-+  cf_make=gmake
-+  CFLAGS=`fc_add_string "$CFLAGS" "-I/usr/local/include"`
-+  LDFLAGS=`fc_add_string "$LDFLAGS" "-L/usr/local/lib"`
-+elif test "$tmp1" = OpenBSD;then
-+  cf_os=openbsd
+@@ -293,6 +293,11 @@ elif test "$tmp1" = FreeBSD;then
cf_make=gmake
CFLAGS=`fc_add_string "$CFLAGS" "-I/usr/local/include"`
LDFLAGS=`fc_add_string "$LDFLAGS" "-L/usr/local/lib"`
++elif test "$tmp1" = OpenBSD;then
++  cf_os=openbsd
++  cf_make=gmake
++  CFLAGS=`fc_add_string "$CFLAGS" "-I/usr/local/include"`
++  LDFLAGS=`fc_add_string "$LDFLAGS" "-L/usr/local/lib"`
+ fi
+ 
+ # dir
+@@ -349,7 +354,7 @@ fc_check_sharedlib "iconv"
+ fc_check_funclink rt "clock_gettime"
+ 
+ fc_check_lib libpng "libpng" "" "-lpng -lz" "png.h" "" "libpng-dev or 
libpng-devel or libpng or png"
+-fc_check_lib zlib "zlib" "" "" "zlib.h" "" "zlib1g-dev or zlib-devel or zlib"
++fc_check_lib zlib "zlib" "" "-lz" "zlib.h" "" "zlib1g-dev or zlib-devel or 
zlib"
+ fc_check_lib libjpeg "libjpeg" "" "-ljpeg" "stdio.h jpeglib.h" "" 
"libjpeg-dev or libjpeg-devel or libjpeg-turbo or jpeg-turbo"
+ fc_check_lib libtiff "libtiff-4" "" "-ltiff" "tiff.h" "" "libtiff-dev or 
libtiff-devel or libtiff or tiff"
+ fc_check_lib libwebp "libwebp" "" "-lwebp" "webp/decode.h" "" "libwebp-dev or 
libwebp-devel or libwebp or webp"



Re: UPDATE: jpeg 2.1.4

2022-10-08 Thread Brad Smith
On Tue, Oct 04, 2022 at 10:50:13AM -0400, Brad Smith wrote:
> Here is an update to jpeg 2.1.4.


2.1.4
=

### Significant changes relative to 2.1.3

1. Fixed a regression introduced in 2.1.3 that caused build failures with
Visual Studio 2010.

2. The `tjDecompressHeader3()` function in the TurboJPEG C API and the
`TJDecompressor.setSourceImage()` method in the TurboJPEG Java API now accept
"abbreviated table specification" (AKA "tables-only") datastreams, which can be
used to prime the decompressor with quantization and Huffman tables that can be
used when decompressing subsequent "abbreviated image" datastreams.

3. libjpeg-turbo now performs run-time detection of AltiVec instructions on
OS X/PowerPC systems if AltiVec instructions are not enabled at compile time.
This allows both AltiVec-equipped (PowerPC G4 and G5) and non-AltiVec-equipped
(PowerPC G3) CPUs to be supported using the same build of libjpeg-turbo.

4. Fixed an error ("Bogus virtual array access") that occurred when attempting
to decompress a progressive JPEG image with a height less than or equal to one
iMCU (8 * the vertical sampling factor) using buffered-image mode with
interblock smoothing enabled.  This was a regression introduced by
2.1 beta1[6(b)].

5. Fixed two issues that prevented partial image decompression from working
properly with buffered-image mode:

 - Attempting to call `jpeg_crop_scanline()` after
`jpeg_start_decompress()` but before `jpeg_start_output()` resulted in an error
("Improper call to JPEG library in state 207".)
 - Attempting to use `jpeg_skip_scanlines()` resulted in an error ("Bogus
virtual array access") under certain circumstances.


also tested by George on PowerPC.


> Index: Makefile
> ===
> RCS file: /home/cvs/ports/graphics/jpeg/Makefile,v
> retrieving revision 1.74
> diff -u -p -u -p -r1.74 Makefile
> --- Makefile  21 Mar 2022 12:58:33 -  1.74
> +++ Makefile  27 Sep 2022 04:02:38 -
> @@ -1,6 +1,6 @@
>  COMMENT= SIMD-accelerated JPEG codec replacement of libjpeg
>  
> -V=   2.1.3
> +V=   2.1.4
>  DISTNAME=libjpeg-turbo-${V}
>  PKGNAME= jpeg-${V}
>  EPOCH=   0
> Index: distinfo
> ===
> RCS file: /home/cvs/ports/graphics/jpeg/distinfo,v
> retrieving revision 1.24
> diff -u -p -u -p -r1.24 distinfo
> --- distinfo  21 Mar 2022 12:58:33 -  1.24
> +++ distinfo  27 Sep 2022 04:02:46 -
> @@ -1,2 +1,2 @@
> -SHA256 (libjpeg-turbo-2.1.3.tar.gz) = 
> RnsxCQODKwM/5WzTdyDRtzpqO9AXHb9v8LYgOF9PdtA=
> -SIZE (libjpeg-turbo-2.1.3.tar.gz) = 2260756
> +SHA256 (libjpeg-turbo-2.1.4.tar.gz) = 
> 0+0moRMaE2ht/KSTXlIOt8kK52+8RdmLtQqNyGIwNCs=
> +SIZE (libjpeg-turbo-2.1.4.tar.gz) = 2261822
> Index: patches/patch-wrjpgcom_c
> ===
> RCS file: /home/cvs/ports/graphics/jpeg/patches/patch-wrjpgcom_c,v
> retrieving revision 1.7
> diff -u -p -u -p -r1.7 patch-wrjpgcom_c
> --- patches/patch-wrjpgcom_c  21 Mar 2022 12:58:33 -  1.7
> +++ patches/patch-wrjpgcom_c  27 Sep 2022 04:03:02 -
> @@ -1,7 +1,7 @@
>  Index: wrjpgcom.c
>  --- wrjpgcom.c.orig
>  +++ wrjpgcom.c
> -@@ -453,7 +453,7 @@ main(int argc, char **argv)
> +@@ -438,7 +438,7 @@ main(int argc, char **argv)
> (unsigned int)MAX_COM_LENGTH);
> exit(EXIT_FAILURE);
>   }
> @@ -10,7 +10,7 @@ Index: wrjpgcom.c
>   for (;;) {
> comment_length = (unsigned int)strlen(comment_arg);
> if (comment_length > 0 && comment_arg[comment_length - 1] == '"') 
> {
> -@@ -468,8 +468,8 @@ main(int argc, char **argv)
> +@@ -453,8 +453,8 @@ main(int argc, char **argv)
>   (unsigned int)MAX_COM_LENGTH);
>   exit(EXIT_FAILURE);
> }



Re: UPDATE: libmatroska 1.7.1

2022-10-08 Thread Brad Smith
On Sat, Oct 08, 2022 at 09:12:50PM -0400, Brad Smith wrote:
> Here is an update to libmatroska 1.7.1.
> 
> 
> # Version 1.7.1 2022-10-08
> 
> * Fix ABI compatibility: unfortunately release 1.7.0 broke ABI
>   compatibility. This release restores the compatibility with release
>   1.6.3. Please use it instead of release 1.7.0. In other words: 1.6.3
>   & 1.7.1 are compatible, while 1.7.0 is compatible with neither 1.6.3
>   nor 1.7.1. Fixes #81.
> 
> # Version 1.7.0 2022-09-30
> 
> * A C++14 compliant C++ compiler is now required.
> * libEBML v1.4.3 is now required.
> * Remove Coremake project files
> * Add `KaxInternalBlock::GetRelativeTimestamp()` to access unscaled
>   block timestamps.
> * Fixed problems with the generated `pkg-config` files if any of the
>   installation paths are absolute.
> * Added several enums in `namespace libmatroska` for the various
>   elements that are constrained to a set of options:
>   `MatroskaTrackType`, `MatroskaTrackEncodingCompAlgo`,
>   `MatroskaChapterTranslateCodec`, `MatroskaTrackTranslateCodec`,
>   `MatroskaVideoFlagInterlaced`, `MatroskaVideoFieldOrder`,
>   `MatroskaVideoStereoMode`, `MatroskaVideoAlphaMode`,
>   `MatroskaVideoOldStereoMode`, `MatroskaVideoDisplayUnit`,
>   `MatroskaVideoAspectRatioType`, `MatroskaVideoMatrixCoefficients`,
>   `MatroskaColourChromaSitingHorz`, `MatroskaColourChromaSitingVert`,
>   `MatroskaVideoRange`, `MatroskaVideoTransferCharacteristics`,
>   `MatroskaVideoPrimaries`, `MatroskaVideoProjectionType`,
>   `MatroskaAudioEmphasis`, `MatroskaTrackPlaneType`,
>   `MatroskaContentEncodingScope`, `MatroskaContentEncodingType`,
>   `MatroskaContentEncodingAlgo`, `MatroskaAESSettingsCipherMode`,
>   `MatroskaContentSignatureAlgo`, `MatroskaContentSigHashAlgo`,
>   `MatroskaChapterSkipType`, `MatroskaChapterProcessTime` and
>   `MatroskaTargetTypeValue`.
> * Updated the semantics to the latest specifications, deprecating the
>   following elements by preventing code to write them:
>   `KaxClusterSilentTracks`, `KaxClusterSilentTrackNumber`,
>   `KaxSlices`, `KaxReferenceFrame`, `KaxReferenceOffset`,
>   `KaxReferenceTimeCode`, `KaxTrackTimecodeScale`,
>   `KaxCodecDecodeAll`, `KaxVideoAspectRatio`, `KaxTrickTrackUID`,
>   `KaxTrickTrackSegmentUID`, `KaxTrickTrackFlag`,
>   `KaxTrickMasterTrackUID`, `KaxTrickMasterTrackSegmentUID`,
>   `KaxContentSignature`, `KaxContentSigKeyID`, `KaxContentSigAlgo` and
>   `KaxContentSigHashAlgo`.
> * Updated the semantics to the latest specifications, making the
>   following elements mandatory (but having default values):
>   `KaxCodecDelay`, `KaxVideoPixelCropBottom`, `KaxVideoPixelCropTop`,
>   `KaxVideoPixelCropLeft`, `KaxVideoPixelCropRight`,
>   `KaxVideoBitsPerChannel`, `KaxCueCodecState`,
>   `KaxTagTargetTypeValue`, `KaxTrackLanguage`, `KaxVideoStereoMode`,
>   `KaxVideoAlphaMode`, `KaxEditionFlagOrdered`,
>   `KaxVideoChromaSitHorz`, `KaxVideoChromaSitVert`,
>   `KaxVideoColourRange`, `KaxVideoColourMatrix`,
>   `KaxVideoColourTransferCharacter`, `KaxVideoColourPrimaries` and
>   `KaxVideoDisplayUnit`.
> * Updated the semantics to the latest specifications, removing the
>   default values from the following elements: `KaxCueBlockNumber`,
>   `KaxFlagHearingImpaired`, `KaxFlagVisualImpaired`,
>   `KaxFlagTextDescriptions`, and `KaxFlagOriginal`.
> * Updated the semantics to the latest specifications, adding the
>   following new elements: `TagDefaultBogus` (as a placeholder for
>   accidentally used but wrong EBML ID 0x44b4), `KaxEmphasis`,
>   `KaxChapterSkipType`, `KaxEditionDisplay`, `KaxEditionString` and
>   `KaxEditionLanguageIETF`.

No point listing base-gcc.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libmatroska/Makefile,v
retrieving revision 1.33
diff -u -p -u -p -r1.33 Makefile
--- Makefile28 May 2022 06:20:02 -  1.33
+++ Makefile9 Oct 2022 01:49:35 -
@@ -1,11 +1,11 @@
 COMMENT=   extensible open standard audio/video container library
 
-DISTNAME=  libmatroska-1.6.3
+DISTNAME=  libmatroska-1.7.1
 CATEGORIES=multimedia
 MASTER_SITES=  https://dl.matroska.org/downloads/libmatroska/
 EXTRACT_SUFX=  .tar.xz
 
-SHARED_LIBS=   matroska5.1
+SHARED_LIBS=   matroska5.2
 
 HOMEPAGE=  https://www.matroska.org/
 
@@ -16,7 +16,7 @@ PERMIT_PACKAGE=   Yes
 
 WANTLIB += ${COMPILER_LIBCXX} ebml m
 
-COMPILER = base-clang ports-gcc base-gcc
+COMPILER = base-clang ports-gcc
 
 MODULES =  devel/cmake
 
@@ -24,7 +24,7 @@ CFLAGS += -I${LOCALBASE}/include
 CXXFLAGS +=-I${LOCALBASE}/include
 MODCMAKE_LDFLAGS = -L${LOCALBASE}/lib
 
-LIB_DEPENDS += textproc/libebml>=1.4.2
+LIB_DEPENDS += textproc/libebml>=1.4.4
 
 NO_TEST =  Yes
 
Ind

Re: UPDATE: libebml 1.4.3

2022-10-08 Thread Brad Smith
On Sat, Oct 08, 2022 at 09:03:28PM -0400, Brad Smith wrote:
> On Sat, Oct 08, 2022 at 08:46:41PM -0400, Brad Smith wrote:
> > Here is an update to libebml 1.4.3.
> > 
> > 
> > # Version 1.4.3 2022-09-30
> > 
> > * A C++14 compliant C++ compiler is now required.
> > * Fix compilation with g++ 11. Fixes #80.
> > * Remove Coremake project files
> > * Updated the bundled utf8cpp to v3.2.1.
> > * Fixed several problems in `EbmlBinary:` potential segfault by
> >   writing to a `nullptr`, potential memory leak under certain error
> >   conditions.
> > * Fixed problems with the generated `pkg-config` files if any of the
> >   installation paths are absolute.
> 
> I see there was a 1.4.4 release earlier today.
> 
> 
> # Version 1.4.4 2022-10-08
> 
> * Fix ABI compatibility: unfortunately release 1.4.3 broke ABI
>   compatibility. This release restores the compatibility with release
>   1.4.2. Please use it instead of release 1.4.3. In other words: 1.4.2
>   & 1.4.4 are compatible, while 1.4.3 is compatible with neither 1.4.2
>   nor 1.4.4. Fixes #104.
> 
> # Version 1.4.3 2022-09-30
> 
> * A C++14 compliant C++ compiler is now required.
> * Fix compilation with g++ 11. Fixes #80.
> * Remove Coremake project files
> * Updated the bundled utf8cpp to v3.2.1.
> * Fixed several problems in `EbmlBinary:` potential segfault by
>   writing to a `nullptr`, potential memory leak under certain error
>   conditions.
> * Fixed problems with the generated `pkg-config` files if any of the
>   installation paths are absolute.

No point listing base-gcc.


Index: Makefile
===
RCS file: /home/cvs/ports/textproc/libebml/Makefile,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 Makefile
--- Makefile11 Mar 2022 20:02:38 -  1.27
+++ Makefile9 Oct 2022 01:48:56 -
@@ -1,6 +1,6 @@
 COMMENT=   Extensible Binary Meta Language library
 
-DISTNAME=  libebml-1.4.2
+DISTNAME=  libebml-1.4.4
 CATEGORIES=textproc
 MASTER_SITES=  https://dl.matroska.org/downloads/libebml/
 EXTRACT_SUFX=  .tar.xz
@@ -16,7 +16,7 @@ PERMIT_PACKAGE=   Yes
 
 WANTLIB += ${COMPILER_LIBCXX} m
 
-COMPILER = base-clang ports-gcc base-gcc
+COMPILER = base-clang ports-gcc
 
 MODULES += devel/cmake
 
Index: distinfo
===
RCS file: /home/cvs/ports/textproc/libebml/distinfo,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 distinfo
--- distinfo20 Feb 2021 06:34:28 -  1.15
+++ distinfo9 Oct 2022 00:53:46 -
@@ -1,2 +1,2 @@
-SHA256 (libebml-1.4.2.tar.xz) = QccjfOBYKPsiD2IIYBiwgK9NtLsULzG+wAIskliJufI=
-SIZE (libebml-1.4.2.tar.xz) = 70484
+SHA256 (libebml-1.4.4.tar.xz) = gtxfgzVsyTQK7nbtdRIhCzpO3180a8nCxwRPVQUmh6c=
+SIZE (libebml-1.4.4.tar.xz) = 64116
Index: patches/patch-CMakeLists_txt
===
RCS file: /home/cvs/ports/textproc/libebml/patches/patch-CMakeLists_txt,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt11 Mar 2022 20:02:38 -  1.4
+++ patches/patch-CMakeLists_txt9 Oct 2022 00:39:10 -
@@ -3,7 +3,7 @@ Add options for building and installing 
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -5,6 +5,8 @@ project(ebml VERSION 1.4.2)
+@@ -5,6 +5,8 @@ project(ebml VERSION 1.4.3)
  option(DISABLE_PKGCONFIG "Disable PkgConfig module generation" OFF)
  option(DISABLE_CMAKE_CONFIG "Disable CMake package config module generation" 
OFF)
  option(ENABLE_WIN32_IO "Build the Windows I/O helper class" OFF)
@@ -131,7 +131,7 @@ Index: CMakeLists.txt
  
  if(NOT DISABLE_PKGCONFIG)
set(prefix ${CMAKE_INSTALL_PREFIX})
-@@ -126,7 +160,7 @@ if(NOT DISABLE_PKGCONFIG)
+@@ -134,7 +168,7 @@ if(NOT DISABLE_PKGCONFIG)
if (HAVE_WINAPIFAMILY_H)
  set(WINAPIFAMILY_PC -DHAVE_WINAPIFAMILY_H)
endif()
@@ -140,7 +140,7 @@ Index: CMakeLists.txt
  set(STATIC_DEFINE_CFLAGS -DEBML_STATIC_DEFINE)
endif()
configure_file(libebml.pc.in libebml.pc @ONLY)
-@@ -139,7 +173,9 @@ if(NOT DISABLE_CMAKE_CONFIG)
+@@ -147,7 +181,9 @@ if(NOT DISABLE_CMAKE_CONFIG)
configure_package_config_file(EBMLConfig.cmake.in 
${CMAKE_CURRENT_BINARY_DIR}/EBMLConfig.cmake
  INSTALL_DESTINATION ${CMAKE_INSTALL_PACKAGEDIR})
write_basic_package_version_file(EBMLConfigVersion.cmake COMPATIBILITY 
SameMajorVersion)



UPDATE: libmatroska 1.7.1

2022-10-08 Thread Brad Smith
Here is an update to libmatroska 1.7.1.


# Version 1.7.1 2022-10-08

* Fix ABI compatibility: unfortunately release 1.7.0 broke ABI
  compatibility. This release restores the compatibility with release
  1.6.3. Please use it instead of release 1.7.0. In other words: 1.6.3
  & 1.7.1 are compatible, while 1.7.0 is compatible with neither 1.6.3
  nor 1.7.1. Fixes #81.

# Version 1.7.0 2022-09-30

* A C++14 compliant C++ compiler is now required.
* libEBML v1.4.3 is now required.
* Remove Coremake project files
* Add `KaxInternalBlock::GetRelativeTimestamp()` to access unscaled
  block timestamps.
* Fixed problems with the generated `pkg-config` files if any of the
  installation paths are absolute.
* Added several enums in `namespace libmatroska` for the various
  elements that are constrained to a set of options:
  `MatroskaTrackType`, `MatroskaTrackEncodingCompAlgo`,
  `MatroskaChapterTranslateCodec`, `MatroskaTrackTranslateCodec`,
  `MatroskaVideoFlagInterlaced`, `MatroskaVideoFieldOrder`,
  `MatroskaVideoStereoMode`, `MatroskaVideoAlphaMode`,
  `MatroskaVideoOldStereoMode`, `MatroskaVideoDisplayUnit`,
  `MatroskaVideoAspectRatioType`, `MatroskaVideoMatrixCoefficients`,
  `MatroskaColourChromaSitingHorz`, `MatroskaColourChromaSitingVert`,
  `MatroskaVideoRange`, `MatroskaVideoTransferCharacteristics`,
  `MatroskaVideoPrimaries`, `MatroskaVideoProjectionType`,
  `MatroskaAudioEmphasis`, `MatroskaTrackPlaneType`,
  `MatroskaContentEncodingScope`, `MatroskaContentEncodingType`,
  `MatroskaContentEncodingAlgo`, `MatroskaAESSettingsCipherMode`,
  `MatroskaContentSignatureAlgo`, `MatroskaContentSigHashAlgo`,
  `MatroskaChapterSkipType`, `MatroskaChapterProcessTime` and
  `MatroskaTargetTypeValue`.
* Updated the semantics to the latest specifications, deprecating the
  following elements by preventing code to write them:
  `KaxClusterSilentTracks`, `KaxClusterSilentTrackNumber`,
  `KaxSlices`, `KaxReferenceFrame`, `KaxReferenceOffset`,
  `KaxReferenceTimeCode`, `KaxTrackTimecodeScale`,
  `KaxCodecDecodeAll`, `KaxVideoAspectRatio`, `KaxTrickTrackUID`,
  `KaxTrickTrackSegmentUID`, `KaxTrickTrackFlag`,
  `KaxTrickMasterTrackUID`, `KaxTrickMasterTrackSegmentUID`,
  `KaxContentSignature`, `KaxContentSigKeyID`, `KaxContentSigAlgo` and
  `KaxContentSigHashAlgo`.
* Updated the semantics to the latest specifications, making the
  following elements mandatory (but having default values):
  `KaxCodecDelay`, `KaxVideoPixelCropBottom`, `KaxVideoPixelCropTop`,
  `KaxVideoPixelCropLeft`, `KaxVideoPixelCropRight`,
  `KaxVideoBitsPerChannel`, `KaxCueCodecState`,
  `KaxTagTargetTypeValue`, `KaxTrackLanguage`, `KaxVideoStereoMode`,
  `KaxVideoAlphaMode`, `KaxEditionFlagOrdered`,
  `KaxVideoChromaSitHorz`, `KaxVideoChromaSitVert`,
  `KaxVideoColourRange`, `KaxVideoColourMatrix`,
  `KaxVideoColourTransferCharacter`, `KaxVideoColourPrimaries` and
  `KaxVideoDisplayUnit`.
* Updated the semantics to the latest specifications, removing the
  default values from the following elements: `KaxCueBlockNumber`,
  `KaxFlagHearingImpaired`, `KaxFlagVisualImpaired`,
  `KaxFlagTextDescriptions`, and `KaxFlagOriginal`.
* Updated the semantics to the latest specifications, adding the
  following new elements: `TagDefaultBogus` (as a placeholder for
  accidentally used but wrong EBML ID 0x44b4), `KaxEmphasis`,
  `KaxChapterSkipType`, `KaxEditionDisplay`, `KaxEditionString` and
  `KaxEditionLanguageIETF`.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libmatroska/Makefile,v
retrieving revision 1.33
diff -u -p -u -p -r1.33 Makefile
--- Makefile28 May 2022 06:20:02 -  1.33
+++ Makefile9 Oct 2022 01:07:05 -
@@ -1,11 +1,11 @@
 COMMENT=   extensible open standard audio/video container library
 
-DISTNAME=  libmatroska-1.6.3
+DISTNAME=  libmatroska-1.7.1
 CATEGORIES=multimedia
 MASTER_SITES=  https://dl.matroska.org/downloads/libmatroska/
 EXTRACT_SUFX=  .tar.xz
 
-SHARED_LIBS=   matroska5.1
+SHARED_LIBS=   matroska5.2
 
 HOMEPAGE=  https://www.matroska.org/
 
@@ -24,7 +24,7 @@ CFLAGS += -I${LOCALBASE}/include
 CXXFLAGS +=-I${LOCALBASE}/include
 MODCMAKE_LDFLAGS = -L${LOCALBASE}/lib
 
-LIB_DEPENDS += textproc/libebml>=1.4.2
+LIB_DEPENDS += textproc/libebml>=1.4.4
 
 NO_TEST =  Yes
 
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libmatroska/distinfo,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 distinfo
--- distinfo20 Feb 2021 06:34:33 -  1.17
+++ distinfo9 Oct 2022 01:02:43 -
@@ -1,2 +1,2 @@
-SHA256 (libmatroska-1.6.3.tar.xz) = 
2vkaY/WN0VfKNAxFeHHmYmDLnDMz/vsAizGL77sOCBo=
-SIZE (libmatroska-1.6.3.tar.xz) = 65612
+SHA256 (libmatroska-1.7.1.tar.xz) = 
VyowM7jZPUimqFjlFKvOSy96lG/h8Cy/7KOb/XAwGLM=
+SIZE (libmatroska-1.7.1.tar.xz) = 61416
Index: patches/patch-CMakeLists_txt

Re: UPDATE: libebml 1.4.3

2022-10-08 Thread Brad Smith
On Sat, Oct 08, 2022 at 08:46:41PM -0400, Brad Smith wrote:
> Here is an update to libebml 1.4.3.
> 
> 
> # Version 1.4.3 2022-09-30
> 
> * A C++14 compliant C++ compiler is now required.
> * Fix compilation with g++ 11. Fixes #80.
> * Remove Coremake project files
> * Updated the bundled utf8cpp to v3.2.1.
> * Fixed several problems in `EbmlBinary:` potential segfault by
>   writing to a `nullptr`, potential memory leak under certain error
>   conditions.
> * Fixed problems with the generated `pkg-config` files if any of the
>   installation paths are absolute.

I see there was a 1.4.4 release earlier today.


# Version 1.4.4 2022-10-08

* Fix ABI compatibility: unfortunately release 1.4.3 broke ABI
  compatibility. This release restores the compatibility with release
  1.4.2. Please use it instead of release 1.4.3. In other words: 1.4.2
  & 1.4.4 are compatible, while 1.4.3 is compatible with neither 1.4.2
  nor 1.4.4. Fixes #104.

# Version 1.4.3 2022-09-30

* A C++14 compliant C++ compiler is now required.
* Fix compilation with g++ 11. Fixes #80.
* Remove Coremake project files
* Updated the bundled utf8cpp to v3.2.1.
* Fixed several problems in `EbmlBinary:` potential segfault by
  writing to a `nullptr`, potential memory leak under certain error
  conditions.
* Fixed problems with the generated `pkg-config` files if any of the
  installation paths are absolute.


Index: Makefile
===
RCS file: /home/cvs/ports/textproc/libebml/Makefile,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 Makefile
--- Makefile11 Mar 2022 20:02:38 -  1.27
+++ Makefile9 Oct 2022 00:59:06 -
@@ -1,6 +1,6 @@
 COMMENT=   Extensible Binary Meta Language library
 
-DISTNAME=  libebml-1.4.2
+DISTNAME=  libebml-1.4.4
 CATEGORIES=textproc
 MASTER_SITES=  https://dl.matroska.org/downloads/libebml/
 EXTRACT_SUFX=  .tar.xz
Index: distinfo
===
RCS file: /home/cvs/ports/textproc/libebml/distinfo,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 distinfo
--- distinfo20 Feb 2021 06:34:28 -  1.15
+++ distinfo9 Oct 2022 00:53:46 -
@@ -1,2 +1,2 @@
-SHA256 (libebml-1.4.2.tar.xz) = QccjfOBYKPsiD2IIYBiwgK9NtLsULzG+wAIskliJufI=
-SIZE (libebml-1.4.2.tar.xz) = 70484
+SHA256 (libebml-1.4.4.tar.xz) = gtxfgzVsyTQK7nbtdRIhCzpO3180a8nCxwRPVQUmh6c=
+SIZE (libebml-1.4.4.tar.xz) = 64116
Index: patches/patch-CMakeLists_txt
===
RCS file: /home/cvs/ports/textproc/libebml/patches/patch-CMakeLists_txt,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt11 Mar 2022 20:02:38 -  1.4
+++ patches/patch-CMakeLists_txt9 Oct 2022 00:39:10 -
@@ -3,7 +3,7 @@ Add options for building and installing 
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -5,6 +5,8 @@ project(ebml VERSION 1.4.2)
+@@ -5,6 +5,8 @@ project(ebml VERSION 1.4.3)
  option(DISABLE_PKGCONFIG "Disable PkgConfig module generation" OFF)
  option(DISABLE_CMAKE_CONFIG "Disable CMake package config module generation" 
OFF)
  option(ENABLE_WIN32_IO "Build the Windows I/O helper class" OFF)
@@ -131,7 +131,7 @@ Index: CMakeLists.txt
  
  if(NOT DISABLE_PKGCONFIG)
set(prefix ${CMAKE_INSTALL_PREFIX})
-@@ -126,7 +160,7 @@ if(NOT DISABLE_PKGCONFIG)
+@@ -134,7 +168,7 @@ if(NOT DISABLE_PKGCONFIG)
if (HAVE_WINAPIFAMILY_H)
  set(WINAPIFAMILY_PC -DHAVE_WINAPIFAMILY_H)
endif()
@@ -140,7 +140,7 @@ Index: CMakeLists.txt
  set(STATIC_DEFINE_CFLAGS -DEBML_STATIC_DEFINE)
endif()
configure_file(libebml.pc.in libebml.pc @ONLY)
-@@ -139,7 +173,9 @@ if(NOT DISABLE_CMAKE_CONFIG)
+@@ -147,7 +181,9 @@ if(NOT DISABLE_CMAKE_CONFIG)
configure_package_config_file(EBMLConfig.cmake.in 
${CMAKE_CURRENT_BINARY_DIR}/EBMLConfig.cmake
  INSTALL_DESTINATION ${CMAKE_INSTALL_PACKAGEDIR})
write_basic_package_version_file(EBMLConfigVersion.cmake COMPATIBILITY 
SameMajorVersion)



UPDATE: libebml 1.4.3

2022-10-08 Thread Brad Smith
Here is an update to libebml 1.4.3.


# Version 1.4.3 2022-09-30

* A C++14 compliant C++ compiler is now required.
* Fix compilation with g++ 11. Fixes #80.
* Remove Coremake project files
* Updated the bundled utf8cpp to v3.2.1.
* Fixed several problems in `EbmlBinary:` potential segfault by
  writing to a `nullptr`, potential memory leak under certain error
  conditions.
* Fixed problems with the generated `pkg-config` files if any of the
  installation paths are absolute.


Index: Makefile
===
RCS file: /home/cvs/ports/textproc/libebml/Makefile,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 Makefile
--- Makefile11 Mar 2022 20:02:38 -  1.27
+++ Makefile9 Oct 2022 00:41:38 -
@@ -1,11 +1,11 @@
 COMMENT=   Extensible Binary Meta Language library
 
-DISTNAME=  libebml-1.4.2
+DISTNAME=  libebml-1.4.3
 CATEGORIES=textproc
 MASTER_SITES=  https://dl.matroska.org/downloads/libebml/
 EXTRACT_SUFX=  .tar.xz
 
-SHARED_LIBS=   ebml4.0
+SHARED_LIBS=   ebml5.0
 
 HOMEPAGE=  https://www.matroska.org/
 
Index: distinfo
===
RCS file: /home/cvs/ports/textproc/libebml/distinfo,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 distinfo
--- distinfo20 Feb 2021 06:34:28 -  1.15
+++ distinfo9 Oct 2022 00:38:43 -
@@ -1,2 +1,2 @@
-SHA256 (libebml-1.4.2.tar.xz) = QccjfOBYKPsiD2IIYBiwgK9NtLsULzG+wAIskliJufI=
-SIZE (libebml-1.4.2.tar.xz) = 70484
+SHA256 (libebml-1.4.3.tar.xz) = dGq7wha2NOwX5wITuaKuKu7wrB/8OT8vlvfkzVQ1qSE=
+SIZE (libebml-1.4.3.tar.xz) = 63988
Index: patches/patch-CMakeLists_txt
===
RCS file: /home/cvs/ports/textproc/libebml/patches/patch-CMakeLists_txt,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt11 Mar 2022 20:02:38 -  1.4
+++ patches/patch-CMakeLists_txt9 Oct 2022 00:39:10 -
@@ -3,7 +3,7 @@ Add options for building and installing 
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -5,6 +5,8 @@ project(ebml VERSION 1.4.2)
+@@ -5,6 +5,8 @@ project(ebml VERSION 1.4.3)
  option(DISABLE_PKGCONFIG "Disable PkgConfig module generation" OFF)
  option(DISABLE_CMAKE_CONFIG "Disable CMake package config module generation" 
OFF)
  option(ENABLE_WIN32_IO "Build the Windows I/O helper class" OFF)
@@ -131,7 +131,7 @@ Index: CMakeLists.txt
  
  if(NOT DISABLE_PKGCONFIG)
set(prefix ${CMAKE_INSTALL_PREFIX})
-@@ -126,7 +160,7 @@ if(NOT DISABLE_PKGCONFIG)
+@@ -134,7 +168,7 @@ if(NOT DISABLE_PKGCONFIG)
if (HAVE_WINAPIFAMILY_H)
  set(WINAPIFAMILY_PC -DHAVE_WINAPIFAMILY_H)
endif()
@@ -140,7 +140,7 @@ Index: CMakeLists.txt
  set(STATIC_DEFINE_CFLAGS -DEBML_STATIC_DEFINE)
endif()
configure_file(libebml.pc.in libebml.pc @ONLY)
-@@ -139,7 +173,9 @@ if(NOT DISABLE_CMAKE_CONFIG)
+@@ -147,7 +181,9 @@ if(NOT DISABLE_CMAKE_CONFIG)
configure_package_config_file(EBMLConfig.cmake.in 
${CMAKE_CURRENT_BINARY_DIR}/EBMLConfig.cmake
  INSTALL_DESTINATION ${CMAKE_INSTALL_PACKAGEDIR})
write_basic_package_version_file(EBMLConfigVersion.cmake COMPATIBILITY 
SameMajorVersion)



UPDATE: libnfs 5.0.2

2022-10-08 Thread Brad Smith
Here is an update to libnfs 5.0.2.


Changes since 5.0.1
Various small multithreading fixes
Add opaque pointer to service_proc to make it easier to build server apps.
BSD compile fix
OpenBSD support
fix double free in nfs3_pread_mcb()


Index: Makefile
===
RCS file: /home/cvs/ports/devel/libnfs/Makefile,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 Makefile
--- Makefile11 Mar 2022 18:50:37 -  1.8
+++ Makefile9 Oct 2022 00:25:57 -
@@ -1,10 +1,10 @@
 COMMENT=   client library for accessing NFS
 
-DISTNAME=  libnfs-5.0.1
+DISTNAME=  libnfs-5.0.2
 CATEGORIES=devel net
 MASTER_SITES=  https://github.com/sahlberg/libnfs/archive/
 
-SHARED_LIBS=   nfs 2.1
+SHARED_LIBS=   nfs 2.2
 
 HOMEPAGE=  https://github.com/sahlberg/libnfs
 
Index: distinfo
===
RCS file: /home/cvs/ports/devel/libnfs/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo13 Feb 2022 20:04:03 -  1.4
+++ distinfo9 Oct 2022 00:16:08 -
@@ -1,2 +1,2 @@
-SHA256 (libnfs-5.0.1.tar.gz) = fvRFQQtC82ubrUJmCLU8y5zMpBAeVFw4P1ZMEdtnLKg=
-SIZE (libnfs-5.0.1.tar.gz) = 279550
+SHA256 (libnfs-5.0.2.tar.gz) = Y35WZDsZ2p+6mPBoR3iMTa0wi3IxVqZHSAQQNdzfm9M=
+SIZE (libnfs-5.0.2.tar.gz) = 281154
Index: patches/patch-include_nfsc_libnfs_h
===
RCS file: patches/patch-include_nfsc_libnfs_h
diff -N patches/patch-include_nfsc_libnfs_h
--- patches/patch-include_nfsc_libnfs_h 11 Mar 2022 18:50:37 -  1.5
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-Index: include/nfsc/libnfs.h
 include/nfsc/libnfs.h.orig
-+++ include/nfsc/libnfs.h
-@@ -38,6 +38,9 @@
- #ifdef __cplusplus
- extern "C" {
- #endif
-+#if defined(__OpenBSD__)
-+#include  /* gettimeofday */
-+#endif
- 
- #define LIBNFS_FEATURE_READAHEAD
- #define LIBNFS_FEATURE_PAGECACHE
Index: patches/patch-lib_socket_c
===
RCS file: patches/patch-lib_socket_c
diff -N patches/patch-lib_socket_c
--- patches/patch-lib_socket_c  11 Mar 2022 18:50:37 -  1.5
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-Index: lib/socket.c
 lib/socket.c.orig
-+++ lib/socket.c
-@@ -166,7 +166,7 @@ set_tcp_sockopt(int sockfd, int optname, int value)
- {
-   int level;
- 
--  #if defined(__FreeBSD__) || defined(__sun) || (defined(__APPLE__) && 
defined(__MACH__))
-+  #ifndef SOL_TCP
-   struct protoent *buf;
- 
-   if ((buf = getprotobyname("tcp")) != NULL)



UPDATE: png 1.6.38

2022-10-08 Thread Brad Smith
Here is an update to png 1.6.38.


Version 1.6.38 [September 14, 2022]
  Added configurations and scripts for continuous integration.
  Fixed various errors in the handling of tRNS, hIST and eXIf.
  Implemented many stability improvements across all platforms.
  Updated the internal documentation.


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/png/Makefile,v
retrieving revision 1.128
diff -u -p -u -p -r1.128 Makefile
--- Makefile1 Aug 2022 15:00:04 -   1.128
+++ Makefile9 Oct 2022 00:06:57 -
@@ -1,9 +1,8 @@
 COMMENT=   library for manipulating PNG images
 
-VERSION=   1.6.37
+VERSION=   1.6.38
 DISTNAME=  libpng-${VERSION}
 PKGNAME=   png-${VERSION}
-REVISION=  0
 CATEGORIES=graphics
 DPB_PROPERTIES=parallel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libpng/}
Index: distinfo
===
RCS file: /home/cvs/ports/graphics/png/distinfo,v
retrieving revision 1.60
diff -u -p -u -p -r1.60 distinfo
--- distinfo30 Apr 2019 14:46:48 -  1.60
+++ distinfo9 Oct 2022 00:07:03 -
@@ -1,2 +1,2 @@
-SHA256 (libpng-1.6.37.tar.xz) = UF5wg001ODU3tkkeeuhkHxpL7Rh22/42EgH8gIaNiMo=
-SIZE (libpng-1.6.37.tar.xz) = 1012272
+SHA256 (libpng-1.6.38.tar.xz) = s2g+i4ER6/bxrABOu2sMl1zTEOxGnZg2Q4jpztv6aL4=
+SIZE (libpng-1.6.38.tar.xz) = 1023168
Index: patches/patch-Makefile_in
===
RCS file: /home/cvs/ports/graphics/png/patches/patch-Makefile_in,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-Makefile_in
--- patches/patch-Makefile_in   11 Mar 2022 19:23:11 -  1.2
+++ patches/patch-Makefile_in   9 Oct 2022 00:08:33 -
@@ -3,7 +3,7 @@ Set the library soname to libpng instead
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -761,7 +761,7 @@ EXTRA_SCRIPTS = libpng-config libpng@PNGLIB_MAJOR@@PNG
+@@ -764,7 +764,7 @@ EXTRA_SCRIPTS = libpng-config libpng@PNGLIB_MAJOR@@PNG
  bin_SCRIPTS = @binconfigs@
  
  # rules to build libpng, only build the old library on request
@@ -12,7 +12,7 @@ Index: Makefile.in
  # EXTRA_LTLIBRARIES= libpng.la
  libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = png.c pngerror.c \
pngget.c pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c \
-@@ -1008,8 +1008,10 @@ powerpc/powerpc_init.lo: powerpc/$(am__dirstamp) \
+@@ -1011,8 +1011,10 @@ powerpc/powerpc_init.lo: powerpc/$(am__dirstamp) \
  powerpc/filter_vsx_intrinsics.lo: powerpc/$(am__dirstamp) \
powerpc/$(DEPDIR)/$(am__dirstamp)
  
@@ -24,7 +24,7 @@ Index: Makefile.in
  contrib/tools/$(am__dirstamp):
@$(MKDIR_P) contrib/tools
@: > contrib/tools/$(am__dirstamp)
-@@ -2383,9 +2385,9 @@ uninstall-libpng-pc:
+@@ -2388,9 +2390,9 @@ uninstall-libpng-pc:
  install-library-links:
@set -x; cd '$(DESTDIR)$(libdir)';\
for ext in $(EXT_LIST); do\
Index: patches/patch-libpng_pc_in
===
RCS file: /home/cvs/ports/graphics/png/patches/patch-libpng_pc_in,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-libpng_pc_in
--- patches/patch-libpng_pc_in  11 Mar 2022 19:23:11 -  1.3
+++ patches/patch-libpng_pc_in  9 Oct 2022 00:08:26 -
@@ -4,7 +4,7 @@ Index: libpng.pc.in
 @@ -7,6 +7,6 @@ Name: libpng
  Description: Loads and saves PNG files
  Version: @PNGLIB_VERSION@
- Requires: zlib
+ Requires.private: zlib
 -Libs: -L${libdir} -lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
 +Libs: -L${libdir} -lpng
  Libs.private: @LIBS@
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/graphics/png/pkg/PLIST,v
retrieving revision 1.33
diff -u -p -u -p -r1.33 PLIST
--- pkg/PLIST   11 Mar 2022 19:23:11 -  1.33
+++ pkg/PLIST   9 Oct 2022 00:10:25 -
@@ -9,10 +9,10 @@ include/libpng16/pnglibconf.h
 include/png.h
 include/pngconf.h
 include/pnglibconf.h
-lib/libpng.a
+@static-lib lib/libpng.a
 lib/libpng.la
 @lib lib/libpng.so.${LIBpng_VERSION}
-lib/libpng16.a
+@static-lib lib/libpng16.a
 lib/libpng16.la
 @lib lib/libpng16.so.${LIBpng16_VERSION}
 lib/pkgconfig/libpng.pc



UPDATE: iperf3 3.12

2022-10-07 Thread Brad Smith
Here is an update to iperf3.


https://raw.githubusercontent.com/esnet/iperf/master/RELNOTES.md


Index: Makefile
===
RCS file: /home/cvs/ports/net/iperf3/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile11 Mar 2022 19:46:08 -  1.9
+++ Makefile7 Oct 2022 21:39:50 -
@@ -1,6 +1,6 @@
 COMMENT=   tool to measure maximum achievable bandwidth on IP networks
 
-V= 3.10.1
+V= 3.12
 PKGNAME=   iperf3-${V}
 DISTNAME=  iperf-${V}
 
@@ -19,7 +19,9 @@ WANTLIB += c m
 
 MASTER_SITES=  https://downloads.es.net/pub/iperf/
 
-CONFIGURE_STYLE= gnu
+AUTOCONF_VERSION=  2.71
+
+CONFIGURE_STYLE= autoconf
 CONFIGURE_ARGS= --with-openssl=no
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/net/iperf3/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo13 Jul 2021 02:02:09 -  1.6
+++ distinfo3 Oct 2022 05:54:03 -
@@ -1,2 +1,2 @@
-SHA256 (iperf-3.10.1.tar.gz) = A7yXYMxUokUZHUa/yO2vikdQ8Oh6vKZ2RIaXIETWcVo=
-SIZE (iperf-3.10.1.tar.gz) = 633304
+SHA256 (iperf-3.12.tar.gz) = cgNOz7an1tZ+OE4Z+27/8yNspPftTFGNfbZJxEfh/9Y=
+SIZE (iperf-3.12.tar.gz) = 644807
Index: patches/patch-configure_ac
===
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-configure_ac  7 Oct 2022 21:37:49 -
@@ -0,0 +1,13 @@
+Add support for OpenBSD systems which have TCP_INFO implemented.
+
+Index: configure.ac
+--- configure.ac.orig
 configure.ac
+@@ -305,6 +305,7 @@ AC_CHECK_MEMBER([struct tcp_info.tcpi_snd_wnd],
+ [#ifdef HAVE_LINUX_TCP_H
+ #include 
+ #else
++#include 
+ #include 
+ #endif
+ ])
Index: patches/patch-src_iperf_api_c
===
RCS file: /home/cvs/ports/net/iperf3/patches/patch-src_iperf_api_c,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-src_iperf_api_c
--- patches/patch-src_iperf_api_c   11 Mar 2022 19:46:08 -  1.5
+++ patches/patch-src_iperf_api_c   3 Oct 2022 05:54:34 -
@@ -3,7 +3,7 @@ Default to IPv4.
 Index: src/iperf_api.c
 --- src/iperf_api.c.orig
 +++ src/iperf_api.c
-@@ -2314,7 +2314,7 @@ iperf_defaults(struct iperf_test *testp)
+@@ -2787,7 +2787,7 @@ iperf_defaults(struct iperf_test *testp)
  testp->stats_interval = testp->reporter_interval = 1;
  testp->num_streams = 1;
  
Index: patches/patch-src_iperf_h
===
RCS file: patches/patch-src_iperf_h
diff -N patches/patch-src_iperf_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_iperf_h   7 Oct 2022 21:38:07 -
@@ -0,0 +1,17 @@
+Add support for OpenBSD systems which have TCP_INFO implemented.
+
+Index: src/iperf.h
+--- src/iperf.h.orig
 src/iperf.h
+@@ -94,9 +94,9 @@ struct iperf_interval_results
+ int   cnt_error;
+ 
+ int omitted;
+-#if (defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__)) && \
++#if (defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) || 
defined(__OpenBSD__)) && \
+   defined(TCP_INFO)
+-struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux, {Free,Net}BSD 
*/
++struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux, 
{Free,Net,Open}BSD */
+ #else
+ /* Just placeholders, never accessed. */
+ char *tcpInfo;
Index: patches/patch-src_iperf_locale_c
===
RCS file: patches/patch-src_iperf_locale_c
diff -N patches/patch-src_iperf_locale_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_iperf_locale_c7 Oct 2022 21:38:18 -
@@ -0,0 +1,18 @@
+Add support for OpenBSD systems which have TCP_INFO implemented.
+
+Index: src/iperf_locale.c
+--- src/iperf_locale.c.orig
 src/iperf_locale.c
+@@ -450,11 +450,7 @@ const char report_receiver_not_available_summary_forma
+ const char report_tcpInfo[] =
+ "event=TCP_Info CWND=%u SND_SSTHRESH=%u RCV_SSTHRESH=%u UNACKED=%u SACK=%u 
LOST=%u RETRANS=%u FACK=%u RTT=%u REORDERING=%u\n";
+ #endif
+-#if defined(__FreeBSD__)
+-const char report_tcpInfo[] =
+-"event=TCP_Info CWND=%u RCV_WIND=%u SND_SSTHRESH=%u RTT=%u\n";
+-#endif
+-#if defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+ const char report_tcpInfo[] =
+ "event=TCP_Info CWND=%u RCV_WIND=%u SND_SSTHRESH=%u RTT=%u\n";
+ #endif
Index: patches/patch-src_tcp_info_c
===
RCS file: patches/patch-src_tcp_info_c
diff -N patches/patch-src_tcp_info_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_tcp_info_c7 Oct 2022 21:38:44 -
@@ -0,0 +1,90 @@
+Add support for OpenBSD systems which have TCP_INFO implemented.
+

UPDATE: libdvdread 6.1.3

2022-10-04 Thread Brad Smith
Here is an update to libdvdread 6.1.3.


libdvdread (6.1.3)
 * Improvements for OpenBSD
 * Fix crashes on some DVD (0 PCGI SRP)
 * Misc source fixes and cleanups, including fixes for recent toolchains


Index: Makefile
===
RCS file: /home/cvs/ports/devel/libdvdread/Makefile,v
retrieving revision 1.36
diff -u -p -u -p -r1.36 Makefile
--- Makefile11 Mar 2022 18:50:30 -  1.36
+++ Makefile18 Sep 2022 06:02:42 -
@@ -1,8 +1,7 @@
 COMMENT =  accessing DVD files
 
-VER =  6.1.2
+VER =  6.1.3
 DISTNAME = libdvdread-${VER}
-REVISION = 0
 CATEGORIES =   devel
 MASTER_SITES = https://download.videolan.org/pub/videolan/libdvdread/${VER}/
 EXTRACT_SUFX = .tar.bz2
Index: distinfo
===
RCS file: /home/cvs/ports/devel/libdvdread/distinfo,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 distinfo
--- distinfo11 Oct 2021 06:11:29 -  1.15
+++ distinfo18 Sep 2022 05:53:34 -
@@ -1,2 +1,2 @@
-SHA256 (libdvdread-6.1.2.tar.bz2) = 
zBkPVTdYztdXGFnjAfgCy0gh8WTQK/rP0yDBSk4Np2M=
-SIZE (libdvdread-6.1.2.tar.bz2) = 391536
+SHA256 (libdvdread-6.1.3.tar.bz2) = 
zjVFSZeiCMvlDpEjLw5z+xrDRxllgToTuHMKjxihU2k=
+SIZE (libdvdread-6.1.3.tar.bz2) = 395439
Index: patches/patch-src_bitreader_c
===
RCS file: patches/patch-src_bitreader_c
diff -N patches/patch-src_bitreader_c
--- patches/patch-src_bitreader_c   11 Mar 2022 18:50:30 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,62 +0,0 @@
-avoid reading the next byte ahead
-f6774c386f404b49a13d9027567d57e104c5a415
-
-Index: src/bitreader.c
 src/bitreader.c.orig
-+++ src/bitreader.c
-@@ -26,12 +26,11 @@
- 
- #include "dvdread/bitreader.h"
- 
--int dvdread_getbits_init(getbits_state_t *state, uint8_t *start) {
-+int dvdread_getbits_init(getbits_state_t *state, const uint8_t *start) {
-   if ((state == NULL) || (start == NULL)) return 0;
-   state->start = start;
-   state->bit_position = 0;
-   state->byte_position = 0;
--  state->byte = start[0];
-   return 1;
- }
- 
-@@ -47,37 +46,32 @@ uint32_t dvdread_getbits(getbits_state_t *state, uint3
- 
-   if ((state->bit_position) > 0) {  /* Last getbits left us in the middle of 
a byte. */
- if (number_of_bits > (8-state->bit_position)) { /* this getbits will span 
2 or more bytes. */
--  byte = state->byte;
-+  byte = state->start[state->byte_position] << state->bit_position;
-   byte = byte >> (state->bit_position);
-   result = byte;
-   number_of_bits -= (8-state->bit_position);
-   state->bit_position = 0;
-   state->byte_position++;
--  state->byte = state->start[state->byte_position];
- } else {
--  byte=state->byte;
--  state->byte = state->byte << number_of_bits;
-+  byte = state->start[state->byte_position] << state->bit_position;
-   byte = byte >> (8 - number_of_bits);
-   result = byte;
-   state->bit_position += number_of_bits; /* Here it is impossible for 
bit_position > 8 */
-   if (state->bit_position == 8) {
- state->bit_position = 0;
- state->byte_position++;
--state->byte = state->start[state->byte_position];
-   }
-   number_of_bits = 0;
- }
-   }
-   if ((state->bit_position) == 0) {
- while (number_of_bits > 7) {
--  result = (result << 8) + state->byte;
-+  result = (result << 8) + state->start[state->byte_position];
-   state->byte_position++;
--  state->byte = state->start[state->byte_position];
-   number_of_bits -= 8;
- }
- if (number_of_bits > 0) { /* number_of_bits < 8 */
--  byte = state->byte;
--  state->byte = state->byte << number_of_bits;
-+  byte = state->start[state->byte_position] << state->bit_position;
-   state->bit_position += number_of_bits; /* Here it is impossible for 
bit_position > 7 */
-   byte = byte >> (8 - number_of_bits);
-   result = (result << number_of_bits) + byte;
Index: patches/patch-src_dvd_input_c
===
RCS file: patches/patch-src_dvd_input_c
diff -N patches/patch-src_dvd_input_c
--- patches/patch-src_dvd_input_c   11 Mar 2022 18:50:30 -  1.8
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-Use correct name of the libdvdcss shared library on OpenBSD.
-1c031048907b72c4757926a06f2bc5fac42fba15
-
-Index: src/dvd_input.c
 src/dvd_input.c.orig
-+++ src/dvd_input.c
-@@ -346,6 +346,8 @@ int dvdinput_setup(void *priv, dvd_logger_cb *logcb)
-   #define CSS_LIB "libdvdcss-2.dll"
- #elif defined(__OS2__)
-   #define CSS_LIB "dvdcss2.dll"
-+#elif defined(__OpenBSD__)
-+  #define CSS_LIB "libdvdcss.so"
- #else
-   #define CSS_LIB "libdvdcss.so.2"
- #endif
Index: patches/patch-src_dvd_reader_c
===
RCS file: 

UPDATE: dnsmasq 2.87

2022-10-04 Thread Brad Smith
Here is an update to dnsmasq 2.87.


Index: Makefile
===
RCS file: /home/cvs/ports/net/dnsmasq/Makefile,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 Makefile
--- Makefile24 Apr 2022 19:16:29 -  1.62
+++ Makefile26 Sep 2022 05:47:10 -
@@ -1,12 +1,11 @@
 COMMENT=   lightweight caching DNS forwarder, DHCP and TFTP server
 
-DISTNAME=  dnsmasq-2.86
-REVISION=  0
+DISTNAME=  dnsmasq-2.87
 CATEGORIES=net
-MASTER_SITES=  https://www.thekelleys.org.uk/dnsmasq/
+MASTER_SITES=  https://thekelleys.org.uk/dnsmasq/
 EXTRACT_SUFX=  .tar.xz
 
-HOMEPAGE=  https://www.thekelleys.org.uk/dnsmasq/doc.html
+HOMEPAGE=  https://dnsmasq.org/
 
 MAINTAINER=Brad Smith 
 
Index: distinfo
===
RCS file: /home/cvs/ports/net/dnsmasq/distinfo,v
retrieving revision 1.41
diff -u -p -u -p -r1.41 distinfo
--- distinfo7 Oct 2021 21:39:03 -   1.41
+++ distinfo26 Sep 2022 05:47:27 -
@@ -1,2 +1,2 @@
-SHA256 (dnsmasq-2.86.tar.xz) = KNUs/J4gBKxPhSdPUrMuFke028l2G4Ln3h5BxJkH6wg=
-SIZE (dnsmasq-2.86.tar.xz) = 531404
+SHA256 (dnsmasq-2.87.tar.xz) = AijANkp/I1b9fn8VSZN8vzCZp407LrG6W7DDHiuJ3no=
+SIZE (dnsmasq-2.87.tar.xz) = 540528
Index: patches/patch-man_dnsmasq_8
===
RCS file: /home/cvs/ports/net/dnsmasq/patches/patch-man_dnsmasq_8,v
retrieving revision 1.30
diff -u -p -u -p -r1.30 patch-man_dnsmasq_8
--- patches/patch-man_dnsmasq_8 11 Mar 2022 19:45:55 -  1.30
+++ patches/patch-man_dnsmasq_8 13 Aug 2022 05:36:50 -
@@ -17,8 +17,8 @@ Index: man/dnsmasq.8
  .TP
  .B \-v, --version
  Print the version number.
-@@ -2098,7 +2097,7 @@ in the configuration file included. Secondly, the file
- therein is updated when dnsmasq receives SIGHUP.
+@@ -2178,7 +2177,7 @@ and /share/ads-domains.gz containing a compressed
+ list of ad server domains will save disk space with large ad-server 
blocklists.
  .SH CONFIG FILE
  At startup, dnsmasq reads
 -.I /etc/dnsmasq.conf,
@@ -26,7 +26,7 @@ Index: man/dnsmasq.8
  if it exists. (On
  FreeBSD, the file is 
  .I /usr/local/etc/dnsmasq.conf
-@@ -2555,7 +2554,7 @@ dnsmasq has no direct way of determining the charset i
+@@ -2637,7 +2636,7 @@ dnsmasq has no direct way of determining the charset i
  assume that it is the system default. 
   
  .SH FILES
Index: patches/patch-src_config_h
===
RCS file: /home/cvs/ports/net/dnsmasq/patches/patch-src_config_h,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 patch-src_config_h
--- patches/patch-src_config_h  11 Mar 2022 19:45:55 -  1.27
+++ patches/patch-src_config_h  11 Mar 2022 21:52:29 -
@@ -12,7 +12,7 @@ Index: src/config.h
  #define TFTP_MAX_CONNECTIONS 50 /* max simultaneous connections */
  #define LOG_MAX 5 /* log-queue length */
  #define RANDFILE "/dev/urandom"
-@@ -212,7 +212,7 @@ RESOLVFILE
+@@ -216,7 +216,7 @@ RESOLVFILE
  #   if defined(__FreeBSD__)
  #  define CONFFILE "/usr/local/etc/dnsmasq.conf"
  #   else
Index: patches/patch-src_rfc3315_c
===
RCS file: patches/patch-src_rfc3315_c
diff -N patches/patch-src_rfc3315_c
--- patches/patch-src_rfc3315_c 24 Apr 2022 19:16:29 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,161 +0,0 @@
-Fix write-after-free error in DHCPv6 code. CVE-2022-0934 refers.
-03345ecefeb0d82e3c3a4c28f27c3554f0611b39
-
-Index: src/rfc3315.c
 src/rfc3315.c.orig
-+++ src/rfc3315.c
-@@ -33,9 +33,9 @@ struct state {
-   unsigned int mac_len, mac_type;
- };
- 
--static int dhcp6_maybe_relay(struct state *state, void *inbuff, size_t sz, 
-+static int dhcp6_maybe_relay(struct state *state, unsigned char *inbuff, 
size_t sz, 
-struct in6_addr *client_addr, int is_unicast, 
time_t now);
--static int dhcp6_no_relay(struct state *state, int msg_type, void *inbuff, 
size_t sz, int is_unicast, time_t now);
-+static int dhcp6_no_relay(struct state *state, int msg_type, unsigned char 
*inbuff, size_t sz, int is_unicast, time_t now);
- static void log6_opts(int nest, unsigned int xid, void *start_opts, void 
*end_opts);
- static void log6_packet(struct state *state, char *type, struct in6_addr 
*addr, char *string);
- static void log6_quiet(struct state *state, char *type, struct in6_addr 
*addr, char *string);
-@@ -104,12 +104,12 @@ unsigned short dhcp6_reply(struct dhcp_context *contex
- }
- 
- /* This cost me blood to write, it will probably cost you blood to understand 
- srk. */
--static int dhcp6_maybe_relay(struct state *state, void *inbuff, size_t sz, 
-+static int dhcp6_maybe_relay(struct state *state, unsigned char *inbuff, 
size_t sz, 
-struct in6_addr *client_addr, int is_unicast, 
time_t now)
- {
-   void *end = inbuff + sz;
-   void

UPDATE: SVT-AV1 1.2.1

2022-10-04 Thread Brad Smith
Here is an update to SVT-AV1 1.2.1.


## [1.2.1] - 2022-08-15

- Fix a crash at the end of the encode that may occur when an invalid metadata 
packet is sent with the EOS packet

Build, Cleanup
- y4m header pasring code cleanup
- API cleanup and enhancements adding string options for RC mode
- Added option to build without app / dec / enc using the build.sh / build.bat 
scripts


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/svt-av1/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile8 Aug 2022 05:23:20 -   1.9
+++ Makefile7 Sep 2022 04:07:45 -
@@ -2,7 +2,7 @@ ONLY_FOR_ARCHS= ${LP64_ARCHS} i386
 
 COMMENT=   scalable AV1 encoder/decoder
 
-VER=   1.2.0
+VER=   1.2.1
 DISTNAME=  SVT-AV1-v${VER}
 PKGNAME=   svt-av1-${VER}
 CATEGORIES=multimedia
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/svt-av1/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo8 Aug 2022 05:23:20 -   1.8
+++ distinfo7 Sep 2022 04:08:02 -
@@ -1,2 +1,2 @@
-SHA256 (SVT-AV1-v1.2.0.tar.bz2) = DyoGD+vGUvRdDa3cedfgnstTdH/l/q/jLoWkEAF+hRI=
-SIZE (SVT-AV1-v1.2.0.tar.bz2) = 9556514
+SHA256 (SVT-AV1-v1.2.1.tar.bz2) = gFgn2qiu3sTxNiuVnzdwdeKoEWgL/Ha29Pvy705xAdQ=
+SIZE (SVT-AV1-v1.2.1.tar.bz2) = 9556903



UPDATE: libbluray 1.3.3

2022-10-04 Thread Brad Smith
Here is an update to libbluray 1.3.3.


2022-09-19: Version 1.3.3
- Initial support for Java 18.
- Add support for OpenBSD operating system.
- Improve support for FreeBSD, NetBSD and DragonFlyBSD
- Improve Java 17 support.

2022-06-28: Version 1.3.2
- Fix build/run failure after Oracle Java CPU for April 2022


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libbluray/Makefile,v
retrieving revision 1.22
diff -u -p -u -p -r1.22 Makefile
--- Makefile24 Mar 2022 16:27:34 -  1.22
+++ Makefile20 Sep 2022 16:51:25 -
@@ -1,6 +1,6 @@
 COMMENT =  library supporting Blu-ray playback
 
-V =1.3.1
+V =1.3.3
 DISTNAME = libbluray-${V}
 CATEGORIES =   multimedia
 
@@ -22,11 +22,8 @@ LIB_DEPENDS =converters/libiconv \
textproc/libxml
 BUILD_DEPENDS =devel/bison
 
-AUTOCONF_VERSION = 2.69
-AUTOMAKE_VERSION = 1.16
-
 SEPARATE_BUILD =   Yes
-CONFIGURE_STYLE =  autoreconf
+CONFIGURE_STYLE =  gnu
 YACC = ${LOCALBASE}/bin/bison -y
 CONFIGURE_ARGS +=  --disable-bdjava-jar \
--disable-doxygen-doc \
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libbluray/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo24 Mar 2022 16:27:35 -  1.10
+++ distinfo20 Sep 2022 16:51:44 -
@@ -1,2 +1,2 @@
-SHA256 (libbluray-1.3.1.tar.bz2) = wksPQcW3N7u2XFRP5jSVY3p3HBClGd/IAudp8RK0O3U=
-SIZE (libbluray-1.3.1.tar.bz2) = 754867
+SHA256 (libbluray-1.3.3.tar.bz2) = WP9Szc7mTFXcw8d3ocOftBq9lRuSeXjk0raBG5GTpIg=
+SIZE (libbluray-1.3.3.tar.bz2) = 761335
Index: patches/patch-Makefile_am
===
RCS file: patches/patch-Makefile_am
diff -N patches/patch-Makefile_am
--- patches/patch-Makefile_am   11 Mar 2022 19:39:20 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,24 +0,0 @@
-- Allow libbluray to be able to find mount points using the getfsstat() API.
-- Remove setting _POSIX_C_SOURCE as that breaks building some of the BSD 
headers
-  due to BSD types.
-
-Index: Makefile.am
 Makefile.am.orig
-+++ Makefile.am
-@@ -25,7 +25,6 @@ AM_CFLAGS = \
- 
- AM_CPPFLAGS = \
-   -D_ISOC99_SOURCE \
--  -D_POSIX_C_SOURCE=$(POSIX_C_SOURCE) \
-   -D_REENTRANT \
-   \
-   -I$(top_srcdir)/src \
-@@ -203,7 +202,7 @@ libbluray_la_SOURCES+= \
-   src/file/dirs_xdg.c \
-   src/file/dl_posix.c \
-   src/file/file_posix.c \
--  src/file/mount.c
-+  src/file/mount_getfsstat.c
- endif
- endif
- 
Index: patches/patch-jni_jni_h
===
RCS file: patches/patch-jni_jni_h
diff -N patches/patch-jni_jni_h
--- patches/patch-jni_jni_h 24 Mar 2022 16:27:35 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-Point to a real file.
-
-Index: jni/jni.h
 jni/jni.h.orig
-+++ jni/jni.h
-@@ -43,7 +43,7 @@
- /* jni_md.h contains the machine-dependent typedefs for jbyte, jint 
-and jlong */ 
- 
--#include "jni_md.h"
-+#include "netbsd/jni_md.h"
- 
- #ifdef __cplusplus
- extern "C" {
Index: patches/patch-src_file_mount_getfsstat_c
===
RCS file: patches/patch-src_file_mount_getfsstat_c
diff -N patches/patch-src_file_mount_getfsstat_c
--- patches/patch-src_file_mount_getfsstat_c11 Mar 2022 19:39:20 -  
1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,68 +0,0 @@
-Re-add the old Darwin code which utilized getfsstat().
-
-Index: src/file/mount_getfsstat.c
 src/file/mount_getfsstat.c.orig
-+++ src/file/mount_getfsstat.c
-@@ -0,0 +1,62 @@
-+/*
-+ * This file is part of libbluray
-+ * Copyright (C) 2014  VideoLAN
-+ *
-+ * This library is free software; you can redistribute it and/or
-+ * modify it under the terms of the GNU Lesser General Public
-+ * License as published by the Free Software Foundation; either
-+ * version 2.1 of the License, or (at your option) any later version.
-+ *
-+ * This library is distributed in the hope that it will be useful,
-+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-+ * Lesser General Public License for more details.
-+ *
-+ * You should have received a copy of the GNU Lesser General Public
-+ * License along with this library. If not, see
-+ * .
-+ */
-+
-+#if HAVE_CONFIG_H
-+#include "config.h"
-+#endif
-+
-+#include "mount.h"
-+
-+#include "util/strutl.h"
-+
-+#include 
-+
-+#include 
-+#include 
-+#include 
-+#include 
-+
-+char *mount_get_mountpoint(const char *device_path)
-+{
-+struct stat st;
-+if (stat (device_path, ) ) {
-+return 

UPDATE: jpeg 2.1.4

2022-10-04 Thread Brad Smith
Here is an update to jpeg 2.1.4.


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/jpeg/Makefile,v
retrieving revision 1.74
diff -u -p -u -p -r1.74 Makefile
--- Makefile21 Mar 2022 12:58:33 -  1.74
+++ Makefile27 Sep 2022 04:02:38 -
@@ -1,6 +1,6 @@
 COMMENT=   SIMD-accelerated JPEG codec replacement of libjpeg
 
-V= 2.1.3
+V= 2.1.4
 DISTNAME=  libjpeg-turbo-${V}
 PKGNAME=   jpeg-${V}
 EPOCH= 0
Index: distinfo
===
RCS file: /home/cvs/ports/graphics/jpeg/distinfo,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 distinfo
--- distinfo21 Mar 2022 12:58:33 -  1.24
+++ distinfo27 Sep 2022 04:02:46 -
@@ -1,2 +1,2 @@
-SHA256 (libjpeg-turbo-2.1.3.tar.gz) = 
RnsxCQODKwM/5WzTdyDRtzpqO9AXHb9v8LYgOF9PdtA=
-SIZE (libjpeg-turbo-2.1.3.tar.gz) = 2260756
+SHA256 (libjpeg-turbo-2.1.4.tar.gz) = 
0+0moRMaE2ht/KSTXlIOt8kK52+8RdmLtQqNyGIwNCs=
+SIZE (libjpeg-turbo-2.1.4.tar.gz) = 2261822
Index: patches/patch-wrjpgcom_c
===
RCS file: /home/cvs/ports/graphics/jpeg/patches/patch-wrjpgcom_c,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 patch-wrjpgcom_c
--- patches/patch-wrjpgcom_c21 Mar 2022 12:58:33 -  1.7
+++ patches/patch-wrjpgcom_c27 Sep 2022 04:03:02 -
@@ -1,7 +1,7 @@
 Index: wrjpgcom.c
 --- wrjpgcom.c.orig
 +++ wrjpgcom.c
-@@ -453,7 +453,7 @@ main(int argc, char **argv)
+@@ -438,7 +438,7 @@ main(int argc, char **argv)
(unsigned int)MAX_COM_LENGTH);
exit(EXIT_FAILURE);
  }
@@ -10,7 +10,7 @@ Index: wrjpgcom.c
  for (;;) {
comment_length = (unsigned int)strlen(comment_arg);
if (comment_length > 0 && comment_arg[comment_length - 1] == '"') {
-@@ -468,8 +468,8 @@ main(int argc, char **argv)
+@@ -453,8 +453,8 @@ main(int argc, char **argv)
  (unsigned int)MAX_COM_LENGTH);
  exit(EXIT_FAILURE);
}



UPDATE: aom 3.5.0

2022-10-04 Thread Brad Smith
Here is an update to aom 3.5.0.


2022-08-31 v3.5.0

  This release is ABI compatible with the last one, including speedup and memory
  optimizations, and new APIs and features.
  - New Features
* Support for frame parallel encode for larger number of threads. --fp-mt
  flag is available for all build configurations.
* New codec control AV1E_GET_NUM_OPERATING_POINTS
  - Speedup and Memory Optimizations
* Speed-up multithreaded encoding for good quality mode for larger number of
  threads through frame parallel encoding:
  o 30-34% encode time reduction for 1080p, 16 threads, 1x1 tile
configuration (tile_rows x tile_columns)
  o 18-28% encode time reduction for 1080p, 16 threads, 2x4 tile
configuration
  o 18-20% encode time reduction for 2160p, 32 threads, 2x4 tile
configuration
* 16-20% speed-up for speed=6 to 8 in still-picture encoding mode
* 5-6% heap memory reduction for speed=6 to 10 in real-time encoding mode
* Improvements to the speed for speed=7, 8 in real-time encoding mode
* Improvements to the speed for speed=9, 10 in real-time screen encoding
  mode
* Optimizations to improve multi-thread efficiency in real-time encoding
  mode
* 10-15% speed up for SVC with temporal layers
* SIMD optimizations:
  o Improve av1_quantize_fp_32x32_neon() 1.05x to 1.24x faster
  o Add aom_highbd_quantize_b{,_32x32,_64x64}_adaptive_neon() 3.15x to 5.6x
faster than "C"
  o Improve av1_quantize_fp_64x64_neon() 1.17x to 1.66x faster
  o Add aom_quantize_b_avx2() 1.4x to 1.7x faster than aom_quantize_b_avx()
  o Add aom_quantize_b_32x32_avx2() 1.4x to 2.3x faster than
aom_quantize_b_32x32_avx()
  o Add aom_quantize_b_64x64_avx2() 2.0x to 2.4x faster than
aom_quantize_b_64x64_ssse3()
  o Add aom_highbd_quantize_b_32x32_avx2() 9.0x to 10.5x faster than
aom_highbd_quantize_b_32x32_c()
  o Add aom_highbd_quantize_b_64x64_avx2() 7.3x to 9.7x faster than
aom_highbd_quantize_b_64x64_c()
  o Improve aom_highbd_quantize_b_avx2() 1.07x to 1.20x faster
  o Improve av1_quantize_fp_avx2() 1.13x to 1.49x faster
  o Improve av1_quantize_fp_32x32_avx2() 1.07x to 1.54x faster
  o Improve av1_quantize_fp_64x64_avx2()  1.03x to 1.25x faster
  o Improve av1_quantize_lp_avx2() 1.07x to 1.16x faster
  - Bug fixes including but not limited to
* aomedia:3206 Assert that skip_width > 0 for deconvolve function
* aomedia:3278 row_mt enc: Delay top-right sync when intraBC is enabled
* aomedia:3282 blend_a64_*_neon: fix bus error in armv7
* aomedia:3283 FRAME_PARALLEL: Propagate border size to all cpis
* aomedia:3283 RESIZE_MODE: Fix incorrect strides being used for motion
  search
* aomedia:3286 rtc-svc: Fix to dynamic_enable spatial layers
* aomedia:3289 rtc-screen: Fix to skipping inter-mode test in nonrd
* aomedia:3289 rtc-screen: Fix for skip newmv on flat blocks
* aomedia:3299 Fix build failure with CONFIG_TUNE_VMAF=1
* aomedia:3296 Fix the conflict --enable-tx-size-search=0 with nonrd mode
  --enable-tx-size-search will be ignored in non-rd pick mode
* aomedia:3304 Fix off-by-one error of max w/h in validate_config
* aomedia:3306 Do not use pthread_setname_np on GNU/Hurd
* aomedia:3325 row-multithreading produces invalid bitstream in some cases
* chromium:1346938, chromium:1338114
* compiler_flags.cmake: fix flag detection w/cmake 3.17-3.18.2
* tools/*.py: update to python3
* aom_configure.cmake: detect PIE and set CONFIG_PIC
* test/simd_cmp_impl: use explicit types w/CompareSimd*
* rtc: Fix to disable segm for aq-mode=3
* rtc: Fix to color_sensitivity in variance partition
* rtc-screen: Fix bsize in model rd computation for intra chroma
* Fixes to ensure the correct behavior of the encoder algorithms (like
  segmentation, computation of statistics, etc.)


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/aom/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile7 Aug 2022 10:44:13 -   1.17
+++ Makefile24 Sep 2022 04:23:09 -
@@ -2,7 +2,7 @@ COMMENT=Alliance for Open Media AV1 vid
 
 GH_ACCOUNT=jbeich
 GH_PROJECT=aom
-GH_TAGNAME=v3.4.0
+GH_TAGNAME=v3.5.0
 CATEGORIES=multimedia
 
 SHARED_LIBS=   aom 4.0
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/aom/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo7 Aug 2022 10:44:13 -   1.14
+++ distinfo24 Sep 2022 04:23:17 -
@@ -1,2 +1,2 @@
-SHA256 (aom-3.4.0.tar.gz) = gx/40f43m+sgdHIt1r7yU6JESWXCeEomf/q5GDFj5wA=
-SIZE (aom-3.4.0.tar.gz) = 5175309
+SHA256 (aom-3.5.0.tar.gz) = AYnqL1rmuIPIOyRTBd54T2XARhvNcAzJi73FirlXxuc=
+SIZE (aom-3.5.0.tar.gz) = 

Re: UPDATE: OpenAL 1.22.2

2022-10-04 Thread Brad Smith
On Tue, Oct 04, 2022 at 12:45:50PM +0100, Stuart Henderson wrote:
> On 2022/09/09 22:06, Brad Smith wrote:
> > Here is an update to OpenAL 1.22.2.
> 
> I guess this is a maintainer timeout by now?
> 
> It probably makes sense to disable picking up pipewire too
> (ALSOFT_BACKEND_PIPEWIRE)

No response so far.

 
Index: Makefile
===
RCS file: /home/cvs/ports/audio/openal/Makefile,v
retrieving revision 1.60
diff -u -p -u -p -r1.60 Makefile
--- Makefile11 Mar 2022 18:20:22 -  1.60
+++ Makefile4 Oct 2022 14:39:33 -
@@ -1,13 +1,12 @@
 COMMENT =  cross-platform 3D audio API
 
-V =1.21.1
-EPOCH =0
+V =1.22.2
 DISTNAME = openal-soft-$V
 PKGNAME =  openal-$V
-REVISION = 3
+EPOCH =0
 CATEGORIES =   audio
 
-SHARED_LIBS =  openal  4.1
+SHARED_LIBS =  openal  4.2
 
 HOMEPAGE = https://openal-soft.org/
 
@@ -29,6 +28,8 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB
-DALSOFT_UTILS=On \
-DALSOFT_EXAMPLES=Off \
-DALSOFT_REQUIRE_SNDIO=On \
+   -DALSOFT_RTKIT=Off \
+   -DALSOFT_BACKEND_PIPEWIRE=Off \
-DALSOFT_BACKEND_WAVE=Off \
-DALSOFT_CPUEXT_SSE=Off \
-DALSOFT_CPUEXT_SSE2=Off \
Index: distinfo
===
RCS file: /home/cvs/ports/audio/openal/distinfo,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 distinfo
--- distinfo25 Jul 2021 17:33:48 -  1.13
+++ distinfo9 Sep 2022 23:10:40 -
@@ -1,2 +1,2 @@
-SHA256 (openal-soft-1.21.1.tar.bz2) = 
yK12fpoyMN9mdWohzI6/IYqdRyiPJRQBSDIgTmZq9dg=
-SIZE (openal-soft-1.21.1.tar.bz2) = 524787
+SHA256 (openal-soft-1.22.2.tar.bz2) = 
rpTMlc2na3zG6S44wlMa+CFI5209iM6Zbikooep8PSA=
+SIZE (openal-soft-1.22.2.tar.bz2) = 606151
Index: patches/patch-CMakeLists_txt
===
RCS file: /home/cvs/ports/audio/openal/patches/patch-CMakeLists_txt,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt11 Mar 2022 18:20:22 -  1.11
+++ patches/patch-CMakeLists_txt9 Sep 2022 23:11:22 -
@@ -1,7 +1,7 @@
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -1398,7 +1398,7 @@ endif()
+@@ -1508,7 +1508,7 @@ endif()
  
  if(ALSOFT_INSTALL_CONFIG)
  install(FILES alsoftrc.sample
Index: patches/patch-alc_alconfig_cpp
===
RCS file: /home/cvs/ports/audio/openal/patches/patch-alc_alconfig_cpp,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-alc_alconfig_cpp
--- patches/patch-alc_alconfig_cpp  11 Mar 2022 18:20:22 -  1.3
+++ patches/patch-alc_alconfig_cpp  9 Sep 2022 23:11:20 -
@@ -1,7 +1,7 @@
 Index: alc/alconfig.cpp
 --- alc/alconfig.cpp.orig
 +++ alc/alconfig.cpp
-@@ -318,7 +318,7 @@ void ReadALConfig()
+@@ -364,7 +364,7 @@ void ReadALConfig()
  
  void ReadALConfig()
  {
Index: patches/patch-alc_backends_sndio_cpp
===
RCS file: patches/patch-alc_backends_sndio_cpp
diff -N patches/patch-alc_backends_sndio_cpp
--- patches/patch-alc_backends_sndio_cpp11 Mar 2022 18:20:22 -  
1.6
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,461 +0,0 @@
-Simplify channel handling in the sndio backend
-620836f173ae6fc4505d0634984e0f2c46166367
-
-Use non-block mode for sndio capture
-1fd4c865fc084f134363db5155361d5483679235
-
-Fix crashes in SndioCapture::recordProc
-a4b0a3d7b3ec271243cfda4780e567e49f2b37b7
-
-Use a local unique_ptr array instead of a struct member
-for the sndio poll fds.
-2df78e49b1359e7603e3816270737c68cccd5b05
-
-Index: alc/backends/sndio.cpp
 alc/backends/sndio.cpp.orig
-+++ alc/backends/sndio.cpp
-@@ -22,6 +22,7 @@
- 
- #include "backends/sndio.h"
- 
-+#include 
- #include 
- #include 
- #include 
-@@ -43,7 +44,12 @@ namespace {
- 
- static const char sndio_device[] = "SndIO Default";
- 
-+struct SioPar : public sio_par {
-+SioPar() { sio_initpar(this); }
- 
-+void clear() { sio_initpar(this); }
-+};
-+
- struct SndioPlayback final : public BackendBase {
- SndioPlayback(ALCdevice *device) noexcept : BackendBase{device} { }
- ~SndioPlayback() override;
-@@ -56,6 +62,7 @@ struct SndioPlayback final : public BackendBase {
- void stop() override;
- 
- sio_hdl *mSndHandle{nullptr};
-+uint mFrameStep{};
- 
- al::vector mBuffer;
- 
-@@ -74,39 +81,29 @@ SndioPlayback::~SndioPlayback()
- 
- int SndioPlayback::mixerProc()
- {
--sio_par par;
--sio_initpar();
--if(!sio_getpar(mSndHandle, ))
--{
--mDevice->handleDisconnect("Failed to get device parameters");
--return 1;
--}
-+const size_t frameStep{mFrameStep};
-+   

Re: UPDATE: ircd-hybrid 8.2.42

2022-10-04 Thread Brad Smith
On Tue, Oct 04, 2022 at 12:33:41PM +0100, Stuart Henderson wrote:
> On 2022/09/16 17:08, Brad Smith wrote:
> > Here is an update to ircd-hybrid 8.2.42.
> 
> Distfile was re-rolled. There is 8.2.43 now.

Here is an update to 8.2.43.

Ya, I was wondering how they managed to roll .42 with the improper root 
directory
name.


Index: Makefile
===
RCS file: /home/cvs/ports/net/ircd-hybrid/Makefile,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 Makefile
--- Makefile23 Jul 2022 05:15:24 -  1.62
+++ Makefile4 Oct 2022 14:15:14 -
@@ -1,6 +1,6 @@
 COMMENT =  Internet Relay Chat server
 
-DISTNAME = ircd-hybrid-8.2.41
+DISTNAME = ircd-hybrid-8.2.43
 CATEGORIES =   net
 MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ircd-hybrid/}
 EXTRACT_SUFX = .tgz
Index: distinfo
===
RCS file: /home/cvs/ports/net/ircd-hybrid/distinfo,v
retrieving revision 1.38
diff -u -p -u -p -r1.38 distinfo
--- distinfo23 Jul 2022 05:15:24 -  1.38
+++ distinfo4 Oct 2022 14:13:44 -
@@ -1,2 +1,2 @@
-SHA256 (ircd-hybrid-8.2.41.tgz) = zg6mllRgEEe9hkI93AAjwHlVcCSZkAEeqmxB1jcrBFQ=
-SIZE (ircd-hybrid-8.2.41.tgz) = 1061502
+SHA256 (ircd-hybrid-8.2.43.tgz) = vQNzx4DjCMGm9piQFf8o4cIpme92S3toY2tihXPCUe8=
+SIZE (ircd-hybrid-8.2.43.tgz) = 1053894
Index: patches/patch-doc_Makefile_in
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-doc_Makefile_in,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 patch-doc_Makefile_in
--- patches/patch-doc_Makefile_in   23 Jul 2022 05:15:24 -  1.14
+++ patches/patch-doc_Makefile_in   16 Sep 2022 21:00:56 -
@@ -1,7 +1,7 @@
 Index: doc/Makefile.in
 --- doc/Makefile.in.orig
 +++ doc/Makefile.in
-@@ -401,25 +401,25 @@ uninstall-man8:
+@@ -402,25 +402,25 @@ uninstall-man8:
dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
  install-dist_sysconfDATA: $(dist_sysconf_DATA)
@$(NORMAL_INSTALL)
@@ -34,7 +34,7 @@ Index: doc/Makefile.in
  tags TAGS:
  
  ctags CTAGS:
-@@ -463,7 +463,7 @@ check-am: all-am
+@@ -464,7 +464,7 @@ check-am: all-am
  check: check-am
  all-am: Makefile $(MANS) $(DATA)
  installdirs:
Index: patches/patch-include_defaults_h
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-include_defaults_h,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 patch-include_defaults_h
--- patches/patch-include_defaults_h11 Mar 2022 19:46:09 -  1.10
+++ patches/patch-include_defaults_h16 Sep 2022 21:00:54 -
@@ -1,7 +1,7 @@
 Index: include/defaults.h
 --- include/defaults.h.orig
 +++ include/defaults.h
-@@ -48,16 +48,21 @@
+@@ -47,16 +47,21 @@
   * AUTOMODPATH = directory for autoloaded modules
   */
  
Index: patches/patch-include_stdinc_h
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-include_stdinc_h,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 patch-include_stdinc_h
--- patches/patch-include_stdinc_h  11 Mar 2022 19:46:09 -  1.9
+++ patches/patch-include_stdinc_h  16 Sep 2022 21:00:54 -
@@ -1,7 +1,7 @@
 Index: include/stdinc.h
 --- include/stdinc.h.orig
 +++ include/stdinc.h
-@@ -49,6 +49,8 @@
+@@ -48,6 +48,8 @@
  #include 
  #include 
  #include 
Index: patches/patch-src_ircd_c
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-src_ircd_c,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 patch-src_ircd_c
--- patches/patch-src_ircd_c11 Mar 2022 19:46:09 -  1.20
+++ patches/patch-src_ircd_c16 Sep 2022 21:00:54 -
@@ -1,7 +1,7 @@
 Index: src/ircd.c
 --- src/ircd.c.orig
 +++ src/ircd.c
-@@ -330,7 +330,6 @@ make_daemon(void)
+@@ -328,7 +328,6 @@ make_daemon(void)
}
else if (pid > 0)
{
@@ -9,7 +9,7 @@ Index: src/ircd.c
  exit(EXIT_SUCCESS);
}
  
-@@ -343,8 +342,19 @@ main(int argc, char *argv[])
+@@ -341,8 +340,19 @@ main(int argc, char *argv[])
/* Check to see if the user is running us as root, which is a nono */
if (geteuid() == 0)
{



UPDATE: libdvdread 6.1.3

2022-09-18 Thread Brad Smith
Here is an update to libdvdread 6.1.3.


libdvdread (6.1.3)
 * Improvements for OpenBSD
 * Fix crashes on some DVD (0 PCGI SRP)
 * Misc source fixes and cleanups, including fixes for recent toolchains


Index: Makefile
===
RCS file: /home/cvs/ports/devel/libdvdread/Makefile,v
retrieving revision 1.36
diff -u -p -u -p -r1.36 Makefile
--- Makefile11 Mar 2022 18:50:30 -  1.36
+++ Makefile18 Sep 2022 06:02:42 -
@@ -1,8 +1,7 @@
 COMMENT =  accessing DVD files
 
-VER =  6.1.2
+VER =  6.1.3
 DISTNAME = libdvdread-${VER}
-REVISION = 0
 CATEGORIES =   devel
 MASTER_SITES = https://download.videolan.org/pub/videolan/libdvdread/${VER}/
 EXTRACT_SUFX = .tar.bz2
Index: distinfo
===
RCS file: /home/cvs/ports/devel/libdvdread/distinfo,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 distinfo
--- distinfo11 Oct 2021 06:11:29 -  1.15
+++ distinfo18 Sep 2022 05:53:34 -
@@ -1,2 +1,2 @@
-SHA256 (libdvdread-6.1.2.tar.bz2) = 
zBkPVTdYztdXGFnjAfgCy0gh8WTQK/rP0yDBSk4Np2M=
-SIZE (libdvdread-6.1.2.tar.bz2) = 391536
+SHA256 (libdvdread-6.1.3.tar.bz2) = 
zjVFSZeiCMvlDpEjLw5z+xrDRxllgToTuHMKjxihU2k=
+SIZE (libdvdread-6.1.3.tar.bz2) = 395439
Index: patches/patch-src_bitreader_c
===
RCS file: patches/patch-src_bitreader_c
diff -N patches/patch-src_bitreader_c
--- patches/patch-src_bitreader_c   11 Mar 2022 18:50:30 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,62 +0,0 @@
-avoid reading the next byte ahead
-f6774c386f404b49a13d9027567d57e104c5a415
-
-Index: src/bitreader.c
 src/bitreader.c.orig
-+++ src/bitreader.c
-@@ -26,12 +26,11 @@
- 
- #include "dvdread/bitreader.h"
- 
--int dvdread_getbits_init(getbits_state_t *state, uint8_t *start) {
-+int dvdread_getbits_init(getbits_state_t *state, const uint8_t *start) {
-   if ((state == NULL) || (start == NULL)) return 0;
-   state->start = start;
-   state->bit_position = 0;
-   state->byte_position = 0;
--  state->byte = start[0];
-   return 1;
- }
- 
-@@ -47,37 +46,32 @@ uint32_t dvdread_getbits(getbits_state_t *state, uint3
- 
-   if ((state->bit_position) > 0) {  /* Last getbits left us in the middle of 
a byte. */
- if (number_of_bits > (8-state->bit_position)) { /* this getbits will span 
2 or more bytes. */
--  byte = state->byte;
-+  byte = state->start[state->byte_position] << state->bit_position;
-   byte = byte >> (state->bit_position);
-   result = byte;
-   number_of_bits -= (8-state->bit_position);
-   state->bit_position = 0;
-   state->byte_position++;
--  state->byte = state->start[state->byte_position];
- } else {
--  byte=state->byte;
--  state->byte = state->byte << number_of_bits;
-+  byte = state->start[state->byte_position] << state->bit_position;
-   byte = byte >> (8 - number_of_bits);
-   result = byte;
-   state->bit_position += number_of_bits; /* Here it is impossible for 
bit_position > 8 */
-   if (state->bit_position == 8) {
- state->bit_position = 0;
- state->byte_position++;
--state->byte = state->start[state->byte_position];
-   }
-   number_of_bits = 0;
- }
-   }
-   if ((state->bit_position) == 0) {
- while (number_of_bits > 7) {
--  result = (result << 8) + state->byte;
-+  result = (result << 8) + state->start[state->byte_position];
-   state->byte_position++;
--  state->byte = state->start[state->byte_position];
-   number_of_bits -= 8;
- }
- if (number_of_bits > 0) { /* number_of_bits < 8 */
--  byte = state->byte;
--  state->byte = state->byte << number_of_bits;
-+  byte = state->start[state->byte_position] << state->bit_position;
-   state->bit_position += number_of_bits; /* Here it is impossible for 
bit_position > 7 */
-   byte = byte >> (8 - number_of_bits);
-   result = (result << number_of_bits) + byte;
Index: patches/patch-src_dvd_input_c
===
RCS file: patches/patch-src_dvd_input_c
diff -N patches/patch-src_dvd_input_c
--- patches/patch-src_dvd_input_c   11 Mar 2022 18:50:30 -  1.8
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-Use correct name of the libdvdcss shared library on OpenBSD.
-1c031048907b72c4757926a06f2bc5fac42fba15
-
-Index: src/dvd_input.c
 src/dvd_input.c.orig
-+++ src/dvd_input.c
-@@ -346,6 +346,8 @@ int dvdinput_setup(void *priv, dvd_logger_cb *logcb)
-   #define CSS_LIB "libdvdcss-2.dll"
- #elif defined(__OS2__)
-   #define CSS_LIB "dvdcss2.dll"
-+#elif defined(__OpenBSD__)
-+  #define CSS_LIB "libdvdcss.so"
- #else
-   #define CSS_LIB "libdvdcss.so.2"
- #endif
Index: patches/patch-src_dvd_reader_c
===
RCS file: 

UPDATE: lighttpd 1.4.67

2022-09-17 Thread Brad Smith
Here is an update to lighttpd 1.4.67.


Changes from 1.4.66

- Update comment about TCP_INFO on OpenBSD
- [mod_ajp13] fix crash with bad response headers (fixes #3170)
- [core] handle RDHUP when collecting chunked body
- [core] tweak streaming request body to backends
- [core] handle ENOSPC with pwritev() (#3171)
- [core] manually calculate off_t max (fixes #3171)
- [autoconf] force large file support (#3171)
- [multiple] quiet coverity warnings using casts
- [meson] add license keyword to project declaration


Index: Makefile
===
RCS file: /home/cvs/ports/www/lighttpd/Makefile,v
retrieving revision 1.170
diff -u -p -u -p -r1.170 Makefile
--- Makefile8 Aug 2022 05:24:16 -   1.170
+++ Makefile18 Sep 2022 05:05:01 -
@@ -1,6 +1,6 @@
 COMMENT=   secure, fast, compliant, and very flexible web-server
 
-DISTNAME=  lighttpd-1.4.66
+DISTNAME=  lighttpd-1.4.67
 CATEGORIES=www net
 MASTER_SITES=  https://download.lighttpd.net/lighttpd/releases-1.4.x/
 EXTRACT_SUFX=  .tar.xz
Index: distinfo
===
RCS file: /home/cvs/ports/www/lighttpd/distinfo,v
retrieving revision 1.69
diff -u -p -u -p -r1.69 distinfo
--- distinfo8 Aug 2022 05:24:16 -   1.69
+++ distinfo18 Sep 2022 05:05:07 -
@@ -1,2 +1,2 @@
-SHA256 (lighttpd-1.4.66.tar.xz) = R6xuYCcaoBluZUctAtAZVW3HxtCd87Zd8sGraGY0jjs=
-SIZE (lighttpd-1.4.66.tar.xz) = 1039520
+SHA256 (lighttpd-1.4.67.tar.xz) = fgTXZ/UajYJLMuJIPvKVCYKSDUJ9EnLvRmf0nW+J81g=
+SIZE (lighttpd-1.4.67.tar.xz) = 1039872



UPDATE: Pure-FTPd 1.0.51

2022-09-16 Thread Brad Smith
Here is an update to Pure-FTPd 1.0.51.


* Version 1.0.51:
 - Compatibility with OpenSSL 1.1.0 was improved.
 - PostgreSQL: the port number is not escaped any more in connection
strings.
 - TLS tickets are issued but not renewed - This fixes compatibility
issues with some clients.
 - PureDB: additional checks for corrupted databases have been added,
and synchronization to disk uses F_FULLFSYNC on macOS X.

* Version 1.0.50:
 - Support for MD5, SHA1 and MySQL PASSWORD() function were removed for
password hashing. You should now use scrypt, argon2 or the system crypt(3)
function.
 - Soft fail if a USER command is received without TLS and the server is
configured to enforce TLS. Previously, the session was immediately closed,
but that was too brutal for some clients.
 - Allow connections from the class E network range -- apparently
required in some cases when using Linux containers.
 - Large file listings used to require way more stack allocations than
necessary, possibly reaching hard-coded limits and causing a forced
session close. This has been fixed.
 - The SPSV command has been removed.
 - Under some circumstances, the server would not start when configured
with directory aliases. This has been fixed.
 - PostgreSQL: hard-coded global configuration strings were not escaped.
This has been fixed.
 - A warning is now printed when a transfer happens in ASCII mode, as
this is rarely intentional.
 - Compilation with --without-ascii is now possible again.
 - Configuration options for features that have been disabled at
compile-time are not parsed any more.
 - When virtual quotas were configured, files were removed after an
upload if the size quota was exceeded, but not during the upload. This
has been fixed.
 - A configuration file can now include other files with the `Include`
directive.


Index: Makefile
===
RCS file: /home/cvs/ports/net/pure-ftpd/Makefile,v
retrieving revision 1.84
diff -u -p -u -p -r1.84 Makefile
--- Makefile31 Mar 2022 16:19:21 -  1.84
+++ Makefile17 Sep 2022 04:19:41 -
@@ -1,7 +1,6 @@
 COMMENT=   small, easy to set up, fast and very secure FTP server
 
-DISTNAME=  pure-ftpd-1.0.49
-REVISION=  2
+DISTNAME=  pure-ftpd-1.0.51
 CATEGORIES=net
 MASTER_SITES=  https://download.pureftpd.org/pub/pure-ftpd/releases/ \
ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \
Index: distinfo
===
RCS file: /home/cvs/ports/net/pure-ftpd/distinfo,v
retrieving revision 1.41
diff -u -p -u -p -r1.41 distinfo
--- distinfo8 Jan 2020 00:36:39 -   1.41
+++ distinfo17 Sep 2022 04:19:46 -
@@ -1,2 +1,2 @@
-SHA256 (pure-ftpd-1.0.49.tar.bz2) = 
inJ9/vgQ8nX7o+tgmXYNT4oL3q4sEZfQ1b/rjBsvYbY=
-SIZE (pure-ftpd-1.0.49.tar.bz2) = 487958
+SHA256 (pure-ftpd-1.0.51.tar.bz2) = 
YiNguGxgtWOr4OmU8Khs/lzP3ll7KaFLCnm25aoFowQ=
+SIZE (pure-ftpd-1.0.51.tar.bz2) = 520648
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/net/pure-ftpd/pkg/PLIST,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 PLIST
--- pkg/PLIST   11 Mar 2022 19:46:58 -  1.16
+++ pkg/PLIST   17 Sep 2022 04:24:34 -
@@ -1,5 +1,6 @@
 @newgroup _pure-ftpd:642
 @newuser _pure-ftpd:642:_pure-ftpd:daemon:pure-ftpd 
user:/nonexistent:/sbin/nologin
+@rcscript ${RCDIR}/pure_ftpd
 @bin bin/pure-pw
 @bin bin/pure-pwconvert
 @bin bin/pure-statsdecode
@@ -38,4 +39,3 @@ share/examples/pure-ftpd/pure-ftpd.conf.
 %%ldap%%
 %%mysql%%
 %%postgresql%%
-@rcscript ${RCDIR}/pure_ftpd



UPDATE: ircd-hybrid 8.2.42

2022-09-16 Thread Brad Smith
Here is an update to ircd-hybrid 8.2.42.


 Noteworthy changes in version 8.2.42 (2022-08-28)
* Extban `$Q` of type acting has been implemented. This extban prevents
  matching users from using the `KICK` command.
* Implemented channel mode `Q`. `KICK` cannot be used on channels with that 
mode set.
* Implemented user mode `Z`. Users with that mode set may only receive private
  messages from other users that are connected via TLS.
* Fixed issue where `WHO nick` on invisible clients (user mode `i`) wouldn't 
work


Index: Makefile
===
RCS file: /home/cvs/ports/net/ircd-hybrid/Makefile,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 Makefile
--- Makefile23 Jul 2022 05:15:24 -  1.62
+++ Makefile16 Sep 2022 21:00:46 -
@@ -1,9 +1,11 @@
 COMMENT =  Internet Relay Chat server
 
-DISTNAME = ircd-hybrid-8.2.41
+DISTNAME = ircd-hybrid-8.2.42
 CATEGORIES =   net
 MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ircd-hybrid/}
 EXTRACT_SUFX = .tgz
+
+WRKDIST=   ${WRKDIR}/ircd-hybrid
 
 HOMEPAGE = http://ircd-hybrid.com/
 
Index: distinfo
===
RCS file: /home/cvs/ports/net/ircd-hybrid/distinfo,v
retrieving revision 1.38
diff -u -p -u -p -r1.38 distinfo
--- distinfo23 Jul 2022 05:15:24 -  1.38
+++ distinfo16 Sep 2022 20:59:30 -
@@ -1,2 +1,2 @@
-SHA256 (ircd-hybrid-8.2.41.tgz) = zg6mllRgEEe9hkI93AAjwHlVcCSZkAEeqmxB1jcrBFQ=
-SIZE (ircd-hybrid-8.2.41.tgz) = 1061502
+SHA256 (ircd-hybrid-8.2.42.tgz) = aS0he/x+o3xOQ5H7hrCpJ4C8MusUT2liM0lyF1W4H2o=
+SIZE (ircd-hybrid-8.2.42.tgz) = 2230731
Index: patches/patch-doc_Makefile_in
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-doc_Makefile_in,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 patch-doc_Makefile_in
--- patches/patch-doc_Makefile_in   23 Jul 2022 05:15:24 -  1.14
+++ patches/patch-doc_Makefile_in   16 Sep 2022 21:00:56 -
@@ -1,7 +1,7 @@
 Index: doc/Makefile.in
 --- doc/Makefile.in.orig
 +++ doc/Makefile.in
-@@ -401,25 +401,25 @@ uninstall-man8:
+@@ -402,25 +402,25 @@ uninstall-man8:
dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
  install-dist_sysconfDATA: $(dist_sysconf_DATA)
@$(NORMAL_INSTALL)
@@ -34,7 +34,7 @@ Index: doc/Makefile.in
  tags TAGS:
  
  ctags CTAGS:
-@@ -463,7 +463,7 @@ check-am: all-am
+@@ -464,7 +464,7 @@ check-am: all-am
  check: check-am
  all-am: Makefile $(MANS) $(DATA)
  installdirs:
Index: patches/patch-doc_reference_conf
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-doc_reference_conf,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 patch-doc_reference_conf
--- patches/patch-doc_reference_conf23 Jul 2022 05:15:24 -  1.23
+++ patches/patch-doc_reference_conf16 Sep 2022 21:00:54 -
@@ -34,7 +34,7 @@ Index: doc/reference.conf
  };
  
  /*
-@@ -1007,7 +1007,7 @@ serverhide {
+@@ -1008,7 +1008,7 @@ serverhide {
/*
 * flatten_links_file: path to the flatten links cache file.
 */
@@ -43,7 +43,7 @@ Index: doc/reference.conf
  
/*
 * hidden: hide this server from a /links output on servers that
-@@ -1315,9 +1315,9 @@ modules {
+@@ -1317,9 +1317,9 @@ modules {
 * path: other paths to search for modules specified below
 * and in "/module load".
 */
@@ -56,7 +56,7 @@ Index: doc/reference.conf
  
/* module: the name of a module to load on startup/rehash. */
  # module = "some_module.la";
-@@ -1332,49 +1332,49 @@ log {
+@@ -1334,49 +1334,49 @@ log {
  
file {
type = oper;
Index: patches/patch-include_defaults_h
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-include_defaults_h,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 patch-include_defaults_h
--- patches/patch-include_defaults_h11 Mar 2022 19:46:09 -  1.10
+++ patches/patch-include_defaults_h16 Sep 2022 21:00:54 -
@@ -1,7 +1,7 @@
 Index: include/defaults.h
 --- include/defaults.h.orig
 +++ include/defaults.h
-@@ -48,16 +48,21 @@
+@@ -47,16 +47,21 @@
   * AUTOMODPATH = directory for autoloaded modules
   */
  
Index: patches/patch-include_stdinc_h
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-include_stdinc_h,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 patch-include_stdinc_h
--- patches/patch-include_stdinc_h  11 Mar 2022 19:46:09 -  1.9
+++ patches/patch-include_stdinc_h  16 Sep 2022 21:00:54 -
@@ -1,7 +1,7 @@
 Index: include/stdinc.h
 --- include/stdinc.h.orig
 +++ include/stdinc.h
-@@ -49,6 +49,8 @@
+@@ -48,6 +48,8 @@
  #include 
  #include 
  #include 
Index: patches/patch-src_ircd_c

Re: mirror removal: games/teeworlds and security/shhlockout without MASTER_SITES

2022-09-12 Thread Brad Smith

On 9/12/2022 12:07 PM, Stuart Henderson wrote:

There's a chicken-and-egg problem if those files ever got lost from 
ftp.o.o though.


--
  Sent from a phone, apologies for poor formatting.


On 12 September 2022 16:47:13 Brad Smith  wrote:


On 9/12/2022 11:02 AM, Solène Rapenne wrote:


Le Mon, 12 Sep 2022 15:24:43 +0100,
Stuart Henderson  a Ă©crit :


On 2022/09/12 13:53, Solène Rapenne wrote:

Hello,

I was running distfiles-openbsd.perso.pw, but after a server migration
it's gone. My new server can't handle the new files because it's super
tight on disk space.

These two ports don't have a working MASTER_SITES anymore:

games/teeworlds
security/sshlockout

Someone should host the sources, or we should delete the ports.

You can always add the distfiles to a repo on github and point at 
the raw

url. See e.g. mail/greyscanner


I've lost the tarballs when I migrated the server...



There are copies of the distfiles mirrored at..

http://ftp.openbsd.org/pub/OpenBSD/distfiles/


I wasn't implying that ftp.o.o should be the primary. Just that the 
distfiles were lost

and here are copies. Another primary should be setup.


UPDATE: FFmpeg 4.4.1

2021-10-24 Thread Brad Smith
Here is an update to FFmpeg 4.4.1.


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/ffmpeg/Makefile,v
retrieving revision 1.214
diff -u -p -u -p -r1.214 Makefile
--- Makefile10 Sep 2021 21:47:55 -  1.214
+++ Makefile25 Oct 2021 01:17:10 -
@@ -2,9 +2,8 @@
 
 COMMENT=   audio/video converter and streamer
 
-V= 4.4
+V= 4.4.1
 DISTNAME=  ffmpeg-${V}
-REVISION=  4
 EPOCH= 1
 CATEGORIES=graphics multimedia
 MASTER_SITES=  https://ffmpeg.org/releases/
Index: distinfo
===
RCS file: /home/cvs/ports/graphics/ffmpeg/distinfo,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 distinfo
--- distinfo29 Apr 2021 03:57:54 -  1.62
+++ distinfo25 Oct 2021 01:17:44 -
@@ -1,2 +1,2 @@
-SHA256 (ffmpeg-4.4.tar.xz) = BrEKGDzlNx+RXGuxW3sf/74EboJ1CZyWr/wp4XZF2Qk=
-SIZE (ffmpeg-4.4.tar.xz) = 9557868
+SHA256 (ffmpeg-4.4.1.tar.xz) = 6tutnpqzCyX1Ug+/3pn65KkqGuPAJXqNaFaaRlHjDgI=
+SIZE (ffmpeg-4.4.1.tar.xz) = 9557516
Index: patches/patch-configure
===
RCS file: /home/cvs/ports/graphics/ffmpeg/patches/patch-configure,v
retrieving revision 1.68
diff -u -p -u -p -r1.68 patch-configure
--- patches/patch-configure 10 Aug 2021 21:32:07 -  1.68
+++ patches/patch-configure 25 Sep 2021 08:39:49 -
@@ -20,7 +20,7 @@ Index: configure
  fast_clz_if_any="aarch64 alpha avr32 mips ppc x86"
  fast_unaligned_if_any="aarch64 ppc x86"
  simd_align_16_if_any="altivec neon sse"
-@@ -4914,6 +4915,9 @@ case "$arch" in
+@@ -4915,6 +4916,9 @@ case "$arch" in
  "Power Macintosh"|ppc*|powerpc*)
  arch="ppc"
  ;;
@@ -30,7 +30,7 @@ Index: configure
  s390|s390x)
  arch="s390"
  ;;
-@@ -5305,6 +5309,10 @@ case "$arch" in
+@@ -5306,6 +5310,10 @@ case "$arch" in
  check_64bit ppc ppc64
  enabled shared && enable_weak pic
  ;;
@@ -41,7 +41,7 @@ Index: configure
  s390)
  check_64bit s390 s390x
  enabled shared && enable_weak pic
-@@ -5377,7 +5385,6 @@ case $target_os in
+@@ -5378,7 +5386,6 @@ case $target_os in
  enable section_data_rel_ro
  striptype=""
  SHFLAGS='-shared'
@@ -49,7 +49,7 @@ Index: configure
  SLIB_INSTALL_LINKS=
  oss_indev_extralibs="-lossaudio"
  oss_outdev_extralibs="-lossaudio"
-@@ -5733,7 +5740,7 @@ set_default libdir
+@@ -5734,7 +5741,7 @@ set_default libdir
  set_default $PATHS_LIST
  set_default nm
  
@@ -58,7 +58,7 @@ Index: configure
  
  enable_weak_pic() {
  disabled pic && return
-@@ -6649,7 +6656,8 @@ enabled alsa && { check_pkg_config alsa alsa "alsa/aso
+@@ -6650,7 +6657,8 @@ enabled alsa && { check_pkg_config alsa alsa "alsa/aso
  enabled libjack &&
  require_pkg_config libjack jack jack/jack.h jack_port_get_latency_range
  
Index: patches/patch-libavutil_cpu_c
===
RCS file: patches/patch-libavutil_cpu_c
diff -N patches/patch-libavutil_cpu_c
--- patches/patch-libavutil_cpu_c   29 Apr 2021 03:57:55 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,18 +0,0 @@
-$OpenBSD: patch-libavutil_cpu_c,v 1.2 2021/04/29 03:57:55 rsadowski Exp $
-
-Index: libavutil/cpu.c
 libavutil/cpu.c.orig
-+++ libavutil/cpu.c
-@@ -291,6 +291,12 @@ int av_cpu_count(void)
- DWORD_PTR proc_aff, sys_aff;
- if (GetProcessAffinityMask(GetCurrentProcess(), _aff, _aff))
- nb_cpus = av_popcount64(proc_aff);
-+#elif HAVE_SYSCTL && defined(HW_NCPUONLINE)
-+int mib[2] = { CTL_HW, HW_NCPUONLINE };
-+size_t len = sizeof(nb_cpus);
-+
-+if (sysctl(mib, 2, _cpus, , NULL, 0) == -1)
-+nb_cpus = 0;
- #elif HAVE_SYSCTL && defined(HW_NCPU)
- int mib[2] = { CTL_HW, HW_NCPU };
- size_t len = sizeof(nb_cpus);



UPDATE: Pidgin 2.14.8

2021-10-24 Thread Brad Smith
Here is an update to Pidgin 2.14.8.


version 2.14.8 (10/14/2021):
libpurple:
* Fix a regression in purple_str_to_time. (PIDGIN-17552) (RR 931) (Gary
  Kramlich)
XMPP:
* Fix a double free in jabber/message.c. (PIDGIN-17547) (RR 932) (Gary
  Kramlich, pv32768)
Pidgin:
* Fix the link to the support mailing list archive in the About Dialog.
  (RR 929) (Gary Kramlich)


Index: Makefile
===
RCS file: /home/cvs/ports/net/pidgin/Makefile,v
retrieving revision 1.150
diff -u -p -u -p -r1.150 Makefile
--- Makefile13 Oct 2021 13:56:07 -  1.150
+++ Makefile24 Oct 2021 03:29:37 -
@@ -4,7 +4,7 @@ COMMENT-main=   multi-protocol instant mes
 COMMENT-finch= multi-protocol instant messaging client, console client
 COMMENT-libpurple= multi-protocol instant messaging library
 
-VERSION=   2.14.7
+VERSION=   2.14.8
 DISTNAME=  pidgin-${VERSION}
 PKGNAME-main=  pidgin-${VERSION}
 PKGNAME-finch= finch-${VERSION}
Index: distinfo
===
RCS file: /home/cvs/ports/net/pidgin/distinfo,v
retrieving revision 1.53
diff -u -p -u -p -r1.53 distinfo
--- distinfo13 Oct 2021 13:56:07 -  1.53
+++ distinfo24 Oct 2021 03:29:46 -
@@ -1,2 +1,2 @@
-SHA256 (pidgin-2.14.7.tar.bz2) = /qarTwVy/iRkYEnCs/7L3KJ6vKbQbpW9ZV5E25m9af4=
-SIZE (pidgin-2.14.7.tar.bz2) = 8713379
+SHA256 (pidgin-2.14.8.tar.bz2) = P4CFwCEcTKG6n4oDiJs9YHOEMsFnO1ewCGBw724JTMo=
+SIZE (pidgin-2.14.8.tar.bz2) = 8683281



Re: UPDATE: Aircrack-ng 1.6

2021-10-23 Thread Brad Smith
On Thu, Sep 02, 2021 at 06:28:52PM -0400, Brad Smith wrote:
> On Fri, Aug 27, 2021 at 01:10:52AM -0400, Brad Smith wrote:
> > On 8/20/2021 11:12 PM, Brad Smith wrote:
> > > Here is an update to Aircrack-ng 1.6.
> > > 
> > > Other than building the package that is all I have tested on amd64
> > > and i386.
> > > 
> > > Any users familiar with Aircrack-ng able to test this out?
> 
> Make use of GNU libtool. As Stuart pointed out the regress tests
> pass in full with this. Without, 21 out of 38 fail.

An updated diff.

Pull out the arm bits as it doesn't build anyway.

I was looking through aircrack-ng code and noticed a function
using hw.ncpu to retrieve the number of CPUs so I added
hw.ncpuonline support as well as hw.physmem64 support for
another function.


Index: Makefile
===
RCS file: /cvs/ports/security/aircrack-ng/Makefile,v
retrieving revision 1.33
diff -u -p -u -p -r1.33 Makefile
--- Makefile27 Dec 2020 18:13:18 -  1.33
+++ Makefile23 Oct 2021 07:03:13 -
@@ -1,8 +1,8 @@
 # $OpenBSD: Makefile,v 1.33 2020/12/27 18:13:18 sthen Exp $
 
 COMMENT=   802.11 WEP and WPA-PSK keys cracking program
-DISTNAME=  aircrack-ng-1.5.2
-REVISION=  6
+
+DISTNAME=  aircrack-ng-1.6
 CATEGORIES=security
 
 HOMEPAGE=  https://www.aircrack-ng.org/
@@ -10,8 +10,7 @@ HOMEPAGE= https://www.aircrack-ng.org/
 # GPLv2
 PERMIT_PACKAGE=Yes
 
-WANTLIB+=  c pthread crypto z pcre
-WANTLIB+=  ${COMPILER_LIBCXX} m sqlite3
+WANTLIB+=  ${COMPILER_LIBCXX} c crypto m pcre pthread sqlite3 ssl z
 
 MASTER_SITES=  https://download.aircrack-ng.org/
 
@@ -22,11 +21,8 @@ LIB_DEPENDS= databases/sqlite3 \
 
 RUN_DEPENDS+=  net/arp-scan,-mac>=20190128
 
+USE_LIBTOOL=   gnu
 USE_GMAKE= Yes
-.if ${MACHINE_ARCH} == "i386"
-# ld: error: undefined symbol: __i686.get_pc_thunk.bx
-USE_LLD=   No
-.endif
 LIBTOOL_FLAGS= --tag=disable-static
 AUTOCONF_VERSION=  2.69
 AUTOMAKE_VERSION=  1.16
@@ -44,20 +40,14 @@ PKG_ARGS+=  -Dx86=1
 .else
 PKG_ARGS+=  -Dx86=0
 .endif
-# XXX PFRAG.arm files relate to NEON optimizations, disabled above.
-#.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "aarch64"
-#PKG_ARGS+=  -Darm=1
-#.else
-PKG_ARGS+=  -Darm=0
-#.endif
+
 # XXX AltiVec optimizations can't be built with clang, and POWER8 ones
 # are useless on powerpc
 .if ${MACHINE_ARCH} == "powerpc"
 MAKE_ENV+=  ALTIVEC=false POWER8=false
 .endif
 
-
 pre-configure:
-   ${SUBST_CMD} ${WRKSRC}/src/airodump-ng.h
+   ${SUBST_CMD} ${WRKSRC}/src/airodump-ng/airodump-ng.c
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/security/aircrack-ng/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo23 Feb 2019 22:23:25 -  1.4
+++ distinfo23 Oct 2021 07:03:13 -
@@ -1,2 +1,2 @@
-SHA256 (aircrack-ng-1.5.2.tar.gz) = 
nlkv52WARiIOCsCm0FxAJpA/MHeySIk+AFbMvk7ogkE=
-SIZE (aircrack-ng-1.5.2.tar.gz) = 7138360
+SHA256 (aircrack-ng-1.6.tar.gz) = Twv9SG78bqcin3+8VDQP+LIJSg1z6fYX4KOfh4mZokc=
+SIZE (aircrack-ng-1.6.tar.gz) = 7933308
Index: patches/patch-build_m4_aircrack_ng_simd_m4
===
RCS file: patches/patch-build_m4_aircrack_ng_simd_m4
diff -N patches/patch-build_m4_aircrack_ng_simd_m4
--- patches/patch-build_m4_aircrack_ng_simd_m4  13 Jun 2020 17:38:49 -  
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,25 +0,0 @@
-$OpenBSD: patch-build_m4_aircrack_ng_simd_m4,v 1.1 2020/06/13 17:38:49 cwen 
Exp $
-
-Ensure that disabling AltiVec and POWER8 instructions with MAKE_ENV is honoured
-even if the build machine supports them, from:
-https://github.com/aircrack-ng/aircrack-ng/issues/1941
-
-Index: build/m4/aircrack_ng_simd.m4
 build/m4/aircrack_ng_simd.m4.orig
-+++ build/m4/aircrack_ng_simd.m4
-@@ -132,7 +132,6 @@ then
- AX_CHECK_COMPILE_FLAG([-maltivec], [
- AX_APPEND_FLAG(-maltivec, [ppc_altivec_[]_AC_LANG_ABBREV[]flags])
- AC_SUBST(ppc_altivec_[]_AC_LANG_ABBREV[]flags)
--ALTIVEC_FOUND=1
- ])
- 
- AX_CHECK_COMPILE_FLAG([-mabi=altivec], [
-@@ -148,7 +147,6 @@ then
- AX_CHECK_COMPILE_FLAG([-mpower8-vector], [
- AX_APPEND_FLAG(-mpower8-vector, 
[ppc_altivec_[]_AC_LANG_ABBREV[]flags])
- AC_SUBST(ppc_altivec_[]_AC_LANG_ABBREV[]flags)
--POWER8_FOUND=1
- ])
- fi
- 
Index: patches/patch-include_aircrack-ng_crypto_sha1-sse2_h
===
RCS file: patches/patch-include_aircrack-ng_crypto_sha1-sse2_h
diff -N patches/patch-include_aircrac

Re: riscv64 bulk build report

2021-10-23 Thread Brad Smith

On 10/16/2021 8:50 PM, Jeremie Courreges-Anglas wrote:


On Wed, Oct 13 2021, j...@wxcvbn.org wrote:

Bulk build on riscv64.ports.openbsd.org

Started : Mon Sep 27 06:14:45 MDT 2021
Finished: Tue Oct 12 22:40:26 MDT 2021
Duration: 15 Days 16 hours 26 minutes

Built using OpenBSD 7.0 (GENERIC.MP) #71: Mon Sep 27 01:58:04 MDT 2021

Built 8695 packages

Brad noticed the lack of devel/boost package.

It wasn't built because of numpy missing, and numpy itself is missing
because of the lack of fortran support.  Actually the lack of a lang/gcc
port for OpenBSD/riscv64.

While I've tried to get lang/gcc/{8,11} to build and compile useful
stuff after k2k21, I don't have a working recipe yet.  In the meantime
we could make numpy optional in devel/boost.  I can clean up a wip diff
for this, but first, what do you folks think?

Lets see what you have for a diff first.


(AFAIK boost_numpy the shared lib isn't used in the ports tree).


Ya, I did not find anything that used the library.



Re: is ports lldb working ?

2021-10-23 Thread Brad Smith

On 10/23/2021 1:25 AM, Sebastien Marie wrote:


Hi,

I am currently looking at learning lldb debugger a bit.

lldb from base is working fine, but it is a bit spartiate for
learning: no completion, no readline. it could be workaround with
rlwrap but proper completion will be still missing.

lldb from ports comes with glitters, but I failed to properly start
live debugging (tested on amd64).

$ /usr/bin/lldb /usr/bin/id
(lldb) target create "/usr/bin/id"
Current executable set to '/usr/bin/id' (x86_64).
(lldb) r
Process 41122 launched: '/usr/bin/id' (x86_64)
uid=1000(semarie) gid=1000(semarie) groups=1000(semarie), 9(wsrc)
Process 41122 exited with status = 0 (0x)


$ /usr/local/bin/lldb /usr/bin/id
(lldb) target create "/usr/bin/id"
Current executable set to '/usr/bin/id' (x86_64).
(lldb) r
error: failed to launch or debug process


I would like to know if someone have a working ports lldb or if it is just me ?

Thanks.



I have not lifted the lldb bits from base over to the port so I would 
not expect the ports

lldb to work just yet.



Re: boost: package -md on sparc64

2021-10-19 Thread Brad Smith

Boost::context does not have support for
Sparc, thus everything in the MD package is broken on Sparc  as far as I am 
aware of.


On October 19, 2021 7:00:48 a.m. Klemens Nanni  wrote:


I could use this soon on sparc64;  builds, packages and installs fine.

OK?

Index: Makefile
===
RCS file: /home/cvs/ports/devel/boost/Makefile,v
retrieving revision 1.117
diff -u -p -r1.117 Makefile
--- Makefile19 Sep 2021 05:23:29 -  1.117
+++ Makefile18 Oct 2021 13:05:17 -
@@ -1,6 +1,6 @@
# $OpenBSD: Makefile,v 1.117 2021/09/19 05:23:29 rsadowski Exp $

-ONLY_FOR_ARCHS-md = aarch64 amd64 arm i386 mips64 mips64el powerpc 
powerpc64 riscv64
+ONLY_FOR_ARCHS-md = aarch64 amd64 arm i386 mips64 mips64el powerpc 
powerpc64 riscv64 sparc64


COMMENT-main=   free peer-reviewed portable C++ source libraries
COMMENT-md= machine-dependent libraries for boost



Sent with Aqua Mail for Android
https://www.mobisystems.com/aqua-mail


Re: UPDATE: Aircrack-ng 1.6

2021-10-19 Thread Brad Smith

On 9/2/2021 6:28 PM, Brad Smith wrote:


On Fri, Aug 27, 2021 at 01:10:52AM -0400, Brad Smith wrote:

On 8/20/2021 11:12 PM, Brad Smith wrote:

Here is an update to Aircrack-ng 1.6.

Other than building the package that is all I have tested on amd64
and i386.

Any users familiar with Aircrack-ng able to test this out?

Make use of GNU libtool. As Stuart pointed out the regress tests
pass in full with this. Without, 21 out of 38 fail.

Any Aircrack users?


Index: Makefile
===
RCS file: /home/cvs/ports/security/aircrack-ng/Makefile,v
retrieving revision 1.33
diff -u -p -u -p -r1.33 Makefile
--- Makefile27 Dec 2020 18:13:18 -  1.33
+++ Makefile2 Sep 2021 22:16:49 -
@@ -1,8 +1,8 @@
  # $OpenBSD: Makefile,v 1.33 2020/12/27 18:13:18 sthen Exp $
  
  COMMENT=		802.11 WEP and WPA-PSK keys cracking program

-DISTNAME=  aircrack-ng-1.5.2
-REVISION=  6
+
+DISTNAME=  aircrack-ng-1.6
  CATEGORIES=   security
  
  HOMEPAGE=		https://www.aircrack-ng.org/

@@ -10,8 +10,7 @@ HOMEPAGE= https://www.aircrack-ng.org/
  # GPLv2
  PERMIT_PACKAGE=   Yes
  
-WANTLIB+=		c pthread crypto z pcre

-WANTLIB+=  ${COMPILER_LIBCXX} m sqlite3
+WANTLIB+=  ${COMPILER_LIBCXX} c crypto m pcre pthread sqlite3 ssl z
  
  MASTER_SITES=		https://download.aircrack-ng.org/
  
@@ -22,11 +21,8 @@ LIB_DEPENDS=		databases/sqlite3 \
  
  RUN_DEPENDS+=		net/arp-scan,-mac>=20190128
  
+USE_LIBTOOL=		gnu

  USE_GMAKE=Yes
-.if ${MACHINE_ARCH} == "i386"
-# ld: error: undefined symbol: __i686.get_pc_thunk.bx
-USE_LLD=   No
-.endif
  LIBTOOL_FLAGS=--tag=disable-static
  AUTOCONF_VERSION= 2.69
  AUTOMAKE_VERSION= 1.16
@@ -56,8 +52,7 @@ PKG_ARGS+=  -Darm=0
  MAKE_ENV+=  ALTIVEC=false POWER8=false
  .endif
  
-

  pre-configure:
-   ${SUBST_CMD} ${WRKSRC}/src/airodump-ng.h
+   ${SUBST_CMD} ${WRKSRC}/src/airodump-ng/airodump-ng.c
  
  .include 

Index: distinfo
===
RCS file: /home/cvs/ports/security/aircrack-ng/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo23 Feb 2019 22:23:25 -  1.4
+++ distinfo20 Aug 2021 00:21:44 -
@@ -1,2 +1,2 @@
-SHA256 (aircrack-ng-1.5.2.tar.gz) = 
nlkv52WARiIOCsCm0FxAJpA/MHeySIk+AFbMvk7ogkE=
-SIZE (aircrack-ng-1.5.2.tar.gz) = 7138360
+SHA256 (aircrack-ng-1.6.tar.gz) = Twv9SG78bqcin3+8VDQP+LIJSg1z6fYX4KOfh4mZokc=
+SIZE (aircrack-ng-1.6.tar.gz) = 7933308
Index: patches/patch-build_m4_aircrack_ng_simd_m4
===
RCS file: patches/patch-build_m4_aircrack_ng_simd_m4
diff -N patches/patch-build_m4_aircrack_ng_simd_m4
--- patches/patch-build_m4_aircrack_ng_simd_m4  13 Jun 2020 17:38:49 -  
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,25 +0,0 @@
-$OpenBSD: patch-build_m4_aircrack_ng_simd_m4,v 1.1 2020/06/13 17:38:49 cwen 
Exp $
-
-Ensure that disabling AltiVec and POWER8 instructions with MAKE_ENV is honoured
-even if the build machine supports them, from:
-https://github.com/aircrack-ng/aircrack-ng/issues/1941
-
-Index: build/m4/aircrack_ng_simd.m4
 build/m4/aircrack_ng_simd.m4.orig
-+++ build/m4/aircrack_ng_simd.m4
-@@ -132,7 +132,6 @@ then
- AX_CHECK_COMPILE_FLAG([-maltivec], [
- AX_APPEND_FLAG(-maltivec, [ppc_altivec_[]_AC_LANG_ABBREV[]flags])
- AC_SUBST(ppc_altivec_[]_AC_LANG_ABBREV[]flags)
--ALTIVEC_FOUND=1
- ])
-
- AX_CHECK_COMPILE_FLAG([-mabi=altivec], [
-@@ -148,7 +147,6 @@ then
- AX_CHECK_COMPILE_FLAG([-mpower8-vector], [
- AX_APPEND_FLAG(-mpower8-vector, 
[ppc_altivec_[]_AC_LANG_ABBREV[]flags])
- AC_SUBST(ppc_altivec_[]_AC_LANG_ABBREV[]flags)
--POWER8_FOUND=1
- ])
- fi
-
Index: patches/patch-include_aircrack-ng_crypto_sha1-sse2_h
===
RCS file: patches/patch-include_aircrack-ng_crypto_sha1-sse2_h
diff -N patches/patch-include_aircrack-ng_crypto_sha1-sse2_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-include_aircrack-ng_crypto_sha1-sse2_h20 Aug 2021 
00:21:44 -
@@ -0,0 +1,365 @@
+$OpenBSD$
+
+chore: remove unused assembly routines
+
+Index: include/aircrack-ng/crypto/sha1-sse2.h
+--- include/aircrack-ng/crypto/sha1-sse2.h.orig
 include/aircrack-ng/crypto/sha1-sse2.h
+@@ -36,357 +36,3 @@
+ #include 
+
+ #include 
+-
+-#if defined(__i386__) || ((defined(__x86_64__) && !defined(__CYGWIN__))   
 \
+-|| (defined(__x86_64__) && 
defined(__CYGWIN__)   \
+-&& 
!defined(__clang__)))
+-
+-#ifdef OLD_SSE_CORE
+-void show_result(char * key, unsigned char * pmk)
+-{
+-  int i;
+-  printf("%-

Re: UPDATE: openimageio 2.2.18.0

2021-10-18 Thread Brad Smith

On 10/17/2021 11:30 AM, Dimitri Karamazov wrote:

On Sat, Oct 16, 2021 at 07:54:31PM -0400, Brad Smith wrote:

On Sat, Oct 16, 2021 at 04:11:02PM -0400, Brad Smith wrote:

Here is an update to openimageio 2.2.18.0.

An updated diff. Enable the HEIF support and fix the hardcoded library
version in the PLIST.


I guess you've your own reason for HEIF support since the only dependent
port (blender) I know doesn't need it, in that case know that the heif
test still fails, otherwise better to keep dependencies to a minimum.


It already includes every graphics library and format (tiff, png, gif, jpeg,
jpeg 2k, openexr, webp, libraw), FFmpeg, OpenColorIO, Qt5 and Boost as
dependencies.

As the COMMENT says it is a "library for reading and writing images" and it
supports the new and increasingly common formats like WebP and now
HEIC and AVIF.

Blender still does not appear to support WebP,  but it has been enabled 
in the

openimageio port since the very first commit 9.5 years ago.

The library comes with some tools. An image convertor (iconvert), that
converted to and from HEIC and AVIF image formats, as well as others
The image viewer (iv) worked as expected. As well as a program to show
very minimal meta data.


88% tests passed, 11 tests failed out of 92

Total Test time (real) = 155.45 sec

The following tests FAILED:
  61 - texture-icwrite (Failed)
  62 - texture-icwrite.batch (Failed)
  63 - field3d-broken (Failed)
  64 - texture-field3d-broken (Failed)
  65 - texture-field3d-broken.batch (Failed)
  66 - heif (Failed)
  67 - openvdb-broken (Failed)
  68 - ptex-broken (Failed)
  75 - unit_strutil (Failed)
  81 - unit_timer (Failed)
  86 - unit_typedesc (Failed)


When I run make test I am not seeing 66 fail.

88% tests passed, 11 tests failed out of 92

Total Test time (real) = 188.53 sec

The following tests FAILED:
  6 - oiiotool-readerror (Failed)
 13 - missingcolor (Failed)
 61 - texture-icwrite (Failed)
 62 - texture-icwrite.batch (Failed)
 63 - field3d-broken (Failed)
 64 - texture-field3d-broken (Failed)
 65 - texture-field3d-broken.batch (Failed)
 67 - openvdb-broken (Failed)
 68 - ptex-broken (Failed)
 75 - unit_strutil (Failed)
 81 - unit_timer (Failed)

  Start 66: heif
66/92 Test #66: heif .   Passed 0.39 sec

I re-ran it a few times and it always passed.


regards,
   Dimitri




Re: powerpc bulk build report

2021-10-18 Thread Brad Smith
On Sat, Oct 16, 2021 at 11:32:39PM -0400, George Koehler wrote:
> On Sat, 16 Oct 2021 17:43:35 +0100
> Edd Barrett  wrote:
> 
> > On Sat, Oct 16, 2021 at 10:16:48AM -0600, c...@openbsd.org wrote:
> > > http://build-failures.rhaalovely.net/powerpc/2021-09-28/games/odamex.log
> > 
> > > :1:9: error: macro name must be an identifier
> > > #define -faltivec 1
> > 
> > Can you try this?
> 
> Fails because clang rejects -faltivec,
>   c++: error: the clang compiler does not support 'faltivec',
>   please use -maltivec and include altivec.h explicitly
> 
> I suspect that -faltivec was only for Apple gcc on Mac OS X (because
> our ports-gcc also rejects it).  It would also be wrong to build every
> file with -maltivec, because some macppc models (G3) have no altivec.
> It might be correct to build only r_drawt_altivec.cpp with -maltivec,
> because r_draw.cpp checks SDL_HasAltiVec().  Either that, or just
> disable altivec on powerpc.
> 
> I will try to unbreak the build on my macppc.
> --George

When I was looking at this I was thinking something like this, but I
don't have hw to test with.


Index: Makefile
===
RCS file: /home/cvs/ports/games/odamex/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile13 Sep 2021 19:51:30 -  1.7
+++ Makefile16 Oct 2021 18:54:31 -
@@ -33,6 +33,10 @@ CONFIGURE_ENV += CXXFLAGS=-I${LOCALBASE}
LDFLAGS=-L${LOCALBASE}/lib
 CONFIGURE_ARGS +=  -DNO_AG-ODALAUNCH_TARGET=YES
 
+.if ${MACHINE_ARCH} == "powerpc"
+CONFIGURE_ARGS +=  -DUSE_DEFAULT_SIMD=OFF
+.endif
+
 LIB_DEPENDS =  x11/wxWidgets \
audio/portmidi \
graphics/png \

> > Index: patches/patch-client_CMakeLists_txt
> > ===
> > RCS file: /cvs/ports/games/odamex/patches/patch-client_CMakeLists_txt,v
> > retrieving revision 1.3
> > diff -u -p -r1.3 patch-client_CMakeLists_txt
> > --- patches/patch-client_CMakeLists_txt 29 Aug 2021 22:09:09 -  
> > 1.3
> > +++ patches/patch-client_CMakeLists_txt 16 Oct 2021 16:41:49 -
> > @@ -3,7 +3,7 @@ $OpenBSD: patch-client_CMakeLists_txt,v 
> >  Index: client/CMakeLists.txt
> >  --- client/CMakeLists.txt.orig
> >  +++ client/CMakeLists.txt
> > -@@ -163,7 +163,7 @@ if(TARGET SDL2::SDL2 OR TARGET SDL::SDL)
> > +@@ -163,13 +163,13 @@ if(TARGET SDL2::SDL2 OR TARGET SDL::SDL)
> >   elseif(ODAMEX_TARGET_ARCH STREQUAL "i386")
> > if(NOT MSVC)
> >   # Pentium M has SSE2.
> > @@ -12,6 +12,13 @@ Index: client/CMakeLists.txt
> > else()
> >   target_compile_definitions(odamex PRIVATE /arch:SSE2)
> > endif()
> > +   message(STATUS "Default SIMD flags set to SSE2")
> > + elseif(ODAMEX_TARGET_ARCH MATCHES "ppc")
> > +-  target_compile_definitions(odamex PRIVATE -faltivec)
> > ++  target_compile_options(odamex PRIVATE -faltivec)
> > +   message(STATUS "Default SIMD flags set to AltiVec")
> > + endif()
> > +   else()
> >  @@ -220,7 +220,7 @@ if(TARGET SDL2::SDL2 OR TARGET SDL::SDL)
> > endif()
> >   
> > -- 
> > Best Regards
> > Edd Barrett
> > 
> > https://www.theunixzoo.co.uk
> > 
> 
> 
> -- 
> George Koehler 
> 



Re: NEW: spdlog 1.9.2

2021-10-17 Thread Brad Smith
On Sat, Oct 02, 2021 at 04:45:03AM -0400, Brad Smith wrote:
> Attached is a port of spdlog.
> 
> Comment:
> super fast C++ logging library
> 
> Description:
> Super fast C++ logging library.

An updated port with a nonfunctional workaround removed, but the stdio.h
header fix I posted to tech@ needs to go in first.


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


Re: UPDATE: openimageio 2.2.18.0

2021-10-16 Thread Brad Smith
On Sat, Oct 16, 2021 at 04:11:02PM -0400, Brad Smith wrote:
> Here is an update to openimageio 2.2.18.0.

An updated diff. Enable the HEIF support and fix the hardcoded library
version in the PLIST.


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/openimageio/Makefile,v
retrieving revision 1.56
diff -u -p -u -p -r1.56 Makefile
--- Makefile31 Aug 2021 07:31:14 -  1.56
+++ Makefile16 Oct 2021 22:59:25 -
@@ -11,12 +11,11 @@ COMMENT =   library for reading and writi
 GH_ACCOUNT =   OpenImageIO
 GH_PROJECT =   oiio
 GH_TAGNAME =   Release-$V
-V =2.2.15.1
+V =2.2.18.0
 DISTNAME = openimageio-${V}
-REVISION = 0
 
-SHARED_LIBS += OpenImageIO 10.2 # 2.2.15
-SHARED_LIBS += OpenImageIO_Util6.1 # 2.2.15
+SHARED_LIBS += OpenImageIO 11.0 # 2.2.18
+SHARED_LIBS += OpenImageIO_Util7.0 # 2.2.18
 
 CATEGORIES =   graphics devel
 
@@ -32,8 +31,8 @@ WANTLIB += GL GLU Iex-3_1 IlmThread-3_1 
 WANTLIB += Imath-3_1 OpenColorIO Qt5Core Qt5Gui Qt5OpenGL Qt5Widgets
 WANTLIB += avcodec avformat avutil boost_atomic-mt boost_chrono-mt
 WANTLIB += boost_date_time-mt boost_filesystem-mt boost_system-mt
-WANTLIB += boost_thread-mt bz2 c freetype gif jpeg m openjp2 png
-WANTLIB += pugixml raw_r swscale tiff webp webpdemux z
+WANTLIB += boost_thread-mt bz2 c freetype gif heif iconv jpeg m
+WANTLIB += openjp2 png pugixml raw_r swscale tiff webp webpdemux z
 
 MODULES =  devel/cmake \
lang/python \
@@ -56,6 +55,7 @@ LIB_DEPENDS = devel/boost \
graphics/openjp2 \
graphics/png \
graphics/tiff \
+   multimedia/libheif \
textproc/pugixml
 
 CONFIGURE_ARGS +=  -DCMAKE_INSTALL_MANDIR="man/man1" \
@@ -67,7 +67,6 @@ CONFIGURE_ARGS += -DCMAKE_INSTALL_MANDIR
-DUSE_OPENCV=OFF \
-DUSE_OPENVDB=OFF \
-DUSE_HDF5=OFF \
-   -DUSE_LIBHEIF=OFF \

-Dpybind11_DIR=${MODPY_SITEPKG}/pybind11/share/cmake/pybind11/
 
 # Fix undefined reference to __atomic_*
Index: distinfo
===
RCS file: /home/cvs/ports/graphics/openimageio/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo9 Jun 2021 23:33:20 -   1.14
+++ distinfo16 Oct 2021 02:32:54 -
@@ -1,2 +1,2 @@
-SHA256 (openimageio-2.2.15.1.tar.gz) = 
8iLGtRpAqrvIDd9AVVNb6a8f+pB0UvptH/p2dIVKqxc=
-SIZE (openimageio-2.2.15.1.tar.gz) = 29237852
+SHA256 (openimageio-2.2.18.0.tar.gz) = 
uN0Yn7yX8bFyUo4yTaqQT3ShZrrWLDLnFmymyGZzSik=
+SIZE (openimageio-2.2.18.0.tar.gz) = 29246567
Index: patches/patch-src_include_OpenImageIO_fmath_h
===
RCS file: patches/patch-src_include_OpenImageIO_fmath_h
diff -N patches/patch-src_include_OpenImageIO_fmath_h
--- patches/patch-src_include_OpenImageIO_fmath_h   31 Aug 2021 07:31:14 
-  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,28 +0,0 @@
-$OpenBSD: patch-src_include_OpenImageIO_fmath_h,v 1.1 2021/08/31 07:31:14 
ajacoutot Exp $
-
-From 05a5448c3ec8c75d7e859099315c452e39729a9b Mon Sep 17 00:00:00 2001
-From: Larry Gritz 
-Date: Tue, 8 Jun 2021 18:56:31 -0700
-Subject: [PATCH] Fix to accommodate changed preprocessor name in imath master. 
(#2996)
-
-Index: src/include/OpenImageIO/fmath.h
 src/include/OpenImageIO/fmath.h.orig
-+++ src/include/OpenImageIO/fmath.h
-@@ -949,7 +949,7 @@ inline void convert_type (const uint16
- }
- 
- 
--#ifdef _HALF_H_
-+#if defined(_HALF_H_) || defined(IMATH_HALF_H_)
- template<>
- inline void convert_type (const half *src,
-   float *dst, size_t n,
-@@ -1017,7 +1017,7 @@ convert_type (const float *src, uint8_t
- }
- 
- 
--#ifdef _HALF_H_
-+#if defined(_HALF_H_) || defined(IMATH_HALF_H_)
- template<>
- inline void
- convert_type (const float *src, half *dst, size_t n,
Index: patches/patch-src_include_OpenImageIO_simd_h
===
RCS file: patches/patch-src_include_OpenImageIO_simd_h
diff -N patches/patch-src_include_OpenImageIO_simd_h
--- patches/patch-src_include_OpenImageIO_simd_h31 Aug 2021 07:31:14 
-  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,233 +0,0 @@
-$OpenBSD: patch-src_include_OpenImageIO_simd_h,v 1.3 2021/08/31 07:31:14 
ajacoutot Exp $
-
-From 05a5448c3ec8c75d7e859099315c452e39729a9b Mon Sep 17 00:00:00 2001
-From: Larry Gritz 
-Date: Tue, 8 Jun 2021 18:56:31 -0700
-Subject: [PATCH] Fix to accommodate changed preprocessor name in imath master. 
(#2996)
-
-Index: src/include/Op

UPDATE: openimageio 2.2.18.0

2021-10-16 Thread Brad Smith
Here is an update to openimageio 2.2.18.0.


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/openimageio/Makefile,v
retrieving revision 1.56
diff -u -p -u -p -r1.56 Makefile
--- Makefile31 Aug 2021 07:31:14 -  1.56
+++ Makefile16 Oct 2021 07:13:34 -
@@ -11,12 +11,11 @@ COMMENT =   library for reading and writi
 GH_ACCOUNT =   OpenImageIO
 GH_PROJECT =   oiio
 GH_TAGNAME =   Release-$V
-V =2.2.15.1
+V =2.2.18.0
 DISTNAME = openimageio-${V}
-REVISION = 0
 
-SHARED_LIBS += OpenImageIO 10.2 # 2.2.15
-SHARED_LIBS += OpenImageIO_Util6.1 # 2.2.15
+SHARED_LIBS += OpenImageIO 11.0 # 2.2.18
+SHARED_LIBS += OpenImageIO_Util7.0 # 2.2.18
 
 CATEGORIES =   graphics devel
 
@@ -32,8 +31,8 @@ WANTLIB += GL GLU Iex-3_1 IlmThread-3_1 
 WANTLIB += Imath-3_1 OpenColorIO Qt5Core Qt5Gui Qt5OpenGL Qt5Widgets
 WANTLIB += avcodec avformat avutil boost_atomic-mt boost_chrono-mt
 WANTLIB += boost_date_time-mt boost_filesystem-mt boost_system-mt
-WANTLIB += boost_thread-mt bz2 c freetype gif jpeg m openjp2 png
-WANTLIB += pugixml raw_r swscale tiff webp webpdemux z
+WANTLIB += boost_thread-mt bz2 c freetype gif iconv jpeg m openjp2
+WANTLIB += png pugixml raw_r swscale tiff webp webpdemux z
 
 MODULES =  devel/cmake \
lang/python \
Index: distinfo
===
RCS file: /home/cvs/ports/graphics/openimageio/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo9 Jun 2021 23:33:20 -   1.14
+++ distinfo16 Oct 2021 02:32:54 -
@@ -1,2 +1,2 @@
-SHA256 (openimageio-2.2.15.1.tar.gz) = 
8iLGtRpAqrvIDd9AVVNb6a8f+pB0UvptH/p2dIVKqxc=
-SIZE (openimageio-2.2.15.1.tar.gz) = 29237852
+SHA256 (openimageio-2.2.18.0.tar.gz) = 
uN0Yn7yX8bFyUo4yTaqQT3ShZrrWLDLnFmymyGZzSik=
+SIZE (openimageio-2.2.18.0.tar.gz) = 29246567
Index: patches/patch-src_include_OpenImageIO_fmath_h
===
RCS file: patches/patch-src_include_OpenImageIO_fmath_h
diff -N patches/patch-src_include_OpenImageIO_fmath_h
--- patches/patch-src_include_OpenImageIO_fmath_h   31 Aug 2021 07:31:14 
-  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,28 +0,0 @@
-$OpenBSD: patch-src_include_OpenImageIO_fmath_h,v 1.1 2021/08/31 07:31:14 
ajacoutot Exp $
-
-From 05a5448c3ec8c75d7e859099315c452e39729a9b Mon Sep 17 00:00:00 2001
-From: Larry Gritz 
-Date: Tue, 8 Jun 2021 18:56:31 -0700
-Subject: [PATCH] Fix to accommodate changed preprocessor name in imath master. 
(#2996)
-
-Index: src/include/OpenImageIO/fmath.h
 src/include/OpenImageIO/fmath.h.orig
-+++ src/include/OpenImageIO/fmath.h
-@@ -949,7 +949,7 @@ inline void convert_type (const uint16
- }
- 
- 
--#ifdef _HALF_H_
-+#if defined(_HALF_H_) || defined(IMATH_HALF_H_)
- template<>
- inline void convert_type (const half *src,
-   float *dst, size_t n,
-@@ -1017,7 +1017,7 @@ convert_type (const float *src, uint8_t
- }
- 
- 
--#ifdef _HALF_H_
-+#if defined(_HALF_H_) || defined(IMATH_HALF_H_)
- template<>
- inline void
- convert_type (const float *src, half *dst, size_t n,
Index: patches/patch-src_include_OpenImageIO_simd_h
===
RCS file: patches/patch-src_include_OpenImageIO_simd_h
diff -N patches/patch-src_include_OpenImageIO_simd_h
--- patches/patch-src_include_OpenImageIO_simd_h31 Aug 2021 07:31:14 
-  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,233 +0,0 @@
-$OpenBSD: patch-src_include_OpenImageIO_simd_h,v 1.3 2021/08/31 07:31:14 
ajacoutot Exp $
-
-From 05a5448c3ec8c75d7e859099315c452e39729a9b Mon Sep 17 00:00:00 2001
-From: Larry Gritz 
-Date: Tue, 8 Jun 2021 18:56:31 -0700
-Subject: [PATCH] Fix to accommodate changed preprocessor name in imath master. 
(#2996)
-
-Index: src/include/OpenImageIO/simd.h
 src/include/OpenImageIO/simd.h.orig
-+++ src/include/OpenImageIO/simd.h
-@@ -1839,7 +1839,7 @@ class vfloat4 { (public)
- /// Construct from a pointer to 4 char values
- explicit vfloat4 (const char *vals) { load(vals); }
- 
--#ifdef _HALF_H_
-+#if defined(_HALF_H_) || defined(IMATH_HALF_H_)
- /// Construct from a pointer to 4 half (16 bit float) values
- explicit vfloat4 (const half *vals) { load(vals); }
- #endif
-@@ -1914,17 +1914,17 @@ class vfloat4 { (public)
- /// Load from an array of 4 char values, convert to float
- void load (const char *values);
- 
--#ifdef _HALF_H_
-+#if defined(_HALF_H_) || defined(IMATH_HALF_H_)
- /// Load from an array of 4 half values, convert to float
- void load (const half *values);
--#endif /* _HALF_H_ */
-+#endif /* _HALF_H_ or _IMATH_H_ */
- 
- void store (float *values) 

Re: UPDATE: portaudio v1970

2021-10-16 Thread Brad Smith

ping.

On 8/1/2021 1:57 AM, Brad Smith wrote:

Here is an update to portaudio v1970.

Not much in the changelog.. mostly Windows and macOS changes, what's left..

- White spaces and indentation were cleaned up.
- Fix builds with parallel makes


Index: Makefile
===
RCS file: /home/cvs/ports/audio/portaudio-svn/Makefile,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 Makefile
--- Makefile12 Jul 2019 20:43:39 -  1.20
+++ Makefile31 Jul 2021 04:19:19 -
@@ -2,10 +2,10 @@
  
  COMMENT=		portable cross-platform audio API
  
-DISTNAME =		pa_stable_v190600_20161030

-PKGNAME =  portaudio-svn-1960
+DISTNAME = pa_stable_v190700_20210406
+PKGNAME =  portaudio-svn-1970
  CATEGORIES=   audio
-MASTER_SITES = http://www.portaudio.com/archives/
+MASTER_SITES = http://files.portaudio.com/archives/
  EXTRACT_SUFX =.tgz
  
  SHARED_LIBS =		portaudio	1.2

Index: distinfo
===
RCS file: /home/cvs/ports/audio/portaudio-svn/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo6 Feb 2019 14:21:15 -   1.6
+++ distinfo31 Jul 2021 04:19:21 -
@@ -1,2 +1,2 @@
-SHA256 (pa_stable_v190600_20161030.tgz) = 
9aIdfc1u6EOXRG+h+hoGdbsuikptzrQwWoQEaY2NFRM=
-SIZE (pa_stable_v190600_20161030.tgz) = 1450572
+SHA256 (pa_stable_v190700_20210406.tgz) = 
R++/Qsd8GaBdIuYn1Chz6ZHsDBNXIZwNdM5qKUjLLe8=
+SIZE (pa_stable_v190700_20210406.tgz) = 1462695
Index: patches/patch-Makefile_in
===
RCS file: /home/cvs/ports/audio/portaudio-svn/patches/patch-Makefile_in,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-Makefile_in
--- patches/patch-Makefile_in   12 Mar 2013 00:59:50 -  1.4
+++ patches/patch-Makefile_in   31 Jul 2021 04:22:35 -
@@ -1,15 +1,17 @@
  $OpenBSD: patch-Makefile_in,v 1.4 2013/03/12 00:59:50 brad Exp $
 Makefile.in.orig   Thu Jul  5 23:44:34 2012
-+++ Makefile.inThu Jul  5 23:49:34 2012
-@@ -146,6 +146,7 @@ SRC_DIRS = \
-   src/hostapi/dsound \
+
+Index: Makefile.in
+--- Makefile.in.orig
 Makefile.in
+@@ -147,6 +147,7 @@ SRC_DIRS = \
src/hostapi/jack \
src/hostapi/oss \
+   src/hostapi/skeleton \
  + src/hostapi/sndio \
src/hostapi/wasapi \
src/hostapi/wdmks \
src/hostapi/wmme \
-@@ -155,7 +156,7 @@ SRC_DIRS = \
+@@ -156,7 +157,7 @@ SRC_DIRS = \
   SUBDIRS =
   @ENABLE_CXX_TRUE@SUBDIRS += bindings/cpp
   
Index: patches/patch-configure_in

===
RCS file: /home/cvs/ports/audio/portaudio-svn/patches/patch-configure_in,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-configure_in
--- patches/patch-configure_in  6 Feb 2019 14:21:15 -   1.5
+++ patches/patch-configure_in  31 Jul 2021 04:22:49 -
@@ -1,8 +1,9 @@
  $OpenBSD: patch-configure_in,v 1.5 2019/02/06 14:21:15 jca Exp $
+
  Index: configure.in
  --- configure.in.orig
  +++ configure.in
-@@ -24,6 +24,10 @@ AC_ARG_WITH(alsa,
+@@ -33,6 +33,10 @@ AC_ARG_WITH(alsa,
   AS_HELP_STRING([--with-alsa], [Enable support for ALSA 
@<:@autodetect@:>@]),
   [with_alsa=$withval])
   
@@ -13,7 +14,7 @@ Index: configure.in

   AC_ARG_WITH(jack,
   AS_HELP_STRING([--with-jack], [Enable support for JACK 
@<:@autodetect@:>@]),
   [with_jack=$withval])
-@@ -120,6 +124,10 @@ have_alsa=no
+@@ -129,6 +133,10 @@ have_alsa=no
   if test "x$with_alsa" != "xno"; then
   AC_CHECK_LIB(asound, snd_pcm_open, have_alsa=yes, have_alsa=no)
   fi
@@ -24,7 +25,7 @@ Index: configure.in
   have_asihpi=no
   if test "x$with_asihpi" != "xno"; then
   AC_CHECK_LIB(hpi, HPI_SubSysCreate, have_asihpi=yes, have_asihpi=no, -lm)
-@@ -406,6 +414,13 @@ case "${host_os}" in
+@@ -401,6 +409,13 @@ case "${host_os}" in
  AC_DEFINE(PA_USE_ALSA,1)
   fi
   
@@ -38,7 +39,7 @@ Index: configure.in

   if [[ "$have_jack" = "yes" ] && [ "$with_jack" != "no" ]] ; then
  DLL_LIBS="$DLL_LIBS $JACK_LIBS"
  CFLAGS="$CFLAGS $JACK_CFLAGS"
-@@ -509,6 +524,7 @@ case "$target_os" in
+@@ -504,6 +519,7 @@ case "$target_os" in
   ;;
*)
AC_MSG_RESULT([
Index: patches/patch-include_portaudio_h
===
RCS file: 
/home/cvs/ports/audio/portaudio-svn/patches/patch-include_portaudio_h,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-include_portaudio_h
--- patches/patch-include_portaudio_h   6 Feb 2019 14:21:15 -   1.3
+++ patches/patch-include_portaudio_h   31 Jul 2021 04:22:59 -
@@ -1,4 +1,5 @@
  $OpenBSD: patc

Re: sparc64 bulk build report

2021-10-16 Thread Brad Smith

On 10/15/2021 10:24 PM, k...@openbsd.org wrote:

Bulk build on sparc64-0a.ports.openbsd.org

Started : Wed Oct 13 11:06:06 MDT 2021
Finished: Fri Oct 15 20:24:21 MDT 2021
Duration: 2 Days 9 hours 18 minutes

Built using OpenBSD 7.0-current (GENERIC.MP) #1003: Wed Oct 13 00:52:31 MDT 2021

Built 9446 packages

Number of packages built each day:
Oct 13: 7437
Oct 14: 1507
Oct 15: 502


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

Build failures: 22
http://build-failures.rhaalovely.net/sparc64/2021-10-13/archivers/fuse-zip.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/audio/ncmpcpp.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/devel/avr/gcc.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/emulators/openmsx.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/games/colobot/colobot.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/games/egoboo.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/games/godot.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/graphics/birdfont.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/graphics/enblend-enfuse.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/graphics/gmic.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/graphics/openexr.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/graphics/openimageio.log


Weird with the error shown in OpenEXR, but OpenImageIO is dependent on 
OpenEXR

and it did start to build.


http://build-failures.rhaalovely.net/sparc64/2021-10-13/lang/clazy.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/net/barrier.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/net/ntopng.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/net/pmacct,postgresql.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/productivity/gnucash.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/security/rnp.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/sysutils/polkit.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/textproc/docbook-utils.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/www/nextcloud_notify_push.log
http://build-failures.rhaalovely.net/sparc64/2021-10-13/x11/gnome/gjs.log





UPDATE: libvpx 1.11.0

2021-10-12 Thread Brad Smith
Here is an update to libvpx 1.11.0.


Release v1.11.0 Smew Duck

2021-09-27 v1.11.0 "Smew Duck"
  This maintenance release adds support for VBR mode in VP9 rate control
  interface, new codec controls to get quantization parameters and loop filter
  levels, and includes several improvements to NEON and numerous bug fixes.

  - Upgrading:
New codec control is added to get quantization parameters and loop filter
levels.

VBR mode is supported in VP9 rate control library.

  - Enhancement:
Numerous improvements for Neon optimizations.
Code clean-up and refactoring.
Calculation of rd multiplier is changed with BDRATE gains.

  - Bug fixes:
Fix to overflow on duration.
Fix to several instances of -Wunused-but-set-variable.
Fix to avoid chroma resampling for 420mpeg2 input.
Fix to overflow in calc_iframe_target_size.
Fix to disallow skipping transform and quantization.
Fix some -Wsign-compare warnings in simple_encode.
Fix input file path in simple_encode_test.
Fix valid range for under/over_shoot pct.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libvpx/Makefile,v
retrieving revision 1.45
diff -u -p -u -p -r1.45 Makefile
--- Makefile29 Apr 2021 04:07:21 -  1.45
+++ Makefile12 Oct 2021 00:00:14 -
@@ -2,14 +2,13 @@
 
 COMMENT=   Google VP8/VP9 video codec
 
-VER=   1.10.0
-CATEGORIES=multimedia
-EPOCH= 0
 GH_ACCOUNT=webmproject
 GH_PROJECT=libvpx
-GH_TAGNAME=v${VER}
+GH_TAGNAME=v1.11.0
+EPOCH= 0
+CATEGORIES=multimedia
 
-SHARED_LIBS=   vpx 13.0
+SHARED_LIBS=   vpx 14.0
 
 HOMEPAGE=  https://www.webmproject.org/
 
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libvpx/distinfo,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 distinfo
--- distinfo29 Apr 2021 04:07:21 -  1.19
+++ distinfo11 Oct 2021 23:53:52 -
@@ -1,2 +1,2 @@
-SHA256 (libvpx-1.10.0.tar.gz) = hYA8y9vdejsD2TAYfLBV8TU1lpacH5Lr7C24OfpPg0o=
-SIZE (libvpx-1.10.0.tar.gz) = 5340421
+SHA256 (libvpx-1.11.0.tar.gz) = ll5RyRrZhR4jN668wPUXRAxjfFBvOgOUgGLj1eoSmoM=
+SIZE (libvpx-1.11.0.tar.gz) = 5347256



Re: NEW: libudfread 1.1.2

2021-10-11 Thread Brad Smith
On Mon, Oct 11, 2021 at 03:00:57AM -0400, Brad Smith wrote:
> On Sat, Oct 02, 2021 at 09:48:15PM -0400, Brad Smith wrote:
> > On Sat, Oct 02, 2021 at 09:38:40PM -0400, Brad Smith wrote:
> > > Attached is a port of libudfread 1.1.2.
> > > 
> > > Comment:
> > > library for reading UDF from raw devices and image files
> > > 
> > > Description:
> > > This library allows reading UDF filesystems, like raw devices and image
> > > files.
> > 
> > I forgot to add a HOMEPAGE and added the commit hash.
> 
> I moved libudfread to multimedia.

Updated after I was able to get upstream to roll a prop release tarball.


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


UPDATE: aom 3.1.3

2021-10-11 Thread Brad Smith
Here is an update to aom 3.1.3.


2021-09-29 v3.1.3
  This release includes several bug fixes.

  - Bug fixes:
The following four cmake changes should help the people building
libaom using MSVC.
  1. exports: use CMAKE_SHARED_LIBRARY_PREFIX to determine lib name
 https://aomedia-review.googlesource.com/c/aom/+/142342
  2. aom_install: Install lib dlls to bindir
 https://aomedia-review.googlesource.com/c/aom/+/146546
  3. aom_install: use relpath for install
 https://aomedia-review.googlesource.com/c/aom/+/146550
  4. aom_install: don't exclude msvc from install
 https://aomedia-review.googlesource.com/c/aom/+/146547

aom/aom_encoder.h: remove configure option reference
https://aomedia-review.googlesource.com/c/aom/+/146743

Issue 3113: Tests for detecting chroma subsampling in
av1_copy_and_extend_frame() do not work when y_width or y_height is
1

Issue 3115: image2yuvconfig() should calculate uv_crop_width and
uv_crop_height from y_crop_width and y_crop_height

Issue 3140: rc_overshoot_pct is documented as having a range of
0-1000, but is range checked against 0-100

Issue 3147: Build failure on Apple M1 arm64


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/aom/Makefile,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 Makefile
--- Makefile16 Aug 2021 17:53:24 -  1.10
+++ Makefile11 Oct 2021 07:20:28 -
@@ -4,7 +4,7 @@ COMMENT=Alliance for Open Media AV1 vid
 
 GH_ACCOUNT=jbeich
 GH_PROJECT=aom
-GH_TAGNAME=v3.1.2
+GH_TAGNAME=v3.1.3
 CATEGORIES=multimedia
 
 SHARED_LIBS=   aom 3.0
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/aom/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo16 Aug 2021 17:53:24 -  1.10
+++ distinfo11 Oct 2021 07:20:34 -
@@ -1,2 +1,2 @@
-SHA256 (aom-3.1.2.tar.gz) = qh5mELer83ZZ3caC/qxPUM+gFTmnvZ7TKdZwsH48VdQ=
-SIZE (aom-3.1.2.tar.gz) = 4613689
+SHA256 (aom-3.1.3.tar.gz) = AsTGVSzOgacQbwnF3fORKXnW6mtr32p2c/CICfvrTHQ=
+SIZE (aom-3.1.3.tar.gz) = 4614421



Re: UPDATE: libbluray - add libudfread dependency

2021-10-11 Thread Brad Smith
On Sat, Oct 02, 2021 at 09:59:49PM -0400, Brad Smith wrote:
> Add libudfread depdency once the port is imported.
> 
> 
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/multimedia/libbluray/Makefile,v
> retrieving revision 1.18
> diff -u -p -u -p -r1.18 Makefile
> --- Makefile  14 Aug 2021 09:52:04 -  1.18
> +++ Makefile  3 Oct 2021 01:16:38 -
> @@ -4,7 +4,7 @@ COMMENT = library supporting Blu-ray pl
>  
>  V =  1.3.0
>  DISTNAME =   libbluray-${V}
> -REVISION =   0
> +REVISION =   1
>  CATEGORIES = multimedia
>  
>  HOMEPAGE =   https://www.videolan.org/developers/libbluray.html
> @@ -17,11 +17,12 @@ EXTRACT_SUFX =.tar.bz2
>  PERMIT_PACKAGE = Yes
>  
>  WANTLIB +=   c expat fontconfig freetype iconv lzma m pthread
> -WANTLIB +=   xml2 z
> +WANTLIB +=   udfread xml2 z
>  
>  SHARED_LIBS +=   bluray  3.2 # 11.0
>  
>  LIB_DEPENDS =converters/libiconv \
> + devel/libudfread \
>   textproc/libxml
>  BUILD_DEPENDS =  devel/bison
 
Updated for new location.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libbluray/Makefile,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 Makefile
--- Makefile14 Aug 2021 09:52:04 -  1.18
+++ Makefile11 Oct 2021 06:58:56 -
@@ -4,7 +4,7 @@ COMMENT =   library supporting Blu-ray pl
 
 V =1.3.0
 DISTNAME = libbluray-${V}
-REVISION = 0
+REVISION = 1
 CATEGORIES =   multimedia
 
 HOMEPAGE = https://www.videolan.org/developers/libbluray.html
@@ -17,11 +17,12 @@ EXTRACT_SUFX =  .tar.bz2
 PERMIT_PACKAGE =   Yes
 
 WANTLIB += c expat fontconfig freetype iconv lzma m pthread
-WANTLIB += xml2 z
+WANTLIB += udfread xml2 z
 
 SHARED_LIBS += bluray  3.2 # 11.0
 
 LIB_DEPENDS =  converters/libiconv \
+   multimedia/libudfread \
textproc/libxml
 BUILD_DEPENDS =devel/bison
 



Re: NEW: libudfread 1.1.2

2021-10-11 Thread Brad Smith
On Sat, Oct 02, 2021 at 09:48:15PM -0400, Brad Smith wrote:
> On Sat, Oct 02, 2021 at 09:38:40PM -0400, Brad Smith wrote:
> > Attached is a port of libudfread 1.1.2.
> > 
> > Comment:
> > library for reading UDF from raw devices and image files
> > 
> > Description:
> > This library allows reading UDF filesystems, like raw devices and image
> > files.
> 
> I forgot to add a HOMEPAGE and added the commit hash.

I moved libudfread to multimedia.


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


Re: [update] net/usockets-0.8.1 ,www/uwebsockets-20.5.0, www/purritobin-0.6.7, databases/lmdbxx-1.0.0 (new)

2021-10-10 Thread Brad Smith
On Wed, Oct 06, 2021 at 03:47:57PM -0400, openbsd.po...@aisha.cc wrote:
> Hi all,
>   Updated patch with newer versions of libraries.
> 
> usockets - 0.8.1
> uwebsockets - 20.5.0
> purritobin - 0.6.7
> 
> Additions to www/purritobin
> - auto cleaning of pastes
> - web portal for pasting
> - in-built http server, good for tiny pastes and testing setups
> - http header manipulation
> 
> depends on a new port databases/lmdbxx, which is attached in the
> patch as well.
> 
> diff --git a/databases/lmdbxx/Makefile b/databases/lmdbxx/Makefile
> new file mode 100644
> index 000..240bf325f17
> --- /dev/null
> +++ b/databases/lmdbxx/Makefile
> @@ -0,0 +1,42 @@
> +# $OpenBSD: $
> +
> +COMMENT =C++17 wrapper for Lightning Memory-Mapped Database
> +
> +VERSION =1.0.0
> +PKGNAME =lmdbxx-${VERSION}
> +DISTNAME =   ${PKGNAME}

Just have DISTNAME = lmdbxx-${VERSION} and eliminate PKGNAME.

> +CATEGORIES = databases
> +
> +GH_ACCOUNT = hoytech
> +GH_PROJECT = lmdbxx
> +#GH_TAGNAME =1.0.0
> +GH_COMMIT =  f1f00acf5f5045b43d7189c2b23ae5ca103a6faa
> +
> +HOMEPAGE =   https://github.com/hoytech/lmdbxx
> +
> +MAINTAINER = Aisha Tammy 
> +
> +# Unlicense
> +PERMIT_PACKAGE = Yes
> +
> +COMPILER =   base-clang

COMPILER = base-clang ports-gcc

> +NO_BUILD =   Yes
> +
> +RUN_DEPENDS =databases/lmdb
> +
> +do-install:
> + cd ${WRKSRC} && \
> + mkdir -p ${PREFIX}/include && \
> + ${INSTALL_DATA} lmdb++.h ${PREFIX}/include 
> +
> +do-test:
> + cd ${WRKSRC} && \
> + rm -rf testdb && \
> + mkdir -p testdb && \
> + ${CXX} ${CXXFLAGS} -std=c++17 -Wall -I${LOCALBASE}/include -I. \
> + -o check check.cc ${LDFLAGS} -L${LOCALBASE}/lib -llmdb && \
> + ./check
> +
> +.include 
> diff --git a/databases/lmdbxx/distinfo b/databases/lmdbxx/distinfo
> new file mode 100644
> index 000..2cd8254361c
> --- /dev/null
> +++ b/databases/lmdbxx/distinfo
> @@ -0,0 +1,2 @@
> +SHA256 (lmdbxx-1.0.0-f1f00acf.tar.gz) = 
> hcZXFqDBZaZ8N3t6DP6m5mMypWnY2kadLD49v5mwSZo=
> +SIZE (lmdbxx-1.0.0-f1f00acf.tar.gz) = 53347
> diff --git a/databases/lmdbxx/pkg/DESCR b/databases/lmdbxx/pkg/DESCR
> new file mode 100644
> index 000..29e045d9927
> --- /dev/null
> +++ b/databases/lmdbxx/pkg/DESCR
> @@ -0,0 +1,4 @@
> +A comprehensive C++ wrapper for the LMDB embedded
> +database library, offering both an error-checked
> +procedural interface and an object-oriented resource
> +interface with RAII semantics.
> diff --git a/databases/lmdbxx/pkg/PLIST b/databases/lmdbxx/pkg/PLIST
> new file mode 100644
> index 000..cdf3f124dec
> --- /dev/null
> +++ b/databases/lmdbxx/pkg/PLIST
> @@ -0,0 +1,2 @@
> +@comment $OpenBSD: PLIST,v$
> +include/lmdb++.h
> diff --git a/net/usockets/Makefile b/net/usockets/Makefile
> index a484c23f93a..8d0d137cbba 100644
> --- a/net/usockets/Makefile
> +++ b/net/usockets/Makefile
> @@ -3,38 +3,33 @@
>  COMMENT  =   eventing, networking & crypto for async applications
>  CATEGORIES = net
>  
> -VERSION =0.6.0
> -REVISION =   1
> +VERSION =0.8.1
>  
>  DISTNAME =   usockets-${VERSION}
>  PKGNAME =${DISTNAME:L}

The PKGNAME here doesn't make sense. DISTNAME is already in all lower case.

> -SHARED_LIBS =usockets 1.0
> +SHARED_LIBS =usockets 2.0
>  
>  GH_ACCOUNT = uNetworking
>  GH_PROJECT = uSockets
> -#GH_TAGNAME =v0.6.0
> -# cstdlib include error
> -GH_COMMIT =  7683672d87067cd75b854f4e36b9820f4809a4be
> -
> +GH_TAGNAME = v0.8.1
>  
>  MAINTAINER = Aisha Tammy 
>  
>  # Apache 2.0
>  PERMIT_PACKAGE = Yes
>  
> -WANTLIB += ${COMPILER_LIBCXX} crypto ssl uv
> +WANTLIB +=   ${COMPILER_LIBCXX} crypto ssl uv
>  
>  # C11 C++17
>  COMPILER =   base-clang ports-gcc
>  
>  LIB_DEPENDS =devel/libuv
>  
> -USE_GMAKE =  Yes
> -MAKE_FLAGS = CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
> - CC="${CC}" CXX="${CXX}" \
> - LIBusockets_VERSION="${LIBusockets_VERSION}"
> +MAKE_ENV =   LIBusockets_VERSION="${LIBusockets_VERSION}"
> +
> +FAKE_FLAGS = PREFIX=${TRUEPREFIX}
>  
> -NO_TEST =Yes
> +# tests need A LOT of file desrciptors ~5000-6000
>  
>  .include 
> diff --git a/net/usockets/distinfo b/net/usockets/distinfo
> index 964ba508e9e..d9e1dff11b9 100644
> --- a/net/usockets/distinfo
> +++ b/net/usockets/distinfo
> @@ -1,2 +1,2 @@
> -SHA256 (usockets-0.6.0-7683672d.tar.gz) = 
> 0OooGCHD8ezNIcaB1zDPK6RQLGGYGZJb24Vemjlat7c=
> -SIZE (usockets-0.6.0-7683672d.tar.gz) = 57634
> +SHA256 (usockets-0.8.1.tar.gz) = OzO1kkqSV3hU4jJrPi05OEnsAL64ZaEnG/JMDyEMwdY=
> +SIZE (usockets-0.8.1.tar.gz) = 65470
> diff --git a/net/usockets/patches/patch-Makefile 
> b/net/usockets/patches/patch-Makefile
> index e718b65a265..5ea504d9f0f 100644
> --- a/net/usockets/patches/patch-Makefile
> +++ b/net/usockets/patches/patch-Makefile
> @@ -1,4 +1,4 @@
> -$OpenBSD: patch-Makefile,v 1.3 2020/12/11 22:33:22 sthen Exp $
> +: patch-Makefile,v 1.3 2020/12/11 22:33:22 sthen Exp $
>  
>  add shared + static lib + pkg-config file
>  

Re: UPDATE: libstrophe - endian issue build fix for sparc64

2021-10-10 Thread Brad Smith

On 10/10/2021 3:09 PM, Florian Viehweger wrote:


Hi Brad,

thank you for your patch. Unfortunately I do not have working big
endian hardware right now, so I cannot test it myself.

Can somebody with such a machine test this?

Thank you!


It's not a matter of big vs little. It already builds on big endian machines
with Clang. It'll fail with either endian if using base-gcc. It has 
already been

build tested on sparc64.



Fix build issue on sparc64.

http://build-failures.rhaalovely.net/sparc64/2021-09-18/net/libstrophe.log


In file included from src/sha256.c:6:
src/sha.h:90:2: error: #error Unknown endianness not supported
src/sha256.c: In function 'sha256_compress':
src/sha256.c:30: warning: implicit declaration of function 'LOAD32H'
src/sha256.c: In function 'sha256_done':
src/sha256.c:195: warning: implicit declaration of function 'STORE64H'
src/sha256.c:200: warning: implicit declaration of function 'STORE32H'


Index: Makefile
===
RCS file: /cvs/ports/net/libstrophe/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile10 Sep 2021 04:30:50 -  1.5
+++ Makefile20 Sep 2021 04:55:30 -
@@ -4,6 +4,7 @@ COMMENT =   simple, lightweight XMPP C lib
  
  V =		0.10.1

  DISTNAME =libstrophe-${V}
+REVISION = 0
  
  SHARED_LIBS =	strophe 3.0 # 1.0
  
Index: patches/patch-src_sha_h

===
RCS file: patches/patch-src_sha_h
diff -N patches/patch-src_sha_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_sha_h 20 Sep 2021 04:55:30 -
@@ -0,0 +1,35 @@
+$OpenBSD$
+
+Index: src/sha.h
+--- src/sha.h.orig
 src/sha.h
+@@ -8,6 +8,7 @@
+ #ifndef __LIBSTROPHE_SHA_H__
+ #define __LIBSTROPHE_SHA_H__
+
++#include 
+ #include 
+
+ #ifdef __cplusplus
+@@ -19,7 +20,9 @@ extern "C" {
+
+ #if defined(__BIG_ENDIAN__) ||   \
+ (defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__) && \
+- __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
++ __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) || \
++(defined(BYTE_ORDER) && defined(BIG_ENDIAN) && \
++ BYTE_ORDER == BIG_ENDIAN)
+
+ #define STORE32H(x, y)  \
+ do {\
+@@ -46,7 +49,9 @@ extern "C" {
+
+ #elif defined(__LITTLE_ENDIAN__) ||
\
+ (defined(__BYTE_ORDER__) && defined(__ORDER_LITTLE_ENDIAN__) &&
\ +- __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
++ __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) || \
++(defined(BYTE_ORDER) && defined(LITTLE_ENDIAN) && \
++ BYTE_ORDER == LITTLE_ENDIAN)
+
+ #define STORE32H(x, y) \
+ do {   \








Re: UPDATE: libsamplerate 0.2.1

2021-10-09 Thread Brad Smith
On Sat, Oct 09, 2021 at 12:36:54AM -0400, Brad Smith wrote:
> On Sat, Sep 11, 2021 at 04:08:02PM -0400, Brad Smith wrote:
> > On Fri, Sep 03, 2021 at 10:51:25PM -0400, Brad Smith wrote:
> > > Here is an update to libsamplerate 0.2.1.
> > > 
> > > Version 0.2.1 (2021-01-23)
> > >   * Fix incorrect passing of -version-info to libtool, causing a
> > > regression on versioned file name of the shared library (#140).
> > >   * Fix time resolution on GNU/Hurd for throughput_test
> > >   * Update AUTHORS and release manager details
> > > 
> > > Version 0.2.0 (2021-01-21)
> > >   * API:
> > > * Add `src_clone()` function to clone a SRC_STATE* handle
> > >   * Cleanup Autotools build system.
> > >   * Require C99 compiler
> > >   * Move `sndfile-resample` to sndfile-tools package
> > >   * Add missing `src_get_channels`() export to windows def file
> > >   * Fix macOS compile errors and modernize audio api on that platform
> > >   * Add Octave scripts to generate filter coefficients
> > >   * Fix two potential undefined behaviours
> > >   * Fix a buffer out-of-bounds read error in src/src_sinc.c
> > >   * Improve multichan_throughput_test
> > >   * Replace buggy implementationg of Duffs device by regular loop
> > >   * CMake:
> > > * Fix CMake generated shared library ABI compliance with Autotools 
> > > build 
> > >   * Documentation:
> > > * Move site to new URL: http://libsndfile.github.io/libsamplerate/
> > > * Convert documentation pages from HTML to Markdown
> > > * Use GitHub's Jekyll static site generator to generate static HTML 
> > > pages
> > >   for site
> > 
> > Here is an update to libsamplerate 0.2.2.
> > 
> > Version 0.2.2 (2021-09-05)
> >   * Fix CMake overlinking for examples (#146)
> >   * Switch to GCC's visibility for hiding more implementation details
> >   * Check GNU ld instead of gcc for exported symbols control logic in
> > configure.ac
> >   * Disable static builds using Autotools by default. If you want static
> > libraries, pass --enable-static to ./configure
> >   * ABI version incompatibility between Autotools and CMake build on Apple
> > platforms.
> >   * Fixes and improvements for CMake build system.
> >   * Fixes and improvements for Autotools build system.
> >   * Switch to .xz over .bz2 for release tarballs.
> >   * Minor bug fixes and updates.
> 
> Updated the diff for -current..

Stuart pointed out there was an already made tarball which simplifies things
a bit..


Index: libsamplerate/Makefile
===
RCS file: /cvs/ports/audio/libsamplerate/Makefile,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 Makefile
--- libsamplerate/Makefile  12 Jul 2019 20:43:35 -  1.23
+++ libsamplerate/Makefile  9 Oct 2021 16:14:16 -
@@ -2,35 +2,26 @@
 
 COMMENT=   audio sample rate conversion library
 
-DISTNAME=  libsamplerate-0.1.9
-SHARED_LIBS=   samplerate  2.1
+VER=   0.2.2
+DISTNAME=  libsamplerate-${VER}
 CATEGORIES=audio
+EXTRACT_SUFX=  .tar.xz
 
-HOMEPAGE=  http://mega-nerd.com/SRC/
+SHARED_LIBS=   samplerate  3.0
+
+HOMEPAGE=  http://libsndfile.github.io/libsamplerate/
 MAINTAINER=Jan Stary 
 
 # 2-BSD license
 PERMIT_PACKAGE=Yes
 
-MASTER_SITES=  ${HOMEPAGE}
-
-WANTLIB=   FLAC c m ogg sndfile>=1 vorbis vorbisenc
+MASTER_SITES=  
https://github.com/libsndfile/libsamplerate/releases/download/${VER}/
 
-LIB_DEPENDS=   audio/libsndfile
+WANTLIB=   m
 
 CONFIGURE_STYLE=gnu
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib"
 CONFIGURE_ARGS=--disable-cpu-clip \
-   --disable-fftw
-
-post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libsamplerate
-   ${INSTALL_DATA} ${WRKSRC}/doc/*.css \
-   ${PREFIX}/share/doc/libsamplerate
-   ${INSTALL_DATA} ${WRKSRC}/doc/*.png \
-   ${PREFIX}/share/doc/libsamplerate
-   ${INSTALL_DATA} ${WRKSRC}/doc/*.html \
-   ${PREFIX}/share/doc/libsamplerate
+   --disable-fftw \
+   --disable-sndfile
 
 .include 
Index: libsamplerate/distinfo
===
RCS file: /cvs/ports/audio/libsamplerate/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- libsamplerate/distinfo  7 Nov 2016 21:39:58 -   1.9
+++ libsamplerate/distinfo  9 Oct 2021 16:14:16 -
@@ -1,2 +1,2 @@
-SHA256 (libsamplerate-0.1.9.tar.gz) = 
Cn6xaOLyE1P7bYTaFS5FEhJvfcSMywvoBXjFZUE0RME=
-SIZE (libsamplerat

Re: UPDATE: libsamplerate 0.2.1

2021-10-09 Thread Brad Smith
On Sat, Sep 11, 2021 at 04:08:02PM -0400, Brad Smith wrote:
> On Fri, Sep 03, 2021 at 10:51:25PM -0400, Brad Smith wrote:
> > Here is an update to libsamplerate 0.2.1.
> > 
> > Version 0.2.1 (2021-01-23)
> >   * Fix incorrect passing of -version-info to libtool, causing a
> > regression on versioned file name of the shared library (#140).
> >   * Fix time resolution on GNU/Hurd for throughput_test
> >   * Update AUTHORS and release manager details
> > 
> > Version 0.2.0 (2021-01-21)
> >   * API:
> > * Add `src_clone()` function to clone a SRC_STATE* handle
> >   * Cleanup Autotools build system.
> >   * Require C99 compiler
> >   * Move `sndfile-resample` to sndfile-tools package
> >   * Add missing `src_get_channels`() export to windows def file
> >   * Fix macOS compile errors and modernize audio api on that platform
> >   * Add Octave scripts to generate filter coefficients
> >   * Fix two potential undefined behaviours
> >   * Fix a buffer out-of-bounds read error in src/src_sinc.c
> >   * Improve multichan_throughput_test
> >   * Replace buggy implementationg of Duffs device by regular loop
> >   * CMake:
> > * Fix CMake generated shared library ABI compliance with Autotools 
> > build 
> >   * Documentation:
> > * Move site to new URL: http://libsndfile.github.io/libsamplerate/
> > * Convert documentation pages from HTML to Markdown
> > * Use GitHub's Jekyll static site generator to generate static HTML 
> > pages
> >   for site
> 
> Here is an update to libsamplerate 0.2.2.
> 
> Version 0.2.2 (2021-09-05)
>   * Fix CMake overlinking for examples (#146)
>   * Switch to GCC's visibility for hiding more implementation details
>   * Check GNU ld instead of gcc for exported symbols control logic in
> configure.ac
>   * Disable static builds using Autotools by default. If you want static
> libraries, pass --enable-static to ./configure
>   * ABI version incompatibility between Autotools and CMake build on Apple
> platforms.
>   * Fixes and improvements for CMake build system.
>   * Fixes and improvements for Autotools build system.
>   * Switch to .xz over .bz2 for release tarballs.
>   * Minor bug fixes and updates.

Updated the diff for -current..


Index: libsamplerate/Makefile
===
RCS file: /cvs/ports/audio/libsamplerate/Makefile,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 Makefile
--- libsamplerate/Makefile  12 Jul 2019 20:43:35 -  1.23
+++ libsamplerate/Makefile  6 Oct 2021 04:25:26 -
@@ -2,35 +2,26 @@
 
 COMMENT=   audio sample rate conversion library
 
-DISTNAME=  libsamplerate-0.1.9
-SHARED_LIBS=   samplerate  2.1
+GH_ACCOUNT=libsndfile
+GH_PROJECT=libsamplerate
+GH_TAGNAME=0.2.2
 CATEGORIES=audio
 
-HOMEPAGE=  http://mega-nerd.com/SRC/
+SHARED_LIBS=   samplerate  3.0
+
+HOMEPAGE=  http://libsndfile.github.io/libsamplerate/
 MAINTAINER=Jan Stary 
 
 # 2-BSD license
 PERMIT_PACKAGE=Yes
 
-MASTER_SITES=  ${HOMEPAGE}
-
-WANTLIB=   FLAC c m ogg sndfile>=1 vorbis vorbisenc
+WANTLIB=   m
 
-LIB_DEPENDS=   audio/libsndfile
-
-CONFIGURE_STYLE=gnu
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib"
+AUTOCONF_VERSION=  2.69
+AUTOMAKE_VERSION=  1.16
+CONFIGURE_STYLE=autoreconf
 CONFIGURE_ARGS=--disable-cpu-clip \
-   --disable-fftw
-
-post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libsamplerate
-   ${INSTALL_DATA} ${WRKSRC}/doc/*.css \
-   ${PREFIX}/share/doc/libsamplerate
-   ${INSTALL_DATA} ${WRKSRC}/doc/*.png \
-   ${PREFIX}/share/doc/libsamplerate
-   ${INSTALL_DATA} ${WRKSRC}/doc/*.html \
-   ${PREFIX}/share/doc/libsamplerate
+   --disable-fftw \
+   --disable-sndfile
 
 .include 
Index: libsamplerate/distinfo
===
RCS file: /cvs/ports/audio/libsamplerate/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- libsamplerate/distinfo  7 Nov 2016 21:39:58 -   1.9
+++ libsamplerate/distinfo  6 Oct 2021 04:25:26 -
@@ -1,2 +1,2 @@
-SHA256 (libsamplerate-0.1.9.tar.gz) = 
Cn6xaOLyE1P7bYTaFS5FEhJvfcSMywvoBXjFZUE0RME=
-SIZE (libsamplerate-0.1.9.tar.gz) = 4336641
+SHA256 (libsamplerate-0.2.2.tar.gz) = 
FuiBSH8YQlDetPy2BDLXVWqxLLWMrqce8jlgrsbAQFo=
+SIZE (libsamplerate-0.2.2.tar.gz) = 3954784
Index: libsamplerate/patches/patch-tests_util_c
===
RCS file: libsamplerate/patches/patch-tests_util_c
diff -N libsamplerate/patches/patch-tests_util_c
--- /dev/null   1 Jan 1970 

UPDATE: lighttpd 1.4.60

2021-10-04 Thread Brad Smith
Here is an update to lighttpd 1.4.60.

- HTTP/2 smoother and lower memory use (in general)
- HTTP/2 tuning to better handle aggressive client initial requests
- reduce memory footprint; workaround poor glibc behavior; jemalloc is better
- mod_magnet lua performance improvements
- mod_dirlisting performance improvements and new caching option
- memory constraints for extreme edge cases in mod_dirlisting, mod_ssi, 
mod_webdav
- connect(), write(), read() time limits on backends (separate from client 
timeouts)
- lighttpd restarts if large discontinuity in time occurs (embedded systems)
- RFC7233 Range support for all non-streaming responses, not only static files
- connect() to backend now has default 8 second timeout (configurable)


Index: Makefile
===
RCS file: /home/cvs/ports/www/lighttpd/Makefile,v
retrieving revision 1.161
diff -u -p -u -p -r1.161 Makefile
--- Makefile6 Feb 2021 14:37:53 -   1.161
+++ Makefile4 Oct 2021 04:08:37 -
@@ -2,7 +2,7 @@
 
 COMMENT=   secure, fast, compliant, and very flexible web-server
 
-DISTNAME=  lighttpd-1.4.59
+DISTNAME=  lighttpd-1.4.60
 CATEGORIES=www net
 MASTER_SITES=  https://download.lighttpd.net/lighttpd/releases-1.4.x/
 EXTRACT_SUFX=  .tar.xz
Index: distinfo
===
RCS file: /home/cvs/ports/www/lighttpd/distinfo,v
retrieving revision 1.63
diff -u -p -u -p -r1.63 distinfo
--- distinfo6 Feb 2021 14:37:53 -   1.63
+++ distinfo4 Oct 2021 04:08:44 -
@@ -1,2 +1,2 @@
-SHA256 (lighttpd-1.4.59.tar.xz) = +5U9snPa7wjttuICVWyuij0H7tYIHJa9mQPblX0QhNU=
-SIZE (lighttpd-1.4.59.tar.xz) = 968352
+SHA256 (lighttpd-1.4.60.tar.xz) = S7HdhZ5UGjEx5b4QFVfS4RlbQSnTqEmjpvvSH+HJRvA=
+SIZE (lighttpd-1.4.60.tar.xz) = 1008548



UPDATE: openal

2021-10-04 Thread Brad Smith
Fix for a bug in the sndio backend with the capture support.


Index: Makefile
===
RCS file: /home/cvs/ports/audio/openal/Makefile,v
retrieving revision 1.57
diff -u -p -u -p -r1.57 Makefile
--- Makefile20 Aug 2021 21:54:22 -  1.57
+++ Makefile4 Oct 2021 02:23:13 -
@@ -6,7 +6,7 @@ V = 1.21.1
 EPOCH =0
 DISTNAME = openal-soft-$V
 PKGNAME =  openal-$V
-REVISION = 1
+REVISION = 2
 CATEGORIES =   audio
 
 SHARED_LIBS =  openal  4.1
Index: patches/patch-alc_backends_sndio_cpp
===
RCS file: /home/cvs/ports/audio/openal/patches/patch-alc_backends_sndio_cpp,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-alc_backends_sndio_cpp
--- patches/patch-alc_backends_sndio_cpp20 Aug 2021 21:54:22 -  
1.3
+++ patches/patch-alc_backends_sndio_cpp4 Oct 2021 02:25:36 -
@@ -6,6 +6,8 @@ Simplify channel handling in the sndio b
 Use non-block mode for sndio capture
 1fd4c865fc084f134363db5155361d5483679235
 
+Fix crashes in SndioCapture::recordProc
+a4b0a3d7b3ec271243cfda4780e567e49f2b37b7
 
 Index: alc/backends/sndio.cpp
 --- alc/backends/sndio.cpp.orig
@@ -269,7 +271,19 @@ Index: alc/backends/sndio.cpp
  RingBufferPtr mRing;
  
  std::atomic mKillNow{true};
-@@ -326,37 +309,53 @@ int SndioCapture::recordProc()
+@@ -323,40 +306,65 @@ int SndioCapture::recordProc()
+ 
+ const uint frameSize{mDevice->frameSizeFromFmt()};
+ 
++int nfds_pre{sio_nfds(mSndHandle)};
++if (nfds_pre <= 0)
++{
++mDevice->handleDisconnect("Incorrect return value from sio_nfds(): 
%d", nfds_pre);
++return 1;
++}
++
++mFds.resize(nfds_pre);
++
  while(!mKillNow.load(std::memory_order_acquire)
  && mDevice->Connected.load(std::memory_order_acquire))
  {
@@ -345,7 +359,7 @@ Index: alc/backends/sndio.cpp
  }
  
  return 0;
-@@ -371,76 +370,80 @@ void SndioCapture::open(const char *name)
+@@ -371,76 +379,80 @@ void SndioCapture::open(const char *name)
  throw al::backend_exception{al::backend_error::NoDevice, "Device name 
\"%s\" not found",
  name};
  



UPDATE: Pidgin 2.14.7

2021-10-03 Thread Brad Smith
Here is an update to Pidgin 2.14.7.


Index: Makefile
===
RCS file: /home/cvs/ports/net/pidgin/Makefile,v
retrieving revision 1.149
diff -u -p -u -p -r1.149 Makefile
--- Makefile29 Apr 2021 18:27:02 -  1.149
+++ Makefile26 Sep 2021 04:23:13 -
@@ -4,7 +4,7 @@ COMMENT-main=   multi-protocol instant mes
 COMMENT-finch= multi-protocol instant messaging client, console client
 COMMENT-libpurple= multi-protocol instant messaging library
 
-VERSION=   2.13.0
+VERSION=   2.14.7
 DISTNAME=  pidgin-${VERSION}
 PKGNAME-main=  pidgin-${VERSION}
 PKGNAME-finch= finch-${VERSION}
@@ -16,15 +16,10 @@ FULLPKGPATH$i= ${PKGPATH},$i${FLAVOR_EXT
 CATEGORIES=net
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pidgin/}
 EXTRACT_SUFX=  .tar.bz2
-REVISION-main= 5
-REVISION-finch=1
-REVISION-libpurple=0
 
 SHARED_LIBS=   jabber  0.0 \
-   oscar   0.0 \
-   purple  7.0 \
-   purple-client   7.0 \
-   gnt 7.0
+   purple  7.1 \
+   purple-client   7.1
 
 HOMEPAGE=  https://pidgin.im/
 
@@ -33,51 +28,50 @@ MAINTAINER= Brad Smith =1.12.1
+   net/libgadu
 
 MODGCONF2_SCHEMAS_DIR= pidgin
 MODGCONF2_LIBDEP=  No
 
 SEPARATE_BUILD=Yes
 USE_GMAKE= Yes
-CONFIGURE_STYLE= autoconf
+CONFIGURE_STYLE= autoreconf
 AUTOCONF_VERSION= 2.69
+AUTOMAKE_VERSION= 1.16
 CONFIGURE_ARGS+= --disable-avahi \
 --disable-cap \
 --disable-doxygen \
@@ -87,10 +81,11 @@ CONFIGURE_ARGS+= --disable-avahi \
 --disable-nm \
 --disable-nss \
 --disable-perl \
+--disable-cyrus-sasl \
 --disable-tcl \
 --disable-tk \
 --disable-vv \
---with-python=${MODPY_BIN}
+--with-python3=${MODPY_BIN}
 # XXX prevent a fatal error at install phase
 CONFIGURE_ARGS+= --disable-schemas-install
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -127,7 +122,7 @@ WANTLIB-main+=  enchant gtkspell
 CONFIGURE_ARGS+=   --disable-gtkspell
 .endif
 
-ARCHIVE_DIR_LIST=  finch gnt pidgin purple-2
+ARCHIVE_DIR_LIST=  finch pidgin purple-2
 
 post-extract:
@cp ${FILESDIR}/ssl-openssl.c ${WRKSRC}/libpurple/plugins/ssl
Index: distinfo
===
RCS file: /home/cvs/ports/net/pidgin/distinfo,v
retrieving revision 1.52
diff -u -p -u -p -r1.52 distinfo
--- distinfo28 Apr 2018 16:58:39 -  1.52
+++ distinfo26 Sep 2021 04:23:22 -
@@ -1,2 +1,2 @@
-SHA256 (pidgin-2.13.0.tar.bz2) = J0cVDG9xEUa93TM8SWhwv9VQWLqyL/t+TreEAY7EbY8=
-SIZE (pidgin-2.13.0.tar.bz2) = 8994457
+SHA256 (pidgin-2.14.7.tar.bz2) = /qarTwVy/iRkYEnCs/7L3KJ6vKbQbpW9ZV5E25m9af4=
+SIZE (pidgin-2.14.7.tar.bz2) = 8713379
Index: patches/patch-configure_ac
===
RCS file: /home/cvs/ports/net/pidgin/patches/patch-configure_ac,v
retrieving revision 1.36
diff -u -p -u -p -r1.36 patch-configure_ac
--- patches/patch-configure_ac  1 Sep 2017 09:53:09 -   1.36
+++ patches/patch-configure_ac  5 Sep 2021 22:57:23 -
@@ -1,8 +1,9 @@
 $OpenBSD: patch-configure_ac,v 1.36 2017/09/01 09:53:09 ajacoutot Exp $
+
 Index: configure.ac
 --- configure.ac.orig
 +++ configure.ac
-@@ -1378,7 +1378,6 @@ if test "x$GCC" = "xyes"; then
+@@ -1335,7 +1335,6 @@ if test "x$GCC" = "xyes"; then
fi
  
DEBUG_CFLAGS="-Wall $DEBUG_CFLAGS"
@@ -10,7 +11,7 @@ Index: configure.ac
  fi
  
  if test "x$SUNCC" = "xyes"; then
-@@ -1766,6 +1765,11 @@ AM_CONDITIONAL(INSTALL_SSL_CERTIFICATES, test "x$SSL_C
+@@ -1706,6 +1705,11 @@ AM_CONDITIONAL(INSTALL_SSL_CERTIFICATES, test "x$SSL_C
  
  dnl These two are inverses of each other <-- stolen from evolution!
  
@@ -22,7 +23,7 @@ Index: configure.ac
  AC_ARG_ENABLE(gnutls,
[  --enable-gnutls=[yes,no]  attempt to use GnuTLS for SSL support 
[default=yes]],
[enable_gnutls="$enableval"],
-@@ -1776,10 +1780,98 @@ AC_ARG_ENABLE(nss,
+@@ -1716,10 +1720,98 @@ AC_ARG_ENABLE(nss,
[enable_nss="$enableval"],
[enable_nss="yes"])
  
@@ -123,7 +124,7 @@ Index: configure.ac
  dnl #
  if test "x$enable_gnutls" != "xno"; then
enable_gnutls="no"
-@@ -2177,17 +2269,32 @@ fi
+@@ -2117,17 +2209,32 @@ fi
  
  AM_CONDITIONAL(USE_NSS, test "x$enable_nss" = "xyes")
  
Index: patches/patch-libpurple_plugins_ssl_Makefile_am
===
RCS file: 
/home/cvs/ports/net/pidgin/patches/patch-libpurple_plugins_ssl_Makefile_am,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-libpurple_plugin

UPDATE: libbluray - add libudfread dependency

2021-10-03 Thread Brad Smith
Add libudfread depdency once the port is imported.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libbluray/Makefile,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 Makefile
--- Makefile14 Aug 2021 09:52:04 -  1.18
+++ Makefile3 Oct 2021 01:16:38 -
@@ -4,7 +4,7 @@ COMMENT =   library supporting Blu-ray pl
 
 V =1.3.0
 DISTNAME = libbluray-${V}
-REVISION = 0
+REVISION = 1
 CATEGORIES =   multimedia
 
 HOMEPAGE = https://www.videolan.org/developers/libbluray.html
@@ -17,11 +17,12 @@ EXTRACT_SUFX =  .tar.bz2
 PERMIT_PACKAGE =   Yes
 
 WANTLIB += c expat fontconfig freetype iconv lzma m pthread
-WANTLIB += xml2 z
+WANTLIB += udfread xml2 z
 
 SHARED_LIBS += bluray  3.2 # 11.0
 
 LIB_DEPENDS =  converters/libiconv \
+   devel/libudfread \
textproc/libxml
 BUILD_DEPENDS =devel/bison
 



Re: NEW: libudfread 1.1.2

2021-10-02 Thread Brad Smith
On Sat, Oct 02, 2021 at 09:38:40PM -0400, Brad Smith wrote:
> Attached is a port of libudfread 1.1.2.
> 
> Comment:
> library for reading UDF from raw devices and image files
> 
> Description:
> This library allows reading UDF filesystems, like raw devices and image
> files.

I forgot to add a HOMEPAGE and added the commit hash.


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


NEW: libudfread 1.1.2

2021-10-02 Thread Brad Smith
Attached is a port of libudfread 1.1.2.

Comment:
library for reading UDF from raw devices and image files

Description:
This library allows reading UDF filesystems, like raw devices and image
files.


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


UPDATE: audio/flite on mips64

2021-10-02 Thread Brad Smith
With mips64 moving to Clang it should be possible to remove the BROKEN
tags.


Index: Makefile
===
RCS file: /home/cvs/ports/audio/flite/Makefile,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 Makefile
--- Makefile7 Mar 2021 08:03:48 -   1.24
+++ Makefile2 Oct 2021 23:30:30 -
@@ -1,8 +1,6 @@
 # $OpenBSD: Makefile,v 1.24 2021/03/07 08:03:48 bentley Exp $
 
 BROKEN-m88k=   out of memory compiling cmu_us_kal_diphone.c
-BROKEN-mips64= GCC hangs compiling cmu_us_kal_diphone.c
-BROKEN-mips64el= GCC hangs compiling cmu_us_kal_diphone.c
 
 COMMENT=   text to speech utility
 



Re: NEW: spdlog 1.9.2

2021-10-02 Thread Brad Smith

On 10/2/2021 4:45 AM, Brad Smith wrote:

Attached is a port of spdlog.

Comment:
super fast C++ logging library

Description:
Super fast C++ logging library.


Note this is dependent on the fmt 8.0.1 update I posted.



Re: NEW: fstrcmp 0.7.D001

2021-10-02 Thread Brad Smith
On Sat, Oct 02, 2021 at 12:59:28PM -0600, Thomas Frohwein wrote:
> On Sat, Oct 02, 2021 at 04:41:03AM -0400, Brad Smith wrote:
> > Attached is a port of fstrcmp.
> > 
> > Comment:
> > library for fuzzy string comparisons
> > 
> > Description:
> > The fstrcmp package provides a library which may be used to make
> > fuzzy comparisons of strings and byte arrays. It also provides
> > simple commands for use in shell scripts.
> 
> Does not install:
> 
> [...]
> CONFIG_FILES=libdir/pkgconfig/fstrcmp.pc:libdir/pkgconfig/fstrcmp.pc.in 
> CONFIG_HEADERS= /bin/sh  config.status
> config.status: creating libdir/pkgconfig/fstrcmp.pc
> /usr/ports/pobj/fstrcmp-0.7.D001/bin/install -c -m 644 
> libdir/pkgconfig/fstrcmp.pc 
> /usr/ports/pobj/fstrcmp-0.7.D001/fake-amd64/usr/local/lib/pkgconfig/fstrcmp.pc
> /usr/ports/pobj/fstrcmp-0.7.D001/bin/install -c -m 0755 -d 
> /usr/ports/pobj/fstrcmp-0.7.D001/fake-amd64/usr/local/man
> /usr/ports/pobj/fstrcmp-0.7.D001/bin/install -c -m 0755 -d 
> /usr/ports/pobj/fstrcmp-0.7.D001/fake-amd64/usr/local/man/man1
> -I. man/man1/fstrcmp.1 | sed '/^[.]XX ./d' >  man/man1/fstrcmp.1.tmp
> /bin/sh: /bin/sh: -I: unknown option
> *** Error 1 in /usr/ports/pobj/fstrcmp-0.7.D001/fstrcmp-0.7.D001 
> (Makefile:320 
> '/usr/ports/pobj/fstrcmp-0.7.D001/fake-amd64/usr/local/man/man1/fstrcmp.1')
> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3041 
> '/usr/ports/pobj/fstrcmp-0.7.D001/fake-amd64/.fake_done': @cd 
> /usr/ports/pob...)
> *** Error 2 in /usr/ports/mystuff/devel/fstrcmp 
> (/usr/ports/infrastructure/mk/bsd.port.mk:2602 'fake': 
> @lock=fstrcmp-0.7.D001;  export _LOCK...)
> 
> Full log of `make fake` at https://thfr.info/tmp/fstrcmp-install-error.txt

Ah, yes. There was a missing build depends. Thanks.


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


UPDATE: fmt 8.0.1

2021-10-02 Thread Brad Smith
Here is an update to fmt 8.0.1.


Index: Makefile
===
RCS file: /home/cvs/ports/devel/fmt/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- Makefile30 Jan 2021 15:37:05 -  1.2
+++ Makefile27 Sep 2021 00:51:24 -
@@ -4,9 +4,9 @@ COMMENT=alternative formatting library
 
 GH_ACCOUNT=fmtlib
 GH_PROJECT=fmt
-GH_TAGNAME=7.1.3
+GH_TAGNAME=8.0.1
 
-SHARED_LIBS=   fmt 0.0
+SHARED_LIBS=   fmt 1.0
 
 CATEGORIES=devel
 
Index: distinfo
===
RCS file: /home/cvs/ports/devel/fmt/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo2 Jan 2021 21:51:19 -   1.1.1.1
+++ distinfo27 Sep 2021 00:40:13 -
@@ -1,2 +1,2 @@
-SHA256 (fmt-7.1.3.tar.gz) = XK5wcgQrMEPhLVPVDvQEu7dpSdrR3jaNf5k6FcjAXsw=
-SIZE (fmt-7.1.3.tar.gz) = 770029
+SHA256 (fmt-8.0.1.tar.gz) = sGyjEwFYxiWEjz+3QY8jUVWk04myq8OmJF+wHLDrHgE=
+SIZE (fmt-8.0.1.tar.gz) = 805616
Index: patches/patch-CMakeLists_txt
===
RCS file: /home/cvs/ports/devel/fmt/patches/patch-CMakeLists_txt,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt30 Jan 2021 15:37:05 -  1.1
+++ patches/patch-CMakeLists_txt27 Sep 2021 00:41:43 -
@@ -7,15 +7,15 @@ over LDFLAGS.
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -59,6 +59,7 @@ set_verbose(FMT_INC_DIR ${CMAKE_INSTALL_INCLUDEDIR} CA
+@@ -72,6 +72,7 @@ set_verbose(FMT_INC_DIR ${CMAKE_INSTALL_INCLUDEDIR} CA
  option(FMT_PEDANTIC "Enable extra warnings and expensive tests." OFF)
  option(FMT_WERROR "Halt the compilation with an error on compiler warnings."
 OFF)
 +option(AS_NEEDED "Use -Wl,--as-needed for linking." ON)
  
  # Options that control generation of various targets.
- option(FMT_DOC "Generate the doc target." ${MASTER_PROJECT})
-@@ -233,7 +234,7 @@ endif ()
+ option(FMT_DOC "Generate the doc target." ${FMT_MASTER_PROJECT})
+@@ -281,7 +282,7 @@ endif ()
  
  if (BUILD_SHARED_LIBS)
if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" AND
Index: patches/patch-test_gtest-extra-test_cc
===
RCS file: /home/cvs/ports/devel/fmt/patches/patch-test_gtest-extra-test_cc,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-test_gtest-extra-test_cc
--- patches/patch-test_gtest-extra-test_cc  2 Jan 2021 21:51:19 -   
1.1.1.1
+++ patches/patch-test_gtest-extra-test_cc  27 Sep 2021 00:58:13 -
@@ -3,22 +3,7 @@ $OpenBSD: patch-test_gtest-extra-test_cc
 Index: test/gtest-extra-test.cc
 --- test/gtest-extra-test.cc.orig
 +++ test/gtest-extra-test.cc
-@@ -22,14 +22,6 @@
- 
- namespace {
- 
--// This is used to suppress coverity warnings about untrusted values.
--std::string sanitize(const std::string& s) {
--  std::string result;
--  for (std::string::const_iterator i = s.begin(), end = s.end(); i != end; 
++i)
--result.push_back(static_cast(*i & 0xff));
--  return result;
--}
--
- // Tests that assertion macros evaluate their arguments exactly once.
- class SingleEvaluationTest : public ::testing::Test {
-  protected:
-@@ -369,6 +361,10 @@ TEST(OutputRedirectTest, FlushErrorInCtor) {
+@@ -345,6 +345,10 @@ TEST(output_redirect_test, flush_error_in_ctor) {
write_copy.dup2(write_fd);  // "undo" close or dtor will fail
  }
  
@@ -26,25 +11,14 @@ Index: test/gtest-extra-test.cc
 +// NOTE(fagg): There's some bug in this test. Can't find it.
 +// Upstream suggests it doesn't matter so lets leave this compiled
 +// out for now while i work on figuring it out.
- TEST(OutputRedirectTest, DupErrorInCtor) {
+ TEST(output_redirect_test, dup_error_in_ctor) {
buffered_file f = open_buffered_file();
int fd = (f.fileno)();
-@@ -380,6 +376,7 @@ TEST(OutputRedirectTest, DupErrorInCtor) {
+@@ -356,6 +360,7 @@ TEST(output_redirect_test, dup_error_in_ctor) {
fmt::format("cannot duplicate file descriptor {}", fd));
copy.dup2(fd);  // "undo" close or dtor will fail
  }
 +#endif
  
- TEST(OutputRedirectTest, RestoreAndRead) {
+ TEST(output_redirect_test, restore_and_read) {
file read_end, write_end;
-@@ -388,8 +385,8 @@ TEST(OutputRedirectTest, RestoreAndRead) {
-   std::fprintf(file.get(), "[[[");
-   OutputRedirect redir(file.get());
-   std::fprintf(file.get(), "censored");
--  EXPECT_EQ("censored", sanitize(redir.restore_and_read()));
--  EXPECT_EQ("", sanitize(redir.restore_and_read()));
-+  EXPECT_EQ("censored", redir.restore_and_read());
-+  EXPECT_EQ("", redir.restore_and_read());
-   std::fprintf(file.get(), "]]]");
-   file = buffered_file();
-   EXPECT_READ(read_end, "[[[]]]");
Index: patches/patch-test_posix-mock-test_cc

UPDATE: libgnt 2.14.3

2021-10-02 Thread Brad Smith
I reported an issue and they fixed the missing option to disable Python.

version 2.14.3 (2021/09/25):
* Added an option to disable python2 support. (LIBGNT-16) (RR 930) (Gary
  Kramlich)
* Add an option to disable building the docs. (LIBGNT-17) (RR 945) 
(Helmut
  Grohne, Gary Kramlich)

Index: Makefile
===
RCS file: /home/cvs/ports/devel/libgnt/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- Makefile8 Sep 2021 18:54:38 -   1.2
+++ Makefile26 Sep 2021 04:14:23 -
@@ -2,7 +2,7 @@
 
 COMMENT=   ncurses toolkit for text-mode graphical user interfaces
 
-VER=   2.14.2
+VER=   2.14.3
 DISTNAME=  libgnt-${VER}
 CATEGORIES=devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pidgin/libgnt/${VER}/}
@@ -25,6 +25,8 @@ BUILD_DEPENDS=devel/gettext,-tools \
textproc/gtk-doc
 LIB_DEPENDS=   devel/glib2 \
textproc/libxml
+
+CONFIGURE_ARGS+=-Dpython2=false
 
 NO_TEST=   Yes
 
Index: distinfo
===
RCS file: /home/cvs/ports/devel/libgnt/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo8 Sep 2021 09:13:58 -   1.1.1.1
+++ distinfo26 Sep 2021 04:12:42 -
@@ -1,2 +1,2 @@
-SHA256 (libgnt-2.14.2.tar.xz) = Yc90sU7vEIaLLYkul1qnhhTwlMj00w39Gq7fUuYSDnU=
-SIZE (libgnt-2.14.2.tar.xz) = 106128
+SHA256 (libgnt-2.14.3.tar.xz) = V/VFf3KZnQuxoTmjfydG7BtaAsCU8nEKM52LzqQjYSM=
+SIZE (libgnt-2.14.3.tar.xz) = 106388
Index: patches/patch-meson_build
===
RCS file: patches/patch-meson_build
diff -N patches/patch-meson_build
--- patches/patch-meson_build   8 Sep 2021 09:13:58 -   1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,28 +0,0 @@
-$OpenBSD: patch-meson_build,v 1.1.1.1 2021/09/08 09:13:58 landry Exp $
-
-Index: meson.build
 meson.build.orig
-+++ meson.build
-@@ -190,13 +190,6 @@ libgnt_headers = [
-   'gnt.h'
- ]
- 
--# Check for Python headers
--python_dep = dependency('python2', required : false)
--if not python_dep.found()
--  python_dep = dependency('python-2.7', required : false)
--endif
--gnt_config.set('USE_PYTHON', python_dep.found())
--
- configure_file(output : 'gntconfig.h',
- configuration : gnt_config)
- 
-@@ -219,7 +212,7 @@ libgnt = library('gnt',
-  version : '@0@.@1@.@2@'.format(gnt_soversion,
- gnt_minor_version,
- gnt_micro_version),
-- dependencies : [ncurses, libxml, glib, gobject, gmodule, 
python_dep])
-+ dependencies : [ncurses, libxml, glib, gobject, gmodule])
- libgnt_dep = declare_dependency(
- include_directories : libgnt_inc,
- link_with : libgnt,



NEW: rapidjson 1.1.0

2021-10-02 Thread Brad Smith
Attached is a port of rapidjson.

Comment:
JSON parser/generator for C++ with both SAX/DOM style API

Description:
RapidJSON is a JSON parser and generator for C++.  It supports both SAX
and DOM style API.


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


NEW: spdlog 1.9.2

2021-10-02 Thread Brad Smith
Attached is a port of spdlog.

Comment:
super fast C++ logging library

Description:
Super fast C++ logging library.


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


NEW: libcrossguid 0.2.2

2021-10-02 Thread Brad Smith
Attached is a port of libcrossguid.

Comment:
minimal and cross platform C++ GUID library

Description:
CrossGuid is a minimal, cross platform, C++ GUID library.  It uses the
best native GUID/UUID generator on the given platform and had a generic
class for parsing, stringifying, and comparing IDs.


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


NEW: fstrcmp 0.7.D001

2021-10-02 Thread Brad Smith
Attached is a port of fstrcmp.

Comment:
library for fuzzy string comparisons

Description:
The fstrcmp package provides a library which may be used to make
fuzzy comparisons of strings and byte arrays. It also provides
simple commands for use in shell scripts.


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


UPDATE: libstrophe - endian issue build fix for sparc64

2021-09-24 Thread Brad Smith
Fix build issue on sparc64.

http://build-failures.rhaalovely.net/sparc64/2021-09-18/net/libstrophe.log


In file included from src/sha256.c:6:
src/sha.h:90:2: error: #error Unknown endianness not supported
src/sha256.c: In function 'sha256_compress':
src/sha256.c:30: warning: implicit declaration of function 'LOAD32H'
src/sha256.c: In function 'sha256_done':
src/sha256.c:195: warning: implicit declaration of function 'STORE64H'
src/sha256.c:200: warning: implicit declaration of function 'STORE32H'


Index: Makefile
===
RCS file: /cvs/ports/net/libstrophe/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile10 Sep 2021 04:30:50 -  1.5
+++ Makefile20 Sep 2021 04:55:30 -
@@ -4,6 +4,7 @@ COMMENT =   simple, lightweight XMPP C lib
 
 V =0.10.1
 DISTNAME = libstrophe-${V}
+REVISION = 0
 
 SHARED_LIBS =  strophe 3.0 # 1.0
 
Index: patches/patch-src_sha_h
===
RCS file: patches/patch-src_sha_h
diff -N patches/patch-src_sha_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_sha_h 20 Sep 2021 04:55:30 -
@@ -0,0 +1,35 @@
+$OpenBSD$
+
+Index: src/sha.h
+--- src/sha.h.orig
 src/sha.h
+@@ -8,6 +8,7 @@
+ #ifndef __LIBSTROPHE_SHA_H__
+ #define __LIBSTROPHE_SHA_H__
+ 
++#include 
+ #include 
+ 
+ #ifdef __cplusplus
+@@ -19,7 +20,9 @@ extern "C" {
+ 
+ #if defined(__BIG_ENDIAN__) ||   \
+ (defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__) && \
+- __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
++ __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) || \
++(defined(BYTE_ORDER) && defined(BIG_ENDIAN) && \
++ BYTE_ORDER == BIG_ENDIAN)
+ 
+ #define STORE32H(x, y)  \
+ do {\
+@@ -46,7 +49,9 @@ extern "C" {
+ 
+ #elif defined(__LITTLE_ENDIAN__) || \
+ (defined(__BYTE_ORDER__) && defined(__ORDER_LITTLE_ENDIAN__) && \
+- __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
++ __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) || \
++(defined(BYTE_ORDER) && defined(LITTLE_ENDIAN) && \
++ BYTE_ORDER == LITTLE_ENDIAN)
+ 
+ #define STORE32H(x, y) \
+ do {   \



<    1   2   3   4   5   6   7   8   9   10   >