pkgsrc-WIP-changes archive

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

Add botan3 version 3.0.0-alpha0 to pkgsrc-wip



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%pkgsrc.org@localhost>
Pushed By:	nros
Date:		Fri Jan 28 21:11:13 2022 +0100
Changeset:	3d103648366f8591175bb35552caac1d32628033

Modified Files:
	Makefile
Added Files:
	botan3/DESCR
	botan3/Makefile
	botan3/PLIST
	botan3/TODO
	botan3/buildlink3.mk
	botan3/distinfo

Log Message:
Add botan3 version 3.0.0-alpha0 to pkgsrc-wip

This is version 3 of botan, a crypto library
available in pkgsrc as:
security/botan (version 1)
security/botan-devel (version 2)

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

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

diffstat:
 Makefile             |   1 +
 botan3/DESCR         |  11 +++
 botan3/Makefile      |  74 ++++++++++++++++
 botan3/PLIST         | 233 +++++++++++++++++++++++++++++++++++++++++++++++++++
 botan3/TODO          |   2 +
 botan3/buildlink3.mk |  14 ++++
 botan3/distinfo      |   6 ++
 7 files changed, 341 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index a703af4648..746b506dcc 100644
--- a/Makefile
+++ b/Makefile
@@ -320,6 +320,7 @@ SUBDIR+=	boost-threadpool
 SUBDIR+=	boost-yap
 SUBDIR+=	bore
 SUBDIR+=	boringssl
+SUBDIR+=	botan3
 SUBDIR+=	bowtie
 SUBDIR+=	bowtie2
 SUBDIR+=	bpcscripts
diff --git a/botan3/DESCR b/botan3/DESCR
new file mode 100644
index 0000000000..d28e9e1967
--- /dev/null
+++ b/botan3/DESCR
@@ -0,0 +1,11 @@
+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 tracks version 3 for Botan.
diff --git a/botan3/Makefile b/botan3/Makefile
new file mode 100644
index 0000000000..187b3d5e06
--- /dev/null
+++ b/botan3/Makefile
@@ -0,0 +1,74 @@
+# $NetBSD$
+
+DISTNAME=	Botan-3.0.0-alpha0
+PKGNAME=	${DISTNAME:S/n/n3/:S/-alpha0//:tl}
+CATEGORIES=	security
+MASTER_SITES=	https://botan.randombit.net/releases/
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	nros%NetBSD.org@localhost
+HOMEPAGE=	https://botan.randombit.net/
+COMMENT=	Portable, easy to use, and efficient C++ crypto library
+LICENSE=	2-clause-bsd
+
+HAS_CONFIGURE=		yes
+USE_LANGUAGES=		c++
+USE_TOOLS+=		gmake
+
+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+=		x86
+.if ${MACHINE_ARCH} == "x86_64"
+PLIST.x86=		yes
+CONFIGURE_ARGS+=	--cpu=amd64
+.elif ${MACHINE_ARCH} == "i386"
+PLIST.x86=		yes
+CONFIGURE_ARGS+=	--cpu=i386
+.elif ${MACHINE_ARCH} == "powerpc"
+CONFIGURE_ARGS+=	--cpu=ppc
+.elif ${MACHINE_ARCH} == "powerpc64"
+CONFIGURE_ARGS+=	--cpu=ppc64
+.elif !empty(MACHINE_ARCH:Maarch64*)
+CONFIGURE_ARGS+=	--cpu=arm64
+.elif !empty(MACHINE_ARCH:Mearm*)
+CONFIGURE_ARGS+=	--cpu=arm32
+.endif
+
+MAKE_FLAGS+=	LIB_OPT=${CXXFLAGS:Q}
+
+LDFLAGS.SunOS+=	-lnsl -lsocket
+
+TEST_TARGET=	check
+
+DEPENDS+=	mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../lang/python/tool.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/botan3/PLIST b/botan3/PLIST
new file mode 100644
index 0000000000..ba07dd5bee
--- /dev/null
+++ b/botan3/PLIST
@@ -0,0 +1,233 @@
+@comment $NetBSD$
+bin/botan3
+include/botan-3/botan/aead.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_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/cecpq1.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/compiler.h
+include/botan-3/botan/compression.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/dl_algo.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_group.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/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/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/kdf.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/mutex.h
+include/botan-3/botan/newhope.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_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_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
+include/botan-3/botan/point_gfp.h
+${PLIST.x86}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
+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/sm2.h
+include/botan-3/botan/sodium.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/sym_algo.h
+include/botan-3/botan/symkey.h
+include/botan-3/botan/system_rng.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_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_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_sql.h
+include/botan-3/botan/tls_session_manager_sqlite.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/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_hash.h
+include/botan-3/botan/xmss_parameters.h
+include/botan-3/botan/xmss_wots.h
+include/botan-3/botan/zlib.h
+lib/libbotan-3.a
+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
diff --git a/botan3/TODO b/botan3/TODO
new file mode 100644
index 0000000000..7d5dae799c
--- /dev/null
+++ b/botan3/TODO
@@ -0,0 +1,2 @@
+This is based on an alpha release.
+Install ok and all tests are ok.
diff --git a/botan3/buildlink3.mk b/botan3/buildlink3.mk
new file mode 100644
index 0000000000..14bf70fd65
--- /dev/null
+++ b/botan3/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	botan3
+
+.if !defined(BOTAN3_BUILDLINK3_MK)
+BOTAN3_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.botan3+=	botan3>=3.0.0
+BUILDLINK_PKGSRCDIR.botan3?=	../../wip/botan3
+
+.include "../../devel/boost-libs/buildlink3.mk"
+.endif	# BOTAN3_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-botan3
diff --git a/botan3/distinfo b/botan3/distinfo
new file mode 100644
index 0000000000..3bb9dcce9d
--- /dev/null
+++ b/botan3/distinfo
@@ -0,0 +1,6 @@
+$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


Home | Main Index | Thread Index | Old Index