gitea: update to 1.16.1

Closes: #35466
This commit is contained in:
zenobit 2022-02-06 17:04:28 +01:00 committed by Michal Vasilek
parent b065b3bf3a
commit 7e85855933
2 changed files with 4 additions and 8 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
# We cd here, because builtin SSH won't run without.
cd /var/lib/gitea
cd /var/lib/gitea || exit 1
# The USER variable is needed here because gitea doesn't actually
# check what user its running as, it instead grabs the USER variable

View file

@ -1,6 +1,6 @@
# Template file for 'gitea'
pkgname=gitea
version=1.15.8
version=1.16.1
revision=1
create_wrksrc=yes
build_style=go
@ -23,7 +23,7 @@ go_ldflags=" -X main.Version=${version}"
# rather not use SQLite3 for some reason. It is also potentially
# more resiliant to corrupted writes.
go_build_tags="bindata sqlite pam tidb"
hostmakedepends="go-bindata git"
hostmakedepends="go-bindata"
makedepends="sqlite-devel pam-devel"
depends="git bash"
short_desc="Git with a cup of Tea"
@ -32,7 +32,7 @@ license="MIT"
homepage="https://gitea.io"
changelog="https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md"
distfiles="https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"
checksum=a05745e5c1b5e9b51caa3d96fd93689176689865a0c249aa477d411e5c082045
checksum=09a27a06bf12cbef06ba823c516c6c9f7a06129e91dd7e64be5f6f0ca641d5b7
system_accounts="_gitea"
_gitea_homedir="/var/lib/gitea"
@ -41,10 +41,6 @@ make_dirs="/var/lib/gitea 0755 _gitea _gitea
/var/log/gitea 0755 _gitea root"
conf_files="/etc/gitea.conf"
pre_build() {
go mod vendor
}
post_install() {
vlicense LICENSE
vsv gitea