[arch-commits] Commit in opendht/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Fri Sep 25 23:22:43 UTC 2020


    Date: Friday, September 25, 2020 @ 23:22:43
  Author: archange
Revision: 712351

upgpkg: opendht 1:2.1.6-1

Modified:
  opendht/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-25 23:18:04 UTC (rev 712350)
+++ PKGBUILD	2020-09-25 23:22:43 UTC (rev 712351)
@@ -3,24 +3,20 @@
 
 pkgname=opendht
 epoch=1
-pkgver=1.10.1
-pkgrel=7
-pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)"
+pkgver=2.1.6
+pkgrel=1
+pkgdesc="C++14 Distributed Hash Table (DHT) implementation"
 arch=(x86_64)
 url="https://github.com/savoirfairelinux/opendht"
 license=(GPL3)
-depends=(gnutls nettle readline argon2 restbed jsoncpp libjsoncpp.so)
-makedepends=(msgpack-c cmake cython systemd cppunit)
+depends=(openssl gnutls nettle argon2 readline fmt http-parser jsoncpp libjsoncpp.so)
+makedepends=(msgpack-c cmake cython cppunit restinio)
 optdepends=('python: to use the Python bindings')
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
-         opendht-gcc10.patch::"https://github.com/savoirfairelinux/opendht/commit/e58fc4ef.patch")
-sha512sums=('d0ab4aa376ecd4ac57af78a1491cd0f466021790ebea0e00032a503d61127f323cb37f04d94f2a35797dc52051407708f49ed99be558003acc102ff017dbdf29'
-            'ed43ee79f350f8b86119e4336de5a28eab4c4d6eedb578d714dd51a1c8109c0a31756ea0cf807d3c6e636b8ccfb52c8c43f81220b4fd5105bd200ae76e175977')
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('53f362f75a5dda2e88eb145671d01b2998cc5f55d9e1e37fa28b18a324f1159c')
 
 prepare() {
   mkdir -p build
-
-  patch -d $pkgname-$pkgver -p1 -i ../opendht-gcc10.patch # Fix build with GCC 10
 }
 
 build() {
@@ -33,10 +29,12 @@
     -DOPENDHT_DOCUMENTATION=OFF \
     -DOPENDHT_STATIC=OFF \
     -DOPENDHT_SYSTEMD=ON \
+    -DOPENDHT_SYSTEMD_UNIT_FILE_LOCATION=/usr/lib/systemd/system/ \
     -DOPENDHT_LTO=ON \
     -DOPENDHT_TOOLS=ON \
     -DOPENDHT_INDEX=ON \
     -DOPENDHT_PYTHON=ON \
+    -DOPENDHT_HTTP=ON \
     -DOPENDHT_PROXY_SERVER=ON \
     -DOPENDHT_PROXY_CLIENT=ON \
     -DOPENDHT_PUSH_NOTIFICATIONS=ON
@@ -43,10 +41,10 @@
   make
 }
 
-check() {
-  cd build
-  make test
-}
+#check() {
+#  cd build
+#  make test
+#}
 
 package() {
   cd build



More information about the arch-commits mailing list