[arch-commits] Commit in monero/repos/community-x86_64 (7 files)

Kpcyrd kpcyrd at archlinux.org
Sun Dec 15 05:27:39 UTC 2019


    Date: Sunday, December 15, 2019 @ 05:27:38
  Author: kpcyrd
Revision: 537716

archrelease: copy trunk to community-x86_64

Added:
  monero/repos/community-x86_64/PKGBUILD
    (from rev 537715, monero/trunk/PKGBUILD)
  monero/repos/community-x86_64/monero.sysusers
    (from rev 537715, monero/trunk/monero.sysusers)
  monero/repos/community-x86_64/monero.tmpfiles
    (from rev 537715, monero/trunk/monero.tmpfiles)
  monero/repos/community-x86_64/no-avx2.patch
    (from rev 537715, monero/trunk/no-avx2.patch)
Deleted:
  monero/repos/community-x86_64/PKGBUILD
  monero/repos/community-x86_64/monero.sysusers
  monero/repos/community-x86_64/monero.tmpfiles

-----------------+
 PKGBUILD        |  155 +++++++++++++++++++++++++++---------------------------
 monero.sysusers |    2 
 monero.tmpfiles |    2 
 no-avx2.patch   |   25 ++++++++
 4 files changed, 106 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-15 05:27:23 UTC (rev 537715)
+++ PKGBUILD	2019-12-15 05:27:38 UTC (rev 537716)
@@ -1,76 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-
-pkgname=monero
-pkgver=0.15.0.1
-pkgrel=2
-pkgdesc="Monero: the secure, private, untraceable currency - release version (includes daemon, wallet and miner)"
-license=('custom:Cryptonote')
-arch=('x86_64')
-url="https://getmonero.org/"
-depends=('boost-libs' 'libunwind' 'openssl' 'readline' 'zeromq' 'pcsclite' 'hidapi')
-makedepends=('git' 'cmake' 'boost')
-source=(
-    "${pkgname}"::"git+https://github.com/monero-project/monero#tag=v${pkgver}"
-    "git+https://github.com/monero-project/unbound.git"
-    "git+https://github.com/monero-project/miniupnp.git"
-    "git+https://github.com/Tencent/rapidjson"
-    "git+https://github.com/trezor/trezor-common.git"
-    "git+https://github.com/tevador/randomx"
-    "monero.sysusers"
-    "monero.tmpfiles")
-sha512sums=('SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            '2e4ecf3f305dab46e166f50c0451dd969927b485df544aebcf8115a65444573e6d57a8ac6bea64ce5ab4b5cce2c70f913d9ac3bce561c59acf89851edc76a22c'
-            'ae3c300548e6ba5fdf6a203146e5dcaf1955c3e19820c0bb3a73bb70ec5629a3af00d43dac95b6f3832ded5c480e872d829981a63206016d4a64f3940b713357')
-
-prepare() {
-  cd "${pkgname}"
-  git submodule init
-  git config submodule.external/unbound.url "$srcdir/unbound"
-  git config submodule.external/miniupnp.url "$srcdir/miniupnp"
-  git config submodule.external/rapidjson.url "$srcdir/rapidjson"
-  git config submodule.external/trezor-common.url "$srcdir/trezor-common"
-  git config submodule.external/randomx.url "$srcdir/randomx"
-  git submodule update
-}
-
-build() {
-  cd "${pkgname}"
-  mkdir -p build && cd build
-  cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=release ../
-  make
-}
-
-package() {
-  backup=('etc/monerod.conf')
-
-  cd "${pkgname}"
-  install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  install -Dm644 "utils/conf/monerod.conf" "${pkgdir}/etc/monerod.conf"
-  install -Dm644 "utils/systemd/monerod.service" "${pkgdir}/usr/lib/systemd/system/monerod.service"
-  install -Dm644 "../monero.sysusers" "${pkgdir}/usr/lib/sysusers.d/monero.conf"
-  install -Dm644 "../monero.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/monero.conf"
-
-  install -Dm755 "build/bin/monero-blockchain-ancestry" \
-                 "build/bin/monero-blockchain-depth" \
-                 "build/bin/monero-blockchain-export" \
-                 "build/bin/monero-blockchain-import" \
-                 "build/bin/monero-blockchain-mark-spent-outputs" \
-                 "build/bin/monero-blockchain-prune" \
-                 "build/bin/monero-blockchain-prune-known-spent-data" \
-                 "build/bin/monero-blockchain-stats" \
-                 "build/bin/monero-blockchain-usage" \
-                 "build/bin/monero-gen-ssl-cert" \
-                 "build/bin/monero-gen-trusted-multisig" \
-                 "build/bin/monero-wallet-cli" \
-                 "build/bin/monero-wallet-rpc" \
-                 "build/bin/monerod" \
-                 -t "${pkgdir}/usr/bin"
-}
-
-# vim: ts=2 sw=2 et:

