[arch-commits] Commit in opendht/repos (6 files)

Baptiste Jonglez zorun at archlinux.org
Tue Aug 15 21:41:01 UTC 2017


    Date: Tuesday, August 15, 2017 @ 21:41:00
  Author: zorun
Revision: 251200

archrelease: copy trunk to community-i686, community-x86_64

Added:
  opendht/repos/community-i686/PKGBUILD
    (from rev 251199, opendht/trunk/PKGBUILD)
  opendht/repos/community-x86_64/PKGBUILD
    (from rev 251199, opendht/trunk/PKGBUILD)
Deleted:
  opendht/repos/community-i686/0001-network-prevent-sending-packets-larger-than-1280-byt.patch
  opendht/repos/community-i686/PKGBUILD
  opendht/repos/community-x86_64/0001-network-prevent-sending-packets-larger-than-1280-byt.patch
  opendht/repos/community-x86_64/PKGBUILD

----------------------------------------------------------------------------------+
 /PKGBUILD                                                                        |   84 ++++++++++
 community-i686/0001-network-prevent-sending-packets-larger-than-1280-byt.patch   |   25 --
 community-i686/PKGBUILD                                                          |   42 -----
 community-x86_64/0001-network-prevent-sending-packets-larger-than-1280-byt.patch |   25 --
 community-x86_64/PKGBUILD                                                        |   42 -----
 5 files changed, 84 insertions(+), 134 deletions(-)

