[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2024-01-15 Thread Sam James
commit: 978ec32c1916e22869cc2493eb817eaaeb2dbfad
Author: Matt Jolly  footclan  ninja>
AuthorDate: Tue Jan 16 04:51:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 16 07:59:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=978ec32c

net-libs/tox: add 0.2.18-r3

libsodium is losing USE=minimal

Bug: https://bugs.gentoo.org/921614
Signed-off-by: Matt Jolly  footclan.ninja>
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/{tox-0.2.18-r2.ebuild => tox-0.2.18-r3.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/tox/tox-0.2.18-r2.ebuild 
b/net-libs/tox/tox-0.2.18-r3.ebuild
similarity index 97%
rename from net-libs/tox/tox-0.2.18-r2.ebuild
rename to net-libs/tox/tox-0.2.18-r3.ebuild
index 91e51e38d1d6..4cc9474eb842 100644
--- a/net-libs/tox/tox-0.2.18-r2.ebuild
+++ b/net-libs/tox/tox-0.2.18-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -22,7 +22,7 @@ REQUIRED_USE="?? ( log-debug log-error log-info log-trace 
log-warn )
 RESTRICT="!test? ( test )"
 
 BDEPEND="virtual/pkgconfig"
-DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal]
+DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal(-)]
av? (
media-libs/libvpx:=
media-libs/opus



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2024-01-15 Thread Sam James
commit: 2945ca233200533632cbb953881f86d3e3433314
Author: Matt Jolly  footclan  ninja>
AuthorDate: Tue Jan 16 04:47:29 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 16 07:59:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2945ca23

net-libs/tox: add 0.2.13-r1

libsodium is dropping USE=minimal

Bug: https://bugs.gentoo.org/921614
Signed-off-by: Matt Jolly  footclan.ninja>
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/{tox-0.2.13.ebuild => tox-0.2.13-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/tox/tox-0.2.13.ebuild b/net-libs/tox/tox-0.2.13-r1.ebuild
similarity index 97%
rename from net-libs/tox/tox-0.2.13.ebuild
rename to net-libs/tox/tox-0.2.13-r1.ebuild
index 184c65e211bf..cabfe0645e38 100644
--- a/net-libs/tox/tox-0.2.13.ebuild
+++ b/net-libs/tox/tox-0.2.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -21,7 +21,7 @@ RESTRICT="!test? ( test )"
 
 BDEPEND="virtual/pkgconfig"
 DEPEND="
-   dev-libs/libsodium:=[asm,urandom,-minimal]
+   dev-libs/libsodium:=[asm,urandom,-minimal(-)]
av? (
media-libs/libvpx:=
media-libs/opus



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2024-01-15 Thread Sam James
commit: e28dc0abdb49a100d303076b50f24545e4bf8d15
Author: Matt Jolly  footclan  ninja>
AuthorDate: Tue Jan 16 04:59:03 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 16 07:59:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e28dc0ab

net-libs/tox: make live ebuild a template; fix QA issues

Signed-off-by: Matt Jolly  footclan.ninja>
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/tox-.ebuild | 46 
 1 file changed, 29 insertions(+), 17 deletions(-)

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-.ebuild
index a529f806e7a6..e8d52a959406 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-.ebuild
@@ -1,33 +1,40 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake git-r3 systemd
+inherit cmake systemd
 
 DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
-HOMEPAGE="https://tox.chat;
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git;
+HOMEPAGE="https://tox.chat https://github.com/TokTok/c-toxcore;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git;
+else
+   MY_P="c-toxcore-${PV}"
+   
SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/${MY_P}.tar.gz;
+   KEYWORDS="~amd64 ~arm ~x86"
+   S="${WORKDIR}/${MY_P}"
+fi
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS=""
 IUSE="+av debug daemon dht-node ipv6 key-utils log-debug +log-error log-info 
log-trace log-warn test"
-RESTRICT="!test? ( 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]
+DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal(-)]
av? (
media-libs/libvpx:=
media-libs/opus
)
daemon? ( dev-libs/libconfig:= )"
-RDEPEND="
-   ${DEPEND}
+
+RDEPEND="${DEPEND}
daemon? (
acct-group/tox
acct-user/tox
@@ -37,7 +44,7 @@ RDEPEND="
 src_prepare() {
cmake_src_prepare
 
-   #remove faulty tests
+   #Remove faulty tests
for testname in lan_discovery save_load; do
sed -i -e "/^auto_test(${testname})$/d" 
./auto_tests/CMakeLists.txt || die
done
@@ -55,12 +62,16 @@ src_configure() {
-DDHT_BOOTSTRAP=$(usex dht-node ON OFF)
-DENABLE_SHARED=ON
-DENABLE_STATIC=OFF
-   -DMUST_BUILD_TOXAV=$(usex av ON OFF))
+   -DFULLY_STATIC=OFF
+   -DMUST_BUILD_TOXAV=$(usex av ON OFF)
+   )
+
if use test; then
mycmakeargs+=(
-DTEST_TIMEOUT_SECONDS=150
-DNON_HERMETIC_TESTS=OFF
-   -DUSE_IPV6=$(usex ipv6 ON OFF))
+   -DUSE_IPV6=$(usex ipv6 ON OFF)
+   )
else
mycmakeargs+=(-DUSE_IPV6=OFF)
fi
@@ -77,8 +88,9 @@ src_configure() {
mycmakeargs+=(-DMIN_LOGGER_LEVEL="ERROR")
else
mycmakeargs+=(-DMIN_LOGGER_LEVEL="")
-   einfo "Logging Disabled"
+   einfo "Logging disabled"
fi
+
cmake_src_configure
 }
 
@@ -104,9 +116,9 @@ pkg_postinst() {
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 issuer with tox DHT 
Bootstrap node"
-   ewarn "that causes the program to be built with a null libray 
reference."
+   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, consider disabling the dht 
node use flag"
+   ewarn "If you aren't running a node, please consider disabling 
the dht-node use flag."
fi
 }



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2023-02-07 Thread Marek Szuba
commit: 57643c4b952f4149a10bffd6350ae1f703801ecb
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Feb  7 11:06:23 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Feb  7 11:14:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57643c4b

net-libs/tox: drop dev-libs/msgpack dependency

0.12 didn't have it in the first place, upstream changelog
says it got phased out before 0.18 release.

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/tox/{tox-0.2.18-r1.ebuild => tox-0.2.18-r2.ebuild} | 3 +--
 net-libs/tox/tox-.ebuild| 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/net-libs/tox/tox-0.2.18-r1.ebuild 
b/net-libs/tox/tox-0.2.18-r2.ebuild
similarity index 98%
rename from net-libs/tox/tox-0.2.18-r1.ebuild
rename to net-libs/tox/tox-0.2.18-r2.ebuild
index 00753d1f6819..91e51e38d1d6 100644
--- a/net-libs/tox/tox-0.2.18-r1.ebuild
+++ b/net-libs/tox/tox-0.2.18-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -23,7 +23,6 @@ RESTRICT="!test? ( test )"
 
 BDEPEND="virtual/pkgconfig"
 DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal]
-   dev-libs/msgpack
av? (
media-libs/libvpx:=
media-libs/opus

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-.ebuild
index ae60fff26c54..a529f806e7a6 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-.ebuild
@@ -21,7 +21,6 @@ REQUIRED_USE="?? ( log-debug log-error log-info log-trace 
log-warn )
 
 BDEPEND="virtual/pkgconfig"
 DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal]
-   dev-libs/msgpack
av? (
media-libs/libvpx:=
media-libs/opus



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2022-07-19 Thread Sam James
commit: 4c0701287485451a3e60ef764d6115ea36c232c1
Author: Josiah Mullins  protonmail  com>
AuthorDate: Tue Jul 19 17:36:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 19 18:27:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c070128

net-libs/tox: Bugfix; Add missing variable S.

Closes: https://bugs.gentoo.org/852686
Signed-off-by: Josiah Mullins  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26485
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/{tox-0.2.18.ebuild => tox-0.2.18-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-libs/tox/tox-0.2.18.ebuild b/net-libs/tox/tox-0.2.18-r1.ebuild
similarity index 98%
rename from net-libs/tox/tox-0.2.18.ebuild
rename to net-libs/tox/tox-0.2.18-r1.ebuild
index 4296b1ad05d7..00753d1f6819 100644
--- a/net-libs/tox/tox-0.2.18.ebuild
+++ b/net-libs/tox/tox-0.2.18-r1.ebuild
@@ -5,7 +5,9 @@ EAPI=8
 
 inherit cmake systemd
 
-MY_P=c-toxcore-${PV}
+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;
 
SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/${MY_P}.tar.gz;
@@ -35,8 +37,6 @@ RDEPEND="${DEPEND}
)
key-utils? ( || ( sys-devel/gcc[openmp] sys-devel/clang-runtime[openmp] 
) )"
 
-S="${WORKDIR}"/${MY_P}
-
 src_prepare() {
cmake_src_prepare
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2022-06-16 Thread Sam James
commit: 5b3f1c8440edbdb68956f557b13f8621a42b9107
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 16 19:33:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 16 19:33:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3f1c84

net-libs/tox: fix S

Closes: https://bugs.gentoo.org/852632
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/tox-0.2.18.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-libs/tox/tox-0.2.18.ebuild b/net-libs/tox/tox-0.2.18.ebuild
index 19cb445abe6f..4296b1ad05d7 100644
--- a/net-libs/tox/tox-0.2.18.ebuild
+++ b/net-libs/tox/tox-0.2.18.ebuild
@@ -5,9 +5,10 @@ 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/releases/download/v${PV}/c-toxcore-${PV}.tar.gz;
+SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/${MY_P}.tar.gz;
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
@@ -34,7 +35,7 @@ RDEPEND="${DEPEND}
)
key-utils? ( || ( sys-devel/gcc[openmp] sys-devel/clang-runtime[openmp] 
) )"
 
-S="${WORKDIR}/${MY_P}"
+S="${WORKDIR}"/${MY_P}
 
 src_prepare() {
cmake_src_prepare



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2022-06-16 Thread Sam James
commit: 92da724cf53e4d47af529b84c6e65a0207dd2dad
Author: Josiah Mullins  protonmail  com>
AuthorDate: Wed Jun 15 21:32:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 16 16:31:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92da724c

net-libs/tox: Bump to version 0.2.18

This commit also introduces the use flag key-utils.
This enables additional utilities to be build that
allow brute force key searches to find keys that
start with a specific string. The utilities also
allow for profiles to be generated from multiple
input data.

Signed-off-by: Josiah Mullins  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/Manifest  |  1 +
 net-libs/tox/metadata.xml  |  1 +
 .../tox/{tox-.ebuild => tox-0.2.18.ebuild} | 63 +-
 3 files changed, 40 insertions(+), 25 deletions(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index f4ae35a1a3fd..2fc1f7467d21 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1 +1,2 @@
 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

diff --git a/net-libs/tox/metadata.xml b/net-libs/tox/metadata.xml
index fa963f9331e6..434e886648f5 100644
--- a/net-libs/tox/metadata.xml
+++ b/net-libs/tox/metadata.xml
@@ -12,6 +12,7 @@

Adds support for audio and video.
Enables DHT Bootstrap Node. 
+   Builds utilities to create custom keys 
and profiles
Log level: 1
Log level: 2
Log level: 3

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-0.2.18.ebuild
similarity index 52%
rename from net-libs/tox/tox-.ebuild
rename to net-libs/tox/tox-0.2.18.ebuild
index ba31cc1a5c28..19cb445abe6f 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-0.2.18.ebuild
@@ -1,44 +1,47 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake git-r3 systemd
+inherit cmake systemd
 
 DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
-HOMEPAGE="https://tox.chat;
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git;
+HOMEPAGE="https://tox.chat https://github.com/TokTok/c-toxcore;
+SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/c-toxcore-${PV}.tar.gz;
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS=""
-IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn test"
-RESTRICT="!test? ( test )"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+av debug daemon dht-node 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 )"
+RESTRICT="!test? ( test )"
 
 BDEPEND="virtual/pkgconfig"
 DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal]
+   dev-libs/msgpack
av? (
media-libs/libvpx:=
media-libs/opus
)
daemon? ( dev-libs/libconfig:= )"
-RDEPEND="
-   ${DEPEND}
+
+RDEPEND="${DEPEND}
daemon? (
acct-group/tox
acct-user/tox
-   )"
+   )
+   key-utils? ( || ( sys-devel/gcc[openmp] sys-devel/clang-runtime[openmp] 
) )"
+
+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
+   #Remove faulty tests
+   for testname in lan_discovery save_load; do
+   sed -i -e "/^auto_test(${testname})$/d" 
./auto_tests/CMakeLists.txt || die
done
 }
 
