From a3c252f4803253f094bb32d3f0721f4092242915 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sat, 2 Feb 2019 09:27:10 +0100 Subject: [PATCH] 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 --- srcpkgs/gitea/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/gitea/template b/srcpkgs/gitea/template index 9d73d94dce1..0fb0d53e308 100644 --- a/srcpkgs/gitea/template +++ b/srcpkgs/gitea/template @@ -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 }