pkgsrc-WIP-changes archive

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

botan3: install docs to share/doc/



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%pkgsrc.org@localhost>
Pushed By:	nros
Date:		Sat Jan 29 08:35:07 2022 +0100
Changeset:	72d8423298edee8fe518ecb941fa436ee8cea8fd

Modified Files:
	botan3/PLIST
	botan3/distinfo
Added Files:
	botan3/patches/patch-src_scripts_install.py

Log Message:
botan3: install docs to share/doc/

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=72d8423298edee8fe518ecb941fa436ee8cea8fd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 botan3/PLIST                                | 134 ++++++++++++++--------------
 botan3/distinfo                             |   2 +-
 botan3/patches/patch-src_scripts_install.py |  15 ++++
 3 files changed, 83 insertions(+), 68 deletions(-)

diffs:
diff --git a/botan3/PLIST b/botan3/PLIST
index ba07dd5bee..61bf887b18 100644
--- a/botan3/PLIST
+++ b/botan3/PLIST
@@ -103,7 +103,7 @@ include/botan-3/botan/pkcs8.h
 include/botan-3/botan/pkix_enums.h
 include/botan-3/botan/pkix_types.h
 include/botan-3/botan/point_gfp.h
-${PLIST.x86}include/botan-3/botan/processor_rng.h
+include/botan-3/botan/processor_rng.h
 include/botan-3/botan/psk_db.h
 include/botan-3/botan/pubkey.h
 include/botan-3/botan/pwdhash.h
@@ -165,69 +165,69 @@ lib/libbotan-3.so
 lib/libbotan-3.so.0
 lib/libbotan-3.so.0.0.0
 lib/pkgconfig/botan-3.pc
