Fwd: removing libutil.so.15.1 and libX11.so.17.1 per sysclean(8) breaks xmonad(1)

2022-04-01 Thread Amit Kulkarni
-- Forwarded message -
From: Ashlen 
Date: Fri, Apr 1, 2022 at 1:37 PM
Subject: removing libutil.so.15.1 and libX11.so.17.1 per sysclean(8)
breaks xmonad(1)
To: 


Hi, I'm on this snapshot with updated packages:


$ sysctl -n kern.version
OpenBSD 7.1 (GENERIC.MP) #454: Thu Mar 31 09:28:09 MDT 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP


sysclean(8) from ports recommends to delete
/usr/X11R6/lib/libX11.so.17.1 and /usr/lib/libutil.so.15.1 but if these
files are removed, xmonad(1) will fail to start and it quits back to
xenodm(1) login. These are the relevant messages in ~/.xsession-errors
(I've seen both cause this).


XMonad is recompiling and replacing itself with another XMonad process
because the current process is called "xmonad" but the compiled
configuration should be called "xmonad-x86_64-openbsd"
XMonad will use build script at "/home/ashlen/.config/xmonad/build" to
recompile.
XMonad recompiling because a custom build script is being used.
[2022-04-01|12:07:54]:
/home/ashlen/.cache/xmonad/xmonad-x86_64-openbsd is newer than
xmonad.hs.
XMonad recompilation process exited with success!
ld.so: xmonad-x86_64-openbsd: can't load library 'libX11.so.17.1'
Killed


I should mention that sysclean -p does not report that xmonad(1) needs
these files, and that sysclean was used without flags here.

If this should be in ports@ feel free to forward this there, wasn't too
sure where to send this.


OpenBSD 7.1 (GENERIC.MP) #454: Thu Mar 31 09:28:09 MDT 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16959832064 (16174MB)
avail mem = 16428556288 (15667MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.1 @ 0xc7d49000 (64 entries)
bios0: vendor LENOVO version "N2HET66W (1.49 )" date 11/10/2021
bios0: LENOVO 20QDUS
acpi0 at bios0: ACPI 6.1
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT UEFI SSDT HPET APIC MCFG
ECDT SSDT SSDT SSDT BOOT SSDT LPIT WSMT SSDT DBGP DBG2 MSDM BATB NHLT
DMAR FPDT BGRT UEFI
acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4)
PXSX(S4) RP02(S4) PXSX(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4)
PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2399 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1724.02 MHz, 06-8e-0c
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c
cpu3: 

rsync zlib (was: Re: No more imports, prepare for 7.1)

2022-04-01 Thread Christian Weisgerber
Christian Weisgerber:

> * There was that recent zlib vulnerability.
>   How about rsync?

There is a single call to deflateInit*() in rsync, found in token.c:

if (deflateInit2(_strm, compression_level,
 Z_DEFLATED, -15, 8,
 Z_DEFAULT_STRATEGY) != Z_OK) {

The originally reported Z_FIXED vulnerability doesn't affect this.

Eric Biggers' reproducer for

  deflateInit2(, 7, Z_DEFLATED, 15, 1, Z_DEFAULT_STRATEGY);

is also not applicable if you read his report:
https://www.openwall.com/lists/oss-security/2022/03/28/1

So it looks like the way rsync uses its modified private copy of
zlib is safe.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: www/liferea build failure

2022-04-01 Thread Stuart Henderson
On 2022/04/01 21:50, Christian Weisgerber wrote:
> /liferea failed to build in my latest amd64 bulk build.
> 
> Command '['./liferea', 
> '--introspect-dump=/tmp/tmp-introspectu38u4sfl/functions.txt,/tmp/tmp-introspectu38u4sfl/dump.xml']'
>  died with .
> 
> I wiped it and tried again; same result.
> 
> Any ideas?  I'm attaching the full build log.
> 
> -- 
> Christian "naddy" Weisgerber  na...@mips.inka.de

If I run as my own uid with access to x then it's able to build,
if I build as _pbuild it fails.

This is the command which hits the segv:

CPPFLAGS="-I/usr/local/include" CFLAGS="-O2 -pipe" LDFLAGS="-L/usr/local/lib" 
CC="cc" PKG_CONFIG="/usr/bin/pkg-config" GI_HOST_OS="" DLLTOOL="false"  
/usr/local/bin/g-ir-scanner  -I../src --warn-all --accept-unprefixed 
--identifier-prefix=Liferea --verbose --namespace=Liferea --nsversion=3.0 
--libtool="/usr/bin/libtool"  --include=Gtk-3.0 --include=libxml2-2.0   
--program=./liferea   --cflags-begin  --cflags-end  auth.c auth.h 
auth_activatable.c auth_activatable.h enclosure.h feedlist.c feedlist.h item.h 
itemlist.c itemlist.h itemset.c itemset.h node.h node.c node_view.h social.c 
social.h subscription_type.h ui/browser_tabs.c ui/browser_tabs.h ui/icons.c 
ui/icons.h ui/itemview.c ui/itemview.h ui/item_list_view.c ui/item_list_view.h 
ui/liferea_htmlview.c ui/liferea_htmlview.h ui/liferea_shell.c 
ui/liferea_shell.h ui/liferea_shell_activatable.c 
ui/liferea_shell_activatable.h ui/media_player.c ui/media_player.h 
ui/media_player_activatable.c ui/media_player_activatable.h 
fl_sources/node_source.c fl_sources/node_source.h 
fl_sources/node_source_activatable.c fl_sources/node_source_activatable.h 
liferea --output Liferea-3.0.gir

If I run that manually as _pbuild it produces a coredump as below.

Thinking this probably has to be to do with the webkitgtk4 "Merge
upstream fix for: [GLX] Crash on process exit" commit


Core was generated by `liferea'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0cfe7f34606a in XCloseDisplay () from /usr/X11R6/lib/libX11.so.18.0
[Current thread is 1 (process 621100)]
(gdb) bt
#0  0x0cfe7f34606a in XCloseDisplay () from /usr/X11R6/lib/libX11.so.18.0
#1  0x0cff2e801c74 in ~PlatformDisplayX11 ()
at 
/usr/obj/ports/webkitgtk4-2.36.0/webkitgtk-2.36.0/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:117
#2  ~PlatformDisplayX11 ()
at 
/usr/obj/ports/webkitgtk4-2.36.0/webkitgtk-2.36.0/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:106
#3  0x0cff4c2c27e1 in _libc___cxa_finalize (dso=0x0) at 
/usr/src/lib/libc/stdlib/atexit.c:177
#4  0x0cff4c2f5d01 in _libc_exit (status=0) at 
/usr/src/lib/libc/stdlib/exit.c:54
#5  0x0cff19292f89 in ?? () from /usr/local/lib/libgirepository-1.0.so.3.0
#6  0x0cfea05c7494 in parse_arg (context=, group=, entry=0xcfe96d237c0, 
value=, option_name=, error=) 
at ../glib-2.70.5/glib/goption.c:1455
#7  0x0cfea05c6659 in parse_long_option (context=, 
group=, idx=0x7f7c6eb0, 
arg=, aliased=0, argc=0x7f7c6f4c, argv=0x7f7c7070, 
error=0x7f7c7018, 
parsed=0x7f7c6ef0) at ../glib-2.70.5/glib/goption.c:1679
#8  0x0cfea05c5a03 in g_option_context_parse (context=0xcfe96d0af80, 
argc=, argv=0x7f7c7070, 
error=) at ../glib-2.70.5/glib/goption.c:2069
#9  0x0cfea05c6f37 in g_option_context_parse_strv (context=0xcfe96d0af80, 
arguments=0x7f7c7070, 
error=0x7f7c7018) at ../glib-2.70.5/glib/goption.c:2758
#10 0x0cfe728b13bc in g_application_parse_command_line 
(application=0xcfe96d3f120, error=, 
arguments=) at ../glib-2.70.5/gio/gapplication.c:577
#11 g_application_real_local_command_line (application=0xcfe96d3f120, 
arguments=0x7f7c7070, 
exit_status=0x7f7c707c) at ../glib-2.70.5/gio/gapplication.c:1094
#12 0x0cfe728af43c in g_application_run (application=0xcfe96d3f120, 
argc=, argv=)
at ../glib-2.70.5/gio/gapplication.c:2538
#13 0x0cfc697a2a42 in main ()



CVS: cvs.openbsd.org: ports

2022-04-01 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/04/01 14:11:47

Modified files:
games/libgdx   : Makefile.inc 
games/libgdx/1.9.11/patches: 
 
patch-extensions_gdx-box2d_gdx-box2d_jni_build-linux64_xml 
 
patch-extensions_gdx-controllers_gdx-controllers-desktop_jni_build-linux64_xml 
 
patch-extensions_gdx-freetype_jni_build-linux64_xml 
 patch-gdx_jni_build-linux64_xml 
games/libgdx/1.9.9/patches: 

patch-extensions_gdx-box2d_gdx-box2d_jni_build-linux64_xml 

patch-extensions_gdx-controllers_gdx-controllers-desktop_jni_build-linux64_xml 

patch-extensions_gdx-freetype_jni_build-linux64_xml 
patch-gdx_jni_build-linux64_xml 

Log message:
libgdx: fix produced filenames broken in previous commit; found by naddy@



www/liferea build failure

2022-04-01 Thread Christian Weisgerber
/liferea failed to build in my latest amd64 bulk build.

Command '['./liferea', 
'--introspect-dump=/tmp/tmp-introspectu38u4sfl/functions.txt,/tmp/tmp-introspectu38u4sfl/dump.xml']'
 died with .

I wiped it and tried again; same result.

Any ideas?  I'm attaching the full build log.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de


liferea.log.xz
Description: application/xz


CVS: cvs.openbsd.org: ports

2022-04-01 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/04/01 13:10:54

Modified files:
mail/s-nail: Makefile distinfo 

Log message:
update to s-nail-14.9.24, from Steffen Nurpmeso (maintainer)



CVS: cvs.openbsd.org: ports

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

Modified files:
x11/cool-retro-term: Makefile 
x11/dstat  : Makefile 
x11/fsv: Makefile 
x11/gmrun  : Makefile 
x11/gnustep/back: Makefile 
x11/gnustep/sqlclient: Makefile 
x11/gtk+3  : Makefile 
x11/nitrogen   : Makefile 
x11/openbox: Makefile 
x11/polkit-qt5 : Makefile 
x11/qt5/qtgamepad: Makefile 
x11/qt5/qtmultimedia: Makefile 
x11/sawfish: Makefile 
x11/vlc: Makefile 
x11/windowmaker: Makefile 
x11/wxWidgets  : Makefile 
x11/xarchiver  : Makefile 
x11/xbanish: Makefile 
x11/xcolor : Makefile 
x11/xforms : Makefile 
x11/xmobar : Makefile 
x11/xplanet: Makefile 

Log message:
sync WANTLIB



CVS: cvs.openbsd.org: ports

2022-04-01 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/04/01 12:46:46

Modified files:
games/abuse: Makefile 
games/cosmosmash: Makefile 
games/crack-attack: Makefile 
games/csmash   : Makefile 
games/eboard   : Makefile 
games/frozen-bubble: Makefile 
games/galois   : Makefile 
games/gnome-mastermind: Makefile 
games/gnubg: Makefile 
games/openclonk: Makefile 
games/pentobi  : Makefile 
games/quadrupleback: Makefile 
games/rftg : Makefile 

Log message:
sync WANTLIB



CVS: cvs.openbsd.org: ports

2022-04-01 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/04/01 12:43:18

Modified files:
productivity/grisbi: Makefile 
productivity/kmymoney: Makefile 
productivity/libalkimia: Makefile 
productivity/osmo: Makefile 
productivity/rubrica2: Makefile 
productivity/workrave: Makefile 

Log message:
sync WANTLIB



CVS: cvs.openbsd.org: ports

2022-04-01 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/04/01 12:40:20

Modified files:
astro/py-astropy: Makefile 

Log message:
sync WANTLIB



UPDATE mail/s-nail

2022-04-01 Thread Steffen Nurpmeso
Hello ports@, hello Stuart.

This updates to v14.9.24, with a few fixes, including an IMAP
improvement so this MUA should work with Microsoft IMAP servers
(and all servers which treat "untagged" responses seriously).
(In general what seemed "buggy" to "you, user" should now feel
right.)

This is now really and irrefutable the last (bugfix) update of the
v14.9.X branch.  Thanks for your patience.

 <2023004708.af5oe%stef...@sdaoden.eu>:
 |Steffen Nurpmeso wrote in
 | <20210309175203.3umyh%stef...@sdaoden.eu>:
 ||Stuart Henderson wrote in
 || :
 |||On 2021/03/08 21:55, Steffen Nurpmeso wrote:
 |||> Steffen Nurpmeso wrote in
 |||>  <20210308200314.r794j%stef...@sdaoden.eu>:
 |||>|Stuart Henderson wrote in
 |||>| :
 | ..
 |||>||Can you advise how to tell the complicated make-config script how to
 |||>||respect ports CFLAGS setting for compiler optimization please?
 | ...
 ||So i have implemented VAL_AUTOCC=, which for now offers
 ...
 |This is not in v14.9.23, the "next [regular] release" should have
 |been and then is v14.10, it will contain this.
 |
 |For now i thus have disabled automatic $CC settings, just for you,

This continues to be true, thus.

A sedition free time everybody, greetings from Germany (in the
middle of a snow storm (honestly, not April 1st)).

Index: Makefile
===
RCS file: /cvs/ports/mail/s-nail/Makefile,v
retrieving revision 1.35
diff -a -p -u -a -p -u -r1.35 Makefile
--- Makefile11 Mar 2022 19:34:55 -  1.35
+++ Makefile31 Mar 2022 22:15:37 -
@@ -1,6 +1,6 @@
 COMMENT=   SysV mail/BSD Mail/POSIX mailx: send and receive mail
 
-DISTNAME=  s-nail-14.9.23
+DISTNAME=  s-nail-14.9.24
 CATEGORIES=mail
 HOMEPAGE=  https://www.sdaoden.eu/code.html\#s-mailx
 
Index: distinfo
===
RCS file: /cvs/ports/mail/s-nail/distinfo,v
retrieving revision 1.25
diff -a -p -u -a -p -u -r1.25 distinfo
--- distinfo9 Dec 2021 14:07:21 -   1.25
+++ distinfo31 Mar 2022 22:15:37 -
@@ -1,2 +1,2 @@
-SHA256 (s-nail-14.9.23.tar.gz) = Ul7SMxec/CoWluopUpn9jlrbskUQrU4eZDC0SRYvkWs=
-SIZE (s-nail-14.9.23.tar.gz) = 1091503
+SHA256 (s-nail-14.9.24.tar.gz) = Tk24aXkrzcyX+uHbGmZB5mSpOy6F9urFPns6wwXmxYY=
+SIZE (s-nail-14.9.24.tar.gz) = 1105199

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



CVS: cvs.openbsd.org: ports

2022-04-01 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/04/01 11:23:55

Modified files:
geo/foxtrotgps : Makefile 
geo/gpx-viewer : Makefile 
geo/librttopo  : Makefile 
geo/osm-gps-map: Makefile 
geo/spatialite/gui: Makefile 
geo/spatialite/librasterlite2: Makefile 
geo/spatialite/tools: Makefile 
lang/chibi-scheme: Makefile 
lang/erlang/21 : Makefile 
lang/racket-minimal: Makefile 
productivity/glabels: Makefile 

Log message:
sync WANTLIB



CVS: cvs.openbsd.org: ports

2022-04-01 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/04/01 11:18:16

Modified files:
audio/mscore   : Makefile 
audio/navidrome: Makefile 
audio/ncmpcpp  : Makefile 
audio/parlatype: Makefile 
audio/tagtool  : Makefile 
audio/timidity : Makefile 
audio/twolame  : Makefile 
education/drgeo: Makefile 
japanese/gwaei : Makefile 
japanese/kasumi: Makefile 
lang/apl   : Makefile 

Log message:
sync WANTLIB



CVS: cvs.openbsd.org: ports

2022-04-01 Thread Pavel Korovin
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2022/04/01 10:51:06

Modified files:
net/zabbix : Makefile 
net/zabbix/pkg : PLIST-proxy PLIST-server 

Log message:
Add missing textproc/libxml dependency to zabbix-agent;
Add missing share/zabbix-server/schema/mysql/ dir to PLISTs.
ok robert@



CVS: cvs.openbsd.org: ports

2022-04-01 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/04/01 08:53:57

Modified files:
geo/gpsbabel   : Makefile 

Log message:
Add qt5base to LIB_DEPENDS-main. Despite the separate -qt subpackage,
the gpsbabel binary from the main package *is* linked against Qt5Core.



Re: UPDATE prosody 0.12.0 from MAINTAINER

2022-04-01 Thread Omar Polo
Lucas  wrote:
> Additional bump, now that net/luaunbound is imported and working in most
> archs (thanks sthen@) and the ports is blocked for new ports.
> 
> op2@ said in the databases/luadbi update thread that it's working fine
> for them, too.

Yes, I've been running it for the last week without issues.

Committed, thanks!

> -Lucas
> 
> 
> diff 541cc6a9ec0e6eefd79c24f305db8e38e0e859e4 
> bab5e988ddd31020ccb388d57402886713091264
> blob - 111da98c2182b99f76398aaf581238cb9dcda46e
> blob + f723ce6d950ef739d7d5a4a37d4b0909a3e485b2
> --- net/prosody/Makefile
> +++ net/prosody/Makefile
> @@ -1,5 +1,5 @@
>  COMMENT =communications server for Jabber/XMPP written in Lua
> -DISTNAME =   prosody-0.11.13
> +DISTNAME =   prosody-0.12.0
>  CATEGORIES = net
>  HOMEPAGE =   https://prosody.im/
>  
> @@ -11,20 +11,22 @@ MASTER_SITES =https://prosody.im/downloads/source/
>  PERMIT_PACKAGE = Yes
>  
>  MODULES =lang/lua
> -MODLUA_VERSION = 5.2
> +MODLUA_VERSION = 5.3
>  
> -MODLUA_RUN_DEPENDS +=databases/luadbi \
> - devel/lua-bitop \
> +MODLUA_RUN_DEPENDS +=converters/luastruct \
> + databases/luadbi \
>   devel/luafs \
> + devel/luarocks \
> + net/luaunbound \
>   security/luasec \
>   textproc/luaexpat
> -LIB_DEPENDS =devel/libidn
> +LIB_DEPENDS =textproc/icu4c
>  
>  # fails, depends on busted not yet in
>  NO_TEST =Yes
>  TEST_DEPENDS =   ${MODLUA_RUN_DEPENDS}
>  
> -WANTLIB += crypto idn
> +WANTLIB += crypto icudata icui18n icuuc
>  
>  CONFIGURE_STYLE =simple
>  CONFIGURE_ARGS +=--prefix="${PREFIX}" \
> @@ -34,6 +36,7 @@ CONFIGURE_ARGS +=   --prefix="${PREFIX}" \
>   --with-lua-include="${MODLUA_INCL_DIR}" \
>   --lua-version="${MODLUA_VERSION}" \
>   --no-example-certs \
> + --idn-library=icu \
>   --c-compiler="${CC}" \
>   --linker="${CC}" \
>   --ldflags="-L/usr/lib -L${LOCALBASE}/lib -shared" \
> @@ -47,6 +50,9 @@ pre-configure:
>   cd ${WRKSRC}; sed -i -e 's,^#!/usr/bin/env lua,#!${MODLUA_BIN},' -e \
>   's,^lua ,${MODLUA_BIN} ,' prosody prosodyctl
>  
> +post-patch:
> + ${SUBST_CMD} ${WRKSRC}/util/prosodyctl.lua
> +
>  post-install:
>   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/prosody
>   ${INSTALL_DATA} ${WRKSRC}/README \
> blob - 1259a78118331eeda8b325c7586b7b975b0eab4a
> blob + 4c568d96106682731568f8292407e98b43194031
> --- net/prosody/distinfo
> +++ net/prosody/distinfo
> @@ -1,2 +1,2 @@
> -SHA256 (prosody-0.11.13.tar.gz) = 
> OcYbNGoJtRJbYEy5aeFCBsu8uGyBFW/8a6LWJSfPBDI=
> -SIZE (prosody-0.11.13.tar.gz) = 439816
> +SHA256 (prosody-0.12.0.tar.gz) = dS/zIBXaxWX8NBfCGWryaJccNY7gZuUfXZEkE1gNiJo=
> +SIZE (prosody-0.12.0.tar.gz) = 610330
> blob - 77b129d26593e3f817c3ed091d1971315a39b745
> blob + 9a2584e6469c8ace4698242ce55c89ff7f641b94
> --- net/prosody/patches/patch-core_certmanager_lua
> +++ net/prosody/patches/patch-core_certmanager_lua
> @@ -1,7 +1,7 @@
>  Index: core/certmanager.lua
>  --- core/certmanager.lua.orig
>  +++ core/certmanager.lua
> -@@ -110,7 +110,7 @@ end
> +@@ -202,7 +202,7 @@ end
>   
>   -- Built-in defaults
>   local core_defaults = {
> @@ -9,4 +9,4 @@ Index: core/certmanager.lua
>  +cafile = "/etc/ssl/cert.pem";
>   depth = 9;
>   protocol = "tlsv1+";
> - verify = (ssl_x509 and { "peer", "client_once", }) or "none";
> + verify = "none";
> blob - c71921bfdeffd77276b9058509080de47c86db43
> blob + 2b8227c237db7c1ebd5d295793948c03623af83a
> --- net/prosody/patches/patch-prosody_cfg_lua_dist
> +++ net/prosody/patches/patch-prosody_cfg_lua_dist
> @@ -12,10 +12,10 @@ Index: prosody.cfg.lua.dist
>  +-- Enable POSIX-only options
>  +pidfile = "/var/prosody/prosody.pid"
>  +
> - -- Enable use of libevent for better performance under high load
> - -- For more information see: https://prosody.im/doc/libevent
> - --use_libevent = true
> -@@ -164,8 +171,8 @@ archive_expires_after = "1w" -- Remove archived messag
> + -- This option allows you to specify additional locations where Prosody
> + -- will search first for modules. For additional modules you can install, 
> see
> + -- the community module repository at https://modules.prosody.im/
> +@@ -183,8 +190,8 @@ archive_expires_after = "1w" -- Remove archived messag
>   -- Logging configuration
>   -- For advanced logging see https://prosody.im/doc/logging
>   log = {
> @@ -24,5 +24,5 @@ Index: prosody.cfg.lua.dist
>  +info = "/var/prosody/prosody.log"; -- Change 'info' to 'debug' for 
> verbose logging
>  +error = "/var/prosody/prosody.err";
>   -- "*syslog"; -- Uncomment this for logging to syslog
> - -- "*console"; -- Log to the console, useful for debugging with 
> daemonize=false
> + -- 

CVS: cvs.openbsd.org: ports

2022-04-01 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2022/04/01 08:47:54

Modified files:
net/prosody: Makefile distinfo 
net/prosody/patches: patch-core_certmanager_lua 
 patch-prosody_cfg_lua_dist 
 patch-util-src_pposix_c 
 patch-util_prosodyctl_lua 
net/prosody/pkg: PLIST 
Added files:
net/prosody/patches: patch-plugins_mod_admin_socket_lua 
 patch-util_adminstream_lua 

Log message:
update net/prosody to 0.12

changelog: https://blog.prosody.im/prosody-0.12.0-released/

Original diff from Lucas, thank you!  tweaks/ok sthen@



Re: UPDATE prosody 0.12.0 from MAINTAINER

2022-04-01 Thread Lucas
Additional bump, now that net/luaunbound is imported and working in most
archs (thanks sthen@) and the ports is blocked for new ports.

op2@ said in the databases/luadbi update thread that it's working fine
for them, too.

-Lucas


diff 541cc6a9ec0e6eefd79c24f305db8e38e0e859e4 
bab5e988ddd31020ccb388d57402886713091264
blob - 111da98c2182b99f76398aaf581238cb9dcda46e
blob + f723ce6d950ef739d7d5a4a37d4b0909a3e485b2
--- net/prosody/Makefile
+++ net/prosody/Makefile
@@ -1,5 +1,5 @@
 COMMENT =  communications server for Jabber/XMPP written in Lua
-DISTNAME = prosody-0.11.13
+DISTNAME = prosody-0.12.0
 CATEGORIES =   net
 HOMEPAGE = https://prosody.im/
 
@@ -11,20 +11,22 @@ MASTER_SITES =  https://prosody.im/downloads/source/
 PERMIT_PACKAGE =   Yes
 
 MODULES =  lang/lua
-MODLUA_VERSION =   5.2
+MODLUA_VERSION =   5.3
 
-MODLUA_RUN_DEPENDS +=  databases/luadbi \
-   devel/lua-bitop \
+MODLUA_RUN_DEPENDS +=  converters/luastruct \
+   databases/luadbi \
devel/luafs \
+   devel/luarocks \
+   net/luaunbound \
security/luasec \
textproc/luaexpat
-LIB_DEPENDS =  devel/libidn
+LIB_DEPENDS =  textproc/icu4c
 
 # fails, depends on busted not yet in
 NO_TEST =  Yes
 TEST_DEPENDS = ${MODLUA_RUN_DEPENDS}
 
-WANTLIB += crypto idn
+WANTLIB += crypto icudata icui18n icuuc
 
 CONFIGURE_STYLE =  simple
 CONFIGURE_ARGS +=  --prefix="${PREFIX}" \
@@ -34,6 +36,7 @@ CONFIGURE_ARGS += --prefix="${PREFIX}" \
--with-lua-include="${MODLUA_INCL_DIR}" \
--lua-version="${MODLUA_VERSION}" \
--no-example-certs \
+   --idn-library=icu \
--c-compiler="${CC}" \
--linker="${CC}" \
--ldflags="-L/usr/lib -L${LOCALBASE}/lib -shared" \
@@ -47,6 +50,9 @@ pre-configure:
cd ${WRKSRC}; sed -i -e 's,^#!/usr/bin/env lua,#!${MODLUA_BIN},' -e \
's,^lua ,${MODLUA_BIN} ,' prosody prosodyctl
 
+post-patch:
+   ${SUBST_CMD} ${WRKSRC}/util/prosodyctl.lua
+
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/prosody
${INSTALL_DATA} ${WRKSRC}/README \
blob - 1259a78118331eeda8b325c7586b7b975b0eab4a
blob + 4c568d96106682731568f8292407e98b43194031
--- net/prosody/distinfo
+++ net/prosody/distinfo
@@ -1,2 +1,2 @@
-SHA256 (prosody-0.11.13.tar.gz) = OcYbNGoJtRJbYEy5aeFCBsu8uGyBFW/8a6LWJSfPBDI=
-SIZE (prosody-0.11.13.tar.gz) = 439816
+SHA256 (prosody-0.12.0.tar.gz) = dS/zIBXaxWX8NBfCGWryaJccNY7gZuUfXZEkE1gNiJo=
+SIZE (prosody-0.12.0.tar.gz) = 610330
blob - 77b129d26593e3f817c3ed091d1971315a39b745
blob + 9a2584e6469c8ace4698242ce55c89ff7f641b94
--- net/prosody/patches/patch-core_certmanager_lua
+++ net/prosody/patches/patch-core_certmanager_lua
@@ -1,7 +1,7 @@
 Index: core/certmanager.lua
 --- core/certmanager.lua.orig
 +++ core/certmanager.lua
-@@ -110,7 +110,7 @@ end
+@@ -202,7 +202,7 @@ end
  
  -- Built-in defaults
  local core_defaults = {
@@ -9,4 +9,4 @@ Index: core/certmanager.lua
 +  cafile = "/etc/ssl/cert.pem";
depth = 9;
protocol = "tlsv1+";
-   verify = (ssl_x509 and { "peer", "client_once", }) or "none";
+   verify = "none";
blob - c71921bfdeffd77276b9058509080de47c86db43
blob + 2b8227c237db7c1ebd5d295793948c03623af83a
--- net/prosody/patches/patch-prosody_cfg_lua_dist
+++ net/prosody/patches/patch-prosody_cfg_lua_dist
@@ -12,10 +12,10 @@ Index: prosody.cfg.lua.dist
 +-- Enable POSIX-only options
 +pidfile = "/var/prosody/prosody.pid"
 +
- -- Enable use of libevent for better performance under high load
- -- For more information see: https://prosody.im/doc/libevent
- --use_libevent = true
-@@ -164,8 +171,8 @@ archive_expires_after = "1w" -- Remove archived messag
+ -- This option allows you to specify additional locations where Prosody
+ -- will search first for modules. For additional modules you can install, see
+ -- the community module repository at https://modules.prosody.im/
+@@ -183,8 +190,8 @@ archive_expires_after = "1w" -- Remove archived messag
  -- Logging configuration
  -- For advanced logging see https://prosody.im/doc/logging
  log = {
@@ -24,5 +24,5 @@ Index: prosody.cfg.lua.dist
 +  info = "/var/prosody/prosody.log"; -- Change 'info' to 'debug' for 
verbose logging
 +  error = "/var/prosody/prosody.err";
-- "*syslog"; -- Uncomment this for logging to syslog
-   -- "*console"; -- Log to the console, useful for debugging with 
daemonize=false
+   -- "*console"; -- Log to the console, useful for debugging when running 
in the foreground
  }
blob - /dev/null
blob + 38933741801a6cdcd4f61cf1e64d4def7423dac4 (mode 644)
--- /dev/null
+++ net/prosody/patches/patch-plugins_mod_admin_socket_lua
@@ -0,0 +1,16 @@
+Upstream fix for older LuaSocket
+ref: 

Re: [update] sqlite 3.38.2

2022-04-01 Thread Landry Breuil
Le Fri, Apr 01, 2022 at 09:48:08AM +0200, Landry Breuil a écrit :
> hi,
> 
> lagging a bit behind upstream:
> https://www.sqlite.org/releaselog/3_37_2.html
> https://www.sqlite.org/releaselog/3_38_2.html
> 
> there's rarely fallout from sqlite updates, but a bulk would confirm at
> least everything builds if we want that for 7.1.

new diff with PLIST updates, thanks sthen :)

Index: Makefile
===
RCS file: /cvs/ports/databases/sqlite3/Makefile,v
retrieving revision 1.114
diff -u -r1.114 Makefile
--- Makefile11 Mar 2022 18:31:46 -  1.114
+++ Makefile1 Apr 2022 11:35:27 -
@@ -1,10 +1,10 @@
 COMMENT=   embedded SQL implementation
 
-DISTNAME = sqlite-autoconf-336
-PKGNAME=   sqlite3-3.36.0
+DISTNAME = sqlite-autoconf-3380200
+PKGNAME=   sqlite3-3.38.2
 
 # XXX needs bumps every time :-
-SHARED_LIBS +=  sqlite3   37.14 # 8.6
+SHARED_LIBS +=  sqlite3   37.15 # 8.6
 # sqlite suggests that users might like to assert() that library and header
 # versions match, so bumps are needed even if function signatures don't change.
 # ... at the current time the only one noticed is a < check (in subversion)
@@ -20,7 +20,7 @@
 
 WANTLIB += c curses m pthread readline z
 
-MASTER_SITES = ${HOMEPAGE}2021/
+MASTER_SITES = ${HOMEPAGE}2022/
 
 CONFIGURE_STYLE= gnu
 CONFIGURE_ARGS=--disable-static-shell
Index: distinfo
===
RCS file: /cvs/ports/databases/sqlite3/distinfo,v
retrieving revision 1.62
diff -u -r1.62 distinfo
--- distinfo22 Nov 2021 09:20:02 -  1.62
+++ distinfo1 Apr 2022 11:35:27 -
@@ -1,2 +1,2 @@
-SHA256 (sqlite-autoconf-336.tar.gz) = 
vZDD65a+6ZYga4O+cGXJzhmu84w/T7Uwc62g0LabvOM=
-SIZE (sqlite-autoconf-336.tar.gz) = 2977080
+SHA256 (sqlite-autoconf-3380200.tar.gz) = 
55dKoUMLrWkKXp95pu5chJKtqCadxnWHWtD7dH18raQ=
+SIZE (sqlite-autoconf-3380200.tar.gz) = 3032390
Index: pkg/PLIST
===
RCS file: /cvs/ports/databases/sqlite3/pkg/PLIST,v
retrieving revision 1.9
diff -u -r1.9 PLIST
--- pkg/PLIST   11 Mar 2022 18:31:46 -  1.9
+++ pkg/PLIST   1 Apr 2022 11:35:27 -
@@ -53,6 +53,7 @@
 @man man/man3/sqlite3_aggregate_count.3
 @man man/man3/sqlite3_api_routines.3
 @man man/man3/sqlite3_auto_extension.3
+@man man/man3/sqlite3_autovacuum_pages.3
 @man man/man3/sqlite3_backup.3
 @man man/man3/sqlite3_backup_init.3
 @man man/man3/sqlite3_bind_blob.3
@@ -206,8 +207,12 @@
 @man man/man3/sqlite3_vtab_collation.3
 @man man/man3/sqlite3_vtab_config.3
 @man man/man3/sqlite3_vtab_cursor.3
+@man man/man3/sqlite3_vtab_distinct.3
+@man man/man3/sqlite3_vtab_in.3
+@man man/man3/sqlite3_vtab_in_first.3
 @man man/man3/sqlite3_vtab_nochange.3
 @man man/man3/sqlite3_vtab_on_conflict.3
+@man man/man3/sqlite3_vtab_rhs_value.3
 @man man/man3/sqlite3_wal_autocheckpoint.3
 @man man/man3/sqlite3_wal_checkpoint.3
 @man man/man3/sqlite3_wal_checkpoint_v2.3
@@ -236,6 +241,7 @@
 @man man/man3/sqlite3rebaser_rebase.3
 @man man/man3/sqlite3session_attach.3
 @man man/man3/sqlite3session_changeset.3
+@man man/man3/sqlite3session_changeset_size.3
 @man man/man3/sqlite3session_config.3
 @man man/man3/sqlite3session_create.3
 @man man/man3/sqlite3session_delete.3


Re: Trouble updating Xscreensaver to 6.03

2022-04-01 Thread Stuart Henderson
Diff below seems to work for me as well as 5.45 does; that is to say,
it's working properly on my laptop if I only display on the internal
LCD, fails completely if I only display on the external display, and if
I have both displays active with the desktop extended to the external
display it locks ok, but only the internal LCD runs the blanker.

It would be helpful if others can confirm that this doesn't break
anything for them.

gid auth isn't working for me, so this is still setuid root, but at
least it's just the auth module in a separate process now.

Index: Makefile
===
RCS file: /cvs/ports/x11/xscreensaver/Makefile,v
retrieving revision 1.109
diff -u -p -r1.109 Makefile
--- Makefile11 Mar 2022 20:18:09 -  1.109
+++ Makefile1 Apr 2022 11:42:16 -
@@ -1,6 +1,6 @@
 COMMENT=   screen saver and locker for the X Window System
 
-DISTNAME=  xscreensaver-5.45
+DISTNAME=  xscreensaver-6.03
 
 CATEGORIES=x11
 
@@ -9,9 +9,9 @@ HOMEPAGE=   https://www.jwz.org/xscreensav
 # BSD
 PERMIT_PACKAGE=Yes
 
-WANTLIB += GL GLU ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes
-WANTLIB += Xft Xi Xinerama Xmu Xrandr Xrender Xt Xxf86vm atk-1.0
-WANTLIB += c cairo fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
+WANTLIB =  EGL GL GLU ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes
+WANTLIB += Xft Xi Xinerama Xrandr Xrender Xt Xxf86vm atk-1.0 c cairo
+WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
 WANTLIB += gdk_pixbuf_xlib-2.0 gio-2.0 gle glib-2.0 gmodule-2.0
 WANTLIB += gobject-2.0 gtk-x11-2.0 harfbuzz intl jpeg m pango-1.0
 WANTLIB += pangocairo-1.0 pangoft2-1.0 pthread util xml2 z
@@ -39,8 +39,7 @@ USE_GMAKE=Yes
 NO_TEST=   Yes
 
 CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS=--with-hackdir="${PREFIX}/libexec/xscreensaver" \
-   --with-x-app-defaults="${PREFIX}/lib/X11/app-defaults" \
+CONFIGURE_ARGS= --with-app-defaults="${PREFIX}/lib/X11/app-defaults" \
--without-pam
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
Index: distinfo
===
RCS file: /cvs/ports/x11/xscreensaver/distinfo,v
retrieving revision 1.41
diff -u -p -r1.41 distinfo
--- distinfo10 Jan 2021 21:32:12 -  1.41
+++ distinfo1 Apr 2022 11:42:16 -
@@ -1,2 +1,2 @@
-SHA256 (xscreensaver-5.45.tar.gz) = 
cBbfZza6ASamjB81q89BGmlf6TvAGhjr2d9Gyan01Q0=
-SIZE (xscreensaver-5.45.tar.gz) = 27729147
+SHA256 (xscreensaver-6.03.tar.gz) = 
Mo1ReXNSrPWMpbq0nnb78mA058rXhfZR6hHOe0P7olo=
+SIZE (xscreensaver-6.03.tar.gz) = 25703584
Index: patches/patch-configure
===
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-configure 1 Apr 2022 11:42:16 -
@@ -0,0 +1,13 @@
+Permit building if security/openpam is installed.
+
+Index: configure
+--- configure.orig
 configure
+@@ -21135,7 +21135,6 @@ elif test "$have_pam" = no ; then
+   if test -d /etc/pam.d -o -f /etc/pam.conf ; then
+ warn  "Your system seems to have PAM, but PAM is not being used."
+ warn2 "That is probably not going to work out well."
+-CONF_STATUS=1
+   fi
+ fi
+ 
Index: patches/patch-driver_XScreenSaver_ad_in
===
RCS file: /cvs/ports/x11/xscreensaver/patches/patch-driver_XScreenSaver_ad_in,v
retrieving revision 1.17
diff -u -p -r1.17 patch-driver_XScreenSaver_ad_in
--- patches/patch-driver_XScreenSaver_ad_in 11 Mar 2022 20:18:09 -  
1.17
+++ patches/patch-driver_XScreenSaver_ad_in 1 Apr 2022 11:42:16 -
@@ -1,16 +1,16 @@
-Don't hardcode gnome-terminal, fallback to xterm
+OpenBSD doesn't have x-terminal-emulator.
 
 Index: driver/XScreenSaver.ad.in
 --- driver/XScreenSaver.ad.in.orig
 +++ driver/XScreenSaver.ad.in
-@@ -101,8 +101,8 @@
- !   Gnome 2.4, 2.6: (yelp can't display man pages, as of 2.6.3)
+@@ -80,8 +80,8 @@
  !
  @GNOME24@*loadURL: @WITH_BROWSER@ '%s'
--@GNOME24@*manualCommand: gnome-terminal --title '%s manual' \
--@GNOME24@ --command '/bin/sh -c "man %s; read foo"'
-+@GNOME24@*manualCommand: xterm -sb -fg black -bg gray75 -T '%s manual' \
-+@GNOME24@ -e /bin/sh -c 'man "%s" ; read foo'
+ @GNOME24@*manualCommand: yelp man:%s || \
+-@GNOME24@ x-terminal-emulator -t '%s manual' \
+-@GNOME24@   -e /bin/sh -c "man %s; read foo"
++@GNOME24@ xterm -sb -fg black -bg gray75 -T '%s manual' \
++@GNOME24@   -e /bin/sh -c 'man "%s" ; read foo'
+ 
  !
  !   Gnome 2.2:
- !
Index: patches/patch-driver_passwd-pwent_c
===
RCS file: /cvs/ports/x11/xscreensaver/patches/patch-driver_passwd-pwent_c,v
retrieving revision 1.5
diff -u 

CVS: cvs.openbsd.org: ports

2022-04-01 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2022/04/01 05:20:30

Modified files:
net/dbip   : Makefile.inc 
net/dbip/asn   : distinfo 
net/dbip/city  : distinfo 
net/dbip/country: distinfo 

Log message:
Update dbip to 2022.04.



CVS: cvs.openbsd.org: ports

2022-04-01 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2022/04/01 04:29:01

Modified files:
editors/libreoffice: Makefile distinfo 
editors/libreoffice/pkg: PLIST-main 

Log message:
update to 7.3.2.2



CVS: cvs.openbsd.org: ports

2022-04-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/04/01 04:06:49

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

Log message:
Bugfix update to sushi-41.1 (unbreak context menu).



CVS: cvs.openbsd.org: ports

2022-04-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/04/01 03:48:17

Modified files:
devel/libsoup3 : Makefile distinfo 

Log message:
Bugfix update to libsoup3-3.0.6 (Misc HTTP/2 fixes).



CVS: cvs.openbsd.org: ports

2022-04-01 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2022/04/01 03:28:50

Modified files:
www/iridium: Makefile distinfo 
www/iridium/files: unveil.gpu 
www/iridium/patches: patch-BUILD_gn 
 patch-ash_display_mirror_window_controller_cc 
 patch-base_BUILD_gn 
 
patch-base_allocator_partition_allocator_page_allocator_internals_posix_h 
 
patch-base_allocator_partition_allocator_partition_alloc_config_h 
 
patch-base_allocator_partition_allocator_partition_page_h 
 
patch-base_allocator_partition_allocator_partition_root_h 
 patch-base_debug_stack_trace_posix_cc 
 patch-base_process_process_metrics_freebsd_cc 
 patch-base_process_process_metrics_openbsd_cc 
 patch-base_process_process_posix_cc 
 patch-base_rand_util_h 
 patch-base_system_sys_info_freebsd_cc 
 patch-base_system_sys_info_posix_cc 
 patch-base_system_sys_info_unittest_cc 
 patch-base_trace_event_memory_dump_manager_cc 
 patch-build_config_compiler_BUILD_gn 
 patch-build_config_ozone_gni 
 patch-build_config_rust_gni 
 patch-build_toolchain_gcc_toolchain_gni 
 patch-cc_BUILD_gn 
 patch-chrome_app_chrome_main_delegate_cc 
 patch-chrome_app_chromium_strings_grd 
 patch-chrome_app_generated_resources_grd 
 patch-chrome_app_google_chrome_strings_grd 
 
patch-chrome_app_theme_chrome_unscaled_resources_grd 
 patch-chrome_browser_about_flags_cc 
 
patch-chrome_browser_background_background_mode_manager_cc 
 patch-chrome_browser_browser_process_impl_cc 
 patch-chrome_browser_browser_process_impl_h 
 
patch-chrome_browser_chrome_browser_interface_binders_cc 
 patch-chrome_browser_chrome_browser_main_cc 
 
patch-chrome_browser_chrome_content_browser_client_cc 
 
patch-chrome_browser_chrome_content_browser_client_h 
 patch-chrome_browser_defaults_cc 
 
patch-chrome_browser_download_chrome_download_manager_delegate_cc 
 
patch-chrome_browser_download_download_item_model_cc 
 patch-chrome_browser_extensions_BUILD_gn 
 
patch-chrome_browser_extensions_api_settings_private_prefs_util_cc 
 
patch-chrome_browser_extensions_external_provider_impl_cc 
 patch-chrome_browser_flag_descriptions_cc 
 patch-chrome_browser_flag_descriptions_h 
 
patch-chrome_browser_headless_headless_mode_util_cc 
 
patch-chrome_browser_media_router_discovery_BUILD_gn 
 
patch-chrome_browser_metrics_chrome_browser_main_extra_parts_metrics_cc 
 
patch-chrome_browser_metrics_chrome_metrics_service_client_cc 
 
patch-chrome_browser_net_system_network_context_manager_cc 
 
patch-chrome_browser_notifications_notification_display_service_impl_cc 
 
patch-chrome_browser_performance_monitor_process_metrics_recorder_util_cc 
 
patch-chrome_browser_performance_monitor_process_monitor_h 
 
patch-chrome_browser_policy_configuration_policy_handler_list_factory_cc 
 patch-chrome_browser_prefs_browser_prefs_cc 
 patch-chrome_browser_process_singleton_posix_cc 
 
patch-chrome_browser_profiles_chrome_browser_main_extra_parts_profiles_cc 
 patch-chrome_browser_profiles_profile_impl_cc 
 patch-chrome_browser_renderer_preferences_util_cc 
 
patch-chrome_browser_resources_settings_appearance_page_appearance_page_ts 
 patch-chrome_browser_resources_settings_route_ts 
 
patch-chrome_browser_safe_browsing_download_protection_file_analyzer_cc 
 patch-chrome_browser_signin_signin_util_cc 
 

CVS: cvs.openbsd.org: ports

2022-04-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2022/04/01 03:08:37

Modified files:
www/webkitgtk4/patches: 

patch-Source_WebCore_platform_graphics_PlatformDisplay_cpp 

patch-Source_WebCore_platform_graphics_PlatformDisplay_h 

patch-Source_WebCore_platform_graphics_libwpe_PlatformDisplayLibWPE_cpp 

patch-Source_WebCore_platform_graphics_wayland_PlatformDisplayWayland_cpp 

patch-Source_WebCore_platform_graphics_wayland_PlatformDisplayWayland_h 

patch-Source_WebCore_platform_graphics_x11_PlatformDisplayX11_cpp 

patch-Source_WebCore_platform_graphics_x11_PlatformDisplayX11_h 

patch-Source_WebKit_WebProcess_gtk_WaylandCompositorDisplay_cpp 

Log message:
Committed upstream (comment: no change).



[update] sqlite 3.38.2

2022-04-01 Thread Landry Breuil
hi,

lagging a bit behind upstream:
https://www.sqlite.org/releaselog/3_37_2.html
https://www.sqlite.org/releaselog/3_38_2.html

there's rarely fallout from sqlite updates, but a bulk would confirm at
least everything builds if we want that for 7.1.

Landry
? sqlite3-3.14.2-libsqlite3.so.33.0
? sqlite3-3.16.2-libsqlite3.so.34.0
? sqlite3-3.17.0-libsqlite3.so.35.0
? sqlite3-3.19.3-libsqlite3.so.36.0
? sqlite3-3.20.0-libsqlite3.so.37.0
? sqlite3-3.20.1-libsqlite3.so.37.1
? sqlite3-3.21.0-libsqlite3.so.37.1
? sqlite3-3.22.0-libsqlite3.so.37.1
? sqlite3-3.23.0-libsqlite3.so.37.2
? sqlite3-3.23.1-libsqlite3.so.37.2
? sqlite3-3.24.0-libsqlite3.so.37.3
? sqlite3-3.25.1-libsqlite3.so.37.3
? sqlite3-3.25.3-libsqlite3.so.37.4
? sqlite3-3.26.0-libsqlite3.so.37.4
? sqlite3-3.27.2-libsqlite3.so.37.4
? sqlite3-3.31.1-libsqlite3.so.37.10
? sqlite3-3.34.0-libsqlite3.so.37.10
? ~sqlite-3.34.0.diff
? pkg/PLIST.new
Index: Makefile
===
RCS file: /cvs/ports/databases/sqlite3/Makefile,v
retrieving revision 1.114
diff -u -r1.114 Makefile
--- Makefile11 Mar 2022 18:31:46 -  1.114
+++ Makefile1 Apr 2022 07:45:49 -
@@ -1,10 +1,10 @@
 COMMENT=   embedded SQL implementation
 
-DISTNAME = sqlite-autoconf-336
-PKGNAME=   sqlite3-3.36.0
+DISTNAME = sqlite-autoconf-3380200
+PKGNAME=   sqlite3-3.38.2
 
 # XXX needs bumps every time :-
-SHARED_LIBS +=  sqlite3   37.14 # 8.6
+SHARED_LIBS +=  sqlite3   37.15 # 8.6
 # sqlite suggests that users might like to assert() that library and header
 # versions match, so bumps are needed even if function signatures don't change.
 # ... at the current time the only one noticed is a < check (in subversion)
@@ -20,7 +20,7 @@
 
 WANTLIB += c curses m pthread readline z
 
-MASTER_SITES = ${HOMEPAGE}2021/
+MASTER_SITES = ${HOMEPAGE}2022/
 
 CONFIGURE_STYLE= gnu
 CONFIGURE_ARGS=--disable-static-shell
Index: distinfo
===
RCS file: /cvs/ports/databases/sqlite3/distinfo,v
retrieving revision 1.62
diff -u -r1.62 distinfo
--- distinfo22 Nov 2021 09:20:02 -  1.62
+++ distinfo1 Apr 2022 07:45:49 -
@@ -1,2 +1,2 @@
-SHA256 (sqlite-autoconf-336.tar.gz) = 
vZDD65a+6ZYga4O+cGXJzhmu84w/T7Uwc62g0LabvOM=
-SIZE (sqlite-autoconf-336.tar.gz) = 2977080
+SHA256 (sqlite-autoconf-3380200.tar.gz) = 
55dKoUMLrWkKXp95pu5chJKtqCadxnWHWtD7dH18raQ=
+SIZE (sqlite-autoconf-3380200.tar.gz) = 3032390


Re: Trouble updating Xscreensaver to 6.03

2022-04-01 Thread Stuart Henderson
On 2022/03/31 18:21, Ariel Popper wrote:
> I am attempting to get Xscreensaver updated to 6.03, but as I am wholly
> inexperienced with this entire process, I have run into a snag.
> 
> I am building on amd64, everything seems to build smoothly and install
> smoothly, screen blanking/unblanking, locking/unlocking is working as
> advertised.  When trying to run any of the screensavers, the screen shows
> a message to not run Xscreensaver as root. As far as I know; I am not
> doing that. 

xscreensaver is installed setuid root so that it can check passwords
(it does not handle the preferred BSD Authentication method).
This is why it is detecting that you run it as root.

xscreensaver 6.0 split off authentication into a separate process so
that the part running the animations doesn't need to run with the
privileges needed to check passwords (it doesn't support BSD
Authentication, the preferred method on OpenBSD, instead it does
lookups by opening the password database files itself).
Some port changes are needed to handle this change.

Not sure if it will work but you can try moving the @mode 4755/@mode
that are currently wrapping the PLIST entry for bin/xscreensaver to
libexec/xscreensaver/xscreensaver-auth instead.

Be prepared to switch to another (non-X) terminal or ssh in to kill
the process if it doesn't work.

If that change does work then also try replacing @mode 4755 with
"@group _shadow" / "@mode 2755" and adding "@group" after "@mode" as,
if that works, it will reduce the privileges needed.

(Ideally code should be written to use auth_userokay(3) as that would
be safer again, it no longer would need to access the password db
itself, just needing setgid _auth, but that's a bigger change).