@@ -46,16 +49,24 @@ src_configure() {
local mycmakeargs=(
-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_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

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2022-06-16 Thread Sam James
commit: 55df72a6b4a3e019e583cbb3ed8682b18ad69fc3
Author: Josiah Mullins  protonmail  com>
AuthorDate: Wed Jun 15 21:27:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 16 16:31:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55df72a6

net-libs/tox: Removed old version 0.2.12-r1

Bug: https://bugs.gentoo.org/829650

Signed-off-by: Josiah Mullins  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/Manifest |   1 -
 net-libs/tox/tox-0.2.12-r1.ebuild | 115 --
 2 files changed, 116 deletions(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index e5f406e55e51..f4ae35a1a3fd 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,2 +1 @@
-DIST c-toxcore-0.2.12.tar.gz 504832 BLAKE2B 
625713142cc1e4b6583879144c05d47a40a1d98031a8a2bf0deec85a199f816a0ff6df5c76e9487a526d7c1c1650b37a10ed81be8233eaa1395707851378474f
 SHA512 
c22f139cfff3a5aedf5fb08c33cae0dae3d6fbceec87867c81290e3bf9d2e13466a0e2bad8378a7a7ba1e9b7b9ad756712963461ae248102e4cab7d4691228d8
 DIST c-toxcore-0.2.13.tar.gz 511533 BLAKE2B 
8c68180710e3d06eaaef9fc05dc0ff2492907586934d1d6f57f147e07bb78b262f78b0057911e4b5cd27d2d1efb51cb714f757b90caa269988e604cafa62cd00
 SHA512 
f4ed9ea4afb7f9c14a5afd949f3a52e7880838c910acaf5adc39acb09ad574406be08f43b76a9fbdd4fc4bd14f0d73212dc7bd10783565055c910c6c3e5e357a

diff --git a/net-libs/tox/tox-0.2.12-r1.ebuild 
b/net-libs/tox/tox-0.2.12-r1.ebuild
deleted file mode 100644
index 62cb752a4e22..
--- a/net-libs/tox/tox-0.2.12-r1.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 static-libs 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-0.6.1:=[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
-   local testname=
-   for testname in lan_discovery save_compatibility; do
-   sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
-   done
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DAUTOTEST=$(usex test)
-   -DBOOTSTRAP_DAEMON=$(usex daemon)
-   -DBUILD_MISC_TESTS=$(usex test)
-   -DBUILD_TOXAV=$(usex av)
-   -DDHT_BOOTSTRAP=$(usex dht-node)
-   -DENABLE_SHARED=ON
-   -DENABLE_STATIC=$(usex static-libs)
-   -DMUST_BUILD_TOXAV=$(usex av)
-   )
-
-   if use test; then
-   mycmakeargs+=(
-   -DTEST_TIMEOUT_SECONDS=120
-   -DUSE_IPV6=$(usex ipv6)
-   )
-   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 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2022-06-16 Thread Sam James
commit: f7c3076e6f41a7c4c5a3e6c3317dae57f5cf967f
Author: Josiah Mullins  protonmail  com>
AuthorDate: Thu Jun 16 03:17:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 16 16:31:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7c3076e

net-libs/tox: Update the live ebuild

This commit migrates the changes made
in version 0.2.18 of the ebuild to the
live euild. These changes include new
use flags and updated dependencies.

Signed-off-by: Josiah Mullins  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25918
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/tox-.ebuild | 113 +++
 1 file changed, 113 insertions(+)

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-.ebuild
new file mode 100644
index ..ae60fff26c54
--- /dev/null
+++ b/net-libs/tox/tox-.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake git-r3 systemd
+
+DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
+HOMEPAGE="https://tox.chat;
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git;
+
+LICENSE="GPL-3+"
+SLOT="0/0.2"
+KEYWORDS=""
+IUSE="+av debug daemon dht-node ipv6 key-utils log-debug +log-error log-info 
log-trace log-warn test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn )
+   daemon? ( dht-node )"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal]
+   dev-libs/msgpack
+   av? (
+   media-libs/libvpx:=
+   media-libs/opus
+   )
+   daemon? ( dev-libs/libconfig:= )"
+RDEPEND="
+   ${DEPEND}
+   daemon? (
+   acct-group/tox
+   acct-user/tox
+   )
+   key-utils? ( || ( sys-devel/gcc[openmp] sys-devel/clang-runtime[openmp] 
) )"
+
+src_prepare() {
+   cmake_src_prepare
+
+   #remove faulty tests
+   for testname in lan_discovery save_load; do
+   sed -i -e "/^auto_test(${testname})$/d" 
./auto_tests/CMakeLists.txt || die
+   done
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -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_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
+   -DMUST_BUILD_TOXAV=$(usex av ON OFF))
+   if use test; then
+   mycmakeargs+=(
+   -DTEST_TIMEOUT_SECONDS=150
+   -DNON_HERMETIC_TESTS=OFF
+   -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 issuer with tox DHT 
Bootstrap node"
+   ewarn "that causes the program to be built with a null libray 
reference."
+   ewarn "This causes an infinite loop for certain revdep-rebuild 
commands."
+   ewarn "If you aren't running a node, consider disabling the dht 
node use flag"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2022-02-21 Thread Jakov Smolić
commit: 3c90d3cf4a66dc18fa69dc42a94141946fb24169
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Feb 21 09:43:23 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Feb 21 09:43:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c90d3cf

net-libs/tox: Stabilize 0.2.13 amd64, #833802

Signed-off-by: Jakov Smolić  gentoo.org>

 net-libs/tox/tox-0.2.13.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/tox/tox-0.2.13.ebuild b/net-libs/tox/tox-0.2.13.ebuild
index e05b2ca9cd78..f5fdf96419ea 100644
--- a/net-libs/tox/tox-0.2.13.ebuild
+++ b/net-libs/tox/tox-0.2.13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS="~amd64 ~arm ~x86"
+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 )



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2022-02-21 Thread Jakov Smolić
commit: b2507e302587ed0cc9b891ca5810f0e03ed316a0
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Feb 21 09:43:42 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Feb 21 09:43:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2507e30

net-libs/tox: Stabilize 0.2.13 x86, #833802

Signed-off-by: Jakov Smolić  gentoo.org>

 net-libs/tox/tox-0.2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/tox/tox-0.2.13.ebuild b/net-libs/tox/tox-0.2.13.ebuild
index f5fdf96419ea..184c65e211bf 100644
--- a/net-libs/tox/tox-0.2.13.ebuild
+++ b/net-libs/tox/tox-0.2.13.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS="amd64 ~arm ~x86"
+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 )



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2022-01-06 Thread Sam James
commit: f507f98aca30fe012a14ee6060a9001766aae94a
Author: Josiah Mullins  protonmail  com>
AuthorDate: Tue Dec 21 21:22:45 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan  7 05:06:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f507f98a

net-libs/tox: Bump to version 0.2.13.

Signed-off-by: Josiah Mullins  protonmail.com>
Bug: https://bugs.gentoo.org/829650
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/Manifest  |   1 +
 net-libs/tox/tox-0.2.13.ebuild | 114 +
 2 files changed, 115 insertions(+)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index e976a4f2d42d..e5f406e55e51 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1 +1,2 @@
 DIST c-toxcore-0.2.12.tar.gz 504832 BLAKE2B 
625713142cc1e4b6583879144c05d47a40a1d98031a8a2bf0deec85a199f816a0ff6df5c76e9487a526d7c1c1650b37a10ed81be8233eaa1395707851378474f
 SHA512 
c22f139cfff3a5aedf5fb08c33cae0dae3d6fbceec87867c81290e3bf9d2e13466a0e2bad8378a7a7ba1e9b7b9ad756712963461ae248102e4cab7d4691228d8
+DIST c-toxcore-0.2.13.tar.gz 511533 BLAKE2B 
8c68180710e3d06eaaef9fc05dc0ff2492907586934d1d6f57f147e07bb78b262f78b0057911e4b5cd27d2d1efb51cb714f757b90caa269988e604cafa62cd00
 SHA512 
f4ed9ea4afb7f9c14a5afd949f3a52e7880838c910acaf5adc39acb09ad574406be08f43b76a9fbdd4fc4bd14f0d73212dc7bd10783565055c910c6c3e5e357a

diff --git a/net-libs/tox/tox-0.2.13.ebuild b/net-libs/tox/tox-0.2.13.ebuild
new file mode 100644
index ..e05b2ca9cd78
--- /dev/null
+++ b/net-libs/tox/tox-0.2.13.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2021 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 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2022-01-06 Thread Sam James
commit: c6397a4edd486373d4f86e980b3e839ea09193de
Author: Josiah Mullins  protonmail  com>
AuthorDate: Tue Dec 21 21:13:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan  7 05:06:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6397a4e

net-libs/tox: Remove old version 0.2.11

Signed-off-by: Josiah Mullins  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/Manifest |   1 -
 net-libs/tox/tox-0.2.11-r1.ebuild | 119 --
 2 files changed, 120 deletions(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index baec84db1210..e976a4f2d42d 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,2 +1 @@
-DIST c-toxcore-0.2.11.tar.gz 507476 BLAKE2B 
67e86a5e5c8da1c387a319e6726eaccec28608f165f0b165d12e379cc7d8080baf9b89f438804ab8e59a8690a11bebba7f2ef689554800312fe039da77e70cac
 SHA512 
616b30423a170463b4445f6940e038fd9af820946c970260fcf72cc54d08d2615364b9f086869180e3ae26154ea92fea6e9a602366306bc40c3e1575e86350df
 DIST c-toxcore-0.2.12.tar.gz 504832 BLAKE2B 
625713142cc1e4b6583879144c05d47a40a1d98031a8a2bf0deec85a199f816a0ff6df5c76e9487a526d7c1c1650b37a10ed81be8233eaa1395707851378474f
 SHA512 
c22f139cfff3a5aedf5fb08c33cae0dae3d6fbceec87867c81290e3bf9d2e13466a0e2bad8378a7a7ba1e9b7b9ad756712963461ae248102e4cab7d4691228d8

diff --git a/net-libs/tox/tox-0.2.11-r1.ebuild 
b/net-libs/tox/tox-0.2.11-r1.ebuild
deleted file mode 100644
index e508bc927f6d..
--- a/net-libs/tox/tox-0.2.11-r1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake systemd
-
-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 dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs 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-0.6.1:=[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 bootstrap lan_discovery save_compatibility; do
-   sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
-   done
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DAUTOTEST=$(usex test)
-   -DBOOTSTRAP_DAEMON=$(usex daemon)
-   -DBUILD_MISC_TESTS=$(usex test)
-   -DBUILD_TOXAV=$(usex av)
-   -DDHT_BOOTSTRAP=$(usex dht-node)
-   -DENABLE_SHARED=ON
-   -DENABLE_STATIC=$(usex static-libs)
-   -DMUST_BUILD_TOXAV=$(usex av))
-   if use test; then
-   mycmakeargs+=(
-   -DTEST_TIMEOUT_SECONDS=120
-   -DUSE_IPV6=$(usex ipv6))
-   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."
-   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 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2022-01-06 Thread Sam James
commit: 597632a29af5eadf96159482be025edb5883ac16
Author: Josiah Mullins  protonmail  com>
AuthorDate: Tue Dec 21 21:42:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan  7 05:06:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=597632a2

net-libs/tox: Updates to tox-

This commit updates the  ebuild to EAPI 8,
removes the static-libs use flags, updated
faulty test section and added true/false output
parameters for usex in src_configure.

Signed-off-by: Josiah Mullins  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/tox-.ebuild | 33 ++---
 1 file changed, 14 insertions(+), 19 deletions(-)

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-.ebuild
index e80ab4531665..ba31cc1a5c28 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake git-r3 systemd
 
@@ -13,14 +13,14 @@ EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git;
 LICENSE="GPL-3+"
 SLOT="0/0.2"
 KEYWORDS=""
-IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs test"
+IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn test"
 RESTRICT="!test? ( test )"
 
-REQUIRED_USE="^^ ( log-debug log-error log-info log-trace log-warn )
+REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn )
daemon? ( dht-node )"
 
 BDEPEND="virtual/pkgconfig"
-DEPEND=">dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]
+DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal]
av? (
media-libs/libvpx:=
media-libs/opus
@@ -36,31 +36,26 @@ RDEPEND="
 src_prepare() {
cmake_src_prepare
 
-   # Remove faulty tests
-   local faultytest=(lan_discovery save_compatibility)
-   local testname=
-   for testname in "${faultytest[@]}"; do
+   #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)
-   -DBOOTSTRAP_DAEMON=$(usex daemon)
-   -DBUILD_MISC_TESTS=$(usex test)
-   -DBUILD_TOXAV=$(usex av)
-   -DDHT_BOOTSTRAP=$(usex dht-node)
+   -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=$(usex static-libs)
-   -DMUST_BUILD_TOXAV=$(usex av)
-   )
-
+   -DENABLE_STATIC=OFF
+   -DMUST_BUILD_TOXAV=$(usex av ON OFF))
if use test; then
mycmakeargs+=(
-DTEST_TIMEOUT_SECONDS=120
-   -DUSE_IPV6=$(usex ipv6)
-   )
+   -DUSE_IPV6=$(usex ipv6 ON OFF))
else
mycmakeargs+=(-DUSE_IPV6=OFF)
fi



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2021-05-14 Thread Agostino Sarubbo
commit: 21e61c97ff21c948f6e9a6262858b2e2b5bf30c6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 14 09:36:42 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 14 09:36:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21e61c97

net-libs/tox: x86 stable wrt bug #790077

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/tox/tox-0.2.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/tox/tox-0.2.12-r1.ebuild 
b/net-libs/tox/tox-0.2.12-r1.ebuild
index f452a1f7de3..62cb752a4e2 100644
--- a/net-libs/tox/tox-0.2.12-r1.ebuild
+++ b/net-libs/tox/tox-0.2.12-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS="amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm x86"
 IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs test"
 
 REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn )



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2021-05-14 Thread Agostino Sarubbo
commit: cbdc36287fbb9e0a157b894bff0661aef933cfdb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 14 09:30:40 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 14 09:30:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbdc3628

net-libs/tox: amd64 stable wrt bug #790077

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/tox/tox-0.2.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/tox/tox-0.2.12-r1.ebuild 
b/net-libs/tox/tox-0.2.12-r1.ebuild
index 3e3ebd06740..f452a1f7de3 100644
--- a/net-libs/tox/tox-0.2.12-r1.ebuild
+++ b/net-libs/tox/tox-0.2.12-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
 IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs test"
 
 REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn )



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2021-01-01 Thread Sam James
commit: 7219a6302848292da83b585e593723e37da24a1b
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan  2 01:37:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  2 01:43:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7219a630

net-libs/tox: add libvpx subslot dep too

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/tox-0.2.11-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/tox/tox-0.2.11-r1.ebuild 
b/net-libs/tox/tox-0.2.11-r1.ebuild
index 9453517861e..e508bc927f6 100644
--- a/net-libs/tox/tox-0.2.11-r1.ebuild
+++ b/net-libs/tox/tox-0.2.11-r1.ebuild
@@ -23,7 +23,7 @@ BDEPEND="virtual/pkgconfig"
 DEPEND="
>dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]
av? (
-   media-libs/libvpx
+   media-libs/libvpx:=
media-libs/opus
)
daemon? ( dev-libs/libconfig:= )"



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2021-01-01 Thread Sam James
commit: f7403ea28aa27dcbe6b2388230f4be458b5acd5a
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan  2 00:32:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  2 00:32:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7403ea2

net-libs/tox: revbump for libconfig subslot dep

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/{tox-0.2.11.ebuild => tox-0.2.11-r1.ebuild} | 4 ++--
 net-libs/tox/{tox-0.2.12.ebuild => tox-0.2.12-r1.ebuild} | 4 ++--
 net-libs/tox/tox-.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-libs/tox/tox-0.2.11.ebuild b/net-libs/tox/tox-0.2.11-r1.ebuild
similarity index 97%
rename from net-libs/tox/tox-0.2.11.ebuild
rename to net-libs/tox/tox-0.2.11-r1.ebuild
index d293d706786..9453517861e 100644
--- a/net-libs/tox/tox-0.2.11.ebuild
+++ b/net-libs/tox/tox-0.2.11-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -26,7 +26,7 @@ DEPEND="
media-libs/libvpx
media-libs/opus
)
-   daemon? ( dev-libs/libconfig )"
+   daemon? ( dev-libs/libconfig:= )"
 RDEPEND="
${DEPEND}
daemon? (

diff --git a/net-libs/tox/tox-0.2.12.ebuild b/net-libs/tox/tox-0.2.12-r1.ebuild
similarity index 97%
rename from net-libs/tox/tox-0.2.12.ebuild
rename to net-libs/tox/tox-0.2.12-r1.ebuild
index 76511a2fe70..3e3ebd06740 100644
--- a/net-libs/tox/tox-0.2.12.ebuild
+++ b/net-libs/tox/tox-0.2.12-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -26,7 +26,7 @@ DEPEND="
media-libs/libvpx:=
media-libs/opus
)
-   daemon? ( dev-libs/libconfig )"
+   daemon? ( dev-libs/libconfig:= )"
 RDEPEND="
${DEPEND}
daemon? (

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-.ebuild
index 6e0181ca0d8..e80ab453166 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -25,7 +25,7 @@ DEPEND=">dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]
media-libs/libvpx:=
media-libs/opus
)
-   daemon? ( dev-libs/libconfig )"
+   daemon? ( dev-libs/libconfig:= )"
 RDEPEND="
${DEPEND}
daemon? (



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-09-04 Thread Sam James
commit: f639e5bfbbd2eae0a5eed22e4af32287bc57f039
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  4 20:55:44 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  4 20:56:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f639e5bf

net-libs/tox: minor style changes

Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/tox-0.2.12.ebuild | 11 ---
 net-libs/tox/tox-.ebuild   | 14 +-
 2 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/net-libs/tox/tox-0.2.12.ebuild b/net-libs/tox/tox-0.2.12.ebuild
index 3723ccda4d6..76511a2fe70 100644
--- a/net-libs/tox/tox-0.2.12.ebuild
+++ b/net-libs/tox/tox-0.2.12.ebuild
@@ -38,7 +38,9 @@ S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
cmake_src_prepare
-   #remove faulty tests
+
+   # Remove faulty tests
+   local testname=
for testname in lan_discovery save_compatibility; do
sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
done
@@ -53,11 +55,14 @@ src_configure() {
-DDHT_BOOTSTRAP=$(usex dht-node)
-DENABLE_SHARED=ON
-DENABLE_STATIC=$(usex static-libs)
-   -DMUST_BUILD_TOXAV=$(usex av))
+   -DMUST_BUILD_TOXAV=$(usex av)
+   )
+
if use test; then
mycmakeargs+=(
-DTEST_TIMEOUT_SECONDS=120
-   -DUSE_IPV6=$(usex ipv6))
+   -DUSE_IPV6=$(usex ipv6)
+   )
else
mycmakeargs+=(-DUSE_IPV6=OFF)
fi

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-.ebuild
index 23e322bf207..6e0181ca0d8 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-.ebuild
@@ -35,8 +35,10 @@ RDEPEND="
 
 src_prepare() {
cmake_src_prepare
-   #remove faulty tests
+
+   # Remove faulty tests
local faultytest=(lan_discovery save_compatibility)
+   local testname=
for testname in "${faultytest[@]}"; do
sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
done
@@ -51,14 +53,16 @@ src_configure() {
-DDHT_BOOTSTRAP=$(usex dht-node)
-DENABLE_SHARED=ON
-DENABLE_STATIC=$(usex static-libs)
-   -DMUST_BUILD_TOXAV=$(usex av))
+   -DMUST_BUILD_TOXAV=$(usex av)
+   )
+
if use test; then
mycmakeargs+=(
-DTEST_TIMEOUT_SECONDS=120
-   -DUSE_IPV6=$(usex ipv6))
+   -DUSE_IPV6=$(usex ipv6)
+   )
else
-   mycmakeargs+=(
-   -DUSE_IPV6=OFF)
+   mycmakeargs+=(-DUSE_IPV6=OFF)
fi
 
