sparc64 bulk build report

2023-01-05 Thread kmos
Bulk build on sparc64-0a.ports.openbsd.org

Started : Mon Jan  2 03:05:44 MST 2023
Finished: Thu Jan  5 21:19:11 MST 2023
Duration: 3 Days 18 hours 13 minutes

Built using OpenBSD 7.2-current (GENERIC.MP) #1578: Sat Dec 31 14:17:49 MST 2022

Built 9312 packages

Number of packages built each day:
Jan 2: 333
Jan 3: 5604
Jan 4: 2795
Jan 5: 580



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

Build failures: 40
http://build-failures.rhaalovely.net/sparc64/2023-01-02/astro/calcmysky.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/audio/espeak.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/cad/oce.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/databases/citus.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/devel/abseil-cpp.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/devel/avr/gcc.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/devel/clang-tools-extra.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/devel/difftastic.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/devel/kf5/kglobalaccel.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/devel/py-thrift,python3.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/devel/qcoro.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/devel/riscv-elf/gcc.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/devel/xsd.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/games/arx-libertatis.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/games/cataclysm-dda,no_x11.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/games/libgdx/1.9.11.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/geo/pdal.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/graphics/aspect-crop.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/graphics/birdfont.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/graphics/gimp/snapshot.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/graphics/opencolorio.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/graphics/posterazor.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/graphics/pstoedit.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/inputmethods/libime.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/mail/mu.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/math/openfst.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/math/py-scipy,python3.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/misc/open62541.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/multimedia/gstreamer1/plugins-bad.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/multimedia/mpv.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/productivity/gnucash.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/security/veracrypt.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/sysutils/u-boot-asahi.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/textproc/libmarisa,,-main.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/textproc/xxdiff.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/www/havp.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/www/hiawatha.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/x11/gnome/gjs.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/x11/qt5/qttranslations.log
http://build-failures.rhaalovely.net/sparc64/2023-01-02/x11/qt6/qtdeclarative.log

Recurrent failures:
 failures/astro/calcmysky.log
 failures/audio/espeak.log
 failures/cad/oce.log
 failures/databases/citus.log
 failures/devel/abseil-cpp.log
 failures/devel/avr/gcc.log
 failures/devel/clang-tools-extra.log
 failures/devel/difftastic.log
 failures/devel/py-thrift,python3.log
 failures/devel/qcoro.log
 failures/devel/xsd.log
 failures/games/arx-libertatis.log
 failures/geo/pdal.log
 failures/graphics/aspect-crop.log
 failures/graphics/birdfont.log
 failures/graphics/gimp/snapshot.log
 failures/graphics/opencolorio.log
 failures/graphics/posterazor.log
 failures/graphics/pstoedit.log
 failures/inputmethods/libime.log
 failures/mail/mu.log
 failures/misc/open62541.log
 failures/multimedia/mpv.log
 failures/productivity/gnucash.log
 failures/security/veracrypt.log
 failures/sysutils/u-boot-asahi.log
 failures/textproc/xxdiff.log
 failures/www/havp.log
 failures/www/hiawatha.log
 failures/x11/gnome/gjs.log
 failures/x11/qt5/qttranslations.log
 failures/x11/qt6/qtdeclarative.log

New failures:
+failures/devel/kf5/kglobalaccel.log
+failures/devel/riscv-elf/gcc.log
+failures/games/cataclysm-dda,no_x11.log
+failures/games/libgdx/1.9.11.log
+failures/math/openfst.log
+failures/math/py-scipy,python3.log
+failures/multimedia/gstreamer1/plugins-bad.log
+failures/textproc/libmarisa,,-main.log

Resolved failures:
-failures/audio/d11amp.log
-failures/audio/ocp.log

Re: [UPDATE] lang/ocaml 4.14.1

2023-01-05 Thread Daniel Dickman



> On Jan 5, 2023, at 10:08 AM, Volker Schlecht  
> wrote:
> 
> Cc: anil@, daniel@
> 
> Updated patch, now also tested on i386.
> 
> daniel@: I successfully rebuilt lang/compcert and all its dependencies on 
> i386 with ocaml 4.14.1

You should build all the ports that depend on ocaml NOT all the dependencies of 
compcert.

Usually ocaml and ALL ocaml ports need to be updated in lockstep (just like it 
says on lines 3&4 of lang/ocaml/Makefile).

But maybe I misunderstood what you did.

> 
> What I noticed:
> 
> * sysutils/findlib still needs ocamlbuild to build, and I still think it 
> should be a build dependency ;-)
> 
> * compcert tests fail with linker errors in test/abi
> 
> ld: error: can't create dynamic relocation R_386_32 against local symbol in 
> readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' 
> to allow text relocations in the output
> >>> defined in fixed_def_compcert.o
> >>> referenced by fixed_def_compcert.o:(f14)
> 
> Those errors occur with
> 
> - compcert 3.10 built with ocaml 4.14.1
> - compcert 3.10 patched with Github PR #457, built with ocaml 4.14.1
> - compcert 3.12 (includes PR #457) built with ocaml 4.14.1
> - compcert 3.12 built with ocaml 4.12.1

Does the vanilla 3.10 compcert with the vanilla ocaml work? Or has something in 
the latest tree broken compcert?

If vanilla compxerr works I would get it upgraded to 3.12 first before tackling 
ocaml. That should be much easier.

Now typically with ocaml updates I go the other way. First update the dependent 
ocaml consumers that are known to have problems with the new ocaml (if any). 
Then update ocaml itself once EVERYTHING works under both new and old versions 
of ocaml.

One other thing (which I know is a pain) but I usually do not skip ocaml 
versions. I’m surprised the version you’ve proposed doesn’t have more problems. 
But maybe things in the ocaml world got better… on the other you didn’t list a 
number of ocaml ports as being part of your tests. So let me say this again, 
ocaml CANNOT be updated unless all ocaml consumers are build and run tested.

> 
> Here's the PR I hoped might fix it:
> https://github.com/AbsInt/CompCert/pull/457
> 
> Looks to me as if the lang/ocaml version has nothing to do with it, though.
> 
>> On 12/30/22 12:18, Volker Schlecht wrote:
>> Cc: anil@, daniel@
>> Here's an update to my original patch from
>> https://marc.info/?l=openbsd-ports=166369866628254
>> I still get clean rebuilds for
>> devel/ocaml-ocamlbuild
>> sysutils/findlib
>> devel/dune
>> devel/ocaml-cppo
>> devel/ocaml-menhir
>> sysutils/opam
>> math/ocaml-zarith
>> graphics/ocaml-graphics
>> x11/lablgtk2
>> graphics/ocaml-cairo
>> x11/lablgtk3
>> math/coq
>> I'm not familiar with lang/compcert, but I think there's a reasonable 
>> indication that testing it with ocaml 4.14.1 may be worthwhile.
>> Anyone willing to have a look?
> 



Re: [UPDATE] lang/ocaml 4.14.1

2023-01-05 Thread Daniel Dickman
> 
> 
> What I noticed:
> 
> * sysutils/findlib still needs ocamlbuild to build, and I still think it 
> should be a build dependency ;-)


Disagree.

Hint. I think it is the clean target that is the problem.




Re: UPDATE: lighttpd 1.4.68

2023-01-05 Thread Brad Smith
On Thu, Jan 05, 2023 at 03:24:05PM -0500, Brad Smith wrote:
> Here is an update to lighttpd 1.4.68.
> 
> Also a conversion to using CMake and I noticed there was PostgreSQL
> support so added that as well.
> 
> https://www.lighttpd.net/2023/1/3/1.4.68/

Send proper up to date diff.


Index: Makefile
===
RCS file: /home/cvs/ports/www/lighttpd/Makefile,v
retrieving revision 1.172
diff -u -p -u -p -r1.172 Makefile
--- Makefile8 Nov 2022 11:17:18 -   1.172
+++ Makefile5 Jan 2023 20:31:07 -
@@ -1,10 +1,9 @@
 COMMENT=   secure, fast, compliant, and very flexible web-server
 
