Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion srcpkgs/gitea/files/gitea/run
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion srcpkgs/gitea/patches/config.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/gitea/template
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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"
Expand Down
Loading