[arch-commits] Commit in zcash/repos/community-x86_64 (8 files)
Nicola Squartini
tensor5 at archlinux.org
Mon Aug 20 18:23:44 UTC 2018
Date: Monday, August 20, 2018 @ 18:23:43
Author: tensor5
Revision: 372883
archrelease: copy trunk to community-x86_64
Added:
zcash/repos/community-x86_64/PKGBUILD
(from rev 372882, zcash/trunk/PKGBUILD)
zcash/repos/community-x86_64/libsnark-no-gtest.patch
(from rev 372882, zcash/trunk/libsnark-no-gtest.patch)
zcash/repos/community-x86_64/use-system-rust.patch
(from rev 372882, zcash/trunk/use-system-rust.patch)
zcash/repos/community-x86_64/zcashd.service
(from rev 372882, zcash/trunk/zcashd.service)
Deleted:
zcash/repos/community-x86_64/PKGBUILD
zcash/repos/community-x86_64/libsnark-no-gtest.patch
zcash/repos/community-x86_64/use-system-rust.patch
zcash/repos/community-x86_64/zcashd.service
-------------------------+
PKGBUILD | 204 +++++++++++++++++++++++-----------------------
libsnark-no-gtest.patch | 44 ++++-----
use-system-rust.patch | 22 ++--
zcashd.service | 18 ++--
4 files changed, 144 insertions(+), 144 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-20 18:23:15 UTC (rev 372882)
+++ PKGBUILD 2018-08-20 18:23:43 UTC (rev 372883)
@@ -1,102 +0,0 @@
-# $Id$
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=zcash
-pkgver=1.1.2
-_commit=bbee5e25258da49775a1f0fe6c1ab0b1466c765e
-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' 'cargo' 'cmake' 'git' 'gmock' 'python' 'wget')
-checkdepends=('python2-pyblake2' 'python2-pyzmq' 'python2-qpid-proton')
-source=("git+https://github.com/zcash/zcash.git#commit=${_commit}"
- 'libsnark-no-gtest.patch'
- "use-system-rust.patch"
- 'zcashd.service')
-sha512sums=('SKIP'
- '04d397a29f6c1916ba494069fa79a65e7760d95d67174ae113b1ebc2b71233c7ded24f74bec591546ee49cff2c20e45c762aa50bf3fc3b47789f8aa34e42f930'
- '6da4341ea5077240c195418aac7d61b2e141250034441b49a52a7d9c45e692b317dc5fe4ea2d6e44b4e10fe674f07d78d644fd5f5eecfebb9d692b8020cdcaa3'
- '2fb8b0a636ca9c7ee15f0fd2c47046c8323ade3de9562f393da7541eee50dd14b12107dd29b0e1ee90ff88963e2f7e25b12435166a1812df5c88c579c12dde88')
-
-prepare() {
- cd ${pkgname}
-
- # Set gitattributes on src/clientversion.cpp
- git archive --format=tar ${_commit} -- src/clientversion.cpp | tar -xf -
-
- patch -Np1 -i ../libsnark-no-gtest.patch
- patch -Np1 -i ../use-system-rust.patch
-
- # Runs forever
- sed -e '/prioritisetransaction.py/d' -i qa/pull-tester/rpc-tests.sh
-}
-
-build() {
- cd ${pkgname}
-
- cd depends
- rust_crates=(
- crate_arrayvec
- crate_bellman
- crate_bitflags
- crate_bit_vec
- crate_blake2_rfc
- crate_byteorder
- crate_constant_time_eq
- crate_crossbeam
- crate_digest
- crate_fuchsia_zircon
- crate_fuchsia_zircon_sys
- crate_futures_cpupool
- crate_futures
- crate_generic_array
- crate_lazy_static
- crate_libc
- crate_nodrop
- crate_num_cpus
- crate_pairing
- crate_rand
- crate_sapling_crypto
- crate_typenum
- crate_winapi_i686_pc_windows_gnu
- crate_winapi
- crate_winapi_x86_64_pc_windows_gnu
- )
- make install \
- native_packages='' \
- packages="bdb ${rust_crates[*]} librustzcash"
- 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
- make
-}
-
-check() {
- cd ${pkgname}
-
- ./zcutil/fetch-params.sh --testnet
- # ./qa/zcash/full_test_suite.py
- ./qa/pull-tester/rpc-tests.sh
-}
-
-package() {
- cd ${pkgname}
-
- make DESTDIR="${pkgdir}" 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 372882, zcash/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-20 18:23:43 UTC (rev 372883)
@@ -0,0 +1,102 @@
+# $Id$
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=zcash
+pkgver=2.0.0
+_commit=d960b75de02097c806afb1a2d4982a5f85caf4e1
+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' 'cargo' 'cmake' 'git' 'gmock' 'python' 'wget')
+checkdepends=('python2-pyblake2' 'python2-pyzmq' 'python2-qpid-proton')
+source=("git+https://github.com/zcash/zcash.git#commit=${_commit}"
+ 'libsnark-no-gtest.patch'
+ "use-system-rust.patch"
+ 'zcashd.service')
+sha512sums=('SKIP'
+ '6b223021677dbece52981938859f001e19ae974eed31ba4a5ebb22439c9377ddcc6d3b88cf254ac3686e999a7e8f691148a1d78a847679cd7940a490739bfcfe'
+ 'bf0fbfd75e7caa03e6e76ac726f875ab0389b2740ae9c44d6117aa433e13cdf52c96cd12d9570903ef4758df9340bd1464dc54dc84d52f067cbeffc92bd54811'
+ '2fb8b0a636ca9c7ee15f0fd2c47046c8323ade3de9562f393da7541eee50dd14b12107dd29b0e1ee90ff88963e2f7e25b12435166a1812df5c88c579c12dde88')
+
+prepare() {
+ cd ${pkgname}
+
+ # Set gitattributes on src/clientversion.cpp
+ git archive --format=tar ${_commit} -- src/clientversion.cpp | tar -xf -
+
+ patch -Np1 -i ../libsnark-no-gtest.patch
+ patch -Np1 -i ../use-system-rust.patch
+
+ # Runs forever
+ sed -e '/prioritisetransaction.py/d' -i qa/pull-tester/rpc-tests.sh
+}
+
+build() {
+ cd ${pkgname}
+
+ cd depends
+ rust_crates=(
+ crate_arrayvec
+ crate_bellman
+ crate_bitflags
+ crate_bit_vec
+ crate_blake2_rfc
+ crate_byteorder
+ crate_constant_time_eq
+ crate_crossbeam
+ crate_digest
+ crate_fuchsia_zircon
+ crate_fuchsia_zircon_sys
+ crate_futures_cpupool
+ crate_futures
+ crate_generic_array
+ crate_lazy_static
+ crate_libc
+ crate_nodrop
+ crate_num_cpus
+ crate_pairing
+ crate_rand
+ crate_sapling_crypto
+ crate_typenum
+ crate_winapi_i686_pc_windows_gnu
+ crate_winapi
+ crate_winapi_x86_64_pc_windows_gnu
+ )
+ make install \
+ native_packages='' \
+ packages="bdb ${rust_crates[*]} librustzcash"
+ 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
+ make
+}
+
+check() {
+ cd ${pkgname}
+
+ ./zcutil/fetch-params.sh --testnet
+ # ./qa/zcash/full_test_suite.py
+ ./qa/pull-tester/rpc-tests.sh
+}
+
+package() {
+ cd ${pkgname}
+
+ make DESTDIR="${pkgdir}" 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: libsnark-no-gtest.patch
===================================================================
--- libsnark-no-gtest.patch 2018-08-20 18:23:15 UTC (rev 372882)
+++ libsnark-no-gtest.patch 2018-08-20 18:23:43 UTC (rev 372883)
@@ -1,22 +0,0 @@
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -42,7 +42,7 @@ $(LIBSECP256K1): $(wildcard secp256k1/src/*) $(wildcard secp256k1/include/*)
- $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
-
- LIBSNARK_CXXFLAGS = -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all
--LIBSNARK_CONFIG_FLAGS = CURVE=ALT_BN128 NO_PROCPS=1 NO_DOCS=1 STATIC=1 NO_SUPERCOP=1 FEATUREFLAGS=-DMONTGOMERY_OUTPUT NO_COPY_DEPINST=1 NO_COMPILE_LIBGTEST=1
-+LIBSNARK_CONFIG_FLAGS = CURVE=ALT_BN128 NO_PROCPS=1 NO_DOCS=1 STATIC=1 NO_SUPERCOP=1 FEATUREFLAGS=-DMONTGOMERY_OUTPUT NO_COPY_DEPINST=1 NO_COMPILE_LIBGTEST=1 NO_GTEST=1
- if HAVE_OPENMP
- LIBSNARK_CONFIG_FLAGS += MULTICORE=1
- endif
---- a/src/snark/Makefile
-+++ b/src/snark/Makefile
-@@ -175,7 +175,7 @@ EXEC_OBJS =$(patsubst %,%.o,$(EXECUTABLES) $(EXECUTABLES_WITH_GTEST) $(EXECUTABL
- GTEST_OBJS =$(patsubst %.cpp,%.o,$(GTEST_SRCS))
-
- all: \
-- $(if $(NO_GTEST),,$(EXECUTABLES_WITH_GTEST) $(GTEST_TESTS)) \
-+ $(if $(NO_GTEST),$(LIBSNARK_A),$(EXECUTABLES_WITH_GTEST) $(GTEST_TESTS)) \
- $(if $(NO_SUPERCOP),,$(EXECUTABLES_WITH_SUPERCOP)) \
- $(EXECUTABLES) \
- $(if $(NO_DOCS),,doc)
Copied: zcash/repos/community-x86_64/libsnark-no-gtest.patch (from rev 372882, zcash/trunk/libsnark-no-gtest.patch)
===================================================================
--- libsnark-no-gtest.patch (rev 0)
+++ libsnark-no-gtest.patch 2018-08-20 18:23:43 UTC (rev 372883)
@@ -0,0 +1,22 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -55,7 +55,7 @@ $(LIBSECP256K1): $(wildcard secp256k1/src/*) $(wildcard secp256k1/include/*)
+ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
+
+ LIBSNARK_CXXFLAGS = -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all
+-LIBSNARK_CONFIG_FLAGS = CURVE=ALT_BN128 NO_PROCPS=1 NO_DOCS=1 STATIC=1 NO_SUPERCOP=1 FEATUREFLAGS=-DMONTGOMERY_OUTPUT NO_COPY_DEPINST=1 NO_COMPILE_LIBGTEST=1
++LIBSNARK_CONFIG_FLAGS = CURVE=ALT_BN128 NO_PROCPS=1 NO_DOCS=1 STATIC=1 NO_SUPERCOP=1 FEATUREFLAGS=-DMONTGOMERY_OUTPUT NO_COPY_DEPINST=1 NO_COMPILE_LIBGTEST=1 NO_GTEST=1
+ if HAVE_OPENMP
+ LIBSNARK_CONFIG_FLAGS += MULTICORE=1
+ endif
+--- a/src/snark/Makefile
++++ b/src/snark/Makefile
+@@ -175,7 +175,7 @@ EXEC_OBJS =$(patsubst %,%.o,$(EXECUTABLES) $(EXECUTABLES_WITH_GTEST) $(EXECUTABL
+ GTEST_OBJS =$(patsubst %.cpp,%.o,$(GTEST_SRCS))
+
+ all: \
+- $(if $(NO_GTEST),,$(EXECUTABLES_WITH_GTEST) $(GTEST_TESTS)) \
++ $(if $(NO_GTEST),$(LIBSNARK_A),$(EXECUTABLES_WITH_GTEST) $(GTEST_TESTS)) \
+ $(if $(NO_SUPERCOP),,$(EXECUTABLES_WITH_SUPERCOP)) \
+ $(EXECUTABLES) \
+ $(if $(NO_DOCS),,doc)
Deleted: use-system-rust.patch
===================================================================
--- use-system-rust.patch 2018-08-20 18:23:15 UTC (rev 372882)
+++ use-system-rust.patch 2018-08-20 18:23:43 UTC (rev 372883)
@@ -1,11 +0,0 @@
---- a/depends/packages/librustzcash.mk
-+++ b/depends/packages/librustzcash.mk
-@@ -5,7 +5,7 @@
- $(package)_download_file=$($(package)_git_commit).tar.gz
- $(package)_sha256_hash=5231145ea6abf61092c21b6770baf3af65994f83dff96b10118ba5dd53451f26
- $(package)_git_commit=0af1ce8bf121e1ad367db907c39d214581e270a6
--$(package)_dependencies=rust $(rust_crates)
-+$(package)_dependencies=$(rust_crates)
- $(package)_patches=cargo.config
-
- define $(package)_preprocess_cmds
Copied: zcash/repos/community-x86_64/use-system-rust.patch (from rev 372882, zcash/trunk/use-system-rust.patch)
===================================================================
--- use-system-rust.patch (rev 0)
+++ use-system-rust.patch 2018-08-20 18:23:43 UTC (rev 372883)
@@ -0,0 +1,11 @@
+--- a/depends/packages/librustzcash.mk
++++ b/depends/packages/librustzcash.mk
+@@ -5,7 +5,7 @@
+ $(package)_download_file=$($(package)_git_commit).tar.gz
+ $(package)_sha256_hash=4d022b66e554efbf6db01b2a282e312e8a1b492c4680299ae8c26629882eb46b
+ $(package)_git_commit=f5d2afb4eabac29b1b1cc860d66e45a5b48b4f88
+-$(package)_dependencies=rust $(rust_crates)
++$(package)_dependencies=$(rust_crates)
+ $(package)_patches=cargo.config
+
+ define $(package)_preprocess_cmds
Deleted: zcashd.service
===================================================================
--- zcashd.service 2018-08-20 18:23:15 UTC (rev 372882)
+++ zcashd.service 2018-08-20 18:23:43 UTC (rev 372883)
@@ -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 372882, zcash/trunk/zcashd.service)
===================================================================
--- zcashd.service (rev 0)
+++ zcashd.service 2018-08-20 18:23:43 UTC (rev 372883)
@@ -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