Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/tox/
Date: Mon, 05 Dec 2016 22:48:43
Message-Id: 1480978113.2aca3fe64211892fa809fba687e510ae3ccce2f4.monsieurp@gentoo
1 commit: 2aca3fe64211892fa809fba687e510ae3ccce2f4
2 Author: Zetok Zalbavar <zetok <AT> openmailbox <DOT> org>
3 AuthorDate: Sun Dec 4 21:31:35 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 5 22:48:33 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aca3fe6
7
8 net-libs/tox: remove an old ebuild.
9
10 Package-Manager: portage-2.3.0
11 Closes: https://github.com/gentoo/gentoo/pull/3009
12
13 net-libs/tox/Manifest | 1 -
14 net-libs/tox/tox-0_pre20160201.ebuild | 78 -----------------------------------
15 2 files changed, 79 deletions(-)
16
17 diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
18 index d7e03c0..69be34a 100644
19 --- a/net-libs/tox/Manifest
20 +++ b/net-libs/tox/Manifest
21 @@ -1,2 +1 @@
22 -DIST tox-0_pre20160201.tar.gz 393867 SHA256 4df62a3488429f0b1adbf24312dc39eb140bae88774124072400930967888d19 SHA512 25cd407855bb8a7b916ab36fd84558c08b3d428e9299ad45f362481d2df0cf29f7d74c00f20b5ce5f6f30f1e1db490f3e34b44f55c71b30e23b6d74566587305 WHIRLPOOL 818f2a12eec2a9ac62082a0bd98868bfa48f80453d650475b4be7d64b7d73de1515724f8006a9b0e4a9260be205a9d1dcb556c6fd6052a6d5978d763820db5b2
23 DIST tox-0_pre20160904.tar.gz 395495 SHA256 2d4a0d096bdb81b12b10551765fb9f87270e170f10f387f700b3def68cb6c35c SHA512 c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1 WHIRLPOOL abd3f61784fac93d983e453515d1e8bc87f7d76651a53ce6f566a277d7ec7c1e03294d95781364ce9ab30f2698c6f5cd552bfa4888f8d5d0d315daf038980c63
24
25 diff --git a/net-libs/tox/tox-0_pre20160201.ebuild b/net-libs/tox/tox-0_pre20160201.ebuild
26 deleted file mode 100644
27 index 1f4ca23..00000000
28 --- a/net-libs/tox/tox-0_pre20160201.ebuild
29 +++ /dev/null
30 @@ -1,78 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $Id$
34 -
35 -EAPI=5
36 -
37 -inherit autotools eutils user systemd
38 -
39 -DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
40 -HOMEPAGE="https://tox.chat"
41 -EGIT_COMMIT="94cc8b11ff473064526737936f64b6f9a19c239d"
42 -SRC_URI="https://github.com/irungentoo/toxcore/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="GPL-3+"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE="+av daemon log-debug log-error log-info log-trace log-warn +no-log ntox static-libs test"
48 -
49 -REQUIRED_USE="^^ ( no-log log-trace log-debug log-info log-warn log-error )"
50 -
51 -RDEPEND="
52 - av? ( media-libs/libvpx
53 - media-libs/opus )
54 - daemon? ( dev-libs/libconfig )
55 - ntox? ( sys-libs/ncurses )
56 - >=dev-libs/libsodium-0.6.1[asm,urandom]"
57 -DEPEND="${RDEPEND}
58 - test? ( dev-libs/check )
59 - virtual/pkgconfig"
60 -
61 -S="${WORKDIR}/toxcore-${EGIT_COMMIT}"
62 -
63 -src_prepare() {
64 - epatch_user
65 - eautoreconf
66 -}
67 -
68 -src_configure() {
69 - econf \
70 - $(usex log-trace "--enable-logging --with-log-level=TRACE" "") \
71 - $(usex log-debug "--enable-logging --with-log-level=DEBUG" "") \
72 - $(usex log-info "--enable-logging --with-log-level=INFO" "") \
73 - $(usex log-warn "--enable-logging --with-log-level=WARNING" "") \
74 - $(usex log-error "--enable-logging --with-log-level=ERROR" "") \
75 - $(use_enable av) \
76 - $(use_enable test tests) \
77 - $(use_enable ntox) \
78 - $(use_enable daemon) \
79 - $(use_enable static-libs static)
80 -}
81 -
82 -src_install() {
83 - default
84 - if use daemon; then
85 - newinitd "${FILESDIR}"/initd tox-dht-daemon
86 - newconfd "${FILESDIR}"/confd tox-dht-daemon
87 - insinto /etc
88 - doins "${FILESDIR}"/tox-bootstrapd.conf
89 - systemd_dounit "${FILESDIR}"/tox-bootstrapd.service
90 - fi
91 -
92 - prune_libtool_files
93 -}
94 -
95 -pkg_postinst() {
96 - if use daemon; then
97 - enewgroup ${PN}
98 - enewuser ${PN} -1 -1 -1 ${PN}
99 - if [[ -f ${EROOT}var/lib/tox-dht-bootstrap/key ]]; then
100 - ewarn "Backwards compatability with the bootstrap daemon might have been"
101 - ewarn "broken a while ago. To resolve this issue, REMOVE the following files:"
102 - ewarn " /var/lib/tox-dht-bootstrap/key"
103 - ewarn " /etc/tox-bootstrapd.conf"
104 - ewarn " /run/tox-dht-bootstrap/tox-dht-bootstrap.pid"
105 - ewarn "Then just re-emerge net-libs/tox"
106 - fi
107 - fi
108 -}