Re: netstart: improve DESCRIPTION

2022-10-24 Thread Jason McIntyre
On Mon, Oct 24, 2022 at 06:35:17PM +, Klemens Nanni wrote: > On Fri, Oct 21, 2022 at 06:58:52PM +, Klemens Nanni wrote: > > On Fri, Oct 21, 2022 at 06:39:59PM +0100, Jason McIntyre wrote: > > > i was going to incliude this in my answer, but eventually thought it > > > looks like a seperate

Re: netstart: do not wait for autoconf in dry-run

2022-10-24 Thread Theo Buehler
On Mon, Oct 24, 2022 at 08:29:22PM +, Klemens Nanni wrote: > If there is no default route but some interface has AUTOCONF, printing > what would be done still waits for... nothing to happen. ok tb

Re: ifconfig, wireguard output less verbose, unless -A or

2022-10-24 Thread Hrvoje Popovski
On 14.10.2022. 23:57, Mikolaj Kucharski wrote: > Kind reminder. Below there is a comment with an OK from sthen@ > > Diff at the end of this email. > > Hi all, can this diff be committed? Less verbose output of ifconfig wg interface is quite nice when handling wg vpn server Thank you > On

netstart: do not wait for autoconf in dry-run

2022-10-24 Thread Klemens Nanni
If there is no default route but some interface has AUTOCONF, printing what would be done still waits for... nothing to happen. OK? Index: netstart === RCS file: /cvs/src/etc/netstart,v retrieving revision 1.220 diff -u -p -r1.220

Re: pijuice(4) testing

2022-10-24 Thread Mark Kettenis
> Date: Mon, 24 Oct 2022 16:19:44 +0200 > From: Marcus Glocker > > Currently the PiJuice HAT EEPROM doesn't ship with the Device Tree node > for the I2C MCU which delivers us the battery information. The reason > for that is most likely that Linux is offering a /dev/i2c device node > for

netstart: SOII: fix comment, print step with -n

