summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Manifest.gzbin6922 -> 6925 bytes
-rw-r--r--net-p2p/qbittorrent/Manifest8
-rw-r--r--net-p2p/qbittorrent/files/qbittorrent.confd20
-rw-r--r--net-p2p/qbittorrent/files/qbittorrent.initd27
-rw-r--r--net-p2p/qbittorrent/metadata.xml24
-rw-r--r--net-p2p/qbittorrent/qbittorrent-4.5.5.ebuild138
-rw-r--r--net-p2p/qbittorrent/qbittorrent-9999.ebuild14
-rw-r--r--net-p2p/syncthing/Manifest2
-rw-r--r--net-p2p/syncthing/syncthing-1.24.0.ebuild1
9 files changed, 220 insertions, 14 deletions
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz
index 4d504c4ec3ca..714258e438a1 100644
--- a/net-p2p/Manifest.gz
+++ b/net-p2p/Manifest.gz
Binary files differ
diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
index 4fb18f569e2e..776ec7b01566 100644
--- a/net-p2p/qbittorrent/Manifest
+++ b/net-p2p/qbittorrent/Manifest
@@ -1,6 +1,10 @@
+AUX qbittorrent.confd 494 BLAKE2B 862037a6237dd0104ca0717d8cfe1cced3b0e5d15d2629e33a78bfd2ea963a47a344246a2cda085357103762427bc1142d26c53b2a3df11cee9196030ce74407 SHA512 685e65344ed313ec24b8fad48fc9b5fcfcf6ca460fd3ac30861f27e6773ce9d74d45c68b5b21c804c95f5c69fb7139d192113eddea3a8359d43e47f696662846
+AUX qbittorrent.initd 910 BLAKE2B e27d8542acd63291100ac0782f83c6f251d357ee22e81fd8069d246bef2d1f150b86a5ff5ab500db30a9d1dfcbb8833789d9bf22b3ec5af9494ef0e2a2ce4587 SHA512 4d9b70630352db12801facb49fc08bcb95968ccfcea983304cf0f442f9dccaedf2de6d9f9b7e0dfab9aec6a945df49929032d28e5c25c2ca9c17f9a6fed7695e
DIST qbittorrent-4.5.2.tar.gz 8890525 BLAKE2B 48585b703ce6edf862ea3c8cfad6cab2edcb65a138c6e8d232322b4f4fd682c87447ff11d29c04c26b5623e730ab9a1ce0496456b3ba6122f97913bd92b86790 SHA512 e900a1c5f0f70163463557aec3de0d31394fac56cfed91ea53ee5cf852cce4b2998bf79be60fc547c1c34a1658378f3ed9dbfb30aae5a772b85d819c7e7ce458
DIST qbittorrent-4.5.4.tar.gz 8791236 BLAKE2B 70b3194d6c4819655998406e0a13d22f3a5068e724048010daebd83d8b8db9e17daee943ca8dabaacd92a0fbc5249257de6d175b35287c748dc2d15395bd71fc SHA512 2e7988922137c9fade99e90236cc0c5b8b30f09021472f8ffc9048a7a2d989925eed7bfab4d79c93ca7d0f21acfde2e7feee5e6c43b557bf2c6f472fd52fbcea
+DIST qbittorrent-4.5.5.tar.gz 8802492 BLAKE2B 1d20d7900b5b65603c5cf13452fb5aebe396473290d4904641b78867c5345d783482c46edc7042a2e86e79afd790e8c470df62131595eba288f195cc5e716eec SHA512 8b5c2654b3bc03c0b4de77e8388ee543c3892ef9453749ea737aaee999a16d50bd1b30ebe0519a86d7ab8ffc6224d7d9cf678464aebf96433cd71dd57b46dd53
EBUILD qbittorrent-4.5.2-r1.ebuild 2193 BLAKE2B a1cca9de23750e3a0b3a724f7ba21b0b398a97202fc0a41fd8efb10039e5e4a67bf97c97d4662855672c85ec398718699c2befd953339dac42259a49142ba2a8 SHA512 2c06ef6f6c768ed51f769a367fee57c82948f7d09d578c0bd1408e4ac7a525b4ca003b0124d77b666014b483792084262bb7be5be905a4ef09285b3d59bdebae
EBUILD qbittorrent-4.5.4.ebuild 2193 BLAKE2B a1cca9de23750e3a0b3a724f7ba21b0b398a97202fc0a41fd8efb10039e5e4a67bf97c97d4662855672c85ec398718699c2befd953339dac42259a49142ba2a8 SHA512 2c06ef6f6c768ed51f769a367fee57c82948f7d09d578c0bd1408e4ac7a525b4ca003b0124d77b666014b483792084262bb7be5be905a4ef09285b3d59bdebae
-EBUILD qbittorrent-9999.ebuild 2654 BLAKE2B 51a384295b444603120b7e5e18b9b37f0faad05483be7bf43614ac984cd21b6cc5a965abde0cf379dd8211e0fede18bb1daf6542dd9341185afa3e961d417fdd SHA512 b102f0563325040fcab1ef32d9090605c5a30f27833458164fc5afb4d9dc8ef1ea2f94fb49c3e7ea640085bf289b79ae6ac34e238038f8d86646b80790165725
-MISC metadata.xml 373 BLAKE2B 39db57061c07f68baffdaf51ca75c1bebde2f044f786b3016d86bc55917953f9779aba9d28daac4c6591fc02ad39c950bf0eff76a95b39f329f46f4b49faa5ef SHA512 bda0df5f7cdc723b66ebfff34c481aa2cbbeaa436ca53da88106fc5ca5637d218569f8c1649cf7b374606d06c1b90c727aed64c9162a56868994fa78ad4da79d
+EBUILD qbittorrent-4.5.5.ebuild 2832 BLAKE2B 2d860392538a555d287637f6093bc0a63a9fd596015bccc99547ab0ce4dc7d3db0016e5481555dcf67c70ee220f17342d32ce2555dbf1c9430e969bc31aa9c3d SHA512 2f65b8783aa8e09f4610ec019b70a7b25daa5e49443e13936263e0687cfecb5790a4265ca8f119fa4df513caf7fa5c6941787bef5a2b809c2583425b5e398c04
+EBUILD qbittorrent-9999.ebuild 2832 BLAKE2B 2d860392538a555d287637f6093bc0a63a9fd596015bccc99547ab0ce4dc7d3db0016e5481555dcf67c70ee220f17342d32ce2555dbf1c9430e969bc31aa9c3d SHA512 2f65b8783aa8e09f4610ec019b70a7b25daa5e49443e13936263e0687cfecb5790a4265ca8f119fa4df513caf7fa5c6941787bef5a2b809c2583425b5e398c04
+MISC metadata.xml 682 BLAKE2B b95ac37db808995fd7eb868d0e944d41c328fb084e9e2ac0d04a55ba6505cad9fb215922af491492b9caaaf66114330f71560f954dfc07e653b6490271aa3b1d SHA512 5b5752a6079f9919521c4e4f7af3ab5dbfddbb3b7d8f49a68513ebb2eb90b0170e3cc44fcf85d4f6d321294f2b9e9bae3f89ee7c17d1ca17fce11de912d867b9
diff --git a/net-p2p/qbittorrent/files/qbittorrent.confd b/net-p2p/qbittorrent/files/qbittorrent.confd
new file mode 100644
index 000000000000..21e2e4200fef
--- /dev/null
+++ b/net-p2p/qbittorrent/files/qbittorrent.confd
@@ -0,0 +1,20 @@
+# /etc/conf.d/qbittorrent: config file for /etc/init.d/qbittorrent
+
+# User and group as which to run
+#QBITTORRENT_USER="qbittorrent"
+#QBITTORRENT_GROUP="qbittorrent"
+
+# Directory where qBittorrent saves its logs (and maybe downloads)
+#QBITTORRENT_DIRECTORY="/var/lib/qbittorrent"
+
+# umask used to create files
+#QBITTORRENT_UMASK=0022
+
+# I/O nice level of qBittorrent
+#QBITTORRENT_IONICE=0
+
+# Nice level of qBittorrent
+#QBITTORRENT_NICE=0
+
+# Extra opts given to qBittorrent
+#QBITTORRENT_OPTS=""
diff --git a/net-p2p/qbittorrent/files/qbittorrent.initd b/net-p2p/qbittorrent/files/qbittorrent.initd
new file mode 100644
index 000000000000..7f800e640e76
--- /dev/null
+++ b/net-p2p/qbittorrent/files/qbittorrent.initd
@@ -0,0 +1,27 @@
+#!/sbin/openrc-run
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+QBITTORRENT_USER=${QBITTORRENT_USER:-qbittorrent}
+QBITTORRENT_GROUP=${QBITTORRENT_GROUP:-qbittorrent}
+QBITTORRENT_DIRECTORY=${QBITTORRENT_DIRECTORY:-/var/lib/qbittorrent}
+QBITTORRENT_UMASK=${QBITTORRENT_UMASK:-0022}
+QBITTORRENT_IONICE=${QBITTORRENT_IONICE:-0}
+QBITTORRENT_NICE=${QBITTORRENT_NICE:-0}
+
+description="BitTorrent client in C++ and Qt"
+command="/usr/bin/qbittorrent-nox"
+command_args="${QBITTORRENT_OPTS}"
+pidfile="/run/${RC_SVCNAME}.pid"
+command_background="yes"
+command_user="${QBITTORRENT_USER}:${QBITTORRENT_USER}"
+umask="${QBITTORRENT_UMASK}"
+start_stop_daemon_args="--ionice ${QBITTORRENT_IONICE} --nicelevel ${QBITTORRENT_NICE}"
+
+depend() {
+ need localmount net
+}
+
+start_pre() {
+ checkpath -q -d -o ${QBITTORRENT_USER}:${QBITTORRENT_GROUP} ${QBITTORRENT_DIRECTORY}
+}
diff --git a/net-p2p/qbittorrent/metadata.xml b/net-p2p/qbittorrent/metadata.xml
index 7cd55c83f828..14e773c514d6 100644
--- a/net-p2p/qbittorrent/metadata.xml
+++ b/net-p2p/qbittorrent/metadata.xml
@@ -1,12 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <use>
- <flag name="webui">Enable the Web UI</flag>
- </use>
- <upstream>
- <remote-id type="github">qbittorrent/qBittorrent</remote-id>
- <remote-id type="sourceforge">qbittorrent</remote-id>
- </upstream>
+ <maintainer type="person" proxied="yes">
+ <email>cheembox573@gmail.com</email>
+ <name>Alexey Lunev</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
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="github">qbittorrent/qBittorrent</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/net-p2p/qbittorrent/qbittorrent-4.5.5.ebuild b/net-p2p/qbittorrent/qbittorrent-4.5.5.ebuild
new file mode 100644
index 000000000000..9ff0a380b472
--- /dev/null
+++ b/net-p2p/qbittorrent/qbittorrent-4.5.5.ebuild
@@ -0,0 +1,138 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake edo multibuild systemd xdg
+
+DESCRIPTION="BitTorrent client in C++ and Qt"
+HOMEPAGE="https://www.qbittorrent.org"
+
+if [[ ${PV} == *9999 ]]; then
+ EGIT_REPO_URI="https://github.com/qbittorrent/qBittorrent.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+ S="${WORKDIR}"/qBittorrent-release-${PV}
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+dbus +gui qt6 test webui systemd"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="|| ( gui webui )"
+
+RDEPEND="
+ >=dev-libs/openssl-1.1.1:=
+ >=net-libs/libtorrent-rasterbar-1.2.18:=
+ >=sys-libs/zlib-1.2.11
+ virtual/libiconv
+ gui? (
+ dev-libs/geoip
+ !qt6? (
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dbus? ( dev-qt/qtdbus:5 )
+ )
+ qt6? (
+ dev-qt/qtbase:6[dbus?,gui,widgets]
+ dev-qt/qtsvg:6
+ )
+ )
+ qt6? ( dev-qt/qtbase:6[network,ssl,sql,sqlite,xml(+)] )
+ !qt6? (
+ dev-qt/qtcore:5
+ dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtxml:5
+ )
+ acct-group/qbittorrent
+ acct-user/qbittorrent"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/boost
+ test? (
+ !qt6? ( dev-qt/qttest:5 )
+ qt6? ( dev-qt/qtbase:6[test] )
+ )"
+BDEPEND="
+ !qt6? ( dev-qt/linguist-tools:5 )
+ qt6? ( dev-qt/qttools:6[linguist] )
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md )
+
+src_prepare() {
+ MULTIBUILD_VARIANTS=()
+ use gui && MULTIBUILD_VARIANTS+=( gui )
+ use webui && MULTIBUILD_VARIANTS+=( nogui )
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ my_src_configure() {
+ local mycmakeargs=(
+ # musl lacks execinfo.h
+ -DSTACKTRACE=$(usex !elibc_musl)
+
+ # More verbose build logs are preferable for bug reports
+ -DVERBOSE_CONFIGURE=ON
+
+ -DQT6=$(usex qt6)
+
+ -DWEBUI=$(usex webui)
+
+ -DTESTING=$(usex test)
+ )
+
+ if [[ ${MULTIBUILD_VARIANT} == "gui" ]]; then
+ # We do this in multibuild, see bug #839531 for why.
+ # Fedora has to do the same thing.
+ mycmakeargs+=(
+ -DGUI=ON
+ -DDBUS=$(usex dbus)
+ -DSYSTEMD=OFF
+ )
+ else
+ mycmakeargs+=(
+ -DGUI=OFF
+ -DDBUS=OFF
+ )
+
+ use systemd && mycmakeargs+=(
+ # The systemd service calls qbittorrent-nox, which is only
+ # installed when GUI=OFF.
+ -DSYSTEMD=ON
+ -DSYSTEMD_SERVICES_INSTALL_DIR="$(systemd_get_systemunitdir)"
+ )
+ fi
+
+ cmake_src_configure
+ }
+
+ multibuild_foreach_variant my_src_configure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake_src_compile
+}
+
+src_test() {
+ my_src_test() {
+ cd "${BUILD_DIR}"/test || die
+ edo ctest .
+ }
+
+ multibuild_foreach_variant my_src_test
+}
+
+src_install() {
+ multibuild_foreach_variant cmake_src_install
+ einstalldocs
+
+ newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+}
diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
index eeba63e2c817..9ff0a380b472 100644
--- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,7 +19,7 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="+dbus +gui qt6 test webui"
+IUSE="+dbus +gui qt6 test webui systemd"
RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( gui webui )"
@@ -47,7 +47,9 @@ RDEPEND="
dev-qt/qtnetwork:5[ssl]
dev-qt/qtsql:5[sqlite]
dev-qt/qtxml:5
- )"
+ )
+ acct-group/qbittorrent
+ acct-user/qbittorrent"
DEPEND="
${RDEPEND}
dev-libs/boost
@@ -98,6 +100,9 @@ src_configure() {
mycmakeargs+=(
-DGUI=OFF
-DDBUS=OFF
+ )
+
+ use systemd && mycmakeargs+=(
# The systemd service calls qbittorrent-nox, which is only
# installed when GUI=OFF.
-DSYSTEMD=ON
@@ -127,4 +132,7 @@ src_test() {
src_install() {
multibuild_foreach_variant cmake_src_install
einstalldocs
+
+ newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
}
diff --git a/net-p2p/syncthing/Manifest b/net-p2p/syncthing/Manifest
index 70a883574f58..b4a7192b8938 100644
--- a/net-p2p/syncthing/Manifest
+++ b/net-p2p/syncthing/Manifest
@@ -15,5 +15,5 @@ DIST syncthing-1.23.7.tar.gz 14314457 BLAKE2B 61efe4119617d8f63208b6ff579b500858
DIST syncthing-1.24.0.tar.gz 18625515 BLAKE2B aeff0ab43fca0d6f440e6ccacb1a947e22131d625d8600eebaf9cc285a3ed51ab52cd9f13e64be79e290ba07d6181aafe5176922cf01d24ec65cc0882d1d7a61 SHA512 bc53ee04b3454642606047d2009fb9adaafd509d0a4e52a4b6e57565bf502615bfcbc29e15b30733ee8eace62685b00a784347f63c2986ccf90b70631f858908
EBUILD syncthing-1.23.6.ebuild 2915 BLAKE2B edfda20c32e041d7172efd31ee762d443f2788fdb395593a552003851387ddfac891f2ca231524fd06cbae74dd3cbe9c6b3345f49d95ad30185d41b4cb50ec10 SHA512 0092a7d80c3f9a23d0f6da1c6d5cba2665047097f329db8d85188363a367a146a88c73ae05920bbfa93a241daad9f3222b8f3b3d7d0953a6bd2946cb78c78e14
EBUILD syncthing-1.23.7.ebuild 2920 BLAKE2B 702a664af9d4d5b86b37abddb115ef41b958128edb48ca5be0361344196ef36b2becee55d93ed9d4bbe750e8a440daa0b9d7ef4021b288874b101c484fad019c SHA512 8702fbbf62bd1fcc6e5386bef1f2fa1ddba81059fbf04d32f558e14a56ca76265464a1eccbd8675935ba359109cbd69c9bec3e6327f89f518d1ae3eabad19336
-EBUILD syncthing-1.24.0.ebuild 2887 BLAKE2B 09ab0937a5697393094861c25f0ba64cd4bf9a4ca90e9c627d2599724d30efa8a35079c65219df615709d75e719a438e2222059a5dbfba05ef88cc8e98c16390 SHA512 1a3ff5674a898c68e5632c7cbf01445386c44a4ab009815283e8ec14ff86ee87b11275e323986c4633a0593e9e6a07a821cc690791d874748e4516a84ffb14be
+EBUILD syncthing-1.24.0.ebuild 2918 BLAKE2B dd17743d8f781bdd4c01450fd157bb9612de284ef57e066eb39cea02ae03a9809f249061a59e538c26086a0d015b1090489a84399be3f710b98ad90db6c1a48e SHA512 dc916531c6262ab361421a1d422c2f330ab0cac2b5f04ad5887a1efbd9884da7f685d5132bb0bd9608d25a1f25ae208b08edfa95995a8f59dc101eca516ee3f2
MISC metadata.xml 870 BLAKE2B 9d6abd4129ab6ab9ece49e3cb74b6537cf185c5e7e0d7cf893543ea6e75be83e534a8d3f4d042aeb778f9284c9ed7a6f2d60461593ae46f65901a42a3582acc2 SHA512 ef4f1fb81733a7c53f4deb239de1d01d4d2710cf92cb4abfb49659f64bfe5a080c3ab50ec9ec9bda531d0ca87f2f5b9ac80fe1beba1eaaccd1971b1759b3e93a
diff --git a/net-p2p/syncthing/syncthing-1.24.0.ebuild b/net-p2p/syncthing/syncthing-1.24.0.ebuild
index 775dfc6ccb00..d740098c727d 100644
--- a/net-p2p/syncthing/syncthing-1.24.0.ebuild
+++ b/net-p2p/syncthing/syncthing-1.24.0.ebuild
@@ -19,6 +19,7 @@ RDEPEND="acct-group/syncthing
tools? ( >=acct-user/stdiscosrv-1
>=acct-user/strelaysrv-1 )
selinux? ( sec-policy/selinux-syncthing )"
+BDEPEND=">=dev-lang/go-1.20.0"
DOCS=( README.md AUTHORS CONTRIBUTING.md )