[arch-commits] Commit in gitea/trunk (PKGBUILD gitea-ldflags.patch gitea.service)
Bruno Pagani
archange at archlinux.org
Sat Nov 24 19:57:25 UTC 2018
Date: Saturday, November 24, 2018 @ 19:57:25
Author: archange
Revision: 409646
upgpkg: gitea 1.6.0-1
Switch to using git tag (as object in case upstream retags) to allow verifying signature.
Use built-in systemd unit feature for StateDirectory.
Modified:
gitea/trunk/PKGBUILD
gitea/trunk/gitea-ldflags.patch
gitea/trunk/gitea.service
---------------------+
PKGBUILD | 13 +++++++------
gitea-ldflags.patch | 2 +-
gitea.service | 3 ++-
3 files changed, 10 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-24 19:56:56 UTC (rev 409645)
+++ PKGBUILD 2018-11-24 19:57:25 UTC (rev 409646)
@@ -3,8 +3,8 @@
# Contributor: Frederik Schwan <frederik dot schwan at linux dot com>
pkgname=gitea
-pkgver=1.5.3
-pkgrel=3
+pkgver=1.6.0
+pkgrel=1
pkgdesc="Painless self-hosted Git service. Community managed fork of Gogs."
arch=('x86_64')
url="https://gitea.io"
@@ -21,8 +21,8 @@
'sqlite: SQLite support'
)
backup=('etc/gitea/app.ini')
-_commit=8733384e20b31f887cb8d8d4196cab939d49ab4b # tags/1.5.3^0
-source=("git+https://github.com/go-gitea/gitea.git#commit=${_commit}"
+_tag=a60c3a5aa6489523209a388454add00b84178def # tags/1.6.0^0
+source=("git+https://github.com/go-gitea/gitea.git#tag=${_tag}?signed"
gitea.tmpfiles
gitea.service
gitea-repos.patch
@@ -30,10 +30,11 @@
gitea-disable-u2f.patch)
sha256sums=('SKIP'
'f6829347594d424d63bcc211f85effaea90b677960593fe3ca978b3b5a3d12a7'
- '98339795107f1979c6aff6a8a5255d4d368cbabd4e8760867b789646d749b3ae'
+ '13da15e0e7d9821420e51ea36abdf8a0fe5cbdbf1e702a164d3a93ea7369611e'
'66c5a84fbbe56dd8b3bca3a779aaaf5d4855573f0dd2b273018a8983d7951a72'
- 'f062d395b3122edcbcb51f6bac59da70ef57bfcf4693c17bde14ee35b1ef5e92'
+ '9357afc653c70f524a4e3c42cc99c1e6bb4ff40a7460391fa283b6fcf3202e7b'
'd6842efd13b6971b77d233ff3ac2bd3d81c5d26c348ae1f2a2b19b0e7237726e')
+validpgpkeys=('8C4033A23895237CB27D52D9D9B5613BEB813F99') # Matti Ranta <matti at mdranta.net>, retrieved from https://github.com/techknowlogick.gpg
prepare() {
mkdir -p gopath/src/code.gitea.io
Modified: gitea-ldflags.patch
===================================================================
--- gitea-ldflags.patch 2018-11-24 19:56:56 UTC (rev 409645)
+++ gitea-ldflags.patch 2018-11-24 19:57:25 UTC (rev 409646)
@@ -8,7 +8,7 @@
LDFLAGS := -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)"
PACKAGES ?= $(filter-out code.gitea.io/gitea/integrations,$(shell $(GO) list ./... | grep -v /vendor/))
-@@ -240,7 +241,7 @@ install: $(wildcard *.go)
+@@ -250,7 +251,7 @@ install: $(wildcard *.go)
build: $(EXECUTABLE)
$(EXECUTABLE): $(SOURCES)
Modified: gitea.service
===================================================================
--- gitea.service 2018-11-24 19:56:56 UTC (rev 409645)
+++ gitea.service 2018-11-24 19:57:25 UTC (rev 409646)
@@ -14,6 +14,7 @@
WorkingDirectory=/var/lib/gitea
RuntimeDirectory=gitea
LogsDirectory=gitea
+StateDirectory=gitea
Environment=USER=git HOME=/var/lib/gitea GITEA_WORK_DIR=/var/lib/gitea
ExecStart=/usr/bin/gitea web -c /etc/gitea/app.ini
Restart=always
@@ -28,7 +29,7 @@
ProtectControlGroups=yes
ProtectKernelTunables=true
ProtectKernelModules=yes
-ReadWritePaths=/etc/gitea/app.ini /var/lib/gitea
+ReadWritePaths=/etc/gitea/app.ini
LockPersonality=true
MemoryDenyWriteExecute=true
RestrictRealtime=true
More information about the arch-commits
mailing list