-DISTNAME=  lighttpd-1.4.67
+DISTNAME=  lighttpd-1.4.68
 CATEGORIES=www net
 MASTER_SITES=  https://download.lighttpd.net/lighttpd/releases-1.4.x/
 EXTRACT_SUFX=  .tar.xz
-REVISION=  0
 
 HOMEPAGE=  https://www.lighttpd.net/
 
@@ -15,42 +14,45 @@ PERMIT_PACKAGE= Yes
 
 WANTLIB=   c crypto m pcre2-8 ssl z ${MODLUA_WANTLIB}
 
-COMPILER=  base-clang ports-gcc base-gcc
+COMPILER=  base-clang ports-gcc
 
-MODULES=   lang/lua
+MODULES=   devel/cmake \
+   lang/lua
 MODLUA_SA= Yes
 
 LIB_DEPENDS+=  devel/pcre2 \
${MODLUA_LIB_DEPENDS}
 RUN_DEPENDS+=  www/spawn-fcgi
 
-LIBTOOL_FLAGS= --tag=disable-static
-CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS+= --libdir="${PREFIX}/lib/lighttpd" \
---with-lua \
---with-openssl
-CONFIGURE_ENV+=CC_FOR_BUILD="${CC}" \
-   CFLAGS_FOR_BUILD="${CFLAGS}" \
-   CPPFLAGS="-I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib" \
-   LUA_CFLAGS="`pkg-config --cflags ${MODLUA_DEP}`" \
-   LUA_LIBS="`pkg-config --libs ${MODLUA_DEP}`"
+CONFIGURE_ARGS+=-DWITH_LUA=ON \
+   -DWITH_LUA_VERSION=${MODLUA_DEP} \
+   -DWITH_OPENSSL=ON
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
 
-FLAVORS=   ldap mysql
+FLAVORS=   ldap mysql pgsql
 FLAVOR?=
 
 .if ${FLAVOR:Mldap}
-CONFIGURE_ARGS+= --with-ldap
+CONFIGURE_ARGS+= -DWITH_LDAP=ON
 LIB_DEPENDS+=  databases/openldap
 WANTLIB+=  lber ldap sasl2
 .endif
 
 .if ${FLAVOR:Mmysql}
-CONFIGURE_ARGS+= --with-mysql
+CONFIGURE_ARGS+= -DWITH_MYSQL=ON
 LIB_DEPENDS+=  databases/mariadb
-WANTLIB+=  mariadb pthread
+WANTLIB+=  mariadb
 .endif
 
+.if ${FLAVOR:Mpgsql}
+CONFIGURE_ARGS+= -DWITH_PGSQL=ON
+LIB_DEPENDS+=  databases/postgresql
+WANTLIB+=  pq
+.endif
+
+CFLAGS+=   -I${LOCALBASE}/include
+LDFLAGS+=  -L${LOCALBASE}/lib
+
 post-extract:
@cp -f ${FILESDIR}/lighttpd.conf ${WRKSRC}/doc
 
@@ -70,6 +72,5 @@ post-install:
${PREFIX}/share/examples/lighttpd/access.log
${INSTALL_DATA} /dev/null \
${PREFIX}/share/examples/lighttpd/error.log
-   rm -f ${PREFIX}/lib/lighttpd/*.la
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/www/lighttpd/distinfo,v
retrieving revision 1.70
diff -u -p -u -p -r1.70 distinfo
--- distinfo4 Oct 2022 11:34:23 -   1.70
+++ distinfo4 Jan 2023 15:13:45 -
@@ -1,2 +1,2 @@
-SHA256 (lighttpd-1.4.67.tar.xz) = fgTXZ/UajYJLMuJIPvKVCYKSDUJ9EnLvRmf0nW+J81g=
-SIZE (lighttpd-1.4.67.tar.xz) = 1039872
+SHA256 (lighttpd-1.4.68.tar.xz) = 5W83rlK2PhraTXbOeABa/7blbuova9sM4X1tNulYM4Q=
+SIZE (lighttpd-1.4.68.tar.xz) = 1030612
Index: files/lighttpd.conf
===
RCS file: /home/cvs/ports/www/lighttpd/files/lighttpd.conf,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 lighttpd.conf
--- files/lighttpd.conf 18 Aug 2010 11:16:55 -  1.1
+++ files/lighttpd.conf 6 Jan 2023 01:01:10 -
@@ -22,11 +22,9 @@ server.modules  = (
 #   "mod_evhost",
 #   "mod_userdir",
 #   "mod_cgi",
-#   "mod_compress",
+#   "mod_deflate",
 #   "mod_ssi",
-#   "mod_usertrack",
 #   "mod_expire",
-#   "mod_secdownload",
 #   "mod_rrdtool",
 "mod_accesslog" )
 
Index: patches/patch-doc_CMakeLists_txt
===
RCS file: patches/patch-doc_CMakeLists_txt
diff -N patches/patch-doc_CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-doc_CMakeLists_txt5 Jan 2023 20:10:31 -
@@ -0,0 +1,11 @@
+[cmake] add doc/CMakeLists.txt to dist tar ball (#3181)
+da8abbfad414f2f8078e0b50302d691f8b21bbe0
+
+Index: doc/CMakeLists.txt
+--- doc/CMakeLists.txt.orig
 doc/CMakeLists.txt
+@@ -0,0 +1,4 @@
++install(FILES
++  lighttpd.8
++  lighttpd-angel.8
++  DESTINATION ${CMAKE_INSTALL_MANDIR}/man8)
Index: 

CVS: cvs.openbsd.org: ports

2023-01-05 Thread Kevin Lo
CVSROOT:/cvs
Module name:ports
Changes by: ke...@cvs.openbsd.org   2023/01/05 17:51:51

Modified files:
devel/arm-compute-library: Makefile distinfo 
devel/arm-compute-library/patches: patch-SConscript 
   patch-SConstruct 
devel/arm-compute-library/pkg: PLIST 
Added files:
devel/arm-compute-library/patches: patch-include_libnpy_npy_hpp 

Log message:
Update to 22.11

Changelog: 
https://arm-software.github.io/ComputeLibrary/v22.11/versions_changelogs.xhtml#S2_2_changelog



Prepare for building Ruby 3.2 ports with native extensions by default

2023-01-05 Thread Jeremy Evans
Here is a patch to make some existing Ruby ports with native extensions
build or avoid warnings on Ruby 3.2. After committing this, I plan to
start building ruby32 FLAVORs for ruby gems with native extensions by
default.

Here are the ports affected:

* databases/ruby-tiny_tds (new version:2.1.5+patch)
* devel/ruby-prof (new version:1.4.5)
* sysutils/ruby-shadow (distpatches)
* www/ruby-passenger (patch)
* x11/ruby-tk (distpatch)

Additionally, this switches ruby-tk to use Tk 8.6 and use MODTK_WANTLIB.
I think that part was from stu@ a while back. 

I plan to commit this in a couple days unless I hear objections.

Thanks,
Jeremy

Index: databases/ruby-tiny_tds/Makefile
===
RCS file: /cvs/ports/databases/ruby-tiny_tds/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- databases/ruby-tiny_tds/Makefile11 Mar 2022 18:31:46 -  1.21
+++ databases/ruby-tiny_tds/Makefile6 Jan 2023 00:33:46 -
@@ -1,6 +1,6 @@
 COMMENT =  simple and fast ruby binding to FreeTDS
 
-DISTNAME = tiny_tds-2.1.4
+DISTNAME = tiny_tds-2.1.5
 CATEGORIES =   databases
 
 HOMEPAGE = https://github.com/rails-sqlserver/tiny_tds
Index: databases/ruby-tiny_tds/distinfo
===
RCS file: /cvs/ports/databases/ruby-tiny_tds/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- databases/ruby-tiny_tds/distinfo21 May 2021 22:27:05 -  1.10
+++ databases/ruby-tiny_tds/distinfo6 Jan 2023 00:33:50 -
@@ -1,2 +1,2 @@
-SHA256 (tiny_tds-2.1.4.gem) = xniC7Qs5QWi1gvk8e8RtmekzyGAH84OkBqyEksS/hzs=
-SIZE (tiny_tds-2.1.4.gem) = 62464
+SHA256 (tiny_tds-2.1.5.gem) = yYtl9VoRW+q7rkFhei8UYiaCNaKGCN3Agzb/wm8vyhk=
+SIZE (tiny_tds-2.1.5.gem) = 62976
Index: databases/ruby-tiny_tds/patches/patch-ext_tiny_tds_result_c
===
RCS file: databases/ruby-tiny_tds/patches/patch-ext_tiny_tds_result_c
diff -N databases/ruby-tiny_tds/patches/patch-ext_tiny_tds_result_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ databases/ruby-tiny_tds/patches/patch-ext_tiny_tds_result_c 6 Jan 2023 
00:31:42 -
@@ -0,0 +1,13 @@
+Avoid warning on Ruby 3.2+.
+
+Index: ext/tiny_tds/result.c
+--- ext/tiny_tds/result.c.orig
 ext/tiny_tds/result.c
+@@ -582,6 +582,7 @@ void init_tinytds_result() {
+   cDate = rb_const_get(rb_cObject, rb_intern("Date"));
+   /* Define TinyTds::Result */
+   cTinyTdsResult = rb_define_class_under(mTinyTds, "Result", rb_cObject);
++  rb_undef_alloc_func(cTinyTdsResult);
+   /* Define TinyTds::Result Public Methods */
+   rb_define_method(cTinyTdsResult, "fields", rb_tinytds_result_fields, 0);
+   rb_define_method(cTinyTdsResult, "each", rb_tinytds_result_each, -1);
Index: devel/ruby-prof/Makefile
===
RCS file: /cvs/ports/devel/ruby-prof/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- devel/ruby-prof/Makefile11 Mar 2022 18:53:17 -  1.18
+++ devel/ruby-prof/Makefile5 Jan 2023 23:10:51 -
@@ -1,7 +1,7 @@
 COMMENT =  fast code profiler for Ruby
 
 DISTNAME = ruby-${PKGNAME}
