Release date: 2020-01-08
Intended compatibility: WSUS Offline Update 11.8.3
Bug fixes
The download of wsusscn2.cab indicated success, when the integrity check with cabextract failed
The integrity of the WSUS offline scan file wsusscn2.cab can be tested with cabextract -t. If this test fails, the script would still create a file timestamp-wsus-all-glb.txt. This will postpone the next download/validation of this task for one day.
Timestamp files should only be created to indicate successful download runs. Then they prevent the repeated evaluation of the same task in successive download runs. The next evaluation of the WSUS Offline Update configuration files will be postponed for one day (21 hours).
In case of the WSUS offline scan file wsusscn2.cab, a failed download should be retried as soon as possible. Therefore, no timestamp files should be created for failed download tasks.
Static download files in the ../static/custom directory were skipped
The calculation of static download links ignored custom files ../static/custom/StaticDownloadLinks-*.txt, if the original files in the ../static directory were all empty.
Corrected the spelling of files and directories
The file 71-make-shapshot.bash was renamed to 71-make-snapshot.bash.
The noun "licence" is valid British English, but the directory was renamed to "license" for consistency with the usage of American English in other places.
User visible changes
Revised messages for the update of configuration files
The messages for the update of the configuration files for WSUS Offline Update were revised, to better indicate the different steps.
Internal changes
Better compatibility with FreeBSD 12.1, thanks to TheFlipside
FreeBSD uses an up to date bash, but there are small differences in the core utilities cp, date, mktemp, sed and unzip. Sometimes, even the same options don't work the same in GNU/Linux and FreeBSD, e.g. sed -i and unzip -u. This has been partially tested with a virtual machine from https://www.freebsd.org/where.html.
Known differences were fixed, but these virtual machines are too small and too slow to really run the whole download script, so there may be more to be found.
This was first reported in:
- modern FreeBSD support
https://forums.wsusoffline.net/viewtopic.php?f=9&t=9910
Documentation
New file "Differences_between_GNU-Linux_and_FreeBSD.txt"
This file describes the found differences between the GNU/Linux and FreeBSD utilities cp, date, mktemp, sed and unzip. It also discusses possible solutions and workarounds.
Updated installations guides
The files Installation_Guide.txt and Installationsanleitung.txt were updated to include hints for FreeBSD 12.1.
Downloads
The download links for this version are:
- http://downloads.hartmut-buhrmester.de/sh-1.16.tgz
- http://downloads.hartmut-buhrmester.de/sh-1.16_hashes.txt
- http://downloads.hartmut-buhrmester.de/sh-1.16_virusreport.pdf
- http://downloads.hartmut-buhrmester.de/sh-1.16_virusreport-fullpage.png
Link for the online check at VirusTotal. Note, that the URL includes the SHA-256 hash of the archive:
The hashes for the archive sh-1.16.tgz are:
- Code: Select all
MD5: 8b4aef4bcb67cd9be65e3705da312b53
SHA-256: 87b7d011fffa49b82b8144110e7ab55743df8a17ef35f19cd3e1694eede22fda
Further Reading
The first three posts in the original topic A complete rewrite of the Linux scripts are still being updated, to point to the latest version: