Re: [SECURITY] samba-4.18.5
On Wed 19/07/2023 22:11, Jeremie Courreges-Anglas wrote: > > > Same as for -stable, only build-tested. > > Release notes: > https://www.samba.org/samba/history/samba-4.18.5.html > > Tests and oks welcome. Build- and run-tested as part of my installation at home. OK bket@
Re: [SECURITY] samba-4.17.10
On Wed 19/07/2023 22:15, Jeremie Courreges-Anglas wrote: > On Wed, Jul 19 2023, Jeremie Courreges-Anglas wrote: > > Security update published today, some problems in winbind, SMB2 packet > > signing. As far as I know we don't ship spotlight support. > > > > Release notes: > > https://www.samba.org/samba/history/samba-4.17.10.html > > > > Tests and oks welcome! > > volker@ noted that I had extra files in distinfo, thanks! > Here's a cleaner diff. Diff looks good, and build- and lightly run-tested using vmd on amd64. OK bket@
Re: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
On 19/07/2023 22:20, Rafael Sadowski wrote: On Wed Jul 19, 2023 at 06:17:08PM +0200, Alexis de BRUYN [Mailing Lists] wrote: Hi Everybody, Following -current, I have just sysupgraded / pkg_add -u (after ~40 days), and I cannot launch qt applications anymore : $ nextcloud qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. Could you run qtdiag-qt5 and send the output? $ QT_DEBUG_PLUGINS=1 qtdiag-qt5 QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lib/qt5/plugins/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqeglfs.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqeglfs.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "eglfs" ] }, "archreq": 0, "className": "QEglFSIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("eglfs") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqminimal.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimal" ] }, "archreq": 0, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("minimal") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqminimalegl.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqminimalegl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimalegl" ] }, "archreq": 0, "className": "QMinimalEglIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("minimalegl") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqoffscreen.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "offscreen" ] }, "archreq": 0, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqvnc.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqvnc.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "vnc" ] }, "archreq": 0, "className": "QVncIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("vnc") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqwayland-egl.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqwayland-egl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland-egl" ] }, "archreq": 0, "className": "QWaylandEglPlatformIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("wayland-egl") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqwayland-generic.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqwayland-generic.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland" ] }, "archreq": 0, "className": "QWaylandIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("wayland") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqwayland-xcomposite-egl.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqwayland-xcomposite-egl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland-xcomposite-egl" ] }, "archreq": 0, "className": "QWaylandXCompositeEglPlatformIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("wayland-xcomposite-egl") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platform
NEW/WIP/Preview: www/ladybird
Hi ports -- Attached is a new port, www/ladybird. Ladybird is an independent web browser from the SerenityOS project. Posting it here because I know there are some people who are looking for a port. --- pkg/DESCR: Ladybird is an independent cross-platform web browser based on the LibWeb and LibJS engines from SerenityOS. --- There is a little bit of messiness in the port: 1. There are a number of dependencies that CMake tries to download at configure time. That's obviously no good for us so everything gets pre-downloaded and set up before CMake is run. 2. There are a lot of files installed to /usr/local/res -- this seems to be a paradigm of SerenityOS itself. I looked into trying to set up something more sane (maybe /usr/local/ladybird/res) but it looks like those tendrils are everywhere so perhaps a better strategy is worthwhile. This does in fact build and run on amd64. Don't expect miracles but it is more web compliant than dillo and possibly more web compliant than netsurf. It does have a mostly complete JavaScript engine, but it is slow. It was somewhat able to load the YouTube homepage after some time, for example. Does not play video though. If you're looking for a package so you can play around with it without compiling: https://github.com/ibara/ports/releases/download/v1.0/ladybird-0.0.0pl20230719.tgz Not necessarily looking for OKs right now; feedback might be more appropriate. ~Brian ladybird.tgz Description: application/compressed
Re: [SECURITY] samba-4.17.10
Hi, For spot light support you need to install and configure an elastic search engine. as well as turn spotlight support on in the samba config. Have never tried to use it so no idea if it works. It's not on by default in the samba config. spotlight backend = elasticsearch elasticsearch:address = localhost elasticsearch:port = 9200 Ian McWilliam On 20/07/2023 2:44 am, Jeremie Courreges-Anglas wrote: Security update published today, some problems in winbind, SMB2 packet signing. As far as I know we don't ship spotlight support. Release notes: https://www.samba.org/samba/history/samba-4.17.10.html Tests and oks welcome! Index: Makefile === RCS file: /cvs/ports/net/samba/Makefile,v retrieving revision 1.329.2.3 diff -u -p -r1.329.2.3 Makefile --- Makefile8 Jul 2023 08:13:01 - 1.329.2.3 +++ Makefile19 Jul 2023 16:38:38 - @@ -1,4 +1,4 @@ -VERSION = 4.17.9 +VERSION = 4.17.10 DISTNAME =samba-${VERSION} EPOCH = 0 Index: distinfo === RCS file: /cvs/ports/net/samba/distinfo,v retrieving revision 1.103.2.3 diff -u -p -r1.103.2.3 distinfo --- distinfo8 Jul 2023 08:13:01 - 1.103.2.3 +++ distinfo19 Jul 2023 16:38:38 - @@ -1,2 +1,4 @@ -SHA256 (samba-4.17.9.tar.gz) = 7xwyciDyv0M/RPhaOUh4WVmWBjT0bMhPtnOJaXs0kKY= -SIZE (samba-4.17.9.tar.gz) = 30892107 +SHA256 (samba-4.17.10.tar.asc) = A2cdeQABHALsiD8BEyxToZ5oMfC3hdxRVwjwCUN4HRg= +SHA256 (samba-4.17.10.tar.gz) = ANuwqsn0z+6AD3CPTpCYlkpDp2RuYYIwcG1TLJu2w1A= +SIZE (samba-4.17.10.tar.asc) = 833 +SIZE (samba-4.17.10.tar.gz) = 30892671
new and needs testing/feedback: x11/xst
(CC'ing two people that expressed interest in a previous thread, I hope that's alright) ``` $ cat /usr/ports/mystuff/x11/xst/pkg/DESCR xst is a fork of st, which is a simple virtual terminal emulator for X that sucks less. Some things specific to xst include: - Loads settings from Xresources. - Live-reloads settings from xrdb on USR1 signal (like termite). - Has cursor blinking options (and can persistently blink while typing). - A keybind alt+u for launching urls with dmenu + xurls. ``` Homepage: https://github.com/gnotclub/xst Porting notes: -- I noticed some warnings in the build that don't exist in x11/st, both related to `${WRKSRC}/xst.c`. The sprintf warning seemed easy enough to fix, but please double check that patch because C isn't a language I write anything in right now. Anyway, there's a different build warning I don't know how to fix, but still see as a potential issue because I can trigger a SIGSEGV with it: ``` In file included from x.c:243: ./xst.c:76:34: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] font2[endchar + count + 1] = '\0'; ``` One way to trigger the SIGSEGV is by setting `st.font_fallback` in .Xresources to a single comma because of the way the relevant code is structured: config.def.h line 9: ``` static char *font2[] = { /* "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true", */ /* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */ }; ``` xst.c line 65: ``` XRESOURCE_LOAD_META("font_fallback") { int count = 0, endchar = fonts_count = sizeof(font2) / sizeof(*font2); for (int i = 0; ret.addr[i]; i++) if (ret.addr[i] == ',') count++; if (count > 0) { for (int i = 0; i <= count; i++) { if (i == 0) font2[endchar + i] = strtok(ret.addr, ","); else font2[endchar + i] = strtok(NULL, ","); fonts_count++; } font2[endchar + count + 1] = '\0'; } else if (ret.addr) { font2[endchar] = ret.addr; fonts_count++; } } ``` Triggering the segmentation fault: ``` $ grep st.font_fallback ~/.Xresources st.font_fallback: , $ xst Segmentation fault (core dumped) $ egdb xst xst.core Reading symbols from xst... [New process 195719] Core was generated by `xst'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0ec5e2d55653 in xloadsparefonts () at x.c:1173 1173if (**fp == '-') (gdb) bt #0 0x0ec5e2d55653 in xloadsparefonts () at x.c:1173 #1 0x0ec5e2d5480d in xinit (cols=80, rows=24) at x.c:1333 #2 0x0ec5e2d542d4 in main (argc=, argv=) at x.c:2759 (gdb) quit ``` As I said, I'm not sure how to fix that problem, but the way it creates undefined behavior like that seems bad. If anyone has any advice, I'd really appreciate it. Also, xst seems to use xurls, which isn't in the ports tree yet. I'm thinking xurls would need to get ported and then the Makefile of x11/xst would need to be revised to include xurls + x11/dmenu as RUN_DEPENDS? Here's a link to xurls: https://github.com/mvdan/xurls Any and all feedback and suggestions are welcome. I view this as needing more testing, and if there's a way to upstream a fix or two, I see that as a positive thing. I'm not in contact with upstream yet because I wanted to see what you all thought first. Thanks. xst-0.9.0.tgz Description: application/tar-gz
[new] games/dsda-doom
DSDA-Doom is a new doom source port. The port is building fine here with the patch I added. Ok? dsda-doom.tar.gz Description: application/tar-gz
[Maintainer Update] archivers/zpaqfranz-58.6
58.5 seems to have had a broken file writing mechanism: https://github.com/fcorbelli/zpaqfranz/issues/62 Fixed. Patch attached. diff --git a/archivers/zpaqfranz/Makefile b/archivers/zpaqfranz/Makefile index e98abc2a6c1..95cd8dd9865 100644 --- a/archivers/zpaqfranz/Makefile +++ b/archivers/zpaqfranz/Makefile @@ -4,7 +4,7 @@ COMMENT = journaling archiver for incremental backup, fork of ZPAQ GH_ACCOUNT = fcorbelli GH_PROJECT = zpaqfranz -GH_TAGNAME = 58.5 +GH_TAGNAME = 58.6 CATEGORIES = archivers MAINTAINER = tux0r diff --git a/archivers/zpaqfranz/distinfo b/archivers/zpaqfranz/distinfo index 4784cebc527..8cde57ed555 100644 --- a/archivers/zpaqfranz/distinfo +++ b/archivers/zpaqfranz/distinfo @@ -1,2 +1,2 @@ -SHA256 (zpaqfranz-58.5.tar.gz) = aruDt3eCrq3bakKbxDOri3QaNaL+2gxJzCDU/EEON+Q= -SIZE (zpaqfranz-58.5.tar.gz) = 5296095 +SHA256 (zpaqfranz-58.6.tar.gz) = pYdAbyrKkiFXgbIj5SEWls8kD5E64sJ589+hIO0i/oc= +SIZE (zpaqfranz-58.6.tar.gz) = 5297615
Re: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
On Wed Jul 19, 2023 at 06:17:08PM +0200, Alexis de BRUYN [Mailing Lists] wrote: > Hi Everybody, > > Following -current, I have just sysupgraded / pkg_add -u (after ~40 days), > and I cannot launch qt applications anymore : > > $ nextcloud > qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though > it was found. > This application failed to start because no Qt platform plugin could be > initialized. Reinstalling the application may fix this problem. > > Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, > wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. Could you run qtdiag-qt5 and send the output? > > Abort trap > > $ doas pkg_add -r qtbase-5.15.10 > quirks-6.134 signed on 2023-07-18T21:18:51Z > > $ QT_PLUGIN_PATH=/usr/local/lib/qt5/plugins/ nextcloud > qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though > it was found. > This application failed to start because no Qt platform plugin could be > initialized. Reinstalling the application may fix this problem. > > Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, > wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. > > Abort trap > > $ QT_DEBUG_PLUGINS=1 nextcloud > QFactoryLoader::QFactoryLoader() checking directory path > "/usr/local/lib/qt5/plugins/platforms" ... > QFactoryLoader::QFactoryLoader() looking at > "/usr/local/lib/qt5/plugins/platforms/libqeglfs.so" > Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqeglfs.so, > metadata= > { > "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", > "MetaData": { > "Keys": [ > "eglfs" > ] > }, > "archreq": 0, > "className": "QEglFSIntegrationPlugin", > "debug": false, > "version": 331520 > } > > > Got keys from plugin meta data ("eglfs") > QFactoryLoader::QFactoryLoader() looking at > "/usr/local/lib/qt5/plugins/platforms/libqminimal.so" > Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqminimal.so, > metadata= > { > "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", > "MetaData": { > "Keys": [ > "minimal" > ] > }, > "archreq": 0, > "className": "QMinimalIntegrationPlugin", > "debug": false, > "version": 331520 > } > > > Got keys from plugin meta data ("minimal") > QFactoryLoader::QFactoryLoader() looking at > "/usr/local/lib/qt5/plugins/platforms/libqminimalegl.so" > Found metadata in lib > /usr/local/lib/qt5/plugins/platforms/libqminimalegl.so, metadata= > { > "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", > "MetaData": { > "Keys": [ > "minimalegl" > ] > }, > "archreq": 0, > "className": "QMinimalEglIntegrationPlugin", > "debug": false, > "version": 331520 > } > > > Got keys from plugin meta data ("minimalegl") > QFactoryLoader::QFactoryLoader() looking at > "/usr/local/lib/qt5/plugins/platforms/libqoffscreen.so" > Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqoffscreen.so, > metadata= > { > "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", > "MetaData": { > "Keys": [ > "offscreen" > ] > }, > "archreq": 0, > "className": "QOffscreenIntegrationPlugin", > "debug": false, > "version": 331520 > } > > > Got keys from plugin meta data ("offscreen") > QFactoryLoader::QFactoryLoader() looking at > "/usr/local/lib/qt5/plugins/platforms/libqvnc.so" > Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqvnc.so, > metadata= > { > "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", > "MetaData": { > "Keys": [ > "vnc" > ] > }, > "archreq": 0, > "className": "QVncIntegrationPlugin", > "debug": false, > "version": 331520 > } > > > Got keys from plugin meta data ("vnc") > QFactoryLoader::QFactoryLoader() looking at > "/usr/local/lib/qt5/plugins/platforms/libqwayland-egl.so" > Found metadata in lib > /usr/local/lib/qt5/plugins/platforms/libqwayland-egl.so, metadata= > { > "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", > "MetaData": { > "Keys": [ > "wayland-egl" > ] > }, > "archreq": 0, > "className": "QWaylandEglPlatformIntegrationPlugin", > "debug": false, > "version": 331520 > } > > > Got keys from plugin meta data ("wayland-egl") > QFactoryLoader::QFactoryLoader() looking at > "/usr/local/lib/qt5/plugins/platforms/libqwayland-generic.so" > Found metadata in lib > /usr/local/lib/qt5/plugins/platforms/libqwayland-generic.so, metadata= > { > "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", > "MetaData": { > "Keys": [ > "wayland" > ] > }, > "archreq": 0, > "className": "QW
Re: [SECURITY] samba-4.17.10
On Wed, Jul 19 2023, Jeremie Courreges-Anglas wrote: > Security update published today, some problems in winbind, SMB2 packet > signing. As far as I know we don't ship spotlight support. > > Release notes: > https://www.samba.org/samba/history/samba-4.17.10.html > > Tests and oks welcome! volker@ noted that I had extra files in distinfo, thanks! Here's a cleaner diff. Index: Makefile === RCS file: /cvs/ports/net/samba/Makefile,v retrieving revision 1.329.2.3 diff -u -p -r1.329.2.3 Makefile --- Makefile8 Jul 2023 08:13:01 - 1.329.2.3 +++ Makefile19 Jul 2023 20:14:04 - @@ -1,4 +1,4 @@ -VERSION = 4.17.9 +VERSION = 4.17.10 DISTNAME = samba-${VERSION} EPOCH =0 Index: distinfo === RCS file: /cvs/ports/net/samba/distinfo,v retrieving revision 1.103.2.3 diff -u -p -r1.103.2.3 distinfo --- distinfo8 Jul 2023 08:13:01 - 1.103.2.3 +++ distinfo19 Jul 2023 20:14:04 - @@ -1,2 +1,2 @@ -SHA256 (samba-4.17.9.tar.gz) = 7xwyciDyv0M/RPhaOUh4WVmWBjT0bMhPtnOJaXs0kKY= -SIZE (samba-4.17.9.tar.gz) = 30892107 +SHA256 (samba-4.17.10.tar.gz) = ANuwqsn0z+6AD3CPTpCYlkpDp2RuYYIwcG1TLJu2w1A= +SIZE (samba-4.17.10.tar.gz) = 30892671 -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
[SECURITY] samba-4.18.5
Same as for -stable, only build-tested. Release notes: https://www.samba.org/samba/history/samba-4.18.5.html Tests and oks welcome. Index: Makefile === RCS file: /cvs/ports/net/samba/Makefile,v retrieving revision 1.333 diff -u -p -r1.333 Makefile --- Makefile6 Jul 2023 14:47:41 - 1.333 +++ Makefile19 Jul 2023 20:09:59 - @@ -1,4 +1,4 @@ -VERSION = 4.18.4 +VERSION = 4.18.5 DISTNAME = samba-${VERSION} EPOCH =0 Index: distinfo === RCS file: /cvs/ports/net/samba/distinfo,v retrieving revision 1.106 diff -u -p -r1.106 distinfo --- distinfo6 Jul 2023 14:47:41 - 1.106 +++ distinfo19 Jul 2023 20:09:59 - @@ -1,2 +1,2 @@ -SHA256 (samba-4.18.4.tar.gz) = a6ezUDzFnJ/09vyxtRDCyFX/+T4LNmq4kaMqRzLojlM= -SIZE (samba-4.18.4.tar.gz) = 41311410 +SHA256 (samba-4.18.5.tar.gz) = CVJWrDMuHZ+/m3/3gj+SoyM9PtZYzn/JszkFwiQ/RH8= +SIZE (samba-4.18.5.tar.gz) = 41315373 -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
[maintainer update] lang/elixir 1.15.4
Updates lang/elixir to most recent release 1.15.4 Pulling in one commit from upstream fixing test failures: https://github.com/elixir-lang/elixir/commit/9b7b7d655d140203044af181842754db7bdbb7ef This needs to go in *after* net/rabbitmq 3.11.20. Builds and tests fine on amd64. I've had all the 1.15.x releases running on OpenBSD without any issue.Index: Makefile === RCS file: /cvs/ports/lang/elixir/Makefile,v retrieving revision 1.67 diff -u -p -r1.67 Makefile --- Makefile 10 Apr 2023 08:57:06 - 1.67 +++ Makefile 19 Jul 2023 16:58:47 - @@ -1,6 +1,6 @@ COMMENT= functional language for building scalable applications -V= 1.14.4 +V= 1.15.4 GH_ACCOUNT= elixir-lang GH_PROJECT= elixir GH_TAGNAME= v$V @@ -31,7 +31,8 @@ CONFIGURE_STYLE= None MAKE_ENV+= LC_ALL="en_US.UTF-8" pre-configure: - ${SUBST_CMD} ${WRKSRC}/bin/elixir + ${SUBST_CMD} ${WRKSRC}/bin/elixir \ + ${WRKSRC}/Makefile pre-install: -rm ${WRKSRC}/bin/*{.beforesubst,${PATCHORIG}} Index: distinfo === RCS file: /cvs/ports/lang/elixir/distinfo,v retrieving revision 1.57 diff -u -p -r1.57 distinfo --- distinfo 10 Apr 2023 08:57:06 - 1.57 +++ distinfo 19 Jul 2023 16:58:47 - @@ -1,2 +1,2 @@ -SHA256 (elixir-1.14.4.tar.gz) = B9Zs8UesrcIb0WefSG79b41kpzhW7Mg8cbXpAwgbRdI= -SIZE (elixir-1.14.4.tar.gz) = 3076206 +SHA256 (elixir-1.15.4.tar.gz) = MCv4Blq3kqiPbDoMAaa7WHN74+T8JWTIr9QYv5eSUBw= +SIZE (elixir-1.15.4.tar.gz) = 3146690 Index: patches/patch-Makefile === RCS file: patches/patch-Makefile diff -N patches/patch-Makefile --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-Makefile 19 Jul 2023 16:58:47 - @@ -0,0 +1,21 @@ +Explicitly start and kill epmd, to avoid lingering instances after tests are +complete. + +Index: Makefile +--- Makefile.orig Makefile +@@ -279,12 +279,13 @@ test_elixir: test_stdlib test_ex_unit test_logger test + + test_stdlib: compile + @ echo "==> elixir (ex_unit)" +- $(Q) exec epmd & exit ++ $(Q) exec epmd${MODERL_VERSION} & exit + $(Q) if [ "$(OS)" = "Windows_NT" ]; then \ + cd lib/elixir && cmd //C call ../../bin/elixir.bat --sname primary -r "test/elixir/test_helper.exs" -pr "test/elixir/**/$(TEST_FILES)"; \ + else \ + cd lib/elixir && ../../bin/elixir --sname primary -r "test/elixir/test_helper.exs" -pr "test/elixir/**/$(TEST_FILES)"; \ + fi ++ $(Q) exec epmd${MODERL_VERSION} -kill + + #==> Dialyzer tasks + Index: patches/patch-bin_elixir === RCS file: /cvs/ports/lang/elixir/patches/patch-bin_elixir,v retrieving revision 1.9 diff -u -p -r1.9 patch-bin_elixir --- patches/patch-bin_elixir 18 Jan 2023 09:33:59 - 1.9 +++ patches/patch-bin_elixir 19 Jul 2023 16:58:47 - @@ -3,7 +3,7 @@ Detect erlang ERTS directory at runtime. Index: bin/elixir --- bin/elixir.orig +++ bin/elixir -@@ -226,7 +226,9 @@ fi +@@ -225,7 +225,9 @@ fi # One MAY change ERTS_BIN= but you MUST NOT change # ERTS_BIN=$ERTS_BIN as it is handled by Elixir releases. @@ -13,4 +13,4 @@ Index: bin/elixir +done ERTS_BIN="$ERTS_BIN" - set -- "$ERTS_BIN$ERL_EXEC" -pa "$SCRIPT_PATH"/../lib/*/ebin $ELIXIR_ERL_OPTIONS $ERL "$@" + set -- "$ERTS_BIN$ERL_EXEC" -noshell -elixir_root "$SCRIPT_PATH"/../lib -pa "$SCRIPT_PATH"/../lib/elixir/ebin $ELIXIR_ERL_OPTIONS -s elixir start_$MODE $ERL "$@" Index: patches/patch-lib_mix_lib_mix_compilers_elixir_ex === RCS file: patches/patch-lib_mix_lib_mix_compilers_elixir_ex diff -N patches/patch-lib_mix_lib_mix_compilers_elixir_ex --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-lib_mix_lib_mix_compilers_elixir_ex 19 Jul 2023 16:58:47 - @@ -0,0 +1,14 @@ +Backport https://github.com/elixir-lang/elixir/commit/9b7b7d655d140203044af181842754db7bdbb7ef +Index: lib/mix/lib/mix/compilers/elixir.ex +--- lib/mix/lib/mix/compilers/elixir.ex.orig lib/mix/lib/mix/compilers/elixir.ex +@@ -454,6 +454,9 @@ defmodule Mix.Compilers.Elixir do + 8 -> :crypto.hash(:blake2b, contents) + _ -> :crypto.hash(:blake2s, contents) + end ++ rescue ++# Blake may not be available on all OpenSSL distribution ++_ -> :erlang.md5(contents) + end + + defp set_compiler_opts(opts) do Index: pkg/PLIST === RCS file: /cvs/ports/lang/elixir/pkg/PLIST,v retrieving revision 1.21 diff -u -p -r1.21 PLIST --- pkg/PLIST 4 Sep 2022 08:36:45 - 1.21 +++ pkg/PLIST 19 Jul 2023 16:58:47 - @@ -144,6 +144,7 @@ lib/elixir/lib/elixir/ebin/Elixir.Kernel lib/elixir/lib/elixir/ebin/Elixir.Kernel.ParallelRequire.beam lib/elixir/lib/elixir/ebin/Elixir.Kernel.SpecialForms.beam lib/elixir/lib/elixir/ebin/Elixir.Kernel.Typespec.beam +lib/elixir/lib/elixir/ebin/Elixir.Kernel.TypespecError.beam
[Maintainer Update] net/rabbitmq 3.11.20
Updates net/rabbitmq to the most recent release. Nothing spectacular, but this is the first release that builds with Elixir 1.15.x (diff to follow), so it needs to go in before lang/elixir can be updated. Built and tested on amd64.Index: Makefile === RCS file: /cvs/ports/net/rabbitmq/Makefile,v retrieving revision 1.52 diff -u -p -r1.52 Makefile --- Makefile 30 May 2023 20:12:39 - 1.52 +++ Makefile 19 Jul 2023 16:56:59 - @@ -1,6 +1,6 @@ COMMENT = highly reliable Enterprise Messaging System -V = 3.11.17 +V = 3.11.20 DISTNAME = rabbitmq-server-$V PKGNAME = rabbitmq-$V CATEGORIES = net @@ -64,10 +64,10 @@ GETOPT_VSN 1.0.2 \ GUN_VSN 1.3.3 \ JOSE_VSN 1.11.3 \ OBSERVER_CLI_VSN 1.7.3 \ -OSIRIS_VSN 1.4.2 \ +OSIRIS_VSN 1.5.1 \ PROMETHEUS_VSN 4.10.0 \ QUANTILE_ESTIMATOR_VSN 0.2.1 \ -RA_VSN 2.6.1 \ +RA_VSN 2.6.3 \ RANCH_VSN 2.1.0 \ RECON_VSN 2.5.3 \ REDBUG_VSN 2.0.7 \ Index: distinfo === RCS file: /cvs/ports/net/rabbitmq/distinfo,v retrieving revision 1.15 diff -u -p -r1.15 distinfo --- distinfo 30 May 2023 20:12:39 - 1.15 +++ distinfo 19 Jul 2023 16:56:59 - @@ -1,2 +1,2 @@ -SHA256 (rabbitmq-server-3.11.17.tar.xz) = l+JT9Egtu732sCnTHI3kcwNtvGvLY6pVLofLFjgAri0= -SIZE (rabbitmq-server-3.11.17.tar.xz) = 3635672 +SHA256 (rabbitmq-server-3.11.20.tar.xz) = zoZG9Du7paYlfJAvkfEEu8PEFFahUM0/ZYsjiJGqbvY= +SIZE (rabbitmq-server-3.11.20.tar.xz) = 4419048 Index: pkg/PLIST === RCS file: /cvs/ports/net/rabbitmq/pkg/PLIST,v retrieving revision 1.20 diff -u -p -r1.20 PLIST --- pkg/PLIST 30 May 2023 20:12:39 - 1.20 +++ pkg/PLIST 19 Jul 2023 16:56:59 - @@ -420,6 +420,7 @@ lib/rabbitmq/plugins/${RABBIT_OSIRIS}/eb lib/rabbitmq/plugins/${RABBIT_OSIRIS}/ebin/osiris.beam lib/rabbitmq/plugins/${RABBIT_OSIRIS}/ebin/osiris_app.beam lib/rabbitmq/plugins/${RABBIT_OSIRIS}/ebin/osiris_bench.beam +lib/rabbitmq/plugins/${RABBIT_OSIRIS}/ebin/osiris_bloom.beam lib/rabbitmq/plugins/${RABBIT_OSIRIS}/ebin/osiris_counters.beam lib/rabbitmq/plugins/${RABBIT_OSIRIS}/ebin/osiris_ets.beam lib/rabbitmq/plugins/${RABBIT_OSIRIS}/ebin/osiris_log.beam @@ -1038,6 +1039,10 @@ lib/rabbitmq/plugins/rabbitmq_management lib/rabbitmq/plugins/rabbitmq_management-${V}/ebin/rabbit_mgmt_wm_queue_get.beam lib/rabbitmq/plugins/rabbitmq_management-${V}/ebin/rabbit_mgmt_wm_queue_purge.beam lib/rabbitmq/plugins/rabbitmq_management-${V}/ebin/rabbit_mgmt_wm_queues.beam +lib/rabbitmq/plugins/rabbitmq_management-${V}/ebin/rabbit_mgmt_wm_quorum_queue_replicas_add_member.beam +lib/rabbitmq/plugins/rabbitmq_management-${V}/ebin/rabbit_mgmt_wm_quorum_queue_replicas_delete_member.beam +lib/rabbitmq/plugins/rabbitmq_management-${V}/ebin/rabbit_mgmt_wm_quorum_queue_replicas_grow.beam +lib/rabbitmq/plugins/rabbitmq_management-${V}/ebin/rabbit_mgmt_wm_quorum_queue_replicas_shrink.beam lib/rabbitmq/plugins/rabbitmq_management-${V}/ebin/rabbit_mgmt_wm_rebalance_queues.beam lib/rabbitmq/plugins/rabbitmq_management-${V}/ebin/rabbit_mgmt_wm_redirect.beam lib/rabbitmq/plugins/rabbitmq_management-${V}/ebin/rabbit_mgmt_wm_reset.beam @@ -1493,6 +1498,7 @@ lib/rabbitmq/plugins/rabbitmq_web_dispat lib/rabbitmq/plugins/rabbitmq_web_dispatch-${V}/ebin/rabbit_cowboy_redirect.beam lib/rabbitmq/plugins/rabbitmq_web_dispatch-${V}/ebin/rabbit_cowboy_stream_h.beam lib/rabbitmq/plugins/rabbitmq_web_dispatch-${V}/ebin/rabbit_web_dispatch.beam +lib/rabbitmq/plugins/rabbitmq_web_dispatch-${V}/ebin/rabbit_web_dispatch_access_control.beam lib/rabbitmq/plugins/rabbitmq_web_dispatch-${V}/ebin/rabbit_web_dispatch_app.beam lib/rabbitmq/plugins/rabbitmq_web_dispatch-${V}/ebin/rabbit_web_dispatch_listing_handler.beam lib/rabbitmq/plugins/rabbitmq_web_dispatch-${V}/ebin/rabbit_web_dispatch_registry.beam @@ -1501,6 +1507,8 @@ lib/rabbitmq/plugins/rabbitmq_web_dispat lib/rabbitmq/plugins/rabbitmq_web_dispatch-${V}/ebin/rabbitmq_web_dispatch.app lib/rabbitmq/plugins/rabbitmq_web_dispatch-${V}/ebin/webmachine_log.beam lib/rabbitmq/plugins/rabbitmq_web_dispatch-${V}/ebin/webmachine_log_handler.beam +lib/rabbitmq/plugins/rabbitmq_web_dispatch-${V}/include/ +lib/rabbitmq/plugins/rabbitmq_web_dispatch-${V}/include/rabbitmq_web_dispatch_records.hrl lib/rabbitmq/plugins/rabbitmq_web_mqtt-${V}/ lib/rabbitmq/plugins/rabbitmq_web_mqtt-${V}/ebin/ lib/rabbitmq/plugins/rabbitmq_web_mqtt-${V}/ebin/rabbit_web_mqtt_app.beam
[SECURITY] samba-4.17.10
Security update published today, some problems in winbind, SMB2 packet signing. As far as I know we don't ship spotlight support. Release notes: https://www.samba.org/samba/history/samba-4.17.10.html Tests and oks welcome! Index: Makefile === RCS file: /cvs/ports/net/samba/Makefile,v retrieving revision 1.329.2.3 diff -u -p -r1.329.2.3 Makefile --- Makefile8 Jul 2023 08:13:01 - 1.329.2.3 +++ Makefile19 Jul 2023 16:38:38 - @@ -1,4 +1,4 @@ -VERSION = 4.17.9 +VERSION = 4.17.10 DISTNAME = samba-${VERSION} EPOCH =0 Index: distinfo === RCS file: /cvs/ports/net/samba/distinfo,v retrieving revision 1.103.2.3 diff -u -p -r1.103.2.3 distinfo --- distinfo8 Jul 2023 08:13:01 - 1.103.2.3 +++ distinfo19 Jul 2023 16:38:38 - @@ -1,2 +1,4 @@ -SHA256 (samba-4.17.9.tar.gz) = 7xwyciDyv0M/RPhaOUh4WVmWBjT0bMhPtnOJaXs0kKY= -SIZE (samba-4.17.9.tar.gz) = 30892107 +SHA256 (samba-4.17.10.tar.asc) = A2cdeQABHALsiD8BEyxToZ5oMfC3hdxRVwjwCUN4HRg= +SHA256 (samba-4.17.10.tar.gz) = ANuwqsn0z+6AD3CPTpCYlkpDp2RuYYIwcG1TLJu2w1A= +SIZE (samba-4.17.10.tar.asc) = 833 +SIZE (samba-4.17.10.tar.gz) = 30892671 -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Hi Everybody, Following -current, I have just sysupgraded / pkg_add -u (after ~40 days), and I cannot launch qt applications anymore : $ nextcloud qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. Abort trap $ doas pkg_add -r qtbase-5.15.10 quirks-6.134 signed on 2023-07-18T21:18:51Z $ QT_PLUGIN_PATH=/usr/local/lib/qt5/plugins/ nextcloud qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. Abort trap $ QT_DEBUG_PLUGINS=1 nextcloud QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lib/qt5/plugins/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqeglfs.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqeglfs.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "eglfs" ] }, "archreq": 0, "className": "QEglFSIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("eglfs") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqminimal.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimal" ] }, "archreq": 0, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("minimal") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqminimalegl.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqminimalegl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimalegl" ] }, "archreq": 0, "className": "QMinimalEglIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("minimalegl") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqoffscreen.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "offscreen" ] }, "archreq": 0, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqvnc.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqvnc.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "vnc" ] }, "archreq": 0, "className": "QVncIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("vnc") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqwayland-egl.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqwayland-egl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland-egl" ] }, "archreq": 0, "className": "QWaylandEglPlatformIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("wayland-egl") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqwayland-generic.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqwayland-generic.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland" ] }, "archreq": 0, "className": "QWaylandIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("wayland") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/qt5/plugins/platforms/libqwayland-xcomposite-egl.so" Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqwayland-xcomposite-egl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryIn
UPDATE: net/weechat
Simple update weechat to 4.0.2. Tested on amd64. OK? Rafael Index: Makefile === RCS file: /cvs/ports/net/weechat/Makefile,v retrieving revision 1.72 diff -u -p -u -p -r1.72 Makefile --- Makefile31 May 2023 15:21:52 - 1.72 +++ Makefile19 Jul 2023 15:21:33 - @@ -4,7 +4,7 @@ COMMENT-python= Python bindings for weec COMMENT-ruby= Ruby bindings for weechat COMMENT-tcl= Tcl bindings for weechat -V= 3.8 +V= 4.0.2 DISTNAME= weechat-${V} PKGNAME-main= weechat-${V} @@ -12,8 +12,6 @@ PKGNAME-lua= weechat-lua-${V} PKGNAME-python=weechat-python-${V} PKGNAME-ruby= weechat-ruby-${V} PKGNAME-tcl= weechat-tcl-${V} - -REVISION-ruby= 0 CATEGORIES=net Index: distinfo === RCS file: /cvs/ports/net/weechat/distinfo,v retrieving revision 1.39 diff -u -p -u -p -r1.39 distinfo --- distinfo8 Jan 2023 21:26:16 - 1.39 +++ distinfo19 Jul 2023 15:21:33 - @@ -1,2 +1,2 @@ -SHA256 (weechat-3.8.tar.gz) = 2dJ/rBJ8ckVkzyjGF5+m7MeaYfna0Jo7JRUA8rB1VAk= -SIZE (weechat-3.8.tar.gz) = 5461256 +SHA256 (weechat-4.0.2.tar.gz) = 6zv2X5wkEdhdSEEYcYLX6jeP9kuCwurwzviF+Bjsh1M= +SIZE (weechat-4.0.2.tar.gz) = 4938413 Index: patches/patch-CMakeLists_txt === RCS file: /cvs/ports/net/weechat/patches/patch-CMakeLists_txt,v retrieving revision 1.9 diff -u -p -u -p -r1.9 patch-CMakeLists_txt --- patches/patch-CMakeLists_txt8 Jan 2023 21:26:16 - 1.9 +++ patches/patch-CMakeLists_txt19 Jul 2023 15:21:33 - @@ -9,16 +9,7 @@ typedef int __wchar_ Index: CMakeLists.txt --- CMakeLists.txt.orig +++ CMakeLists.txt -@@ -27,8 +27,6 @@ project(weechat C) - set(CMAKE_VERBOSE_MAKEFILE OFF) - set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}) - set(CMAKE_SKIP_RPATH ON) --set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration") --set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra") - - # version - execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR) -@@ -224,7 +222,7 @@ if(DL_LIBRARY) +@@ -255,7 +255,7 @@ if(DL_LIBRARY) list(APPEND EXTRA_LIBS dl) endif() Index: patches/patch-doc_CMakeLists_txt === RCS file: /cvs/ports/net/weechat/patches/patch-doc_CMakeLists_txt,v retrieving revision 1.12 diff -u -p -u -p -r1.12 patch-doc_CMakeLists_txt --- patches/patch-doc_CMakeLists_txt28 Mar 2022 05:10:14 - 1.12 +++ patches/patch-doc_CMakeLists_txt19 Jul 2023 15:21:33 - @@ -1,30 +1,12 @@ Index: doc/CMakeLists.txt --- doc/CMakeLists.txt.orig +++ doc/CMakeLists.txt -@@ -73,16 +73,16 @@ if(ENABLE_MAN OR ENABLE_DOC) - add_custom_target(rn DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html) +@@ -22,7 +22,7 @@ if(ENABLE_MAN OR ENABLE_DOC) - # man/doc in all languages --add_subdirectory(cs) --add_subdirectory(de) --add_subdirectory(en) --add_subdirectory(es) --add_subdirectory(fr) --add_subdirectory(it) --add_subdirectory(ja) --add_subdirectory(pl) --add_subdirectory(ru) --add_subdirectory(sr) -+#add_subdirectory(cs) -+#add_subdirectory(de) -+#add_subdirectory(en) -+#add_subdirectory(es) -+#add_subdirectory(fr) -+#add_subdirectory(it) -+#add_subdirectory(ja) -+#add_subdirectory(pl) -+#add_subdirectory(ru) -+#add_subdirectory(sr) - else() - message(SEND_ERROR "Asciidoctor not found") - endif() + # docs languages + set(AUTOGEN_LANG de en fr it ja pl sr) +- set(MAN_LANG cs de en fr it ja pl ru sr) ++ set(MAN_LANG en) + set(USER_LANG de en fr it ja pl sr) + set(PLUGIN_API_LANG en fr it ja sr) + set(SCRIPTING_LANG de en fr it ja pl sr) Index: patches/patch-src_plugins_lua_CMakeLists_txt === RCS file: /cvs/ports/net/weechat/patches/patch-src_plugins_lua_CMakeLists_txt,v retrieving revision 1.4 diff -u -p -u -p -r1.4 patch-src_plugins_lua_CMakeLists_txt --- patches/patch-src_plugins_lua_CMakeLists_txt11 Mar 2022 19:48:10 - 1.4 +++ patches/patch-src_plugins_lua_CMakeLists_txt19 Jul 2023 15:21:33 - @@ -11,4 +11,4 @@ Index: src/plugins/lua/CMakeLists.txt + target_link_libraries(lua ${LUA_LIBRARIES} weechat_plugins_scripts coverage_config) endif() - install(TARGETS lua LIBRARY DESTINATION ${WEECHAT_LIBDIR}/plugins) + install(TARGETS lua LIBRARY DESTINATION "${WEECHAT_LIBDIR}/plugins") Index: patches/patch-tests_CMakeLists_txt === RCS file: /cvs/ports/net/weechat/patches/patch-tests_CMakeLists_txt,v retrieving revision 1.13 diff -
Re: www/webkitgtk4: switch to JIT on riscv64
On Wed, Jul 19, 2023 at 03:59:59PM +0200, Antoine Jacoutot wrote: > On Wed, Jul 19, 2023 at 02:29:47PM +0200, Jeremie Courreges-Anglas wrote: > > > > Since upstream webkit(gtk) switched to JIT by default on riscv64, > > www/webkitgtk4 doesn't build on riscv64. > > > > > > http://build-failures.rhaalovely.net/riscv64/2023-06-30/www/webkitgtk4%2Cwebkitgtk41.log > > > > LowLevelInterpreter.asm doesn't seem fit for architectures that use the > > C_LOOP interpreter (powerpc, powerpc64, sparc64...) instead of JIT. > > Some fix might be needed here. > > > > Regarding riscv64, I suggest we go with the flow and enable the JIT on > > riscv64. The diff below drops one patch and adds another one: > > RISCV64Assembler.h assumes that intptr_t and int64_t are the same type, > > which isn't the case on OpenBSD (long vs long long) ; I merely added > > workarounds. Obviously MachineContext.h needs definitions for riscv64 > > too, I hope I haven't messed on of these. > > > > Using this diff, libexec/jsc computes 1+1 without crashing. Sadly I was > > not able to test libexec/MiniBrowser over SSH X11 forwarding (WebProcess > > appears to crash with an X11 error[0], just like on amd64). > > > > ok? > > Yup. With a bump I assume?
Re: www/webkitgtk4: switch to JIT on riscv64
On Wed, Jul 19, 2023 at 02:29:47PM +0200, Jeremie Courreges-Anglas wrote: > > Since upstream webkit(gtk) switched to JIT by default on riscv64, > www/webkitgtk4 doesn't build on riscv64. > > > http://build-failures.rhaalovely.net/riscv64/2023-06-30/www/webkitgtk4%2Cwebkitgtk41.log > > LowLevelInterpreter.asm doesn't seem fit for architectures that use the > C_LOOP interpreter (powerpc, powerpc64, sparc64...) instead of JIT. > Some fix might be needed here. > > Regarding riscv64, I suggest we go with the flow and enable the JIT on > riscv64. The diff below drops one patch and adds another one: > RISCV64Assembler.h assumes that intptr_t and int64_t are the same type, > which isn't the case on OpenBSD (long vs long long) ; I merely added > workarounds. Obviously MachineContext.h needs definitions for riscv64 > too, I hope I haven't messed on of these. > > Using this diff, libexec/jsc computes 1+1 without crashing. Sadly I was > not able to test libexec/MiniBrowser over SSH X11 forwarding (WebProcess > appears to crash with an X11 error[0], just like on amd64). > > ok? Yup. > > [0] https://pbot.rmdir.de/IdcxBLvuqtLXUwmqtqHt1A > > > Index: Makefile > === > RCS file: /cvs/ports/www/webkitgtk4/Makefile,v > retrieving revision 1.194 > diff -u -p -r1.194 Makefile > --- Makefile 5 Jul 2023 03:53:26 - 1.194 > +++ Makefile 16 Jul 2023 13:28:32 - > @@ -111,10 +111,10 @@ CONFIGURE_ARGS += -DUSE_WPE_RENDERER=OFF > CONFIGURE_ARGS +=-DENABLE_GAMEPAD=OFF > > # sync with Source/JavaScriptCore/assembler/MacroAssembler.h > -# native support for riscv64 in LLInt fails to link with relocation errors > .if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_ARCH} != "amd64" && \ > ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "i386" && \ > -${MACHINE_ARCH} != "mips64" && ${MACHINE_ARCH} != "mips64el" > +${MACHINE_ARCH} != "mips64" && ${MACHINE_ARCH} != "mips64el" && \ > +${MACHINE_ARCH} != "riscv64" > # #error "The MacroAssembler is not supported on this platform." > CONFIGURE_ARGS +=-DENABLE_JIT=OFF > CONFIGURE_ARGS +=-DENABLE_C_LOOP=ON > Index: patches/patch-Source_JavaScriptCore_assembler_RISCV64Assembler_h > === > RCS file: patches/patch-Source_JavaScriptCore_assembler_RISCV64Assembler_h > diff -N patches/patch-Source_JavaScriptCore_assembler_RISCV64Assembler_h > --- /dev/null 1 Jan 1970 00:00:00 - > +++ patches/patch-Source_JavaScriptCore_assembler_RISCV64Assembler_h 19 Jul > 2023 12:29:14 - > @@ -0,0 +1,55 @@ > +Add definitions to work around type assumptions: on OpenBSD intptr_t is a > long > +and int64_t is a long long. > + > +Index: Source/JavaScriptCore/assembler/RISCV64Assembler.h > +--- Source/JavaScriptCore/assembler/RISCV64Assembler.h.orig > Source/JavaScriptCore/assembler/RISCV64Assembler.h > +@@ -186,7 +186,7 @@ struct ImmediateBase { > + > + template > + static auto isValid(T immValue) > +--> std::enable_if_t<(std::is_same_v || > std::is_same_v), bool> > ++-> std::enable_if_t<(std::is_same_v || > std::is_same_v || std::is_same_v), bool> > + { > + constexpr unsigned shift = sizeof(T) * 8 - immediateSize; > + return immValue == ((immValue << shift) >> shift); > +@@ -209,6 +209,14 @@ struct ImmediateBase { > + } > + > + template > ++static ImmediateType v(intptr_t immValue) > ++{ > ++ASSERT(isValid(immValue)); > ++intptr_t value = *reinterpret_cast(&immValue); > ++return ImmediateType(uint32_t(value & immediateMask())); > ++} > ++ > ++template > + static ImmediateType v(int64_t immValue) > + { > + ASSERT(isValid(immValue)); > +@@ -310,7 +318,7 @@ struct JImmediate : ImmediateBase<21> { > + }; > + > + struct ImmediateDecomposition { > +-template int32_t> || std::is_same_v)>> > ++template int32_t> || std::is_same_v || std::is_same_v)>> > + explicit ImmediateDecomposition(T immediate) > + : upper(UImmediate(0)) > + , lower(IImmediate(0)) > +@@ -2182,7 +2190,15 @@ class RISCV64Assembler { (public) > + : ImmediateLoader(int64_t(imm)) > + { } > + > ++ImmediateLoader(intptr_t imm) > ++: ImmediateLoader(int64_t(imm)) > ++{ } > ++ > + ImmediateLoader(PlaceholderTag, int32_t imm) > ++: ImmediateLoader(Placeholder, int64_t(imm)) > ++{ } > ++ > ++ImmediateLoader(PlaceholderTag, intptr_t imm) > + : ImmediateLoader(Placeholder, int64_t(imm)) > + { } > + > Index: patches/patch-Source_JavaScriptCore_runtime_MachineContext_h > === > RCS file: > /cvs/ports/www/webkitgtk4/patches/patch-Source_JavaScriptCore_runtime_MachineContext_h,v > retrieving revision 1.11 > diff -u -p -r1.11 patch-Source_JavaScriptCore_runtime_Machin
UPDATE: devel/cmake
Please find below a simple update diff for cmake to 3.27.0. CMake 3.27 comes with a new feature: “cmake(1)” now supports interactive debugging of the CMake language. See the “–debugger” option." ... which depends on cppdap. It's not possible for us to use system cppdap which create a "Chicken-or-Egg" problem because upstream cppdap depends on cmake. Cloud anyone throw the diff in a bulk build? Thanks in advice! Rafael diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile index 6ee97ebc8e5..f16130ed0c3 100644 --- a/devel/cmake/Makefile +++ b/devel/cmake/Makefile @@ -2,7 +2,7 @@ DPB_PROPERTIES =parallel COMMENT = portable build system -VER = 3.26.4 +VER = 3.27.0 EPOCH =0 DISTNAME = cmake-${VER} CATEGORIES = devel @@ -41,8 +41,9 @@ CONFIGURE_ARGS = --datadir=share/cmake \ --parallel=${MAKE_JOBS} \ --prefix=${PREFIX} \ --sphinx-html \ - --sphinx-man \ --system-libs \ + --no-system-cppdap \ + --sphinx-man \ --verbose CONFIGURE_ENV += MAKE=${MAKE_PROGRAM} diff --git a/devel/cmake/distinfo b/devel/cmake/distinfo index 43b6548151d..d938120a82a 100644 --- a/devel/cmake/distinfo +++ b/devel/cmake/distinfo @@ -1,2 +1,2 @@ -SHA256 (cmake-3.26.4.tar.gz) = MTtogMKRvU/jHAqlHW5iZZKCpSHmlfMNXMDSWrvVwgg= -SIZE (cmake-3.26.4.tar.gz) = 10669686 +SHA256 (cmake-3.27.0.tar.gz) = qu3bayi5k9Cm4yyIEj1yihdWEzarkOC/RQMjg1ZNPLg= +SIZE (cmake-3.27.0.tar.gz) = 10977223 diff --git a/devel/cmake/patches/patch-Modules_Compiler_GNU_cmake b/devel/cmake/patches/patch-Modules_Compiler_GNU_cmake index 5b4036ea890..58d4bf25dae 100644 --- a/devel/cmake/patches/patch-Modules_Compiler_GNU_cmake +++ b/devel/cmake/patches/patch-Modules_Compiler_GNU_cmake @@ -1,7 +1,7 @@ Index: Modules/Compiler/GNU.cmake --- Modules/Compiler/GNU.cmake.orig +++ Modules/Compiler/GNU.cmake -@@ -54,10 +54,17 @@ macro(__compiler_gnu lang) +@@ -100,10 +100,17 @@ macro(__compiler_gnu lang) # Initial configuration flags. string(APPEND CMAKE_${lang}_FLAGS_INIT " ") diff --git a/devel/cmake/patches/patch-Modules_Platform_OpenBSD_cmake b/devel/cmake/patches/patch-Modules_Platform_OpenBSD_cmake index 4bc2fc1490a..caefdeb027c 100644 --- a/devel/cmake/patches/patch-Modules_Platform_OpenBSD_cmake +++ b/devel/cmake/patches/patch-Modules_Platform_OpenBSD_cmake @@ -1,7 +1,7 @@ Index: Modules/Platform/OpenBSD.cmake --- Modules/Platform/OpenBSD.cmake.orig +++ Modules/Platform/OpenBSD.cmake -@@ -42,3 +42,4 @@ else() +@@ -41,3 +41,4 @@ else() endif() list(APPEND CMAKE_SYSTEM_PREFIX_PATH ${OPENBSD_LOCALBASE}) diff --git a/devel/cmake/patches/patch-Source_cmFileCommand_cxx b/devel/cmake/patches/patch-Source_cmFileCommand_cxx index 5fba717a074..5477e386d64 100644 --- a/devel/cmake/patches/patch-Source_cmFileCommand_cxx +++ b/devel/cmake/patches/patch-Source_cmFileCommand_cxx @@ -1,7 +1,7 @@ Index: Source/cmFileCommand.cxx --- Source/cmFileCommand.cxx.orig +++ Source/cmFileCommand.cxx -@@ -1764,6 +1764,13 @@ bool HandleDownloadCommand(std::vector co +@@ -1763,6 +1763,13 @@ bool HandleDownloadCommand(std::vector co ++i; std::string file; @@ -15,7 +15,7 @@ Index: Source/cmFileCommand.cxx long timeout = 0; long inactivity_timeout = 0; std::string logVar; -@@ -2174,6 +2181,12 @@ bool HandleUploadCommand(std::vector cons +@@ -2173,6 +2180,12 @@ bool HandleUploadCommand(std::vector cons cmExecutionStatus& status) { #if !defined(CMAKE_BOOTSTRAP) diff --git a/devel/cmake/patches/patch-Source_cmFindPackageCommand_cxx b/devel/cmake/patches/patch-Source_cmFindPackageCommand_cxx index 5b8bdb0fd2b..0f0f4810a99 100644 --- a/devel/cmake/patches/patch-Source_cmFindPackageCommand_cxx +++ b/devel/cmake/patches/patch-Source_cmFindPackageCommand_cxx @@ -3,7 +3,7 @@ Disable find_package QUIET option in openbsd ports builds. Index: Source/cmFindPackageCommand.cxx --- Source/cmFindPackageCommand.cxx.orig +++ Source/cmFindPackageCommand.cxx -@@ -662,7 +662,13 @@ bool cmFindPackageCommand::InitialPass(std::vector moduleArgs; for (std::size_t i = 1u; i < args.size(); ++i) { if (args[i] == "QUIET") { diff --git a/devel/cmake/patches/patch-Source_cmGeneratorTarget_cxx b/devel/cmake/patches/patch-Source_cmGeneratorTarget_cxx index 47a0005c67f..41116dc2902 100644 --- a/devel/cmake/patches/patch-Source_cmGeneratorTarget_cxx +++ b/devel/cmake/patches/patch-Source_cmGeneratorTarget_cxx @@ -1,9 +1,9 @@ Index: Source/cmGeneratorTarget.cxx --- Source/cmGeneratorTarget.cxx.orig +++ Source/cmGeneratorTarget.cxx -@@ -5259,6 +5259,50 @@ cmGeneratorTarget::Names cmGeneratorTarget::GetLibrary +@@ -5186,6 +5186,50 @@ cmGeneratorTarget::Names cmGeneratorTarget::GetLibrary targetNames.Output = - components.prefix + targetNames.Base + components.suffix; + cmStrCa
www/webkitgtk4: switch to JIT on riscv64
Since upstream webkit(gtk) switched to JIT by default on riscv64, www/webkitgtk4 doesn't build on riscv64. http://build-failures.rhaalovely.net/riscv64/2023-06-30/www/webkitgtk4%2Cwebkitgtk41.log LowLevelInterpreter.asm doesn't seem fit for architectures that use the C_LOOP interpreter (powerpc, powerpc64, sparc64...) instead of JIT. Some fix might be needed here. Regarding riscv64, I suggest we go with the flow and enable the JIT on riscv64. The diff below drops one patch and adds another one: RISCV64Assembler.h assumes that intptr_t and int64_t are the same type, which isn't the case on OpenBSD (long vs long long) ; I merely added workarounds. Obviously MachineContext.h needs definitions for riscv64 too, I hope I haven't messed on of these. Using this diff, libexec/jsc computes 1+1 without crashing. Sadly I was not able to test libexec/MiniBrowser over SSH X11 forwarding (WebProcess appears to crash with an X11 error[0], just like on amd64). ok? [0] https://pbot.rmdir.de/IdcxBLvuqtLXUwmqtqHt1A Index: Makefile === RCS file: /cvs/ports/www/webkitgtk4/Makefile,v retrieving revision 1.194 diff -u -p -r1.194 Makefile --- Makefile5 Jul 2023 03:53:26 - 1.194 +++ Makefile16 Jul 2023 13:28:32 - @@ -111,10 +111,10 @@ CONFIGURE_ARGS += -DUSE_WPE_RENDERER=OFF CONFIGURE_ARGS += -DENABLE_GAMEPAD=OFF # sync with Source/JavaScriptCore/assembler/MacroAssembler.h -# native support for riscv64 in LLInt fails to link with relocation errors .if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_ARCH} != "amd64" && \ ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "i386" && \ -${MACHINE_ARCH} != "mips64" && ${MACHINE_ARCH} != "mips64el" +${MACHINE_ARCH} != "mips64" && ${MACHINE_ARCH} != "mips64el" && \ +${MACHINE_ARCH} != "riscv64" # #error "The MacroAssembler is not supported on this platform." CONFIGURE_ARGS += -DENABLE_JIT=OFF CONFIGURE_ARGS += -DENABLE_C_LOOP=ON Index: patches/patch-Source_JavaScriptCore_assembler_RISCV64Assembler_h === RCS file: patches/patch-Source_JavaScriptCore_assembler_RISCV64Assembler_h diff -N patches/patch-Source_JavaScriptCore_assembler_RISCV64Assembler_h --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-Source_JavaScriptCore_assembler_RISCV64Assembler_h19 Jul 2023 12:29:14 - @@ -0,0 +1,55 @@ +Add definitions to work around type assumptions: on OpenBSD intptr_t is a long +and int64_t is a long long. + +Index: Source/JavaScriptCore/assembler/RISCV64Assembler.h +--- Source/JavaScriptCore/assembler/RISCV64Assembler.h.orig Source/JavaScriptCore/assembler/RISCV64Assembler.h +@@ -186,7 +186,7 @@ struct ImmediateBase { + + template + static auto isValid(T immValue) +--> std::enable_if_t<(std::is_same_v || std::is_same_v), bool> ++-> std::enable_if_t<(std::is_same_v || std::is_same_v || std::is_same_v), bool> + { + constexpr unsigned shift = sizeof(T) * 8 - immediateSize; + return immValue == ((immValue << shift) >> shift); +@@ -209,6 +209,14 @@ struct ImmediateBase { + } + + template ++static ImmediateType v(intptr_t immValue) ++{ ++ASSERT(isValid(immValue)); ++intptr_t value = *reinterpret_cast(&immValue); ++return ImmediateType(uint32_t(value & immediateMask())); ++} ++ ++template + static ImmediateType v(int64_t immValue) + { + ASSERT(isValid(immValue)); +@@ -310,7 +318,7 @@ struct JImmediate : ImmediateBase<21> { + }; + + struct ImmediateDecomposition { +-template || std::is_same_v)>> ++template || std::is_same_v || std::is_same_v)>> + explicit ImmediateDecomposition(T immediate) + : upper(UImmediate(0)) + , lower(IImmediate(0)) +@@ -2182,7 +2190,15 @@ class RISCV64Assembler { (public) + : ImmediateLoader(int64_t(imm)) + { } + ++ImmediateLoader(intptr_t imm) ++: ImmediateLoader(int64_t(imm)) ++{ } ++ + ImmediateLoader(PlaceholderTag, int32_t imm) ++: ImmediateLoader(Placeholder, int64_t(imm)) ++{ } ++ ++ImmediateLoader(PlaceholderTag, intptr_t imm) + : ImmediateLoader(Placeholder, int64_t(imm)) + { } + Index: patches/patch-Source_JavaScriptCore_runtime_MachineContext_h === RCS file: /cvs/ports/www/webkitgtk4/patches/patch-Source_JavaScriptCore_runtime_MachineContext_h,v retrieving revision 1.11 diff -u -p -r1.11 patch-Source_JavaScriptCore_runtime_MachineContext_h --- patches/patch-Source_JavaScriptCore_runtime_MachineContext_h17 Sep 2022 08:13:54 - 1.11 +++ patches/patch-Source_JavaScriptCore_runtime_MachineContext_h19 Jul 2023 11:44:32 - @@ -1,7 +1,7 @@ Index: Source/JavaScriptCore/runtime/MachineContext.h --- Source/JavaScriptCore/runtime/Mach
Re: NEW: devel/cppdap
On Wed Jul 19, 2023 at 12:24:02PM +0100, Stuart Henderson wrote: > On 2023/07/19 13:21, Rafael Sadowski wrote: > > please find attached a new port cppdap 1.58 as tarball. This is a new > > dependency for cmake 3.27 and it's only an static lib with includes and > > cmake files. > > : MODULES = devel/cmake > : > : BUILD_DEPENDS = textproc/nlohmann-json > > That's not going to work; both cppdap and nlohmann-json use cmake > themselves, so cmake is not going to be able to depend on this. > Ah, "Chicken-and-egg" good point, thanks! I'll work on a solution!
Re: NEW: devel/cppdap
On 2023/07/19 13:21, Rafael Sadowski wrote: > please find attached a new port cppdap 1.58 as tarball. This is a new > dependency for cmake 3.27 and it's only an static lib with includes and > cmake files. : MODULES = devel/cmake : : BUILD_DEPENDS = textproc/nlohmann-json That's not going to work; both cppdap and nlohmann-json use cmake themselves, so cmake is not going to be able to depend on this.
Re: x11/st xresources flavor?
On 2023/07/18 20:03, Ashlen wrote: > In any case, a new port for xst seems like a good idea to me, I think > I've had some positive experiences with it before. I can understand why > you might have reservations about stacking patches like that. > > If it's alright with everyone, I'll take a closer look at xst tomorrow > and possibly compare it to other forks of st. If people would be willing > to review and test a written port for either xst or another > well-maintained fork of st that includes quality of life patches, I can > put in the work to make that happen. Yes certainly. Should be pretty straightforward to adapt from x11/st to make a new port. (I didn't find xst earlier, otherwise I probably would have used that rather than adding the scrollback flavour to st - most other forks appear to have kept the "st" name as-is so there's already one benefit of xst over the others in that it's less ambiguous :)
NEW: devel/cppdap
Hi ports@ please find attached a new port cppdap 1.58 as tarball. This is a new dependency for cmake 3.27 and it's only an static lib with includes and cmake files. OK to import? Information for inst:cppdap-1.58.0 Comment: C++ library for the Debug Adapter Protocol (DAP) Description: cppdap is a C++11 library ("SDK") implementation of the Debug Adapter Protocol, providing an API for implementing a DAP client or server. cppdap provides C++ type-safe structures for the full DAP specification, and provides a simple way to add custom protocol messages. Maintainer: The OpenBSD ports mailing-list WWW: https://github.com/google/cppdap cppdap.tgz.tar.gz Description: application/tar-gz