<div>i switched Android's script from bash to python last month just to deal with FTP more conveniently:</div><div><br></div>  <a href="https://android.googlesource.com/platform/bionic/+/5d967e43d03e9c916548b9c290b0c4138df2f1f8">https://android.googlesource.com/platform/bionic/+/5d967e43d03e9c916548b9c290b0c4138df2f1f8</a><br>

<br>anyone who's looking for the three[-ish] lines of python can search for 'nlst' in this change: <a href="https://android.googlesource.com/platform/bionic/+/5d967e43d03e9c916548b9c290b0c4138df2f1f8%5E!/#F0">https://android.googlesource.com/platform/bionic/+/5d967e43d03e9c916548b9c290b0c4138df2f1f8%5E!/#F0</a> <div>

<br></div><div>does anyone have any good ideas about programmatically doing something about verifying the PGP signatures?</div><div><br><div class="gmail_quote">On Fri, Aug 3, 2012 at 7:28 AM,  <span dir="ltr"><<a href="mailto:Paul_Koning@dell.com" target="_blank">Paul_Koning@dell.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">O<br>
<div class="im">On Aug 3, 2012, at 6:57 AM, Ian Abbott wrote:<br>
<br>
> On 2012-08-03 10:58, Neil Masson wrote:<br>
>> This might have been talked about recently, but I don't remember any<br>
>> resolution.<br>
>><br>
>> I have a script which polls the IANA Website daily to detect if there<br>
>> has been any update.  It parses the html to find the latest version and<br>
>> then checks to see if the version has changed since the last time.  This<br>
>> solution is fragile and could easily be broken if the layout of the<br>
>> Website changes.<br>
>><br>
>> I don't see any way of detecting the version from the ftp or rsync sites<br>
>> as the "real" filename which contains the version has been replaced with<br>
>> a link tzdata-latest.tar.gz.<br>
><br>
</div>> You could parse the output of lftp or ncftpls in long-listing mode: ...<br>
<br>
Or just look at the names of the tarballs to see if a new one showed up.  If you sort them lexicographically, ignoring any that have two-digit years, any new one is the last one in that list.<br>
<br>
I've been using that approach for a while now, it's about 3 lines of Python...<br>
<br>
        paul<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Elliott Hughes - <a href="http://who/enh" target="_blank">http://who/enh</a> - <a href="http://jessies.org/~enh/" target="_blank">http://jessies.org/~enh/</a><br>

NIO or JNI questions? Mail me/drop by/add me as a reviewer.<br>
</div>