[arch-commits] Commit in zcash/repos/community-x86_64 (10 files)

Nicola Squartini tensor5 at archlinux.org
Wed Jul 29 09:16:51 UTC 2020


    Date: Wednesday, July 29, 2020 @ 09:16:51
  Author: tensor5
Revision: 665755

archrelease: copy trunk to community-x86_64

Added:
  zcash/repos/community-x86_64/08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch
    (from rev 665754, zcash/trunk/08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch)
  zcash/repos/community-x86_64/PKGBUILD
    (from rev 665754, zcash/trunk/PKGBUILD)
  zcash/repos/community-x86_64/use-system-qpid-proton.patch
    (from rev 665754, zcash/trunk/use-system-qpid-proton.patch)
  zcash/repos/community-x86_64/use-system-rust.patch
    (from rev 665754, zcash/trunk/use-system-rust.patch)
  zcash/repos/community-x86_64/zcashd.service
    (from rev 665754, zcash/trunk/zcashd.service)
Deleted:
  zcash/repos/community-x86_64/08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch
  zcash/repos/community-x86_64/PKGBUILD
  zcash/repos/community-x86_64/use-system-qpid-proton.patch
  zcash/repos/community-x86_64/use-system-rust.patch
  zcash/repos/community-x86_64/zcashd.service

------------------------------------------------+
 08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch |   42 +++---
 PKGBUILD                                       |  149 +++++++++++------------
 use-system-qpid-proton.patch                   |   52 ++++----
 use-system-rust.patch                          |   28 ++--
 zcashd.service                                 |   18 +-
 5 files changed, 143 insertions(+), 146 deletions(-)

Deleted: 08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch
===================================================================
--- 08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch	2020-07-29 09:16:04 UTC (rev 665754)
+++ 08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch	2020-07-29 09:16:51 UTC (rev 665755)
@@ -1,21 +0,0 @@
-From 08662fa09a14c68b1048ee4384b25dfd9ad0463f Mon Sep 17 00:00:00 2001
-From: Taylor Hornby <taylor at defuse.ca>
-Date: Sun, 24 May 2020 16:49:13 -0600
-Subject: [PATCH] Add missing <stdexcept> header for std::invalid_argument
-
----
- src/crypto/equihash.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/crypto/equihash.h b/src/crypto/equihash.h
-index 556b87d090..7cd97ff600 100644
---- a/src/crypto/equihash.h
-+++ b/src/crypto/equihash.h
-@@ -13,6 +13,7 @@
- 
- #include <cstring>
- #include <exception>
-+#include <stdexcept>
- #include <functional>
- #include <memory>
- #include <set>