-PKGNAME =  prof-1.0.0
+PKGNAME =  prof-1.4.5
 CATEGORIES =   devel
 
 HOMEPAGE = https://github.com/ruby-prof/ruby-prof
Index: devel/ruby-prof/distinfo
===
RCS file: /cvs/ports/devel/ruby-prof/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- devel/ruby-prof/distinfo12 Nov 2019 06:42:43 -  1.5
+++ devel/ruby-prof/distinfo5 Jan 2023 23:10:56 -
@@ -1,2 +1,2 @@
-SHA256 (ruby-prof-1.0.0.gem) = qFhb5wR3VaQOebJVTggqPhX6IS/XcuOAQBoZ0seugyk=
-SIZE (ruby-prof-1.0.0.gem) = 79872
+SHA256 (ruby-prof-1.4.5.gem) = njFkxu8KnDAcn+OeHU6K4jY849mhdxTGNyXdUP8awSY=
+SIZE (ruby-prof-1.4.5.gem) = 90624
Index: devel/ruby-prof/pkg/PLIST
===
RCS file: /cvs/ports/devel/ruby-prof/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- devel/ruby-prof/pkg/PLIST   11 Mar 2022 18:53:17 -  1.6
+++ devel/ruby-prof/pkg/PLIST   5 Jan 2023 23:23:34 -
@@ -4,7 +4,7 @@ ${GEM_LIB}/cache/${DISTNAME}.gem
 ${GEM_LIB}/gems/${DISTNAME}/
 ${GEM_LIB}/gems/${DISTNAME}/CHANGES
 ${GEM_LIB}/gems/${DISTNAME}/LICENSE
-${GEM_LIB}/gems/${DISTNAME}/README.rdoc
+${GEM_LIB}/gems/${DISTNAME}/README.md
 ${GEM_LIB}/gems/${DISTNAME}/Rakefile
 ${GEM_LIB}/gems/${DISTNAME}/bin/
 ${GEM_LIB}/gems/${DISTNAME}/bin/ruby-prof
@@ -13,12 +13,11 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/
 ${GEM_LIB}/gems/${DISTNAME}/lib/ruby-prof/
 ${GEM_LIB}/gems/${DISTNAME}/lib/ruby-prof.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/ruby-prof/assets/
-${GEM_LIB}/gems/${DISTNAME}/lib/ruby-prof/assets/call_stack_printer.css.html
-${GEM_LIB}/gems/${DISTNAME}/lib/ruby-prof/assets/call_stack_printer.js.html

net/libtorrent-rasterbar: drop patches, use saner cmake

2023-01-05 Thread Klemens Nanni
No need to fiddle around with static/shared or boost/python bits in the
autoconf system when cmake just gets it right.

