Re: Anything depending on non-libpciaccess ?

2024-05-16 Thread Matthieu Herrb
On Wed, May 15, 2024 at 01:04:43PM +0200, Enrico Weigelt, metux IT consult 
wrote:
> Hello folks,
> 
> are there still some platforms that can't be built w/o libpciaccess ?
> 
> Rationale: we've got lots of #ifdef's on that in the drivers, and I
> wonder whether that's still really needed.

Hi,

On OpenBSD, even though it supports architectures without any form of
PCI busses, libpciaccess is always built and linked to the X server.

However, it seems to me that the "modern" side of X.Org wants to go to
the opposite direction and remove the dependency on
libpciaccess. the modesetting(4) driver doesn't touch PCI directly and
other drivers that do talk to the PCI bus directly are more or less
deprecated (and hardware to actually test changes is getting sparse)

So I wouldn't bother about unifdef'ing libpciaccess in the drivers, at
the risk of breaking existing setups gratuitously.

-- 
Matthieu Herrb


CVS: cvs.openbsd.org: xenocara

2024-05-13 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/05/13 13:45:45

Modified files:
.  : MODULES 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2024-05-13 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/05/13 13:17:24

Modified files:
distrib/sets/lists/xbase: mi 

Log message:
sync



CVS: cvs.openbsd.org: xenocara

2024-05-13 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/05/13 13:16:27

Modified files:
lib/libpciaccess: COPYING Makefile.bsd-wrapper meson.build 
lib/libpciaccess/src: Doxyfile common_device_name.c 
  common_init.c freebsd_pci.c hurd_pci.c 
  linux_sysfs.c meson.build pci_tools.h 
  pciaccess_private.h 
Added files:
lib/libpciaccess: .gitignore .gitlab-ci.yml README.cygwin 
lib/libpciaccess/mk: .gitignore Makefile config.h shlib_version 
lib/libpciaccess/scanpci: .gitignore 
Removed files:
lib/libpciaccess: ChangeLog INSTALL Makefile.am Makefile.in 
  aclocal.m4 compile config.guess config.h.in 
  config.sub configure configure.ac depcomp 
  install-sh ltmain.sh missing 
lib/libpciaccess/include: Makefile.am Makefile.in 
lib/libpciaccess/m4: ax_define_dir.m4 libtool.m4 ltoptions.m4 
 ltsugar.m4 ltversion.m4 lt~obsolete.m4 
lib/libpciaccess/man: Makefile.am Makefile.in 
lib/libpciaccess/scanpci: Makefile.am Makefile.in 
lib/libpciaccess/src: Makefile.am Makefile.in 

Log message:
Update to libpciacces 0.18.1.  ok kettenis@
removes the autotools build system and add a simple make based one.
The existing xenocara obj dir needs to be wiped before a make obj / make buildx



CVS: cvs.openbsd.org: xenocara

2024-05-13 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/05/13 13:13:33

xenocara/lib/libpciaccess/mk

Update of /cvs/xenocara/lib/libpciaccess/mk
In directory cvs.openbsd.org:/tmp/cvs-serv56661/mk

Log Message:
Directory /cvs/xenocara/lib/libpciaccess/mk added to the repository



OT: dkim (was Re: patch dkimproxy: use rsa-sha256 in sample signing config)

2024-05-12 Thread Matthieu Herrb
On Sun, May 12, 2024 at 11:13:46AM +0100, Kirill A. Korinsky wrote:
> On Sun, 12 May 2024 00:26:50 +0100,
> Steffen Nurpmeso  wrote:
> > 
> > What they are doing is wrong.  Maybe if you move it out of Junk
> > a few times their algorithm learns or what, i do not know.
> > I would start screaming, but normally noone listens anyhow, sure.
> >
> 
> Yes, they are.
> 
> But they delivery into Junk messages from Mail Delivery System
> . A real one. Not fake one. Really.
> 
> So I doubt that anything may help here.
>

While on the subject :  https://16years.secvuln.info/

The old Debian OpenSSL bug from 2006 still haunts DKIM signatures today.
-- 
Matthieu Herrb



CVS: cvs.openbsd.org: ports

2024-05-10 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/05/10 08:50:40

Modified files:
mail/dkimproxy : Makefile 
Added files:
mail/dkimproxy/patches: patch-scripts_dkimproxy_out_conf_example 

Log message:
Set DKIM signature to rsa-sha256. Required by RFC6376. ok aisha@



CVS: cvs.openbsd.org: ports

2024-05-10 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/05/10 08:48:01

ports/mail/dkimproxy/patches

Update of /cvs/ports/mail/dkimproxy/patches
In directory cvs.openbsd.org:/tmp/cvs-serv21633/patches

Log Message:
Directory /cvs/ports/mail/dkimproxy/patches added to the repository



Re: patch dkimproxy: use rsa-sha256 in sample signing config

2024-05-10 Thread Matthieu Herrb
On Fri, May 10, 2024 at 10:19:22AM +0100, Kirill A. Korinsky wrote:
> On Fri, 10 May 2024 06:57:20 +0100,
> Matthieu Herrb  wrote:
> > 
> > https://www.rfc-editor.org/rfc/rfc6376#section-3.3 says that
> > rsa-sha256 SHOULD be used. Unfortunatly Mail::DKIM::Signer uses
> > rsa-sha1 by default when no algorithm is specifed.
> > 
> > Update the dkimproxy.out sample config...
> > 
> > Make aboutmy.email (and other checkers) happier, and hopefully less
> > rejects by hotmail/google and co...
> > 
> > comments? ok?
> >
> 
> I'd like to point that using anything else whan RSA with SHA256 leads to
> issues. The cause is OpenDKIM which is widley used. It had well known issue
> with ed25519 [1] which probably will be fixed in the next release.
> 
> Anyway, the last release had happened in 2015 and this project seems to be
> not that alive, so, no hope that it will be released and distributed soon.
> 
> My point: let add reference to this issue and suggest to use only RSA/SHA256.
> 
> Footnotes:
> [1]  https://github.com/trusteddomainproject/OpenDKIM/issues/6
> 
Hi,

Afaict dkimpproxy is not using opendkim but p5-Mail-DKIM. dkimproxy
itself also hasn't seen a update since many years, but the underlying
perl lib has been last updated last january (and could use an update
in the port).

So unless you imply that because many people use opendkim, ed25519
based signatures shouldn't be used at all I'm not sure I understand
what you're saying.
-- 
Matthieu Herrb



patch dkimproxy: use rsa-sha256 in sample signing config

2024-05-09 Thread Matthieu Herrb
Hi


I use dkimpproxy on my outgoing e-mail.

https://www.rfc-editor.org/rfc/rfc6376#section-3.3 says that
rsa-sha256 SHOULD be used. Unfortunatly Mail::DKIM::Signer uses
rsa-sha1 by default when no algorithm is specifed.

Update the dkimproxy.out sample config...

Make aboutmy.email (and other checkers) happier, and hopefully less
rejects by hotmail/google and co...

comments? ok?

Index: Makefile
===
RCS file: /local/cvs/ports/mail/dkimproxy/Makefile,v
diff -u -p -u -r1.8 Makefile
--- Makefile7 Nov 2023 14:19:36 -   1.8
+++ Makefile10 May 2024 05:51:47 -
@@ -1,7 +1,7 @@
 COMMENT =  SMTP proxy to verify or add DKIM signatures
 
 DISTNAME = dkimproxy-1.4.1
-REVISION = 3
+REVISION = 4
 
 CATEGORIES =   mail
 
Index: patches/patch-scripts_dkimproxy_out_conf_example
===
RCS file: patches/patch-scripts_dkimproxy_out_conf_example
diff -N patches/patch-scripts_dkimproxy_out_conf_example
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-scripts_dkimproxy_out_conf_example10 May 2024 05:51:47 
-
@@ -0,0 +1,15 @@
+Default to rsa-sha256 
+https://www.rfc-editor.org/rfc/rfc6376#section-3.3
+
+Index: scripts/dkimproxy_out.conf.example
+--- scripts/dkimproxy_out.conf.example.orig
 scripts/dkimproxy_out.conf.example
+@@ -8,7 +8,7 @@ relay 127.0.0.1:10028
+ domainexample.org
+ 
+ # specify what signatures to add
+-signature dkim(c=relaxed)
++signature dkim(a=rsa-sha256,c=relaxed)
+ signature domainkeys(c=nofws)
+ 
+ # specify location of the private key

-- 
Matthieu Herrb



CVS: cvs.openbsd.org: xenocara

2024-05-04 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/05/04 04:29:47

Modified files:
.  : MODULES 

Log message:
reverted xkbcomp 1.4.7



CVS: cvs.openbsd.org: xenocara

2024-05-04 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/05/04 03:53:35

