Update POTACAT, pin Dump1090, version YAAC by date

- potacat 1.11.7 -> 1.14.1 (same build config and targets)
- Dump1090 has no tags; pin ref= to efe64db, which installed builds
  already match, so nothing is rebuilt
- YAAC.zip carries no version number; use its release date (2026-11-07,
  from Last-Modified) as version=, which picks up the newer release
- hampackcheck compares a pinned ref= with upstream HEAD for repos
  without version tags, and date versions with Last-Modified

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Young
2026-11-08 10:00:54 -07:00
co-authored by Claude Opus 5.5
parent 0b471c9771
commit 6e100ba7d2
2 changed files with 39 additions and 6 deletions
+25 -2
View File
@@ -60,14 +60,37 @@ check_binary() {
fi
}
# Date (YYYY-MM-DD, UTC) a URL was last modified, from its Last-Modified header
last_modified_date() {
local header
header="$(curl -sfIL "$1" | sed -n 's/^[Ll]ast-[Mm]odified: *//p' | tail -n1 | tr -d '\r')"
[ -n "$header" ] && date -u -d "$header" +%F
}
# parse_conf callback for compile.conf. git= apps are built from the tag
# matching their version, so compare against the repo's tags, not releases.
# Repos without version tags are compared by their pinned ref= against HEAD,
# and archives versioned by date by their Last-Modified date.
check_compiled() {
local app="${CONF[name]:-${CONF[_name]}}" version="${CONF[version]}"
local app="${CONF[name]:-${CONF[_name]}}" version="${CONF[version]}" ref="${CONF[ref]}"
[ -n "$version" ] || return 0
if [ -n "${CONF[git]}" ]; then
print_result "$app" "$version" "$(git_latest_tag "${CONF[git]}")" "" "version tags"
local latest
latest="$(git_latest_tag "${CONF[git]}")"
if [ -z "$latest" ] && [ -n "$ref" ]; then
local head
head="$(git ls-remote "${CONF[git]}" HEAD 2> /dev/null | cut -f1)"
if [ "$head" = "$ref" ]; then
print_result "$app" "$version" "$version" ""
else
print_result "$app" "$version" "${head:+HEAD ${head:0:10}}" "" "git HEAD"
fi
else
print_result "$app" "$version" "$latest" "" "version tags"
fi
elif [[ "$version" =~ ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ ]]; then
print_result "$app" "$version" "$(last_modified_date "${CONF[wget]}")" "" "Last-Modified"
else
print_result "$app" "$version" "" "${CONF[wget]}"
fi