[openssl.org #2132] BUG - openssl-1.0.0-beta4 pod2man.pl: Invalid man page - 1st pod line is not NAME in SSL_CTX_set_psk_client_callback.pod

2010-01-05 Thread bri...@parc.com via RT
Installing openssl-1.0.0-beta4 on SunOS  5.11 snv_105 sun4u sparc, with 
no pod2man locally installed, results in the error below.
The source of the problem is that 
doc/ssl/SSL_CTX_set_psk_client_callback.pod has a comment with Nokia 
copyright notice prior to the =head1 NAME line.   I think either the 
copyright notice should be moved, or a pod2man which is prepared to 
process the file should be included in place of util/pod2man.pl


installing man3/SSL_CTX_set_psk_client_callback.3
../../util/pod2man.pl: Invalid man page - 1st pod line is not NAME in 
SSL_CTX_set_psk_client_callback.pod
*** Error code 2
The following command caused the error:
pod2man=`cd util; ./pod2mantest /usr/bin/perl`; \
here=`pwd`; \
filecase=; \
if [ solaris-sparcv8-cc = DJGPP -o solaris-sparcv8-cc = Cygwin 
-o solaris-sparcv8-cc = mingw ]; then \
filecase=-i; \
fi; \
set -e; for i in doc/apps/*.pod; do \
fn=`basename $i .pod`; \
sec=`/usr/bin/perl util/extract-section.pl 1  $i`; \
echo installing man$sec/$fn.${sec}; \
(cd `/usr/bin/perl util/dirname.pl $i`; \
sh -c $pod2man \
--section=$sec --center=OpenSSL \
--release=1.0.0-beta4 `basename $i`) \
  
/import/openssl-1.0.0/openssl-1.0.0-beta4/usIII-sun-solaris2.11-package/usr/local/ssl/man/man$sec/$fn.${sec};
 
\
/usr/bin/perl util/extract-names.pl  $i | \
(grep -v $filecase ^$fn\$; true) | \
(grep -v [ ]; true) | \
(cd 
/import/openssl-1.0.0/openssl-1.0.0-beta4/usIII-sun-solaris2.11-package/usr/local/ssl/man/man$sec/;
 
\
 while read n; do \
PLATFORM=solaris-sparcv8-cc $here/util/point.sh 
$fn.${sec} $n.${sec}; \
 done); \
done; \
set -e; for i in doc/crypto/*.pod doc/ssl/*.pod; do \
fn=`basename $i .pod`; \
sec=`/usr/bin/perl util/extract-section.pl 3  $i`; \
echo installing man$sec/$fn.${sec}; \
(cd `/usr/bin/perl util/dirname.pl $i`; \
sh -c $pod2man \
--section=$sec --center=OpenSSL \
--release=1.0.0-beta4 `basename $i`) \
  
/import/openssl-1.0.0/openssl-1.0.0-beta4/usIII-sun-solaris2.11-package/usr/local/ssl/man/man$sec/$fn.${sec};
 
\
/usr/bin/perl util/extract-names.pl  $i | \
(grep -v $filecase ^$fn\$; true) | \
(grep -v [ ]; true) | \
(cd 
/import/openssl-1.0.0/openssl-1.0.0-beta4/usIII-sun-solaris2.11-package/usr/local/ssl/man/man$sec/;
 
\
 while read n; do \
PLATFORM=solaris-sparcv8-cc $here/util/point.sh 
$fn.${sec} $n.${sec}; \
 done); \
done

__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Re: [CVS] OpenSSL: openssl/doc/ssl/ SSL_CTX_set_options.pod

2010-01-05 Thread Rainer Jung

Resend, because it's not fixed yet.

Regards,

Rainer

On 09.12.2009 19:16, Dr. Stephen Henson wrote:

   OpenSSL CVS Repository
   http://cvs.openssl.org/
   

   Server: cvs.openssl.org  Name:   Dr. Stephen Henson
   Root:   /v/openssl/cvs   Email:  st...@openssl.org
   Module: openssl  Date:   09-Dec-2009 19:16:50
   Branch: HEAD Handle: 2009120918165000

   Modified files:
 openssl/doc/ssl SSL_CTX_set_options.pod

   Log:
 clarify docs

   Summary:
 RevisionChanges Path
 1.17+10 -9  openssl/doc/ssl/SSL_CTX_set_options.pod
   

   patch -p0'@@ .'
   Index: openssl/doc/ssl/SSL_CTX_set_options.pod
   
   $ cvs diff -u -r1.16 -r1.17 SSL_CTX_set_options.pod
   --- openssl/doc/ssl/SSL_CTX_set_options.pod  9 Dec 2009 17:59:29 -   
1.16
   +++ openssl/doc/ssl/SSL_CTX_set_options.pod  9 Dec 2009 18:16:50 -   
1.17

...

   @@ -254,13 +254,14 @@
whether an attack is taking place.

If the option BSSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION  is set then the
   -renegotiation between unpatched clients and patched servers is permitted as
   -well as initial connections and renegotiation between patched clients and
   -unpatched servers. This option should be used with caution because it leaves
   -both clients and servers vulnerable. However unpatched servers and clients 
are
   -likely to be around for some time and simply refusing to connect to 
unpatched
   -servers may well be considered unacceptable. So applications may be forced 
to
   -use this option for the immediate future.
   +above restrictions are relaxed. Renegotiation is permissible and initial
   +initial connections to unpatched servers will succeed.


permissible and initial initial connections
 ^^^

See also revision 1.15.2.2 in 1_0_0 and 1.13.2.5 in 0_9_8.

Regards,

Rainer
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Re: [openssl.org #2132] Resolved: BUG - openssl-1.0.0-beta4 pod2man.pl: Invalid man page - 1st pod line is not NAME in SSL_CTX_set_psk_client_callback.pod

2010-01-05 Thread bri...@parc.com via RT
./doc/ssl/SSL_CTX_use_psk_identity_hint.pod
and
./doc/ssl/SSL_get_psk_identity.pod

have the same problem.


__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Re: [openssl.org #2132] Resolved: BUG - openssl-1.0.0-beta4 pod2man.pl: Invalid man page - 1st pod line is not NAME in SSL_CTX_set_psk_client_callback.pod

2010-01-05 Thread Dr. Stephen Henson
On Tue, Jan 05, 2010, bri...@parc.com via RT wrote:

 ./doc/ssl/SSL_CTX_use_psk_identity_hint.pod
 and
 ./doc/ssl/SSL_get_psk_identity.pod
 
 have the same problem.
 

The problem was the bundled pod2man.pl script, that should work now.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org