From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- net-libs/tox/Manifest | 8 +-- net-libs/tox/metadata.xml | 1 + net-libs/tox/tox-0.2.12-r1.ebuild | 115 ------------------------------------ net-libs/tox/tox-0.2.18.ebuild | 120 ++++++++++++++++++++++++++++++++++++++ net-libs/tox/tox-9999.ebuild | 33 ++++++----- 5 files changed, 145 insertions(+), 132 deletions(-) delete mode 100644 net-libs/tox/tox-0.2.12-r1.ebuild create mode 100644 net-libs/tox/tox-0.2.18.ebuild (limited to 'net-libs/tox') diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest index b73024694ec3..fd38d887de03 100644 --- a/net-libs/tox/Manifest +++ b/net-libs/tox/Manifest @@ -2,9 +2,9 @@ AUX confd 27 BLAKE2B 16d0801db1dceed2044c14e9f1220ee4f31268622102a50669135dcb199 AUX initd 655 BLAKE2B bc837b09c4d75cb086bc1757ba1b1963b60ae2123ba041a53557a2ae7c05145be0898ce5c10d60c894ef369c46afe2a65454ab9e2d2a23d1c859c074d80b8a86 SHA512 c7eaf934497329a369ea9fe5eefe061937719e34d965c464ccea6b72b12bf16c7b79bd821e3550fecb1fde3b014f40afad61c10cf4d7140f42d3d8ba964acdc6 AUX tox-bootstrapd.conf 2397 BLAKE2B 336317dc2b2a7958420164d3ef3197ea2aefbb51822791d2feccb8e44cf09e90779986210bf854c0cff0d1b4519c1b4acd92723e92b8b262859f7d9da7ee55e9 SHA512 0d90ffb47e42013af68b5eb7ffb03d670523b20de17ba7fe63e227502188cfd72242450d09e94d381fa201cdff459307622c9ab19f3bf651d6948979e103e3c6 AUX tox-bootstrapd.service 365 BLAKE2B f17891d280007180811414f85f1f8a4defd85436410113f11cffd60dd14a02cd24a0637c347a75ea11322c050e4030702e9f95f02810705aef512df6558e66d5 SHA512 d565430c53b91343d57b6db573884c9f11aaf8bbddfd70bf3a46a6dede91c01ab8f1371ae052b4dd529cc521bef28924069fc7f4bc3d610c01cbd6d6569707f8 -DIST c-toxcore-0.2.12.tar.gz 504832 BLAKE2B 625713142cc1e4b6583879144c05d47a40a1d98031a8a2bf0deec85a199f816a0ff6df5c76e9487a526d7c1c1650b37a10ed81be8233eaa1395707851378474f SHA512 c22f139cfff3a5aedf5fb08c33cae0dae3d6fbceec87867c81290e3bf9d2e13466a0e2bad8378a7a7ba1e9b7b9ad756712963461ae248102e4cab7d4691228d8 DIST c-toxcore-0.2.13.tar.gz 511533 BLAKE2B 8c68180710e3d06eaaef9fc05dc0ff2492907586934d1d6f57f147e07bb78b262f78b0057911e4b5cd27d2d1efb51cb714f757b90caa269988e604cafa62cd00 SHA512 f4ed9ea4afb7f9c14a5afd949f3a52e7880838c910acaf5adc39acb09ad574406be08f43b76a9fbdd4fc4bd14f0d73212dc7bd10783565055c910c6c3e5e357a -EBUILD tox-0.2.12-r1.ebuild 2905 BLAKE2B de657ca8b2815d0d165a41ea78026bd8f813aa4e601336db68f7123ffd52c0b97e9bd10c99591c3af9f27ec53974521ed3c37b90ee4509961a67bd667a7dd12c SHA512 0265c8c0ebdf18113f600f2d5ad8cb2d87965b3b43393502dba0acde2e587974981e077c69f18ad7303b1d419649ce814afa5102f2a9eb08d60ceb148a14d255 +DIST c-toxcore-0.2.18.tar.gz 653247 BLAKE2B c27da02753aede5056c42e5bf1949920fc30e98a23c058ab445c2fe345271e442885a3eeb011e8fde16d8fc8451376a015c5f821145785c75e7d0dda3a8b72eb SHA512 e9b0d73a2e0460290c8453a0a64fc91deed2e0cf87f945d0ba203b929f19a296571d7140f4df89b06f7e67f2b61894460ce4dd32ab9ecf6ea7d5b67538fadb23 EBUILD tox-0.2.13.ebuild 2920 BLAKE2B 59bf6f61244b267d49a181359b3322186efe21217578b6561b41dcd798e50bc9104beb27dbd611485949a112a80ab11d774f4f17a18cdfb23f4ef106729383cc SHA512 8fdb59395d4ce07c6f2edbfc8a8672b021a0b32d62682ecc697e9e816be09d31587be9c41e9b5755aaab1570d9c7aa12d84e3ac6c7b68abdc0c1a099df35fb75 -EBUILD tox-9999.ebuild 2689 BLAKE2B 12827a3eaa9c54410ec4f3eefd12016e4fb8c4540cd94295c45e31b6dc6563edc866d81edff197347e155587c5dace9f5195ae33d6e7d0ac70e24a59f61e957d SHA512 0c362388a3157a103e5ef110fbd1e8e202a8e39140309529198c40cffd5a64bab163f19820f1da4c24340850421efc7216fdbffb0527e69f405581c8b0b67ad4 -MISC metadata.xml 901 BLAKE2B 5125123a0e27a8cda166ed3516d75fb0bb034d77e38f553ba96bdc58744d7cc1bffe58e0fa6d2467a2dcc0f5caf74a7a2c12697664065732d335f0b8bbb8bbad SHA512 7f76b178a4b0a25a3a0eadbe844c07cbaa2103cc4296674c37c3fb18ed626e3cfc7110b8ff4e04ed0f7a83b65a0dc19666074d71f87d0e7e75d84fb1aade3d16 +EBUILD tox-0.2.18.ebuild 3232 BLAKE2B 7d80c32b5c5a0240d7643f46ee29ab87a04aa6a08f798ce5d6c6a9a62ae9261b383412aac8938710562a180a522f2785aa455699b5cf14bdcf48b8ef319d98e9 SHA512 ed7899eafb63ecde109c8294f74668c31dbd92602c8f4f803b3bd4d8953f743028b01d168aaaf4052f99b9060607d856828ab63a93ee8f53fab15c3e3359533b +EBUILD tox-9999.ebuild 3088 BLAKE2B 689337dbd95cf6b20186473cc642947763c4f8577c305df4aad55b6e74e6feb1cee7898a7d8651ea7e57491d85b3ff136c914c2c76bbce64db6059ecea3d7525 SHA512 8ed472219c205c7524ce1fca59948abe261de025713e5b2f1d90681f1411cc3c94bba5b096e1b164d59ae1a7b8eca9349b45d81189edbdc1c80240ab54691886 +MISC metadata.xml 985 BLAKE2B a77c49ccdcb1407dc40590f2fbcd4a932d1167dbaad973c878da09107def195cc9755c6d5f1a824cf22006543f1f6db3461d03e11ba7a21b3f321b6173c8aee8 SHA512 67eecd0db74c985cd97c840414ff6860a1d5a3ac9eaa00cd73c5c61e59831ff458a596251605af9515817f074d76eb342c12714409e7b31176d56e9ee311fc0c diff --git a/net-libs/tox/metadata.xml b/net-libs/tox/metadata.xml index fa963f9331e6..434e886648f5 100644 --- a/net-libs/tox/metadata.xml +++ b/net-libs/tox/metadata.xml @@ -12,6 +12,7 @@ Adds support for audio and video. Enables DHT Bootstrap Node. + Builds utilities to create custom keys and profiles Log level: 1 Log level: 2 Log level: 3 diff --git a/net-libs/tox/tox-0.2.12-r1.ebuild b/net-libs/tox/tox-0.2.12-r1.ebuild deleted file mode 100644 index 62cb752a4e22..000000000000 --- a/net-libs/tox/tox-0.2.12-r1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake systemd - -MY_P="c-toxcore-${PV}" -DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform" -HOMEPAGE="https://tox.chat https://github.com/TokTok/c-toxcore" -SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0/0.2" -KEYWORDS="amd64 ~arm x86" -IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace log-warn static-libs test" - -REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn ) - daemon? ( dht-node )" -RESTRICT="!test? ( test )" - -BDEPEND="virtual/pkgconfig" -DEPEND=" - >dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal] - av? ( - media-libs/libvpx:= - media-libs/opus - ) - daemon? ( dev-libs/libconfig:= )" -RDEPEND=" - ${DEPEND} - daemon? ( - acct-group/tox - acct-user/tox - )" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - cmake_src_prepare - - # Remove faulty tests - local testname= - for testname in lan_discovery save_compatibility; do - sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die - done -} - -src_configure() { - local mycmakeargs=( - -DAUTOTEST=$(usex test) - -DBOOTSTRAP_DAEMON=$(usex daemon) - -DBUILD_MISC_TESTS=$(usex test) - -DBUILD_TOXAV=$(usex av) - -DDHT_BOOTSTRAP=$(usex dht-node) - -DENABLE_SHARED=ON - -DENABLE_STATIC=$(usex static-libs) - -DMUST_BUILD_TOXAV=$(usex av) - ) - - if use test; then - mycmakeargs+=( - -DTEST_TIMEOUT_SECONDS=120 - -DUSE_IPV6=$(usex ipv6) - ) - else - mycmakeargs+=(-DUSE_IPV6=OFF) - fi - - if use log-trace; then - mycmakeargs+=(-DMIN_LOGGER_LEVEL="TRACE") - elif use log-debug; then - mycmakeargs+=(-DMIN_LOGGER_LEVEL="DEBUG") - elif use log-info; then - mycmakeargs+=(-DMIN_LOGGER_LEVEL="INFO") - elif use log-warn; then - mycmakeargs+=(-DMIN_LOGGER_LEVEL="WARNING") - elif use log-error; then - mycmakeargs+=(-DMIN_LOGGER_LEVEL="ERROR") - else - mycmakeargs+=(-DMIN_LOGGER_LEVEL="") - einfo "Logging disabled" - fi - - cmake_src_configure -} - -src_test() { - cmake_src_test -j1 -} - -src_install() { - cmake_src_install - - if use daemon; then - newinitd "${FILESDIR}"/initd tox-dht-daemon - newconfd "${FILESDIR}"/confd tox-dht-daemon - insinto /etc - doins "${FILESDIR}"/tox-bootstrapd.conf - systemd_dounit "${FILESDIR}"/tox-bootstrapd.service - fi -} - -pkg_postinst() { - if use dht-node; then - ewarn "The QA notice regarding libmisc_tools.so is known by the upstream" - ewarn "developers and is on their TODO list. For more information," - ewarn "please see 'https://github.com/toktok/c-toxcore/issues/1144'" - ewarn "" - ewarn "There is currently an unresolved issue with tox DHT Bootstrap node" - ewarn "that causes the program to be built with a null library reference." - ewarn "This causes an infinite loop for certain revdep-rebuild commands." - ewarn "If you aren't running a node, please consider disabling the dht-node use flag." - fi -} diff --git a/net-libs/tox/tox-0.2.18.ebuild b/net-libs/tox/tox-0.2.18.ebuild new file mode 100644 index 000000000000..4296b1ad05d7 --- /dev/null +++ b/net-libs/tox/tox-0.2.18.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake systemd + +MY_P=c-toxcore-${PV} +DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform" +HOMEPAGE="https://tox.chat https://github.com/TokTok/c-toxcore" +SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0/0.2" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+av debug daemon dht-node ipv6 key-utils log-debug +log-error log-info log-trace log-warn test" + +REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn ) + daemon? ( dht-node )" +RESTRICT="!test? ( test )" + +BDEPEND="virtual/pkgconfig" +DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal] + dev-libs/msgpack + av? ( + media-libs/libvpx:= + media-libs/opus + ) + daemon? ( dev-libs/libconfig:= )" + +RDEPEND="${DEPEND} + daemon? ( + acct-group/tox + acct-user/tox + ) + key-utils? ( || ( sys-devel/gcc[openmp] sys-devel/clang-runtime[openmp] ) )" + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + cmake_src_prepare + + #Remove faulty tests + for testname in lan_discovery save_load; do + sed -i -e "/^auto_test(${testname})$/d" ./auto_tests/CMakeLists.txt || die + done +} + +src_configure() { + local mycmakeargs=( + -DAUTOTEST=$(usex test ON OFF) + -DBOOTSTRAP_DAEMON=$(usex daemon ON OFF) + -DBUILD_FUN_UTILS=$(usex key-utils ON OFF) + -DBUILD_FUZZ_TESTS=OFF #Upstream reports that this breaks all other tests + -DBUILD_MISC_TESTS=$(usex test ON OFF) + -DBUILD_TOXAV=$(usex av ON OFF) + -DCMAKE_BUILD_TYPE=$(usex debug Debug Release) + -DDHT_BOOTSTRAP=$(usex dht-node ON OFF) + -DENABLE_SHARED=ON + -DENABLE_STATIC=OFF + -DFULLY_STATIC=OFF + -DMUST_BUILD_TOXAV=$(usex av ON OFF) + ) + + if use test; then + mycmakeargs+=( + -DTEST_TIMEOUT_SECONDS=150 + -DNON_HERMETIC_TESTS=OFF + -DUSE_IPV6=$(usex ipv6 ON OFF) + ) + else + mycmakeargs+=(-DUSE_IPV6=OFF) + fi + + if use log-trace; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="TRACE") + elif use log-debug; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="DEBUG") + elif use log-info; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="INFO") + elif use log-warn; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="WARNING") + elif use log-error; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="ERROR") + else + mycmakeargs+=(-DMIN_LOGGER_LEVEL="") + einfo "Logging disabled" + fi + + cmake_src_configure +} + +src_test() { + cmake_src_test -j1 +} + +src_install() { + cmake_src_install + + if use daemon; then + newinitd "${FILESDIR}"/initd tox-dht-daemon + newconfd "${FILESDIR}"/confd tox-dht-daemon + insinto /etc + doins "${FILESDIR}"/tox-bootstrapd.conf + systemd_dounit "${FILESDIR}"/tox-bootstrapd.service + fi +} + +pkg_postinst() { + if use dht-node; then + ewarn "The QA notice regarding libmisc_tools.so is known by the upstream" + ewarn "developers and is on their TODO list. For more information," + ewarn "please see 'https://github.com/toktok/c-toxcore/issues/1144'" + ewarn "" + ewarn "There is currently an unresolved issue with tox DHT Bootstrap node" + ewarn "that causes the program to be built with a null library reference." + ewarn "This causes an infinite loop for certain revdep-rebuild commands." + ewarn "If you aren't running a node, please consider disabling the dht-node use flag." + fi +} diff --git a/net-libs/tox/tox-9999.ebuild b/net-libs/tox/tox-9999.ebuild index ba31cc1a5c28..ae60fff26c54 100644 --- a/net-libs/tox/tox-9999.ebuild +++ b/net-libs/tox/tox-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git" LICENSE="GPL-3+" SLOT="0/0.2" KEYWORDS="" -IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace log-warn test" +IUSE="+av debug daemon dht-node ipv6 key-utils log-debug +log-error log-info log-trace log-warn test" RESTRICT="!test? ( test )" REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn ) @@ -21,6 +21,7 @@ REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn ) BDEPEND="virtual/pkgconfig" DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal] + dev-libs/msgpack av? ( media-libs/libvpx:= media-libs/opus @@ -31,14 +32,15 @@ RDEPEND=" daemon? ( acct-group/tox acct-user/tox - )" + ) + key-utils? ( || ( sys-devel/gcc[openmp] sys-devel/clang-runtime[openmp] ) )" src_prepare() { cmake_src_prepare #remove faulty tests - for testname in lan_discovery save_compatibility set_status_message; do - sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die + for testname in lan_discovery save_load; do + sed -i -e "/^auto_test(${testname})$/d" ./auto_tests/CMakeLists.txt || die done } @@ -46,15 +48,19 @@ src_configure() { local mycmakeargs=( -DAUTOTEST=$(usex test ON OFF) -DBOOTSTRAP_DAEMON=$(usex daemon ON OFF) + -DBUILD_FUN_UTILS=$(usex key-utils ON OFF) + -DBUILD_FUZZ_TESTS=OFF #Upstream reports that this breaks all other tests -DBUILD_MISC_TESTS=$(usex test ON OFF) -DBUILD_TOXAV=$(usex av ON OFF) + -DCMAKE_BUILD_TYPE=$(usex debug Debug Release) -DDHT_BOOTSTRAP=$(usex dht-node ON OFF) -DENABLE_SHARED=ON -DENABLE_STATIC=OFF -DMUST_BUILD_TOXAV=$(usex av ON OFF)) if use test; then mycmakeargs+=( - -DTEST_TIMEOUT_SECONDS=120 + -DTEST_TIMEOUT_SECONDS=150 + -DNON_HERMETIC_TESTS=OFF -DUSE_IPV6=$(usex ipv6 ON OFF)) else mycmakeargs+=(-DUSE_IPV6=OFF) @@ -95,12 +101,13 @@ src_install() { pkg_postinst() { if use dht-node; then - ewarn "There is currently an unresolved issuer with tox DHT" - ewarn "Bootstrap node that causes the program to be built" - ewarn "with a null libray reference. This causes an infinite" - ewarn "loop for certain revdep-rebuild commands. If you aren't" - ewarn "running a node, please consider disabling the dht node" - ewarn "use flag. For more information please refer to" - ewarn "https://github.com/toktok/c-toxcore/issues/1144" + ewarn "The QA notice regarding libmisc_tools.so is known by the upstream" + ewarn "developers and is on their TODO list. For more information," + ewarn "please see 'https://github.com/toktok/c-toxcore/issues/1144'" + ewarn "" + ewarn "There is currently an unresolved issuer with tox DHT Bootstrap node" + ewarn "that causes the program to be built with a null libray reference." + ewarn "This causes an infinite loop for certain revdep-rebuild commands." + ewarn "If you aren't running a node, consider disabling the dht node use flag" fi } -- cgit v1.2.3