A utility for downloading and verifying FreeBSD releases and snapshots
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
653 B

  1. Fetch all of the archive:
  2. scp -r freefall:/local/mail/archive/*/freebsd-snapshots .
  3. XXX - don't use the following, doesn't decode body properly
  4. Explode the mbox to files:
  5. cat 201810* freebsd-snapshots | split -p '^From ' - snap.
  6. The stdin trick is needed so the numbering/lettering continues properly.
  7. Correct way to split the bodies off.
  8. python splitbody.py arch/complete.txt arch/snap.
  9. Expand all the "validly" formed messages to a file:
  10. zcat $(zgrep -l 'PGP SIGNED MESSAGE' *) > ../complete.txt
  11. We only lose 2012, so no big deal.
  12. Bulk import:
  13. for i in snap.??; do sh addinfo.sh -m < $i; done
  14. -m is used to not check if they exist till the end.