This commit is contained in:
ace
2025-12-08 00:42:50 +03:00
parent 7aaf6cb565
commit 3a29f1e8a7
43 changed files with 13471 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
DIST opendht-3.5.4.tar.gz 532306 BLAKE2B 2dd34abe704e6cf0c751474243d033de7b205ae0f598094e542b94c32944dedc83cdb34d22d19561af38fb01a426af91b8303a45855c3c1106809530b04f1600 SHA512 25d11e8bbadc844e449e2baccd38ae55e2b0a3c165b889c9a296ed39eb4c263a177a9171ede063cd493d52fea4ccedf3c2b012dad64af1c8bb96f6024ee56498
DIST opendht-3.5.5.tar.gz 533772 BLAKE2B a4e824f4d0d91a271416ca083a41818b66883c4630ece78e8a5ba2ed877efb14d527c63f6e34dc9f47497fdbb05f0254ca7142962359f5ca5c705dfe48aae266 SHA512 0f3783be2637c72c3f5f1c1ded49dcbc84d1cb7ba338550c0b3d20995b56287eb37b4ff283773d7262202ec2f9e9df2160db717e4fdd9bfcb8331edc628b46cf
DIST opendht-3.6.0.tar.gz 533860 BLAKE2B fcc2a1fc6a11062fe2382568446ac876580c219e00b6931a3f70b2aca5df0bff9e23f40b5129169963ee6f254c778f010370fd18f2532f0731adcf129d291c5e SHA512 f7cd106d9d96b51ad9775486c09fdef3a147678aeda5a4a403f1a0d6cc324a79ed612a40abefff373420f02c016c2884b83a2105eb4388a06e76486346963235
EBUILD opendht-3.5.4.ebuild 1931 BLAKE2B 80335158ab3f07fd1cc907f77eef22b76d33f4ca87775a4379a4d5e9c130115c2d3c35006a1728c3a9939b4b1e1dfbbf3db527b1b6cea85904d1de6cad085821 SHA512 06f9797d732069ab35f8b4764d3919091a5263a352a40aee8bb1937ee66c75c63e9436d1443ed0d54d8156fda73d395d9bd216e3a60da4c375327bf6249ce10c
EBUILD opendht-3.5.5.ebuild 1931 BLAKE2B 80335158ab3f07fd1cc907f77eef22b76d33f4ca87775a4379a4d5e9c130115c2d3c35006a1728c3a9939b4b1e1dfbbf3db527b1b6cea85904d1de6cad085821 SHA512 06f9797d732069ab35f8b4764d3919091a5263a352a40aee8bb1937ee66c75c63e9436d1443ed0d54d8156fda73d395d9bd216e3a60da4c375327bf6249ce10c
EBUILD opendht-3.6.0.ebuild 1948 BLAKE2B e7b4c81957b980adf43443c406b413949bcd4d827add4d8281a780bc408e683992f4dab73db7ae29bbb8a43227ee04de1969287c3c799b2a307cb6ba01833bae SHA512 8744a56953eb8db2bfda54a1843acd3e9f2c150d1a6c227bdbf3d7b71e27b5fc61f3de66d660378e69e5fa0ba4c3b64ded0c4639de592b9d0f8fa12b01ce397c

View File

