bsd.port.mk.5: Ev for NO_ARCH

2023-09-06 Thread Caspar Schutijser
Hi, The patch below marks up "NO_ARCH" consistently with the other variables. I noticed because on man.openbsd.org, NO_ARCH looks off compared to the others: https://man.openbsd.org/bsd.port.mk.5#MULTI_PACKAGES Comments or OKs? Caspar Index: bsd.port.mk.5 ===

Re: pax(1) and tar(1): fix misleading -DSMALL

2023-09-04 Thread Caspar Schutijser
On Mon, Sep 04, 2023 at 01:54:18PM +0100, Jeremie Courreges-Anglas wrote: > > Two code sets are currently guarded with #ifdef SMALL in pax(1) and > tar(1): reading 'pax' format extended headers, and identifying various > compressed formats for user-friendliness. As noted by Caspar, the SMALL > pa

arm64 install.md: fix softraid crypto installation on Mac

2023-04-27 Thread Caspar Schutijser
I was trying to install OpenBSD on the arm64 MacBook Air with softraid crypto (that's the "Encrypt the root disk?" question in the installer). Right now that does not work out of the box. In a regular install, md_prep_fdisk is careful and leaves the EFI Sys partition alone with the "if disk_has $_

Re: Support Wacom One S (CTL-472)

2022-09-03 Thread Caspar Schutijser
Hi, On Sat, Sep 03, 2022 at 05:00:00PM +0200, Stefan Hagen wrote: > This is a better version of an earlier attempt to make my wacom tablet > work. I have the tablet here in Bad Liebenzell if you want to give it a > spin (on my or on your machine). > > Comments? OK? I don't feel entirely qualifie

Re: ssh.1: refer to ssh_config(5) in description of -C, -m

2022-05-27 Thread Caspar Schutijser
On Fri, May 27, 2022 at 08:06:55PM +0200, Caspar Schutijser wrote: > Hi, > > In almost all cases where ssh.1 refers to an option described in > ssh_config(5), it makes this reference explicit. See for example in the > description of -c: > "See the Ciphers keyword **in ssh_c

ssh.1: refer to ssh_config(5) in description of -C, -m

2022-05-27 Thread Caspar Schutijser
Hi, In almost all cases where ssh.1 refers to an option described in ssh_config(5), it makes this reference explicit. See for example in the description of -c: "See the Ciphers keyword **in ssh_config(5)**". Would it make sense to add "in ssh_config(5)" for the description of -C and -m too? Patch

Re: sndio: add sio_flush() function

2022-04-27 Thread Caspar Schutijser
Hi, On Thu, Mar 24, 2022 at 07:11:42AM +0100, Alexandre Ratchov wrote: > Most audio/video players do a stop/start cycle whenever the play > position is changed, track is changed, etc. Currently, stopping drains > the play buffer, which by default is very large (to workaround very > long kernel non

ifconfig.8: fix for minor typo

2021-12-29 Thread Caspar Schutijser
Hi, The diff below fixes a minor typo in ifconfig.8. In the initial short description, the "protected" option is said to have a "child-iface" argument. In the text, this argument was referred to as "interface". This diff makes it consistent. Caspar Index: ifconfig.8 =

mpe.4: properly refer to ioctl(2)

2021-05-14 Thread Caspar Schutijser
Index: mpe.4 === RCS file: /cvs/src/share/man/man4/mpe.4,v retrieving revision 1.11 diff -u -p -r1.11 mpe.4 --- mpe.4 18 Mar 2021 14:22:04 - 1.11 +++ mpe.4 14 May 2021 10:01:58 - @@ -41,7 +41,7 @@ The interface

libpcap: allow breaking out of loop when using savefile

2020-05-15 Thread Caspar Schutijser
even though tcpdump.org implemented support there too [2]. The diff below backports this piece of code to savefile.c after all. Thanks, Caspar Schutijser [1] https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libpcap/pcap-bpf.c.diff?r1=1.16&r2=1.17 [2] https://github.com/the-tcpdump-group/lib

PATCH: smtpd: don't strcmp() NULL in mta_relay_cmp()

2019-09-13 Thread Caspar Schutijser
that b->backupname is passed to strcmp() without checking whether b->backupname != NULL. The diff below adds such a check, in line with other string comparisons that are performed in mta_relay_cmp(). In the same function, I think the same problem exists while comparing a->authlabel and b-&

PATCH: show usage when calling "vmctl stop"

2019-08-21 Thread Caspar Schutijser
Hi, Output of "vmctl stop" without patch: $ vmctl stop vmctl: invalid id: _=/usr/sbin/vmctl With patch: $ ./vmctl stop usage: vmctl [-v] stop [-fw] [id | -a] Best regards, Caspar Schutijser Index: main.c === RCS file

unwind: clean up list of includes

2019-01-26 Thread Caspar Schutijser
it anyway. I did not look at (uw_)log.c since it is shared with many other deamons. Thanks, Caspar Schutijser Index: control.c === RCS file: /cvs/src/sbin/unwind/control.c,v retrieving revision 1.1 diff -u -p -r1.1 control.c ---

unwind: trust anchor path in unwind.8

2019-01-26 Thread Caspar Schutijser
The diff below fixes the path of the trust anchor in unwind.8. Thanks, Caspar Schutijser Index: unwind.8 === RCS file: /cvs/src/sbin/unwind/unwind.8,v retrieving revision 1.2 diff -u -p -r1.2 unwind.8 --- unwind.825 Jan 2019 09

unwind: fix typo

2019-01-24 Thread Caspar Schutijser
Fix typo. Best regards, Caspar Schutijser Index: resolver.c === RCS file: /cvs/src/sbin/unwind/resolver.c,v retrieving revision 1.3 diff -u -p -U5 -r1.3 resolver.c --- resolver.c 24 Jan 2019 15:33:44 - 1.3 +++ resolver.c

unwind Makefile: remove configparser.c when cleaning

2019-01-24 Thread Caspar Schutijser
configparser.c is left behind when running "make clean". You may want to indent the assignments in the lines above to make it look nicer. Best regards, Caspar Schutijser Index: Makefile === RCS file: /cvs/src/sbin/unwind/

unwind: replace PF_ROUTE with AF_ROUTE

2019-01-24 Thread Caspar Schutijser
Similar to these commits: https://marc.info/?l=openbsd-cvs&m=154713176926865&w=2 https://marc.info/?l=openbsd-cvs&m=154814914309779&w=2 Thanks, Caspar Schutijser Index: unwinc.d === RCS file: /cvs/src/sbin/u

kern_tame.c: fix strncmp call

2015-08-23 Thread Caspar Schutijser
Patch below. Thanks, Caspar Schutijser Index: sys/kern/kern_tame.c === RCS file: /cvs/src/sys/kern/kern_tame.c,v retrieving revision 1.25 diff -u -p -r1.25 kern_tame.c --- sys/kern/kern_tame.c23 Aug 2015 19:32:20 -

strlcat.c typo in comment

2015-03-02 Thread Caspar Schutijser
A similar change has been made to strlcpy.c when it was updated to make the code slightly easier to read. Best regards, Caspar Schutijser Index: strlcat.c === RCS file: /cvs/src/lib/libc/string/strlcat.c,v retrieving revision 1.14

Re: [PATCH] root.mail: fix date

2015-01-02 Thread Caspar Schutijser
On Friday, 2 January 2015 11:28:49 CEST, Janne Johansson wrote: May 01 2015 will be a Friday, no? Good catch. deraadt@ changed it now but he changed the day to Sunday instead of Friday. Patch below addresses the issue. Index: etc/root/root.mail =

[PATCH] root.mail: fix date

2015-01-02 Thread Caspar Schutijser
Index: etc/root/root.mail === RCS file: /cvs/src/etc/root/root.mail,v retrieving revision 1.105 diff -u -p -u -r1.105 root.mail --- etc/root/root.mail 1 Jan 2015 15:50:27 - 1.105 +++ etc/root/root.mail 2 Jan 2015 09:43:50

Typo in usr.bin/make/compat.c

2013-06-20 Thread Caspar Schutijser
Hi tech@, I found a typo in usr.bin/make/compat.c. The patch is below. Best regards, Caspar Schutijser Index: compat.c === RCS file: /cvs/src/usr.bin/make/compat.c,v retrieving revision 1.82 diff -u -r1.82 compat.c --- compat.c

[Patch] fix typo in bin/pax/cpio.c

2013-05-21 Thread Caspar Schutijser
Hi tech@, I found a typo in bin/pax/cpio.c. The comment is talking about a function called rd_nam(), but the function below it is called rd_nm(). In the file, there are no other references to rd_nam(). The patch is below. Best regards, Caspar Schutijser Index: bin/pax/cpio.c