[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: upload.cgi (Error 255)



On Mon, 2006-05-01 at 14:58 -0400, Jeremy Katz wrote:
> On Mon, 2006-05-01 at 14:56 -0400, Konstantin Ryabitsev wrote:
> > Konstantin Ryabitsev wrote:
> > > make new-sources FILES="common-0.15.0.tar.gz"
> > > 
> > > Checking : common-0.15.0.tar.gz on 
> > > https://cvs.fedora.redhat.com/repo/extras/upload.cgi...
> > > ERROR: could not check remote file status
> > > make: *** [new-sources] Error 255
> > 
> > Please to be ignorink. My .fedora.cert is expirink.
> 
> ...
> 
> If someone wanted to send a patch for Makefile.common that checked for
> this case and said "hey silly!  your cert expired!", I'd be glad to
> commit it... ;-)

Not a patch nor really tested, but maybe something naive like this would
be helpful:

cmd="openssl verify -CAfile $HOME/.fedora-upload-ca.cert $HOME/.fedora.cert"
if ! $cmd 2>&1 | head -n 1 | grep -q ' OK$' ; then
    echo "Something seems to be wrong with your certificate:"
    $cmd
    exit 1
fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]