Package: wireguard-dkms
Version: 1.0.20210219-1
Severity: important

Dear Maintainer,

It seems that the BUILD_EXCLUSIVE directive on the dkms.conf contained
in the wireguard-dkms package prevents the module from being built on
kernels 6.x as the regex only contemplates kernel 5.x or earlier.

The problematic part seems to be:

```
if ls /lib/modules/5.5*/source/include/uapi/linux/wireguard.h >/dev/null 2>&1 ; 
then
    # debian backported wireguard into the 5.5 release:
    BUILD_EXCLUSIVE_KERNEL="^((5\.[0-4]($|[.-]))|(4\.)|(3\.1[0-9]))"
else
    # upstream requires kernel 3.10 - 5.5, inclusive:
    BUILD_EXCLUSIVE_KERNEL="^((5\.[0-5]($|[.-]))|(4\.)|(3\.1[0-9]))"
fi
```

Given that Debian 12 now ships with kernel 6.x, it might be worth
updating the regex appropriately.

Thank you very much in advance!

Kind Regards,
Jonas.


-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.2.16-3-pve (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, 
TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wireguard-dkms depends on:
ii  dkms  3.0.10-8+deb12u1
ii  perl  5.36.0-7

Versions of packages wireguard-dkms recommends:
pn  wireguard        <none>
pn  wireguard-tools  <none>

wireguard-dkms suggests no packages.

-- no debconf information

Reply via email to