if use log-trace; then



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-09-04 Thread Sam James
commit: f75bd8c80827864d0b5420b52b740317d7b846a8
Author: Josiah Mullins  protonmail  com>
AuthorDate: Sat Jul 25 02:23:15 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  4 20:53:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f75bd8c8

net-libs/tox: update to tox-

This commit includes a rewritten dependencies section,
updated Cmake flags, updates to the blacklisted tests,
restrictions on parallel tests, and updates to the
post install messages.

Signed-off-by: Josiah Mullins  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16810
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/tox-.ebuild | 56 
 1 file changed, 26 insertions(+), 30 deletions(-)

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-.ebuild
index 206fb9c4e39..23e322bf207 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-.ebuild
@@ -19,23 +19,25 @@ RESTRICT="!test? ( test )"
 REQUIRED_USE="^^ ( log-debug log-error log-info log-trace log-warn )
daemon? ( dht-node )"
 
-COMMON_DEPEND="
-   av? ( media-libs/libvpx
-   media-libs/opus )
-   daemon? ( acct-group/tox
-   acct-user/tox
-   dev-libs/libconfig )
-   >=dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]"
 BDEPEND="virtual/pkgconfig"
-
-DEPEND="${COMMON_DEPEND}"
-
-RDEPEND="${COMMON_DEPEND}"
+DEPEND=">dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]
+   av? (
+   media-libs/libvpx:=
+   media-libs/opus
+   )
+   daemon? ( dev-libs/libconfig )"
+RDEPEND="
+   ${DEPEND}
+   daemon? (
+   acct-group/tox
+   acct-user/tox
+   )"
 
 src_prepare() {
cmake_src_prepare
#remove faulty tests
-   for testname in bootstrap lan_discovery save_compatibility tcp_relay 
tox_many_tcp; do
+   local faultytest=(lan_discovery save_compatibility)
+   for testname in "${faultytest[@]}"; do
sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
done
 }
