Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/tox/
Date: Sat, 27 Oct 2018 08:04:04
Message-Id: 1540627427.105c5524c8ea095606d05c8ca21de0345dca3256.mgorny@gentoo
1 commit: 105c5524c8ea095606d05c8ca21de0345dca3256
2 Author: Josiah Mullins <jomull01 <AT> protonmail <DOT> com>
3 AuthorDate: Fri Oct 26 00:01:34 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 27 08:03:47 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=105c5524
7
8 net-libs/tox: clean old versions
9
10 This removes tox-0.1.6 and tox-0_pre20160904.
11
12 Closes: https://bugs.gentoo.org/623658
13 Signed-off-by: Josiah Mullins <JoMull01 <AT> protonmail.com>
14 Closes: https://github.com/gentoo/gentoo/pull/10231
15 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
16
17 net-libs/tox/Manifest | 2 -
18 net-libs/tox/tox-0.1.6.ebuild | 77 -----------------------------------
19 net-libs/tox/tox-0_pre20160904.ebuild | 75 ----------------------------------
20 3 files changed, 154 deletions(-)
21
22 diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
23 index 6236ccd4992..0252fcb17b3 100644
24 --- a/net-libs/tox/Manifest
25 +++ b/net-libs/tox/Manifest
26 @@ -1,5 +1,3 @@
27 DIST c-toxcore-0.1.10.tar.gz 820090 BLAKE2B 071e530db2dd6ca387a6cd88f1145515ab8741017626fcb744fdc9940263b6c2604b456b6d1357bc78be5e33b544ecf882e608bc7b4a4227d44c5507e5dbad56 SHA512 428fee2d811d0b6d5d005f082aa06f95765794b1a8bc77ec4411bb9ec9085b99675535b88db50f5ad7313850a0bb3c54c4e2e8d8864cea7c0c7d81be9879b157
28 DIST c-toxcore-0.2.5.tar.gz 482160 BLAKE2B b56511d9cf7bd3a9d2b9177b33bdbf60ac571f6c95d7ee26e6ecae7c9395d8cdd4f6650025f8b727ad9b825b304c4555efaee0f17d60a26bc5bf599905ec27ab SHA512 a425a106054f29533b43b14cb8916706d04158d91b66cdada0e9e007aebd3f68a253b8519a75ca94bffba3adc57362b4e7c44e9356fce416f081a7eda6a61e18
29 DIST c-toxcore-0.2.8.tar.gz 502907 BLAKE2B 0ca2c861b3cd982b471fac5cf8bdacd21c3248118846cc17e51f33ba04cf3da12a64578744e47daa27bb8613762a6f562eb550f0b7af05a66696412f6d0a6360 SHA512 a23a87a74fe97091b00ea76676a22578ed1e2426ac777146bb6efc984f1bfd3fff0d7fb149691155b8e2db56e1e088a1884536e5b717ff5c45a87b437f275735
30 -DIST tox-0.1.6.tar.lz 314837 BLAKE2B 087a6f5d5ef55709b5f6188d661d556326bb3e6eac33e55f9faf598d433e33dabbd983ab452e948bff97f82cdc336e0fd48d3f0a6ec57551914884a809b9118d SHA512 57ed7cee2c621c57e24f5ab36d68d99414d9820cdb3e8b7c4390818222f9d885f352f9cf76c8eb522c238bebc7d420bcf3cdd5f6ab65b9801aadbd225765166c
31 -DIST tox-0_pre20160904.tar.gz 395495 BLAKE2B d59358c5ff904b17e9c5297a0ce2aff39777f8dd4bfeba1e5e78a284a5016921794d0e0699f91a99f53428809a859ce959e17b4ae9fffdd691005c377834057d SHA512 c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1
32
33 diff --git a/net-libs/tox/tox-0.1.6.ebuild b/net-libs/tox/tox-0.1.6.ebuild
34 deleted file mode 100644
35 index 6f3d6ba59e8..00000000000
36 --- a/net-libs/tox/tox-0.1.6.ebuild
37 +++ /dev/null
38 @@ -1,77 +0,0 @@
39 -# Copyright 1999-2017 Gentoo Foundation
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=6
43 -
44 -inherit autotools systemd unpacker user
45 -
46 -DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
47 -HOMEPAGE="https://tox.chat"
48 -SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/c-toxcore-v${PV}.tar.lz -> ${P}.tar.lz"
49 -
50 -LICENSE="GPL-3+"
51 -SLOT="0/0.1"
52 -KEYWORDS="~amd64 ~arm ~x86"
53 -IUSE="+av daemon log-debug log-error log-info log-trace log-warn +no-log ntox static-libs test"
54 -
55 -REQUIRED_USE="^^ ( no-log log-trace log-debug log-info log-warn log-error )"
56 -
57 -RDEPEND="
58 - av? ( media-libs/libvpx:=
59 - media-libs/opus )
60 - daemon? ( dev-libs/libconfig )
61 - ntox? ( sys-libs/ncurses:0= )
62 - >=dev-libs/libsodium-0.6.1:=[asm,urandom]"
63 -DEPEND="${RDEPEND}
64 - $(unpacker_src_uri_depends)
65 - test? ( dev-libs/check )
66 - virtual/pkgconfig"
67 -
68 -S=${WORKDIR}
69 -
70 -src_prepare() {
71 - default
72 - eautoreconf
73 -}
74 -
75 -src_configure() {
76 - econf \
77 - $(usex log-trace "--enable-logging --with-log-level=TRACE" "") \
78 - $(usex log-debug "--enable-logging --with-log-level=DEBUG" "") \
79 - $(usex log-info "--enable-logging --with-log-level=INFO" "") \
80 - $(usex log-warn "--enable-logging --with-log-level=WARNING" "") \
81 - $(usex log-error "--enable-logging --with-log-level=ERROR" "") \
82 - $(use_enable av) \
83 - $(use_enable test tests) \
84 - $(use_enable ntox) \
85 - $(use_enable daemon) \
86 - $(use_enable static-libs static)
87 -}
88 -
89 -src_install() {
90 - default
91 - if use daemon; then
92 - newinitd "${FILESDIR}"/initd tox-dht-daemon
93 - newconfd "${FILESDIR}"/confd tox-dht-daemon
94 - insinto /etc
95 - doins "${FILESDIR}"/tox-bootstrapd.conf
96 - systemd_dounit "${FILESDIR}"/tox-bootstrapd.service
97 - fi
98 -
99 - find "${D}" -name '*.la' -delete || die
100 -}
101 -
102 -pkg_postinst() {
103 - if use daemon; then
104 - enewgroup ${PN}
105 - enewuser ${PN} -1 -1 -1 ${PN}
106 - if [[ -f ${EROOT%/}/var/lib/tox-dht-bootstrap/key ]]; then
107 - ewarn "Backwards compatability with the bootstrap daemon might have been"
108 - ewarn "broken a while ago. To resolve this issue, REMOVE the following files:"
109 - ewarn " ${EROOT%/}/var/lib/tox-dht-bootstrap/key"
110 - ewarn " ${EROOT%/}/etc/tox-bootstrapd.conf"
111 - ewarn " ${EROOT%/}/run/tox-dht-bootstrap/tox-dht-bootstrap.pid"
112 - ewarn "Then just re-emerge net-libs/tox"
113 - fi
114 - fi
115 -}
116
117 diff --git a/net-libs/tox/tox-0_pre20160904.ebuild b/net-libs/tox/tox-0_pre20160904.ebuild
118 deleted file mode 100644
119 index ee312409551..00000000000
120 --- a/net-libs/tox/tox-0_pre20160904.ebuild
121 +++ /dev/null
122 @@ -1,75 +0,0 @@
123 -# Copyright 1999-2016 Gentoo Foundation
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=6
127 -
128 -inherit autotools systemd user vcs-snapshot
129 -
130 -DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
131 -HOMEPAGE="https://tox.chat"
132 -EGIT_COMMIT="755f084e8720b349026c85afbad58954cb7ff1d4"
133 -SRC_URI="https://github.com/irungentoo/toxcore/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
134 -
135 -LICENSE="GPL-3+"
136 -SLOT="0/0.0"
137 -KEYWORDS="~amd64 ~arm ~x86"
138 -IUSE="+av daemon log-debug log-error log-info log-trace log-warn +no-log ntox static-libs test"
139 -
140 -REQUIRED_USE="^^ ( no-log log-trace log-debug log-info log-warn log-error )"
141 -
142 -RDEPEND="
143 - av? ( media-libs/libvpx:=
144 - media-libs/opus )
145 - daemon? ( dev-libs/libconfig )
146 - ntox? ( sys-libs/ncurses:0= )
147 - >=dev-libs/libsodium-0.6.1:=[asm,urandom]"
148 -DEPEND="${RDEPEND}
149 - test? ( dev-libs/check )
150 - virtual/pkgconfig"
151 -
152 -src_prepare() {
153 - default
154 - eautoreconf
155 -}
156 -
157 -src_configure() {
158 - econf \
159 - $(usex log-trace "--enable-logging --with-log-level=TRACE" "") \
160 - $(usex log-debug "--enable-logging --with-log-level=DEBUG" "") \
161 - $(usex log-info "--enable-logging --with-log-level=INFO" "") \
162 - $(usex log-warn "--enable-logging --with-log-level=WARNING" "") \
163 - $(usex log-error "--enable-logging --with-log-level=ERROR" "") \
164 - $(use_enable av) \
165 - $(use_enable test tests) \
166 - $(use_enable ntox) \
167 - $(use_enable daemon) \
168 - $(use_enable static-libs static)
169 -}
170 -
171 -src_install() {
172 - default
173 - if use daemon; then
174 - newinitd "${FILESDIR}"/initd tox-dht-daemon
175 - newconfd "${FILESDIR}"/confd tox-dht-daemon
176 - insinto /etc
177 - doins "${FILESDIR}"/tox-bootstrapd.conf
178 - systemd_dounit "${FILESDIR}"/tox-bootstrapd.service
179 - fi
180 -
181 - find "${D}" -name '*.la' -delete || die
182 -}
183 -
184 -pkg_postinst() {
185 - if use daemon; then
186 - enewgroup ${PN}
187 - enewuser ${PN} -1 -1 -1 ${PN}
188 - if [[ -f ${EROOT}var/lib/tox-dht-bootstrap/key ]]; then
189 - ewarn "Backwards compatability with the bootstrap daemon might have been"
190 - ewarn "broken a while ago. To resolve this issue, REMOVE the following files:"
191 - ewarn " ${EROOT}var/lib/tox-dht-bootstrap/key"
192 - ewarn " ${EROOT}etc/tox-bootstrapd.conf"
193 - ewarn " ${EROOT}run/tox-dht-bootstrap/tox-dht-bootstrap.pid"
194 - ewarn "Then just re-emerge net-libs/tox"
195 - fi
196 - fi
197 -}