summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-04 08:06:08 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-04 08:06:08 +0100
commit2a8d2f71d1d9963368e0ef3d641d75979a689d12 (patch)
tree83e283f960ab2ebbc1a042b8ed6c37b78d47b37b /net-p2p
parent8435c842b9e8fbb2bcc80397ab3aa655000459e2 (diff)
gentoo auto-resync : 04:07:2024 - 08:06:07
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Manifest.gzbin6894 -> 6899 bytes
-rw-r--r--net-p2p/ncdc/Manifest3
-rw-r--r--net-p2p/ncdc/files/ncdc-1.24-fix-clang16-c99-errors.patch72
-rw-r--r--net-p2p/ncdc/ncdc-1.24-r1.ebuild (renamed from net-p2p/ncdc/ncdc-1.24.ebuild)9
-rw-r--r--net-p2p/qbittorrent/Manifest2
-rw-r--r--net-p2p/qbittorrent/metadata.xml8
-rw-r--r--net-p2p/retroshare/Manifest4
-rw-r--r--net-p2p/retroshare/retroshare-0.6.6-r1.ebuild126
-rw-r--r--net-p2p/retroshare/retroshare-0.6.7-r1.ebuild (renamed from net-p2p/retroshare/retroshare-0.6.7.ebuild)22
9 files changed, 89 insertions, 157 deletions
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz
index bc858899336c..d7cceb7e9ff5 100644
--- a/net-p2p/Manifest.gz
+++ b/net-p2p/Manifest.gz
Binary files differ
diff --git a/net-p2p/ncdc/Manifest b/net-p2p/ncdc/Manifest
index b38ca4332456..7094633b7a71 100644
--- a/net-p2p/ncdc/Manifest
+++ b/net-p2p/ncdc/Manifest
@@ -1,7 +1,8 @@
+AUX ncdc-1.24-fix-clang16-c99-errors.patch 2247 BLAKE2B acc6c9e59ce4b28c040f830abd82ae7cb3c0dfee4db9e2eb66c8c20e7eb4bd80904c4d31a743c62a7c206debc54f6b96c4f5247d175b72db59d292a5a0ae38de SHA512 f483eed3037761bf80172782743d88da2df3d1a090dedf5cb1cda95d343a3f32229ec85e713398f4294804cf367399907bdd533e2b31198f5bac8446c17d04fb
DIST ncdc-1.23.1.tar.gz 378481 BLAKE2B 0eb59b88351008c281e7380fb5899b0cfb5f99dac5f17eed391a7da4f95a431a0a68a70c228dec17c235029bae89f8170319f9b28c5a2dc04706ea21b8c91879 SHA512 9e38387ac816499c25a28bf70e548d560265c84d12b9bfd1701decea642c4ab33b3bb5ea9c015c3048e491f9f208c6c26a63d2ce722e831f84f703a6c9f2b86c
DIST ncdc-1.23.1.tar.gz.asc 833 BLAKE2B ce9f4bd4a612fe862ab34e659e41c2134f31394e285af9d0e3f9ec034f44ccaead2c56db3b9cbb4eee32dab61c86ddb308cbb18023ce1aaf11af9b2ec6d4c67b SHA512 28270437bd08fbcc40a645eef8d71f2ab350314507b66fbd504c7ccab4899af51f483038cefa17d879213a419465ae27a4da8a3fe0598244357f2836a6a5d771
DIST ncdc-1.24.tar.gz 377617 BLAKE2B 8528de13d6ee12358c335b921c7edc0f7df719245d23f4fb4a94512f4812249e3294f822452e3b1f508e8c7446bcd01bd347ad7745a63fbd360f1233c9e8be64 SHA512 332fd467d10d3acb2a2171395c41112280cadfea06369820dcc4481eae3c24602c98aa5056f479d3a2e80b3992a02b280819933b43ae5bc39885696703d46b39
DIST ncdc-1.24.tar.gz.asc 833 BLAKE2B 1729293836f2e414ca19c4cbe25cf23099666b5f7eed6787717ee2c39f425ced147b02c2eb10da5d17093f7381ba9668b2a5567d13df862a9a809c5e7523b1ff SHA512 148353be0b899c18427abe0a33c6788324a80e83ecb1ef6f59f008debc9c20ad48403e145ed865c0d9e73d14ab6d082525ab7eb60fe05a7893946b1c414d039e
EBUILD ncdc-1.23.1.ebuild 974 BLAKE2B 76e617f1fd2deac1e17b4739d1f4cb7ede4e769384ddc845822d16d0f240f0bc280cf199387b15a65bbce0ec6906395875be2feb7dcde44988ba9328a4d150cb SHA512 9685940fdd9f5e0ed0b41b21429e7d7526e220f10b23ddaa80f788710de9e1ca13b4298f5ef61ae4286fc6a69411fc31f5ff26528b9c7424222699af71eb95c3
-EBUILD ncdc-1.24.ebuild 976 BLAKE2B a35bb91cb45c03a35d50dacb4c9fad79a6c8e9d26a13d2d658abdd3d7327cedf65b09c85d40d744299681e8f5664d754eba2dba2f8579d31beeae7fbd9ee662e SHA512 177aa73d80ed2465714b5360d65b82d527c3efe99cc1cad409f44dcca7b35f52adac893776919a9cf857aeae234fdeb7efd3ef2be1eeff540664a31a09b7c54b
+EBUILD ncdc-1.24-r1.ebuild 1044 BLAKE2B 4568ec496907bb0d34f13a2f178730a7ff4d945fc1e56ff9dd91044b640ee8c25199dd8e5f0973edba29f8e0699e13e382aa1c12f019875c194a37421108fdb0 SHA512 418c4fb157e69829a774e1dbcf1aabd8412cc1936bafe48bae5c84b251e9e0eef00f9d6775490de3c68be27061579b38e27cc66a233cd89b5a4d0b271752abee
MISC metadata.xml 724 BLAKE2B f319a94fe3aaad903ab2d19c81fd2390d8ae0228439d320fb48d158668c3cb96985319b67eef969982dbf07bf574045fab6fa5a2ee251f89fbee8db4414be2c4 SHA512 31461ee63515cd2c7d0cfd4d7ed22acbf2a15dea699755df33aace50d674a854b79413b67f810cb29688d841f50081e1bb8a349af8bf374d4015781e08115e40
diff --git a/net-p2p/ncdc/files/ncdc-1.24-fix-clang16-c99-errors.patch b/net-p2p/ncdc/files/ncdc-1.24-fix-clang16-c99-errors.patch
new file mode 100644
index 000000000000..4be7472e00fd
--- /dev/null
+++ b/net-p2p/ncdc/files/ncdc-1.24-fix-clang16-c99-errors.patch
@@ -0,0 +1,72 @@
+Upstream PR: https://code.blicky.net/yorhel/ncdc/pulls/108 .
+
+From 42590da4741baf93889773df96e0f3546d2e7f20 Mon Sep 17 00:00:00 2001
+From: Eric Joldasov <bratishkaerik@landless-city.net>
+Date: Tue, 9 Apr 2024 00:09:53 +0500
+Subject: [PATCH] Fix Clang 16 errors for invalid C99 constructs
+ (-Wincompatible-pointer-types)
+
+These errors were caused by `t_title` function having "void" parameter
+instead of "ui_tab_t *tab", like everywhere else:
+
+```
+src/uit_conn.c:398:41: error: initialization of char * (*)(ui_tab_t *) from incompatible pointer type char * (*)(void) [-Wincompatible-pointer-types]
+ 398 | ui_tab_type_t uit_conn[1] = { { t_draw, t_title, t_key, t_close } };
+ | ^~~~~~~
+```
+
+Also renamed `t` param in `t_title` of "src/uit_main.c" to `tab`,
+for consistency with other functions.
+
+This error appeared only in 1.24 release cycle, because changing
+prototypes from "()" to "(void)" in 2cf47a7ec9f35d1afaf24a6f9644fbecf6df92df
+changed meaning of the type from "any parameters, including ui_tab_t *"
+to "no parameters at all", and this is where Clang starts to complain.
+
+Bug: https://bugs.gentoo.org/928946
+Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
+---
+ src/uit_conn.c | 2 +-
+ src/uit_dl.c | 2 +-
+ src/uit_main.c | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/uit_conn.c b/src/uit_conn.c
+index f0fa171..ba00cb3 100644
+--- a/src/uit_conn.c
++++ b/src/uit_conn.c
+@@ -97,7 +97,7 @@ static void t_close(ui_tab_t *tab) {
+ }
+
+
+-static char *t_title(void) {
++static char *t_title(ui_tab_t *tab) {
+ return g_strdup("Connection list");
+ }
+
+diff --git a/src/uit_dl.c b/src/uit_dl.c
+index 118f323..f8cda84 100644
+--- a/src/uit_dl.c
++++ b/src/uit_dl.c
+@@ -124,7 +124,7 @@ static void t_close(ui_tab_t *tab) {
+ }
+
+
+-static char *t_title(void) {
++static char *t_title(ui_tab_t *tab) {
+ return g_strdup("Download queue");
+ }
+
+diff --git a/src/uit_main.c b/src/uit_main.c
+index e3fdfad..79b3ffa 100644
+--- a/src/uit_main.c
++++ b/src/uit_main.c
+@@ -65,7 +65,7 @@ static void t_draw(ui_tab_t *t) {
+ }
+
+
+-static char *t_title(ui_tab_t *t) {
++static char *t_title(ui_tab_t *tab) {
+ return g_strdup_printf("Welcome to ncdc %s!", main_version);
+ }
+
diff --git a/net-p2p/ncdc/ncdc-1.24.ebuild b/net-p2p/ncdc/ncdc-1.24-r1.ebuild
index cff76b11e27f..f3f6d1e46814 100644
--- a/net-p2p/ncdc/ncdc-1.24.ebuild
+++ b/net-p2p/ncdc/ncdc-1.24-r1.ebuild
@@ -11,10 +11,11 @@ SRC_URI="
https://dev.yorhel.nl/download/${P}.tar.gz
verify-sig? ( https://dev.yorhel.nl/download/${P}.tar.gz.asc )
"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-
LICENSE="MIT"
SLOT="0"
+
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
IUSE="geoip"
RDEPEND="
@@ -36,6 +37,10 @@ BDEPEND="
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/yoranheling.asc
+PATCHES=(
+ "${FILESDIR}/ncdc-1.24-fix-clang16-c99-errors.patch"
+)
+
src_configure() {
local myeconfargs=(
$(use_with geoip)
diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
index f835225c6696..7b735d07e91d 100644
--- a/net-p2p/qbittorrent/Manifest
+++ b/net-p2p/qbittorrent/Manifest
@@ -10,4 +10,4 @@ EBUILD qbittorrent-4.6.3.ebuild 3133 BLAKE2B 22bbb7549b402d91a0626f2bd0b55c88172
EBUILD qbittorrent-4.6.4.ebuild 3133 BLAKE2B 22bbb7549b402d91a0626f2bd0b55c88172777a3c6f5ea613970f8442102044a633535adcf8b031f9da0551a2ca3ebe2032264fb8547b0020e18273849a34b67 SHA512 2fe64e7c99bc8e9cad0a623073321d16b8cd7ce80b7dfce6c8dbede8fdf0bb0f46fb31e8be123f77ea10b924dd4bedc63ffe1f4044e4b02081bffef03463ad74
EBUILD qbittorrent-4.6.5.ebuild 3133 BLAKE2B 22bbb7549b402d91a0626f2bd0b55c88172777a3c6f5ea613970f8442102044a633535adcf8b031f9da0551a2ca3ebe2032264fb8547b0020e18273849a34b67 SHA512 2fe64e7c99bc8e9cad0a623073321d16b8cd7ce80b7dfce6c8dbede8fdf0bb0f46fb31e8be123f77ea10b924dd4bedc63ffe1f4044e4b02081bffef03463ad74
EBUILD qbittorrent-9999.ebuild 3135 BLAKE2B d500e2a486e40df93db5b0b351b7f964604fb9fc5fd00e310700d5bba6e4918cb7f6db5a25046b91cc03c38fae9eb1c1bd556391c04d26f79eddfa22cf4fa4ee SHA512 2401536a41f68cc5fae87fd0d8a5824d8c4b3ff159bd2f94a770fa0f7fe48d9c40998dc70f2762054e05587baa67954659a434652bf80a27e6c6dcfde849256b
-MISC metadata.xml 607 BLAKE2B 603d5742cabc48315ffa43557e01e27ba0a83fa28d428a283c3d2ee4587f149b505e786cb383922b7eb297a91303f06da7d42fe655f42be6466c7e62c3fd23a3 SHA512 4a1273a02dd07ddcd418d1735cfa9368254cd3dae7e8cf4c81910f6cced2664b828a903b5248dfacd2a811f6149f931de65adf31f781d536a57c050b53e556dc
+MISC metadata.xml 459 BLAKE2B 5c7be7151865ac48a3adaee71bdd8e794134758f9f769f93744c28a2580057022174e6dd5b0502da24324e0476abd728ea35f6a4a29107b24c0cbc22b17d4e79 SHA512 117b42c29bd00102425dc01df1b085160da56f3ccc433b1dee37c56cc03e140e73f074bf661d6c0c9bead53ce9a9340eb05a7a6481f807958a53592a25eb4b69
diff --git a/net-p2p/qbittorrent/metadata.xml b/net-p2p/qbittorrent/metadata.xml
index 71922151656d..5f226839384f 100644
--- a/net-p2p/qbittorrent/metadata.xml
+++ b/net-p2p/qbittorrent/metadata.xml
@@ -1,14 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>eschwartz93@gmail.com</email>
+ <maintainer type="person">
+ <email>eschwartz@gentoo.org</email>
<name>Eli Schwartz</name>
</maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
<use>
<flag name="webui">
Install qBittorrent Web UI (qbittorrent-nox) and systemd/OpenRC service
diff --git a/net-p2p/retroshare/Manifest b/net-p2p/retroshare/Manifest
index 1dde5b5ef704..146bb502f603 100644
--- a/net-p2p/retroshare/Manifest
+++ b/net-p2p/retroshare/Manifest
@@ -1,6 +1,4 @@
AUX retroshare-0.6.6-fix-cxx17-compilation.patch 1753 BLAKE2B aeba3e200eaf78867220227b766d2e396322d93e14afa885ba8ac5d8d5c88b9806a1fc90a00b2e7a364cdfcfa04776da9974293a394fc4d946ca30716daf931c SHA512 09f146aaaa9570eb4b01a9b325acbf6648d88ddde222128f709ecc89038ce5d8c9fba046abdf36547b4ee7e653bf058a3a51f775a78e71b760e0e513d43005e6
-DIST retroshare-0.6.6.tar.gz 24140207 BLAKE2B 1328f2d36f6bc2d1123dd915698f2778e771e36089d8fd8d9ec44d1a8bfa0f56c625b73f62811936e4cee5dd1eca797f9fdf16fdb8defd66706294abc4dde419 SHA512 23ed7c633426caa910a5ae6f04cfd33c523ecaedae1e4044981706420622aadd67ba2772ffd17c9cc1c6193fad508837a31fdcfabe2aab309b8b4302335ede4d
DIST retroshare-0.6.7.tar.gz 26506259 BLAKE2B 3c0963c8afbbf741c8c5d22dc9c9f86f82d1a338a9f0dd02065617d16e96738a4d22c2bc30c1ba32c61fcc7beedaa15ac3c185aab429882b0947aa28b8c037b1 SHA512 ff5455b97519878d83c6872dfce457804430938864259f7d0fa5b06ebae161e62ea8300e809a03a821b2ecdf755a3de7465a580882709ae79bfb9c1de855e347
-EBUILD retroshare-0.6.6-r1.ebuild 3601 BLAKE2B d3d4c76e78f502becceb26f967f6787f71476e7bee761558144ee6bed00c62659dd6cba963ad780e94ba69105a254e72df0a76adc7981e8d540f98ea15a976fe SHA512 2eff59bc8aef1650b2cd33b68037736dba6353f383b9bcb99253be84877ffff9482ca6eca5b2a810b470b00dc2d55c24662abe341d836d2c5e9518337f37f0dc
-EBUILD retroshare-0.6.7.ebuild 4072 BLAKE2B 26d172588c60710b4dddf6aac0f1d774e5d056aaabd96bd2e08593e1911278d8964e8b046f51cbf58eee9dbe82fafb4a0cb87110ee591e03e46702549f7bffd8 SHA512 430b8737aac31a970171b1dc0b5aead3ff227b845588d4a3297bd3f477ab2499803f58d2347530a2658b915d891b6d05ecec90d001b43fc68a40053cacd9c6db
+EBUILD retroshare-0.6.7-r1.ebuild 3558 BLAKE2B 3cd498c88a0f4e7bf8acb091a8f8179fb5fb54b2f880c8ff38b7a6d3a86d4b189fcce78b9e282ec1af301b23f4f0eb7e540007927144f5d08f3cc99dbb42d9f5 SHA512 dd58700fae6eade35f183718dc50277e0687fff2e1f01455bd4aa36628f1d000ea60bf390549d7564b120b5e0e13d1144ec2b40b28485cb855829cd9c5185036
MISC metadata.xml 1507 BLAKE2B 3850886e6d5e70ad585ec4083d5fb86a01b962a421cfbeac26862e47dada0adf0cbfa53e31bbbd34b968da72e6395560a6c48b6125e9996f82df2089e383f9a7 SHA512 26cd8010b552892041a688525345922a3412f50d060c319b3c5bf9f135e21d5b1e7bd61b09b91431f716d695471e70b1c9a2c62772b0d3847806e4a923c48382
diff --git a/net-p2p/retroshare/retroshare-0.6.6-r1.ebuild b/net-p2p/retroshare/retroshare-0.6.6-r1.ebuild
deleted file mode 100644
index ba21bf7b2854..000000000000
--- a/net-p2p/retroshare/retroshare-0.6.6-r1.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic desktop qmake-utils xdg
-
-DESCRIPTION="P2P private sharing application"
-HOMEPAGE="https://retroshare.cc"
-SRC_URI="http://download.opensuse.org/repositories/network:/retroshare/Debian_Testing/retroshare-common_${PV}.orig.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/RetroShare"
-
-LICENSE="AGPL-3 Apache-2.0 CC-BY-SA-4.0 GPL-2 GPL-3 LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="keyring cli +gui +jsonapi libupnp +miniupnp +service +sqlcipher"
-
-REQUIRED_USE="
- || ( gui service )
- ?? ( libupnp miniupnp )
- service? ( || ( cli jsonapi ) )"
-
-RDEPEND="
- app-arch/bzip2
- dev-libs/openssl:0=
- >=dev-libs/rapidjson-1.1.0
- sys-libs/zlib
- keyring? ( app-crypt/libsecret )
- gui? (
- dev-qt/qtcore:5
- dev-qt/qtmultimedia:5
- dev-qt/qtnetwork:5
- dev-qt/qtprintsupport:5
- dev-qt/qtscript:5
- dev-qt/qtxml:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- dev-qt/qtx11extras:5
- x11-libs/libX11
- x11-libs/libXScrnSaver
- )
- libupnp? ( net-libs/libupnp:= )
- miniupnp? ( net-libs/miniupnpc:= )
- service? ( dev-qt/qtcore:5 )
- sqlcipher? ( dev-db/sqlcipher )
- !sqlcipher? ( dev-db/sqlite:3 )"
-
-DEPEND="${RDEPEND}
- dev-qt/qtcore:5
- gui? ( dev-qt/designer:5 )"
-
-BDEPEND="dev-build/cmake
- virtual/pkgconfig
- jsonapi? ( app-text/doxygen )"
-
-PATCHES=( "${FILESDIR}/${P}-fix-cxx17-compilation.patch" )
-
-src_configure() {
- local qconfigs=(
- $(usex cli '' 'no_')rs_service_terminal_login
- $(usex keyring '' 'no_')rs_autologin
- $(usex gui '' 'no_')retroshare_gui
- $(usex jsonapi '' 'no_')rs_jsonapi
- $(usex service '' 'no_')retroshare_service
- $(usex sqlcipher '' 'no_')sqlcipher
- )
-
- local qupnplibs="none"
- use miniupnp && qupnplibs="miniupnpc"
- use libupnp && qupnplibs="upnp ixml"
-
- # bug 907898
- use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
-
- eqmake5 CONFIG+="${qconfigs[*]}" \
- RS_MAJOR_VERSION=$(ver_cut 1) RS_MINOR_VERSION=$(ver_cut 2) \
- RS_MINI_VERSION=$(ver_cut 3) RS_EXTRA_VERSION="-gentoo-${PR}" \
- RS_UPNP_LIB="${qupnplibs}"
-}
-
-src_install() {
- use gui && dobin retroshare-gui/src/retroshare
- use service && dobin retroshare-service/src/retroshare-service
-
- insinto /usr/share/retroshare
- doins libbitdht/src/bitdht/bdboot.txt
- use gui && doins -r retroshare-gui/src/qss
-
- dodoc README.asciidoc
-
- if use gui; then
- make_desktop_entry retroshare
-
- for i in 24 48 64 128 ; do
- doicon -s ${i} "data/${i}x${i}/apps/retroshare.png"
- done
- fi
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
-
- if ! use sqlcipher && ! has_version "net-p2p/retroshare[-sqlcipher]"; then
- ewarn "You have disabled GXS database encryption, ${PN} will use SQLite"
- ewarn "instead of SQLCipher for GXS databases."
- ewarn "Builds using SQLite and builds using SQLCipher have incompatible"
- ewarn "database format, so you will need to manually delete GXS"
- ewarn "database (loosing all your GXS data and identities) when you"
- ewarn "toggle sqlcipher USE flag."
- fi
-
- if [[ ${REPLACING_VERSIONS} ]]; then
- if ver_test ${REPLACING_VERSIONS} -lt 0.6; then
- ewarn "You are upgrading from Retroshare 0.5.* to ${PV}"
- ewarn "Version 0.6.* is backward-incompatible with 0.5 branch"
- ewarn "and clients with 0.6.* can not connect to clients that have 0.5.*"
- ewarn "It's recommended to drop all your configuration and either"
- ewarn "generate a new certificate or import existing from a backup"
- break
- fi
- if ver_test ${REPLACING_VERSIONS} -ge 0.6.0 && ver_test ${REPLACING_VERSIONS} -lt 0.6.4; then
- elog "Main executable has been renamed upstream from RetroShare06 to retroshare"
- break
- fi
- fi
-}
diff --git a/net-p2p/retroshare/retroshare-0.6.7.ebuild b/net-p2p/retroshare/retroshare-0.6.7-r1.ebuild
index d33aa29b2933..515696241dc3 100644
--- a/net-p2p/retroshare/retroshare-0.6.7.ebuild
+++ b/net-p2p/retroshare/retroshare-0.6.7-r1.ebuild
@@ -10,10 +10,11 @@ HOMEPAGE="https://retroshare.cc"
SRC_URI="https://download.opensuse.org/repositories/network:/retroshare/Debian_Testing/retroshare-common_${PV}.orig.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/RetroShare"
# NOTE: GitHub releases/archive is impractical to build so we use the OBS repo
+# but they squash point releases which is bad for us
LICENSE="AGPL-3 Apache-2.0 CC-BY-SA-4.0 GPL-2 GPL-3 LGPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="keyring cli +gui +jsonapi libupnp +miniupnp +service +sqlcipher plugins"
REQUIRED_USE="
@@ -40,14 +41,14 @@ RDEPEND="
x11-libs/libXScrnSaver
)
libupnp? ( net-libs/libupnp:= )
- miniupnp? ( net-libs/miniupnpc:= )
+ miniupnp? ( <net-libs/miniupnpc-2.2.8:= )
sqlcipher? ( dev-db/sqlcipher )
!sqlcipher? ( dev-db/sqlite:3 )
plugins? (
media-libs/speex
media-libs/speexdsp
<media-video/ffmpeg-5
- )"
+ )" # REVIEW: miniupnp pinned because retroshare does not support API 18 yet
# NOTE(setan): rapidjson might not be needed if not using jsonapi. This is to be tested
DEPEND="${RDEPEND}
@@ -120,19 +121,4 @@ pkg_preinst() {
ewarn "database (loosing all your GXS data and identities) when you"
ewarn "toggle sqlcipher USE flag."
fi
-
- if [[ ${REPLACING_VERSIONS} ]]; then
- if ver_test ${REPLACING_VERSIONS} -lt 0.6; then
- ewarn "You are upgrading from Retroshare 0.5.* to ${PV}"
- ewarn "Version 0.6.* is backward-incompatible with 0.5 branch"
- ewarn "and clients with 0.6.* can not connect to clients that have 0.5.*"
- ewarn "It's recommended to drop all your configuration and either"
- ewarn "generate a new certificate or import existing from a backup"
- break
- fi
- if ver_test ${REPLACING_VERSIONS} -ge 0.6.0 && ver_test ${REPLACING_VERSIONS} -lt 0.6.4; then
- elog "Main executable has been renamed upstream from RetroShare06 to retroshare"
- break
- fi
- fi
}