@@ -44,6 +46,7 @@ src_configure() {
local mycmakeargs=(
-DAUTOTEST=$(usex test)
-DBOOTSTRAP_DAEMON=$(usex daemon)
+   -DBUILD_MISC_TESTS=$(usex test)
-DBUILD_TOXAV=$(usex av)
-DDHT_BOOTSTRAP=$(usex dht-node)
-DENABLE_SHARED=ON
@@ -51,12 +54,10 @@ src_configure() {
-DMUST_BUILD_TOXAV=$(usex av))
if use test; then
mycmakeargs+=(
-   -DBUILD_AV_TEST=$(usex av)
-DTEST_TIMEOUT_SECONDS=120
-DUSE_IPV6=$(usex ipv6))
else
mycmakeargs+=(
-   -DBUILD_AV_TEST=OFF
-DUSE_IPV6=OFF)
fi
 
@@ -77,6 +78,10 @@ src_configure() {
cmake_src_configure
 }
 
+src_test() {
+   cmake_src_test -j1
+}
+
 src_install() {
cmake_src_install
 
@@ -91,21 +96,12 @@ src_install() {
 
 pkg_postinst() {
if use dht-node; then
-   ewarn "There is currently an unresolved issue with tox"
-   ewarn "DHT Bootstrap node that causes the program to be"
-   ewarn "built with a null library reference. This"
-   ewarn "causes an infinite loop for certain rev-dep-rebuild"
-   ewarn "commands. If you aren't running a node, please"
-   ewarn "consider disabling the dht-node flag"
-   fi
-   if use daemon; then
-   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
+   ewarn "There is currently an unresolved issuer with tox DHT"
+   ewarn "Bootstrap node that causes the program to be built"
+   ewarn "with a null libray reference. This causes an infinite"
+   ewarn "loop for certain revdep-rebuild commands. If you aren't"
+   ewarn "running a node, please consider disabling the dht node"
+   ewarn "use flag. For more information please refer to"
+   ewarn "https://github.com/toktok/c-toxcore/issues/1144;
fi
 }



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-09-04 Thread Sam James
commit: cdd9fdf8b17e722370f3b10daa5193ab1dd70625
Author: Josiah Mullins  protonmail  com>
AuthorDate: Sat Jul 25 02:14:43 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  4 20:53:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdd9fdf8

net-libs/tox: set tests to run with only one thread

It seems that the bug occurs from the tests being run
in parallel. This commit prevents that.

Closes: https://bugs.gentoo.org/730434

Signed-off-by: Josiah Mullins  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/tox-0.2.11.ebuild | 4 
 net-libs/tox/tox-0.2.12.ebuild | 4 
 2 files changed, 8 insertions(+)

diff --git a/net-libs/tox/tox-0.2.11.ebuild b/net-libs/tox/tox-0.2.11.ebuild
index bd541befcf1..d293d706786 100644
--- a/net-libs/tox/tox-0.2.11.ebuild
+++ b/net-libs/tox/tox-0.2.11.ebuild
@@ -80,6 +80,10 @@ src_configure() {
cmake_src_configure
 }
 
+src_test() {
+   cmake_src_test -j1
+}
+
 src_install() {
cmake_src_install
 

diff --git a/net-libs/tox/tox-0.2.12.ebuild b/net-libs/tox/tox-0.2.12.ebuild
index f6c830c2713..3723ccda4d6 100644
--- a/net-libs/tox/tox-0.2.12.ebuild
+++ b/net-libs/tox/tox-0.2.12.ebuild
@@ -80,6 +80,10 @@ src_configure() {
cmake_src_configure
 }
 
+src_test() {
+   cmake_src_test -j1
+}
+
 src_install() {
cmake_src_install
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-09-04 Thread Sam James
commit: 0116fb41c5671833c74f2601a9d50d563fa163d3
Author: Josiah Mullins  protonmail  com>
AuthorDate: Fri Jul 24 21:21:01 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  4 20:53:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0116fb41

net-libs/tox: remove old ebuild version 0.2.10

Signed-off-by: Josiah M. Mullins  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/tox/Manifest  |   1 -
 net-libs/tox/tox-0.2.10.ebuild | 115 -
 2 files changed, 116 deletions(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index 083981d3a3d..baec84db121 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,3 +1,2 @@
-DIST c-toxcore-0.2.10.tar.gz 515842 BLAKE2B 
8e79f9a5045b5fef7825e5eb21644625607d86e472ec75ff45ff826712efa515682f9439181d52444b2a6a21472c6e78a3bea5bb7e356373faf733e2644a315d
 SHA512 
8a6a78c52a67be0b727d0d3a8d1cece20ad716a2e694df0aa747eee7764f64c957458584f59db5e727a9803ed7b21adc1ad8d7e80fd6651e7774ca3504b38fc7
 DIST c-toxcore-0.2.11.tar.gz 507476 BLAKE2B 
67e86a5e5c8da1c387a319e6726eaccec28608f165f0b165d12e379cc7d8080baf9b89f438804ab8e59a8690a11bebba7f2ef689554800312fe039da77e70cac
 SHA512 
616b30423a170463b4445f6940e038fd9af820946c970260fcf72cc54d08d2615364b9f086869180e3ae26154ea92fea6e9a602366306bc40c3e1575e86350df
 DIST c-toxcore-0.2.12.tar.gz 504832 BLAKE2B 
625713142cc1e4b6583879144c05d47a40a1d98031a8a2bf0deec85a199f816a0ff6df5c76e9487a526d7c1c1650b37a10ed81be8233eaa1395707851378474f
 SHA512 
c22f139cfff3a5aedf5fb08c33cae0dae3d6fbceec87867c81290e3bf9d2e13466a0e2bad8378a7a7ba1e9b7b9ad756712963461ae248102e4cab7d4691228d8

diff --git a/net-libs/tox/tox-0.2.10.ebuild b/net-libs/tox/tox-0.2.10.ebuild
deleted file mode 100644
index 5964c671805..000
--- a/net-libs/tox/tox-0.2.10.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake systemd
-
-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 dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs 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-0.6.1:=[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 bootstrap lan_discovery save_compatibility tcp_relay 
tox_many_tcp; do
-   sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
-   done
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DAUTOTEST=$(usex test)
-   -DBOOTSTRAP_DAEMON=$(usex daemon)
-   -DBUILD_MISC_TESTS=$(usex test)
-   -DBUILD_TOXAV=$(usex av)
-   -DDHT_BOOTSTRAP=$(usex dht-node)
-   -DENABLE_SHARED=ON
-   -DENABLE_STATIC=$(usex static-libs)
-   -DMUST_BUILD_TOXAV=$(usex av))
-   if use test; then
-   mycmakeargs+=(
-   -DBUILD_AV_TEST=$(usex av)
-   -DTEST_TIMEOUT_SECONDS=120
-   -DUSE_IPV6=$(usex ipv6))
-   else
-   mycmakeargs+=(
-   -DBUILD_AV_TEST=OFF
-   -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_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 "There 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-07-05 Thread Agostino Sarubbo
commit: 2aec9c5ec7971f3113fec3e80046aa5f14515559
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul  5 13:44:12 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul  5 13:44:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aec9c5e

net-libs/tox: x86 stable wrt bug #730394

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/tox/tox-0.2.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/tox/tox-0.2.11.ebuild b/net-libs/tox/tox-0.2.11.ebuild
index 909de96781a..bd541befcf1 100644
--- a/net-libs/tox/tox-0.2.11.ebuild
+++ b/net-libs/tox/tox-0.2.11.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS="amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm x86"
 IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs test"
 
 REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn )



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-07-02 Thread Agostino Sarubbo
commit: fa0a31b1d3250a9e1f537d1319d841703d2d8120
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul  2 06:24:36 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul  2 06:24:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa0a31b1

net-libs/tox: amd64 stable wrt bug #730394

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/tox/tox-0.2.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/tox/tox-0.2.11.ebuild b/net-libs/tox/tox-0.2.11.ebuild
index 4dbce23e16a..909de96781a 100644
--- a/net-libs/tox/tox-0.2.11.ebuild
+++ b/net-libs/tox/tox-0.2.11.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
 IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs test"
 
 REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn )



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-06-08 Thread Joonas Niilola
commit: bd15170cbc20985c063b440c2458692688d89353
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Jun  8 07:43:36 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jun  8 07:45:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd15170c

net-libs/tox: add subslot binder to libvpx

Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/tox/tox-0.2.12.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/tox/tox-0.2.12.ebuild b/net-libs/tox/tox-0.2.12.ebuild
index 87c96ebdac8..f6c830c2713 100644
--- a/net-libs/tox/tox-0.2.12.ebuild
+++ b/net-libs/tox/tox-0.2.12.ebuild
@@ -7,7 +7,7 @@ inherit cmake systemd
 
 MY_P="c-toxcore-${PV}"
 DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
-HOMEPAGE="https://tox.chat;
+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+"
@@ -23,7 +23,7 @@ BDEPEND="virtual/pkgconfig"
 DEPEND="
>dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]
av? (
-   media-libs/libvpx
+   media-libs/libvpx:=
media-libs/opus
)
daemon? ( dev-libs/libconfig )"



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-06-08 Thread Joonas Niilola
commit: 7bfeb8b7d6f543b98b9a923ef5713867bb287d84
Author: Josiah Mullins  protonmail  com>
AuthorDate: Thu May 14 23:55:21 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jun  8 07:45:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bfeb8b7

net-libs/tox: bump to 0.2.12

Also removed the warning about the broken
backawards compatible tox-bootstrap-daemon
files. Reenabled some tests that have been
fixed since the last version.

Signed-off-by: Josiah Mullins  protonmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/tox/Manifest  |   1 +
 net-libs/tox/tox-0.2.12.ebuild | 106 +
 2 files changed, 107 insertions(+)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index c8133bf407b..083981d3a3d 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,2 +1,3 @@
 DIST c-toxcore-0.2.10.tar.gz 515842 BLAKE2B 
8e79f9a5045b5fef7825e5eb21644625607d86e472ec75ff45ff826712efa515682f9439181d52444b2a6a21472c6e78a3bea5bb7e356373faf733e2644a315d
 SHA512 
8a6a78c52a67be0b727d0d3a8d1cece20ad716a2e694df0aa747eee7764f64c957458584f59db5e727a9803ed7b21adc1ad8d7e80fd6651e7774ca3504b38fc7
 DIST c-toxcore-0.2.11.tar.gz 507476 BLAKE2B 
67e86a5e5c8da1c387a319e6726eaccec28608f165f0b165d12e379cc7d8080baf9b89f438804ab8e59a8690a11bebba7f2ef689554800312fe039da77e70cac
 SHA512 
616b30423a170463b4445f6940e038fd9af820946c970260fcf72cc54d08d2615364b9f086869180e3ae26154ea92fea6e9a602366306bc40c3e1575e86350df
+DIST c-toxcore-0.2.12.tar.gz 504832 BLAKE2B 
625713142cc1e4b6583879144c05d47a40a1d98031a8a2bf0deec85a199f816a0ff6df5c76e9487a526d7c1c1650b37a10ed81be8233eaa1395707851378474f
 SHA512 
c22f139cfff3a5aedf5fb08c33cae0dae3d6fbceec87867c81290e3bf9d2e13466a0e2bad8378a7a7ba1e9b7b9ad756712963461ae248102e4cab7d4691228d8

diff --git a/net-libs/tox/tox-0.2.12.ebuild b/net-libs/tox/tox-0.2.12.ebuild
new file mode 100644
index 000..87c96ebdac8
--- /dev/null
+++ b/net-libs/tox/tox-0.2.12.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake systemd
+
+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 dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs 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-0.6.1:=[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; do
+   sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
+   done
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DAUTOTEST=$(usex test)
+   -DBOOTSTRAP_DAEMON=$(usex daemon)
+   -DBUILD_MISC_TESTS=$(usex test)
+   -DBUILD_TOXAV=$(usex av)
+   -DDHT_BOOTSTRAP=$(usex dht-node)
+   -DENABLE_SHARED=ON
+   -DENABLE_STATIC=$(usex static-libs)
+   -DMUST_BUILD_TOXAV=$(usex av))
+   if use test; then
+   mycmakeargs+=(
+   -DTEST_TIMEOUT_SECONDS=120
+   -DUSE_IPV6=$(usex ipv6))
+   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_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 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-04-26 Thread Agostino Sarubbo
commit: 9d85920e3e8a0f3db8380bac4c08a66818b11804
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Apr 26 15:28:42 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Apr 26 15:28:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d85920e

net-libs/tox: amd64 stable wrt bug #718802

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/tox/tox-0.2.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/tox/tox-0.2.10.ebuild b/net-libs/tox/tox-0.2.10.ebuild
index f1bd667d323..5964c671805 100644
--- a/net-libs/tox/tox-0.2.10.ebuild
+++ b/net-libs/tox/tox-0.2.10.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS="~amd64 ~arm x86"
+KEYWORDS="amd64 ~arm x86"
 IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs test"
 
 REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn )



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-04-26 Thread Agostino Sarubbo
commit: f8d5b01669eb40cb575fcb6ee18ce30d32865fa4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Apr 26 14:16:28 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Apr 26 14:16:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8d5b016

net-libs/tox: x86 stable wrt bug #718802

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/tox/tox-0.2.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/tox/tox-0.2.10.ebuild b/net-libs/tox/tox-0.2.10.ebuild
index 62153f253b2..f1bd667d323 100644
--- a/net-libs/tox/tox-0.2.10.ebuild
+++ b/net-libs/tox/tox-0.2.10.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm x86"
 IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs test"
 
 REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn )



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-03-28 Thread Joonas Niilola
commit: 7b11957c551558ede8f2f03f092e364a7cb33903
Author: Josiah Mullins  protonmail  com>
AuthorDate: Wed Mar 25 13:53:36 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 28 14:21:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b11957c

net-libs/tox: Remove old version 0.2.9-r1

Closes: https://bugs.gentoo.org/689022
Closes: https://bugs.gentoo.org/687580
Closes: https://bugs.gentoo.org/688692

Signed-off-by: Josiah Mullins  protonmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/tox/Manifest|   1 -
 net-libs/tox/tox-0.2.9-r1.ebuild | 111 ---
 2 files changed, 112 deletions(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index 64a9543861a..a8104b5ef54 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,2 +1 @@
 DIST c-toxcore-0.2.10.tar.gz 515842 BLAKE2B 
8e79f9a5045b5fef7825e5eb21644625607d86e472ec75ff45ff826712efa515682f9439181d52444b2a6a21472c6e78a3bea5bb7e356373faf733e2644a315d
 SHA512 
8a6a78c52a67be0b727d0d3a8d1cece20ad716a2e694df0aa747eee7764f64c957458584f59db5e727a9803ed7b21adc1ad8d7e80fd6651e7774ca3504b38fc7
-DIST c-toxcore-0.2.9.tar.gz 510806 BLAKE2B 
e67bdb86757d1431cc9d627dbc9afa9f54c3deb7814b38c2126849d10e9225aa58d2b23d175622678be74894ea197d3084719422a605d95eb4c55c4597a79f98
 SHA512 
917826a906a9ca4f04f34494616b8e36ec9e74c6b0709c50e8fe2dd9da680d170013fef242a3fe1b834e8e54cd2dde6be1c14e5d977f8531436ef34280bc3966

diff --git a/net-libs/tox/tox-0.2.9-r1.ebuild b/net-libs/tox/tox-0.2.9-r1.ebuild
deleted file mode 100644
index a6e9875d9fc..000
--- a/net-libs/tox/tox-0.2.9-r1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake systemd
-
-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 dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs 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-0.6.1:=[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 bootstrap lan_discovery save_compatibility tcp_relay 
tox_many_tcp; do
-   sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
-   done
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DAUTOTEST=$(usex test)
-   -DBOOTSTRAP_DAEMON=$(usex daemon)
-   -DBUILD_MISC_TESTS=$(usex test)
-   -DBUILD_TOXAV=$(usex av)
-   -DDHT_BOOTSTRAP=$(usex dht-node)
-   -DENABLE_SHARED=ON
-   -DENABLE_STATIC=$(usex static-libs)
-   -DMUST_BUILD_TOXAV=$(usex av))
-   if use test; then
-   mycmakeargs+=(
-   -DBUILD_AV_TEST=$(usex av)
-   -DTEST_TIMEOUT_SECONDS=120
-   -DUSE_IPV6=$(usex ipv6))
-   else
-   mycmakeargs+=(
-   -DBUILD_AV_TEST=OFF
-   -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_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 "There is currently an unresolved issue with tox"
-   ewarn "DHT Bootstrap node that causes the program to be"
-   ewarn "built with a null library reference. This"
-   ewarn "causes an infinite loop for certain 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-03-28 Thread Joonas Niilola
commit: ea88da7129af23664f97ef7c5e439a0cf654b951
Author: Josiah Mullins  protonmail  com>
AuthorDate: Wed Mar 25 14:02:08 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 28 14:21:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea88da71

net-libs/tox: bump to version 0.2.11

Changed from eclass "cmake-utlils" to eclass "cmake".
Upstream made some minor changes. They disabled the test
"tcp_relay" that the ebuild disabled in prior versions;
removed the option "BUILD_AV_TEST" and they appear to
have fixed the test "tox_many_tcp".

Signed-off-by: Josiah Mullins  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15109
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/tox/Manifest  |   1 +
 net-libs/tox/tox-0.2.11.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index a8104b5ef54..c8133bf407b 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1 +1,2 @@
 DIST c-toxcore-0.2.10.tar.gz 515842 BLAKE2B 
8e79f9a5045b5fef7825e5eb21644625607d86e472ec75ff45ff826712efa515682f9439181d52444b2a6a21472c6e78a3bea5bb7e356373faf733e2644a315d
 SHA512 
8a6a78c52a67be0b727d0d3a8d1cece20ad716a2e694df0aa747eee7764f64c957458584f59db5e727a9803ed7b21adc1ad8d7e80fd6651e7774ca3504b38fc7
+DIST c-toxcore-0.2.11.tar.gz 507476 BLAKE2B 
67e86a5e5c8da1c387a319e6726eaccec28608f165f0b165d12e379cc7d8080baf9b89f438804ab8e59a8690a11bebba7f2ef689554800312fe039da77e70cac
 SHA512 
616b30423a170463b4445f6940e038fd9af820946c970260fcf72cc54d08d2615364b9f086869180e3ae26154ea92fea6e9a602366306bc40c3e1575e86350df

diff --git a/net-libs/tox/tox-0.2.11.ebuild b/net-libs/tox/tox-0.2.11.ebuild
new file mode 100644
index 000..4dbce23e16a
--- /dev/null
+++ b/net-libs/tox/tox-0.2.11.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake systemd
+
+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 dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs 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-0.6.1:=[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 bootstrap lan_discovery save_compatibility; do
+   sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
+   done
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DAUTOTEST=$(usex test)
+   -DBOOTSTRAP_DAEMON=$(usex daemon)
+   -DBUILD_MISC_TESTS=$(usex test)
+   -DBUILD_TOXAV=$(usex av)
+   -DDHT_BOOTSTRAP=$(usex dht-node)
+   -DENABLE_SHARED=ON
+   -DENABLE_STATIC=$(usex static-libs)
+   -DMUST_BUILD_TOXAV=$(usex av))
+   if use test; then
+   mycmakeargs+=(
+   -DTEST_TIMEOUT_SECONDS=120
+   -DUSE_IPV6=$(usex ipv6))
+   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_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."
+   ewarn ""
+ 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-01-12 Thread Joonas Niilola
commit: 1e28361863d191d17006e1e5c26a210564cbcfb6
Author: Josiah Mullins  protonmail  com>
AuthorDate: Fri Jan 10 15:54:11 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jan 13 06:09:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e283618

net-libs/tox: convert to GLEP 81.

This commit fixes tox-0.2.9-r1 to use
the acct-group/tox and acct-user/tox
packages. It also reverts the package
to unstable due to the above changes.

Signed-off-by: Josiah Mullins  protonmail.com>

Closes: https://bugs.gentoo.org/694686
Closes: https://github.com/gentoo/gentoo/pull/14288
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/tox/tox-0.2.9-r1.ebuild | 20 ++--
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/net-libs/tox/tox-0.2.9-r1.ebuild b/net-libs/tox/tox-0.2.9-r1.ebuild
index 1cf998eed71..5307394b128 100644
--- a/net-libs/tox/tox-0.2.9-r1.ebuild
+++ b/net-libs/tox/tox-0.2.9-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils systemd user
+inherit cmake-utils systemd
 
 MY_P="c-toxcore-${PV}"
 DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
@@ -12,19 +12,21 @@ 
SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS="amd64 ~arm x86"
+KEYWORDS="~amd64 ~arm ~x86"
 IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs test"
-RESTRICT="!test? ( test )"
 
 REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn )
daemon? ( dht-node )"
+RESTRICT="!test? ( test )"
 
-RDEPEND="
-   av? ( media-libs/libvpx:=
-   media-libs/opus )
-   daemon? ( dev-libs/libconfig )
-   >=dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]"
 BDEPEND="virtual/pkgconfig"
+DEPEND=">=dev-libs/libsodium-0.6.1:=[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}"
 
@@ -97,8 +99,6 @@ pkg_postinst() {
ewarn "consider disabling the DHT-node use flag."
fi
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:"



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/files/

2020-01-12 Thread Joonas Niilola
commit: 606a78b496eff09146c70ba53059d5a5c755216c
Author: Josiah Mullins  protonmail  com>
AuthorDate: Thu Jan  9 17:31:44 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jan 13 06:09:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=606a78b4

net-libs/tox: fix to openrc init script.

This commit unifies the location of the PID file for
the daemon in both the openrc script and the daemon's
config file. In addition,the script now checks the keys
directory for existence and correct permissions.

Signed-off-by: Josiah M. Mullins  protonmail.com>

Closes: https://bugs.gentoo.org/691772
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/tox/files/initd   |  6 +-
 net-libs/tox/files/tox-bootstrapd.conf | 11 +++
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/net-libs/tox/files/initd b/net-libs/tox/files/initd
index 101d3297056..49880897a1a 100644
--- a/net-libs/tox/files/initd
+++ b/net-libs/tox/files/initd
@@ -1,7 +1,10 @@
 #!/sbin/openrc-run
 
 PIDDIR=/run/tox-bootstrapd
-PIDFILE="${PIDDIR}"/tox-bootstrap.pid
+PIDFILE="${PIDDIR}"/tox-bootstrapd.pid
+KEYSDIR=/var/lib/tox-bootstrapd
+TOX_USER=tox
+TOX_GROUP=tox
 
 depend() {
need net
@@ -11,6 +14,7 @@ start() {
ebegin "Starting tox-dht-bootstrap daemon"
 
checkpath -d -q -o "${TOX_USER}":"${TOX_GROUP}" "${PIDDIR}"
+   checkpath -d -q -o "${TOX_USER}":"${TOX_GROUP}" "${KEYSDIR}"
 
start-stop-daemon --start \
--pidfile "${PIDFILE}" \

diff --git a/net-libs/tox/files/tox-bootstrapd.conf 
b/net-libs/tox/files/tox-bootstrapd.conf
index 3413f5907d4..34836de6287 100644
--- a/net-libs/tox/files/tox-bootstrapd.conf
+++ b/net-libs/tox/files/tox-bootstrapd.conf
@@ -5,13 +5,16 @@ port = 33445
 
 // A key file is like a password, so keep it where no one can read it.
 // If there is no key file, a new one will be generated.
-// The daemon should have permission to read/write it.
+// If you change this directory, either change the keys directory
+// in the /etc/init.d/tox-dht-daemon script or manually set the
+// new directory to have user "tox" and group "tox".
 keys_file_path = "/var/lib/tox-bootstrapd/keys"
 
 // The PID file written to by the daemon.
-// Make sure that the user that daemon runs as has permissions to write to the
-// PID file.
-pid_file_path = "/var/run/tox-bootstrapd/tox-bootstrapd.pid"
+// Make sure that the user that daemon runs as has permissions to 
+// write to the PID file. If you change this file, please edit the 
+// etc/init.d/tox-dht-daemon script to reflect the change.
+pid_file_path = "/run/tox-bootstrapd/tox-bootstrapd.pid"
 
 // Enable IPv6.
 enable_ipv6 = true



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-01-12 Thread Joonas Niilola
commit: 8bb44727d1ea95d546b7c345d780f12a29fd5610
Author: Josiah Mullins  protonmail  com>
AuthorDate: Thu Jan  9 17:36:40 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jan 13 06:09:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bb44727

net-libs/tox: drop old versions

This commit drops both tox 0.2.8 and tox 0.2.9.

Signed-off-by: Josiah M. Mullins  protonmail.com>

Bug: https://bugs.gentoo.org/694686
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/tox/Manifest |   1 -
 net-libs/tox/metadata.xml |   1 -
 net-libs/tox/tox-0.2.8.ebuild | 100 -
 net-libs/tox/tox-0.2.9.ebuild | 101 --
 4 files changed, 203 deletions(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index 4aecac3f229..64a9543861a 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,3 +1,2 @@
 DIST c-toxcore-0.2.10.tar.gz 515842 BLAKE2B 
8e79f9a5045b5fef7825e5eb21644625607d86e472ec75ff45ff826712efa515682f9439181d52444b2a6a21472c6e78a3bea5bb7e356373faf733e2644a315d
 SHA512 
8a6a78c52a67be0b727d0d3a8d1cece20ad716a2e694df0aa747eee7764f64c957458584f59db5e727a9803ed7b21adc1ad8d7e80fd6651e7774ca3504b38fc7
-DIST c-toxcore-0.2.8.tar.gz 502907 BLAKE2B 
0ca2c861b3cd982b471fac5cf8bdacd21c3248118846cc17e51f33ba04cf3da12a64578744e47daa27bb8613762a6f562eb550f0b7af05a66696412f6d0a6360
 SHA512 
a23a87a74fe97091b00ea76676a22578ed1e2426ac777146bb6efc984f1bfd3fff0d7fb149691155b8e2db56e1e088a1884536e5b717ff5c45a87b437f275735
 DIST c-toxcore-0.2.9.tar.gz 510806 BLAKE2B 
e67bdb86757d1431cc9d627dbc9afa9f54c3deb7814b38c2126849d10e9225aa58d2b23d175622678be74894ea197d3084719422a605d95eb4c55c4597a79f98
 SHA512 
917826a906a9ca4f04f34494616b8e36ec9e74c6b0709c50e8fe2dd9da680d170013fef242a3fe1b834e8e54cd2dde6be1c14e5d977f8531436ef34280bc3966

diff --git a/net-libs/tox/metadata.xml b/net-libs/tox/metadata.xml
index 9b67a0bb173..bfbb95186f1 100644
--- a/net-libs/tox/metadata.xml
+++ b/net-libs/tox/metadata.xml
@@ -12,7 +12,6 @@

Adds support for audio and video.
Enables DHT Bootstrap Node. 
-   Log level: 0 (no debug info logged)
Log level: 1
Log level: 2
Log level: 3

diff --git a/net-libs/tox/tox-0.2.8.ebuild b/net-libs/tox/tox-0.2.8.ebuild
deleted file mode 100644
index 7e056d8ed92..000
--- a/net-libs/tox/tox-0.2.8.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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 ipv6 no-log log-trace log-debug log-info log-warn +log-error 
static-libs test"
-RESTRICT="!test? ( 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 )
-   >=dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   cmake-utils_src_prepare
-   #remove faulty tests
-   for testname in bootstrap lan_discovery save_compatibility tcp_relay; do
-   sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
-   done
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TOXAV=$(usex av)
-   -DMUST_BUILD_TOXAV=$(usex av)
-   -DBOOTSTRAP_DAEMON=$(usex daemon)
-   -DENABLE_STATIC=$(usex static-libs)
-   -DENABLE_SHARED=ON
-   -DBUILD_AV_TEST=$(usex test)
-   -DUSE_IPV6=$(usex test && usex ipv6)
-   )
-   if use test; then
-   mycmakeargs+=(-DTEST_TIMEOUT_SECONDS=120)
-   fi
-   if use no-log; then
-   mycmakeargs+=(-DMIN_LOGGER_LEVEL="")
-   einfo "logging disable"
-   elif use log-trace; then
-   mycmakeargs+=(-DMIN_LOGGER_LEVEL="TRACE")
-   einfo "Trace logging enabled"
-   elif use log-debug; then
-   mycmakeargs+=(-DMIN_LOGGER_LEVEL="DEBUG")
-   einfo "debug logging enabled"
-   elif use log-info; then
-   mycmakeargs+=(-DMIN_LOGGER_LEVEL="INFO")
-   einfo "info logging enabled"
-   elif use log-warn; then
-   mycmakeargs+=(-DMIN_LOGGER_LEVEL="WARNING")
-   einfo "warning logging enabled"
-   else
-   mycmakeargs+=(-DMIN_LOGGER_LEVEL="ERROR")
-   einfo "error logging enabled"
-   fi
-
-   cmake-utils_src_configure
-}
-
-src_install() 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-01-04 Thread Agostino Sarubbo
commit: a18ab4842e686019bed1a522645dd34987481bc1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jan  4 10:25:57 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jan  4 10:25:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a18ab484

net-libs/tox: x86 stable wrt bug #704614

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/tox/tox-0.2.9-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/tox/tox-0.2.9-r1.ebuild b/net-libs/tox/tox-0.2.9-r1.ebuild
index 5a2bd7ebb58..1cf998eed71 100644
--- a/net-libs/tox/tox-0.2.9-r1.ebuild
+++ b/net-libs/tox/tox-0.2.9-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS="amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm x86"
 IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2020-01-03 Thread Agostino Sarubbo
commit: 299885993c32c31c099ff20d06b05b2dc614ef87
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jan  3 12:00:51 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jan  3 12:00:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29988599

net-libs/tox: amd64 stable wrt bug #704614

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/tox/tox-0.2.9-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/tox/tox-0.2.9-r1.ebuild b/net-libs/tox/tox-0.2.9-r1.ebuild
index 54d31725efe..5a2bd7ebb58 100644
--- a/net-libs/tox/tox-0.2.9-r1.ebuild
+++ b/net-libs/tox/tox-0.2.9-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0/0.2"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
 IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2019-11-03 Thread Joonas Niilola
commit: dbcbb9582bd42c7f60577af77213febd693599c0
Author: Josiah Mullins  protonmail  com>
AuthorDate: Sat Nov  2 23:24:42 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Nov  4 06:07:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbcbb958

net-libs/tox: bump to 0.2.10

This commit will update tox to version 0.2.10. It also brings
tox into compliance with GLEP 81.

Signed-off-by: Josiah Mullins  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12638
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/tox/Manifest  |   1 +
 net-libs/tox/tox-0.2.10.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index d9048b81122..4aecac3f229 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,2 +1,3 @@
+DIST c-toxcore-0.2.10.tar.gz 515842 BLAKE2B 
8e79f9a5045b5fef7825e5eb21644625607d86e472ec75ff45ff826712efa515682f9439181d52444b2a6a21472c6e78a3bea5bb7e356373faf733e2644a315d
 SHA512 
8a6a78c52a67be0b727d0d3a8d1cece20ad716a2e694df0aa747eee7764f64c957458584f59db5e727a9803ed7b21adc1ad8d7e80fd6651e7774ca3504b38fc7
 DIST c-toxcore-0.2.8.tar.gz 502907 BLAKE2B 
0ca2c861b3cd982b471fac5cf8bdacd21c3248118846cc17e51f33ba04cf3da12a64578744e47daa27bb8613762a6f562eb550f0b7af05a66696412f6d0a6360
 SHA512 
a23a87a74fe97091b00ea76676a22578ed1e2426ac777146bb6efc984f1bfd3fff0d7fb149691155b8e2db56e1e088a1884536e5b717ff5c45a87b437f275735
 DIST c-toxcore-0.2.9.tar.gz 510806 BLAKE2B 
e67bdb86757d1431cc9d627dbc9afa9f54c3deb7814b38c2126849d10e9225aa58d2b23d175622678be74894ea197d3084719422a605d95eb4c55c4597a79f98
 SHA512 
917826a906a9ca4f04f34494616b8e36ec9e74c6b0709c50e8fe2dd9da680d170013fef242a3fe1b834e8e54cd2dde6be1c14e5d977f8531436ef34280bc3966

diff --git a/net-libs/tox/tox-0.2.10.ebuild b/net-libs/tox/tox-0.2.10.ebuild
new file mode 100644
index 000..11d676ea613
--- /dev/null
+++ b/net-libs/tox/tox-0.2.10.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils systemd
+
+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 dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs 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-0.6.1:=[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-utils_src_prepare
+   #remove faulty tests
+   for testname in bootstrap lan_discovery save_compatibility tcp_relay 
tox_many_tcp; do
+   sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
+   done
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DAUTOTEST=$(usex test)
+   -DBOOTSTRAP_DAEMON=$(usex daemon)
+   -DBUILD_MISC_TESTS=$(usex test)
+   -DBUILD_TOXAV=$(usex av)
+   -DDHT_BOOTSTRAP=$(usex dht-node)
+   -DENABLE_SHARED=ON
+   -DENABLE_STATIC=$(usex static-libs)
+   -DMUST_BUILD_TOXAV=$(usex av))
+   if use test; then
+   mycmakeargs+=(
+   -DBUILD_AV_TEST=$(usex av)
+   -DTEST_TIMEOUT_SECONDS=120
+   -DUSE_IPV6=$(usex ipv6))
+   else
+   mycmakeargs+=(
+   -DBUILD_AV_TEST=OFF
+   -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-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
+ 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2019-11-03 Thread Joonas Niilola
commit: 9e2eb6cf66ed0095be122abec0d033d9dbc77417
Author: Josiah Mullins  protonmail  com>
AuthorDate: Sat Oct 19 01:57:21 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Nov  4 06:07:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e2eb6cf

net-libs/tox: update tox-

This commit introduces compatability with GLEP 81;
updates the EAPI from 6 to 7; updates the cflags
options; disables dht-node by default; and
optimizes the package requirement section.

Signed-off-by: Josiah Mullins  protonmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/tox/tox-.ebuild | 89 
 1 file changed, 65 insertions(+), 24 deletions(-)

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-.ebuild
index 3c267ef0e1e..501b16dc726 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit cmake-utils git-r3 systemd user
+inherit cmake-utils git-r3 systemd
 
 DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
 HOMEPAGE="https://tox.chat;
@@ -13,29 +13,66 @@ EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git;
 LICENSE="GPL-3+"
 SLOT="0/0.2"
 KEYWORDS=""
-IUSE="+av daemon log-debug log-trace +no-log static-libs test"
+IUSE="+av daemon dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs test"
 
-REQUIRED_USE="^^ ( no-log log-trace log-debug )"
+REQUIRED_USE="^^ ( log-debug log-error log-info log-trace log-warn )
+   daemon? ( dht-node )"
 
-RDEPEND="
-   av? ( media-libs/libvpx:=
+COMMON_DEPEND="
+   av? ( media-libs/libvpx
media-libs/opus )
-   daemon? ( dev-libs/libconfig )
+   daemon? ( acct-group/tox
+   acct-user/tox
+   dev-libs/libconfig )
>=dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig"
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}"
+
+src_prepare() {
+   cmake-utils_src_prepare
+   #remove faulty tests
+   for testname in bootstrap lan_discovery save_compatibility 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)
+   -DAUTOTEST=$(usex test)
-DBOOTSTRAP_DAEMON=$(usex daemon)
+   -DBUILD_TOXAV=$(usex av)
+   -DDHT_BOOTSTRAP=$(usex dht-node)
+   -DENABLE_SHARED=ON
-DENABLE_STATIC=$(usex static-libs)
-   )
+   -DMUST_BUILD_TOXAV=$(usex av))
+   if use test; then
+   mycmakeargs+=(
+   -DBUILD_AV_TEST=$(usex av)
+   -DTEST_TIMEOUT_SECONDS=120
+   -DUSE_IPV6=$(usex ipv6))
+   else
+   mycmakeargs+=(
+   -DBUILD_AV_TEST=OFF
+   -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-utils_src_configure
 }
 
@@ -49,20 +86,24 @@ src_install() {
doins "${FILESDIR}"/tox-bootstrapd.conf
systemd_dounit "${FILESDIR}"/tox-bootstrapd.service
fi
-
-   find "${D}" -name '*.la' -delete || die
 }
 
 pkg_postinst() {
+   if use dht-node; then
+   ewarn "There is currently an unresolved issue with tox"
+   ewarn "DHT Bootstrap node that causes the program to be"
+   ewarn "built with a null library reference. This"
+   ewarn "causes an infinite loop for certain rev-dep-rebuild"
+   ewarn "commands. If you aren't running a node, please"
+   ewarn "consider disabling the dht-node flag"
+   fi
if use daemon; then
-   enewgroup tox
-   enewuser tox -1 -1 -1 tox
-   if [[ -f ${EROOT%/}/var/lib/tox-dht-bootstrap/key ]]; then
+   if [[ -f ${EROOT}/var/lib/tox-dht-bootstrap/key ]]; then
ewarn 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2019-05-26 Thread Michał Górny
commit: 68ae6665c6cf68fbc2f50a57442fedcffd3be331
Author: Josiah Mullins  protonmail  com>
AuthorDate: Wed May 22 21:27:33 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 26 09:43:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ae6665

net-libs/tox: New use flag dht-node.

This commit introduces the use flag dht-node. This flag
controls the building of the program /usr/bin/DHT_bootstrap.
This flag is turned off by default. This helps mitigate
the impact of Bug 684470.

Signed-off-by: Josiah Mullins  protonmail.com>
Bug: https://bugs.gentoo.org/684470
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/12009
Signed-off-by: Michał Górny  gentoo.org>

 net-libs/tox/metadata.xml|   1 +
 net-libs/tox/tox-0.2.9-r1.ebuild | 110 +++
 2 files changed, 111 insertions(+)

diff --git a/net-libs/tox/metadata.xml b/net-libs/tox/metadata.xml
index 4c464531d0b..9b67a0bb173 100644
--- a/net-libs/tox/metadata.xml
+++ b/net-libs/tox/metadata.xml
@@ -11,6 +11,7 @@


Adds support for audio and video.
+   Enables DHT Bootstrap Node. 
Log level: 0 (no debug info logged)
Log level: 1
Log level: 2

diff --git a/net-libs/tox/tox-0.2.9-r1.ebuild b/net-libs/tox/tox-0.2.9-r1.ebuild
new file mode 100644
index 000..96361d5998c
--- /dev/null
+++ b/net-libs/tox/tox-0.2.9-r1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 dht-node ipv6 log-debug +log-error log-info log-trace 
log-warn static-libs test"
+
+REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn )
+   daemon? ( dht-node )"
+
+RDEPEND="
+   av? ( media-libs/libvpx:=
+   media-libs/opus )
+   daemon? ( dev-libs/libconfig )
+   >=dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   cmake-utils_src_prepare
+   #remove faulty tests
+   for testname in bootstrap lan_discovery save_compatibility tcp_relay 
tox_many_tcp; do
+   sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
+   done
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DAUTOTEST=$(usex test)
+   -DBOOTSTRAP_DAEMON=$(usex daemon)
+   -DBUILD_MISC_TESTS=$(usex test)
+   -DBUILD_TOXAV=$(usex av)
+   -DDHT_BOOTSTRAP=$(usex dht-node)
+   -DENABLE_SHARED=ON
+   -DENABLE_STATIC=$(usex static-libs)
+   -DMUST_BUILD_TOXAV=$(usex av))
+   if use test; then
+   mycmakeargs+=(
+   -DBUILD_AV_TEST=$(usex av)
+   -DTEST_TIMEOUT_SECONDS=120
+   -DUSE_IPV6=$(usex ipv6))
+   else
+   mycmakeargs+=(
+   -DBUILD_AV_TEST=OFF
+   -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-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
+}
+
+pkg_postinst() {
+   if use dht-node; then
+   ewarn "There is currently an unresolved issue with tox"
+   ewarn "DHT Bootstrap node that causes the program to be"
+   ewarn "built with a null library reference. This"
+   ewarn "causes an infinite loop for certain revdep-rebuild"
+   ewarn "commands. If you aren't running a node, please"
+   ewarn "consider disabling the DHT-node use flag."
+   fi
+   if use daemon; then
+   enewgroup tox
+   enewuser tox -1 -1 -1 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2019-04-21 Thread Michał Górny
commit: cde9530cc127d9bdd034cc1bc46245df835f2e0c
Author: Josiah Mullins  protonmail  com>
AuthorDate: Sat Feb 16 15:11:16 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 21 21:16:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cde9530c

net-libs/tox: update to tox 0.2.9

This commit updates the version from tox-0.2.8 to tox-0.2.9.

Signed-off-by: Josiah Mullins  protonmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/11072
Signed-off-by: Michał Górny  gentoo.org>

 net-libs/tox/Manifest |   1 +
 net-libs/tox/tox-0.2.9.ebuild | 100 ++
 2 files changed, 101 insertions(+)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index 9a173c62610..d9048b81122 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1 +1,2 @@
 DIST c-toxcore-0.2.8.tar.gz 502907 BLAKE2B 
0ca2c861b3cd982b471fac5cf8bdacd21c3248118846cc17e51f33ba04cf3da12a64578744e47daa27bb8613762a6f562eb550f0b7af05a66696412f6d0a6360
 SHA512 
a23a87a74fe97091b00ea76676a22578ed1e2426ac777146bb6efc984f1bfd3fff0d7fb149691155b8e2db56e1e088a1884536e5b717ff5c45a87b437f275735
+DIST c-toxcore-0.2.9.tar.gz 510806 BLAKE2B 
e67bdb86757d1431cc9d627dbc9afa9f54c3deb7814b38c2126849d10e9225aa58d2b23d175622678be74894ea197d3084719422a605d95eb4c55c4597a79f98
 SHA512 
917826a906a9ca4f04f34494616b8e36ec9e74c6b0709c50e8fe2dd9da680d170013fef242a3fe1b834e8e54cd2dde6be1c14e5d977f8531436ef34280bc3966

diff --git a/net-libs/tox/tox-0.2.9.ebuild b/net-libs/tox/tox-0.2.9.ebuild
new file mode 100644
index 000..046b33fd197
--- /dev/null
+++ b/net-libs/tox/tox-0.2.9.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ipv6 log-debug +log-error log-info log-trace log-warn 
static-libs test"
+
+REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn )"
+
+RDEPEND="
+   av? ( media-libs/libvpx:=
+   media-libs/opus )
+   daemon? ( dev-libs/libconfig )
+   >=dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   cmake-utils_src_prepare
+   #remove faulty tests
+   for testname in bootstrap lan_discovery save_compatibility tcp_relay 
tox_many_tcp; do
+   sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
+   done
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DAUTOTEST=$(usex test)
+   -DBOOTSTRAP_DAEMON=$(usex daemon)
+   -DBUILD_MISC_TESTS=$(usex test)
+   -DBUILD_TOXAV=$(usex av)
+   -DENABLE_SHARED=ON
+   -DENABLE_STATIC=$(usex static-libs)
+   -DMUST_BUILD_TOXAV=$(usex av))
+   if use test; then
+   mycmakeargs+=(
+   -DBUILD_AV_TEST=$(usex av)
+   -DTEST_TIMEOUT_SECONDS=120
+   -DUSE_IPV6=$(usex ipv6))
+   else
+   mycmakeargs+=(
+   -DBUILD_AV_TEST=OFF
+   -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-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
+}
+
+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"
+ 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2018-12-22 Thread Andreas Sturmlechner
commit: 4c94441763ab5cdd9739ffe6b97913cc3cdadfa5
Author: Josiah Mullins  protonmail  com>
AuthorDate: Thu Dec 13 23:21:07 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Dec 22 11:43:25 2018 +
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-.

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-.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..000
--- 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() {

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2018-10-27 Thread Michał Górny
commit: 105c5524c8ea095606d05c8ca21de0345dca3256
Author: Josiah Mullins  protonmail  com>
AuthorDate: Fri Oct 26 00:01:34 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 27 08:03:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=105c5524

net-libs/tox: clean old versions

This removes tox-0.1.6 and tox-0_pre20160904.

Closes: https://bugs.gentoo.org/623658
Signed-off-by: Josiah Mullins  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10231
Signed-off-by: Michał Górny  gentoo.org>

 net-libs/tox/Manifest |  2 -
 net-libs/tox/tox-0.1.6.ebuild | 77 ---
 net-libs/tox/tox-0_pre20160904.ebuild | 75 --
 3 files changed, 154 deletions(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index 6236ccd4992..0252fcb17b3 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,5 +1,3 @@
 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
-DIST tox-0.1.6.tar.lz 314837 BLAKE2B 
087a6f5d5ef55709b5f6188d661d556326bb3e6eac33e55f9faf598d433e33dabbd983ab452e948bff97f82cdc336e0fd48d3f0a6ec57551914884a809b9118d
 SHA512 
57ed7cee2c621c57e24f5ab36d68d99414d9820cdb3e8b7c4390818222f9d885f352f9cf76c8eb522c238bebc7d420bcf3cdd5f6ab65b9801aadbd225765166c
-DIST tox-0_pre20160904.tar.gz 395495 BLAKE2B 
d59358c5ff904b17e9c5297a0ce2aff39777f8dd4bfeba1e5e78a284a5016921794d0e0699f91a99f53428809a859ce959e17b4ae9fffdd691005c377834057d
 SHA512 
c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1

diff --git a/net-libs/tox/tox-0.1.6.ebuild b/net-libs/tox/tox-0.1.6.ebuild
deleted file mode 100644
index 6f3d6ba59e8..000
--- a/net-libs/tox/tox-0.1.6.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools systemd unpacker 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-v${PV}.tar.lz
 -> ${P}.tar.lz"
-
-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}
-   $(unpacker_src_uri_depends)
-   test? ( dev-libs/check )
-   virtual/pkgconfig"
-
-S=${WORKDIR}
-
-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
- 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2018-10-22 Thread Michał Górny
commit: ed6bd85ba15c5e719e2b77b932b153d529aa622e
Author: Josiah Mullins  protonmail  com>
AuthorDate: Tue Oct 16 22:47:24 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct 22 20:21:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed6bd85b

net-libs/tox: bump to version 0.2.8

This commit:
adds the use flag ipv6 to enable ipv6 tests;
removes a line that deleted .la files;
src_config() was modified
a new maintainer was added in metadata.xml.

Bug: https://bugs.gentoo.org/668264
Bug: https://bugs.gentoo.org/629828
Closes: https://bugs.gentoo.org/661692
Signed-off-by: Josiah Mullins  protonmail.com>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10161
Signed-off-by: Michał Górny  gentoo.org>

 net-libs/tox/Manifest |  1 +
 net-libs/tox/metadata.xml |  9 +++-
 net-libs/tox/tox-0.2.8.ebuild | 99 +++
 3 files changed, 108 insertions(+), 1 deletion(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index a8f6d5d5509..6236ccd4992 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,4 +1,5 @@
 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
 DIST tox-0.1.6.tar.lz 314837 BLAKE2B 
087a6f5d5ef55709b5f6188d661d556326bb3e6eac33e55f9faf598d433e33dabbd983ab452e948bff97f82cdc336e0fd48d3f0a6ec57551914884a809b9118d
 SHA512 
57ed7cee2c621c57e24f5ab36d68d99414d9820cdb3e8b7c4390818222f9d885f352f9cf76c8eb522c238bebc7d420bcf3cdd5f6ab65b9801aadbd225765166c
 DIST tox-0_pre20160904.tar.gz 395495 BLAKE2B 
d59358c5ff904b17e9c5297a0ce2aff39777f8dd4bfeba1e5e78a284a5016921794d0e0699f91a99f53428809a859ce959e17b4ae9fffdd691005c377834057d
 SHA512 
c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1

diff --git a/net-libs/tox/metadata.xml b/net-libs/tox/metadata.xml
index 0dc9808e046..99359c3fc50 100644
--- a/net-libs/tox/metadata.xml
+++ b/net-libs/tox/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   jomul...@protonmail.com
+   Josiah Mullins
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

Adds support for audio and video.
Log level: 0 (no debug info logged)

diff --git a/net-libs/tox/tox-0.2.8.ebuild b/net-libs/tox/tox-0.2.8.ebuild
new file mode 100644
index 000..d10d777179d
--- /dev/null
+++ b/net-libs/tox/tox-0.2.8.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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 ipv6 no-log log-trace log-debug log-info log-warn +log-error 
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 )
+   >=dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal]"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   cmake-utils_src_prepare
+   #remove faulty tests
+   for testname in bootstrap lan_discovery save_compatibility tcp_relay; do
+   sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
+   done
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TOXAV=$(usex av)
+   -DMUST_BUILD_TOXAV=$(usex av)
+   -DBOOTSTRAP_DAEMON=$(usex daemon)
+   -DENABLE_STATIC=$(usex static-libs)
+   -DENABLE_SHARED=ON
+   -DBUILD_AV_TEST=$(usex test)
+   -DUSE_IPV6=$(usex test && usex ipv6)
+   )
+   if use test; then
+ 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2018-08-12 Thread Michał Górny
commit: 558cefd73a8842436c1d8cfa56aac6c0e12caa7c
Author: François-Xavier Carton  gmail  com>
AuthorDate: Wed Jul 11 03:11:50 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 12 16:58:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=558cefd7

net-libs/tox: version bump to 0.2.5

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-libs/tox/Manifest  |  1 +
 net-libs/tox/{tox-.ebuild => tox-0.2.5.ebuild} | 56 --
 net-libs/tox/tox-.ebuild   | 46 --
 3 files changed, 51 insertions(+), 52 deletions(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index b1fd636c002..a8f6d5d5509 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,3 +1,4 @@
 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 tox-0.1.6.tar.lz 314837 BLAKE2B 
087a6f5d5ef55709b5f6188d661d556326bb3e6eac33e55f9faf598d433e33dabbd983ab452e948bff97f82cdc336e0fd48d3f0a6ec57551914884a809b9118d
 SHA512 
57ed7cee2c621c57e24f5ab36d68d99414d9820cdb3e8b7c4390818222f9d885f352f9cf76c8eb522c238bebc7d420bcf3cdd5f6ab65b9801aadbd225765166c
 DIST tox-0_pre20160904.tar.gz 395495 BLAKE2B 
d59358c5ff904b17e9c5297a0ce2aff39777f8dd4bfeba1e5e78a284a5016921794d0e0699f91a99f53428809a859ce959e17b4ae9fffdd691005c377834057d
 SHA512 
c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-0.2.5.ebuild
similarity index 55%
copy from net-libs/tox/tox-.ebuild
copy to net-libs/tox/tox-0.2.5.ebuild
index e7b2b5569ca..71e771406fa 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-0.2.5.ebuild
@@ -1,53 +1,57 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit autotools git-r3 user systemd
+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=""
-EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git;
+SRC_URI="https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> 
${MY_P}.tar.gz"
 
 LICENSE="GPL-3+"
-SLOT="0/0.1"
-KEYWORDS=""
-IUSE="+av daemon log-debug log-error log-info log-trace log-warn +no-log ntox 
static-libs test"
+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 log-info log-warn log-error )"
+REQUIRED_USE="^^ ( no-log log-trace log-debug )"
 
 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}/${MY_P}"
