summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Manifest.gzbin6905 -> 6913 bytes
-rw-r--r--net-p2p/airdcpp-webclient/Manifest2
-rw-r--r--net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.ebuild4
-rw-r--r--net-p2p/syncthing/Manifest2
-rw-r--r--net-p2p/syncthing/syncthing-1.27.8.ebuild116
5 files changed, 121 insertions, 3 deletions
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz
index 141b47748cc2..c408be748b89 100644
--- a/net-p2p/Manifest.gz
+++ b/net-p2p/Manifest.gz
Binary files differ
diff --git a/net-p2p/airdcpp-webclient/Manifest b/net-p2p/airdcpp-webclient/Manifest
index 489ba65f3ba7..3f1bb7025cfe 100644
--- a/net-p2p/airdcpp-webclient/Manifest
+++ b/net-p2p/airdcpp-webclient/Manifest
@@ -7,5 +7,5 @@ DIST airdcpp-webclient-2.11.4.tar.gz 958611 BLAKE2B f0ff3a39c8615edbc541a952460b
DIST airdcpp-webclient-2.12.1.tar.gz 961603 BLAKE2B bc17fb3b3643b1d699f7c0ef958616759d87cd96467318a592c1460e355d512a3efc0e793a3098f8074f02d5af47b1ef33b65fbe7a6c9a955bbdc472d323f637 SHA512 0f662311d208b937c946b41a617c82a0e72442fb7c2bef09d56ec71931bde35bd1024ce53cb3bf7deda3eaaac31ecbe8fa2c66c337c0833db655f80f5e5156be
EBUILD airdcpp-webclient-2.11.2.ebuild 1428 BLAKE2B 95090c5e23191743037206460d96ee0f75f35b4dd1917888315dbad1e56f25a7dc9d7bd500454cf5399186a84ea5d73ab1487b329f45cb9d00a34d43a4612dd4 SHA512 81c7eef1cfcd1be7da74724a50d93942a6ec02bc448f92127bfce52a08c9a7ea5ff00870ffabf644ca9a4a59ca043f97c202ce000f70b70f33da185d152493f0
EBUILD airdcpp-webclient-2.11.4.ebuild 1381 BLAKE2B 0b64fcc853b9a9857dfe1a55145500903fb718753a737229e5a733f797f711b22aaa0bd2ad8d0ef96acb58cb59e6c100e5c5e852c13f7060e2ce39e5c00b5716 SHA512 f091e9945199d16e8ee3f90df23b9861552bd17c4b5b7480d9fd82e0fb161fbcefd83b9b5804c7d1474f9b15945f5029917cedf5fd8c120b730d8c24c17eb40f
-EBUILD airdcpp-webclient-2.12.1.ebuild 1384 BLAKE2B cc26b582ec287b62fdcdb0fabe50c2a24e7bb4e069a0455206f86514cbb6794bec574e95d175c866c4520db1901ba3713c4e98355d110183c92ed0adf46b213e SHA512 a09da88225cf53615605ca96f55ffb1384092edd4e7304abcb42de100cc0e26b94fb11eeb09b8ce98d8d1c2a63f26858d5c5e51fc4c04ff46eb511b55549edd6
+EBUILD airdcpp-webclient-2.12.1.ebuild 1382 BLAKE2B d51183ee0d5d58bbcc470805afd987e9484a20115c513824d0d76ac18a8b154b1cc0c476457cd8b4b3dfe12b1d73bfff1b6f28ec270938cc0b94eef0b474cec5 SHA512 a6740503ea7e0b2d702bc793db24c806bb1ec45e5e331f6a7e95c02058b2ee26734f89c5ebe53c318ae1120c4c4e167955629ebffb0dd31346ea9bb34ae9f8bf
MISC metadata.xml 805 BLAKE2B f62a540005c5d447e9ddd18b31eb88b1e875161af3b54e8c8753034700a70f28b3d4059d34988a8cf9225c2588ac921b39293e30ed2abf65a2bd0970b75a4628 SHA512 f8ff1e2d21ad685843abdb11672450b08c190203fbaead9170985dcf14332b7deebefb1565df6ce88671a87eb5e22ae80df5eaccf4c42ad49e882dd00b7ec81d
diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.ebuild
index a0c2b11391c2..848b7f674f46 100644
--- a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.ebuild
+++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.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
@@ -11,7 +11,7 @@ DESCRIPTION="Cross-platform Direct Connect client"
HOMEPAGE="https://airdcpp-web.github.io/"
SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv x86"
LICENSE="GPL-2+"
SLOT="0"
IUSE="debug nat-pmp +tbb +webui"
diff --git a/net-p2p/syncthing/Manifest b/net-p2p/syncthing/Manifest
index f8ee06324aad..cc5a477c09a4 100644
--- a/net-p2p/syncthing/Manifest
+++ b/net-p2p/syncthing/Manifest
@@ -13,6 +13,8 @@ AUX syncthing.initd-r2 1288 BLAKE2B a1c74a4de5bfe61fe4e57f7be358a4ba2df28a92fd48
AUX syncthing.logrotate 101 BLAKE2B af499a6979e5c61cc4791932e247fe7f25baffbbf690907a2e2b8c2954da72154a885759589249c541f36b2740980f3fcd3e99db0d3f6d5a1bacee8c1574f9bc SHA512 73a5f7062b48ab4c7b343b43367b1999f8e133eadb624bd5e3e147ae41f135ded6acb4c617db2d385311441c9a52c288333791308c36762cb5273a853cce5a67
DIST syncthing-1.27.2.tar.gz 14967954 BLAKE2B 8f033e18679f7accc3d461566da88fa45b2e1c8dc1b1b5ace2732e3987d82e8d458c42dc3571f7d1199cf35667be72fcf81b65efa9cd2dac65297bc86b03e284 SHA512 6b6bd57268b32b5db2377cf813229de978e26de606ac3bf2b515ddb35fd8131fafdb88abbfac1cb7d0f443224538cca7a6eba64f4bd737135f5a1c98e76439f9
DIST syncthing-1.27.6.tar.gz 15147926 BLAKE2B 63003b95f0458ece86aeeff8871ebe591f31ffda713427a7ded9d852a38770514143119983d3b28e82fe570992e1a35b9bcdb5d268fa5d3b4d23073edc2e811b SHA512 2dbffd6002d557cc7ec3beab10d00f0e531d71ba60ed75fc20fd49f3d0c79b28197ed1c6795ef42717d12b8f4f594d1cadc8a67d0925f7f7f1cd20d1baa6edae
+DIST syncthing-1.27.8.tar.gz 15305526 BLAKE2B f3458792f474f661e5420058d9c2991d04b74f5414b8e23c8c8e140e96ac45c7dea72017e3d1349cd8ef3b6a22a64b41f171ba3ac2bdf436a9a3460673ec201d SHA512 9f2d8cd70a8b269553919be07b63cb5dc9e83fe761596a1e1012339b10733f9619b35c532d66b8be1dc1a0888373308b1b6dab0f895c81e994d66c942734cbe6
EBUILD syncthing-1.27.2.ebuild 2918 BLAKE2B ba78b1eb3e761a50c4111fa2cec4eb9d17eac0f28301cf9f78a812012e8d9193d0c4453e6a2b60e937da66f1e3ab0e0434b24bd9d52d38e57f93aaa51b3c46c0 SHA512 9bcda8e8817123a15dd7121e8c55ec23de3ac4cefde0bd1c98499e12a06c58a4e5cd6c1e6301f03b5ee3baa31a9b39d42fc281e9d5aef2d7989b8add85eba8e7
EBUILD syncthing-1.27.6.ebuild 2930 BLAKE2B 7b90e13d3356c0bb4c0cd0149c3113bae155b1c907a9870cd96d37461c2852810974b42004ae6c1e27c012ca8e956d6c5ef9b8b48bdc08c77448f27ed9fd8543 SHA512 3f7365a7d1367cc62a04f5040f9d57a1f429b3f1077395a1ba3f15ee81edb80ea7f135c48200eb436ab6715542e135128858a16985d6837f00b2308af4f13424
+EBUILD syncthing-1.27.8.ebuild 2994 BLAKE2B 45e9cd6b3b0999f829b469a75d35f5b3698e4c0c598f41220d44293c93028a2f215a045a05c892245a6c749cdfad9ebd6fc847bac80e9246c87c0ecaa7d8e346 SHA512 6519f9eea91f454eced7b21d4284dc05cd83350ecfe3a7f2e3e1fccf555542ae2ea0d461fbb543e88524dc0fc7c0df915ce167c33ee400c2e6e215dd8b08580e
MISC metadata.xml 870 BLAKE2B 9d6abd4129ab6ab9ece49e3cb74b6537cf185c5e7e0d7cf893543ea6e75be83e534a8d3f4d042aeb778f9284c9ed7a6f2d60461593ae46f65901a42a3582acc2 SHA512 ef4f1fb81733a7c53f4deb239de1d01d4d2710cf92cb4abfb49659f64bfe5a080c3ab50ec9ec9bda531d0ca87f2f5b9ac80fe1beba1eaaccd1971b1759b3e93a
diff --git a/net-p2p/syncthing/syncthing-1.27.8.ebuild b/net-p2p/syncthing/syncthing-1.27.8.ebuild
new file mode 100644
index 000000000000..9457cdd7b81f
--- /dev/null
+++ b/net-p2p/syncthing/syncthing-1.27.8.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop go-module systemd xdg-utils
+
+DESCRIPTION="Open Source Continuous File Synchronization"
+HOMEPAGE="https://syncthing.net"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}"/${PN}
+
+LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0 Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="selinux tools"
+
+RDEPEND="acct-group/syncthing
+ acct-user/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 )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch
+ "${FILESDIR}"/${PN}-1.18.4-tool_users.patch
+ "${FILESDIR}"/${PN}-1.27.4-tests_race.patch
+)
+
+src_prepare() {
+ # Bug #679280
+ xdg_environment_reset
+
+ default
+ sed -i \
+ 's|^ExecStart=.*|ExecStart=/usr/libexec/syncthing/stdiscosrv|' \
+ cmd/stdiscosrv/etc/linux-systemd/stdiscosrv.service \
+ || die
+ sed -i \
+ 's|^ExecStart=.*|ExecStart=/usr/libexec/syncthing/strelaysrv|' \
+ cmd/strelaysrv/etc/linux-systemd/strelaysrv.service \
+ || die
+}
+
+src_compile() {
+ GOARCH= go run build.go -version "v${PV}" -no-upgrade -build-out=bin/ \
+ ${GOARCH:+-goarch="${GOARCH}"} \
+ build $(usex tools "all" "") || die "build failed"
+}
+
+src_test() {
+ go run build.go test || die "test failed"
+}
+
+src_install() {
+ local icon_size
+
+ doman man/*.[157]
+ einstalldocs
+
+ dobin bin/syncthing
+
+ domenu etc/linux-desktop/*.desktop
+ for icon_size in 32 64 128 256 512; do
+ newicon -s ${icon_size} assets/logo-${icon_size}.png ${PN}.png
+ done
+ newicon -s scalable assets/logo-only.svg ${PN}.svg
+
+ if use tools; then
+ exeinto /usr/libexec/syncthing
+ local exe
+ for exe in bin/* ; do
+ [[ "${exe}" == "bin/syncthing" ]] || doexe "${exe}"
+ done
+ fi
+
+ systemd_dounit etc/linux-systemd/system/${PN}{@,-resume}.service
+ systemd_douserunit etc/linux-systemd/user/${PN}.service
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.initd-r2 ${PN}
+
+ keepdir /var/log/${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotate ${PN}
+
+ insinto /etc/ufw/applications.d
+ doins etc/firewall-ufw/${PN}
+
+ if use tools; then
+ systemd_dounit cmd/stdiscosrv/etc/linux-systemd/stdiscosrv.service
+ newconfd "${FILESDIR}"/stdiscosrv.confd stdiscosrv
+ newinitd "${FILESDIR}"/stdiscosrv.initd-r1 stdiscosrv
+
+ systemd_dounit cmd/strelaysrv/etc/linux-systemd/strelaysrv.service
+ newconfd "${FILESDIR}"/strelaysrv.confd strelaysrv
+ newinitd "${FILESDIR}"/strelaysrv.initd-r1 strelaysrv
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/stdiscosrv.logrotate strelaysrv
+ newins "${FILESDIR}"/strelaysrv.logrotate strelaysrv
+ fi
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}