Allow alternative manual sections to be embedded in .pod file comments.
This commit is contained in:
parent
cb26a20cb1
commit
401ee37a3e
11
CHANGES
11
CHANGES
@ -4,6 +4,17 @@
|
|||||||
|
|
||||||
Changes between 0.9.7e and 0.9.8 [xx XXX xxxx]
|
Changes between 0.9.7e and 0.9.8 [xx XXX xxxx]
|
||||||
|
|
||||||
|
*) New utility extract-section.pl. This can be used specify an alternative
|
||||||
|
section number in a pod file instead of having to treat each file as
|
||||||
|
a separate case in Makefile. This can be done by adding two lines to the
|
||||||
|
pod file:
|
||||||
|
|
||||||
|
=for comment openssl_section:XXX
|
||||||
|
|
||||||
|
The blank line is mandatory.
|
||||||
|
|
||||||
|
[Steve Henson]
|
||||||
|
|
||||||
*) New arguments -certform, -keyform and -pass for s_client and s_server
|
*) New arguments -certform, -keyform and -pass for s_client and s_server
|
||||||
to allow alternative format key and certificate files and passphrase
|
to allow alternative format key and certificate files and passphrase
|
||||||
sources.
|
sources.
|
||||||
|
@ -609,7 +609,7 @@ install_docs:
|
|||||||
fi; \
|
fi; \
|
||||||
set -e; for i in doc/apps/*.pod; do \
|
set -e; for i in doc/apps/*.pod; do \
|
||||||
fn=`basename $$i .pod`; \
|
fn=`basename $$i .pod`; \
|
||||||
if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \
|
sec=`$(PERL) util/extract-section.pl 1 < $$i`; \
|
||||||
echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \
|
echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \
|
||||||
(cd `$(PERL) util/dirname.pl $$i`; \
|
(cd `$(PERL) util/dirname.pl $$i`; \
|
||||||
sh -c "$$pod2man \
|
sh -c "$$pod2man \
|
||||||
@ -626,7 +626,7 @@ install_docs:
|
|||||||
done; \
|
done; \
|
||||||
set -e; for i in doc/crypto/*.pod doc/ssl/*.pod; do \
|
set -e; for i in doc/crypto/*.pod doc/ssl/*.pod; do \
|
||||||
fn=`basename $$i .pod`; \
|
fn=`basename $$i .pod`; \
|
||||||
if [ "$$fn" = "des_modes" ]; then sec=7; else sec=3; fi; \
|
sec=`$(PERL) util/extract-section.pl 3 < $$i`; \
|
||||||
echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \
|
echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \
|
||||||
(cd `$(PERL) util/dirname.pl $$i`; \
|
(cd `$(PERL) util/dirname.pl $$i`; \
|
||||||
sh -c "$$pod2man \
|
sh -c "$$pod2man \
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
|
|
||||||
=pod
|
=pod
|
||||||
|
|
||||||
|
=for comment openssl_manual_section:5
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
config - OpenSSL CONF library configuration files
|
config - OpenSSL CONF library configuration files
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
=pod
|
=pod
|
||||||
|
|
||||||
|
=for comment openssl_manual_section:5
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
x509v3_config - X509 V3 certificate extension configuration format
|
x509v3_config - X509 V3 certificate extension configuration format
|
||||||
|
@ -60,7 +60,7 @@ EVP_BytesToKey() returns the size of the derived key in bytes.
|
|||||||
=head1 SEE ALSO
|
=head1 SEE ALSO
|
||||||
|
|
||||||
L<evp(3)|evp(3)>, L<rand(3)|rand(3)>,
|
L<evp(3)|evp(3)>, L<rand(3)|rand(3)>,
|
||||||
L<EVP_EncryptInit(3)|EVP_EncryptInit(3)>,
|
L<EVP_EncryptInit(3)|EVP_EncryptInit(3)>
|
||||||
|
|
||||||
=head1 HISTORY
|
=head1 HISTORY
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
=pod
|
=pod
|
||||||
|
|
||||||
|
=for comment openssl_manual_section:7
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
Modes of DES - the variants of DES and other crypto algorithms of OpenSSL
|
Modes of DES - the variants of DES and other crypto algorithms of OpenSSL
|
||||||
|
12
util/extract-section.pl
Normal file
12
util/extract-section.pl
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
|
||||||
|
while(<STDIN>) {
|
||||||
|
if (/=for\s+comment\s+openssl_manual_section:(\S+)/)
|
||||||
|
{
|
||||||
|
print "$1\n";
|
||||||
|
exit 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
print "$ARGV[0]\n";
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user