2022-10-24 Thread Klemens Nanni
IPv6LL no longer uses SOII (ifconfig(8) `soii' description got fixed). Don't ignore this step in dry-runs. In analogy to how we print { ifconfig trunk0 || ifconfig trunk0 create; } the file check could be deferred and printed as well, i.e. [[ -f /etc/soii.key ]] && sysctl ...

netstart: improve DESCRIPTION

2022-10-24 Thread Klemens Nanni
On Fri, Oct 21, 2022 at 06:58:52PM +, Klemens Nanni wrote: > On Fri, Oct 21, 2022 at 06:39:59PM +0100, Jason McIntyre wrote: > > i was going to incliude this in my answer, but eventually thought it > > looks like a seperate diff: > > > > the text currently reads as though only a singular

if_parse_packet(): refactor packet parsing on driver level

2022-10-24 Thread Jan Klemkow
Hi, We have a lot of redundant code on the network device driver layer, that parses the content of mbufs for ethernet, ip and tcp header. This diff introduces a new function if_parse_packet() to centralize this feature. It just refactors ix(4) and ixl(4) code because, I could test this cards and

OpenBSD Errata: October 24, 2022 (libcrypto)

2022-10-24 Thread Alexander Bluhm
Errata patches for libcrypto have been released for OpenBSD 7.2. Binary updates for the amd64, i386 and arm64 platform are available via the syspatch utility. Source code patches can be found on the respective errata page: https://www.openbsd.org/errata72.html

Re: M1 Macmini lost hw.cpuspeed

2022-10-24 Thread Otto Moerbeek
On Mon, Oct 24, 2022 at 04:15:40PM +0200, Mark Kettenis wrote: > > Date: Mon, 24 Oct 2022 14:52:00 +0200 > > From: Robert Nagy > > > > On 24/10/22 14:49 +0200, Theo Buehler wrote: > > > On Mon, Oct 24, 2022 at 09:24:14AM +0200, Otto Moerbeek wrote: > > > > Hello, > > > > > > > > after updating

pijuice(4) testing

2022-10-24 Thread Marcus Glocker
Currently the PiJuice HAT EEPROM doesn't ship with the Device Tree node for the I2C MCU which delivers us the battery information. The reason for that is most likely that Linux is offering a /dev/i2c device node for userland programs, and the PiJuice team has developed an utility which utilizes

Re: M1 Macmini lost hw.cpuspeed

2022-10-24 Thread Mark Kettenis
> Date: Mon, 24 Oct 2022 14:52:00 +0200 > From: Robert Nagy > > On 24/10/22 14:49 +0200, Theo Buehler wrote: > > On Mon, Oct 24, 2022 at 09:24:14AM +0200, Otto Moerbeek wrote: > > > Hello, > > > > > > after updating my M1 macmini after my vacatiuon to the latest snap it > > > seems to have lost

Re: M1 Macmini lost hw.cpuspeed

2022-10-24 Thread Theo Buehler
On Mon, Oct 24, 2022 at 02:52:00PM +0200, Robert Nagy wrote: > On 24/10/22 14:49 +0200, Theo Buehler wrote: > > On Mon, Oct 24, 2022 at 09:24:14AM +0200, Otto Moerbeek wrote: > > > Hello, > > > > > > after updating my M1 macmini after my vacatiuon to the latest snap it > > > seems to have lost a

Re: M1 Macmini lost hw.cpuspeed

2022-10-24 Thread Robert Nagy
On 24/10/22 14:49 +0200, Theo Buehler wrote: > On Mon, Oct 24, 2022 at 09:24:14AM +0200, Otto Moerbeek wrote: > > Hello, > > > > after updating my M1 macmini after my vacatiuon to the latest snap it > > seems to have lost a few sysctl nodes, making apm(8) fail: > > > > [otto@macmini:4]$ ktrace

Re: M1 Macmini lost hw.cpuspeed

2022-10-24 Thread Theo Buehler
On Mon, Oct 24, 2022 at 09:24:14AM +0200, Otto Moerbeek wrote: > Hello, > > after updating my M1 macmini after my vacatiuon to the latest snap it > seems to have lost a few sysctl nodes, making apm(8) fail: > > [otto@macmini:4]$ ktrace apm > Battery state: unknown, 0% remaining, unknown life

Re: rpki-client: make x509_init_oid() table-based?

2022-10-24 Thread Claudio Jeker
On Mon, Oct 24, 2022 at 11:58:50AM +0200, Theo Buehler wrote: > The amount of copy-paste and repetition in x509_init_oid() is becoming a > bit much. The function is an eyesore due to the repetition and made > worse by the inconsistent wrapping. It's long past the point where my > brain is still

Re: rpki-client: make x509_init_oid() table-based?

2022-10-24 Thread Job Snijders
On Mon, Oct 24, 2022 at 11:58:50AM +0200, Theo Buehler wrote: > The amount of copy-paste and repetition in x509_init_oid() is becoming > a bit much. The function is an eyesore due to the repetition and made > worse by the inconsistent wrapping. It's long past the point where my > brain is still

rpki-client: make x509_init_oid() table-based?

2022-10-24 Thread Theo Buehler
The amount of copy-paste and repetition in x509_init_oid() is becoming a bit much. The function is an eyesore due to the repetition and made worse by the inconsistent wrapping. It's long past the point where my brain is still able to process the code. How about letting code deal with the

Re: sparc64: bootblk: let bsd.prog.mk do the work

2022-10-24 Thread Klemens Nanni
On Wed, Oct 12, 2022 at 05:55:10PM +, Klemens Nanni wrote: > sets up CLEANFILES, build/install targets and more, so no > need to roll them ourselves if we just set PROG and SRCS. > > STRIPFLAG is defined but not used and in INSTALL_STRIP is > the magic word, so fix that. > > Don't replace

M1 Macmini lost hw.cpuspeed

2022-10-24 Thread Otto Moerbeek
Hello, after updating my M1 macmini after my vacatiuon to the latest snap it seems to have lost a few sysctl nodes, making apm(8) fail: [otto@macmini:4]$ ktrace apm Battery state: unknown, 0% remaining, unknown life estimate AC adapter state: not known Performance adjustment mode: invalid (0