Deleted: community-i686/0001-network-prevent-sending-packets-larger-than-1280-byt.patch
===================================================================
--- community-i686/0001-network-prevent-sending-packets-larger-than-1280-byt.patch	2017-08-15 21:40:43 UTC (rev 251199)
+++ community-i686/0001-network-prevent-sending-packets-larger-than-1280-byt.patch	2017-08-15 21:41:00 UTC (rev 251200)
@@ -1,25 +0,0 @@
-From 8a123f9f68e93452dc2c044f8a2ffa07a6038364 Mon Sep 17 00:00:00 2001
-From: Adrien Beraud <adrien.beraud at savoirfairelinux.com>
-Date: Sun, 9 Jul 2017 07:51:05 -0400
-Subject: [PATCH 1/2] network: prevent sending packets larger than 1280 bytes
-
----
- include/opendht/network_engine.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/opendht/network_engine.h b/include/opendht/network_engine.h
-index 53f9044..a037cde 100644
---- a/include/opendht/network_engine.h
-+++ b/include/opendht/network_engine.h
-@@ -464,7 +464,7 @@ private:
-     static constexpr unsigned BLACKLISTED_MAX {10};
- 
-     static constexpr size_t MTU {1280};
--    static constexpr size_t MAX_PACKET_VALUE_SIZE {8 * 1024};
-+    static constexpr size_t MAX_PACKET_VALUE_SIZE {600};
- 
-     static const std::string my_v;
-     static std::mt19937 rd_device;
--- 
-2.13.2
-

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-08-15 21:40:43 UTC (rev 251199)
+++ community-i686/PKGBUILD	2017-08-15 21:41:00 UTC (rev 251200)
@@ -1,42 +0,0 @@
-# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
-pkgname=opendht
-pkgver=1.3.5
-pkgrel=1
-epoch=1
-pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)"
-arch=('i686' 'x86_64')
-depends=('gnutls' 'nettle' 'readline' 'argon2')
-makedepends=('msgpack-c' 'cmake' 'cython')
-optdepends=('python: to use the Python bindings')
-url="https://github.com/savoirfairelinux/opendht"
-license=('GPL3')
-source=("https://github.com/savoirfairelinux/opendht/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('b58e5f85d2b969efc121899d266e45989ab2238deceea1c00ab01ff2100c7df5')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  msg2 'Building...'
-  mkdir -p build
-  cd build
-  cmake .. \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DOPENDHT_PYTHON=ON \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  msg2 'Installing...'
-  cd build
-  make DESTDIR="$pkgdir" install
-  cd ..
-
-  msg2 'Installing documentation...'
-  install -D -m644 README.md "${pkgdir}/usr/share/doc/opendht/README.md"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: opendht/repos/community-i686/PKGBUILD (from rev 251199, opendht/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-08-15 21:41:00 UTC (rev 251200)
@@ -0,0 +1,42 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=opendht
+pkgver=1.3.6
+pkgrel=1
+epoch=1
+pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)"
+arch=('i686' 'x86_64')
+depends=('gnutls' 'nettle' 'readline' 'argon2')
+makedepends=('msgpack-c' 'cmake' 'cython')
+optdepends=('python: to use the Python bindings')
+url="https://github.com/savoirfairelinux/opendht"
+license=('GPL3')
+source=("https://github.com/savoirfairelinux/opendht/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('7e888748741a0a2cc44639c580f29fa4c58cddbf08622626b754f0c9b99a4392')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  msg2 'Building...'
+  mkdir -p build
+  cd build
+  cmake .. \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DOPENDHT_PYTHON=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  msg2 'Installing...'
+  cd build
+  make DESTDIR="$pkgdir" install
+  cd ..
+
+  msg2 'Installing documentation...'
+  install -D -m644 README.md "${pkgdir}/usr/share/doc/opendht/README.md"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/0001-network-prevent-sending-packets-larger-than-1280-byt.patch
===================================================================
--- community-x86_64/0001-network-prevent-sending-packets-larger-than-1280-byt.patch	2017-08-15 21:40:43 UTC (rev 251199)
+++ community-x86_64/0001-network-prevent-sending-packets-larger-than-1280-byt.patch	2017-08-15 21:41:00 UTC (rev 251200)
@@ -1,25 +0,0 @@
-From 8a123f9f68e93452dc2c044f8a2ffa07a6038364 Mon Sep 17 00:00:00 2001
-From: Adrien Beraud <adrien.beraud at savoirfairelinux.com>
-Date: Sun, 9 Jul 2017 07:51:05 -0400
-Subject: [PATCH 1/2] network: prevent sending packets larger than 1280 bytes
-
----
- include/opendht/network_engine.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/opendht/network_engine.h b/include/opendht/network_engine.h
-index 53f9044..a037cde 100644
---- a/include/opendht/network_engine.h
-+++ b/include/opendht/network_engine.h
-@@ -464,7 +464,7 @@ private:
-     static constexpr unsigned BLACKLISTED_MAX {10};
- 
-     static constexpr size_t MTU {1280};
--    static constexpr size_t MAX_PACKET_VALUE_SIZE {8 * 1024};
-+    static constexpr size_t MAX_PACKET_VALUE_SIZE {600};
- 
-     static const std::string my_v;
-     static std::mt19937 rd_device;
--- 
-2.13.2
-

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-08-15 21:40:43 UTC (rev 251199)
+++ community-x86_64/PKGBUILD	2017-08-15 21:41:00 UTC (rev 251200)
@@ -1,42 +0,0 @@
-# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
-pkgname=opendht
-pkgver=1.3.5
-pkgrel=1
-epoch=1
-pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)"
-arch=('i686' 'x86_64')
-depends=('gnutls' 'nettle' 'readline' 'argon2')
-makedepends=('msgpack-c' 'cmake' 'cython')
-optdepends=('python: to use the Python bindings')
-url="https://github.com/savoirfairelinux/opendht"
-license=('GPL3')
-source=("https://github.com/savoirfairelinux/opendht/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('b58e5f85d2b969efc121899d266e45989ab2238deceea1c00ab01ff2100c7df5')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  msg2 'Building...'
-  mkdir -p build
-  cd build
-  cmake .. \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DOPENDHT_PYTHON=ON \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  msg2 'Installing...'
-  cd build
-  make DESTDIR="$pkgdir" install
-  cd ..
-
-  msg2 'Installing documentation...'
-  install -D -m644 README.md "${pkgdir}/usr/share/doc/opendht/README.md"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: opendht/repos/community-x86_64/PKGBUILD (from rev 251199, opendht/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-08-15 21:41:00 UTC (rev 251200)
@@ -0,0 +1,42 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=opendht
+pkgver=1.3.6
+pkgrel=1
+epoch=1
+pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)"
+arch=('i686' 'x86_64')
+depends=('gnutls' 'nettle' 'readline' 'argon2')
+makedepends=('msgpack-c' 'cmake' 'cython')
+optdepends=('python: to use the Python bindings')
+url="https://github.com/savoirfairelinux/opendht"
+license=('GPL3')
+source=("https://github.com/savoirfairelinux/opendht/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('7e888748741a0a2cc44639c580f29fa4c58cddbf08622626b754f0c9b99a4392')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  msg2 'Building...'
+  mkdir -p build
+  cd build
+  cmake .. \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DOPENDHT_PYTHON=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  msg2 'Installing...'
+  cd build
+  make DESTDIR="$pkgdir" install
+  cd ..
+
+  msg2 'Installing documentation...'
+  install -D -m644 README.md "${pkgdir}/usr/share/doc/opendht/README.md"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list