Compare commits

...

13 commits

Author SHA1 Message Date
Your Name
e058a58fdb 1.29.5
All checks were successful
Run CI/CD... / main (push) Successful in 3m58s
2025-04-12 20:02:53 +00:00
Your Name
7333f3ae04 1.29.4
All checks were successful
Run CI/CD... / main (push) Successful in 3m50s
2025-04-01 09:05:54 +00:00
Your Name
eb44488603 1.29.3
All checks were successful
Run CI/CD... / main (push) Successful in 9m4s
2025-03-14 21:47:03 +00:00
Your Name
fbf2c21c9a Add .gitignore and .gitea/workflows/ci.yml
Some checks failed
Run CI/CD... / main (push) Has been cancelled
2025-01-31 18:42:40 +00:00
dc5b1232eb 1.29.2 2025-01-12 23:10:08 +00:00
309a40be21 1.29.1 2025-01-11 22:55:17 +00:00
bd6287e73f 1.29.1 2025-01-11 22:38:08 +00:00
c6cc5188f2 1.29.0 2025-01-08 21:07:05 +00:00
4a5be75de2 Добавление .gitignore и .gitea/workflows/ci.yml 2025-01-08 00:21:23 +03:00
574a83c0fa 1.28.1 2024-12-03 12:33:42 +00:00
481af770fc 1.27.10 2024-08-07 14:54:55 +00:00
705468c21a 1.27.9 2024-07-02 22:24:33 +00:00
bbc0deca1a 1.27.7 2024-05-14 09:57:07 +00:00
4 changed files with 47 additions and 5 deletions

View file

@ -1,3 +1,3 @@
sources:
syncthing-1.27.6.tar.gz: ae6f0eeb5c31f5d72de25aec5217e8979285370f
syncthing-1.29.5.tar.gz: 0cc3979f85891f592ea6e60f7fdcaa73550ffc3b
syncthing-source-v1.3.0.tar.gz: 3034b64191fc6fca6ad407551ca5ce6c1a50d579

17
.gitea/workflows/ci.yml Normal file
View file

@ -0,0 +1,17 @@
version: '1'
name: Run CI/CD...
on: [push]
jobs:
main:
runs-on: r11_builder
steps:
- name: Jobs
uses: ${{ github.server_url }}/Djam/r11_workflows@main
with:
CI_DEPLOY: ${{ secrets.CI_DEPLOY }}
PUBLICATOR: ${{ secrets.PUBLICATOR }}
REPO_DEPLOY: ${{ secrets.REPO_DEPLOY }}

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
.*~
*~
.env

View file

@ -9,9 +9,11 @@
%ifarch %{arm}
%global altarch armv7
%endif
%define secscan 0
Name: syncthing
Version: 1.27.6
Version: 1.29.5
Release: 1
Summary: Syncthing
License: MIT
@ -22,9 +24,15 @@ Group: Networking/Other
BuildRequires: systemd
BuildRequires: procps
BuildRequires: go >= 1.10
BuildRequires: git
BuildRequires: git-core
BuildRequires: pkgconfig(openssl3.3)
BuildRequires: upx
%if %{secscan}
BuildRequires: clamav
BuildRequires: trivy
%endif
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
@ -40,12 +48,17 @@ Using syncthing, that control is returned to you.
%prep
%setup -q
%if %{secscan}
clamscan -ir .
trivy fs --scanners vuln --format cosign-vuln .
%endif
%build
export GOPROXY=direct
export GOPROXY=https://proxy.golang.org,direct
go run build.go -version v%{version}
#./build.sh -version v%{version}
upx bin/%{name}
# upx bin/%{name}
%install
rm -rf %{buildroot}
@ -75,4 +88,13 @@ install -Dm0644 man/* %{buildroot}%{_mandir}/man1/%{name}
%{_unitdir}/%{name}@.service
%{_mandir}/man1/%{name}
%check
export GOPROXY=https://proxy.golang.org/cached-only
#go test ./...
%if %{secscan}
clamscan -ir %{buildroot}
%endif
%changelog