From a8b01fd62375e0df65d5f8f20c5ee142ec6739b6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 5 Nov 2022 03:17:06 +0000 Subject: gentoo auto-resync : 05:11:2022 - 03:17:06 --- net-p2p/syncthing/Manifest | 6 +- net-p2p/syncthing/syncthing-1.22.0.ebuild | 111 ------------------------------ net-p2p/syncthing/syncthing-1.22.1.ebuild | 111 ++++++++++++++++++++++++++++++ 3 files changed, 114 insertions(+), 114 deletions(-) delete mode 100644 net-p2p/syncthing/syncthing-1.22.0.ebuild create mode 100644 net-p2p/syncthing/syncthing-1.22.1.ebuild (limited to 'net-p2p/syncthing') diff --git a/net-p2p/syncthing/Manifest b/net-p2p/syncthing/Manifest index 9b301ce78012..1990ec9cb8e9 100644 --- a/net-p2p/syncthing/Manifest +++ b/net-p2p/syncthing/Manifest @@ -11,8 +11,8 @@ AUX syncthing.initd-r2 1288 BLAKE2B a1c74a4de5bfe61fe4e57f7be358a4ba2df28a92fd48 AUX syncthing.logrotate 101 BLAKE2B af499a6979e5c61cc4791932e247fe7f25baffbbf690907a2e2b8c2954da72154a885759589249c541f36b2740980f3fcd3e99db0d3f6d5a1bacee8c1574f9bc SHA512 73a5f7062b48ab4c7b343b43367b1999f8e133eadb624bd5e3e147ae41f135ded6acb4c617db2d385311441c9a52c288333791308c36762cb5273a853cce5a67 DIST syncthing-1.21.0-deps.tar.xz 96707392 BLAKE2B 3cbf6d98758a453f16717ec974cb1fdb3ce2e5b2634fcc49a2385f047cf477fad6def173965d3b1b37554d58f95fa73d370a2d1c0a2e58f4b2a8fa580774a2ff SHA512 0d0d4bdfbed7d821364f87f53dee5557f015117b1cf96da9f9e2a9487c7b19a2126b6be8c604370ed4a83ab15612b4386cd1572bf48a673abf5b66c6fde92064 DIST syncthing-1.21.0.tar.gz 6319691 BLAKE2B 390a06ff41ed1b023941d958d8112f9c503c296cc47a5bb6d6baa55d81f6cbd431c725cc6493b041a96734e56c9a267c6a3b4c564b67ab320cd7f9d46e173320 SHA512 ad613da2c3aaa4792703e69dde0ab3ace3a92f20b968a2d7c02d6ec3b6ce2d53a6c3d6b64c41c58ca8296bf722e689cd8ca34c05fd0dd32d8005d31b5f860d58 -DIST syncthing-1.22.0-deps.tar.xz 97369828 BLAKE2B ad8fbaf51f6d07f1f034e52c457c4a6da432faee43cb66fe23c77a49d01e333403616aadd7643bcbbcef6403e3574a0a30dbf0e6bffb196ae30ba1bc70602577 SHA512 da054614abed605b54bbdb189d9c352a887c817c72f123fc6dde66923fc7d0bed551055c17eae4b88f1f347c3f85362b436267bb2ac9adb8297c3257777d9b38 -DIST syncthing-1.22.0.tar.gz 6345841 BLAKE2B 96c17290c971224d90be661cb80f95fceddee61dd9c90437d051ac48954802fd66ae0178f784238e99f0c63cdaf5c12768bcd679bb91a4728fa86536a24f90a7 SHA512 151119ad526e4c9cddb6889449c43fcc7f91dd3c4bd44cb5e4f40839c55202d8fcd8dff9212e4f0fdf0176c97dfe904d3cf68fdd7c609942344a13f534652c0d +DIST syncthing-1.22.1-deps.tar.xz 96691264 BLAKE2B 6e53008ea0fc1fd719db4be4f9430fd805f59babb86d47f933f470bfa27757c50bea907ac9fd5290ef9180375e1bc747cd4b3c426406944f2b1eab16a24b58df SHA512 974c880bbac0712254387d9c24a7c72b6d6683005bafc649b7994dd676a906cb9eff5efeb70704e7c5b053e368a026db38efd8f5f78415d299e49b7f8dcd772c +DIST syncthing-1.22.1.tar.gz 6332134 BLAKE2B d05af17fdff2c3b4bee63aea550d38dac71637f862daaf350ff1fa50d9815039a49e1ba1c18a9062e7fe962006ca62c3335739923a6e0efc3867c19339b2841e SHA512 6f1f83f489bc6e155fef4ed6e876d2afe63f1b6233c324a0fe77702118df11c4b8d3c61e11dbff79ead8f0d12a4abe3af9fa7659dd72ba2c83fee2f524d7a780 EBUILD syncthing-1.21.0.ebuild 2897 BLAKE2B 748f73dfa7ba3452218faaea3fde4a2b2c61e4f87f0a780a50c02a45bd339113554debcda41caee9f08e095e8f201972e6db9abb26d7cdaed3929a011457fd05 SHA512 85b360bec619a80cac79fcd7e8bac4b2d85597137ee3dbbc0a0ab5d8b3b718ae668851c325a9889d331d028bed6e0d7da862c32e9d673ccf605f326c18881a4c -EBUILD syncthing-1.22.0.ebuild 2902 BLAKE2B 0a1e2f08da90723d279aa2efc4baf14d876b1997da4ca214e0eeb4b9fa1dcb831bfda756fc4f7105534b2123a1e7f555d668cc82495a3a285cd52ce00e75201e SHA512 c4d5258e7972ec814d0c2a556e0f50a350e940a1969403e8b2be0f56abf2e11951001d25aaf06da42fdac6dc79176bde5340e275cbb529ebd8118ac44d03b893 +EBUILD syncthing-1.22.1.ebuild 2902 BLAKE2B 0a1e2f08da90723d279aa2efc4baf14d876b1997da4ca214e0eeb4b9fa1dcb831bfda756fc4f7105534b2123a1e7f555d668cc82495a3a285cd52ce00e75201e SHA512 c4d5258e7972ec814d0c2a556e0f50a350e940a1969403e8b2be0f56abf2e11951001d25aaf06da42fdac6dc79176bde5340e275cbb529ebd8118ac44d03b893 MISC metadata.xml 870 BLAKE2B 9d6abd4129ab6ab9ece49e3cb74b6537cf185c5e7e0d7cf893543ea6e75be83e534a8d3f4d042aeb778f9284c9ed7a6f2d60461593ae46f65901a42a3582acc2 SHA512 ef4f1fb81733a7c53f4deb239de1d01d4d2710cf92cb4abfb49659f64bfe5a080c3ab50ec9ec9bda531d0ca87f2f5b9ac80fe1beba1eaaccd1971b1759b3e93a diff --git a/net-p2p/syncthing/syncthing-1.22.0.ebuild b/net-p2p/syncthing/syncthing-1.22.0.ebuild deleted file mode 100644 index 4f3b90d5f252..000000000000 --- a/net-p2p/syncthing/syncthing-1.22.0.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2022 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}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~marecki/dists/${CATEGORY}/${PN}/${P}-deps.tar.xz" - -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0 Unlicense" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~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 )" - -DOCS=( README.md AUTHORS CONTRIBUTING.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch - "${FILESDIR}"/${PN}-1.18.4-tool_users.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 - - # We do not need this and it sometimes causes build failures - rm -rf cmd/stupgrades -} - -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} - - 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 -} - -pkg_postrm() { - xdg_desktop_database_update -} diff --git a/net-p2p/syncthing/syncthing-1.22.1.ebuild b/net-p2p/syncthing/syncthing-1.22.1.ebuild new file mode 100644 index 000000000000..4f3b90d5f252 --- /dev/null +++ b/net-p2p/syncthing/syncthing-1.22.1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2022 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}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~marecki/dists/${CATEGORY}/${PN}/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0 Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~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 )" + +DOCS=( README.md AUTHORS CONTRIBUTING.md ) + +PATCHES=( + "${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch + "${FILESDIR}"/${PN}-1.18.4-tool_users.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 + + # We do not need this and it sometimes causes build failures + rm -rf cmd/stupgrades +} + +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} + + 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 +} + +pkg_postrm() { + xdg_desktop_database_update +} -- cgit v1.2.3