skeeto / w64devkit

Portable C and C++ Development Kit for x64 (and x86) Windows
The Unlicense
2.66k stars 185 forks source link

v1.21.0 Busybox returns the same version of v.1.20? #97

Open luc0x61 opened 7 months ago

luc0x61 commented 7 months ago

I just checked with v1.21.0:

 # .\busybox.exe | .\head.exe -2
BusyBox v1.37.0.git (2023-12-05 19:11:03 UTC)
(glob)

and with the previous v1.20:

 # busybox | head -2
BusyBox v1.37.0.git (2023-08-01 15:10:49 UTC)
BusyBox is copyrighted by many authors between 1998-2023.

Looks like that version number is the same, with only a change in the compilation date - and the following character encoding information, as well. Is this right?

[EDIT] Oh well, and the Busybox calling stubs are now marked as trojan by AVG, but this is another matter... 🙄

skeeto commented 7 months ago

Both releases correspond to upstream BusyBox 1.37, so that's not expected to change. The (glob) is a new output corresponding to FRP-5181 (see https://github.com/rmyorston/busybox-w32/commit/9e2c3594), so that's definitely the new version. (See also the discussion on https://github.com/skeeto/w64devkit/commit/4f201b21f7d66eb328f027cd104e6a05fcf35f6f.)

rmyorston commented 7 months ago

Quite by chance I've just released FRP-5236. There isn't much of any importance there.

skeeto commented 6 months ago

Thanks, Ron! 709f676

rmyorston commented 6 months ago

With FRP-5236 the w64devkit build of busybox-w32 now has a manifest which allows uname to give a sensible version on Windows 10:

~ $ 121/w64devkit/bin/uname -a
Windows_NT DESKTOP-7EEFEB9 6.2 9200 x86_64 MS/Windows
~ $ 121+/w64devkit/bin/uname -a
Windows_NT DESKTOP-7EEFEB9 10.0 19045 x86_64 MS/Windows
~ $

This was discussed in busybox-w32 issue 366.

In the README there's a link to the upsteam BusyBox man page. I have a man page on my website which is closer to the w64devkit version: BusyBox.html.

rmyorston commented 4 months ago

From the next release the busybox-w32 Makefile will try to use some clues to provide a more meaningful version than .git.

Had this feature been available in earlier releases the versions reported by w64devkit would have been:

 # .\busybox.exe | .\head.exe -2
BusyBox v1.37.0.git-5181-g5c1a3b00e (2023-12-05 19:11:03 UTC)
(glob)

and

 # busybox | head -2
BusyBox v1.37.0.git-5007-g82accfc19 (2023-08-01 15:10:49 UTC)
BusyBox is copyrighted by many authors between 1998-2023.
skeeto commented 4 months ago

Thanks for the heads up, Ron!