Page MenuHomeFreeBSD

D8052.diff
No OneTemporary

D8052.diff

Index: head/usr.sbin/portsnap/portsnap/portsnap.sh
===================================================================
--- head/usr.sbin/portsnap/portsnap/portsnap.sh
+++ head/usr.sbin/portsnap/portsnap/portsnap.sh
@@ -691,6 +691,13 @@
fetch_index_sanity || return 1
# Verify the snapshot contents
cut -f 2 -d '|' INDEX.new | fetch_snapshot_verify || return 1
+ cut -f 2 -d '|' tINDEX.new INDEX.new | sort -u > files.expected
+ find snap -mindepth 1 | sed -E 's^snap/(.*)\.gz^\1^' | sort > files.snap
+ if ! cmp -s files.expected files.snap; then
+ echo "unexpected files in snapshot."
+ return 1
+ fi
+ rm files.expected files.snap
echo "done."
# Move files into their proper locations

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 24, 12:32 PM (7 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24131897
Default Alt Text
D8052.diff (699 B)

Event Timeline