Modified files:
app/xkbcomp: ChangeLog action.c action.h alias.c alias.h 
 compat.c config.h.in configure configure.ac 
 expr.c expr.h geometry.c indicators.c 
 indicators.h keycodes.c keymap.c keytypes.c 
 listing.c misc.c misc.h parseutils.c 
 parseutils.h symbols.c utils.c utils.h vmod.c 
 vmod.h xkbcomp.c xkbcomp.h xkbparse.y xkbpath.c 
 xkbpath.h xkbscan.c 

Log message:
Revert to xkbcomp 1.4.6. for now.
version 1.4.7 has memory management issues found by mbuhl@



tcdpump -i pfsync0 broken

2024-05-01 Thread Matthieu Herrb
Hi,

On OpenBSD 7.5 and -current tcpdump on pfsync interfaces stopped
working. Morover running it with malloc_conf=S make it dump core.

How to repeat ?

Setup a pair of firewalls with carp(4) and pfsync(4).
Run tcpdump -n -i pfsync0  on one of the firewalls.

Expected result

In OpenBSD 7.3 one sees a dump of pfsync(4) packets transiting on the
interface.

Observed behaviour

On OpenBSD 7.4 and later:

pfctl -n -i pfsync0 only displays:

tcpdump: listening on pfsync0, link-type PFSYNC
20:29:20.753651 PFSYNCv69 len 1500
20:29:20.764775 PFSYNCv69 len 1428
20:29:20.772390 PFSYNCv69 len 1488
20:29:20.778919 PFSYNCv69 len 1428
20:29:20.786316 PFSYNCv69 len 1500

(the '69' is a wrong pfsync version, hence the rest of the bogus
packet is not dumped)

pfctl -s 1500 -X -n -i pfsync0 dumps core after a few packets. Note
how it reads much more data than a single packet...

GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-unknown-openbsd7.5".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./obj/tcpdump...
(gdb) r -s 1500 -X -n -i pfsync0
Starting program: /usr/obj/usr.sbin/tcpdump/tcpdump -s 1500 -X -n -i pfsync0
tcpdump: listening on pfsync0, link-type PFSYNC
21:52:09.889853 PFSYNCv69 len 128
  : 4510 0080 dd7b 4000 fff0     E{@.
  0010: 0a00 0101 0600 006c      ...l
  0020:     0415 0001 662f 961e  f/..
  0030: 0567 6a6e     6acb 63ed  .gjnj.c.
  0040: 6acb da6d   faf0  0988   j..m
  0050:          
  0060:  faf0   0001  0200   
  0070:   de0b f9cf   0500   
  0080: 699d 3266 fe94 0d00 8000  8000   i.2f
  0090: 1c00   2300   4510 0080  ..#.E...
  00a0: ab88 4000 fff0    0a00 0101  ..@.
  00b0: 0600 006c        ...l
  00c0:   0415 0001 662f 961e 0567 6a6e  f/...gjn
  00d0:     6acb 63ed 6acb da6d  j.c.j..m
  00e0:   faf0  0988     
  00f0:        faf0  
  0100:   0001  0200     
  0110: de0b f9cf   0500  699d 3266  i.2f
  0120: fb95 0d00 8000  8000  1c00   
  0130:  2300   4510 0080 c49e 4000  ..#.E.@.
  0140: fff0    0a00 0101 0600 006c  ...l
  0150:          
  0160: 0415 0001 662f 961e 0567 6a6e    f/...gjn
  0170:   6acb 63ed 6acb da6d    j.c.j..m
  0180: faf0  0988       
  0190:      faf0    
  01a0: 0001  0200    de0b f9cf  
  01b0:   0500  699d 3266 f896 0d00  i.2f
  01c0: 8000  8000  1c00   2300  ..#.
  01d0:   4510 0080 653f 4000 fff0   E...e?@.
  01e0:   0a00 0101 0600 006c    ...l
  01f0:       0415 0001  
  0200: 662f 961e 0567 6a6e      f/...gjn
  0210: 6acb 63ed 6acb da6d   faf0   j.c.j..m
  0220: 0988         
  0230:    faf0   0001   
  0240: 0200    de0b f9cf    
  0250: 0500  699d 3266 f697 0d00 8000   i.2f
  0260: 8000  1c00   2300    ..#.
  0270: 4510 0080 f6be 4000 fff0     E.@.
  0280: 0a00 0101 0600 006c      ...l
  0290:     0415 0001 662f 961e  f/..
  02a0: 0567 6a6e     6acb 63ed  .gjnj.c.
  02b0: 6acb da6d   faf0  0988   j..m
  02c0:          
  02d0:  faf0   0001  0200   
  02e0:   de0b f9cf   0500   
  02f0: 699d 3266 f298 0d00 8000  8000   i.2f
  

CVS: cvs.openbsd.org: ports

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/04/28 23:15:00

Modified files:
x11/rendercheck: Makefile distinfo 
x11/rendercheck/pkg: PLIST 

Log message:
Update to rendercheck 1.6. ok ajacoutot@



CVS: cvs.openbsd.org: ports

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/04/28 23:12:48

Modified files:
infrastructure/db: network.conf 

Log message:
Update the main SITE_XORG url to match what is used by X.Org
releases announces. ok jsg@



maintainer update: rendercheck 1.6

2024-04-28 Thread Matthieu Herrb
Hi again,

update to rendercheck 1.6
https://lists.x.org/archives/xorg-announce/2024-April/003511.html

Switches the build to meson among other.

Note that the patch to network.conf I just send earlier is needed to
be able to fetch it.

ok ? comments ?

Index: Makefile
===
RCS file: /cvs/ports/x11/rendercheck/Makefile,v
diff -u -p -u -r1.17 Makefile
--- Makefile27 Sep 2023 20:37:22 -  1.17
+++ Makefile28 Apr 2024 16:51:46 -
@@ -1,8 +1,8 @@
 COMMENT=   X Render extension test suite
 
-DISTNAME=  rendercheck-1.5
+DISTNAME=  rendercheck-1.6
 CATEGORIES=x11
-REVISION=  0
+EXTRACT_SUFX=  .tar.xz
 
 HOMEPAGE=  http://www.freedesktop.org/
 
@@ -11,10 +11,10 @@ MAINTAINER= Matthieu Herrb 
Index: distinfo
===
RCS file: /cvs/ports/x11/rendercheck/distinfo,v
diff -u -p -u -r1.5 distinfo
--- distinfo12 Aug 2015 20:25:50 -  1.5
+++ distinfo28 Apr 2024 16:51:46 -
@@ -1,2 +1,2 @@
-SHA256 (rendercheck-1.5.tar.gz) = FVP+9hww8lJLWXw3WMyNP43B9S64E3QX+gZnsK3IpgQ=
-SIZE (rendercheck-1.5.tar.gz) = 180259
+SHA256 (rendercheck-1.6.tar.xz) = AGpwIysZDI/ANdsLXAM+fVTn80QqwDJdutELcTTDKgE=
+SIZE (rendercheck-1.6.tar.xz) = 23996
Index: pkg/PLIST
===
RCS file: /cvs/ports/x11/rendercheck/pkg/PLIST,v
diff -u -p -u -r1.2 PLIST
--- pkg/PLIST   11 Mar 2022 20:17:16 -  1.2
+++ pkg/PLIST   28 Apr 2024 16:51:46 -
@@ -1,2 +1,2 @@
-bin/rendercheck
+@bin bin/rendercheck
 @man man/man1/rendercheck.1

-- 
Matthieu Herrb



infrastructure/db/network.conf: update SITE_XORG

2024-04-28 Thread Matthieu Herrb
Hi,

X.Org / Freedesktop moved things around a bit and /pub is not
available anymore; it's now called /archive ... Also they advertize
xorg.freedesktop.org instead of ftp.x.org as the hostname in all
recent packages announcements (both are CNAME for the same host
currently. 

ok ? Comments ?

Index: network.conf
===
RCS file: /local/cvs/ports/infrastructure/db/network.conf,v
diff -u -p -u -r1.25 network.conf
--- network.conf3 Feb 2024 11:49:55 -   1.25
+++ network.conf28 Apr 2024 16:48:49 -
@@ -35,7 +35,7 @@ SITE_GCC+=\
http://robotlab.itk.ppke.hu/gcc/
 
 SITE_XORG+=\
-   https://ftp.x.org/pub/individual/ \
+   https://xorg.freedesktop.org/archive/individual/ \
https://ftp.gwdg.de/pub/x11/x.org/pub/individual/ \
https://ftp.mirrorservice.org/sites/ftp.x.org/pub/individual/
 



-- 
Matthieu Herrb



CVS: cvs.openbsd.org: ports

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/04/28 10:26:36

Modified files:
wayland/wlroots: Makefile distinfo 

Log message:
Update to wlroots 0.17.3. ok landry@



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 08:46:15

Modified files:
.  : MODULES 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 08:24:13

Modified files:
distrib/sets/lists/xshare: mi 

Log message:
sync (previous was too early)



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 08:18:03

Modified files:
distrib/sets/lists/xshare: mi 

Log message:
sync



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 08:14:08

Modified files:
app/xkbcomp: ChangeLog Makefile.in aclocal.m4 action.c 
 action.h alias.c alias.h compat.c config.h.in 
 configure configure.ac expr.c expr.h geometry.c 
 indicators.c indicators.h install-sh keycodes.c 
 keymap.c keytypes.c listing.c misc.c misc.h 
 parseutils.c parseutils.h symbols.c utils.c 
 utils.h vmod.c vmod.h xkbcomp.c xkbcomp.h 
 xkbparse.y xkbpath.c xkbpath.h xkbscan.c 
app/xkbcomp/man: Makefile.in 

Log message:
Update to xkbcomp 1.4.7



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 08:05:09

Modified files:
lib/libxkbfile : ChangeLog Makefile.am Makefile.in aclocal.m4 
 config.h.in configure configure.ac install-sh 
lib/libxkbfile/src: Makefile.am Makefile.in cout.c maprules.c 
xkbatom.c xkbconfig.c xkbtext.c xkmread.c 
Added files:
lib/libxkbfile : meson.build 
lib/libxkbfile/m4: libtool.m4 ltoptions.m4 ltsugar.m4 
   ltversion.m4 lt~obsolete.m4 
lib/libxkbfile/src: meson.build 

Log message:
Update to libxkbfile 1.1.3



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 08:02:40

xenocara/lib/libxkbfile/m4

Update of /cvs/xenocara/lib/libxkbfile/m4
In directory cvs.openbsd.org:/tmp/cvs-serv97728/m4

Log Message:
Directory /cvs/xenocara/lib/libxkbfile/m4 added to the repository



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 07:59:02

Modified files:
lib/libXvMC: ChangeLog aclocal.m4 configure configure.ac 
 meson.build 
lib/libXvMC/include/X11/extensions: XvMClib.h vldXvMC.h 
lib/libXvMC/src: XvMC.c XvMClibint.h 
lib/libXvMC/wrapper: XvMCWrapper.c 
Added files:
lib/libXvMC/m4 : libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 
 lt~obsolete.m4 

Log message:
Update to libXvMC 1.0.14



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 07:56:22

xenocara/lib/libXvMC/m4

Update of /cvs/xenocara/lib/libXvMC/m4
In directory cvs.openbsd.org:/tmp/cvs-serv91847/m4

Log Message:
Directory /cvs/xenocara/lib/libXvMC/m4 added to the repository



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 07:53:24

Modified files:
lib/libfontenc : ChangeLog Makefile.in aclocal.m4 config.h.in 
 configure configure.ac install-sh 
lib/libfontenc/src: Makefile.in encparse.c reallocarray.h 

Log message:
Update to libfontenc 1.1.8



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 07:27:34

Modified files:
util/macros: ChangeLog aclocal.m4 configure configure.ac 
 install-sh xorg-macros.m4.in 

Log message:
Update to util-macros 1.20.1



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 07:25:04

Modified files:
util/makedepend: ChangeLog Makefile.am Makefile.in configure 
 configure.ac cppsetup.c def.h ifparser.c 
 ifparser.h imakemdep.h include.c main.c 
 makedepend-config.h.in parse.c pr.c 

Log message:
Update to makedepend 1.0.9



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 07:18:55

Modified files:
util/gccmakedep: ChangeLog Makefile.in aclocal.m4 compile 
 configure configure.ac gccmakedep.in install-sh 
Added files:
util/gccmakedep: README.md 

Log message:
Update to gccmakedep 1.0.4



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 07:13:20

Modified files:
font/util  : COPYING ChangeLog Makefile.in aclocal.m4 
 config.h.in configure configure.ac 
 fontutil.m4.in install-sh map-ISO8859-1 
 map-ISO8859-10 map-ISO8859-11 map-ISO8859-13 
 map-ISO8859-14 map-ISO8859-15 map-ISO8859-16 
 map-ISO8859-2 map-ISO8859-3 map-ISO8859-4 
 map-ISO8859-5 map-ISO8859-6 map-ISO8859-7 
 map-ISO8859-8 map-ISO8859-9 map-JISX0201.1976-0 
 map-KOI8-R 
font/util/man  : Makefile.am Makefile.in 

Log message:
Update font-util to 1.4.1



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 07:05:39

Modified files:
font/encodings : ChangeLog Makefile.am Makefile.in aclocal.m4 
 configure configure.ac install-sh 
Added files:
font/encodings : meson.build meson_options.txt mkencodingsdir.in 
font/encodings/large: meson.build 

Log message:
Update to encodings 1.1.0

the ISO8859-14 encodings had already been added locally.



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 06:59:52

Modified files:
doc/xorg-docs  : ChangeLog MAINTAINERS Makefile.in aclocal.m4 
 configure configure.ac install-sh 
doc/xorg-docs/general: Makefile.in 
doc/xorg-docs/general/fonts: Makefile.in 
doc/xorg-docs/general/graphics: Makefile.in 
doc/xorg-docs/general/input: Makefile.in 
doc/xorg-docs/general/platforms: Makefile.in 
doc/xorg-docs/man: Makefile.in Xsecurity.man 
doc/xorg-docs/specs: Makefile.in 
doc/xorg-docs/specs/CTEXT: Makefile.in 
doc/xorg-docs/specs/ICCCM: Makefile.in 
doc/xorg-docs/specs/XLFD: Makefile.in 
doc/xorg-docs/specs/Xserver: Makefile.in 

Log message:
Update to xorg-docs 1.7.3



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 06:54:52

Modified files:
app/xsm: ChangeLog Makefile.in aclocal.m4 choose.c 
 config.h.in configure configure.ac install-sh 
 signals.c xsm.c 
app/xsm/man: Makefile.in xsm.man 

Log message:
Update xsm to 1.0.6



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 06:51:57

Modified files:
app/xrefresh   : ChangeLog Makefile.in aclocal.m4 config.h.in 
 configure configure.ac install-sh xrefresh.c 
app/xrefresh/man: Makefile.in 

Log message:
Update to xrefresh 1.1.0



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 06:49:40

Modified files:
app/xprop  : ChangeLog Makefile.in aclocal.m4 config.h.in 
 configure configure.ac install-sh xprop.c 
app/xprop/man  : Makefile.in 

Log message:
Update to xprop 1.2.7



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 06:47:15

Modified files:
app/xpr: COPYING ChangeLog Makefile.in aclocal.m4 
 config.h.in configure configure.ac install-sh 
 x2jet.c x2pmp.c xpr.c xpr.man 

Log message:
Update to xpr 1.2.0



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 06:38:49

Modified files:
app/xmore  : COPYING ChangeLog Makefile.in README.md 
 aclocal.m4 config.h.in configure configure.ac 
 install-sh xmore.c 
app/xmore/man  : Makefile.in 

Log message:
Update to xmore 1.0.4



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 06:35:48

Modified files:
app/xmessage   : ChangeLog Makefile.in aclocal.m4 config.h.in 
 configure configure.ac install-sh readfile.c 
 xmessage.c 
app/xmessage/man: Makefile.in xmessage.man 

Log message:
Update to xmessage 1.0.7



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 06:32:49

Modified files:
app/xlsfonts   : ChangeLog Makefile.in aclocal.m4 config.h.in 
 configure configure.ac install-sh xlsfonts.c 
app/xlsfonts/man: Makefile.in xlsfonts.man 

Log message:
Update to xlsfonts 1.0.8



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 06:29:03

Modified files:
app/xload  : COPYING ChangeLog Makefile.in aclocal.m4 
 config.h.in configure configure.ac get_load.c 
 get_rload.c install-sh xload.c 
app/xload/man  : Makefile.in xload.man 

Log message:
Update to xload 1.2.0



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 06:20:02

Modified files:
app/xkbutils   : COPYING ChangeLog Makefile.in aclocal.m4 
 config.h.in configure configure.ac install-sh 
 utils.c utils.h xkbvleds.c xkbwatch.c 
app/xkbutils/man: Makefile.in xkbbell.man xkbvleds.man 
  xkbwatch.man 

Log message:
Update to xkbutils 1.0.6



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 04:39:03

Modified files:
app/xfontsel   : COPYING ChangeLog Makefile.am Makefile.in 
 aclocal.m4 config.h.in configure configure.ac 
 install-sh xfontsel.c 
app/xfontsel/man: Makefile.in xfontsel.man 

Log message:
Update to xfontsel 1.1.1



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 04:30:49

Modified files:
app/xev: ChangeLog Makefile.in aclocal.m4 config.h.in 
 configure configure.ac install-sh xev.c 
app/xev/man: Makefile.in 

Log message:
Update to xev 1.2.6



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 04:12:50

Modified files:
app/xedit  : ChangeLog Makefile.in aclocal.m4 commands.c 
 config.h.in configure configure.ac install-sh 
 util.c xedit.c xedit.h 
app/xedit/lisp : core.c helper.c lisp.c lsp.c math.c read.c 
 time.c 
app/xedit/lisp/mp: mp.h mpi.c 
app/xedit/man  : Makefile.in 

Log message:
Update to xedit 1.2.4



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 04:11:51

Modified files:
app/mkfontscale: COPYING ChangeLog Makefile.am Makefile.in 
 aclocal.m4 config.h.in configure configure.ac 
 constlist.c hash.c ident.c install-sh list.c 
 mkfontscale.c 
app/mkfontscale/man: Makefile.in 

Log message:
Update to mkfontscale 1.2.3



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 04:07:02

Modified files:
app/xauth  : ChangeLog Makefile.in aclocal.m4 config.h.in 
 configure configure.ac gethost.c install-sh 
 parsedpy.c process.c xauth.c 
app/xauth/man  : Makefile.in xauth.man 
app/xauth/tests: Makefile.in 

Log message:
Update to xauth 1.1.3



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 03:52:45

Modified files:
app/listres: ChangeLog Makefile.in aclocal.m4 config.h.in 
 configure configure.ac install-sh listres.c 
app/listres/man: Makefile.in listres.man 

Log message:
Update to listres 1.0.6



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 03:50:26

Modified files:
app/iceauth: ChangeLog Makefile.in aclocal.m4 config.h.in 
 configure configure.ac iceauth.c install-sh 
 process.c 
app/iceauth/man: Makefile.in 

Log message:
Update to iceauth 1.0.10



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 03:44:45

Modified files:
app/editres: ChangeLog Makefile.in aclocal.m4 actions.c 
 comm.c config.h.in configure configure.ac 
 editres.c editresP.h geometry.c handler.c 
 install-sh setvalues.c svpopup.c utils.c 
 widgets.c wtree.c 
app/editres/man: Makefile.in editres.man 

Log message:
Update editres to 1.0.9



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 03:39:10

Modified files:
app/bitmap : Makefile.in aclocal.m4 compile config.h.in 
 configure install-sh 
app/bitmap/man : Makefile.in 

Log message:
bitmap: regen autotools for 1.1.1



CVS: cvs.openbsd.org: xenocara

2024-04-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/28 03:37:46

Modified files:
app/bitmap : BitEdit.c Bitmap.c ChangeLog CutPaste.c 
 Dialog.c Handlers.c ReqMach.c atobm.c bmtoa.c 
 compile configure.ac test-driver 
app/bitmap/man : Makefile.am bitmap.man 

Log message:
Update to bitmap 1.1.1



update: wlroots 0.17.3

2024-04-28 Thread Matthieu Herrb
Bug fix release. trivial update. Ok  ?

Index: Makefile
===
RCS file: /local/cvs/ports/wayland/wlroots/Makefile,v
diff -u -p -u -r1.7 Makefile
--- Makefile19 Mar 2024 20:03:10 -  1.7
+++ Makefile28 Apr 2024 08:21:27 -
@@ -1,6 +1,6 @@
 COMMENT =  modular Wayland compositor library
 
-V =0.17.2
+V =0.17.3
 EPOCH =0
 DISTNAME = wlroots-${V}
 CATEGORIES =   wayland
Index: distinfo
===
RCS file: /local/cvs/ports/wayland/wlroots/distinfo,v
diff -u -p -u -r1.4 distinfo
--- distinfo19 Mar 2024 20:03:10 -  1.4
+++ distinfo28 Apr 2024 08:21:27 -
@@ -1,2 +1,2 @@
-SHA256 (wlroots-0.17.2.tar.gz) = 9AB9P3HhkLkACrSjCv2HgzsDSrJgIDCgCvRGX/1OmXw=
-SIZE (wlroots-0.17.2.tar.gz) = 606822
+SHA256 (wlroots-0.17.3.tar.gz) = BNMVIb0rc3VBuWgAmOVeuq+VbmjWkvgEefTuEjZgbZg=
+SIZE (wlroots-0.17.3.tar.gz) = 608292

-- 
Matthieu Herrb



CVS: cvs.openbsd.org: xenocara

2024-04-27 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/27 12:34:23

Modified files:
.  : README 

Log message:
Update instructions to get a core dump from X server,
prompted by input from Kirill A. Korinsky, thanks.



CVS: cvs.openbsd.org: xenocara

2024-04-27 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/27 11:57:10

Modified files:
.  : MODULES 3RDPARTY 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2024-04-27 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/27 11:37:15

Modified files:
xserver: ChangeLog configure configure.ac meson.build 
xserver/mi : mipointer.c 
xserver/render : glyph.c 

Log message:
Update to xserver 21.1.13.



Re: X11 crashes when start Intellij IDEA

2024-04-27 Thread Matthieu Herrb
On Sat, Apr 27, 2024 at 07:20:15PM +0200, Kirill A. Korinsky wrote:
> On Sat, 27 Apr 2024 19:06:40 +0200,
> Matthieu Herrb  wrote:
> >
> > Does your Xorg.0.log say "X.Org X Server 1.21.1.12" or
> > "X.Org X Server 1.21.1.13" ?
> >
> >
> > There was a regression in Xorg 21.1.12 that may be the cause. It's
> > supposed to be fixed by 21.1.13 (it should be in recent snapshots).
> >
> 
> I do have crashes on 1.21.1.12 from snapshot which I've installed a few
> hours ago.

hmm yes oops I was sure I did commit 21.1.13 but apparently I
didn't. I'll fix that ASAP.

> 
> BTW I'd like to point that README need to be updated because NoTrapSignals
> where removed [1] from Xorg, and that changes were moved into xenocara as
> part of sync with xserver 21.1.0 [2].
> 
> Footnotes:
> [1]  
> https://gitlab.freedesktop.org/xorg/xserver/-/commit/c7414f4d07b69a4b2f0d0af06f032393cf5fe6aa
> 
> [2]  
> https://github.com/openbsd/xenocara/tree/e086cf5adf82811c219a3e76c4079278a4e75250
> 
> --
> wbr, Kirill
> 

-- 
Matthieu Herrb



Re: X11 crashes when start Intellij IDEA

2024-04-27 Thread Matthieu Herrb
On Sat, Apr 27, 2024 at 10:24:03AM -0400, Ian Darwin wrote:
> On 4/27/24 8:15 AM, Lucas Raab wrote:
> > Do you have a link to the project you're trying to run? I cloned the
> > scala3-example-project, installed scala/sbt, and was able to run it
> > without a crash. This was with:
> > OpenBSD 7.5-current (GENERIC.MP) #33: Sat Apr 27 01:25:59 MDT 2024
> > 
> I've also just started seeing this symptom after updating. The attached tiny
> project (not Scala) will crash X about one in five times that you open it,
> so it's not simply "open once and crash".
> 
> Happens on OpenBSD 7.5-current (GENERIC.MP) #31: Wed Apr 17 18:33:33 MDT
> 2024
> 
> Running xfce4 desktop - the OP didn't state what WM they are using.

Does your Xorg.0.log say "X.Org X Server 1.21.1.12" or
"X.Org X Server 1.21.1.13" ?


There was a regression in Xorg 21.1.12 that may be the cause. It's
supposed to be fixed by 21.1.13 (it should be in recent snapshots).

-- 
Matthieu Herrb



Re: X11 crashes when start Intellij IDEA

2024-04-27 Thread Matthieu Herrb
On Sat, Apr 27, 2024 at 02:42:23PM +0200, Kirill A. Korinsky wrote:
> On Sat, 27 Apr 2024 14:15:18 +0200,
> Lucas Raab  wrote:
> > 
> > Do you have a link to the project you're trying to run? I cloned the
> > scala3-example-project, installed scala/sbt, and was able to run it
> > without a crash. This was with:
> > OpenBSD 7.5-current (GENERIC.MP) #33: Sat Apr 27 01:25:59 MDT 2024
> 
> Unfortently it is private repo and I can't share it.
> 
> But this project contains a few extreamly large scala files (dozen of kb)
> with scalatests, and compuling thes files consume a lot of resources.
> 
> Anyway, this projects works fine if I build it by hand via sbt, and it
> defently had worked fine in IDEA at middle of March when I last time had
> touch it inside IDEA.
> 
> But the question is: what IDEA may trigger inside X11 that it crashes, and
> how can I future debug it?
> 
> I've tried to create folders for core dump as:
> 
> ~ $ ls -l /var/crash
> total 12
> drwxrwxrwx  2 root  wheel  512 Apr 27 14:05 X
> drwxrwxrwx  2 root  wheel  512 Apr 27 14:00 X11
> -rw-r--r--  1 root  wheel    5 Oct 10  2023 minfree
> ~ $ 
> 

The binary is Xorg. so create /var/crash/Xorg 

-- 
Matthieu Herrb



CVS: cvs.openbsd.org: ports

2024-04-17 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/04/17 00:27:59

Modified files:
wayland/xwayland: Tag: OPENBSD_7_5 Makefile distinfo 

Log message:
Update to xwayland 23.2.6.



CVS: cvs.openbsd.org: ports

2024-04-16 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/04/16 23:53:23

Modified files:
wayland/xwayland: Makefile distinfo 

Log message:
Update to xwayland 23.2.6



CVS: cvs.openbsd.org: xenocara

2024-04-07 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/07 07:45:53

Modified files:
.  : MODULES 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2024-04-07 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/07 05:42:56

Modified files:
xserver: ChangeLog configure configure.ac meson.build 
xserver/Xext   : sync.c 
xserver/Xi : xipassivegrab.c xiselectev.c 
xserver/dix: devices.c dispatch.c 
xserver/hw/xfree86/common: xf86Config.c xf86Mode.c 
xserver/hw/xfree86/man: xorg.conf.man 
xserver/hw/xfree86/modes: xf86Modes.c 
xserver/hw/xquartz/xpr: appledri.c 
xserver/include: opaque.h 
xserver/man: Xserver.man 
xserver/os : utils.c 

Log message:
Update to xserver 21.1.12

The security patches were already commited, sync with the rest
of the 21.1.12 relase.



CVS: cvs.openbsd.org: xenocara

2024-04-07 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/07 00:31:07

Modified files:
xserver: Makefile.bsd-wrapper 

Log message:
The DMX extension was removed in xserver 21.1.



CVS: cvs.openbsd.org: xenocara

2024-04-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/03 10:27:35

Modified files:
xserver/render : glyph.c glyphstr.h render.c 

Log message:
Fix refcounting of glyphs during ProcRenderAddGlyphs() (CVE-2024-31083)



CVS: cvs.openbsd.org: xenocara

2024-04-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/04/03 10:26:45

Modified files:
xserver/Xi : xipassivegrab.c xiselectev.c 

Log message:
Need to use unswapped length to send reply in
ProcXIGetSelectedEvents() (CVE-2024-31080) and
ProcXiPassiveGrabDevice() (CVE-2024-31081)



CVS: cvs.openbsd.org: xenocara

2024-03-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/03/30 09:43:09

Modified files:
.  : MODULES 3RDPARTY 

Log message:
update



CVS: cvs.openbsd.org: ports

2024-03-19 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/03/19 14:03:10

Modified files:
wayland/wlroots: Makefile distinfo 

Log message:
Update to wlroots 0.17.2. ok landry@



update: wlroots to 0.17.2

2024-03-19 Thread Matthieu Herrb
Hi,

simple update to wlroots 0.17.2. This is bug fixes release.
No ABI changes (hence no lib bump).

ok ?

Index: Makefile
===
RCS file: /local/cvs/ports/wayland/wlroots/Makefile,v
diff -u -p -u -r1.6 Makefile
--- Makefile25 Nov 2023 11:16:14 -  1.6
+++ Makefile19 Mar 2024 06:16:39 -
@@ -1,6 +1,6 @@
 COMMENT =  modular Wayland compositor library
 
-V =0.17.0
+V =0.17.2
 EPOCH =0
 DISTNAME = wlroots-${V}
 CATEGORIES =   wayland
Index: distinfo
===
RCS file: /local/cvs/ports/wayland/wlroots/distinfo,v
diff -u -p -u -r1.3 distinfo
--- distinfo25 Nov 2023 11:16:14 -  1.3
+++ distinfo19 Mar 2024 06:16:39 -
@@ -1,2 +1,2 @@
-SHA256 (wlroots-0.17.0.tar.gz) = naNHWmg0pqmo/ZPehPTvkfnuSP9wwwWqlSK/DbnmESg=
-SIZE (wlroots-0.17.0.tar.gz) = 606172
+SHA256 (wlroots-0.17.2.tar.gz) = 9AB9P3HhkLkACrSjCv2HgzsDSrJgIDCgCvRGX/1OmXw=
+SIZE (wlroots-0.17.2.tar.gz) = 606822

-- 
Matthieu Herrb



CVS: cvs.openbsd.org: www

2024-03-09 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:www
Changes by: matth...@cvs.openbsd.org2024/03/09 14:08:47

Modified files:
.  : 75.html 

Log message:
update version numbers for base + xenocara



CVS: cvs.openbsd.org: ports

2024-02-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/02/26 11:22:16

Modified files:
wayland/sway   : Makefile distinfo 
wayland/sway/patches: patch-config_in patch-sway_config_c 

Log message:
Update to sway 1.9. tweaks and ok daniel@ landry@



CVS: cvs.openbsd.org: ports

2024-02-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/02/26 11:17:32

Modified files:
wayland/havoc  : Makefile distinfo 
wayland/havoc/patches: patch-Makefile patch-havoc_cfg 
   patch-main_c patch-tsm_Makefile 
Added files:
wayland/havoc/patches: patch-tsm_tsm-vte_c 

Log message:
Update to havoc 0.5.0. ok and tweaks rsadowski@, daniel@, landry@



CVS: cvs.openbsd.org: ports

2024-02-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/02/26 11:14:03

Modified files:
wayland/swayimg: Makefile distinfo 
wayland/swayimg/patches: patch-meson_build 
wayland/swayimg/pkg: PLIST 

Log message:
Update to swayimg 2.1. ok daniel@ landry@



CVS: cvs.openbsd.org: ports

2024-02-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/02/26 11:12:29

Modified files:
wayland/slurp  : Makefile distinfo 
wayland/slurp/patches: patch-meson_build 

Log message:
Update to slurp 1.5.0. ok daniel@ landry@



Re: cooledit update to 3.17.28

2024-02-24 Thread Matthieu Herrb
b 2024 19:08:20 -  1.10
> +++ pkg/PLIST 24 Feb 2024 20:57:31 -
> @@ -25,6 +25,7 @@ share/cooledit/syntax/fortran.syntax
>  share/cooledit/syntax/html.syntax
>  share/cooledit/syntax/jasm.syntax
>  share/cooledit/syntax/java.syntax
> +share/cooledit/syntax/js.syntax
>  share/cooledit/syntax/latex.syntax
>  share/cooledit/syntax/lsm.syntax
>  share/cooledit/syntax/lsm4.syntax
> @@ -49,19 +50,3 @@ share/cooledit/syntax/texinfo.syntax
>  share/cooledit/syntax/unknown.syntax
>  share/cooledit/syntax/xml.syntax
>  share/coolicon/
> -share/locale/cs/LC_MESSAGES/cooledit.mo
> -share/locale/da/LC_MESSAGES/cooledit.mo
> -share/locale/de/LC_MESSAGES/cooledit.mo
> -share/locale/es/LC_MESSAGES/cooledit.mo
> -share/locale/fi/LC_MESSAGES/cooledit.mo
> -share/locale/fr/LC_MESSAGES/cooledit.mo
> -share/locale/it/LC_MESSAGES/cooledit.mo
> -share/locale/ja/LC_MESSAGES/cooledit.mo
> -share/locale/ko/LC_MESSAGES/cooledit.mo
> -share/locale/nl/LC_MESSAGES/cooledit.mo
> -share/locale/no/LC_MESSAGES/cooledit.mo
> -share/locale/pl/LC_MESSAGES/cooledit.mo
> -share/locale/pt/LC_MESSAGES/cooledit.mo
> -share/locale/ru/LC_MESSAGES/cooledit.mo
> -share/locale/sl/LC_MESSAGES/cooledit.mo
> -share/locale/sv/LC_MESSAGES/cooledit.mo
> 

-- 
Matthieu Herrb



update: sway 1.9

2024-02-24 Thread Matthieu Herrb
Hi,

This updates sway to version 1.9.

I've changed the default config (and RDEP) to use wmenu as upstreams.

comments, ok ?

(also a gentle ping for my other wayland updates from last week)

Index: Makefile
===
RCS file: /local/cvs/ports/wayland/sway/Makefile,v
diff -u -p -u -r1.9 Makefile
--- Makefile1 Dec 2023 20:52:37 -   1.9
+++ Makefile24 Feb 2024 18:31:22 -
@@ -1,10 +1,9 @@
 COMMENT =  i3-compatible Wayland compositor
-REVISION = 0
 
 GH_ACCOUNT =   swaywm
 GH_PROJECT =   sway
-GH_COMMIT =bff991dfdc63ca3785a810ff4d913ddfd71677a1
-DISTNAME = ${GH_PROJECT}-1.8.1pl20231121
+GH_TAGNAME =   1.9
+
 CATEGORIES =   wayland
 
 HOMEPAGE = https://github.com/swaywm/sway
@@ -35,7 +34,7 @@ LIB_DEPENDS = devel/json-c \
wayland/wlroots \
x11/xkbcommon
 
-RUN_DEPENDS =  wayland/dmenu-wayland \
+RUN_DEPENDS =  wayland/wmenu \
wayland/swaybg \
x11/gnome/themes-extra
 
Index: distinfo
===
RCS file: /local/cvs/ports/wayland/sway/distinfo,v
diff -u -p -u -r1.3 distinfo
--- distinfo25 Nov 2023 11:21:32 -  1.3
+++ distinfo24 Feb 2024 18:31:22 -
@@ -1,2 +1,2 @@
-SHA256 (sway-1.8.1pl20231121-bff991df.tar.gz) = 
6WbJ34/vaJ6cwLp6BYh/ogpnz2a0Qz/FPXA9CwhT9WA=
-SIZE (sway-1.8.1pl20231121-bff991df.tar.gz) = 5581167
+SHA256 (sway-1.9.tar.gz) = tuTo10r3RCeCAXkrzERHRw/LkeFbvaR1xkfUdb+Oews=
+SIZE (sway-1.9.tar.gz) = 5581281
Index: patches/patch-config_in
===
RCS file: /local/cvs/ports/wayland/sway/patches/patch-config_in,v
diff -u -p -u -r1.1 patch-config_in
--- patches/patch-config_in 1 Dec 2023 20:52:37 -   1.1
+++ patches/patch-config_in 24 Feb 2024 18:31:22 -
@@ -13,7 +13,7 @@ Index: config.in
  # Note: pass the final command to swaymsg so that the resulting window can be 
opened
  # on the original workspace that the command was run on.
 -set $menu dmenu_path | wmenu | xargs swaymsg exec --
-+set $menu dmenu-wl_path | dmenu-wl | xargs swaymsg exec --
++set $menu wmenu_path | wmenu | xargs swaymsg exec --
  
  ### Output configuration
  #
Index: patches/patch-sway_config_c
===
RCS file: /local/cvs/ports/wayland/sway/patches/patch-sway_config_c,v
diff -u -p -u -r1.1 patch-sway_config_c
--- patches/patch-sway_config_c 25 Nov 2023 11:21:32 -  1.1
+++ patches/patch-sway_config_c 24 Feb 2024 18:31:22 -
@@ -13,7 +13,7 @@ Index: sway/config.c
  #include 
  #include 
  #include 
-@@ -656,6 +660,7 @@ void load_include_configs(const char *path, struct swa
+@@ -661,6 +665,7 @@ void load_include_configs(const char *path, struct swa
goto cleanup;
}
  
@@ -21,7 +21,7 @@ Index: sway/config.c
wordexp_t p;
if (wordexp(path, , 0) == 0) {
char **w = p.we_wordv;
-@@ -665,6 +670,17 @@ void load_include_configs(const char *path, struct swa
+@@ -670,6 +675,17 @@ void load_include_configs(const char *path, struct swa
}
wordfree();
}


-- 
Matthieu Herrb



update: wayland/swayimg 2.1

2024-02-18 Thread Matthieu Herrb
His is a major update, with a comfiguration file incompatibility
(but I don't think many people created a 1.x config file anyways)

ok ?

Index: Makefile
===
RCS file: /local/cvs/ports/wayland/swayimg/Makefile,v
diff -u -p -u -r1.2 Makefile
--- Makefile5 Sep 2023 08:55:36 -   1.2
+++ Makefile18 Feb 2024 10:00:22 -
@@ -2,7 +2,7 @@ COMMENT =   image display utility for Wayl
 
 GH_ACCOUNT =   artemsen
 GH_PROJECT =   swayimg
-GH_TAGNAME =   v1.12
+GH_TAGNAME =   v2.1
 
 CATEGORIES =   wayland
 
@@ -11,7 +11,7 @@ PERMIT_PACKAGE = Yes
 
 MODULES =  devel/meson
 
-WANTLIB =  OpenEXRCore-3_2 cairo epoll-shim exif fontconfig freetype
+WANTLIB =  OpenEXRCore-3_2 avif cairo epoll-shim exif fontconfig freetype
 WANTLIB += gif gobject-2.0 heif jpeg json-c jxl png rsvg-2 tiff
 WANTLIB += wayland-client webp webpdemux xkbcommon
 WANTLIB += pthread c
@@ -24,6 +24,7 @@ LIB_DEPENDS = devel/epoll-shim \
graphics/cairo \
graphics/giflib \
graphics/jpeg \
+   graphics/libavif \
graphics/libexif \
graphics/libjxl \
graphics/libwebp \
Index: distinfo
===
RCS file: /local/cvs/ports/wayland/swayimg/distinfo,v
diff -u -p -u -r1.1.1.1 distinfo
--- distinfo3 Sep 2023 09:00:02 -   1.1.1.1
+++ distinfo18 Feb 2024 10:00:22 -
@@ -1,2 +1,2 @@
-SHA256 (swayimg-1.12.tar.gz) = RhcyKh7BeYV3DcNR7qabQrFGTy2DjrUBUxRjSyow8SY=
-SIZE (swayimg-1.12.tar.gz) = 395978
+SHA256 (swayimg-2.1.tar.gz) = 2C+451zav0cGd3l0ROwZsAyD4OBtgL53RycZRARiTn4=
+SIZE (swayimg-2.1.tar.gz) = 407561
Index: patches/patch-meson_build
===
RCS file: /local/cvs/ports/wayland/swayimg/patches/patch-meson_build,v
diff -u -p -u -r1.1.1.1 patch-meson_build
--- patches/patch-meson_build   3 Sep 2023 09:00:02 -   1.1.1.1
+++ patches/patch-meson_build   18 Feb 2024 10:00:22 -
@@ -12,7 +12,7 @@ Index: meson.build
  # optional dependencies: file formats support
  exr = dependency('OpenEXR', version: '>=3.1', required: get_option('exr'))
  gif = cc.find_library('gif', required: get_option('gif'))
-@@ -195,7 +195,7 @@ executable(
+@@ -210,7 +210,7 @@ executable(
sources,
dependencies: [
  # runtime
Index: pkg/PLIST
===
RCS file: /local/cvs/ports/wayland/swayimg/pkg/PLIST,v
diff -u -p -u -r1.1.1.1 PLIST
--- pkg/PLIST   3 Sep 2023 09:00:02 -   1.1.1.1
+++ pkg/PLIST   18 Feb 2024 10:00:22 -
@@ -1,16 +1,11 @@
 @bin bin/swayimg
 @man man/man1/swayimg.1
 @man man/man5/swayimgrc.5
-share/applications/
 share/applications/swayimg.desktop
-share/bash-completion/
-share/bash-completion/completions/
 share/bash-completion/completions/swayimg
-share/icons/
-share/icons/hicolor/
-share/icons/hicolor/64x64/
-share/icons/hicolor/64x64/apps/
 share/icons/hicolor/64x64/apps/swayimg.png
+share/swayimg/
+share/swayimg/swayimgrc
 share/zsh/
 share/zsh/site-functions/
 share/zsh/site-functions/_swayimg

-- 
Matthieu Herrb



update: wayland/havoc 0.5.0

2024-02-18 Thread Matthieu Herrb
 {
@@ -42,7 +42,7 @@ Index: main.c
abort();
}
}
-@@ -213,22 +219,22 @@ static void handle_tty(int ev)
+@@ -232,22 +238,22 @@ static void handle_tty(int ev)
char data[256];
int len;
  
@@ -73,7 +73,16 @@ Index: main.c
}
  }
  
-@@ -508,13 +514,13 @@ static int buffer_init(struct buffer *buf)
+@@ -524,20 +530,20 @@ static int buffer_init(struct buffer *buf)
+   stride = term.width * 4;
+   buf->size = stride * term.height;
+ 
+-  srand(time(NULL));
+   do {
+-  sprintf(shm_name, "/havoc-%d", rand() % 100);
++  snprintf(shm_name, sizeof(shm_name), "/havoc-%d", 
++   arc4random_uniform(100));
+   fd = shm_open(shm_name, O_RDWR | O_CREAT | O_EXCL, 0600);
} while (fd < 0 && errno == EEXIST && --max);
  
if (fd < 0) {
@@ -89,7 +98,7 @@ Index: main.c
close(fd);
return -1;
}
-@@ -523,7 +529,7 @@ static int buffer_init(struct buffer *buf)
+@@ -546,7 +552,7 @@ static int buffer_init(struct buffer *buf)
 fd, 0);
  
if (buf->data == MAP_FAILED) {
@@ -98,7 +107,7 @@ Index: main.c
close(fd);
return -1;
}
-@@ -1440,7 +1446,7 @@ static void configure(void *d, struct xdg_surface *sur
+@@ -1480,7 +1486,7 @@ static void configure(void *d, struct xdg_surface *sur
term.row = row;
tsm_screen_resize(term.screen, col, row);
if (term.master_fd >= 0 && ioctl(term.master_fd, TIOCSWINSZ, ) < 0)
@@ -107,7 +116,7 @@ Index: main.c
  
term.need_redraw = true;
term.resize = 2;
-@@ -1507,7 +1513,7 @@ static void setup_pty(char *argv[])
+@@ -1567,7 +1573,7 @@ static void setup_pty(char *argv[])
pid_t pid = forkpty(_fd, NULL, NULL, NULL);
  
if (pid < 0) {
@@ -116,7 +125,7 @@ Index: main.c
exit(EXIT_FAILURE);
} else if (pid == 0) {
char *prog;
-@@ -1519,7 +1525,7 @@ static void setup_pty(char *argv[])
+@@ -1579,7 +1585,7 @@ static void setup_pty(char *argv[])
execlp(term.cfg.shell, term.cfg.shell, (char *) NULL);
prog = term.cfg.shell;
}
@@ -125,7 +134,7 @@ Index: main.c
pause();
exit(EXIT_FAILURE);
}
-@@ -1717,9 +1723,9 @@ static FILE *open_config(void)
+@@ -1780,9 +1786,9 @@ static FILE *open_config(void)
  
f = fopen(term.opt.config, "r");
if (f == NULL)
@@ -137,7 +146,7 @@ Index: main.c
return f;
}
  
-@@ -1929,9 +1935,10 @@ retry:
+@@ -1994,9 +2000,10 @@ retry:
  
term.repeat.fd = timerfd_create(CLOCK_MONOTONIC,
TFD_NONBLOCK | TFD_CLOEXEC);
Index: patches/patch-tsm_Makefile
===
RCS file: /local/cvs/ports/wayland/havoc/patches/patch-tsm_Makefile,v
diff -u -p -u -r1.1.1.1 patch-tsm_Makefile
--- patches/patch-tsm_Makefile  13 Aug 2023 09:57:13 -  1.1.1.1
+++ patches/patch-tsm_Makefile  18 Feb 2024 09:35:25 -
@@ -2,7 +2,7 @@ Index: tsm/Makefile
 --- tsm/Makefile.orig
 +++ tsm/Makefile
 @@ -1,4 +1,5 @@
- CFLAGS ?= -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
+ CFLAGS ?= -Wall -Wextra -Wno-unused-parameter -Wno-parentheses 
-Wno-format-overflow
 +CFLAGS += -I/usr/local/include
  
  OBJ=wcwidth.o shl-htable.o\
Index: patches/patch-tsm_tsm-vte_c
===
RCS file: patches/patch-tsm_tsm-vte_c
diff -N patches/patch-tsm_tsm-vte_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-tsm_tsm-vte_c 18 Feb 2024 09:35:25 -
@@ -0,0 +1,15 @@
+Index: tsm/tsm-vte.c
+--- tsm/tsm-vte.c.orig
 tsm/tsm-vte.c
+@@ -439,9 +439,9 @@ static void vte_write_fnkey(struct tsm_vte *vte, bool 
+   if (fnmod > 1) {
+   if (index <= 0)
+   index = 1;
+-  len = sprintf(buf, "\e[%d;%d%c", index, fnmod, c);
++  len = snprintf(buf, sizeof(buf), "\e[%d;%d%c", index, fnmod, c);
+   } else {
+-  len = sprintf(buf, "\e%c%.0d%c", ss3 ? 'O' : '[', index, c);
++  len = snprintf(buf, sizeof(buf), "\e%c%.0d%c", ss3 ? 'O' : '[', 
index, c);
+   }
+   vte_write(vte, buf, len);
+ }

-- 
Matthieu Herrb



CVS: cvs.openbsd.org: ports

2024-02-18 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/02/18 01:57:52

Modified files:
wayland/foot   : Makefile distinfo 
wayland/foot/patches: patch-main_c patch-meson_build 
wayland/foot/pkg: PLIST 

Log message:
Update wayland/foot to version 1.16.2.
not yet linked to the build.



Re: retire some python 2 ports

2024-02-17 Thread Matthieu Herrb
On Sat, Feb 17, 2024 at 11:51:05AM -0500, Daniel Dickman wrote:
> I would like to propose retiring these Python 2 ports:
> 
>   audio/mkplaylist
>   audio/solfege
>   editors/cooledit
>   mail/archivemail
>   textproc/yould
> 
> These are ports that haven't seen updates in years and have no reverse 
> consumers in the ports tree.
> 
 > I did see a thread for archivemail where some folks tried to port it to 
> Python 3 but were unable to get it updated in the end.
> 
> ok to remove all of these?
> 

for cooledit, it's a python flavor. You could remove only the -python
flavor.

Not that I would miss cooledit a lot. but I used to like (and use) it
some decades ago.
-- 
Matthieu Herrb



update: wayland/splurp 1.5.0

2024-02-17 Thread Matthieu Herrb
Features better cursor handling.

ok?

Index: Makefile
===
RCS file: /local/cvs/ports/wayland/slurp/Makefile,v
diff -u -p -u -r1.4 Makefile
--- Makefile29 Nov 2023 13:10:18 -  1.4
+++ Makefile17 Feb 2024 13:25:35 -
@@ -2,7 +2,7 @@ COMMENT =   select a region in a Wayland c
 
 GH_ACCOUNT =   emersion
 GH_PROJECT =   slurp
-GH_TAGNAME =   v1.4.0
+GH_TAGNAME =   v1.5.0
 
 CATEGORIES =   wayland
 
Index: distinfo
===
RCS file: /local/cvs/ports/wayland/slurp/distinfo,v
diff -u -p -u -r1.1.1.1 distinfo
--- distinfo12 Nov 2023 11:54:11 -  1.1.1.1
+++ distinfo17 Feb 2024 13:25:35 -
@@ -1,2 +1,2 @@
-SHA256 (slurp-1.4.0.tar.gz) = ozK9QBaOtzNh6oEergHW0SEPnq2wpIbi3XoD77gaN3I=
-SIZE (slurp-1.4.0.tar.gz) = 18575
+SHA256 (slurp-1.5.0.tar.gz) = D6iA1Kk+HHleO1kp++pHVG3wlVvqNPwvf/6xdRZ49mM=
+SIZE (slurp-1.5.0.tar.gz) = 18790
Index: patches/patch-meson_build
===
RCS file: /local/cvs/ports/wayland/slurp/patches/patch-meson_build,v
diff -u -p -u -r1.1.1.1 patch-meson_build
--- patches/patch-meson_build   12 Nov 2023 11:54:11 -  1.1.1.1
+++ patches/patch-meson_build   17 Feb 2024 13:25:35 -
@@ -9,7 +9,7 @@ Index: meson.build
 +# realtime = cc.find_library('rt')
  wayland_client = dependency('wayland-client')
  wayland_cursor = dependency('wayland-cursor')
- wayland_protos = dependency('wayland-protocols', version: '>=1.14')
+ wayland_protos = dependency('wayland-protocols', version: '>=1.32')
 @@ -30,7 +30,7 @@ executable(
],
dependencies: [

-- 
Matthieu Herrb



CVS: cvs.openbsd.org: ports

2024-02-07 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/02/07 13:14:41

Modified files:
wayland: Makefile 

Log message:
+wmenu



CVS: cvs.openbsd.org: ports

2024-02-07 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/02/07 13:12:47

Log message:
Import wmenu, dynamic menu for sway and wlroots based Wayland compositors
ok volker@

Status:

Vendor Tag: matthieu
Release Tags:   matthieu_20240207

N ports/wayland/wmenu/Makefile
N ports/wayland/wmenu/distinfo
N ports/wayland/wmenu/pkg/PLIST
N ports/wayland/wmenu/pkg/DESCR
N ports/wayland/wmenu/patches/patch-meson_build
N ports/wayland/wmenu/files/wmenu_path

No conflicts created by this import



Re: Meson vs. automake/autoconf

2024-02-06 Thread Matthieu Herrb
On Mon, Feb 05, 2024 at 09:45:51PM +0100, tlaro...@kergis.com wrote:
> I'm continuing my review and I'm now looking at libxcb and xcbproto.
> 
> Is there a goal set to switch from auto* tools to meson/ninja for the
> maximum of projects?
> 
> Since I have to untangle things for my own built framework, I may as
> well provide meson files (that are undoubtely more readable than the
> auto* dance) when I am at it...
> --

Hi,

There are still platforms (OpenBSD, NetBSD at least) which don't have
python (and thus meson) in their base build system.

Switching to Meson is forcing us to rewrite a build system that can
run on those systems.

Moreover, since the fdo CI doesn't check builds on those systems, the
meson configurations are more or less broken on those systems.

And unfortunatly I don't have time anymore to take care of all of
theses issues alone.

-- 
Matthieu Herrb


Re: NEW: wayland/wmenu

2024-02-03 Thread Matthieu Herrb
On Sat, Jan 27, 2024 at 10:09:50PM +0100, Matthieu Herrb wrote:
> Hi,
> 
> wmenu is a dynamic menu for sway and other wlroot based Wayland
> compositors.
> Starting with sway 1.9 it will be the default menu in the sway
> configuration.
> 
> I've added a basic shell script to list available programs (upstream
> uses dmenu_path from x11/dmenu, but I wanted to avoid the dependency)
> 
> Comments? ok?
> 
> -- 
> Matthieu Herrb

Ping ?

-- 
Matthieu Herrb



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 07:24:55

Modified files:
.  : MODULES 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 07:01:27

Modified files:
app/xbiff  : ChangeLog Mailbox.c Makefile.in aclocal.m4 
 compile config.h.in configure configure.ac 
 install-sh xbiff.c 
app/xbiff/man  : Makefile.in xbiff.man 

Log message:
Update to xbiff 1.0.5



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 07:00:32

Modified files:
app/xeyes  : ChangeLog Eyes.c Eyes.h EyesP.h Makefile.in 
 README.md aclocal.m4 config.h.in configure 
 configure.ac install-sh transform.h xeyes.c 
app/xeyes/man  : Makefile.in xeyes.man 

Log message:
Update to xeyes 1.3.0



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 06:59:43

Modified files:
app/fonttosfnt : ChangeLog Makefile.in aclocal.m4 compile 
 config.h.in configure configure.ac fonttosfnt.c 
 fonttosfnt.h install-sh struct.c util.c write.c 
app/fonttosfnt/man: Makefile.in 

Log message:
Update to fonttosfnt 1.2.3



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 02:58:05

Modified files:
xserver: ChangeLog configure configure.ac meson.build 
xserver/randr  : rrmonitor.c 

Log message:
Update to xserver 21.1.11.
All the security fixes have already been committed.



NEW: wayland/wmenu

2024-01-27 Thread Matthieu Herrb
Hi,

wmenu is a dynamic menu for sway and other wlroot based Wayland
compositors.
Starting with sway 1.9 it will be the default menu in the sway
configuration.

I've added a basic shell script to list available programs (upstream
uses dmenu_path from x11/dmenu, but I wanted to avoid the dependency)

Comments? ok?

-- 
Matthieu Herrb


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


Re: [OpenBSD -current] xpdf: core dump

2024-01-26 Thread Matthieu Herrb
On Fri, Jan 26, 2024 at 12:53:01PM +0100, Marcel Logen wrote:
> Hello,
> 
> I'm using OpenBSD -current. Since some weeks (or months?) I get
> a core dump when trying to start "xpdf".
> 
> | t20$ head -n 1 /etc/motd 
> | OpenBSD 7.4-current (GENERIC.MP) #1625: Thu Jan 25 09:16:39 MST 2024
> 
> | t20$ uname -a
> | OpenBSD t20 7.4 GENERIC.MP#1625 amd64
> 
> | t20$ pkg_info xpdf | grep -e 'Inf' -e 'Main' 
> | Information for inst:xpdf-4.04p1v0
> | Maintainer: The OpenBSD ports mailing-list 
> 
> | t20$ xpdf
> | xpdf:/usr/X11R6/lib/libX11.so.17.1: /usr/X11R6/lib/libX11.so.18.0 : 
> WARNING: symbol(_XkeyTable) size mismatch, relink your program
> | QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-user20'
> | Cannot mix incompatible Qt library (5.9.8) with this library (5.15.11)
> | Abort trap (core dumped) 
> | t20$ 
> 
> What can I do, or is it a problem of the package maintainer?
> 

Hi,

You have some package installed that was not updated properly.
It has been almost 2 years since libX11 shared lib revision was bumped
to 18.0.

go to /var/db/pkg and run:

  grep X11\\.17 */+CONTENTS

to figure out which packages need some kind of manual update (assuming
that you have run pkg_add -u on a regular basis in the last 2 years).

-- 
Matthieu Herrb



CVS: cvs.openbsd.org: ports

2024-01-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/01/26 11:26:19

Modified files:
graphics/fcft  : Makefile distinfo 

Log message:
Update to fcft 3.1.7. Still not linked to the tree.



Re: wayland/sway keyboard layout is offset

2024-01-17 Thread Matthieu Herrb
On Wed, Jan 17, 2024 at 11:12:53AM -0800, Courtney wrote:
> I'm not sure how exactly to report on this one. I installed sway and other
> related wayland and sway packages. I stopped xenodm, used the default
> configuration file and started sway with /usr/local/bin/startsway.sh and
> found my keyboard layout was shifted up 2 rows, and jumbled up a huge
> amount. For example, 1,2,3,4 became a,s,d,f and y became enter and
> k became backspace. It is incredibly awkward to type to find out any info
> on why this is happening since no key is as it would seem. I have to hard
> reset my desktop to get out of sway, but I am baffled by this behavior.
> Any advice on how to dig deeper?
>

Hi,

this is a known issue with the current version of
libinput-openbsd. When you have multiple keyboards of different types
(pckbd aka PS/2 and USB for instance) attached.

Each type has its own keycodes set, translated to evdev-like events in
libinput. The current code can only handle one keyboard at a time and
thus it's the last one attaching to the wskbd mux which "wins". Other
keyboards are translated incorrectly.

This is going to be fixed at some point. In the mean time, try to make
sure you have only one keyboard attached to the mux.

-- 
Matthieu Herrb



CVS: cvs.openbsd.org: xenocara

2024-01-16 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/16 06:14:26

Modified files:
.  : MODULES 3RDPARTY 

Log message:
update



CVS: cvs.openbsd.org: ports

2024-01-16 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/01/16 05:42:37

Modified files:
wayland/xwayland: Makefile distinfo 

Log message:
Update to xwayland-23.2.4



CVS: cvs.openbsd.org: xenocara

2024-01-16 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/16 05:34:23

Modified files:
xserver/Xi : exevents.c xichangehierarchy.c xiquerypointer.c 
xserver/dix: devices.c enterleave.c 
xserver/glx: glxcmds.c 
xserver/hw/kdrive/ephyr: ephyrcursor.c 

Log message:
Multiple issues have been found in the X server and Xwayland
implementations:

1) CVE-2023-6816 can be triggered by passing an invalid array index to
DeviceFocusEvent or ProcXIQueryPointer.

2) CVE-2024-0229 can be triggered if a device has both a button and a
key class and zero buttons.

3) CVE-2024-21885 can be triggered if a device with a given ID was
removed and a new device with the same ID added both in the same
operation.