Copied: zcash/repos/community-x86_64/08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch (from rev 665754, zcash/trunk/08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch)
===================================================================
--- 08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch	                        (rev 0)
+++ 08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch	2020-07-29 09:16:51 UTC (rev 665755)
@@ -0,0 +1,21 @@
+From 08662fa09a14c68b1048ee4384b25dfd9ad0463f Mon Sep 17 00:00:00 2001
+From: Taylor Hornby <taylor at defuse.ca>
+Date: Sun, 24 May 2020 16:49:13 -0600
+Subject: [PATCH] Add missing <stdexcept> header for std::invalid_argument
+
+---
+ src/crypto/equihash.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/crypto/equihash.h b/src/crypto/equihash.h
+index 556b87d090..7cd97ff600 100644
+--- a/src/crypto/equihash.h
++++ b/src/crypto/equihash.h
+@@ -13,6 +13,7 @@
+ 
+ #include <cstring>
+ #include <exception>
++#include <stdexcept>
+ #include <functional>
+ #include <memory>
+ #include <set>

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-29 09:16:04 UTC (rev 665754)
+++ PKGBUILD	2020-07-29 09:16:51 UTC (rev 665755)
@@ -1,76 +0,0 @@
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=zcash
-pkgver=3.0.0
-_commit=de2e1160db45fe3f6c252b699cf56000c9104d76
-pkgrel=1
-pkgdesc='Permissionless financial system employing zero-knowledge security'
-arch=('x86_64')
-url='https://z.cash/'
-license=('MIT')
-depends=('boost-libs' 'libevent' 'qpid-proton' 'zeromq')
-makedepends=('boost' 'cmake' 'git' 'gmock' 'python' 'rust' 'wget')
-checkdepends=('python-pyblake2' 'python-pyzmq' 'python-requests' 'python-simplejson')
-source=("git+https://github.com/zcash/zcash.git#commit=${_commit}"
-        '08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch'
-        'use-system-qpid-proton.patch'
-        'use-system-rust.patch'
-        'zcashd.service')
-sha512sums=('SKIP'
-            '4fa208edd7b493105893658115478e49da93df4d56279e9488a58e2eb26bdc81881b156973d47089545a7f3819b75a317131156e0abd82ba11de0b3158af50fe'
-            '0d9c089e1b9eddc127936dbc12984804f3ad65c35845a336368cc9fce22ae784fb486a9a74b5cf34f42739779b42c18084f0558c9c1c74f18c6d8999596c7af6'
-            '1267fc174df81a80a1b0f2e1a6bbaaa6fa95402c83bc6a8678b582ed6c7f7a02eeed0f61c9600496aa782f9fb9fec6dc9ac419d366d059306a5c4f97a5a166f0'
-            '2fb8b0a636ca9c7ee15f0fd2c47046c8323ade3de9562f393da7541eee50dd14b12107dd29b0e1ee90ff88963e2f7e25b12435166a1812df5c88c579c12dde88')
-
-prepare() {
-    cd ${pkgname}
-
-    # Set gitattributes on src/clientversion.cpp
-    git archive --format=tar ${_commit} -- src/clientversion.cpp | tar -xf -
-
-    patch -Np1 -i ../08662fa09a14c68b1048ee4384b25dfd9ad0463f.patch
-    patch -Np1 -i ../use-system-qpid-proton.patch
-    patch -Np1 -i ../use-system-rust.patch
-}
-
-build() {
-    cd ${pkgname}
-
-    cd depends
-    make install \
-        native_packages='' \
-        packages="bdb utfcpp"
-    cd ..
-
-    BUILD="$(./depends/config.guess)"
-    CPPFLAGS="${CPPFLAGS} -I${PWD}/depends/${BUILD}/include"
-    LDFLAGS="${LDFLAGS} -L${PWD}/depends/${BUILD}/lib"
-
-    ./autogen.sh
-    depends_prefix="${PWD}/depends/${BUILD}" ./configure --prefix=/usr \
-        --enable-online-rust \
-        --enable-proton
-    make RUST_TARGET="${BUILD}"
-}
-
-check() {
-    cd ${pkgname}
-
-    ./zcutil/fetch-params.sh --testnet
-    export RUST_TARGET="$(./depends/config.guess)"
-    ./qa/zcash/full_test_suite.py || true
-}
-
-package() {
-    cd ${pkgname}
-
-    make DESTDIR="${pkgdir}" RUST_TARGET="$(./depends/config.guess)" install
-
-    for ext in '-cli' '-tx' 'd'; do
-        install -Dm644 contrib/zcash${ext}.bash-completion \
-            "${pkgdir}"/usr/share/bash-completion/completions/zcash${ext}
-    done
-
-    install -Dm644 -t "${pkgdir}"/usr/lib/systemd/user ../zcashd.service
-    install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
-}

