From 706fd100a2531c757f51e2f3a50549b424e05892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Fri, 14 Mar 2025 12:23:01 +0300 Subject: [PATCH] syncthing 1.29.3 --- syncthing-relaysrv/alr.sh | 40 ++++++++++++++++++++++++++++----------- syncthing/alr.sh | 26 ++++++++++++++++++------- 2 files changed, 48 insertions(+), 18 deletions(-) diff --git a/syncthing-relaysrv/alr.sh b/syncthing-relaysrv/alr.sh index 7ee93e2..f35000b 100644 --- a/syncthing-relaysrv/alr.sh +++ b/syncthing-relaysrv/alr.sh @@ -1,33 +1,51 @@ name='syncthing-relaysrv' -version='1.29.2' +version='1.29.3' release='1' desc='This is the relay server for the syncthing project.' +desc_ru='Релейный сервер для проекта Syncthing.' homepage='https://syncthing.net/' maintainer="Евгений Храмов " architectures=('amd64') license=('MPL-2.0') provides=('syncthing-relaysrv') conflicts=('syncthing-relaysrv') + deps=('glibc') deps_debian=('libc6') build_deps=('git' 'go') -sources=("https://github.com/syncthing/relaysrv/releases/download/v${version}/strelaysrv-linux-amd64-v${version}.tar.gz" - "https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.service" - "https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.tmpfiles" - "https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.sysusers") -checksums=('SKIP' +sources=( + "https://github.com/syncthing/relaysrv/releases/download/v${version}/strelaysrv-linux-amd64-v${version}.tar.gz" + "https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.service" + "https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.tmpfiles" + "https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.sysusers" +) + +checksums=( + 'SKIP' 'SKIP' 'SKIP' - 'SKIP') + 'SKIP' +) prepare() { cd "${srcdir}" } package() { - install -Dm755 "./strelaysrv-linux-amd64-v${version}/strelaysrv" "${pkgdir}/usr/bin/syncthing-relaysrv" - install -Dm644 "${srcdir}/syncthing-relaysrv.service" "${pkgdir}/usr/lib/systemd/system/syncthing-relaysrv.service" - install -Dm644 "${srcdir}/syncthing-relaysrv.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/syncthing-relaysrv.conf" - install -Dm644 "${srcdir}/syncthing-relaysrv.sysusers" "${pkgdir}/usr/lib/sysusers.d/syncthing-relaysrv.conf" + install-binary ./strelaysrv-linux-amd64-v${version}/strelaysrv syncthing-relaysrv + install-systemd ./syncthing-relaysrv.service + install-license ./strelaysrv-linux-amd64-v${version}/LICENSE.txt ./syncthing-relaysrv/LICENSE + install -Dm644 ./syncthing-relaysrv.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/syncthing-relaysrv.conf + install -Dm644 ./syncthing-relaysrv.sysusers ${pkgdir}/usr/lib/sysusers.d/syncthing-relaysrv.conf + install -Dm644 ./strelaysrv-linux-amd64-v${version}/README.txt ${pkgdir}/usr/share/doc/syncthing-relaysrv/README.md } + +files() { + echo ./usr/bin/syncthing-relaysrv + echo ./usr/lib/systemd/system/syncthing-relaysrv.service + echo ./usr/share/licenses/syncthing-relaysrv/LICENSE + echo ./usr/lib/tmpfiles.d/syncthing-relaysrv.conf + echo ./usr/lib/sysusers.d/syncthing-relaysrv.conf + files-find-doc syncthing-relaysrv +} \ No newline at end of file diff --git a/syncthing/alr.sh b/syncthing/alr.sh index 700ecb1..d893cf7 100644 --- a/syncthing/alr.sh +++ b/syncthing/alr.sh @@ -1,7 +1,8 @@ name='syncthing' -version='1.29.2' +version='1.29.3' release='1' desc='Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers.' +desc_ru='Syncthing — это программа для непрерывной синхронизации файлов. Она синхронизирует файлы между двумя или более компьютерами.' homepage='https://syncthing.net/' maintainer="Евгений Храмов " architectures=('amd64') @@ -20,10 +21,21 @@ prepare() { } package() { - install -Dm755 ./${provides}-linux-amd64-v${version}/syncthing "${pkgdir}/usr/bin/syncthing" - #install -Dm644 man/strelaysrv.1 "${pkgdir}/usr/share/man/man1/${provides}.1" - install -Dm644 ./${provides}-linux-amd64-v${version}/README.txt "${pkgdir}/usr/share/doc/syncthing/README.md" - install -Dm644 "./${provides}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing-resume.service" "${pkgdir}/usr/lib/systemd/system/syncthing-resume.service" - install -Dm644 "./${provides}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing@.service" "${pkgdir}/usr/lib/systemd/system/syncthing@.service" - install -Dm644 "./${provides}-linux-amd64-v${version}/etc/linux-systemd/user/syncthing.service" "${pkgdir}/usr/lib/systemd/user/syncthing.service" + install-binary ./${name}-linux-amd64-v${version}/syncthing + install -Dm644 ./${name}-linux-amd64-v${version}/README.txt ${pkgdir}/usr/share/doc/syncthing/README.md + install-systemd ./${name}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing@.service + install-systemd-user ./${name}-linux-amd64-v${version}/etc/linux-systemd/user/syncthing.service + install-desktop ./${name}-linux-amd64-v${version}/etc/linux-desktop/syncthing-start.desktop + install-desktop ./${name}-linux-amd64-v${version}/etc/linux-desktop/syncthing-ui.desktop + install-license ./${name}-linux-amd64-v${version}/LICENSE.txt syncthing/LICENSE } + +files() { + echo ./usr/bin/syncthing + files-find-doc syncthing + echo ./usr/lib/systemd/system/syncthing@.service + echo ./usr/lib/systemd/user/syncthing.service + echo ./usr/share/applications/syncthing-start.desktop + echo ./usr/share/applications/syncthing-ui.desktop + echo ./usr/share/licenses/syncthing/LICENSE +} \ No newline at end of file