diff --git a/srcpkgs/gitea/files/gitea/run b/srcpkgs/gitea/files/gitea/run index d16e22ba9d6efa..414da140c34797 100644 --- a/srcpkgs/gitea/files/gitea/run +++ b/srcpkgs/gitea/files/gitea/run @@ -10,4 +10,4 @@ export HOME=/var/lib/gitea export GITEA_WORK_DIR="${HOME}" cd "${HOME}" -exec chpst -u _gitea:_gitea gitea web --config /etc/gitea.conf 2>&1 +exec chpst -u _gitea:_gitea gitea.dev web --config /etc/gitea.conf 2>&1 diff --git a/srcpkgs/gitea/patches/config.patch b/srcpkgs/gitea/patches/config.patch index 1881be2164afc3..a37e343711e434 100644 --- a/srcpkgs/gitea/patches/config.patch +++ b/srcpkgs/gitea/patches/config.patch @@ -61,7 +61,7 @@ index ef276e4..5795308 100644 -;PATH= ; defaults to data/gitea.db +DB_TYPE = sqlite3 +PATH = /var/lib/gitea/data/gitea.db - ;SQLITE_TIMEOUT = ; Query timeout defaults to: 500 + ;SQLITE_TIMEOUT = ; Query timeout in milliseconds, defaults to: 20000 ;SQLITE_JOURNAL_MODE = ; defaults to sqlite database default (often DELETE), can be used to enable WAL mode. https://www.sqlite.org/pragma.html#pragma_journal_mode ;; @@ -599,7 +599,7 @@ ENABLED = true diff --git a/srcpkgs/gitea/template b/srcpkgs/gitea/template index a0002739a7eea7..a00784085f36d7 100644 --- a/srcpkgs/gitea/template +++ b/srcpkgs/gitea/template @@ -1,9 +1,9 @@ # Template file for 'gitea' pkgname=gitea -version=1.26.2 +version=1.27.0 revision=1 build_style=go -go_import_path=code.gitea.io/gitea +go_import_path=gitea.dev go_ldflags=" -X main.Version=${version}" # This could be done with build options, but these are built in with the # following justification. @@ -29,7 +29,7 @@ license="MIT" homepage="https://gitea.io" changelog="https://raw.githubusercontent.com/go-gitea/gitea/main/CHANGELOG.md" distfiles="https://dl.gitea.io/gitea/${version}/gitea-src-${version}.tar.gz" -checksum=ce1462ad93dcbf3221a452457008b8159cbab3d0c93958179b88649df1e401cf +checksum=012df875bfa7764ade92301ac5e4225fc2c2aab7b3b40b4d6e7149a926253496 system_accounts="_gitea" _gitea_homedir="/var/lib/gitea"