+
 src_prepare() {
-   default
-   eautoreconf
+   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() {
-   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)
+   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() {
-   default
+   cmake-utils_src_install
+
   

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2018-07-19 Thread Jonas Stein
commit: e9f029d676c2811f0c1ba792998c56c251f801fc
Author: Jonas Stein  gentoo  org>
AuthorDate: Thu Jul 19 19:50:27 2018 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Thu Jul 19 19:50:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9f029d6

net-libs/tox: Maintainer retired

Proxied maintainer retired.
Closes: https://bugs.gentoo.org/618504
Package-Manager: Portage-2.3.43, Repoman-2.3.10

 net-libs/tox/metadata.xml | 11 ++-
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/net-libs/tox/metadata.xml b/net-libs/tox/metadata.xml
index 578a876b40a..0dc9808e046 100644
--- a/net-libs/tox/metadata.xml
+++ b/net-libs/tox/metadata.xml
@@ -1,14 +1,7 @@
-
+
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   zexave...@gmail.com
-   Zetok Zalbavar
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
+   

Adds support for audio and video.
Log level: 0 (no debug info logged)



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/files/

2017-10-27 Thread Patrice Clement
commit: 0a84eca3286f41c523a7aeeeaae35dcf9f40a9ca
Author: Pavel Frolov  gmail  com>
AuthorDate: Sat Sep  9 17:11:51 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Oct 27 23:00:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a84eca3

net-libs/tox: fix init scripts syntax.

Closes: https://bugs.gentoo.org/628706
Closes: https://bugs.gentoo.org/622344
Closes: https://github.com/gentoo/gentoo/pull/5674

 net-libs/tox/files/initd  | 2 +-
 net-libs/tox/files/tox-bootstrapd.service | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/tox/files/initd b/net-libs/tox/files/initd
index f08c59457e5..101d3297056 100644
--- a/net-libs/tox/files/initd
+++ b/net-libs/tox/files/initd
@@ -15,7 +15,7 @@ start() {
start-stop-daemon --start \
--pidfile "${PIDFILE}" \
--user="${TOX_USER}" --group="${TOX_GROUP}" \
-   --exec /usr/bin/tox-bootstrapd -- /etc/tox-bootstrapd.conf
+   --exec /usr/bin/tox-bootstrapd -- --config 
/etc/tox-bootstrapd.conf
 
eend $?
 }

diff --git a/net-libs/tox/files/tox-bootstrapd.service 
b/net-libs/tox/files/tox-bootstrapd.service
index c841b3c2cd9..ae2f238cd60 100644
--- a/net-libs/tox/files/tox-bootstrapd.service
+++ b/net-libs/tox/files/tox-bootstrapd.service
@@ -8,7 +8,7 @@ Group=tox
 RuntimeDirectory=tox-bootstrapd
 PIDFile=/run/tox-bootstrapd/tox-bootstrapd.pid
 WorkingDirectory=/var/lib/tox-bootstrapd
-ExecStart=/usr/bin/tox-bootstrapd /etc/tox-bootstrapd.conf
+ExecStart=/usr/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf
 #CapabilityBoundingSet=CAP_NET_BIND_SERVICE
 
 [Install]



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2017-08-18 Thread Michał Górny
commit: e6517297dc7dd3e056092286087e913ca155d8e5
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Wed Aug 16 21:22:49 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Aug 18 22:13:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6517297

net-libs/tox: bump version to v0.1.10

 net-libs/tox/Manifest  |  1 +
 net-libs/tox/tox-0.1.10.ebuild | 76 ++
 2 files changed, 77 insertions(+)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index 20709e1d7f3..4cf9effb75d 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,3 +1,4 @@
+DIST c-toxcore-0.1.10.tar.gz 820090 SHA256 
4e9a2881dd0ea8e65a35fc9621644ccf500c1797a2d37983b0057ed3be971299 SHA512 
428fee2d811d0b6d5d005f082aa06f95765794b1a8bc77ec4411bb9ec9085b99675535b88db50f5ad7313850a0bb3c54c4e2e8d8864cea7c0c7d81be9879b157
 WHIRLPOOL 
122a6f89c1d34afc685b80e74b9c20e3175ba49865d25a580f0e850d7851304b9077842f23084d4691efa9896d33ddfe136deac034d0eb51f821622e068bc988
 DIST tox-0.1.1.tar.gz 416532 SHA256 
c3a6329731a35c1e9cd8ad204407ddbc408f325056de2b1baa1fc44bc8bfcb37 SHA512 
5bdaf047594e943f854fda0f0265167e0dccf05fedfec6b4d9b628b242de23f9dd9b870bbdcca4cb02f9742fa2472e4c7e1047370732cb2ee529467f15e81fc1
 WHIRLPOOL 
32ee00f6eaf98473ce3de080ba36185da2c225b2037574b55060a12e88876fb1f7df492614fbbb493ba85a44a319f3e0c254c0daec1e8cc18472ba075834039f
 DIST tox-0.1.2.tar.gz 417957 SHA256 
605a462f77b497009217b8dbd01108d112e9a8b018473826379f9f4ffa5c0b66 SHA512 
39c52dd205205e271b2b15db30a007af89ba9ede00e2717f3ec7431bbfec984984236a493f2a4943cb8deff5d8a4eba1949d9e8332caebadeb352c477b1a5208
 WHIRLPOOL 
78c72bb16ddc964ce7f69f0721ac864fe64e3c7635614e6ee325af26a8d8ef0142a6cc6f7fd31516ef3f3ce6e2366551a501052809716d72580d39f4e8baaf2a
 DIST tox-0.1.4.tar.lz 305312 SHA256 
b27cba1719e06591fb7b3dbb757e3b9c531462adbb42fba572b35acb76f077d8 SHA512 
8d094275cc56193d33f380eb3c8ba708ce7a94b01ba378d68707240efd1550dd0e4a0ffd0f97bedd96c5ce6145b27e14fdb5b570ed0e5247b01f5d4e15b4fe3a
 WHIRLPOOL 
a227d8ba321d6a69398c63f8c2720fb812198918c6b717a72b4b7863ef7a64e482cbf628b51018df10ace9000e5a8dd22edbc0a1c6ffecbcd0fd31aa31ea7d73

diff --git a/net-libs/tox/tox-0.1.10.ebuild b/net-libs/tox/tox-0.1.10.ebuild
new file mode 100644
index 000..ce36d284017
--- /dev/null
+++ b/net-libs/tox/tox-0.1.10.ebuild
@@ -0,0 +1,76 @@
+# 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 "  

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2017-08-18 Thread Michał Górny
commit: 77b7619c8b5f89f6e8cfcc8f0bcf5487dc952352
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Wed Aug 16 21:24:28 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Aug 18 22:13:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77b7619c

net-libs/tox: remove old ebuilds

Closes: https://github.com/gentoo/gentoo/pull/5456

 net-libs/tox/Manifest |  3 --
 net-libs/tox/tox-0.1.1.ebuild | 76 --
 net-libs/tox/tox-0.1.2.ebuild | 76 --
 net-libs/tox/tox-0.1.4.ebuild | 77 ---
 4 files changed, 232 deletions(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index 4cf9effb75d..e563361cffb 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,6 +1,3 @@
 DIST c-toxcore-0.1.10.tar.gz 820090 SHA256 
4e9a2881dd0ea8e65a35fc9621644ccf500c1797a2d37983b0057ed3be971299 SHA512 
428fee2d811d0b6d5d005f082aa06f95765794b1a8bc77ec4411bb9ec9085b99675535b88db50f5ad7313850a0bb3c54c4e2e8d8864cea7c0c7d81be9879b157
 WHIRLPOOL 
122a6f89c1d34afc685b80e74b9c20e3175ba49865d25a580f0e850d7851304b9077842f23084d4691efa9896d33ddfe136deac034d0eb51f821622e068bc988
-DIST tox-0.1.1.tar.gz 416532 SHA256 
c3a6329731a35c1e9cd8ad204407ddbc408f325056de2b1baa1fc44bc8bfcb37 SHA512 
5bdaf047594e943f854fda0f0265167e0dccf05fedfec6b4d9b628b242de23f9dd9b870bbdcca4cb02f9742fa2472e4c7e1047370732cb2ee529467f15e81fc1
 WHIRLPOOL 
32ee00f6eaf98473ce3de080ba36185da2c225b2037574b55060a12e88876fb1f7df492614fbbb493ba85a44a319f3e0c254c0daec1e8cc18472ba075834039f
-DIST tox-0.1.2.tar.gz 417957 SHA256 
605a462f77b497009217b8dbd01108d112e9a8b018473826379f9f4ffa5c0b66 SHA512 
39c52dd205205e271b2b15db30a007af89ba9ede00e2717f3ec7431bbfec984984236a493f2a4943cb8deff5d8a4eba1949d9e8332caebadeb352c477b1a5208
 WHIRLPOOL 
78c72bb16ddc964ce7f69f0721ac864fe64e3c7635614e6ee325af26a8d8ef0142a6cc6f7fd31516ef3f3ce6e2366551a501052809716d72580d39f4e8baaf2a
-DIST tox-0.1.4.tar.lz 305312 SHA256 
b27cba1719e06591fb7b3dbb757e3b9c531462adbb42fba572b35acb76f077d8 SHA512 
8d094275cc56193d33f380eb3c8ba708ce7a94b01ba378d68707240efd1550dd0e4a0ffd0f97bedd96c5ce6145b27e14fdb5b570ed0e5247b01f5d4e15b4fe3a
 WHIRLPOOL 
a227d8ba321d6a69398c63f8c2720fb812198918c6b717a72b4b7863ef7a64e482cbf628b51018df10ace9000e5a8dd22edbc0a1c6ffecbcd0fd31aa31ea7d73
 DIST tox-0.1.6.tar.lz 314837 SHA256 
c51dfaf30cddbfb9a6080c8202d68113452224570109cd9a6f1b7d9709eae6af SHA512 
57ed7cee2c621c57e24f5ab36d68d99414d9820cdb3e8b7c4390818222f9d885f352f9cf76c8eb522c238bebc7d420bcf3cdd5f6ab65b9801aadbd225765166c
 WHIRLPOOL 
f75b27ade0f87f3793affbd291aba4b9e2387a29cd89deaf1351ed0797f634737938ff68d95a9fa1866891a68fa7a3b7f1c7ff0b68e3865eb7835fb9c4e5ff8b
 DIST tox-0_pre20160904.tar.gz 395495 SHA256 
2d4a0d096bdb81b12b10551765fb9f87270e170f10f387f700b3def68cb6c35c SHA512 
c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1
 WHIRLPOOL 
abd3f61784fac93d983e453515d1e8bc87f7d76651a53ce6f566a277d7ec7c1e03294d95781364ce9ab30f2698c6f5cd552bfa4888f8d5d0d315daf038980c63

diff --git a/net-libs/tox/tox-0.1.1.ebuild b/net-libs/tox/tox-0.1.1.ebuild
deleted file mode 100644
index bc791b1139c..000
--- a/net-libs/tox/tox-0.1.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2016 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/archive/v${PV}.tar.gz -> 
${P}.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() {
- 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2017-07-30 Thread Michał Górny
commit: 2b606c6cac51051107703cd60b5210bd7feede95
Author: David Hicks  hicks  id  au>
AuthorDate: Sat Jul 29 18:10:40 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 30 09:44:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b606c6c

net-libs/tox: use HTTPS for GitHub

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 net-libs/tox/tox-.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-.ebuild
index 37596b0c3d9..e7b2b5569ca 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,8 +8,7 @@ inherit autotools git-r3 user systemd
 DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
 HOMEPAGE="https://tox.chat;
 SRC_URI=""
-EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git
-   git://github.com/TokTok/c-toxcore.git"
+EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git;
 
 LICENSE="GPL-3+"
 SLOT="0/0.1"



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2017-01-29 Thread Göktürk Yüksek
commit: c8e035538f7c8c3d8221bdc290146bb90d89058f
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Fri Jan 27 17:30:56 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Sun Jan 29 17:07:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8e03553

net-libs/tox: bump to v0.1.6

Package-Manager: portage-2.3.3

 net-libs/tox/Manifest |  1 +
 net-libs/tox/tox-0.1.6.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index 2f9fa2a..20709e1 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,4 +1,5 @@
 DIST tox-0.1.1.tar.gz 416532 SHA256 
c3a6329731a35c1e9cd8ad204407ddbc408f325056de2b1baa1fc44bc8bfcb37 SHA512 
5bdaf047594e943f854fda0f0265167e0dccf05fedfec6b4d9b628b242de23f9dd9b870bbdcca4cb02f9742fa2472e4c7e1047370732cb2ee529467f15e81fc1
 WHIRLPOOL 
32ee00f6eaf98473ce3de080ba36185da2c225b2037574b55060a12e88876fb1f7df492614fbbb493ba85a44a319f3e0c254c0daec1e8cc18472ba075834039f
 DIST tox-0.1.2.tar.gz 417957 SHA256 
605a462f77b497009217b8dbd01108d112e9a8b018473826379f9f4ffa5c0b66 SHA512 
39c52dd205205e271b2b15db30a007af89ba9ede00e2717f3ec7431bbfec984984236a493f2a4943cb8deff5d8a4eba1949d9e8332caebadeb352c477b1a5208
 WHIRLPOOL 
78c72bb16ddc964ce7f69f0721ac864fe64e3c7635614e6ee325af26a8d8ef0142a6cc6f7fd31516ef3f3ce6e2366551a501052809716d72580d39f4e8baaf2a
 DIST tox-0.1.4.tar.lz 305312 SHA256 
b27cba1719e06591fb7b3dbb757e3b9c531462adbb42fba572b35acb76f077d8 SHA512 
8d094275cc56193d33f380eb3c8ba708ce7a94b01ba378d68707240efd1550dd0e4a0ffd0f97bedd96c5ce6145b27e14fdb5b570ed0e5247b01f5d4e15b4fe3a
 WHIRLPOOL 
a227d8ba321d6a69398c63f8c2720fb812198918c6b717a72b4b7863ef7a64e482cbf628b51018df10ace9000e5a8dd22edbc0a1c6ffecbcd0fd31aa31ea7d73
+DIST tox-0.1.6.tar.lz 314837 SHA256 
c51dfaf30cddbfb9a6080c8202d68113452224570109cd9a6f1b7d9709eae6af SHA512 
57ed7cee2c621c57e24f5ab36d68d99414d9820cdb3e8b7c4390818222f9d885f352f9cf76c8eb522c238bebc7d420bcf3cdd5f6ab65b9801aadbd225765166c
 WHIRLPOOL 
f75b27ade0f87f3793affbd291aba4b9e2387a29cd89deaf1351ed0797f634737938ff68d95a9fa1866891a68fa7a3b7f1c7ff0b68e3865eb7835fb9c4e5ff8b
 DIST tox-0_pre20160904.tar.gz 395495 SHA256 
2d4a0d096bdb81b12b10551765fb9f87270e170f10f387f700b3def68cb6c35c SHA512 
c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1
 WHIRLPOOL 
abd3f61784fac93d983e453515d1e8bc87f7d76651a53ce6f566a277d7ec7c1e03294d95781364ce9ab30f2698c6f5cd552bfa4888f8d5d0d315daf038980c63

diff --git a/net-libs/tox/tox-0.1.6.ebuild b/net-libs/tox/tox-0.1.6.ebuild
new file mode 100644
index ..a3cdfaa
--- /dev/null
+++ b/net-libs/tox/tox-0.1.6.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools systemd unpacker 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-v${PV}.tar.lz
 -> ${P}.tar.lz"
+
+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}
+   $(unpacker_src_uri_depends)
+   test? ( dev-libs/check )
+   virtual/pkgconfig"
+
+S=${WORKDIR}
+
+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 

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2017-01-15 Thread Göktürk Yüksek
commit: b49b1204aea9e9ad4a76e278496f07c9cda56bba
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Sat Jan 14 13:21:54 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Mon Jan 16 03:20:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b49b1204

net-libs/tox: bump to v0.1.4

Package-Manager: portage-2.3.0

 net-libs/tox/Manifest |  1 +
 net-libs/tox/tox-0.1.4.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index 099f618..2f9fa2a 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,3 +1,4 @@
 DIST tox-0.1.1.tar.gz 416532 SHA256 
c3a6329731a35c1e9cd8ad204407ddbc408f325056de2b1baa1fc44bc8bfcb37 SHA512 
5bdaf047594e943f854fda0f0265167e0dccf05fedfec6b4d9b628b242de23f9dd9b870bbdcca4cb02f9742fa2472e4c7e1047370732cb2ee529467f15e81fc1
 WHIRLPOOL 
32ee00f6eaf98473ce3de080ba36185da2c225b2037574b55060a12e88876fb1f7df492614fbbb493ba85a44a319f3e0c254c0daec1e8cc18472ba075834039f
 DIST tox-0.1.2.tar.gz 417957 SHA256 
605a462f77b497009217b8dbd01108d112e9a8b018473826379f9f4ffa5c0b66 SHA512 
39c52dd205205e271b2b15db30a007af89ba9ede00e2717f3ec7431bbfec984984236a493f2a4943cb8deff5d8a4eba1949d9e8332caebadeb352c477b1a5208
 WHIRLPOOL 
78c72bb16ddc964ce7f69f0721ac864fe64e3c7635614e6ee325af26a8d8ef0142a6cc6f7fd31516ef3f3ce6e2366551a501052809716d72580d39f4e8baaf2a
+DIST tox-0.1.4.tar.lz 305312 SHA256 
b27cba1719e06591fb7b3dbb757e3b9c531462adbb42fba572b35acb76f077d8 SHA512 
8d094275cc56193d33f380eb3c8ba708ce7a94b01ba378d68707240efd1550dd0e4a0ffd0f97bedd96c5ce6145b27e14fdb5b570ed0e5247b01f5d4e15b4fe3a
 WHIRLPOOL 
a227d8ba321d6a69398c63f8c2720fb812198918c6b717a72b4b7863ef7a64e482cbf628b51018df10ace9000e5a8dd22edbc0a1c6ffecbcd0fd31aa31ea7d73
 DIST tox-0_pre20160904.tar.gz 395495 SHA256 
2d4a0d096bdb81b12b10551765fb9f87270e170f10f387f700b3def68cb6c35c SHA512 
c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1
 WHIRLPOOL 
abd3f61784fac93d983e453515d1e8bc87f7d76651a53ce6f566a277d7ec7c1e03294d95781364ce9ab30f2698c6f5cd552bfa4888f8d5d0d315daf038980c63

diff --git a/net-libs/tox/tox-0.1.4.ebuild b/net-libs/tox/tox-0.1.4.ebuild
new file mode 100644
index ..a3cdfaa
--- /dev/null
+++ b/net-libs/tox/tox-0.1.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools systemd unpacker 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-v${PV}.tar.lz
 -> ${P}.tar.lz"
+
+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}
+   $(unpacker_src_uri_depends)
+   test? ( dev-libs/check )
+   virtual/pkgconfig"
+
+S=${WORKDIR}
+
+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 "

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2016-12-27 Thread Patrice Clement
commit: 698c70ab0dd8ebceafa05e8ab400967cdb59cba3
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Tue Dec 27 07:14:16 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Dec 28 00:07:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=698c70ab

net-libs/tox: version bump to 0.1.

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/3248

Signed-off-by: Patrice Clement  gentoo.org>

 net-libs/tox/Manifest |  1 +
 net-libs/tox/tox-0.1.2.ebuild | 77 +++
 2 files changed, 78 insertions(+)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index a1cf88a..099f618 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,2 +1,3 @@
 DIST tox-0.1.1.tar.gz 416532 SHA256 
c3a6329731a35c1e9cd8ad204407ddbc408f325056de2b1baa1fc44bc8bfcb37 SHA512 
5bdaf047594e943f854fda0f0265167e0dccf05fedfec6b4d9b628b242de23f9dd9b870bbdcca4cb02f9742fa2472e4c7e1047370732cb2ee529467f15e81fc1
 WHIRLPOOL 
32ee00f6eaf98473ce3de080ba36185da2c225b2037574b55060a12e88876fb1f7df492614fbbb493ba85a44a319f3e0c254c0daec1e8cc18472ba075834039f
+DIST tox-0.1.2.tar.gz 417957 SHA256 
605a462f77b497009217b8dbd01108d112e9a8b018473826379f9f4ffa5c0b66 SHA512 
39c52dd205205e271b2b15db30a007af89ba9ede00e2717f3ec7431bbfec984984236a493f2a4943cb8deff5d8a4eba1949d9e8332caebadeb352c477b1a5208
 WHIRLPOOL 
78c72bb16ddc964ce7f69f0721ac864fe64e3c7635614e6ee325af26a8d8ef0142a6cc6f7fd31516ef3f3ce6e2366551a501052809716d72580d39f4e8baaf2a
 DIST tox-0_pre20160904.tar.gz 395495 SHA256 
2d4a0d096bdb81b12b10551765fb9f87270e170f10f387f700b3def68cb6c35c SHA512 
c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1
 WHIRLPOOL 
abd3f61784fac93d983e453515d1e8bc87f7d76651a53ce6f566a277d7ec7c1e03294d95781364ce9ab30f2698c6f5cd552bfa4888f8d5d0d315daf038980c63

diff --git a/net-libs/tox/tox-0.1.2.ebuild b/net-libs/tox/tox-0.1.2.ebuild
new file mode 100644
index ..6e8fafb
--- /dev/null
+++ b/net-libs/tox/tox-0.1.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/archive/v${PV}.tar.gz -> 
${P}.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 re-emerge net-libs/tox"
+   fi
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2016-12-19 Thread Michał Górny
commit: 020e03cf1cf0f62fda22961b306b81e2e0daacf0
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Wed Dec 14 17:25:43 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 19 20:17:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=020e03cf

net-libs/tox: update repo URI, bump EAPI in -, #601038

Closes: https://github.com/gentoo/gentoo/pull/3117
Package-Manager: portage-2.3.0

 net-libs/tox/tox-.ebuild | 22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-.ebuild
index d2add54..4c5d332 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-.ebuild
@@ -2,18 +2,18 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-inherit autotools eutils git-r3 user systemd
+inherit autotools git-r3 user systemd
 
 DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
 HOMEPAGE="https://tox.chat;
 SRC_URI=""
-EGIT_REPO_URI="https://github.com/irungentoo/toxcore.git
-   git://github.com/irungentoo/toxcore.git"
+EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git
+   git://github.com/TokTok/c-toxcore.git"
 
 LICENSE="GPL-3+"
-SLOT="0/0.0"
+SLOT="0/0.1"
 KEYWORDS=""
 IUSE="+av daemon log-debug log-error log-info log-trace log-warn +no-log ntox 
static-libs test"
 
@@ -30,7 +30,7 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
 
 src_prepare() {
-   epatch_user
+   default
eautoreconf
 }
 
@@ -58,19 +58,19 @@ src_install() {
systemd_dounit "${FILESDIR}"/tox-bootstrapd.service
fi
 
-   prune_libtool_files
+   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
+   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 "${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



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2016-12-19 Thread Michał Górny
commit: 04a08756c739c1607f47a75fb15c0875ba48f178
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Sat Dec 17 01:31:32 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 19 20:17:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a08756

net-libs/tox: add ebuild for the v0.1.1 release

Closes: https://github.com/gentoo/gentoo/pull/3140
Package-Manager: portage-2.3.0

 net-libs/tox/Manifest |  1 +
 net-libs/tox/tox-0.1.1.ebuild | 77 +++
 2 files changed, 78 insertions(+)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index 69be34a..a1cf88a 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1 +1,2 @@
+DIST tox-0.1.1.tar.gz 416532 SHA256 
c3a6329731a35c1e9cd8ad204407ddbc408f325056de2b1baa1fc44bc8bfcb37 SHA512 
5bdaf047594e943f854fda0f0265167e0dccf05fedfec6b4d9b628b242de23f9dd9b870bbdcca4cb02f9742fa2472e4c7e1047370732cb2ee529467f15e81fc1
 WHIRLPOOL 
32ee00f6eaf98473ce3de080ba36185da2c225b2037574b55060a12e88876fb1f7df492614fbbb493ba85a44a319f3e0c254c0daec1e8cc18472ba075834039f
 DIST tox-0_pre20160904.tar.gz 395495 SHA256 
2d4a0d096bdb81b12b10551765fb9f87270e170f10f387f700b3def68cb6c35c SHA512 
c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1
 WHIRLPOOL 
abd3f61784fac93d983e453515d1e8bc87f7d76651a53ce6f566a277d7ec7c1e03294d95781364ce9ab30f2698c6f5cd552bfa4888f8d5d0d315daf038980c63

diff --git a/net-libs/tox/tox-0.1.1.ebuild b/net-libs/tox/tox-0.1.1.ebuild
new file mode 100644
index ..6e8fafb
--- /dev/null
+++ b/net-libs/tox/tox-0.1.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/archive/v${PV}.tar.gz -> 
${P}.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 re-emerge net-libs/tox"
+   fi
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2016-12-10 Thread Michał Górny
commit: 31f22913a9faef93a4c34e301584c2269837221c
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Tue Dec  6 20:07:06 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 10 10:43:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31f22913

net-libs/tox: add ~arm keyword

Closes: https://github.com/gentoo/gentoo/pull/3042
Package-Manager: portage-2.3.0

 net-libs/tox/tox-0_pre20160904.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/tox/tox-0_pre20160904.ebuild 
b/net-libs/tox/tox-0_pre20160904.ebuild
index bf726d1..3bc8555 100644
--- a/net-libs/tox/tox-0_pre20160904.ebuild
+++ b/net-libs/tox/tox-0_pre20160904.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/irungentoo/toxcore/archive/${EGIT_COMMIT}.tar.gz ->
 
 LICENSE="GPL-3+"
 SLOT="0/0.0"
-KEYWORDS="~amd64 ~x86"
+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 )"



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2016-12-06 Thread Göktürk Yüksek
commit: 0686d87d8edb8aeb6d5b145abade7697633c96ae
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Sun Dec  4 21:40:18 2016 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Tue Dec  6 18:23:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0686d87d

net-libs/tox: add slot to the ebuilds

As mentioned in the bug #601038

Package-Manager: portage-2.3.0

 net-libs/tox/tox-0_pre20160904.ebuild | 2 +-
 net-libs/tox/tox-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/tox/tox-0_pre20160904.ebuild 
b/net-libs/tox/tox-0_pre20160904.ebuild
index caf7249..bf726d1 100644
--- a/net-libs/tox/tox-0_pre20160904.ebuild
+++ b/net-libs/tox/tox-0_pre20160904.ebuild
@@ -12,7 +12,7 @@ EGIT_COMMIT="755f084e8720b349026c85afbad58954cb7ff1d4"
 SRC_URI="https://github.com/irungentoo/toxcore/archive/${EGIT_COMMIT}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
-SLOT="0"
+SLOT="0/0.0"
 KEYWORDS="~amd64 ~x86"
 IUSE="+av daemon log-debug log-error log-info log-trace log-warn +no-log ntox 
static-libs test"
 

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-.ebuild
index 44b4861..d2add54 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-.ebuild
@@ -13,7 +13,7 @@ EGIT_REPO_URI="https://github.com/irungentoo/toxcore.git
git://github.com/irungentoo/toxcore.git"
 
 LICENSE="GPL-3+"
-SLOT="0"
+SLOT="0/0.0"
 KEYWORDS=""
 IUSE="+av daemon log-debug log-error log-info log-trace log-warn +no-log ntox 
static-libs test"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2016-12-05 Thread Patrice Clement
commit: 2aca3fe64211892fa809fba687e510ae3ccce2f4
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Sun Dec  4 21:31:35 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Dec  5 22:48:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aca3fe6

net-libs/tox: remove an old ebuild.

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/3009

 net-libs/tox/Manifest |  1 -
 net-libs/tox/tox-0_pre20160201.ebuild | 78 ---
 2 files changed, 79 deletions(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index d7e03c0..69be34a 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1,2 +1 @@
-DIST tox-0_pre20160201.tar.gz 393867 SHA256 
4df62a3488429f0b1adbf24312dc39eb140bae88774124072400930967888d19 SHA512 
25cd407855bb8a7b916ab36fd84558c08b3d428e9299ad45f362481d2df0cf29f7d74c00f20b5ce5f6f30f1e1db490f3e34b44f55c71b30e23b6d74566587305
 WHIRLPOOL 
818f2a12eec2a9ac62082a0bd98868bfa48f80453d650475b4be7d64b7d73de1515724f8006a9b0e4a9260be205a9d1dcb556c6fd6052a6d5978d763820db5b2
 DIST tox-0_pre20160904.tar.gz 395495 SHA256 
2d4a0d096bdb81b12b10551765fb9f87270e170f10f387f700b3def68cb6c35c SHA512 
c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1
 WHIRLPOOL 
abd3f61784fac93d983e453515d1e8bc87f7d76651a53ce6f566a277d7ec7c1e03294d95781364ce9ab30f2698c6f5cd552bfa4888f8d5d0d315daf038980c63

diff --git a/net-libs/tox/tox-0_pre20160201.ebuild 
b/net-libs/tox/tox-0_pre20160201.ebuild
deleted file mode 100644
index 1f4ca23..
--- a/net-libs/tox/tox-0_pre20160201.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools eutils user systemd
-
-DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
-HOMEPAGE="https://tox.chat;
-EGIT_COMMIT="94cc8b11ff473064526737936f64b6f9a19c239d"
-SRC_URI="https://github.com/irungentoo/toxcore/archive/${EGIT_COMMIT}.tar.gz 
-> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~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 )
-   >=dev-libs/libsodium-0.6.1[asm,urandom]"
-DEPEND="${RDEPEND}
-   test? ( dev-libs/check )
-   virtual/pkgconfig"
-
-S="${WORKDIR}/toxcore-${EGIT_COMMIT}"
-
-src_prepare() {
-   epatch_user
-   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
-
-   prune_libtool_files
-}
-
-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 "/var/lib/tox-dht-bootstrap/key"
-   ewarn "/etc/tox-bootstrapd.conf"
-   ewarn "/run/tox-dht-bootstrap/tox-dht-bootstrap.pid"
-   ewarn "Then just re-emerge net-libs/tox"
-   fi
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2016-09-21 Thread Göktürk Yüksek
commit: d182bdd6156ef87ed587c9380ae9eb4e66c7781f
Author: soredake  krutt  org>
AuthorDate: Sat Sep  3 22:02:02 2016 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Wed Sep 21 21:57:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d182bdd6

net-libs/tox: bump version to 20160904

 net-libs/tox/Manifest |  1 +
 net-libs/tox/tox-0_pre20160904.ebuild | 76 +++
 2 files changed, 77 insertions(+)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
index edf391c..d7e03c0 100644
--- a/net-libs/tox/Manifest
+++ b/net-libs/tox/Manifest
@@ -1 +1,2 @@
 DIST tox-0_pre20160201.tar.gz 393867 SHA256 
4df62a3488429f0b1adbf24312dc39eb140bae88774124072400930967888d19 SHA512 
25cd407855bb8a7b916ab36fd84558c08b3d428e9299ad45f362481d2df0cf29f7d74c00f20b5ce5f6f30f1e1db490f3e34b44f55c71b30e23b6d74566587305
 WHIRLPOOL 
818f2a12eec2a9ac62082a0bd98868bfa48f80453d650475b4be7d64b7d73de1515724f8006a9b0e4a9260be205a9d1dcb556c6fd6052a6d5978d763820db5b2
+DIST tox-0_pre20160904.tar.gz 395495 SHA256 
2d4a0d096bdb81b12b10551765fb9f87270e170f10f387f700b3def68cb6c35c SHA512 
c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1
 WHIRLPOOL 
abd3f61784fac93d983e453515d1e8bc87f7d76651a53ce6f566a277d7ec7c1e03294d95781364ce9ab30f2698c6f5cd552bfa4888f8d5d0d315daf038980c63

diff --git a/net-libs/tox/tox-0_pre20160904.ebuild 
b/net-libs/tox/tox-0_pre20160904.ebuild
new file mode 100644
index ..caf7249
--- /dev/null
+++ b/net-libs/tox/tox-0_pre20160904.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools systemd user vcs-snapshot
+
+DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
+HOMEPAGE="https://tox.chat;
+EGIT_COMMIT="755f084e8720b349026c85afbad58954cb7ff1d4"
+SRC_URI="https://github.com/irungentoo/toxcore/archive/${EGIT_COMMIT}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~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"
+
+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 re-emerge net-libs/tox"
+   fi
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2016-09-21 Thread Göktürk Yüksek
commit: 9d1c35b694c8f3447b738c05f7d1ec82bab3c138
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Wed Sep 21 21:56:34 2016 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Wed Sep 21 21:57:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d1c35b6

net-libs/tox: fix dep slots and add missing ${EROOT} for the live ebuild

Package-Manager: portage-2.2.28

 net-libs/tox/tox-.ebuild | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/net-libs/tox/tox-.ebuild b/net-libs/tox/tox-.ebuild
index 68f7e95..44b4861 100644
--- a/net-libs/tox/tox-.ebuild
+++ b/net-libs/tox/tox-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -20,11 +20,11 @@ IUSE="+av daemon log-debug log-error log-info log-trace 
log-warn +no-log ntox st
 REQUIRED_USE="^^ ( no-log log-trace log-debug log-info log-warn log-error )"
 
 RDEPEND="
-   av? ( media-libs/libvpx
+   av? ( media-libs/libvpx:=
media-libs/opus )
daemon? ( dev-libs/libconfig )
-   ntox? ( sys-libs/ncurses )
-   >=dev-libs/libsodium-0.6.1[asm,urandom]"
+   ntox? ( sys-libs/ncurses:0= )
+   >=dev-libs/libsodium-0.6.1:=[asm,urandom]"
 DEPEND="${RDEPEND}
test? ( dev-libs/check )
virtual/pkgconfig"
@@ -68,9 +68,9 @@ pkg_postinst() {
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 "/var/lib/tox-dht-bootstrap/key"
-   ewarn "/etc/tox-bootstrapd.conf"
-   ewarn "/run/tox-dht-bootstrap/tox-dht-bootstrap.pid"
+   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



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2016-06-15 Thread Amy Winston
commit: 990bccf4229de5fa1b8c297a4eea99ec639f8a34
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Mon Jun 13 20:25:34 2016 +
Commit: Amy Winston  gentoo  org>
CommitDate: Wed Jun 15 14:17:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=990bccf4

net-libs/tox: use snapshot instead of live ebuild

For release ebuild, that is.
Also move `0_p` → `0_pre` since it's a pre-release.

Gentoo-Bug: #585728
Closes: #1671
Package-Manager: portage-2.2.28

 net-libs/tox/Manifest  |  1 +
 .../tox/{tox-0_p20160201.ebuild => tox-0_pre20160201.ebuild}   | 10 +-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
new file mode 100644
index 000..edf391c
--- /dev/null
+++ b/net-libs/tox/Manifest
@@ -0,0 +1 @@
+DIST tox-0_pre20160201.tar.gz 393867 SHA256 
4df62a3488429f0b1adbf24312dc39eb140bae88774124072400930967888d19 SHA512 
25cd407855bb8a7b916ab36fd84558c08b3d428e9299ad45f362481d2df0cf29f7d74c00f20b5ce5f6f30f1e1db490f3e34b44f55c71b30e23b6d74566587305
 WHIRLPOOL 
818f2a12eec2a9ac62082a0bd98868bfa48f80453d650475b4be7d64b7d73de1515724f8006a9b0e4a9260be205a9d1dcb556c6fd6052a6d5978d763820db5b2

diff --git a/net-libs/tox/tox-0_p20160201.ebuild 
b/net-libs/tox/tox-0_pre20160201.ebuild
similarity index 90%
rename from net-libs/tox/tox-0_p20160201.ebuild
rename to net-libs/tox/tox-0_pre20160201.ebuild
index b23f8d4..1f4ca23 100644
--- a/net-libs/tox/tox-0_p20160201.ebuild
+++ b/net-libs/tox/tox-0_pre20160201.ebuild
@@ -1,17 +1,15 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-inherit autotools eutils git-r3 user systemd
+inherit autotools eutils user systemd
 
 DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
 HOMEPAGE="https://tox.chat;
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/irungentoo/toxcore.git
-   git://github.com/irungentoo/toxcore.git"
 EGIT_COMMIT="94cc8b11ff473064526737936f64b6f9a19c239d"
+SRC_URI="https://github.com/irungentoo/toxcore/archive/${EGIT_COMMIT}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
@@ -30,6 +28,8 @@ DEPEND="${RDEPEND}
test? ( dev-libs/check )
virtual/pkgconfig"
 
+S="${WORKDIR}/toxcore-${EGIT_COMMIT}"
+
 src_prepare() {
epatch_user
eautoreconf



[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/, net-libs/tox/files/

2016-02-06 Thread Patrice Clement
commit: 8cb4eb39c75a1bc1d2676f5d8c82053265110f87
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Tue Oct 27 19:52:26 2015 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Feb  1 07:00:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cb4eb39

net-libs/tox: add ebuild

 net-libs/tox/files/confd  |  2 +
 net-libs/tox/files/initd  | 30 
 net-libs/tox/files/tox-bootstrapd.conf| 65 ++
 net-libs/tox/files/tox-bootstrapd.service | 15 ++
 net-libs/tox/metadata.xml | 24 ++
 net-libs/tox/tox-.ebuild  | 77 +++
 6 files changed, 213 insertions(+)

diff --git a/net-libs/tox/files/confd b/net-libs/tox/files/confd
new file mode 100644
index 000..33f850b
--- /dev/null
+++ b/net-libs/tox/files/confd
@@ -0,0 +1,2 @@
+TOX_GROUP=tox
+TOX_USER=tox

diff --git a/net-libs/tox/files/initd b/net-libs/tox/files/initd
new file mode 100644
index 000..84ae908
--- /dev/null
+++ b/net-libs/tox/files/initd
@@ -0,0 +1,30 @@
+#!/sbin/runscript
+
+PIDDIR=/run/tox-bootstrapd
+PIDFILE="${PIDDIR}"/tox-bootstrap.pid
+
+depend() {
+   need net
+}
+
+start() {
+   ebegin "Starting tox-dht-bootstrap daemon"
+
+   checkpath -d -q -o "${TOX_USER}":"${TOX_GROUP}" "${PIDDIR}"
+
+   start-stop-daemon --start \
+   --pidfile "${PIDFILE}" \
+   --user="${TOX_USER}" --group="${TOX_GROUP}" \
+   --exec /usr/bin/tox-bootstrapd -- /etc/tox-bootstrapd.conf
+
+   eend $?
+}
+
+stop() {
+   ebegin "Stopping tox-dht-bootstrap daemon"
+
+   start-stop-daemon --stop \
+   --pidfile "${PIDFILE}"
+
+   eend $?
+}

diff --git a/net-libs/tox/files/tox-bootstrapd.conf 
b/net-libs/tox/files/tox-bootstrapd.conf
new file mode 100644
index 000..3413f59
--- /dev/null
+++ b/net-libs/tox/files/tox-bootstrapd.conf
@@ -0,0 +1,65 @@
+// Tox DHT bootstrap daemon configuration file.
+
+// Listening port (UDP).
+port = 33445
+
+// A key file is like a password, so keep it where no one can read it.
+// If there is no key file, a new one will be generated.
+// The daemon should have permission to read/write it.
+keys_file_path = "/var/lib/tox-bootstrapd/keys"
+
+// The PID file written to by the daemon.
+// Make sure that the user that daemon runs as has permissions to write to the
+// PID file.
+pid_file_path = "/var/run/tox-bootstrapd/tox-bootstrapd.pid"
+
+// Enable IPv6.
+enable_ipv6 = true
+
+// Fallback to IPv4 in case IPv6 fails.
+enable_ipv4_fallback = true
+
+// Automatically bootstrap with nodes on local area network.
+enable_lan_discovery = true
+
+enable_tcp_relay = true
+
+// While Tox uses 33445 port by default, 443 (https) and 3389 (rdp) ports are 
very
+// common among nodes, so it's encouraged to keep them in place.
+tcp_relay_ports = [443, 3389, 33445]
+
+// Reply to MOTD (Message Of The Day) requests.
+enable_motd = true
+
+// Just a message that is sent when someone requests MOTD.
+// Put anything you want, but note that it will be trimmed to fit into 255 
bytes.
+motd = "tox-bootstrapd"
+
+// Any number of nodes the daemon will bootstrap itself off.
+//
+// Remember to replace the provided example with your own node list.
+// There is a maintained list of bootstrap nodes on Tox's wiki, if you need it
+// (https://wiki.tox.chat/users/nodes).
+//
+// You may leave the list empty or remove "bootstrap_nodes" completely,
+// in both cases this will be interpreted as if you don't want to bootstrap
+// from anyone.
+//
+// address = any IPv4 or IPv6 address and also any US-ASCII domain name.
+bootstrap_nodes = (
+  { // Example Node 1 (IPv4)
+address = "127.0.0.1"
+port = 33445
+public_key = 
"728925473812C7AAC482BE7250BCCAD0B8CB9F737BF3D42ABD34459C1768F854"
+  },
+  { // Example Node 2 (IPv6)
+address = "::1/128"
+port = 33445
+public_key = 
"3E78BACF0F84235B30054B54898F56793E1DEF8BD46B1038B9D822E8460FAB67"
+  },
+  { // Example Node 3 (US-ASCII domain name)
+address = "example.org"
+port = 33445
+public_key = 
"8CD5A9BF0A6CE358BA36F7A653F99FA6B258FF756E490F52C1F98CC420F78858"
+  }
+)

diff --git a/net-libs/tox/files/tox-bootstrapd.service 
b/net-libs/tox/files/tox-bootstrapd.service
new file mode 100644
index 000..c841b3c
--- /dev/null
+++ b/net-libs/tox/files/tox-bootstrapd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Tox DHT Bootstrap Daemon
+After=network.target
+
+[Service]
+User=tox
+Group=tox
+RuntimeDirectory=tox-bootstrapd
+PIDFile=/run/tox-bootstrapd/tox-bootstrapd.pid
+WorkingDirectory=/var/lib/tox-bootstrapd
+ExecStart=/usr/bin/tox-bootstrapd /etc/tox-bootstrapd.conf
+#CapabilityBoundingSet=CAP_NET_BIND_SERVICE
+
+[Install]
+WantedBy=multi-user.target

diff --git a/net-libs/tox/metadata.xml b/net-libs/tox/metadata.xml
new file mode 100644
index 000..f75d824
--- /dev/null
+++ b/net-libs/tox/metadata.xml
@@ -0,0 +1,24 @@
+

[gentoo-commits] repo/gentoo:master commit in: net-libs/tox/

2016-02-06 Thread Patrice Clement
commit: a15a524f3a77be4c1098f53d41070ab3af68fbf8
Author: Zetok Zalbavar  openmailbox  org>
AuthorDate: Mon Feb  1 07:29:40 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Feb  1 07:35:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a15a524f

net-libs/tox: add snapshot version pinned to git commit

 net-libs/tox/tox-0_p20160201.ebuild | 78 +
 1 file changed, 78 insertions(+)

diff --git a/net-libs/tox/tox-0_p20160201.ebuild 
b/net-libs/tox/tox-0_p20160201.ebuild
new file mode 100644
index 000..b23f8d4
--- /dev/null
+++ b/net-libs/tox/tox-0_p20160201.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils git-r3 user systemd
+
+DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
+HOMEPAGE="https://tox.chat;
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/irungentoo/toxcore.git
+   git://github.com/irungentoo/toxcore.git"
+EGIT_COMMIT="94cc8b11ff473064526737936f64b6f9a19c239d"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~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 )
+   >=dev-libs/libsodium-0.6.1[asm,urandom]"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )
+   virtual/pkgconfig"
+
+src_prepare() {
+   epatch_user
+   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
+
+   prune_libtool_files
+}
+
+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 "/var/lib/tox-dht-bootstrap/key"
+   ewarn "/etc/tox-bootstrapd.conf"
+   ewarn "/run/tox-dht-bootstrap/tox-dht-bootstrap.pid"
+   ewarn "Then just re-emerge net-libs/tox"
+   fi
+   fi
+}