[Build-common-hackers] a WAF class for CDBS
Jonas Smedegaard
dr at jones.dk
Wed Dec 29 17:14:14 UTC 2010
On Wed, Dec 29, 2010 at 05:39:47PM +0100, Rémi Thebault wrote:
>Le mercredi 29 décembre 2010 à 14:11 +0100, Jonas Smedegaard a écrit :
>> Here's a proposed pseudo-code:
>>
>> If not safetybelt-off; then
>> do-checksum
>> mesg checksum
>> if checksum-match-fail (including no stored checksum at all); then
>> unpack-waf
>> error "waf checksum failed. inspect unpacked waf, and if ok
>> store above calculated checksum as debian/waf.sha1sum
>> and remove the unpacked files"
>> else
>> warning "WARNING: waf file is executed without prior inspection!
>> this might be unsafe - you have been warned...!"
>>
>> I.e. a little more than your summary, but not much. does that look
>> sane?
>
>OK I will work this way.
Great :-D
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20101229/84853df8/attachment-0001.pgp>
More information about the Build-common-hackers
mailing list