mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
net-p2p/syncthing: drop 2.0.14, 2.0.15, 2.1.0
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
DIST syncthing-source-v2.0.10.tar.gz 62668860 BLAKE2B 28f4c9abedfbcc0d74c27d7d705a27fbf3a5aa36bf5a5bea14efb3eb6b55ae43635d27ccff0dc2fa8918d5b2a88c63a2984f6af9a242c111c08a28f32e42bbc4 SHA512 7bd66902211402ac2af017fd3a7eae589a0b3dbb20d3e9f17a4e0760503b3ebd177d917d9d7345f4bf6cc6a2c43d748195b079272e199285aac7719ffc89ab87
|
||||
DIST syncthing-source-v2.0.10.tar.gz.asc 1391 BLAKE2B 746a183dc6cfe43ce414ae7128aa4ff50ca4681d6fcc692c8607bdbd70dab237b00d4c12dd7733b8255cd7d813eb25c1be09b2dae857963aec766afde6dfaf80 SHA512 8bf1ccab2670623b0bedaef7b196fad5a823068fb5c1922a7d6497ea431872311ad800413a96210df00c9907dbd85de8f563a3d635e76a1ef50641835998eb23
|
||||
DIST syncthing-source-v2.0.14.tar.gz 62621377 BLAKE2B 0b7228ab9cb749622fcdbb7856641b9c0b33e724ea149dfecd0ee892904c657349ff4fc7a94d711552563233e560a18d04eb3996ca853d3cba90c6d1e64065db SHA512 b272af5810d9c4ef0d9d00cb19f01b16f30d1373b718c09b3b1d235586881e6d46e10d37788ee995d5365edbc1fc04e701f42a5fc143306e3ec0dbefc2aaf538
|
||||
DIST syncthing-source-v2.0.14.tar.gz.asc 1391 BLAKE2B 5c504167484a2bcbf04e48769602fcc5a039fcccc756a8989efc6e448cdf31827c153a25fed6b9c4e636acb54c26d00ba7c5a672d8cf2cd33d929c7a142a0470 SHA512 493d3d47872e0b11aa3c55aed68dcce8941e4ac93fe1175623f3a77a6acee09074aef665c4c62eb8e5e92fa4dfdab9dfad5859686ca4f88d110204e3c639bbf7
|
||||
DIST syncthing-source-v2.0.15.tar.gz 62690897 BLAKE2B 532e5d56b27bdec444495fef4616a204c55a17b00ad7f8b2140d9a50d7e686ed56e9693b28dd8de56444de85869bbd4274a26f37ed39deb5d9779f86691836f2 SHA512 51aa331a843c9e87c990a1379ef88736a6de8e4994a623badc019b6d86400963470ea70cfa719a4001d63e77f7b78fcc75413761b5713d43ae5d0a80758ec7c1
|
||||
DIST syncthing-source-v2.0.15.tar.gz.asc 1391 BLAKE2B 7baf7edcaa3ab1b332d047c6b03b734a6ccd4ea9c4a778b08f5c89a1e5b917b48a3a8755f1c80c7a221b9351b38a61053b7e9cb6eb561ef2ba8189a2afb72657 SHA512 d62a11ca3c20910cd815160f0abc6080ad413ae96f7ab51c36f84b1f9b4e23bcf47fc9845af402d9967820352fa976580fb5e237c839b47f2382fdb71bfc75aa
|
||||
DIST syncthing-source-v2.0.16.tar.gz 62749079 BLAKE2B a9c5f3f7c26506e1997d0e28713fee30c31fec6d79c2e89405e6b3f5f4fb0834d23eb380ad87ac2752d91aea5208b1955e91e92a47dd2a53080bb4b54890e800 SHA512 e5556a56ffcbe1f2830f6225e3acb0e5b15d879704908d94f8fbb9e06a520e5233600f11da469e220a36a55a6e96c1a2a6b7d4c67b50a18136018d089051e6fd
|
||||
DIST syncthing-source-v2.0.16.tar.gz.asc 1391 BLAKE2B ae28c7037514065d63d784c3085c94e249626ad72b37b887dc9d49038ba3b89ec6be9884132ab5b19053d565e2da393ae71d850cd9515e6da983f29a75b47c90 SHA512 6821ac6ab15e5a9ca5f3944a2d4da20febaba1d9d41ee485492511a7cdf399e363e34fb44c94640e401e31befccace6a408f82891f55ded09406580923a41104
|
||||
DIST syncthing-source-v2.1.0.tar.gz 63030467 BLAKE2B a49e5eb507bd81483ff82d00d07de40b2b7df640190f3df98427ee41d96aa43eaacea34e8b9f37e5f1846044c2d4b25463048fe8b109b6b6b272c7f6be7074ab SHA512 ee6e14d9522e4d37063b90afcda20fc55dbd1a4a9faf7cd6fe34b9f7581a28572d8b8614e8821b5bfaca94c0a7456784f053f02878ac7872900a2752f19e3210
|
||||
DIST syncthing-source-v2.1.0.tar.gz.asc 1391 BLAKE2B 68c2835c37a78a123f4a04af0d04d3a0c8c7699532d8e38400ed535877d3b324ae2a220c70946c959d6c01f3a1c26425370acbe0a445bc2ce50892fc929af835 SHA512 c724d0cf5aab6dc27d72587ba3d51b2bb8932c88b65cdbe45a26b72210f2fd50ca37ba05d9a307035c963c15166595bcf36dacef3b6d11269dda70286720adba
|
||||
DIST syncthing-source-v2.1.1.tar.gz 63011776 BLAKE2B a2e3dc9b7b460a38625ab815545e6b031a2b18d8b4690f848c332540f80de71e02edf74860ad13cf15564f0a5f2f56f7d075497a9d70c6197b5fead6e3ebba25 SHA512 9287ffb2a472b5c8cc9eada9ddfed1f669b1e381431e41a2a76f474639463d8d667a7562ca695290e73ed3df1b89b0622371016a7d3240b90c718c5a93b94a31
|
||||
DIST syncthing-source-v2.1.1.tar.gz.asc 1391 BLAKE2B 143b30b627005de85b9eedba156362f8f838cf42ca6a11ff29a8a876a24e514f9e5a89a272cee524577f805d0ec70495e580eeeada8bb699854a0fa4d3d2a2f9 SHA512 e920b6f252de586f47beddbf3f97a2477d3c8fdd14753f28e3137b4deea1340035cd31a46dddc25320977d355b45481fde40ec36332441a522bf0140b28c609d
|
||||
DIST syncthing-source-v2.1.2.tar.gz 63151484 BLAKE2B 44f53eb24640b0eb4f33af746ec73e6b23e590cbab4fa89c7d083d30f948464165e627e30b8c2f34ef741179b1074d32dc74f023761f968b022fdbf64dc66a16 SHA512 4505c80014540914a645c0b1c85a6a54e6c9dfc9487897734313e61b45233ebe04eadbae548c7a5a7a576a0269f54ae76c2d252ecc976b8c9dbe1037c90caed0
|
||||
|
||||
@@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit eapi9-ver desktop go-module systemd verify-sig xdg
|
||||
|
||||
DESCRIPTION="Open Source Continuous File Synchronization"
|
||||
HOMEPAGE="https://syncthing.net https://github.com/syncthing/syncthing"
|
||||
SRC_URI="
|
||||
https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz
|
||||
verify-sig? (
|
||||
https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz.asc
|
||||
)
|
||||
"
|
||||
S="${WORKDIR}"/${PN}
|
||||
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
IUSE="selinux tools"
|
||||
|
||||
DEPEND="
|
||||
dev-db/sqlite:3
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
acct-group/syncthing
|
||||
acct-user/syncthing
|
||||
tools? (
|
||||
>=acct-user/stdiscosrv-1
|
||||
>=acct-user/strelaysrv-1
|
||||
)
|
||||
selinux? ( sec-policy/selinux-syncthing )
|
||||
"
|
||||
BDEPEND="
|
||||
verify-sig? ( sec-keys/openpgp-keys-syncthing )
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/syncthing.asc
|
||||
|
||||
DOCS=( AUTHORS {GOALS,README}.md )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch
|
||||
"${FILESDIR}"/${PN}-1.18.4-tool_users.patch
|
||||
"${FILESDIR}"/${PN}-1.29.5-remove_race_in_tests.patch #955442
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Bug #679280
|
||||
xdg_environment_reset
|
||||
|
||||
default
|
||||
|
||||
local srv
|
||||
for srv in st{disco,relay}srv; do
|
||||
sed -i \
|
||||
's|^ExecStart=.*|ExecStart=/usr/libexec/${PN}/${srv}|' \
|
||||
cmd/${srv}/etc/linux-systemd/${srv}.service || die
|
||||
done;
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# https://github.com/mattn/go-sqlite3#linux
|
||||
# -tags libsqlite3: use system sqlite3 instead of bundled
|
||||
ego run build.go -version "v${PV}" -tags "libsqlite3" -no-upgrade -build-out=bin/ \
|
||||
build $(usev tools all)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego run build.go test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
|
||||
doman man/*.[157]
|
||||
einstalldocs
|
||||
|
||||
domenu etc/linux-desktop/${PN}-{start,ui}.desktop
|
||||
local -i icon_size
|
||||
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
|
||||
|
||||
systemd_dounit etc/linux-systemd/system/${PN}@.service
|
||||
systemd_douserunit etc/linux-systemd/user/${PN}.service
|
||||
newconfd "${FILESDIR}"/${PN}.confd-r2 ${PN}
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r5 ${PN}
|
||||
exeinto /etc/user/init.d
|
||||
newexe "${FILESDIR}"/syncthing.initd-user-r2 syncthing
|
||||
|
||||
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
|
||||
exeinto /usr/libexec/${PN}
|
||||
insinto /etc/logrotate.d
|
||||
|
||||
local srv
|
||||
for srv in st{disco,relay}srv; do
|
||||
doexe bin/${srv}
|
||||
systemd_dounit cmd/${srv}/etc/linux-systemd/${srv}.service
|
||||
newconfd "${FILESDIR}"/${srv}.confd ${srv}
|
||||
newinitd "${FILESDIR}"/${srv}.initd-r1 ${srv}
|
||||
|
||||
newins "${FILESDIR}"/${srv}.logrotate ${srv}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
if ver_replacing -lt 2.0 ; then
|
||||
elog "Major changes in 2.0:"
|
||||
elog "https://github.com/syncthing/syncthing/blob/v${PV}/relnotes/v2.0.md"
|
||||
fi
|
||||
}
|
||||
@@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit eapi9-ver desktop go-module systemd verify-sig xdg
|
||||
|
||||
DESCRIPTION="Open Source Continuous File Synchronization"
|
||||
HOMEPAGE="https://syncthing.net https://github.com/syncthing/syncthing"
|
||||
SRC_URI="
|
||||
https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz
|
||||
verify-sig? (
|
||||
https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz.asc
|
||||
)
|
||||
"
|
||||
S="${WORKDIR}"/${PN}
|
||||
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
IUSE="selinux tools"
|
||||
|
||||
DEPEND="
|
||||
dev-db/sqlite:3
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
acct-group/syncthing
|
||||
acct-user/syncthing
|
||||
tools? (
|
||||
>=acct-user/stdiscosrv-1
|
||||
>=acct-user/strelaysrv-1
|
||||
)
|
||||
selinux? ( sec-policy/selinux-syncthing )
|
||||
"
|
||||
BDEPEND="
|
||||
verify-sig? ( sec-keys/openpgp-keys-syncthing )
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/syncthing.asc
|
||||
|
||||
DOCS=( AUTHORS {GOALS,README}.md )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch
|
||||
"${FILESDIR}"/${PN}-1.18.4-tool_users.patch
|
||||
"${FILESDIR}"/${PN}-1.29.5-remove_race_in_tests.patch #955442
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Bug #679280
|
||||
xdg_environment_reset
|
||||
|
||||
default
|
||||
|
||||
local srv
|
||||
for srv in st{disco,relay}srv; do
|
||||
sed -i \
|
||||
's|^ExecStart=.*|ExecStart=/usr/libexec/${PN}/${srv}|' \
|
||||
cmd/${srv}/etc/linux-systemd/${srv}.service || die
|
||||
done;
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# https://github.com/mattn/go-sqlite3#linux
|
||||
# -tags libsqlite3: use system sqlite3 instead of bundled
|
||||
ego run build.go -version "v${PV}" -tags "libsqlite3" -no-upgrade -build-out=bin/ \
|
||||
build $(usev tools all)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego run build.go test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
|
||||
doman man/*.[157]
|
||||
einstalldocs
|
||||
|
||||
domenu etc/linux-desktop/${PN}-{start,ui}.desktop
|
||||
local -i icon_size
|
||||
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
|
||||
|
||||
systemd_dounit etc/linux-systemd/system/${PN}@.service
|
||||
systemd_douserunit etc/linux-systemd/user/${PN}.service
|
||||
newconfd "${FILESDIR}"/${PN}.confd-r2 ${PN}
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r5 ${PN}
|
||||
exeinto /etc/user/init.d
|
||||
newexe "${FILESDIR}"/syncthing.initd-user-r2 syncthing
|
||||
|
||||
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
|
||||
exeinto /usr/libexec/${PN}
|
||||
insinto /etc/logrotate.d
|
||||
|
||||
local srv
|
||||
for srv in st{disco,relay}srv; do
|
||||
doexe bin/${srv}
|
||||
systemd_dounit cmd/${srv}/etc/linux-systemd/${srv}.service
|
||||
newconfd "${FILESDIR}"/${srv}.confd ${srv}
|
||||
newinitd "${FILESDIR}"/${srv}.initd-r1 ${srv}
|
||||
|
||||
newins "${FILESDIR}"/${srv}.logrotate ${srv}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
if ver_replacing -lt 2.0 ; then
|
||||
elog "Major changes in 2.0:"
|
||||
elog "https://github.com/syncthing/syncthing/blob/v${PV}/relnotes/v2.0.md"
|
||||
fi
|
||||
}
|
||||
@@ -1,126 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit eapi9-ver desktop go-module systemd verify-sig xdg
|
||||
|
||||
DESCRIPTION="Open Source Continuous File Synchronization"
|
||||
HOMEPAGE="https://syncthing.net https://github.com/syncthing/syncthing"
|
||||
SRC_URI="
|
||||
https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz
|
||||
verify-sig? (
|
||||
https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz.asc
|
||||
)
|
||||
"
|
||||
S="${WORKDIR}"/${PN}
|
||||
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
IUSE="selinux tools"
|
||||
|
||||
DEPEND="
|
||||
dev-db/sqlite:3
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
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.25.0
|
||||
verify-sig? ( sec-keys/openpgp-keys-syncthing )
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/syncthing.asc
|
||||
|
||||
DOCS=( AUTHORS {GOALS,README}.md )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch
|
||||
"${FILESDIR}"/${PN}-1.18.4-tool_users.patch
|
||||
"${FILESDIR}"/${PN}-1.29.5-remove_race_in_tests.patch #955442
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Bug #679280
|
||||
xdg_environment_reset
|
||||
|
||||
default
|
||||
|
||||
local srv
|
||||
for srv in st{disco,relay}srv; do
|
||||
sed -i \
|
||||
's|^ExecStart=.*|ExecStart=/usr/libexec/${PN}/${srv}|' \
|
||||
cmd/${srv}/etc/linux-systemd/${srv}.service || die
|
||||
done;
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# https://github.com/mattn/go-sqlite3#linux
|
||||
# -tags libsqlite3: use system sqlite3 instead of bundled
|
||||
ego run build.go -version "v${PV}" -tags "libsqlite3" -no-upgrade -build-out=bin/ \
|
||||
build $(usev tools all)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego run build.go test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
|
||||
doman man/*.[157]
|
||||
einstalldocs
|
||||
|
||||
domenu etc/linux-desktop/${PN}-{start,ui}.desktop
|
||||
local -i icon_size
|
||||
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
|
||||
|
||||
systemd_dounit etc/linux-systemd/system/${PN}@.service
|
||||
systemd_douserunit etc/linux-systemd/user/${PN}.service
|
||||
newconfd "${FILESDIR}"/${PN}.confd-r2 ${PN}
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r5 ${PN}
|
||||
exeinto /etc/user/init.d
|
||||
newexe "${FILESDIR}"/syncthing.initd-user-r2 syncthing
|
||||
|
||||
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
|
||||
exeinto /usr/libexec/${PN}
|
||||
insinto /etc/logrotate.d
|
||||
|
||||
local srv
|
||||
for srv in st{disco,relay}srv; do
|
||||
doexe bin/${srv}
|
||||
systemd_dounit cmd/${srv}/etc/linux-systemd/${srv}.service
|
||||
newconfd "${FILESDIR}"/${srv}.confd ${srv}
|
||||
newinitd "${FILESDIR}"/${srv}.initd-r1 ${srv}
|
||||
|
||||
newins "${FILESDIR}"/${srv}.logrotate ${srv}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
if ver_replacing -lt 2.0 ; then
|
||||
elog "Major changes in 2.0:"
|
||||
elog "https://github.com/syncthing/syncthing/blob/v${PV}/relnotes/v2.0.md"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user