Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146966801
D8074.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
733 B
Referenced Files
None
Subscribers
None
D8074.id.diff
View Options
Index: usr.sbin/portsnap/portsnap/portsnap.sh
===================================================================
--- usr.sbin/portsnap/portsnap/portsnap.sh
+++ usr.sbin/portsnap/portsnap/portsnap.sh
@@ -691,8 +691,9 @@
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
+ cut -f 2 -d '|' tINDEX.new INDEX.new | sort -u |\
+ lam -s 'snap/' - -s '.gz' > files.expected
+ find snap -mindepth 1 | sort > files.snap
if ! cmp -s files.expected files.snap; then
echo "unexpected files in snapshot."
return 1
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 8, 5:25 AM (16 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29396014
Default Alt Text
D8074.id.diff (733 B)
Attached To
Mode
D8074: portsnap: use lam on the 'good' hash list instead of sed on the untrusted one
Attached
Detach File
Event Timeline
Log In to Comment