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:
parent
f970f7dbd8
commit
a3c252f480
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue