1 |
commit: c6397a4edd486373d4f86e980b3e839ea09193de |
2 |
Author: Josiah Mullins <JoMull01 <AT> protonmail <DOT> com> |
3 |
AuthorDate: Tue Dec 21 21:13:32 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 7 05:06:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6397a4e |
7 |
|
8 |
net-libs/tox: Remove old version 0.2.11 |
9 |
|
10 |
Signed-off-by: Josiah Mullins <JoMull01 <AT> protonmail.com> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
net-libs/tox/Manifest | 1 - |
14 |
net-libs/tox/tox-0.2.11-r1.ebuild | 119 -------------------------------------- |
15 |
2 files changed, 120 deletions(-) |
16 |
|
17 |
diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest |
18 |
index baec84db1210..e976a4f2d42d 100644 |
19 |
--- a/net-libs/tox/Manifest |
20 |
+++ b/net-libs/tox/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST c-toxcore-0.2.11.tar.gz 507476 BLAKE2B 67e86a5e5c8da1c387a319e6726eaccec28608f165f0b165d12e379cc7d8080baf9b89f438804ab8e59a8690a11bebba7f2ef689554800312fe039da77e70cac SHA512 616b30423a170463b4445f6940e038fd9af820946c970260fcf72cc54d08d2615364b9f086869180e3ae26154ea92fea6e9a602366306bc40c3e1575e86350df |
23 |
DIST c-toxcore-0.2.12.tar.gz 504832 BLAKE2B 625713142cc1e4b6583879144c05d47a40a1d98031a8a2bf0deec85a199f816a0ff6df5c76e9487a526d7c1c1650b37a10ed81be8233eaa1395707851378474f SHA512 c22f139cfff3a5aedf5fb08c33cae0dae3d6fbceec87867c81290e3bf9d2e13466a0e2bad8378a7a7ba1e9b7b9ad756712963461ae248102e4cab7d4691228d8 |
24 |
|
25 |
diff --git a/net-libs/tox/tox-0.2.11-r1.ebuild b/net-libs/tox/tox-0.2.11-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index e508bc927f6d..000000000000 |
28 |
--- a/net-libs/tox/tox-0.2.11-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,119 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-inherit cmake systemd |
37 |
- |
38 |
-MY_P="c-toxcore-${PV}" |
39 |
-DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform" |
40 |
-HOMEPAGE="https://tox.chat" |
41 |
-SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" |
42 |
- |
43 |
-LICENSE="GPL-3+" |
44 |
-SLOT="0/0.2" |
45 |
-KEYWORDS="amd64 ~arm x86" |
46 |
-IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace log-warn static-libs test" |
47 |
- |
48 |
-REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn ) |
49 |
- daemon? ( dht-node )" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-BDEPEND="virtual/pkgconfig" |
53 |
-DEPEND=" |
54 |
- >dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal] |
55 |
- av? ( |
56 |
- media-libs/libvpx:= |
57 |
- media-libs/opus |
58 |
- ) |
59 |
- daemon? ( dev-libs/libconfig:= )" |
60 |
-RDEPEND=" |
61 |
- ${DEPEND} |
62 |
- daemon? ( |
63 |
- acct-group/tox |
64 |
- acct-user/tox |
65 |
- )" |
66 |
- |
67 |
-S="${WORKDIR}/${MY_P}" |
68 |
- |
69 |
-src_prepare() { |
70 |
- cmake_src_prepare |
71 |
- #remove faulty tests |
72 |
- for testname in bootstrap lan_discovery save_compatibility; do |
73 |
- sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die |
74 |
- done |
75 |
-} |
76 |
- |
77 |
-src_configure() { |
78 |
- local mycmakeargs=( |
79 |
- -DAUTOTEST=$(usex test) |
80 |
- -DBOOTSTRAP_DAEMON=$(usex daemon) |
81 |
- -DBUILD_MISC_TESTS=$(usex test) |
82 |
- -DBUILD_TOXAV=$(usex av) |
83 |
- -DDHT_BOOTSTRAP=$(usex dht-node) |
84 |
- -DENABLE_SHARED=ON |
85 |
- -DENABLE_STATIC=$(usex static-libs) |
86 |
- -DMUST_BUILD_TOXAV=$(usex av)) |
87 |
- if use test; then |
88 |
- mycmakeargs+=( |
89 |
- -DTEST_TIMEOUT_SECONDS=120 |
90 |
- -DUSE_IPV6=$(usex ipv6)) |
91 |
- else |
92 |
- mycmakeargs+=(-DUSE_IPV6=OFF) |
93 |
- fi |
94 |
- |
95 |
- if use log-trace; then |
96 |
- mycmakeargs+=(-DMIN_LOGGER_LEVEL="TRACE") |
97 |
- elif use log-debug; then |
98 |
- mycmakeargs+=(-DMIN_LOGGER_LEVEL="DEBUG") |
99 |
- elif use log-info; then |
100 |
- mycmakeargs+=(-DMIN_LOGGER_LEVEL="INFO") |
101 |
- elif use log-warn; then |
102 |
- mycmakeargs+=(-DMIN_LOGGER_LEVEL="WARNING") |
103 |
- elif use log-error; then |
104 |
- mycmakeargs+=(-DMIN_LOGGER_LEVEL="ERROR") |
105 |
- else |
106 |
- mycmakeargs+=(-DMIN_LOGGER_LEVEL="") |
107 |
- einfo "Logging disabled" |
108 |
- fi |
109 |
- |
110 |
- cmake_src_configure |
111 |
-} |
112 |
- |
113 |
-src_test() { |
114 |
- cmake_src_test -j1 |
115 |
-} |
116 |
- |
117 |
-src_install() { |
118 |
- cmake_src_install |
119 |
- |
120 |
- if use daemon; then |
121 |
- newinitd "${FILESDIR}"/initd tox-dht-daemon |
122 |
- newconfd "${FILESDIR}"/confd tox-dht-daemon |
123 |
- insinto /etc |
124 |
- doins "${FILESDIR}"/tox-bootstrapd.conf |
125 |
- systemd_dounit "${FILESDIR}"/tox-bootstrapd.service |
126 |
- fi |
127 |
-} |
128 |
- |
129 |
-pkg_postinst() { |
130 |
- if use dht-node; then |
131 |
- ewarn "The QA notice regarding libmisc_tools.so is known by the upstream" |
132 |
- ewarn "developers and is on their TODO list." |
133 |
- ewarn "" |
134 |
- ewarn "There is currently an unresolved issue with tox DHT Bootstrap node" |
135 |
- ewarn "that causes the program to be built with a null library reference." |
136 |
- ewarn "This causes an infinite loop for certain revdep-rebuild commands." |
137 |
- ewarn "If you aren't running a node, please consider disabling the dht-node use flag." |
138 |
- fi |
139 |
- if use daemon; then |
140 |
- if [[ -f ${EROOT}/var/lib/tox-dht-bootstrap/key ]]; then |
141 |
- ewarn "Backwards compatability with the bootstrap daemon might have been" |
142 |
- ewarn "broken a while ago. To resolve this issue, REMOVE the following files:" |
143 |
- ewarn " ${EROOT}/var/lib/tox-dht-bootstrap/key" |
144 |
- ewarn " ${EROOT}/etc/tox-bootstrapd.conf" |
145 |
- ewarn " ${EROOT}/run/tox-dht-bootstrap/tox-dht-bootstrap.pid" |
146 |
- ewarn "Then just re-emerge net-libs/tox" |
147 |
- fi |
148 |
- fi |
149 |
-} |