Copied: zcash/repos/community-x86_64/PKGBUILD (from rev 665754, zcash/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-29 09:16:51 UTC (rev 665755)
@@ -0,0 +1,73 @@
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=zcash
+pkgver=3.1.0
+_commit=65f0a4736acd9adeb91f11899bcee3439068c771
+pkgrel=1
+pkgdesc='Permissionless financial system employing zero-knowledge security'
+arch=('x86_64')
+url='https://z.cash/'
+license=('MIT')
+depends=('boost-libs' 'libevent' 'qpid-proton' 'zeromq')
+makedepends=('boost' 'cmake' 'git' 'gmock' 'python' 'rust' 'wget')
+checkdepends=('python-pyblake2' 'python-pyzmq' 'python-requests' 'python-simplejson')
+source=("git+https://github.com/zcash/zcash.git#commit=${_commit}"
+        'use-system-qpid-proton.patch'
+        'use-system-rust.patch'
+        'zcashd.service')
+sha512sums=('SKIP'
+            '0d9c089e1b9eddc127936dbc12984804f3ad65c35845a336368cc9fce22ae784fb486a9a74b5cf34f42739779b42c18084f0558c9c1c74f18c6d8999596c7af6'
+            '1267fc174df81a80a1b0f2e1a6bbaaa6fa95402c83bc6a8678b582ed6c7f7a02eeed0f61c9600496aa782f9fb9fec6dc9ac419d366d059306a5c4f97a5a166f0'
+            '2fb8b0a636ca9c7ee15f0fd2c47046c8323ade3de9562f393da7541eee50dd14b12107dd29b0e1ee90ff88963e2f7e25b12435166a1812df5c88c579c12dde88')
+
+prepare() {
+    cd ${pkgname}
+
+    # Set gitattributes on src/clientversion.cpp
+    git archive --format=tar ${_commit} -- src/clientversion.cpp | tar -xf -
+
+    patch -Np1 -i ../use-system-qpid-proton.patch
+    patch -Np1 -i ../use-system-rust.patch
+}
+
+build() {
+    cd ${pkgname}
+
+    cd depends
+    make install \
+        native_packages='' \
+        packages="bdb utfcpp"
+    cd ..
+
+    BUILD="$(./depends/config.guess)"
+    CPPFLAGS="${CPPFLAGS} -I${PWD}/depends/${BUILD}/include"
+    LDFLAGS="${LDFLAGS} -L${PWD}/depends/${BUILD}/lib"
+
+    ./autogen.sh
+    depends_prefix="${PWD}/depends/${BUILD}" ./configure --prefix=/usr \
+        --enable-online-rust \
+        --enable-proton
+    make RUST_TARGET="${BUILD}"
+}
+
+check() {
+    cd ${pkgname}
+
+    ./zcutil/fetch-params.sh --testnet
+    export RUST_TARGET="$(./depends/config.guess)"
+    ./qa/zcash/full_test_suite.py || true
+}
+
+package() {
+    cd ${pkgname}
+
+    make DESTDIR="${pkgdir}" RUST_TARGET="$(./depends/config.guess)" install
+
+    for ext in '-cli' '-tx' 'd'; do
+        install -Dm644 contrib/zcash${ext}.bash-completion \
+            "${pkgdir}"/usr/share/bash-completion/completions/zcash${ext}
+    done
+
+    install -Dm644 -t "${pkgdir}"/usr/lib/systemd/user ../zcashd.service
+    install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
+}

Deleted: use-system-qpid-proton.patch
===================================================================
--- use-system-qpid-proton.patch	2020-07-29 09:16:04 UTC (rev 665754)
+++ use-system-qpid-proton.patch	2020-07-29 09:16:51 UTC (rev 665755)
@@ -1,26 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -672,17 +672,13 @@
-     [],
-     [AC_MSG_WARN([Proton headers not found, disabling Proton support])
-     use_proton=no])
-- AC_CHECK_LIB([qpid-proton-cpp-static], [main],
--    [PROTON_LIBS="-lqpid-proton-cpp-static"],
--    [AC_MSG_WARN([Proton qpid-proton-cpp-static library not found, disabling Proton support])
-+ AC_CHECK_LIB([qpid-proton-cpp], [main],
-+    [PROTON_LIBS="-lqpid-proton-cpp"],
-+    [AC_MSG_WARN([Proton qpid-proton-cpp library not found, disabling Proton support])
-     use_proton=no])
-- AC_CHECK_LIB([qpid-proton-core-static], [main],
--    [PROTON_LIBS+=" -lqpid-proton-core-static"],
--    [AC_MSG_WARN([Proton qpid-proton-core-static library not found, disabling Proton support])
--    use_proton=no])
-- AC_CHECK_LIB([qpid-proton-static], [main],
--    [PROTON_LIBS+=" -lqpid-proton-static"],
--    [AC_MSG_WARN([Proton qpid-proton-static library not found, disabling Proton support])
-+ AC_CHECK_LIB([qpid-proton-core], [main],
-+    [PROTON_LIBS+=" -lqpid-proton-core"],
-+    [AC_MSG_WARN([Proton qpid-proton-core library not found, disabling Proton support])
-     use_proton=no])
- fi
- if test x$use_proton = xyes; then

Copied: zcash/repos/community-x86_64/use-system-qpid-proton.patch (from rev 665754, zcash/trunk/use-system-qpid-proton.patch)
===================================================================
--- use-system-qpid-proton.patch	                        (rev 0)
+++ use-system-qpid-proton.patch	2020-07-29 09:16:51 UTC (rev 665755)
@@ -0,0 +1,26 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -672,17 +672,13 @@
+     [],
+     [AC_MSG_WARN([Proton headers not found, disabling Proton support])
+     use_proton=no])
+- AC_CHECK_LIB([qpid-proton-cpp-static], [main],
+-    [PROTON_LIBS="-lqpid-proton-cpp-static"],
+-    [AC_MSG_WARN([Proton qpid-proton-cpp-static library not found, disabling Proton support])
++ AC_CHECK_LIB([qpid-proton-cpp], [main],
++    [PROTON_LIBS="-lqpid-proton-cpp"],
++    [AC_MSG_WARN([Proton qpid-proton-cpp library not found, disabling Proton support])
+     use_proton=no])
+- AC_CHECK_LIB([qpid-proton-core-static], [main],
+-    [PROTON_LIBS+=" -lqpid-proton-core-static"],
+-    [AC_MSG_WARN([Proton qpid-proton-core-static library not found, disabling Proton support])
+-    use_proton=no])
+- AC_CHECK_LIB([qpid-proton-static], [main],
+-    [PROTON_LIBS+=" -lqpid-proton-static"],
+-    [AC_MSG_WARN([Proton qpid-proton-static library not found, disabling Proton support])
++ AC_CHECK_LIB([qpid-proton-core], [main],
++    [PROTON_LIBS+=" -lqpid-proton-core"],
++    [AC_MSG_WARN([Proton qpid-proton-core library not found, disabling Proton support])
+     use_proton=no])
+ fi
+ if test x$use_proton = xyes; then

Deleted: use-system-rust.patch
===================================================================
--- use-system-rust.patch	2020-07-29 09:16:04 UTC (rev 665754)
+++ use-system-rust.patch	2020-07-29 09:16:51 UTC (rev 665755)
@@ -1,14 +0,0 @@
---- a/qa/zcash/full_test_suite.py
-+++ b/qa/zcash/full_test_suite.py
-@@ -133,9 +133,9 @@
- 
-     if os.path.isdir(depends_dir):
-         rust_env = os.environ.copy()
--        rust_env['RUSTC'] = os.path.join(depends_dir, 'native', 'bin', 'rustc')
-+        rust_env['RUSTC'] = 'rustc'
-         return subprocess.call([
--            os.path.join(depends_dir, 'native', 'bin', 'cargo'),
-+            'cargo',
-             'test',
-             '--manifest-path',
-             os.path.join(REPOROOT, 'Cargo.toml'),

Copied: zcash/repos/community-x86_64/use-system-rust.patch (from rev 665754, zcash/trunk/use-system-rust.patch)
===================================================================
--- use-system-rust.patch	                        (rev 0)
+++ use-system-rust.patch	2020-07-29 09:16:51 UTC (rev 665755)
@@ -0,0 +1,14 @@
+--- a/qa/zcash/full_test_suite.py
++++ b/qa/zcash/full_test_suite.py
+@@ -133,9 +133,9 @@
+ 
+     if os.path.isdir(depends_dir):
+         rust_env = os.environ.copy()
+-        rust_env['RUSTC'] = os.path.join(depends_dir, 'native', 'bin', 'rustc')
++        rust_env['RUSTC'] = 'rustc'
+         return subprocess.call([
+-            os.path.join(depends_dir, 'native', 'bin', 'cargo'),
++            'cargo',
+             'test',
+             '--manifest-path',
+             os.path.join(REPOROOT, 'Cargo.toml'),

Deleted: zcashd.service
===================================================================
--- zcashd.service	2020-07-29 09:16:04 UTC (rev 665754)
+++ zcashd.service	2020-07-29 09:16:51 UTC (rev 665755)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Zcash daemon
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/zcashd
-
-[Install]
-WantedBy=default.target

Copied: zcash/repos/community-x86_64/zcashd.service (from rev 665754, zcash/trunk/zcashd.service)
===================================================================
--- zcashd.service	                        (rev 0)
+++ zcashd.service	2020-07-29 09:16:51 UTC (rev 665755)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Zcash daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/zcashd
+
+[Install]
+WantedBy=default.target



More information about the arch-commits mailing list