@@ -0,0 +1,76 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{{8..13},13t} )
inherit cmake python-r1
DESCRIPTION="A lightweight C++11 Distributed Hash Table implementation"
HOMEPAGE="https://github.com/savoirfairelinux/opendht"
if [[ "${PV}" == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/savoirfairelinux/${PN}"
else
SRC_URI="https://github.com/savoirfairelinux/opendht/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="doc +dht-index +http-client +peer-discovery +proxy-client +proxy-server +proxy-server-identity +proxy-openssl +push-notifications python systemd +tools"
DEPEND="
app-crypt/argon2
dev-libs/libfmt
dev-util/cppunit
dev-cpp/asio
dev-cpp/msgpack-cxx
net-libs/restinio
|| (
net-libs/gnutls
dev-libs/nettle
)
python? ( dev-python/cython[${PYTHON_USEDEP}] )
tools? ( sys-libs/readline:0 )
proxy-openssl? ( dev-libs/openssl:= )
doc? ( app-text/doxygen )
"
RDEPEND="
${DEPEND}
${PYTHON_DEPS}
"
#REQUIRED_USE="http-client? ( !proxy-server !proxy-client ) ${PYTHON_REQUIRED_USE}"
src_configure() {
local mycmakeargs=(
-DOPENDHT_PYTHON=$(usex python)
-DOPENDHT_TOOLS=$(usex tools)
-DOPENDHT_SYSTEMD=$(usex systemd)
-DOPENDHT_HTTP=$(usex http-client)
-DOPENDHT_INDEX=$(usex dht-index)
-DOPENDHT_PEER_DISCOVERY=$(usex peer-discovery)
-DOPENDHT_PROXY_SERVER=$(usex proxy-server)
-DOPENDHT_PROXY_SERVER_IDENTITY=$(usex proxy-server-identity)
-DOPENDHT_PROXY_CLIENT=$(usex proxy-client)
-DOPENDHT_PROXY_OPENSSL=$(usex proxy-openssl)
-DOPENDHT_PUSH_NOTIFICATIONS=$(usex push-notifications)
-DOPENDHT_DOCUMENTATION=$(usex doc)
-DOPENDHT_SANITIZE=OFF
-DOPENDHT_TESTS_NETWORK=OFF
-DOPENDHT_C=ON
-DOPENDHT_CPACK=ON
-DOPENDHT_DOWNLOAD_DEPS=OFF
)
cmake_src_configure
}
src_install() {
cmake_src_install
einstalldocs
}

View File

@@ -0,0 +1,76 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{{8..13},13t} )
inherit cmake python-r1
DESCRIPTION="A lightweight C++11 Distributed Hash Table implementation"
HOMEPAGE="https://github.com/savoirfairelinux/opendht"
if [[ "${PV}" == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/savoirfairelinux/${PN}"
else
SRC_URI="https://github.com/savoirfairelinux/opendht/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="doc +dht-index +http-client +peer-discovery +proxy-client +proxy-server +proxy-server-identity +proxy-openssl +push-notifications python systemd +tools"
DEPEND="
app-crypt/argon2
dev-libs/libfmt
dev-util/cppunit
dev-cpp/asio
dev-cpp/msgpack-cxx
net-libs/restinio
|| (
net-libs/gnutls
dev-libs/nettle
)
python? ( dev-python/cython[${PYTHON_USEDEP}] )
tools? ( sys-libs/readline:0 )
proxy-openssl? ( dev-libs/openssl:= )
doc? ( app-text/doxygen )
"
RDEPEND="
${DEPEND}
${PYTHON_DEPS}
"
#REQUIRED_USE="http-client? ( !proxy-server !proxy-client ) ${PYTHON_REQUIRED_USE}"
src_configure() {
local mycmakeargs=(
-DOPENDHT_PYTHON=$(usex python)
-DOPENDHT_TOOLS=$(usex tools)
-DOPENDHT_SYSTEMD=$(usex systemd)
-DOPENDHT_HTTP=$(usex http-client)
-DOPENDHT_INDEX=$(usex dht-index)
-DOPENDHT_PEER_DISCOVERY=$(usex peer-discovery)
-DOPENDHT_PROXY_SERVER=$(usex proxy-server)
-DOPENDHT_PROXY_SERVER_IDENTITY=$(usex proxy-server-identity)
-DOPENDHT_PROXY_CLIENT=$(usex proxy-client)
-DOPENDHT_PROXY_OPENSSL=$(usex proxy-openssl)
-DOPENDHT_PUSH_NOTIFICATIONS=$(usex push-notifications)
-DOPENDHT_DOCUMENTATION=$(usex doc)
-DOPENDHT_SANITIZE=OFF
-DOPENDHT_TESTS_NETWORK=OFF
-DOPENDHT_C=ON
-DOPENDHT_CPACK=ON
-DOPENDHT_DOWNLOAD_DEPS=OFF
)
cmake_src_configure
}
src_install() {
cmake_src_install
einstalldocs
}

View File

@@ -0,0 +1,77 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{{8..13},13t} )
inherit cmake python-r1
DESCRIPTION="A lightweight C++11 Distributed Hash Table implementation"
HOMEPAGE="https://github.com/savoirfairelinux/opendht"
if [[ "${PV}" == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/savoirfairelinux/${PN}"
else
SRC_URI="https://github.com/savoirfairelinux/opendht/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="doc +dht-index +http-client +peer-discovery +proxy-client +proxy-server +proxy-server-identity +proxy-openssl +push-notifications python systemd +tools"
DEPEND="
app-crypt/argon2
dev-libs/libfmt
dev-util/cppunit
dev-cpp/asio
dev-cpp/msgpack-cxx
net-libs/restinio
dev-cpp/simdutf
|| (
net-libs/gnutls
dev-libs/nettle
)
python? ( dev-python/cython[${PYTHON_USEDEP}] )
tools? ( sys-libs/readline:0 )
proxy-openssl? ( dev-libs/openssl:= )
doc? ( app-text/doxygen )
"
RDEPEND="
${DEPEND}
${PYTHON_DEPS}
"
#REQUIRED_USE="http-client? ( !proxy-server !proxy-client ) ${PYTHON_REQUIRED_USE}"
src_configure() {
local mycmakeargs=(
-DOPENDHT_PYTHON=$(usex python)
-DOPENDHT_TOOLS=$(usex tools)
-DOPENDHT_SYSTEMD=$(usex systemd)
-DOPENDHT_HTTP=$(usex http-client)
-DOPENDHT_INDEX=$(usex dht-index)
-DOPENDHT_PEER_DISCOVERY=$(usex peer-discovery)
-DOPENDHT_PROXY_SERVER=$(usex proxy-server)
-DOPENDHT_PROXY_SERVER_IDENTITY=$(usex proxy-server-identity)
-DOPENDHT_PROXY_CLIENT=$(usex proxy-client)
-DOPENDHT_PROXY_OPENSSL=$(usex proxy-openssl)
-DOPENDHT_PUSH_NOTIFICATIONS=$(usex push-notifications)
-DOPENDHT_DOCUMENTATION=$(usex doc)
-DOPENDHT_SANITIZE=OFF
-DOPENDHT_TESTS_NETWORK=OFF
-DOPENDHT_C=ON
-DOPENDHT_CPACK=ON
-DOPENDHT_DOWNLOAD_DEPS=OFF
)
cmake_src_configure
}
src_install() {
cmake_src_install
einstalldocs
}