From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C9956138334 for ; Sat, 22 Dec 2018 11:44:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5499E0A6A; Sat, 22 Dec 2018 11:43:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8DEA4E0A6A for ; Sat, 22 Dec 2018 11:43:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8975A335CCB for ; Sat, 22 Dec 2018 11:43:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E3C2B458 for ; Sat, 22 Dec 2018 11:43:55 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1545479005.4c94441763ab5cdd9739ffe6b97913cc3cdadfa5.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/tox/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/tox/Manifest net-libs/tox/metadata.xml net-libs/tox/tox-0.1.10.ebuild net-libs/tox/tox-0.2.5.ebuild net-libs/tox/tox-9999.ebuild X-VCS-Directories: net-libs/tox/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4c94441763ab5cdd9739ffe6b97913cc3cdadfa5 X-VCS-Branch: master Date: Sat, 22 Dec 2018 11:43:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8fe93aca-5b9e-48ae-904c-2ad6fab12e6e X-Archives-Hash: 9dbdff0fc413afe62e510493c117c06f commit: 4c94441763ab5cdd9739ffe6b97913cc3cdadfa5 Author: Josiah Mullins protonmail com> AuthorDate: Thu Dec 13 23:21:07 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 22 11:43:25 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c944417 net-libs/tox: strip vulnerable versions This commit removes all versions of tox prior to version 0.2.8 because those versions were vulnerable to remote DDoS attacks. Also, this commit removes a deprecated use flag in metadata.xml. In addition, this commit adds the requirement that libsodium not be built with the minimal use flag enabled in tox-9999. Closes: https://bugs.gentoo.org/628530 Bug: https://bugs.gentoo.org/668264 Signed-off-by: Josiah Mullins protonmail.com> Signed-off-by: Josiah Mullins protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/10585 Signed-off-by: Andreas Sturmlechner gentoo.org> net-libs/tox/Manifest | 2 -- net-libs/tox/metadata.xml | 1 - net-libs/tox/tox-0.1.10.ebuild | 76 ---------------------------------------- net-libs/tox/tox-0.2.5.ebuild | 79 ------------------------------------------ net-libs/tox/tox-9999.ebuild | 2 +- 5 files changed, 1 insertion(+), 159 deletions(-) diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest index 0252fcb17b3..9a173c62610 100644 --- a/net-libs/tox/Manifest +++ b/net-libs/tox/Manifest @@ -1,3 +1 @@ -DIST c-toxcore-0.1.10.tar.gz 820090 BLAKE2B 071e530db2dd6ca387a6cd88f1145515ab8741017626fcb744fdc9940263b6c2604b456b6d1357bc78be5e33b544ecf882e608bc7b4a4227d44c5507e5dbad56 SHA512 428fee2d811d0b6d5d005f082aa06f95765794b1a8bc77ec4411bb9ec9085b99675535b88db50f5ad7313850a0bb3c54c4e2e8d8864cea7c0c7d81be9879b157 -DIST c-toxcore-0.2.5.tar.gz 482160 BLAKE2B b56511d9cf7bd3a9d2b9177b33bdbf60ac571f6c95d7ee26e6ecae7c9395d8cdd4f6650025f8b727ad9b825b304c4555efaee0f17d60a26bc5bf599905ec27ab SHA512 a425a106054f29533b43b14cb8916706d04158d91b66cdada0e9e007aebd3f68a253b8519a75ca94bffba3adc57362b4e7c44e9356fce416f081a7eda6a61e18 DIST c-toxcore-0.2.8.tar.gz 502907 BLAKE2B 0ca2c861b3cd982b471fac5cf8bdacd21c3248118846cc17e51f33ba04cf3da12a64578744e47daa27bb8613762a6f562eb550f0b7af05a66696412f6d0a6360 SHA512 a23a87a74fe97091b00ea76676a22578ed1e2426ac777146bb6efc984f1bfd3fff0d7fb149691155b8e2db56e1e088a1884536e5b717ff5c45a87b437f275735 diff --git a/net-libs/tox/metadata.xml b/net-libs/tox/metadata.xml index 99359c3fc50..4c464531d0b 100644 --- a/net-libs/tox/metadata.xml +++ b/net-libs/tox/metadata.xml @@ -17,7 +17,6 @@ Log level: 3 Log level: 4 Log level: 5 - Enable the testing nTox client. Enable the DHT Bootstrap Daemon. diff --git a/net-libs/tox/tox-0.1.10.ebuild b/net-libs/tox/tox-0.1.10.ebuild deleted file mode 100644 index ce36d284017..00000000000 --- a/net-libs/tox/tox-0.1.10.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools systemd user - -DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform" -HOMEPAGE="https://tox.chat" -SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/c-toxcore-${PV}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0/0.1" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="+av daemon log-debug log-error log-info log-trace log-warn +no-log ntox static-libs test" - -REQUIRED_USE="^^ ( no-log log-trace log-debug log-info log-warn log-error )" - -RDEPEND=" - av? ( media-libs/libvpx:= - media-libs/opus ) - daemon? ( dev-libs/libconfig ) - ntox? ( sys-libs/ncurses:0= ) - >=dev-libs/libsodium-0.6.1:=[asm,urandom]" -DEPEND="${RDEPEND} - test? ( dev-libs/check ) - virtual/pkgconfig" - -S="${WORKDIR}/c-toxcore-${PV}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - $(usex log-trace "--enable-logging --with-log-level=TRACE" "") \ - $(usex log-debug "--enable-logging --with-log-level=DEBUG" "") \ - $(usex log-info "--enable-logging --with-log-level=INFO" "") \ - $(usex log-warn "--enable-logging --with-log-level=WARNING" "") \ - $(usex log-error "--enable-logging --with-log-level=ERROR" "") \ - $(use_enable av) \ - $(use_enable test tests) \ - $(use_enable ntox) \ - $(use_enable daemon) \ - $(use_enable static-libs static) -} - -src_install() { - default - 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 - - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - if use daemon; then - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} - if [[ -f ${EROOT%/}/var/lib/tox-dht-bootstrap/key ]]; then - ewarn "Backwards compatability with the bootstrap daemon might have been" - ewarn "broken a while ago. To resolve this issue, REMOVE the following files:" - ewarn " ${EROOT%/}/var/lib/tox-dht-bootstrap/key" - ewarn " ${EROOT%/}/etc/tox-bootstrapd.conf" - ewarn " ${EROOT%/}/run/tox-dht-bootstrap/tox-dht-bootstrap.pid" - ewarn "Then just reinstall net-libs/tox" - fi - fi -} diff --git a/net-libs/tox/tox-0.2.5.ebuild b/net-libs/tox/tox-0.2.5.ebuild deleted file mode 100644 index 71e771406fa..00000000000 --- a/net-libs/tox/tox-0.2.5.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils systemd user - -MY_P="c-toxcore-${PV}" -DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform" -HOMEPAGE="https://tox.chat" -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 log-debug log-trace +no-log static-libs test" - -REQUIRED_USE="^^ ( no-log log-trace log-debug )" - -RDEPEND=" - av? ( media-libs/libvpx:= - media-libs/opus ) - daemon? ( dev-libs/libconfig ) - >=dev-libs/libsodium-0.6.1:=[asm,urandom]" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - cmake-utils_src_prepare - # disable tests that need internet - for testname in bootstrap lan_discovery tcp_relay tox_many_tcp; do - sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die - done -} - -src_configure() { - local mycmakeargs=( - -DTRACE=$(usex log-trace) - -DDEBUG=$(usex log-debug) - -DBUILD_TOXAV=$(usex av) - -DMUST_BUILD_TOXAV=$(usex av) - -DBUILD_AV_TEST=$(usex av) - -DBOOTSTRAP_DAEMON=$(usex daemon) - -DENABLE_STATIC=$(usex static-libs) - ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_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 - - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - if use daemon; then - enewgroup tox - enewuser tox -1 -1 -1 tox - if [[ -f ${EROOT%/}/var/lib/tox-dht-bootstrap/key ]]; then - ewarn "Backwards compatability with the bootstrap daemon might have been" - ewarn "broken a while ago. To resolve this issue, REMOVE the following files:" - ewarn " ${EROOT%/}/var/lib/tox-dht-bootstrap/key" - ewarn " ${EROOT%/}/etc/tox-bootstrapd.conf" - ewarn " ${EROOT%/}/run/tox-dht-bootstrap/tox-dht-bootstrap.pid" - ewarn "Then just re-emerge net-libs/tox" - fi - fi -} diff --git a/net-libs/tox/tox-9999.ebuild b/net-libs/tox/tox-9999.ebuild index 6480c17e2cc..3c267ef0e1e 100644 --- a/net-libs/tox/tox-9999.ebuild +++ b/net-libs/tox/tox-9999.ebuild @@ -21,7 +21,7 @@ RDEPEND=" av? ( media-libs/libvpx:= media-libs/opus ) daemon? ( dev-libs/libconfig ) - >=dev-libs/libsodium-0.6.1:=[asm,urandom]" + >=dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]" DEPEND="${RDEPEND} virtual/pkgconfig"