Date: Sunday, October 11, 2020 @ 09:34:04 Author: arojas Revision: 723456
archrelease: copy trunk to community-x86_64 Added: botan/repos/community-x86_64/ botan/repos/community-x86_64/PKGBUILD (from rev 723455, botan/trunk/PKGBUILD) botan/repos/community-x86_64/botan-ldflags.patch (from rev 723455, botan/trunk/botan-ldflags.patch) botan/repos/community-x86_64/botan.key (from rev 723455, botan/trunk/botan.key) ---------------------+ PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ botan-ldflags.patch | 17 +++++++++++++++ botan.key | 35 +++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) Copied: botan/repos/community-x86_64/PKGBUILD (from rev 723455, botan/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2020-10-11 09:34:04 UTC (rev 723456) @@ -0,0 +1,56 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Angel Velasquez <an...@archlinux.org> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> +# Contributor: d'Ronin <daro...@2600.com> +# Contributor: Hexchain Tong <richard0...@gmail.com> +# Contributor: Jack Lloyd <j...@randombit.net> + +pkgname=botan +pkgver=2.15.0 +pkgrel=2 +pkgdesc='Crypto library written in C++' +arch=(x86_64) +url='https://botan.randombit.net/' +license=(BSD) +depends=(xz sqlite) +makedepends=(python boost openssl) +optdepends=('python: for using botan2.py' 'boost-libs: for the botan executable') +validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') +source=("https://botan.randombit.net/releases/Botan-${pkgver}.tar.xz"{,.asc} + botan-ldflags.patch) +sha256sums=('d88af1307f1fefac79aa4f2f524699478d69ce15a857cf2d0a90ac6bf2a50009' + 'SKIP' + 'a6e85d537f9a1299be8a6763df09c1b90680f5efd92c42a53ff0f985c82b3000') + +prepare() { + cd ${pkgname^}-$pkgver + patch -p1 -i ../botan-ldflags.patch # Fix --as-needed +} + +build() { + cd "${pkgname^}-$pkgver" + + ./configure.py \ + --prefix=/usr \ + --with-bzip \ + --with-lzma \ + --with-zlib \ + --with-boost \ + --with-openssl \ + --with-sqlite3 \ + --with-os-feature=getrandom + make +} + +check() { + cd "${pkgname^}-$pkgver" + + LD_LIBRARY_PATH="$PWD" ./botan-test +} + +package() { + DESTDIR="$pkgdir" make -C "${pkgname^}-$pkgver" install + install -Dm644 "${pkgname^}-$pkgver/license.txt" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} Copied: botan/repos/community-x86_64/botan-ldflags.patch (from rev 723455, botan/trunk/botan-ldflags.patch) =================================================================== --- community-x86_64/botan-ldflags.patch (rev 0) +++ community-x86_64/botan-ldflags.patch 2020-10-11 09:34:04 UTC (rev 723456) @@ -0,0 +1,17 @@ +diff --git a/src/build-data/makefile.in b/src/build-data/makefile.in +index 0d678345f..07a8d9cd5 100644 +--- a/src/build-data/makefile.in ++++ b/src/build-data/makefile.in +@@ -72,10 +72,10 @@ TESTOBJS = %{join test_objs} + # Executable targets + + $(CLI): $(LIBRARIES) $(CLIOBJS) +- $(EXE_LINK_CMD) $(ABI_FLAGS) $(CLIOBJS) $(EXE_LINKS_TO) $(LDFLAGS) %{output_to_exe}$@ ++ $(EXE_LINK_CMD) $(ABI_FLAGS) $(CLIOBJS) $(LDFLAGS) $(EXE_LINKS_TO) %{output_to_exe}$@ + + $(TEST): $(LIBRARIES) $(TESTOBJS) +- $(EXE_LINK_CMD) $(ABI_FLAGS) $(TESTOBJS) $(EXE_LINKS_TO) $(LDFLAGS) %{output_to_exe}$@ ++ $(EXE_LINK_CMD) $(ABI_FLAGS) $(TESTOBJS) $(LDFLAGS) $(EXE_LINKS_TO) %{output_to_exe}$@ + + %{if build_fuzzers} + Copied: botan/repos/community-x86_64/botan.key (from rev 723455, botan/trunk/botan.key) =================================================================== --- community-x86_64/botan.key (rev 0) +++ community-x86_64/botan.key 2020-10-11 09:34:04 UTC (rev 723456) @@ -0,0 +1,35 @@ +pub 2048R/EFBADFBC 2004-10-30 + Key fingerprint = 621D AF64 11E1 851C 4CF9 A2E1 6211 EBF1 EFBA DFBC +uid Botan Distribution Key + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.17 (GNU/Linux) + +mQELBEGD1j0BCADHxPJkPcjJE+4Dlisx2hVc0Dj6JI1MSLrkM8R+2bOhVUSferxP +T1EMPhfrAdOHTAloyvRThJztnZsNKqfLL49GGcBLdEGAVNks1pG37Teze5Lx1XIu +zJFrozL2sqBy5C6nHpFgd1tcD68Rah2wp0u2cR9owXf1IqKdEfuo661+MTv7wTB1 +4hKV75nB7ZO6676SEZRILYM+7RJwKAKEmEPJc6hEf94VXn9ecNzaTlHgYkjhz9db +LOd3od9XvuUw+LMR1dwBqMxbvR90MiXjbedDEkbArcZB9YOAIvEX/lC3qaW4XJt4 +iwHWl/YVZEfALcvQywe2CDrH5hO794wd9MpBAAYptBZCb3RhbiBEaXN0cmlidXRp +b24gS2V5iQEqBBMBAgAUAhsDAh4BAheABQJKfFpnBBUKCQgACgkQYhHr8e+637xk +PQf/aOi78XenwwvFrwXOVIVTdZIf8rK1zJksf26h09UD8uVV6z5iiTcpn86+eN9p +6Ar8IH3tD+JuFnPSwZ/r9MNC2XZwenYo4Gb14jqM6/9hBe328vmeM4Y1G7bD4HrL +kgV5WEyokqm3zbp3FBLr3Vh68TAC5JB9aHevra+cCA2u3vBNI3YUM5z4TdO150P3 +J00whkqImQEUni8bgxvllBLFM+uhucsX3HZWkoDEpotbg8yd0bqMkiPEyMr1OnJq +eDVDMrB5wnyLgLFfRAAw3mopM0C1PNOAHr/BIYiaDHX2OwnOfep8rMDoRVf2Ge0D +DBgsJJ6LduQHLeg403SHWL2F6YkCHAQTAQIABgUCQYPWUgAKCRBcD5boTsFta+r9 +EACWVis7YcaGkKKgRB/5ox8rM36XVhMXdh/hnnGHt5rapbbRRkRHRcWU8WIcFO1A +59+TfwNNd8gN1MEt/5aX5KHWVK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