<br><tt><font size=2>Douglas Hubler wrote on 12/13/2006 06:18:21 PM:<br>
<br>
&gt; Joe Todaro &lt;jstodaro &lt;at&gt; us.ibm.com&gt; writes:<br>
&gt; &gt; Here, in fact I made some enhancements to the script<br>
&gt; &lt;snip&gt;<br>
&gt; &gt; See what you can do with it.<br>
&gt; <br>
&gt; Joe,<br>
&gt; <br>
&gt; I'm using the expect script you attached to your last post, thanks
for posting<br>
&gt; it! &nbsp;<br>
&gt; <br>
&gt; I'm finding on larger RPMs the expect script times out after password
but <br>
&gt; beforethe actual signing and without giving an error message. &nbsp;<br>
&gt; <br>
&gt; So I<br>
&gt; &nbsp;- added a timeout error condition after password is entered.
<br>
&gt; &nbsp;- increase timeout. &nbsp;<br>
&gt; &nbsp;<br>
&gt; Does it look right? Seems to work for me.</font></tt>
<br>
<br><tt><font size=2>Yeah. Looks fine Douglas. Good catch. </font></tt>
<br><tt><font size=2><br>
&gt; <br>
&gt; Also, I cannot seem to find documentation on what<br>
&gt; &nbsp;--with sig_main<br>
&gt; does, can you explain?</font></tt>
<br>
<br><tt><font size=2>The basic package signing methods are described here:
</font></tt>
<br><tt><font size=2 color=blue>http://library.n0i.net/linux-unix/programming/ma-xrpm/s1-rpm-pgp-signing-packages.html</font></tt>
<br>
<br><tt><font size=2>And the &quot;--with sig_main&quot; option can be
implemented via the &quot;%_gpg_name&quot; </font></tt>
<br><tt><font size=2>macro, that might look something like this:</font></tt>
<br><tt><font size=2>%_gpg_name &nbsp;%{?_with_sig_main:F333AC40}%{?_with_sig_addon:5036E41F}</font></tt>
<br><tt><font size=2><br>
&gt; <br>
&gt; <br>
&gt; modified extras-signer.ex<br>
&gt; &nbsp;http://pastebin.ca/278275<br>
&gt; <br>
&gt; <br>
&gt; --<br>
&gt; Fedora-buildsys-list mailing list<br>
&gt; Fedora-buildsys-list@redhat.com<br>
&gt; https://www.redhat.com/mailman/listinfo/fedora-buildsys-list<br>
</font></tt>