Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#80099 - [openbsd-netcat] Incorrect version number when called with the -h option

Attached to Project: Arch Linux
Opened by Simon Taylor (simon-taylor) - Sunday, 29 October 2023, 11:59 GMT
Last edited by kpcyrd (kpcyrd) - Sunday, 29 October 2023, 20:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
kpcyrd (kpcyrd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Package version: 1.225_1-1

Description:

The netcat command doesn't show the correct version number when called with the -h option.

`nc -h |& head -n 1` shows `OpenBSD netcat (Debian patchlevel 1)` whereas it should show `OpenBSD netcat (Debian patchlevel 1.225-1)`.

For example, the version in Debian sid is shown as `OpenBSD netcat (Debian patchlevel 1.226-1)`

Replacing `pkgrel` with `pkgver/_/-` in CFLAGS in the PKGBUILD results in a version number consistent with Debian.
This task depends upon

Closed by  kpcyrd (kpcyrd)
Sunday, 29 October 2023, 20:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.226_1-2

Loading...