4) CVE-2024-21886 can be triggered by disabling a master device with
disabled slave devices.

5) CVE-2024-0409 can be triggered by enabling SELinux
xserver_object_manager and running a client.

6) CVE-2024-0408 can be triggered by enabling SELinux
xserver_object_manager and creating a GLX PBuffer.



CVS: cvs.openbsd.org: ports

2024-01-14 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/01/14 23:25:19

Modified files:
wayland/libevdev-openbsd: Makefile 

Log message:
Document ports that have libevdev explicitely disabled, like
for libinput-openbsd.



CVS: cvs.openbsd.org: ports

2024-01-14 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:ports
Changes by: matth...@cvs.openbsd.org2024/01/14 23:20:53

Added files:
wayland/libei/patches: patch-meson_build 

Log message:
Fix libei build when libevdev-openbsd is installed.
No REVISION bump as the package doesn't change if it builds.
ok and suggestion aja@



Re: fix libei build when libevdev-openbsd is installed

2024-01-14 Thread Matthieu Herrb
On Sun, Jan 14, 2024 at 07:50:28PM +0100, Antoine Jacoutot wrote:
> On Sun, Jan 14, 2024 at 06:52:54PM +0100, Matthieu Herrb wrote:
> > It detects libevdev.pc  and activates the build of eis_demo_server,
> > which fails because libevdev-openbsd is not a full libevedev
> > implementation.
> > 
> > No REVISION bump as the package doesn't change if it builds.
> > 
> > ok ?
> 
> Maybe replacing dep_libevdev with:
> dep_libevdev = []
> in meson.build is enough?
> 

dep_libevdev needs to provide a found() method. So 
that's the best alternative I could come with:

Index: patches/patch-meson_build
===
RCS file: patches/patch-meson_build
diff -N patches/patch-meson_build
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-meson_build   14 Jan 2024 21:07:10 -
@@ -0,0 +1,14 @@
+Hide libevdev-openbsd from build 
+
+Index: meson.build
+--- meson.build.orig
 meson.build
+@@ -77,7 +77,7 @@ dep_math = cc.find_library('m', required: false)
+ dep_epoll = dependency('epoll-shim', required: false)
+ dep_libxkbcommon = dependency('xkbcommon', required: false)
+ config_h.set10('HAVE_LIBXKBCOMMON', dep_libxkbcommon.found())
+-dep_libevdev = dependency('libevdev', required: false)
++dep_libevdev = dependency('libevdev-nonexistent', required: false)
+ config_h.set10('HAVE_LIBEVDEV', dep_libevdev.found())
+ 
+ if not get_option('liboeffis').disabled()

-- 
Matthieu Herrb



  1   2   3   4   5   6   7   8   9   10   >