<div>i switched Android&#39;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&#39;s looking for the three[-ish] lines of python can search for &#39;nlst&#39; 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">&lt;<a href="mailto:Paul_Koning@dell.com" target="_blank">Paul_Koning@dell.com</a>&gt;</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>
&gt; On 2012-08-03 10:58, Neil Masson wrote:<br>
&gt;&gt; This might have been talked about recently, but I don&#39;t remember any<br>
&gt;&gt; resolution.<br>
&gt;&gt;<br>
&gt;&gt; I have a script which polls the IANA Website daily to detect if there<br>
&gt;&gt; has been any update.  It parses the html to find the latest version and<br>
&gt;&gt; then checks to see if the version has changed since the last time.  This<br>
&gt;&gt; solution is fragile and could easily be broken if the layout of the<br>
&gt;&gt; Website changes.<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t see any way of detecting the version from the ftp or rsync sites<br>
&gt;&gt; as the &quot;real&quot; filename which contains the version has been replaced with<br>
&gt;&gt; a link tzdata-latest.tar.gz.<br>
&gt;<br>
</div>&gt; 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&#39;ve been using that approach for a while now, it&#39;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>