-share/doc/botan-${PKGVERSION}/authors.txt
-share/doc/botan-${PKGVERSION}/handbook/abi.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/bigint.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/block_cipher.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/cipher_modes.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/compression.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/contents.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/credentials_manager.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/cryptobox.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/ecc.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/env_vars.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/ffi.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/filters.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/fpe.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/hash.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/kdf.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/keywrap.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/message_auth_codes.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/otp.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/passhash.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/pbkdf.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/pkcs11.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/psk_db.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/pubkey.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/python.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/rng.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/roughtime.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/secmem.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/srp.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/stream_ciphers.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/tls.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/tpm.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/tss.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/versions.rst
-share/doc/botan-${PKGVERSION}/handbook/api_ref/x509.rst
-share/doc/botan-${PKGVERSION}/handbook/authors.txt
-share/doc/botan-${PKGVERSION}/handbook/building.rst
-share/doc/botan-${PKGVERSION}/handbook/cli.rst
-share/doc/botan-${PKGVERSION}/handbook/contents.rst
-share/doc/botan-${PKGVERSION}/handbook/credits.rst
-share/doc/botan-${PKGVERSION}/handbook/deprecated.rst
-share/doc/botan-${PKGVERSION}/handbook/dev_ref/configure.rst
-share/doc/botan-${PKGVERSION}/handbook/dev_ref/contents.rst
-share/doc/botan-${PKGVERSION}/handbook/dev_ref/continuous_integration.rst
-share/doc/botan-${PKGVERSION}/handbook/dev_ref/contributing.rst
-share/doc/botan-${PKGVERSION}/handbook/dev_ref/fuzzing.rst
-share/doc/botan-${PKGVERSION}/handbook/dev_ref/mistakes.rst
-share/doc/botan-${PKGVERSION}/handbook/dev_ref/oids.rst
-share/doc/botan-${PKGVERSION}/handbook/dev_ref/os.rst
-share/doc/botan-${PKGVERSION}/handbook/dev_ref/reading_list.rst
-share/doc/botan-${PKGVERSION}/handbook/dev_ref/release_process.rst
-share/doc/botan-${PKGVERSION}/handbook/dev_ref/test_framework.rst
-share/doc/botan-${PKGVERSION}/handbook/dev_ref/todo.rst
-share/doc/botan-${PKGVERSION}/handbook/goals.rst
-share/doc/botan-${PKGVERSION}/handbook/index.rst
-share/doc/botan-${PKGVERSION}/handbook/migration_guide.rst
-share/doc/botan-${PKGVERSION}/handbook/old_news.rst
-share/doc/botan-${PKGVERSION}/handbook/packaging.rst
-share/doc/botan-${PKGVERSION}/handbook/pgpkey.txt
-share/doc/botan-${PKGVERSION}/handbook/roadmap.rst
-share/doc/botan-${PKGVERSION}/handbook/security.rst
-share/doc/botan-${PKGVERSION}/handbook/side_channels.rst
-share/doc/botan-${PKGVERSION}/handbook/support.rst
-share/doc/botan-${PKGVERSION}/license.txt
-share/doc/botan-${PKGVERSION}/news.txt
-share/doc/botan-${PKGVERSION}/pgpkey.txt
+share/doc/${PKGNAME}/authors.txt
+share/doc/${PKGNAME}/handbook/abi.rst
+share/doc/${PKGNAME}/handbook/api_ref/bigint.rst
+share/doc/${PKGNAME}/handbook/api_ref/block_cipher.rst
+share/doc/${PKGNAME}/handbook/api_ref/cipher_modes.rst
+share/doc/${PKGNAME}/handbook/api_ref/compression.rst
+share/doc/${PKGNAME}/handbook/api_ref/contents.rst
+share/doc/${PKGNAME}/handbook/api_ref/credentials_manager.rst
+share/doc/${PKGNAME}/handbook/api_ref/cryptobox.rst
+share/doc/${PKGNAME}/handbook/api_ref/ecc.rst
+share/doc/${PKGNAME}/handbook/api_ref/env_vars.rst
+share/doc/${PKGNAME}/handbook/api_ref/ffi.rst
+share/doc/${PKGNAME}/handbook/api_ref/filters.rst
+share/doc/${PKGNAME}/handbook/api_ref/fpe.rst
+share/doc/${PKGNAME}/handbook/api_ref/hash.rst
+share/doc/${PKGNAME}/handbook/api_ref/kdf.rst
+share/doc/${PKGNAME}/handbook/api_ref/keywrap.rst
+share/doc/${PKGNAME}/handbook/api_ref/message_auth_codes.rst
+share/doc/${PKGNAME}/handbook/api_ref/otp.rst
+share/doc/${PKGNAME}/handbook/api_ref/passhash.rst
+share/doc/${PKGNAME}/handbook/api_ref/pbkdf.rst
+share/doc/${PKGNAME}/handbook/api_ref/pkcs11.rst
+share/doc/${PKGNAME}/handbook/api_ref/psk_db.rst
+share/doc/${PKGNAME}/handbook/api_ref/pubkey.rst
+share/doc/${PKGNAME}/handbook/api_ref/python.rst
+share/doc/${PKGNAME}/handbook/api_ref/rng.rst
+share/doc/${PKGNAME}/handbook/api_ref/roughtime.rst
+share/doc/${PKGNAME}/handbook/api_ref/secmem.rst
+share/doc/${PKGNAME}/handbook/api_ref/srp.rst
+share/doc/${PKGNAME}/handbook/api_ref/stream_ciphers.rst
+share/doc/${PKGNAME}/handbook/api_ref/tls.rst
+share/doc/${PKGNAME}/handbook/api_ref/tpm.rst
+share/doc/${PKGNAME}/handbook/api_ref/tss.rst
+share/doc/${PKGNAME}/handbook/api_ref/versions.rst
+share/doc/${PKGNAME}/handbook/api_ref/x509.rst
+share/doc/${PKGNAME}/handbook/authors.txt
+share/doc/${PKGNAME}/handbook/building.rst
+share/doc/${PKGNAME}/handbook/cli.rst
+share/doc/${PKGNAME}/handbook/contents.rst
+share/doc/${PKGNAME}/handbook/credits.rst
+share/doc/${PKGNAME}/handbook/deprecated.rst
+share/doc/${PKGNAME}/handbook/dev_ref/configure.rst
+share/doc/${PKGNAME}/handbook/dev_ref/contents.rst
+share/doc/${PKGNAME}/handbook/dev_ref/continuous_integration.rst
+share/doc/${PKGNAME}/handbook/dev_ref/contributing.rst
+share/doc/${PKGNAME}/handbook/dev_ref/fuzzing.rst
+share/doc/${PKGNAME}/handbook/dev_ref/mistakes.rst
+share/doc/${PKGNAME}/handbook/dev_ref/oids.rst
+share/doc/${PKGNAME}/handbook/dev_ref/os.rst
+share/doc/${PKGNAME}/handbook/dev_ref/reading_list.rst
+share/doc/${PKGNAME}/handbook/dev_ref/release_process.rst
+share/doc/${PKGNAME}/handbook/dev_ref/test_framework.rst
+share/doc/${PKGNAME}/handbook/dev_ref/todo.rst
+share/doc/${PKGNAME}/handbook/goals.rst
+share/doc/${PKGNAME}/handbook/index.rst
+share/doc/${PKGNAME}/handbook/migration_guide.rst
+share/doc/${PKGNAME}/handbook/old_news.rst
+share/doc/${PKGNAME}/handbook/packaging.rst
+share/doc/${PKGNAME}/handbook/pgpkey.txt
+share/doc/${PKGNAME}/handbook/roadmap.rst
+share/doc/${PKGNAME}/handbook/security.rst
+share/doc/${PKGNAME}/handbook/side_channels.rst
+share/doc/${PKGNAME}/handbook/support.rst
+share/doc/${PKGNAME}/license.txt
+share/doc/${PKGNAME}/news.txt
+share/doc/${PKGNAME}/pgpkey.txt
diff --git a/botan3/distinfo b/botan3/distinfo
index 3bb9dcce9d..22ac171d0b 100644
--- a/botan3/distinfo
+++ b/botan3/distinfo
@@ -3,4 +3,4 @@ $NetBSD$
 BLAKE2s (Botan-3.0.0-alpha0.tar.xz) = 08fb16af40ff3dcf704617aae5ac0abf5f34ce2444ec9497dcd1f13815d5b41a
 SHA512 (Botan-3.0.0-alpha0.tar.xz) = 5a334c90156b8a62b1d1e5b5579daa8a6868551ac2b83d193490b937053219547b7de56b085c82e1cf1b59f97c9f785382faee9963eceeaaed344723e2be6005
 Size (Botan-3.0.0-alpha0.tar.xz) = 5947164 bytes
