diff options
Diffstat (limited to 'net-libs/tox')
-rw-r--r-- | net-libs/tox/Manifest | 6 | ||||
-rw-r--r-- | net-libs/tox/tox-0.2.13-r1.ebuild | 114 | ||||
-rw-r--r-- | net-libs/tox/tox-0.2.20.ebuild (renamed from net-libs/tox/tox-0.2.18-r3.ebuild) | 32 |
3 files changed, 17 insertions, 135 deletions
diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest index 657bb1278986..722ac2d47fc3 100644 --- a/net-libs/tox/Manifest +++ b/net-libs/tox/Manifest @@ -2,11 +2,9 @@ AUX confd 27 BLAKE2B 16d0801db1dceed2044c14e9f1220ee4f31268622102a50669135dcb199 AUX initd 676 BLAKE2B 2ea3b4f82a6f432d7afbe5256fd61aea5d39313a1c02b001319d2dab760694b76b5846bb8fd2594589e026b123918fa7fb84580860f4deccd8005febcc3ee464 SHA512 0913e9eff00fac22af5b0929c05413e5e78c7268020c53d1f42c33ecc586a8ec9c921cb555157a8866af86ee8ec98a1c2e3ee2ab4d6842ca1913baee3ca16744 AUX tox-bootstrapd.conf 2397 BLAKE2B 336317dc2b2a7958420164d3ef3197ea2aefbb51822791d2feccb8e44cf09e90779986210bf854c0cff0d1b4519c1b4acd92723e92b8b262859f7d9da7ee55e9 SHA512 0d90ffb47e42013af68b5eb7ffb03d670523b20de17ba7fe63e227502188cfd72242450d09e94d381fa201cdff459307622c9ab19f3bf651d6948979e103e3c6 AUX tox-bootstrapd.service 504 BLAKE2B 3ce3e96734220da225e292c2feffa1507917ba84372a9e76be34b3ffddd70f1d896f4ac2058b3a8826e5cd9b2d7b441cca5f39305c785422ecc5e12a9f65b757 SHA512 eb1dddc7c6de009c31c646a1384984fa92612414d51d531a4247057b34523f8ea32e0a615500a63a55910c994e99535018bfea8c8879926704e0c84ff102ab6f -DIST c-toxcore-0.2.13.tar.gz 511533 BLAKE2B 8c68180710e3d06eaaef9fc05dc0ff2492907586934d1d6f57f147e07bb78b262f78b0057911e4b5cd27d2d1efb51cb714f757b90caa269988e604cafa62cd00 SHA512 f4ed9ea4afb7f9c14a5afd949f3a52e7880838c910acaf5adc39acb09ad574406be08f43b76a9fbdd4fc4bd14f0d73212dc7bd10783565055c910c6c3e5e357a -DIST c-toxcore-0.2.18.tar.gz 653247 BLAKE2B c27da02753aede5056c42e5bf1949920fc30e98a23c058ab445c2fe345271e442885a3eeb011e8fde16d8fc8451376a015c5f821145785c75e7d0dda3a8b72eb SHA512 e9b0d73a2e0460290c8453a0a64fc91deed2e0cf87f945d0ba203b929f19a296571d7140f4df89b06f7e67f2b61894460ce4dd32ab9ecf6ea7d5b67538fadb23 DIST c-toxcore-0.2.19.tar.gz 860531 BLAKE2B 5c341d85f9af2d44656600f1e2e95d5bc420effd7cb084f7568276831c489712ea39b8ffac7e901c50672f1a7adb68bcb9eab72cb3123bed5a5e7cc3a4749777 SHA512 793070e2f53e9736e23803d5e60dab8997b2e1f0b0655807b32667d660ee240b1904842aee1910f508ef26f0d4af8ca003fe384e6c59f26787a1059f5d5a5b22 -EBUILD tox-0.2.13-r1.ebuild 2923 BLAKE2B 48eb83d424000252e60af6e2402157450cfde117592a9a8c4dfe95bf13aecd9e79abd192366417c307ec196c8b3461e8c0d3f7be8729b8c42859bd9bfb437df1 SHA512 08bfa551014c05320a6ef30121ff5a21838b95779da7341f559a4a0e4f0e43ab2f3f9e8ca3b358ac98059c3f7b679c5379e6dd146db997a30c3790f127d7b0af -EBUILD tox-0.2.18-r3.ebuild 3219 BLAKE2B d8b8498154980daacce72e20166760bf9aacb91988a96a30b57aabe70402b5a1645fc6b5a670e6d6b9fadd9aa877617de2956a04f52be139d9f2878ec456368f SHA512 aa463271610bd7032ce0092b0a281f2b50a93fca13da0239ae239e678a2189076ca5cc99089f9a29595ca472749aa274f541e08131e3bca10b3b5933982ebf7f +DIST c-toxcore-0.2.20.tar.gz 862660 BLAKE2B 77f0d423f3579f83f114e2201315d8bb97a951a79aeefaf9ef6e012c7c98b6bba7889359a405746c976ac4689112a9366bdf291998c6f835972e540d01782b20 SHA512 84497bd8d542d8ccb4d77d9210852a0e73a0f2c4885b8282c39263042555495c37196b5f2ddf37f393bcc2b84d839bba3506da2c68440e4d5329d086b2ebefb6 EBUILD tox-0.2.19.ebuild 3015 BLAKE2B 84ccc00a6b0f03457527219b8ce7a20267231347b57dac6354a5f65a9ff8d613c40a9c84ff6fe2654a13472d09d7e4c2c5783769a91359b1377805f98be72071 SHA512 3a5de51c28f2dfad107c926468ebfba2f3eb3163fcd0de8142b6d7368e196dab2516b29b152dc1ea81c61146bf0497848c337980b86c6ca3434348d7cbd2da8e +EBUILD tox-0.2.20.ebuild 3029 BLAKE2B 8c3e4a3c947a6456e61219aff7fc5260894fe6b42b05c529d5a66565fdd08099103ed6027e4628c54cc0a11fb23ef11ce939d771d90702e7e90755cb2699102a SHA512 4b01caf9dc4382cd19c4a4387d20a9e5552b7ee4702e8d750cab7f96e47b84841246327256f09cf958cf5e664fa6acf3a0a24cc2b43a4ff9aa975282a07b77a4 EBUILD tox-9999.ebuild 2812 BLAKE2B 46c506b763d13dc798c6933c6ac52458c97364eb9745706b3dca3658b3d7e5938c19c6c68f7b211ddc2b38046e06b96cb2df6df4ee9ee4dd1c2e9d107abe312e SHA512 88b3427ecc697f4faf7ccade7e6a6efbf81b7f0ca30b9bc68e82aebf22e454c144f3c26e0a04b7b85b6e589ef7940920a330faef07a06a7e5a7f3502060922f6 MISC metadata.xml 1049 BLAKE2B 4150b812ccf96ccd8a98066054d37b0e74123f8c68b2f68a0cbe6e7227e628a34ed7813ea012b6e468f23b2e8f27a67922108014d8c019fe303e1f57a0dbb7ad SHA512 ed549db2d83091dbd6fba5c7b1997e3062b0739b83e12a7113f9da0fa3e70ee97871e52dfca4465ec13746c3f43002dd02db19168ce07437bcefe9dcd69bfbaf diff --git a/net-libs/tox/tox-0.2.13-r1.ebuild b/net-libs/tox/tox-0.2.13-r1.ebuild deleted file mode 100644 index cabfe0645e38..000000000000 --- a/net-libs/tox/tox-0.2.13-r1.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2024 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/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 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(-)] - 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 - for testname in lan_discovery save_compatibility set_status_message; do - sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die - done -} - -src_configure() { - local mycmakeargs=( - -DAUTOTEST=$(usex test ON OFF) - -DBOOTSTRAP_DAEMON=$(usex daemon ON OFF) - -DBUILD_MISC_TESTS=$(usex test ON OFF) - -DBUILD_TOXAV=$(usex av ON OFF) - -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=150 - -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-0.2.18-r3.ebuild b/net-libs/tox/tox-0.2.20.ebuild index e4a4b180f3e0..73970ba52867 100644 --- a/net-libs/tox/tox-0.2.18-r3.ebuild +++ b/net-libs/tox/tox-0.2.20.ebuild @@ -1,21 +1,20 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake systemd -MY_P="c-toxcore-${PV}" -S="${WORKDIR}/${MY_P}" - DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform" HOMEPAGE="https://tox.chat https://github.com/TokTok/c-toxcore" +MY_P="c-toxcore-${PV}" +S="${WORKDIR}/${MY_P}" 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" +IUSE="+av debug daemon dht-node experimental 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 )" @@ -40,7 +39,7 @@ src_prepare() { cmake_src_prepare #Remove faulty tests - for testname in lan_discovery save_load; do + for testname in group_topic, lan_discovery; do sed -i -e "/^auto_test(${testname})$/d" ./auto_tests/CMakeLists.txt || die done } @@ -50,21 +49,24 @@ src_configure() { -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_FUZZ_TESTS=OFF #Requires the compiler to be Clang -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 + -DEXPERIMENTAL_API=$(usex experimental ON OFF) -DFULLY_STATIC=OFF -DMUST_BUILD_TOXAV=$(usex av ON OFF) + -DUNITTEST=OFF ) if use test; then mycmakeargs+=( - -DTEST_TIMEOUT_SECONDS=150 -DNON_HERMETIC_TESTS=OFF + -DPROXY_TEST=OFF + -DTEST_TIMEOUT_SECONDS=150 -DUSE_IPV6=$(usex ipv6 ON OFF) ) else @@ -106,14 +108,10 @@ src_install() { } 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." + if use daemon; then + elog "Before you can run the daemon, you need to add nodes to" + elog "configuration which exists at /etc/tox-bootstrapd.conf" + elog "Details about these nodes can be found at https://nodes.tox.chat" + elog "Then run, if necessary, #rc-update add tox-dht-daemon default" fi } |