Re: Arch Linux - out of date?!

"Jason A. Donenfeld" <[email protected]> Tue, 24 Feb 2026 13:27:14 +0100
Newsgroups com.zx2c4.lists.wireguard
Message-ID <CAHmME9pnCLQCp=6=25fnV1jJcNQMeyrAaxLWTmAEOjDff-FkVw@mail.gmail.com>
On Tue, Feb 24, 2026 at 1:07=E2=80=AFPM Christian Hesse <[email protected]> wro=
te:
>
> "Jason A. Donenfeld" <[email protected]> on Tue, 2026/02/24 11:57:
> > On Tue, Feb 24, 2026 at 11:53=E2=80=AFAM Christian Hesse <[email protected]=
> wrote:
> > >
> > > Christian Hesse <[email protected]> on Tue, 2026/02/10 14:30:
> > > > Hello everybody,
> > > >
> > > > for some time already I am annoyed by mails clogging my input regar=
ding
> > > > wireguard-tools for Arch Linux being out of date. Obviously this is=
 not
> > > > true, I built the package the day of release. [0]
> > > >
> > > > Now found the install page mentioning the package being out-of date=
...
> > > > [1] What goes wrong and how to fix that?
> > > >
> > > > [0] https://archlinux.org/packages/extra/x86_64/wireguard-tools/
> > > > [1] https://www.wireguard.com/install/#arch-module-tools
> > >
> > > Ping... I would like to see this resolved.
> > >
> > > Alternatively I will set up my mail server to forward these mails to =
you
> > > personally, Jason.
> >
> > Hehe.
> >
> > In the midst of a big infrastructure refresh (as perhaps you've
> > noticed), so this is certainly in the queue there. Sorry about this.
>
> Ok, will wait patiently then. Just wanted to make sure this is not lost. =
:)
>
> Is the code available in git anywhere? I could have a look myself then.

I sorted out the arch and alpine ones, but there are still a bunch of
others that are out of date or broken. For alpine I had to work around
anubis (by using a curl useragent).

The code isn't online, but maybe it should be. It's just a bash script
that fetches webpages and executes a regex. The arch ones are:

check \
       tools \
       "Arch" \
       "[email protected]" \
       "https://gitlab.archlinux.org/archlinux/packaging/packages/wireguard=
-tools/-/raw/main/PKGBUILD?ref_type=3Dheads"
\
       'pkgver=3D([0-9.]+)' &
check \
       linuxcompat \
       "Arch" \
       "[email protected]" \
       "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=3Dwireguard=
-dkms"
\
       'pkgver=3D([0-9.]+)' &

check() {
       local type=3D"$1"
       local expected=3D"version_$1"
       expected=3D"${!expected}"
       local name=3D"$2"
       local email=3D"$3"
       local text=3D"$(curl -L -A "curl/8.18.0
($RANDOM$RANDOM$RANDOM$RANDOM)" -s "$4")"
       [[ $text =3D~ $5 ]] && local version=3D"${BASH_REMATCH[1]}" ||
local version=3D"unknown"
       [[ $version =3D=3D "$expected" ]] && local uptodate=3D"true" || loca=
l
uptodate=3D"false"