gitea: update to 1.7.1.

remove U2F section from config file due to a bug in the config
parser[1].

[1] https://github.com/go-gitea/gitea/issues/4692
This commit is contained in:
Enno Boland 2019-02-02 09:27:10 +01:00
parent f970f7dbd8
commit a3c252f480
No known key found for this signature in database
GPG key ID: D09964719BDE9971

View file

@ -1,7 +1,7 @@
# Template file for 'gitea'
pkgname=gitea
version=1.7.0
revision=2
version=1.7.1
revision=1
build_style=go
go_import_path=code.gitea.io/gitea
# This could be done with build options, but these are built in with the
@ -30,7 +30,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/archive/v${version}.tar.gz"
checksum=2fdd4d51b22f40c03e6a55c065dafbcfad16ca14adf4f093ceed89e59480f679
checksum=7a28bac36cf06e1a90c2df692256a79d29cc6e652aa89f4c77833b9a8481a541
go_ldflags=" -X main.Version=$version"
system_accounts="_gitea"
@ -66,5 +66,6 @@ pre_install() {
post_install() {
vlicense LICENSE
vsv gitea
sed -e '/^\[U2F\]$/,/^$/d' -i custom/conf/app.ini.sample
vinstall custom/conf/app.ini.sample 0640 /etc gitea.conf
}