pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
botan3-git: add package for current git HEAD
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Fri Feb 28 11:35:52 2025 +0100
Changeset: 534028c63ef7f707df93795711ce6337cc246e3a
Modified Files:
Makefile
Added Files:
botan3-git/DESCR
botan3-git/Makefile
botan3-git/Makefile.common
botan3-git/PLIST
botan3-git/PLIST.Darwin
botan3-git/buildlink3.mk
botan3-git/distinfo
botan3-git/patches/patch-src_scripts_install.py
Log Message:
botan3-git: add package for current git HEAD
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=534028c63ef7f707df93795711ce6337cc246e3a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 6 +-
botan3-git/DESCR | 12 ++
botan3-git/Makefile | 73 +++++++
botan3-git/Makefile.common | 17 ++
botan3-git/PLIST | 276 ++++++++++++++++++++++++
botan3-git/PLIST.Darwin | 2 +
botan3-git/buildlink3.mk | 15 ++
botan3-git/distinfo | 6 +
botan3-git/patches/patch-src_scripts_install.py | 15 ++
9 files changed, 420 insertions(+), 2 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index c2247ddca1..78b5cfb9be 100644
--- a/Makefile
+++ b/Makefile
@@ -352,6 +352,7 @@ SUBDIR+= boost-threadpool
SUBDIR+= bore
SUBDIR+= boringssl
SUBDIR+= boron
+SUBDIR+= botan3-git
SUBDIR+= bowtie2
SUBDIR+= bpcscripts
SUBDIR+= bpytop
@@ -5217,6 +5218,7 @@ SUBDIR+= rust183
SUBDIR+= rust183-bin
SUBDIR+= rust184
SUBDIR+= rust184-bin
+SUBDIR+= rust185
SUBDIR+= s-nail
SUBDIR+= s2tc
SUBDIR+= s3cmd
@@ -5333,8 +5335,8 @@ SUBDIR+= sis
SUBDIR+= siscone
SUBDIR+= sjg-mk-files
SUBDIR+= skinlf
-SUBDIR+= skippy-xd
SUBDIR+= skint
+SUBDIR+= skippy-xd
SUBDIR+= slack-libpurple
SUBDIR+= slack-term
SUBDIR+= slackpkg2pkgsrc
@@ -5446,7 +5448,6 @@ SUBDIR+= stress-ng
SUBDIR+= stringtie
SUBDIR+= strongswan
SUBDIR+= structure
-SUBDIR+= stumpwm
SUBDIR+= subread
SUBDIR+= subsync
SUBDIR+= suitesparse
@@ -5479,6 +5480,7 @@ SUBDIR+= sushi
SUBDIR+= suwidgets
SUBDIR+= suxus
SUBDIR+= svgalib
+SUBDIR+= svgalib64
SUBDIR+= svkbd
SUBDIR+= svnup
SUBDIR+= svrcore
diff --git a/botan3-git/DESCR b/botan3-git/DESCR
new file mode 100644
index 0000000000..0a5adcddeb
--- /dev/null
+++ b/botan3-git/DESCR
@@ -0,0 +1,12 @@
+Botan is a crypto library written in C++. It provides a variety of
+cryptographic algorithms, including common ones such as AES, MD5, SHA,
+HMAC, RSA, Diffie-Hellman, DSA, and ECDSA, as well as many others that
+are more obscure or specialized. It also offers X.509v3 certificates
+and CRLs, and PKCS #10 certificate requests. A message processing
+system that uses a filter/pipeline metaphor allows for many common
+cryptographic tasks to be completed with just a few lines of code.
+Assembly optimizations for common CPUs, including x86, x86-64, and
+PowerPC, offers further speedups for critical tasks such as SHA-1
+hashing and multiple precision integer operations.
+
+This package contains major version 3 of the library.
diff --git a/botan3-git/Makefile b/botan3-git/Makefile
new file mode 100644
index 0000000000..8b0bae8825
--- /dev/null
+++ b/botan3-git/Makefile
@@ -0,0 +1,73 @@
+# $NetBSD: Makefile,v 1.17 2024/12/29 15:09:58 adam Exp $
+
+.include "Makefile.common"
+GITHUB_TAG= 0e7c063847198ba561b4f13517f845ca783ad2da
+
+PKGNAME= ${DISTNAME:S/Botan/botan3/}
+COMMENT= Portable, easy to use, and efficient C++ crypto library (v3)
+
+DEPENDS+= mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts
+
+HAS_CONFIGURE= yes
+USE_LANGUAGES= c++
+USE_TOOLS+= gmake
+GCC_REQD+= 11
+USE_CXX_FEATURES+= c++20
+
+PYTHON_FOR_BUILD_ONLY= yes
+
+CONFIG_SHELL= ${PYTHONBIN}
+CONFIGURE_SCRIPT= ./configure.py
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --with-boost
+CONFIGURE_ARGS+= --with-bzip2
+CONFIGURE_ARGS+= --with-lzma
+CONFIGURE_ARGS+= --with-sqlite3
+CONFIGURE_ARGS+= --with-zlib
+CONFIGURE_ARGS+= --docdir=share/doc
+CONFIGURE_ARGS+= --without-sphinx
+CONFIGURE_ARGS+= --program-suffix=3
+CONFIGURE_ARGS+= --system-cert-bundle=${PREFIX}/share/mozilla-rootcerts/cacert.pem
+CONFIGURE_ARGS+= --no-install-python-module
+
+PKGCONFIG_OVERRIDE= src/build-data/botan.pc.in
+
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+CONFIGURE_ARGS+= --cc-bin=${CXX} --cc=clang
+.else
+CONFIGURE_ARGS+= --cc=gcc
+.endif
+
+PLIST_VARS+= prng
+.if ${MACHINE_ARCH} == "x86_64"
+PLIST.prng= yes
+CONFIGURE_ARGS+= --cpu=amd64
+.elif ${MACHINE_ARCH} == "i386"
+PLIST.prng= yes
+CONFIGURE_ARGS+= --cpu=i386
+.elif ${MACHINE_ARCH} == "powerpc"
+CONFIGURE_ARGS+= --cpu=ppc
+.elif ${MACHINE_ARCH} == "powerpc64"
+PLIST.prng= yes
+CONFIGURE_ARGS+= --cpu=ppc64
+.elif ${MACHINE_ARCH:Maarch64*}
+CONFIGURE_ARGS+= --cpu=arm64
+.elif ${MACHINE_ARCH:Mearm*}
+CONFIGURE_ARGS+= --cpu=arm32
+.endif
+
+MAKE_FLAGS+= LIB_OPT=${CXXFLAGS:Q}
+
+LDFLAGS.SunOS+= -lnsl -lsocket
+
+TEST_TARGET= check
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.37.0
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../lang/python/tool.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/botan3-git/Makefile.common b/botan3-git/Makefile.common
new file mode 100644
index 0000000000..5e93abaa17
--- /dev/null
+++ b/botan3-git/Makefile.common
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile.common,v 1.6 2024/11/01 07:22:45 nros Exp $
+#
+# used by security/py-botan3/Makefile
+
+DISTNAME= Botan-3.8.0
+CATEGORIES= security
+MASTER_SITES+= ${MASTER_SITE_GITHUB:=randombit/}
+GITHUB_PROJECT= botan
+#MASTER_SITES= https://botan.randombit.net/releases/
+#EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= nros%NetBSD.org@localhost
+HOMEPAGE= https://botan.randombit.net/
+LICENSE= 2-clause-bsd
+
+#DISTINFO_FILE= ${.CURDIR}/../../security/botan3/distinfo
+#PATCHDIR= ${.CURDIR}/../../security/botan3/patches
diff --git a/botan3-git/PLIST b/botan3-git/PLIST
new file mode 100644
index 0000000000..16bb80c0f2
--- /dev/null
+++ b/botan3-git/PLIST
@@ -0,0 +1,276 @@
+@comment $NetBSD$
+bin/botan3
+include/botan-3/botan/aead.h
+include/botan-3/botan/allocator.h
+include/botan-3/botan/api.h
+include/botan-3/botan/argon2.h
+include/botan-3/botan/argon2fmt.h
+include/botan-3/botan/asio_async_ops.h
+include/botan-3/botan/asio_compat.h
+include/botan-3/botan/asio_context.h
+include/botan-3/botan/asio_error.h
+include/botan-3/botan/asio_stream.h
+include/botan-3/botan/asn1_obj.h
+include/botan-3/botan/asn1_print.h
+include/botan-3/botan/assert.h
+include/botan-3/botan/auto_rng.h
+include/botan-3/botan/base32.h
+include/botan-3/botan/base58.h
+include/botan-3/botan/base64.h
+include/botan-3/botan/bcrypt.h
+include/botan-3/botan/bcrypt_pbkdf.h
+include/botan-3/botan/ber_dec.h
+include/botan-3/botan/bigint.h
+include/botan-3/botan/block_cipher.h
+include/botan-3/botan/buf_comp.h
+include/botan-3/botan/build.h
+include/botan-3/botan/bzip2.h
+include/botan-3/botan/certstor.h
+include/botan-3/botan/certstor_flatfile.h
+include/botan-3/botan/certstor_sql.h
+include/botan-3/botan/certstor_sqlite.h
+include/botan-3/botan/certstor_system.h
+include/botan-3/botan/chacha_rng.h
+include/botan-3/botan/cipher_mode.h
+include/botan-3/botan/cmce.h
+include/botan-3/botan/cmce_parameter_set.h
+include/botan-3/botan/compiler.h
+include/botan-3/botan/compression.h
+include/botan-3/botan/concepts.h
+include/botan-3/botan/credentials_manager.h
+include/botan-3/botan/cryptobox.h
+include/botan-3/botan/curve25519.h
+include/botan-3/botan/curve_gfp.h
+include/botan-3/botan/data_snk.h
+include/botan-3/botan/data_src.h
+include/botan-3/botan/database.h
+include/botan-3/botan/der_enc.h
+include/botan-3/botan/dh.h
+include/botan-3/botan/dilithium.h
+include/botan-3/botan/dl_group.h
+include/botan-3/botan/dlies.h
+include/botan-3/botan/dsa.h
+include/botan-3/botan/ec_apoint.h
+include/botan-3/botan/ec_group.h
+include/botan-3/botan/ec_point.h
+include/botan-3/botan/ec_point_format.h
+include/botan-3/botan/ec_scalar.h
+include/botan-3/botan/ecc_key.h
+include/botan-3/botan/ecdh.h
+include/botan-3/botan/ecdsa.h
+include/botan-3/botan/ecgdsa.h
+include/botan-3/botan/ecies.h
+include/botan-3/botan/eckcdsa.h
+include/botan-3/botan/ed25519.h
+include/botan-3/botan/ed448.h
+include/botan-3/botan/elgamal.h
+include/botan-3/botan/entropy_src.h
+include/botan-3/botan/exceptn.h
+include/botan-3/botan/fd_unix.h
+include/botan-3/botan/ffi.h
+include/botan-3/botan/filter.h
+include/botan-3/botan/filters.h
+include/botan-3/botan/fpe_fe1.h
+include/botan-3/botan/frodo_mode.h
+include/botan-3/botan/frodokem.h
+include/botan-3/botan/gost_3410.h
+include/botan-3/botan/hash.h
+include/botan-3/botan/hex.h
+include/botan-3/botan/hmac_drbg.h
+include/botan-3/botan/hss_lms.h
+include/botan-3/botan/kdf.h
+include/botan-3/botan/kyber.h
+include/botan-3/botan/lzma.h
+include/botan-3/botan/mac.h
+include/botan-3/botan/mceliece.h
+include/botan-3/botan/mem_ops.h
+include/botan-3/botan/ml_dsa.h
+include/botan-3/botan/ml_kem.h
+include/botan-3/botan/mutex.h
+include/botan-3/botan/nist_keywrap.h
+include/botan-3/botan/numthry.h
+include/botan-3/botan/ocsp.h
+include/botan-3/botan/oids.h
+include/botan-3/botan/otp.h
+include/botan-3/botan/p11.h
+include/botan-3/botan/p11_ecc_key.h
+include/botan-3/botan/p11_ecdh.h
+include/botan-3/botan/p11_ecdsa.h
+include/botan-3/botan/p11_mechanism.h
+include/botan-3/botan/p11_object.h
+include/botan-3/botan/p11_randomgenerator.h
+include/botan-3/botan/p11_rsa.h
+include/botan-3/botan/p11_types.h
+include/botan-3/botan/p11_x509.h
+include/botan-3/botan/passhash9.h
+include/botan-3/botan/pbkdf.h
+include/botan-3/botan/pbkdf2.h
+include/botan-3/botan/pem.h
+include/botan-3/botan/pgp_s2k.h
+include/botan-3/botan/pipe.h
+include/botan-3/botan/pk_algs.h
+include/botan-3/botan/pk_keys.h
+include/botan-3/botan/pk_ops.h
+include/botan-3/botan/pk_ops_fwd.h
+include/botan-3/botan/pkcs10.h
+include/botan-3/botan/pkcs11.h
+include/botan-3/botan/pkcs11f.h
+include/botan-3/botan/pkcs11t.h
+include/botan-3/botan/pkcs8.h
+include/botan-3/botan/pkix_enums.h
+include/botan-3/botan/pkix_types.h
+${PLIST.prng}include/botan-3/botan/processor_rng.h
+include/botan-3/botan/psk_db.h
+include/botan-3/botan/pss_params.h
+include/botan-3/botan/pubkey.h
+include/botan-3/botan/pwdhash.h
+include/botan-3/botan/reducer.h
+include/botan-3/botan/rfc3394.h
+include/botan-3/botan/rfc4880.h
+include/botan-3/botan/rng.h
+include/botan-3/botan/roughtime.h
+include/botan-3/botan/rsa.h
+include/botan-3/botan/scrypt.h
+include/botan-3/botan/secmem.h
+include/botan-3/botan/slh_dsa.h
+include/botan-3/botan/sm2.h
+include/botan-3/botan/sodium.h
+include/botan-3/botan/sp_parameters.h
+include/botan-3/botan/sphincsplus.h
+include/botan-3/botan/sqlite3.h
+include/botan-3/botan/srp6.h
+include/botan-3/botan/stateful_rng.h
+include/botan-3/botan/stream_cipher.h
+include/botan-3/botan/strong_type.h
+include/botan-3/botan/sym_algo.h
+include/botan-3/botan/symkey.h
+include/botan-3/botan/system_rng.h
+include/botan-3/botan/tls.h
+include/botan-3/botan/tls_alert.h
+include/botan-3/botan/tls_algos.h
+include/botan-3/botan/tls_callbacks.h
+include/botan-3/botan/tls_channel.h
+include/botan-3/botan/tls_ciphersuite.h
+include/botan-3/botan/tls_client.h
+include/botan-3/botan/tls_exceptn.h
+include/botan-3/botan/tls_extensions.h
+include/botan-3/botan/tls_external_psk.h
+include/botan-3/botan/tls_handshake_msg.h
+include/botan-3/botan/tls_magic.h
+include/botan-3/botan/tls_messages.h
+include/botan-3/botan/tls_policy.h
+include/botan-3/botan/tls_psk_identity_13.h
+include/botan-3/botan/tls_server.h
+include/botan-3/botan/tls_server_info.h
+include/botan-3/botan/tls_session.h
+include/botan-3/botan/tls_session_manager.h
+include/botan-3/botan/tls_session_manager_hybrid.h
+include/botan-3/botan/tls_session_manager_memory.h
+include/botan-3/botan/tls_session_manager_noop.h
+include/botan-3/botan/tls_session_manager_sql.h
+include/botan-3/botan/tls_session_manager_sqlite.h
+include/botan-3/botan/tls_session_manager_stateless.h
+include/botan-3/botan/tls_signature_scheme.h
+include/botan-3/botan/tls_version.h
+include/botan-3/botan/tss.h
+include/botan-3/botan/types.h
+include/botan-3/botan/uuid.h
+include/botan-3/botan/version.h
+include/botan-3/botan/x25519.h
+include/botan-3/botan/x448.h
+include/botan-3/botan/x509_ca.h
+include/botan-3/botan/x509_crl.h
+include/botan-3/botan/x509_ext.h
+include/botan-3/botan/x509_key.h
+include/botan-3/botan/x509_obj.h
+include/botan-3/botan/x509cert.h
+include/botan-3/botan/x509path.h
+include/botan-3/botan/x509self.h
+include/botan-3/botan/xmss.h
+include/botan-3/botan/xmss_parameters.h
+include/botan-3/botan/xof.h
+include/botan-3/botan/zfec.h
+include/botan-3/botan/zlib.h
+lib/cmake/Botan-${PKGVERSION}/botan-config-version.cmake
+lib/cmake/Botan-${PKGVERSION}/botan-config.cmake
+lib/libbotan-3.a
+lib/libbotan-3.so
+lib/libbotan-3.so.8
+lib/libbotan-3.so.8.8.0
+lib/pkgconfig/botan-3.pc
+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/ec_group.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/footguns.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/providers.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/sodium.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/api_ref/zfec.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/next_major.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/hardware_acceleration.rst
+share/doc/${PKGNAME}/handbook/index.rst
+share/doc/${PKGNAME}/handbook/migration_guide.rst
+share/doc/${PKGNAME}/handbook/news_2x.rst
+share/doc/${PKGNAME}/handbook/old_news.rst
+share/doc/${PKGNAME}/handbook/openssl_migration_guide.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/sem_ver.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-git/PLIST.Darwin b/botan3-git/PLIST.Darwin
new file mode 100644
index 0000000000..04f681f3d2
--- /dev/null
+++ b/botan3-git/PLIST.Darwin
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.Darwin,v 1.1 2025/02/14 12:27:29 nros Exp $
+include/botan-3/botan/certstor_macos.h
diff --git a/botan3-git/buildlink3.mk b/botan3-git/buildlink3.mk
new file mode 100644
index 0000000000..f421211ba1
--- /dev/null
+++ b/botan3-git/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.8 2024/12/29 15:09:58 adam Exp $
+
+BUILDLINK_TREE+= botan3
+
+.if !defined(BOTAN3_BUILDLINK3_MK)
+BOTAN3_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.botan3+= botan3>=3.0.0
+BUILDLINK_ABI_DEPENDS.botan3?= botan3>=3.6.1nb3
+BUILDLINK_PKGSRCDIR.botan3?= ../../security/botan3
+
+.include "../../devel/boost-libs/buildlink3.mk"
+.endif # BOTAN3_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -botan3
diff --git a/botan3-git/distinfo b/botan3-git/distinfo
new file mode 100644
index 0000000000..e5803bc249
--- /dev/null
+++ b/botan3-git/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.8 2024/12/30 09:40:19 wiz Exp $
+
+BLAKE2s (Botan-3.8.0-0e7c063847198ba561b4f13517f845ca783ad2da.tar.gz) = 1f1d6ee5078d877ab6eb5e3308862af874faaa6fcfd00a9192d1f34820a481a6
+SHA512 (Botan-3.8.0-0e7c063847198ba561b4f13517f845ca783ad2da.tar.gz) = 1ffb72d109e818cfc8b8cf75d3a28592b8ee23a46041ab37a8b4a8b2f08d27b6fbb35af9246d6a79f0643151654edf4beeb9db711fbfe8c03ab2c4626e4e77d3
+Size (Botan-3.8.0-0e7c063847198ba561b4f13517f845ca783ad2da.tar.gz) = 13858670 bytes
+SHA1 (patch-src_scripts_install.py) = c8ac2a6315e0e53a0292447e8e6b967572de9d24
diff --git a/botan3-git/patches/patch-src_scripts_install.py b/botan3-git/patches/patch-src_scripts_install.py
new file mode 100644
index 0000000000..25ef7f0bd6
--- /dev/null
+++ b/botan3-git/patches/patch-src_scripts_install.py
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_scripts_install.py,v 1.1 2023/06/26 11:40:39 wiz Exp $
+
+* 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