cmake does not build egg files by default (there's an option, though).

No symbol changes as per /usr/src/lib/check_sym.

The current autoconf build links against system boost as well,
with cmake only the python boost library is used.
This looks like a needless extra in the autoconf version.

No static library besides the dynamic one anymore, but I don't see that
as a problem.

Tests pass and qbittorrent on amd64 keeps working as before.

Feedback? OK?

Index: Makefile
===
RCS file: /cvs/ports/net/libtorrent-rasterbar/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile5 Jan 2023 22:55:39 -   1.25
+++ Makefile5 Jan 2023 23:12:37 -
@@ -1,8 +1,8 @@
 COMMENT =  C++ library implementing a BitTorrent client
 
-MODPY_EGG_VERSION =1.2.17
-DISTNAME = libtorrent-rasterbar-${MODPY_EGG_VERSION}
-REVISION = 1
+V =1.2.17
+DISTNAME = libtorrent-rasterbar-${V}
+REVISION = 2
 
 SHARED_LIBS += torrent-rasterbar 6.0   # 10.0.0
 
@@ -13,15 +13,14 @@ HOMEPAGE =  https://libtorrent.org/
 # BSD3
 PERMIT_PACKAGE =   Yes
 
-WANTLIB += ${COMPILER_LIBCXX} boost_python${MODPY_MAJORMINOR}
-WANTLIB += boost_system boost_system-mt crypto iconv m ssl
+WANTLIB += ${COMPILER_LIBCXX} boost_python${MODPY_MAJORMINOR}-mt crypto iconv
+WANTLIB += m ssl
 
-MASTER_SITES = 
https://github.com/arvidn/libtorrent/releases/download/v${MODPY_EGG_VERSION}/
+MASTER_SITES = 
https://github.com/arvidn/libtorrent/releases/download/v${V}/
 
-MODULES =  lang/python
-
-MODPY_PYBUILD =setuptools
-MODPY_PYTEST = No
+# cmake must come first for correct do-* targets
+MODULES =  devel/cmake \
+   lang/python
 
 BUILD_DEPENDS =devel/libtool
 
@@ -31,33 +30,10 @@ LIB_DEPENDS =   converters/libiconv \
 # boost
 COMPILER = base-clang ports-gcc
 
-CONFIGURE_STYLE =  gnu
-
-CONFIGURE_ARGS =   --enable-python-binding \
-   --enable-tests \
-   --with-boost-system=boost_system-mt \
-   --with-boost-python=boost_python${MODPY_MAJORMINOR}-mt \
-   --with-libiconv
+CONFIGURE_ARGS =   -Dpython-bindings=ON \
+   -Dbuild_tests=ON
 
 # https://github.com/arvidn/libtorrent/issues/6468
-CONFIGURE_ARGS +=  --with-cxx-standard=17
-
-.ifdef DEBUG
-CONFIGURE_ARGS +=  --enable-debug
-.endif
-
-post-patch:
-   ${SUBST_CMD} ${WRKSRC}/Jamfile
-
-pre-configure:
-   sed -i 's,-Os,,g' ${WRKSRC}/configure
-
-pre-test:
-   ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
-
-EGG =  ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/libtorrent-*.egg
-post-install:
-   mv ${EGG}/libtorrent.${MODPY_PYC_MAGIC_TAG}so ${EGG}/..
-   rm -rf ${EGG}
+CONFIGURE_ARGS +=  -DCMAKE_CXX_STANDARD=17
 
 .include 
Index: patches/patch-Jamfile
===
RCS file: patches/patch-Jamfile
diff -N patches/patch-Jamfile
--- patches/patch-Jamfile   12 Aug 2022 16:56:56 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,54 +0,0 @@
-libtorrent.cpython-*.so fails to load libtorrent-rasterbar.so.10.0.0.
-Give it the proper SHARED_LIB.
-
-Add include path to find boost headers.
-
-commit 1ec11e4e9b2d12d26f4661a14743822c91d76003
-from: arvidn 
-date: Fri Jul 22 22:12:42 2022 UTC
-via: Arvid Norberg 
-
-back-port Jamfile version fix from RC_2_0
-
-Index: Jamfile
 Jamfile.orig
-+++ Jamfile
-@@ -18,6 +18,8 @@ ECHO "CXXFLAGS =" $(CXXFLAGS) ;
- ECHO "LDFLAGS =" $(LDFLAGS) ;
- ECHO "OS =" [ os.name ] ;
- 
-+jam-version = [ modules.peek : JAM_VERSION ] ;
-+
- if $(BOOST_ROOT)
- {
-   ECHO "building boost from source directory: " $(BOOST_ROOT) ;
-@@ -46,7 +48,7 @@ else
- 
- # we need version numbers in the form X.Y.Z in order to trigger the built-in
- # support for generating symlinks to the installed library
--VERSION = 10.0.0 ;
-+VERSION = ${LIBtorrent-rasterbar_VERSION} ;
- 
- rule linking ( properties * )
- {
-@@ -756,6 +758,7 @@ ED25519_SOURCES =
- local usage-requirements =
-   ./include
-   ./include/libtorrent
-+  ${LOCALBASE}/include
-   /usr/sfw/include
-   release:NDEBUG
-   _FILE_OFFSET_BITS=64
-@@ -823,8 +826,10 @@ rule install-paths ( properties * )
-   # package.paths was introduced in boost-1.70 (2018.02)
-   # however, boost build's versioning scheme changed in boost-1.71 to 
version
-   # 4.0
--  local boost-build-version = [ SPLIT_BY_CHARACTERS [ version.boost-build 
] : "-" ] ;
--  if [ version.version-less [ SPLIT_BY_CHARACTERS 
$(boost-build-version[1]) : "." ] : 2018 03 ]
-+  # so, if versions are 4.0+ 

audio/d11amp: 0.59 -> 0.61

2023-01-05 Thread Thomas Dettbarn

Hello!

So, my little project d11amp saw its release 0.60, and a very short 
while later,

release 0.61. So please do not be alarmed about missing a release. :)

You can find my patch to the OpenBSD ports tree attached to this Email.

Changelog:

* Improved Playlist
* Improved Keyboard Control
* Improved Audio Output options


Enjoy!


Thomas Dettbarn
diff --git a/audio/d11amp/Makefile b/audio/d11amp/Makefile
index 27a38c7944a..5e3e142e4b7 100644
--- a/audio/d11amp/Makefile
+++ b/audio/d11amp/Makefile
@@ -1,6 +1,6 @@
-COMMENT=	simple MP3 player
+COMMENT=	Simple MP3 player
 
-V=		0.59
+V=		0.61
 DISTNAME=	d11amp_${V}
 PKGNAME=	d11amp-${V}
 EXTRACT_SUFX=	.tar.bz2
@@ -19,15 +19,21 @@ WANTLIB += pango-1.0 pangocairo-1.0 portaudio pthread zip
 MASTER_SITES=	https://www.dettus.net/d11amp/
 
 LIB_DEPENDS=	graphics/gdk-pixbuf2	\
-		x11/gtk+4		\
+		x11/gtk+4	\
 		archivers/libzip	\
 		audio/mpg123		\
-		audio/portaudio-svn
-
+		audio/portaudio-svn		
+	
+MAKE_FLAGS=	CC="${CC}" CFLAGS="${CFLAGS}"
 FAKE_FLAGS=	INSTALLMAN="${WRKINST}${PREFIX}/man"
+
 TEST_ENV=	SHA256_CMD=sha256 TMP_DIR=/tmp/d11amp/
 TEST_TARGET=	check
 
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/d11amp ${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/d11amp.1 ${PREFIX}/man/man1/
+
 .include 
 
 
diff --git a/audio/d11amp/distinfo b/audio/d11amp/distinfo
index 2b8a6ba1faf..4ffc8edd878 100644
--- a/audio/d11amp/distinfo
+++ b/audio/d11amp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (d11amp_0.59.tar.bz2) = WW/ij9KgiYv/8Aqlt5RXYz5z51JrhmtphBnBNASemEE=
-SIZE (d11amp_0.59.tar.bz2) = 73479
+SHA256 (d11amp_0.61.tar.bz2) = wOtBbAMwd7GV3cJKnSMum/qAb7d3tXKA5/gztiZ87Qk=
+SIZE (d11amp_0.61.tar.bz2) = 76507
diff --git a/audio/d11amp/patches/patch-Makefile b/audio/d11amp/patches/patch-Makefile
deleted file mode 100644
index 4a2b5bad1b1..000
--- a/audio/d11amp/patches/patch-Makefile
+++ /dev/null
@@ -1,61 +0,0 @@
-Make the Makefile work in the ports tree.
 Makefile.orig	2022-12-07 18:40:47.911485894 +0100
-+++ Makefile	2022-12-07 18:46:14.805995288 +0100
-@@ -31,35 +31,36 @@
- 
- CC?=gcc
- AR?=ar
--CFLAGS= -O3 -Os
-+CFLAGS?= -O3 -Os
- #CFLAGS?=-O0 -g
- CFLAGS+=-Wall
- #CFLAGS+=-Werror
- PROJ_HOME=./
- INCFLAGS= -I$(PROJ_HOME)src/
- LINK=$(CC)
-+LINKFLAGS=""
- 
- # Library gdk-pixbuf
--LDFLAGS+= `pkg-config--libs gdk-pixbuf-2.0`
--CFLAGS+=  `pkg-config  --cflags gdk-pixbuf-2.0`
-+LINKFLAGS+= `pkg-config--libs gdk-pixbuf-2.0`
-+INCFLAGS+=  `pkg-config  --cflags gdk-pixbuf-2.0`
- 
- # Library: gtk4
--LDFLAGS+= `pkg-config--libs gtk4`
--CFLAGS+=  `pkg-config  --cflags gtk4`
-+LINKFLAGS+= `pkg-config--libs gtk4`
-+INCFLAGS+=  `pkg-config  --cflags gtk4`
- 
- # Library: libMPG123
--LDFLAGS+= `pkg-config--libs libmpg123`
--CFLAGS+=  `pkg-config  --cflags libmpg123`
-+LINKFLAGS+= `pkg-config--libs libmpg123`
-+INCFLAGS+=  `pkg-config  --cflags libmpg123`
- 
- # Library: portaudio
--LDFLAGS+= `pkg-config--libs portaudio-2.0`
--CFLAGS+=  `pkg-config  --cflags portaudio-2.0`
-+LINKFLAGS+= `pkg-config--libs portaudio-2.0`
-+INCFLAGS+=  `pkg-config  --cflags portaudio-2.0`
- 
- # Library: libzip
--LDFLAGS+= `pkg-config--libs libzip`
--CFLAGS+=  `pkg-config  --cflags libzip`
-+LINKFLAGS+= `pkg-config--libs libzip`
-+INCFLAGS+=  `pkg-config  --cflags libzip`
- 
--LDFLAGS+=-lpthread -lm
-+LINKFLAGS+=-lpthread -lm
- 
- 
- 
-@@ -125,7 +126,7 @@
- 	cp d11amp.1 $(INSTALLMAN)/man1/
- 
- d11amp: $(OBJFILES)
--	$(LINK) -o $@ $(OBJFILES) $(LDFLAGS)
-+	$(LINK) -o $@ $(OBJFILES) $(LDFLAGS) $(LINKFLAGS)
- 
- .c.o:
- 	$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_EXTRA) $(INCFLAGS) -c -o $@ $< 
diff --git a/audio/d11amp/patches/patch-d11amp_1 b/audio/d11amp/patches/patch-d11amp_1
deleted file mode 100644
index 0238836759d..000
--- a/audio/d11amp/patches/patch-d11amp_1
+++ /dev/null
@@ -1,17 +0,0 @@
-Typos in the manpage.
 d11amp.1.orig	2022-12-07 18:40:54.551637309 +0100
-+++ d11amp.1	2022-12-07 18:41:17.196146490 +0100
-@@ -30,11 +30,11 @@
- .Nm
- .Op --audiooutput.portaudio.device=NUMBER
- .br
--The audio output is being handled through the portaudio library. This allows to select any audio output present in the device on which
-+The audio output is being handled through the portaudio library. This allows one to select any audio output present in the device on which
- .Nm
- has been started. The outputs are identified through a number, and a list of available outputs can be seen by using a question mark instead of the number.
- .br
--The default audio output device can be adressed by using -1.
-+The default audio output device can be addressed by using -1.
- .Pp
- .Nm
- .Op --bsd
diff --git a/audio/d11amp/pkg/DESCR b/audio/d11amp/pkg/DESCR
index 7a103ebbda4..5105cae7000 100644
--- a/audio/d11amp/pkg/DESCR
+++ b/audio/d11amp/pkg/DESCR
@@ -1,2 +1,2 @@
-D11AMP is a frontend to MPG123, trying to resemble WinAmp, utilizing its
-treasure trove of themes.
+D11AMP is an oldskool MP3 player. In addition to being a frontend
+to mpg123, it can handle WinAMP's 

CVS: cvs.openbsd.org: ports

2023-01-05 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2023/01/05 15:55:39

Modified files:
net/libtorrent-rasterbar: Makefile 

Log message:
Replace handrolled version with MODPY_MAJORMINOR



CVS: cvs.openbsd.org: ports

2023-01-05 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2023/01/05 14:59:21

Modified files:
net/rsync  : Makefile distinfo 
net/rsync/patches: patch-authenticate_c patch-rsync_1_md 
   patch-rsyncd_conf_5_md 

Log message:
net/rsync: update to 3.2.7



CVS: cvs.openbsd.org: ports

2023-01-05 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2023/01/05 13:51:49

Modified files:
devel/jenkins/devel: Makefile distinfo 

Log message:
Update jenkins-devel to 2.385



UPDATE: lighttpd 1.4.68

2023-01-05 Thread Brad Smith
Here is an update to lighttpd 1.4.68.

Also a conversion to using CMake and I noticed there was PostgreSQL
support so added that as well.

https://www.lighttpd.net/2023/1/3/1.4.68/


Index: Makefile
===
RCS file: /home/cvs/ports/www/lighttpd/Makefile,v
retrieving revision 1.172
diff -u -p -u -p -r1.172 Makefile
--- Makefile8 Nov 2022 11:17:18 -   1.172
+++ Makefile5 Jan 2023 19:55:49 -
@@ -1,10 +1,9 @@
 COMMENT=   secure, fast, compliant, and very flexible web-server
 
-DISTNAME=  lighttpd-1.4.67
+DISTNAME=  lighttpd-1.4.68
 CATEGORIES=www net
 MASTER_SITES=  https://download.lighttpd.net/lighttpd/releases-1.4.x/
 EXTRACT_SUFX=  .tar.xz
-REVISION=  0
 
 HOMEPAGE=  https://www.lighttpd.net/
 
@@ -15,42 +14,45 @@ PERMIT_PACKAGE= Yes
 
 WANTLIB=   c crypto m pcre2-8 ssl z ${MODLUA_WANTLIB}
 
-COMPILER=  base-clang ports-gcc base-gcc
+COMPILER=  base-clang ports-gcc
 
-MODULES=   lang/lua
+MODULES=   devel/cmake \
+   lang/lua
 MODLUA_SA= Yes
 
 LIB_DEPENDS+=  devel/pcre2 \
${MODLUA_LIB_DEPENDS}
 RUN_DEPENDS+=  www/spawn-fcgi
 
-LIBTOOL_FLAGS= --tag=disable-static
-CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS+= --libdir="${PREFIX}/lib/lighttpd" \
---with-lua \
---with-openssl
-CONFIGURE_ENV+=CC_FOR_BUILD="${CC}" \
-   CFLAGS_FOR_BUILD="${CFLAGS}" \
-   CPPFLAGS="-I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib" \
-   LUA_CFLAGS="`pkg-config --cflags ${MODLUA_DEP}`" \
-   LUA_LIBS="`pkg-config --libs ${MODLUA_DEP}`"
+CONFIGURE_ARGS+=-DWITH_LUA=ON \
+   -DWITH_LUA_VERSION=${MODLUA_DEP} \
+   -DWITH_OPENSSL=ON
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
 
-FLAVORS=   ldap mysql
+FLAVORS=   ldap mysql pgsql
 FLAVOR?=
 
 .if ${FLAVOR:Mldap}
-CONFIGURE_ARGS+= --with-ldap
+CONFIGURE_ARGS+= -DWITH_LDAP=ON
 LIB_DEPENDS+=  databases/openldap
 WANTLIB+=  lber ldap sasl2
 .endif
 
 .if ${FLAVOR:Mmysql}
-CONFIGURE_ARGS+= --with-mysql
+CONFIGURE_ARGS+= -DWITH_MYSQL=ON
 LIB_DEPENDS+=  databases/mariadb
-WANTLIB+=  mariadb pthread
+WANTLIB+=  mariadb
 .endif
 
+.if ${FLAVOR:Mpgsql}
+CONFIGURE_ARGS+= -DWITH_PGSQL=ON
+LIB_DEPENDS+=  databases/postgresql
+WANTLIB+=  pq
+.endif
+
+CFLAGS+=   -I${LOCALBASE}/include
+LDFLAGS+=  -L${LOCALBASE}/lib
+
 post-extract:
@cp -f ${FILESDIR}/lighttpd.conf ${WRKSRC}/doc
 
@@ -70,6 +72,5 @@ post-install:
${PREFIX}/share/examples/lighttpd/access.log
${INSTALL_DATA} /dev/null \
${PREFIX}/share/examples/lighttpd/error.log
-   rm -f ${PREFIX}/lib/lighttpd/*.la
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/www/lighttpd/distinfo,v
retrieving revision 1.70
diff -u -p -u -p -r1.70 distinfo
--- distinfo4 Oct 2022 11:34:23 -   1.70
+++ distinfo4 Jan 2023 15:13:45 -
@@ -1,2 +1,2 @@
-SHA256 (lighttpd-1.4.67.tar.xz) = fgTXZ/UajYJLMuJIPvKVCYKSDUJ9EnLvRmf0nW+J81g=
-SIZE (lighttpd-1.4.67.tar.xz) = 1039872
+SHA256 (lighttpd-1.4.68.tar.xz) = 5W83rlK2PhraTXbOeABa/7blbuova9sM4X1tNulYM4Q=
+SIZE (lighttpd-1.4.68.tar.xz) = 1030612
Index: patches/patch-doc_CMakeLists_txt
===
RCS file: patches/patch-doc_CMakeLists_txt
diff -N patches/patch-doc_CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-doc_CMakeLists_txt4 Jan 2023 20:04:47 -
@@ -0,0 +1,11 @@
+[cmake] add doc/CMakeLists.txt to dist tar ball (#3181)
+da8abbfad414f2f8078e0b50302d691f8b21bbe0
+
+Index: doc/CMakeLists.txt
+--- doc/CMakeLists.txt.orig
 doc/CMakeLists.txt
+@@ -0,0 +1,4 @@
++install(FILES
++  lighttpd.8
++  lighttpd-angel.8
++  DESTINATION ${CMAKE_INSTALL_MANDIR}/man8)
Index: patches/patch-src_CMakeLists_txt
===
RCS file: patches/patch-src_CMakeLists_txt
diff -N patches/patch-src_CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_CMakeLists_txt5 Jan 2023 19:41:54 -
@@ -0,0 +1,56 @@
+Index: src/CMakeLists.txt
+--- src/CMakeLists.txt.orig
 src/CMakeLists.txt
+@@ -37,6 +37,7 @@ option(WITH_KRB5 "with Kerberos5-support for mod_auth 
+ option(WITH_LDAP "with LDAP-support for mod_auth mod_vhostdb_ldap [default: 
off]")
+ option(WITH_PAM "with PAM-support for mod_auth [default: off]")
+ option(WITH_LUA "with lua for mod_magnet [default: off]")
++option(WITH_LUA_VERSION "specify lua version for mod_magnet")
+ # option(WITH_VALGRIND "with internal support for valgrind [default: off]")
+ option(WITH_FAM "fam/gamin for reducing number of stat() calls [default: 
off]")
+ option(WITH_LIBDEFLATE "with libdeflate-support for mod_deflate [default: 
off]")
+@@ -333,15 +334,10 @@ endif()
+ 
+ if(WITH_MYSQL)
+  

Re: net/qbittorrent: drop autoconf patch, use saner cmake

2023-01-05 Thread Klemens Nanni
Using cmake I have then updated and tested all the versions up to 4.4.5.
They all work, no changes except bumping the version number.

4.5.0 needs libtorrent-rasterbar 2.0.0, but also seems to have
regressions and/or controversial changes.

Switching to Qt6 is a single configure argument and s/5/6/ away, which
fixes visual bugs under Xfce for me.



CVS: cvs.openbsd.org: ports

2023-01-05 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2023/01/05 11:30:43

Modified files:
lang/go: Makefile 
lang/go/patches: patch-src_cmd_link_internal_ld_lib_go 

Log message:
lang/go: work around xonly issue on arm64 and presumably riscv64 by
passing -Wl,--no-execute-only. The underlying issue has not yet been
identified, but there's quite a bit of breakage in all non-trivial
Go programs that I tested.

with help of jsing, "i think you should commit this" deraadt



Re: aarch64 bulk build report

2023-01-05 Thread Peter Hessler
On 2023 Jan 05 (Thu) at 10:52:33 -0700 (-0700), phess...@openbsd.org wrote:
:critical path missing pkgs:  
http://build-failures.rhaalovely.net/aarch64/2023-01-02/summary.log
:
:build failures: 2
:http://build-failures.rhaalovely.net/aarch64/2023-01-02/graphics/openscenegraph.log

In file included from 
/usr/obj/ports/openscenegraph-3.6.5/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.cpp:22:
/usr/obj/ports/openscenegraph-3.6.5/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.h:33:10:
fatal error: 'TDF_LabelSequence.hxx' file not found
#include 
 ^~~
1 error generated.

$ pkglocate TDF_LabelSequence.hxx
oce-7.6.0p0:cad/oce:/usr/local/include/opencascade/TDF_LabelSequence.hxx

Should we just add a lib dependency for cad/oce?  Or is a build dep good enough?


:http://build-failures.rhaalovely.net/aarch64/2023-01-02/x11/xfce4/xfce4-taskmanager.log

Should already be fixed.



-- 
Zymurgy's Law of Volunteer Labor:
People are always available for work in the past tense.



aarch64 bulk build report

2023-01-05 Thread phessler
bulk build on arm64.ports.openbsd.org
started on  Mon Jan 2 21:52:54 MST 2023
finished at Thu Jan 5 10:52:21 MST 2023
lasted 2D12h59m
done with kern.version=OpenBSD 7.2-current (GENERIC.MP) #1950: Mon Jan  2 
20:23:32 MST 2023

built packages:11540
Jan 2:1723
Jan 3:1706
Jan 4:3076
Jan 5:5034


critical path missing pkgs:  
http://build-failures.rhaalovely.net/aarch64/2023-01-02/summary.log

build failures: 2
http://build-failures.rhaalovely.net/aarch64/2023-01-02/graphics/openscenegraph.log
http://build-failures.rhaalovely.net/aarch64/2023-01-02/x11/xfce4/xfce4-taskmanager.log

recurrent failures
new failures
+++ ls-failures Thu Jan  5 10:52:33 2023
+failures/graphics/openscenegraph.log
+failures/x11/xfce4/xfce4-taskmanager.log
resolved failures
--- ../old/aarch64/last//ls-failuresSat Dec 31 14:22:24 2022
-failures/devel/quirks.log
-failures/games/naev,-data.log
-failures/sysutils/py-filelock,python3.log
-failures/textproc/catfish.log



Re: [NEW] audio/alsa-lib-1.2.8

2023-01-05 Thread Alexandre Ratchov
On Thu, Jan 05, 2023 at 03:31:57PM +0900, SASANO Takayoshi wrote:
> Hi,
> 
> > Unless installed in a way to make it hard to pick up accidentally (e.g.
> > a non-standard directory, which has its own problems) I expect the
> > amount of work needed to cope with this in the rest of the ports tree
> > is likely to be quite a lot more than that needed to port a couple of
> > applications from alsa to sndio.
> 
> That's important. OpenBSD's standard is sndio, not alsa.
> I expected this alsa port to use temporary, for example;
> 
>  - until the application supports sndio
>  - rescue that cannot support sndio
> 
> So alsa should not be first choice on OpenBSD.
> 

Having two audio layers with different semantics increases the
probability of subtle audio problems (stuttering, desynchronization,
etc.), which are very time-consuming to fix. Furthermore,
alsa-over-sndio is very unlikely to work in all
program/device/configuration combinations.

I'd suggest adding a sndio backend. The API is designed to make this
process as simple as possible. Let us know if you want to try this
approach, I can help with the code.



CVS: cvs.openbsd.org: ports

2023-01-05 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2023/01/05 09:13:23

Modified files:
multimedia/qtav: Makefile 

Log message:
Bump after Qt update to 5.15.8



CVS: cvs.openbsd.org: ports

2023-01-05 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2023/01/05 09:12:59

Modified files:
x11/qt5: Makefile.version 
x11/qt5/docs   : distinfo 
x11/qt5/qt3d   : distinfo 
x11/qt5/qtbase : distinfo 
x11/qt5/qtbase/patches: 
patch-src_network_ssl_qsslsocket_openssl_cpp 

patch-src_network_ssl_qsslsocket_openssl_symbols_cpp 
x11/qt5/qtcharts: distinfo 
x11/qt5/qtconnectivity: distinfo 
x11/qt5/qtconnectivity/pkg: PLIST-main 
x11/qt5/qtdatavis3d: distinfo 
x11/qt5/qtdeclarative: Makefile distinfo 
x11/qt5/qtgamepad: distinfo 
x11/qt5/qtgraphicaleffects: distinfo 
x11/qt5/qtimageformats: distinfo 
x11/qt5/qtlocation: distinfo 
x11/qt5/qtlottie: distinfo 
x11/qt5/qtmultimedia: distinfo 
x11/qt5/qtnetworkauth: distinfo 
x11/qt5/qtpurchasing: distinfo 
x11/qt5/qtquickcontrols: distinfo 
x11/qt5/qtquickcontrols2: distinfo 
x11/qt5/qtremoteobjects: distinfo 
x11/qt5/qtscript: distinfo 
x11/qt5/qtscxml: distinfo 
x11/qt5/qtsensors: distinfo 
x11/qt5/qtserialbus: distinfo 
x11/qt5/qtserialport: distinfo 
x11/qt5/qtspeech: distinfo 
x11/qt5/qtsvg  : distinfo 
x11/qt5/qttools: distinfo 
x11/qt5/qttranslations: distinfo 
x11/qt5/qtvirtualkeyboard: Makefile distinfo 
x11/qt5/qtwayland: distinfo 
x11/qt5/qtwebchannel: distinfo 
x11/qt5/qtwebglplugin: distinfo 
x11/qt5/qtwebkit/patches: patch-Source_Qt5WebKitConfig_cmake_in 
x11/qt5/qtwebsockets: distinfo 
x11/qt5/qtwebview: distinfo 
x11/qt5/qtx11extras: distinfo 
x11/qt5/qtxmlpatterns: distinfo 

Log message:
Update Qt to 5.15.8



Re: [NEW] audio/alsa-lib-1.2.8

2023-01-05 Thread Stuart Henderson
On 2023/01/05 15:31, SASANO Takayoshi wrote:
> Hi,
> 
> > Unless installed in a way to make it hard to pick up accidentally (e.g.
> > a non-standard directory, which has its own problems) I expect the
> > amount of work needed to cope with this in the rest of the ports tree
> > is likely to be quite a lot more than that needed to port a couple of
> > applications from alsa to sndio.
> 
> That's important. OpenBSD's standard is sndio, not alsa.
> I expected this alsa port to use temporary, for example;
> 
>  - until the application supports sndio
>  - rescue that cannot support sndio
> 
> So alsa should not be first choice on OpenBSD.
> 
> How about to use PERMIT_PACKAGE=No (and PERMIT_DISTFILES=No?) to
> reduce install accidentaly, and install alsa suites into
> /usr/local/alsa or somewhere?

Assuming you're wanting to add a port/package for MSHV which would
depend on alsa, PERMIT_PACKAGE=No doesn't help, the alsa packages will
still be built and installed when required as a dependency on bulk build
machines.

A non-standard directory would help, but not one which is likely to
appear in search paths - I would think some software might look under
/usr/local/alsa.

The most common method to deal with this in ports is to continue to
use /usr/local but install under subdirectories with a non-standard
prefix, often 'e'; for example libraries under /usr/local/lib/ealsa
and headers under /usr/local/include/ealsa.

pkg-config files need to stay under /usr/local/lib/pkgconfig but the
filenames can have a prefix instead so the usual pkg-config checks
won't find them unless they're patched.



Re: Proposal/Question: drop databases/riak?

2023-01-05 Thread Volker Schlecht

Bump and correction:

It has been broken for almost *three* years.

Any thoughts?

On 12/30/22 09:59, Volker Schlecht wrote:

Cc: Maintainer

Hi,

the version of riak in ports has been broken for almost two years now, 
so I would consider it a safe assumption that there's not a whole lot of 
interest in that port.
While I could (and would be willing to) try to update it to a more 
recent version, that builds and works with erlang 25.x, I'm really not 
sure if it's effort well spent:


* Nobody seemed to miss it for two years on OpenBSD
* None of the other BSDs provide ports/packages for it
* Barely a Linux distribution provides packages for it
   https://repology.org/projects/?search=riak

At the same time, if/when my proposed update to benchmarks/tsung gets 
in, broken databases/riak will be the only port holding back a removal 
of lang/erlang/21 and devel/rebar, both of which are not enjoying 
significant upstream support anymore.


Any thoughts?

cu,
Volker




Re: [Update] Build benchmarks/tsung with erlang25

2023-01-05 Thread Volker Schlecht

bump

On 12/28/22 23:29, Volker Schlecht wrote:

Forgot a REVISION bump there.

On 12/28/22 11:55, Volker Schlecht wrote:

Attached is a proposal to build benchmarks/tsung with erlang25.

I pulled in an upstream patch to fix an already failing testcase that 
was already reported by gnezdo@:

https://github.com/processone/tsung/issues/385

The only remaining failing testcase has apparently been failing 
already in previous versions.


benchmarks/tsung is the only remaining non-broken port that depends on 
erlang21, so if we could get tsung updated, we could possibly drop 
erlang/21 from ports ... it won't build databases/riak anyway.




Re: [update] devel/rebar3 3.20.0

2023-01-05 Thread Volker Schlecht

bump

On 12/29/22 21:33, Volker Schlecht wrote:

Cc: Maintainer

Updates rebar3 to version 3.20
https://github.com/erlang/rebar3/releases/tag/3.20.0

* Starting with this version they bundle all of their build dependencies
* Drop all DISTFILES for the bundled dependencies
* Keep DISTFILE for meck around, since it's needed to run make test
* Adapt patches to their new paths
* Adapt substitutions to their new paths
* Only unpack meck hex module in do-test

Rebuilds elixir, rebuilds rabbitmq, works on the command line on amd64




Re: [UPDATE] lang/ocaml 4.14.1

2023-01-05 Thread Volker Schlecht

Cc: anil@, daniel@

Updated patch, now also tested on i386.

daniel@: I successfully rebuilt lang/compcert and all its dependencies 
on i386 with ocaml 4.14.1


What I noticed:

* sysutils/findlib still needs ocamlbuild to build, and I still think it 
should be a build dependency ;-)


* compcert tests fail with linker errors in test/abi

ld: error: can't create dynamic relocation R_386_32 against local symbol 
in readonly segment; recompile object files with -fPIC or pass 
'-Wl,-z,notext' to allow text relocations in the output

>>> defined in fixed_def_compcert.o
>>> referenced by fixed_def_compcert.o:(f14)

Those errors occur with

- compcert 3.10 built with ocaml 4.14.1
- compcert 3.10 patched with Github PR #457, built with ocaml 4.14.1
- compcert 3.12 (includes PR #457) built with ocaml 4.14.1
- compcert 3.12 built with ocaml 4.12.1

Here's the PR I hoped might fix it:
https://github.com/AbsInt/CompCert/pull/457

Looks to me as if the lang/ocaml version has nothing to do with it, though.

On 12/30/22 12:18, Volker Schlecht wrote:

Cc: anil@, daniel@

Here's an update to my original patch from

https://marc.info/?l=openbsd-ports=166369866628254

I still get clean rebuilds for

devel/ocaml-ocamlbuild
sysutils/findlib
devel/dune
devel/ocaml-cppo
devel/ocaml-menhir
sysutils/opam
math/ocaml-zarith
graphics/ocaml-graphics
x11/lablgtk2
graphics/ocaml-cairo
x11/lablgtk3
math/coq

I'm not familiar with lang/compcert, but I think there's a reasonable 
indication that testing it with ocaml 4.14.1 may be worthwhile.


Anyone willing to have a look?Index: Makefile
===
RCS file: /cvs/ports/lang/ocaml/Makefile,v
retrieving revision 1.95
diff -u -p -r1.95 Makefile
--- Makefile	7 Nov 2022 16:33:55 -	1.95
+++ Makefile	5 Jan 2023 14:37:36 -
@@ -2,8 +2,7 @@ COMMENT =	   ML language with complete c
 
 # XXX Don't even think of updating ocaml alone.
 # Do check that the ports that depend on it still work, or repair them.
-VERSION=		4.12.1
-REVISION=		2
+VERSION=		4.14.1
 
 PKGNAME =		ocaml-${VERSION:C/\+//}
 
@@ -25,11 +24,14 @@ PERMIT_PACKAGE=	Yes
 
 .include 
 
+AUTOCONF = 		M4=${LOCALBASE}/bin/gm4 \
+			autoconf
 AUTOCONF_VERSION =	2.69
 CONFIGURE_STYLE =	gnu autoconf no-autoheader
 CONFIGURE_ENV+=		CFLAGS="${CFLAGS}" \
 			CPPFLAGS="${CFLAGS} ${CPPFLAGS}" \
 			LDFLAGS="${LDFLAGS}"
+
 .if ${PROPERTIES:Mclang}
 CONFIGURE_ENV+=		OBJDUMP=/usr/bin/llvm-objdump
 .endif
@@ -42,6 +44,7 @@ LDFLAGS +=	-L${LOCALBASE}/lib
 # non-PIC assembly in asmrun/i386.S
 .if ${MACHINE_ARCH} == "i386"
 LDFLAGS+=		-Wl,-z,notext
+CONFIGURE_ARGS+=	--enable-imprecise-c99-float-ops
 .endif
 
 USE_GMAKE=	Yes
@@ -49,7 +52,8 @@ USE_GMAKE=	Yes
 WANTLIB =		c iberty m pthread z
 
 # for libbfd (used by ocamlobjinfo on .cmxs files)
-BUILD_DEPENDS +=	devel/gdb
+BUILD_DEPENDS +=	devel/gdb \
+			devel/m4
 
 .if ${PROPERTIES:Mocaml_native}
 ALL_TARGET=	world.opt
@@ -80,9 +84,6 @@ post-install:
 	@${INSTALL_DATA} \
 		${WRKSRC}/{LICENSE,Changes} \
 		${PREFIX}/share/doc/ocaml
-
-# PFRAG.native was generated from PLIST with:
-# egrep '(ocamlopt|\.cmx|\.cmxa|\.cmxs|\.opt|opt\.1|opt.cmi|\.native|\.o)$'
 
 # One test in the suite (testsocket.ml) requires an active
 # connection to internet
Index: distinfo
===
RCS file: /cvs/ports/lang/ocaml/distinfo,v
retrieving revision 1.29
diff -u -p -r1.29 distinfo
--- distinfo	10 Dec 2021 04:10:59 -	1.29
+++ distinfo	5 Jan 2023 14:37:36 -
@@ -1,4 +1,4 @@
-SHA256 (ocaml-4.12-refman-html.tar.gz) = eLtzsc6LiAUty+m1n97k/amUzCl46ll4gx8if3fagvs=
-SHA256 (ocaml-4.12.1.tar.gz) = bWHsE6fRtS7uc1r6xhZVK1btEt2hmBxNRBBX5S2RD9c=
-SIZE (ocaml-4.12-refman-html.tar.gz) = 1444139
-SIZE (ocaml-4.12.1.tar.gz) = 5181551
+SHA256 (ocaml-4.14-refman-html.tar.gz) = +dILjzxXO797/JkVVzFHK5G5vwhOndK1U50q5HNAbKc=
+SHA256 (ocaml-4.14.1.tar.gz) = GDl53JwJyw9YCiMraFMaCbAlqmKLjY1ydEnxRv1vX+4=
+SIZE (ocaml-4.14-refman-html.tar.gz) = 1982462
+SIZE (ocaml-4.14.1.tar.gz) = 5497979
Index: patches/patch-configure_ac
===
RCS file: /cvs/ports/lang/ocaml/patches/patch-configure_ac,v
retrieving revision 1.12
diff -u -p -r1.12 patch-configure_ac
--- patches/patch-configure_ac	7 Nov 2022 16:33:55 -	1.12
+++ patches/patch-configure_ac	5 Jan 2023 14:37:36 -
@@ -1,45 +0,0 @@
-Index: configure.ac
 configure.ac.orig
-+++ configure.ac
-@@ -735,6 +735,11 @@ AS_CASE([$CC,$host],
- )
- 
- 
-+# Respect LDFLAGS and CFLAGS
-+common_cflags="$common_cflags $CFLAGS"
-+oc_ldflags="$oc_ldflags $LDFLAGS"
-+
-+
- ## Program to use to install files
- AC_PROG_INSTALL
- 
-@@ -867,10 +872,10 @@ AS_IF([test x"$enable_shared" != "xno"],
- [[*-*-linux*|*-*-freebsd[3-9]*|*-*-freebsd[1-9][0-9]*\
- |*-*-openbsd*|*-*-netbsd*|*-*-dragonfly*|*-*-gnu*|*-*-haiku*]],
-   [sharedlib_cflags="-fPIC"
-+  oc_ldflags="$oc_ldflags -Wl,-E"
-AS_CASE([$CC,$host],
-   

CVS: cvs.openbsd.org: ports

2023-01-05 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2023/01/05 07:14:41

Modified files:
www/mozilla-firefox: Tag: OPENBSD_7_2 Makefile distinfo 

Log message:
www/mozilla-firefox: MFC update to 108.0.2.

see https://www.mozilla.org/en-US/firefox/108.0.2/releasenotes/



CVS: cvs.openbsd.org: ports

2023-01-05 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2023/01/05 07:14:04

Modified files:
www/mozilla-firefox: Makefile distinfo 
www/firefox-i18n: Makefile.inc distinfo 

Log message:
www/mozilla-firefox: update to 108.0.2.

see https://www.mozilla.org/en-US/firefox/108.0.2/releasenotes/



CVS: cvs.openbsd.org: ports

2023-01-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2023/01/05 05:40:50

Modified files:
sysutils/terraform: Makefile distinfo 

Log message:
Update to terraform-1.3.7.



CVS: cvs.openbsd.org: ports

2023-01-05 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2023/01/05 03:02:49

Modified files:
sysutils   : Makefile 

Log message:
+nnn-nerd



CVS: cvs.openbsd.org: ports

2023-01-05 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2023/01/05 03:01:09

Modified files:
sysutils/nnn   : Makefile 
sysutils/nnn/pkg: DESCR 

Log message:
sysutils/nnn: add -nerd flavor for usage with *-nerd-fonts

based on a diff from Joel Carnat (joel [at] carnat [dot] net) with the
DESCR wording from sthen@.  ok maintainer (Martin Ziemer)



Re: [update][proposal] sysutils/nnn add nerd font flavor

2023-01-05 Thread Martin Ziemer
Am Mon, Jan 02, 2023 at 12:00:09AM +0100 schrieb Omar Polo:
> On 2023/01/01 20:29:28 +, Stuart Henderson  wrote:
> > I think I'd add something to DESCR like "Requires a terminal configured to 
> > use a font from one of the *-nerd-fonts packages, e.g. noto-nerd-fonts or 
> > others."
> 
> I like it, shamelessly stolen :)
I tested it and run it on two amd64 systems. (One with and one without
nerd)
I think, it could be committed.

> Index: Makefile
> ===
> RCS file: /home/cvs/ports/sysutils/nnn/Makefile,v
> retrieving revision 1.22
> diff -u -p -r1.22 Makefile
> --- Makefile  24 Nov 2022 10:25:40 -  1.22
> +++ Makefile  1 Jan 2023 19:12:45 -
> @@ -3,6 +3,7 @@ COMMENT = the missing terminal file bro
>  V =  4.7
>  DISTNAME =   nnn-v${V}
>  PKGNAME =nnn-${V}
> +REVISION =   0
>  
>  CATEGORIES = sysutils
>  
> @@ -26,6 +27,13 @@ RUN_DEPENDS =  textproc/gsed
>  MAKE_FLAGS = CFLAGS_OPTIMIZATION=
>  FAKE_FLAGS = MANPREFIX="$(PREFIX)/man" \
>   PREFIX="${PREFIX}"
> +
> +FLAVORS =nerd
> +FLAVOR ?=
> +
> +.if ${FLAVOR:Mnerd}
> +MAKE_FLAGS +=O_NERD=1
> +.endif
>  
>  USE_GMAKE =  Yes
>  NO_TEST =Yes
> Index: pkg/DESCR
> ===
> RCS file: /home/cvs/ports/sysutils/nnn/pkg/DESCR,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 DESCR
> --- pkg/DESCR 7 May 2018 18:29:00 -   1.1.1.1
> +++ pkg/DESCR 1 Jan 2023 22:58:42 -
> @@ -18,3 +18,8 @@ Cool things you can do with nnn:
>  - pin a directory you may need to revisit and jump to it anytime
>  - lock the current terminal after a specified idle time
>  - change directory on exit
> +
> +Flavor: nerd
> +build with support for Nerd Fonts, requires a terminal emulator
> +configured to use a font from one of the *-nerd-fonts packages,
> +e.g. noto-nerd-fonts or others.



CVS: cvs.openbsd.org: ports

2023-01-05 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2023/01/05 01:40:31

Modified files:
mail/aerc  : Makefile distinfo modules.inc 
mail/aerc/pkg  : PLIST 

Log message:
update mail/aerc to 0.14.0

lots of new stuff: https://git.sr.ht/~rjarry/aerc/refs/0.14.0



CVS: cvs.openbsd.org: ports

2023-01-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2023/01/05 01:34:42

Modified files:
x11/gnome/gedit: Makefile distinfo 

Log message:
Update to gedit-44.1.



CVS: cvs.openbsd.org: ports

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

Modified files:
misc/hwdata: Makefile distinfo 

Log message:
Update to hwdata-0.366.