aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index da349fd..5aaa858 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -950,6 +950,7 @@ if 0 < #arg then
950 execute('diff -U 0 results_old/pkgmaster.devuan.org/merged/dists/' .. n .. '/Release.SORTED ' .. 950 execute('diff -U 0 results_old/pkgmaster.devuan.org/merged/dists/' .. n .. '/Release.SORTED ' ..
951 'results/pkgmaster.devuan.org/merged/dists/' .. n .. '/Release.SORTED ' .. 951 'results/pkgmaster.devuan.org/merged/dists/' .. n .. '/Release.SORTED ' ..
952 '| grep -v "@@" | grep "^+" | grep "Packages.xz$" | cut -c 77- >results/NEW_Release_' .. n .. '.txt') 952 '| grep -v "@@" | grep "^+" | grep "Packages.xz$" | cut -c 77- >results/NEW_Release_' .. n .. '.txt')
953-- TODO - Maybe check the date in Release, though since they are updated daily, is there any point? Perhaps it's for checking amprolla got run?
953 else 954 else
954-- TODO - compare to the pkgmaster copy. 955-- TODO - compare to the pkgmaster copy.
955 end 956 end
@@ -1012,6 +1013,7 @@ if 0 < #arg then
1012 if m ~= fm:sub(2, -2) then E('Package MD5 sum mismatch - results/' .. pu.host .. "/merged/" .. p, 'http', 'Integrity', pu.host) end 1013 if m ~= fm:sub(2, -2) then E('Package MD5 sum mismatch - results/' .. pu.host .. "/merged/" .. p, 'http', 'Integrity', pu.host) end
1013 local status, fsha = execute('sha256sum results/' .. pu.host .. "/merged/" .. p .. ' | cut -d " " -f 1') 1014 local status, fsha = execute('sha256sum results/' .. pu.host .. "/merged/" .. p .. ' | cut -d " " -f 1')
1014 if sha ~= fsha:sub(2, -2) then E('Package SHA256 sum mismatch - results/' .. pu.host .. "/merged/" .. p, 'http', 'Integrity', pu.host) end 1015 if sha ~= fsha:sub(2, -2) then E('Package SHA256 sum mismatch - results/' .. pu.host .. "/merged/" .. p, 'http', 'Integrity', pu.host) end
1016-- TODO - maybe check the PGP key, though packages are mostly not signed.
1015 end 1017 end
1016 end 1018 end
1017 if testing("Updated") then 1019 if testing("Updated") then