cvs-dev
[Top][All Lists]
Advanced

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

Re: [Cvs-dev] windows-NT/config.h.in.in changes for CVS FEATURE 1.12.x


From: Mark D. Baushke
Subject: Re: [Cvs-dev] windows-NT/config.h.in.in changes for CVS FEATURE 1.12.x
Date: Mon, 22 May 2006 17:06:29 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Derek R. Price <address@hidden> writes:

> Mark D. Baushke wrote:
> >  DEFAULT_SIGN_TEMPLATE         - undef unless OpenPGP exists
> >  DEFAULT_SIGN_TEXTMODE         - undef unless OpenPGP exists
> >  DEFAULT_VERIFY_TEMPLATE       - undef unless OpenPGP exists
> >   
> 
> [...snip...]
> 
> >  HAVE_OPENPGP                  - assume PGP and GPG are not available?
> >   
> 
> I would recommend defining the OpenPGP DEFAULT_* stuff to the defaults
> from confiugre.in and leaving HAVE_OPENPGP undefined if you don't want
> to assume GPG is present.  Leaving the DEFAULT stuff defined should mean
> that a user who installs GPG would only need to add command line
> switches to cause the client to try GPG operations, as opposed to also
> passing a useful command line template for the various GPG operations.
> 
> It might be useful to change the default verify mode to VERIFY_WARN
> rather than VERIFY_OFF even when HAVE_OPENPGP is not defined, for
> reasons discussed in the earlier thread.

Hmmm... I found that the 'make stamp-chi' command has problems unless
#undef HAVE_OPENPGG is present...

% cd winwos-NT
% make stamp-chi
../config.h.in line 579 has #undef HAVE_OPENPGP not found in ./config.h.in.in
%

By the way, it seems that the maint-aux/gnulib-update script does not
like this line:

  trap 'exit $?' SIGINT

on Solaris 9 hosts. It generates this result:

'maint-aux/gnulib-update: trap: bad trap'

The workaround is to use bash rather than /bin/sh
OR to change the 'SIGINT' to the digit form of the trap ('2').

% kill -l
 1) SIGHUP       2) SIGINT       3) SIGQUIT      4) SIGILL
 5) SIGTRAP      6) SIGABRT      7) SIGEMT       8) SIGFPE
 9) SIGKILL     10) SIGBUS      11) SIGSEGV     12) SIGSYS
13) SIGPIPE     14) SIGALRM     15) SIGTERM     16) SIGUSR1
17) SIGUSR2     18) SIGCHLD     19) SIGPWR      20) SIGWINCH
21) SIGURG      22) SIGIO       23) SIGSTOP     24) SIGTSTP
25) SIGCONT     26) SIGTTIN     27) SIGTTOU     28) SIGVTALRM
29) SIGPROF     30) SIGXCPU     31) SIGXFSZ     32) SIGWAITING
33) SIGLWP      34) SIGFREEZE   35) SIGTHAW     36) SIGCANCEL
37) SIGLOST     39) SIGRTMIN    40) SIGRTMIN+1  41) SIGRTMIN+2
42) SIGRTMIN+3  43) SIGRTMAX-3  44) SIGRTMAX-2  45) SIGRTMAX-1
46) SIGRTMAX    
% /bin/sh
$ trap
$ trap "echo done for now" EXIT
$ trap
0: echo done for now
$ trap "echo problem ahead" SIGINT
trap: bad trap
$ trap
0: echo done for now
$ trap "echo problem ahead" 2
$ trap
0: echo done for now
2: echo problem ahead
$ 

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEclIFCg7APGsDnFERAuItAJ4q3BEtiFjSshXX2T1INpfBREP7OACginzB
qGGrvmbIETY7sSXZl94Jbfc=
=lWLb
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]