-SHA1 (patch-src_scripts_build__docs.py) = cec84bb4bde239037c43388e8c0d3983360be02d
+SHA1 (patch-src_scripts_install.py) = c8ac2a6315e0e53a0292447e8e6b967572de9d24
diff --git a/botan3/patches/patch-src_scripts_install.py b/botan3/patches/patch-src_scripts_install.py
new file mode 100644
index 0000000000..0508eb9538
--- /dev/null
+++ b/botan3/patches/patch-src_scripts_install.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* install docs into share/doc/${PKGNAME}
+
+--- src/scripts/install.py.orig	2022-01-29 07:12:00.830197062 +0000
++++ src/scripts/install.py
+@@ -214,7 +214,7 @@ def main(args):
+ 
+     if cfg['with_documentation']:
+         target_doc_dir = os.path.join(prefix, cfg['docdir'],
+-                                      'botan-%d.%d.%d' % (ver_major, ver_minor, ver_patch))
++                                      'botan%s-%d.%d.%d' % (cfg['program_suffix'] ,ver_major, ver_minor, ver_patch))
+ 
+         shutil.rmtree(prepend_destdir(target_doc_dir), True)
+         shutil.copytree(cfg['doc_output_dir'], prepend_destdir(target_doc_dir))


Home | Main Index | Thread Index | Old Index