Copied: monero/repos/community-x86_64/PKGBUILD (from rev 537715, monero/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-15 05:27:38 UTC (rev 537716)
@@ -0,0 +1,79 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=monero
+pkgver=0.15.0.1
+pkgrel=3
+pkgdesc="Monero: the secure, private, untraceable currency - release version (includes daemon, wallet and miner)"
+license=('custom:Cryptonote')
+arch=('x86_64')
+url="https://getmonero.org/"
+depends=('boost-libs' 'libunwind' 'openssl' 'readline' 'zeromq' 'pcsclite' 'hidapi')
+makedepends=('git' 'cmake' 'boost')
+source=(
+    "${pkgname}"::"git+https://github.com/monero-project/monero#tag=v${pkgver}"
+    "git+https://github.com/monero-project/unbound.git"
+    "git+https://github.com/monero-project/miniupnp.git"
+    "git+https://github.com/Tencent/rapidjson"
+    "git+https://github.com/trezor/trezor-common.git"
+    "git+https://github.com/tevador/randomx"
+    "monero.sysusers"
+    "monero.tmpfiles"
+    "no-avx2.patch")
+sha512sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            '2e4ecf3f305dab46e166f50c0451dd969927b485df544aebcf8115a65444573e6d57a8ac6bea64ce5ab4b5cce2c70f913d9ac3bce561c59acf89851edc76a22c'
+            'ae3c300548e6ba5fdf6a203146e5dcaf1955c3e19820c0bb3a73bb70ec5629a3af00d43dac95b6f3832ded5c480e872d829981a63206016d4a64f3940b713357'
+            'a6ed21f23c8951e36200845421d395c1a56a064af64435ac3eef1e516678997fda4b452cd1da440e8fac7437971f81a901511dac27bbb1ff35ed631dcfe47c70')
+
+prepare() {
+  cd "${pkgname}"
+  git submodule init
+  git config submodule.external/unbound.url "$srcdir/unbound"
+  git config submodule.external/miniupnp.url "$srcdir/miniupnp"
+  git config submodule.external/rapidjson.url "$srcdir/rapidjson"
+  git config submodule.external/trezor-common.url "$srcdir/trezor-common"
+  git config submodule.external/randomx.url "$srcdir/randomx"
+  git submodule update
+  patch --forward --strip=1 --input="${srcdir}/no-avx2.patch"
+}
+
+build() {
+  cd "${pkgname}"
+  mkdir -p build && cd build
+  cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=release ../
+  make
+}
+
+package() {
+  backup=('etc/monerod.conf')
+
+  cd "${pkgname}"
+  install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  install -Dm644 "utils/conf/monerod.conf" "${pkgdir}/etc/monerod.conf"
+  install -Dm644 "utils/systemd/monerod.service" "${pkgdir}/usr/lib/systemd/system/monerod.service"
+  install -Dm644 "../monero.sysusers" "${pkgdir}/usr/lib/sysusers.d/monero.conf"
+  install -Dm644 "../monero.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/monero.conf"
+
+  install -Dm755 "build/bin/monero-blockchain-ancestry" \
+                 "build/bin/monero-blockchain-depth" \
+                 "build/bin/monero-blockchain-export" \
+                 "build/bin/monero-blockchain-import" \
+                 "build/bin/monero-blockchain-mark-spent-outputs" \
+                 "build/bin/monero-blockchain-prune" \
+                 "build/bin/monero-blockchain-prune-known-spent-data" \
+                 "build/bin/monero-blockchain-stats" \
+                 "build/bin/monero-blockchain-usage" \
+                 "build/bin/monero-gen-ssl-cert" \
+                 "build/bin/monero-gen-trusted-multisig" \
+                 "build/bin/monero-wallet-cli" \
+                 "build/bin/monero-wallet-rpc" \
+                 "build/bin/monerod" \
+                 -t "${pkgdir}/usr/bin"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: monero.sysusers
===================================================================
--- monero.sysusers	2019-12-15 05:27:23 UTC (rev 537715)
+++ monero.sysusers	2019-12-15 05:27:38 UTC (rev 537716)
@@ -1 +0,0 @@
-u monero - - /var/lib/monero

Copied: monero/repos/community-x86_64/monero.sysusers (from rev 537715, monero/trunk/monero.sysusers)
===================================================================
--- monero.sysusers	                        (rev 0)
+++ monero.sysusers	2019-12-15 05:27:38 UTC (rev 537716)
@@ -0,0 +1 @@
+u monero - - /var/lib/monero

Deleted: monero.tmpfiles
===================================================================
--- monero.tmpfiles	2019-12-15 05:27:23 UTC (rev 537715)
+++ monero.tmpfiles	2019-12-15 05:27:38 UTC (rev 537716)
@@ -1 +0,0 @@
-d /var/lib/monero 0770 monero monero - -

Copied: monero/repos/community-x86_64/monero.tmpfiles (from rev 537715, monero/trunk/monero.tmpfiles)
===================================================================
--- monero.tmpfiles	                        (rev 0)
+++ monero.tmpfiles	2019-12-15 05:27:38 UTC (rev 537716)
@@ -0,0 +1 @@
+d /var/lib/monero 0770 monero monero - -

Copied: monero/repos/community-x86_64/no-avx2.patch (from rev 537715, monero/trunk/no-avx2.patch)
===================================================================
--- no-avx2.patch	                        (rev 0)
+++ no-avx2.patch	2019-12-15 05:27:38 UTC (rev 537716)
@@ -0,0 +1,25 @@
+diff --git a/external/randomx/CMakeLists.txt b/external/randomx/CMakeLists.txt
+index 40f0354..3bacafa 100644
+--- a/external/randomx/CMakeLists.txt
++++ b/external/randomx/CMakeLists.txt
+@@ -102,20 +102,6 @@ if (ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86-64" OR ARCH_ID STREQUAL "
+   set_property(SOURCE src/jit_compiler_x86_static.S PROPERTY LANGUAGE C)
+   set_property(SOURCE src/jit_compiler_x86_static.S PROPERTY XCODE_EXPLICIT_FILE_TYPE sourcecode.asm)
+ 
+-  if(ARCH STREQUAL "native")
+-    add_flag("-march=native")
+-  else()
+-    # default build has hardware AES enabled (software AES can be selected at runtime)
+-    add_flag("-maes")
+-    check_c_compiler_flag(-mssse3 HAVE_SSSE3)
+-    if(HAVE_SSSE3)
+-      set_source_files_properties(src/argon2_ssse3.c COMPILE_FLAGS -mssse3)
+-    endif()
+-    check_c_compiler_flag(-mavx2 HAVE_AVX2)
+-    if(HAVE_AVX2)
+-      set_source_files_properties(src/argon2_avx2.c COMPILE_FLAGS -mavx2)
+-    endif()
+-  endif()
+ endif()
+ 
+ # PowerPC



More information about the arch-commits mailing list