gitea: update to 1.16.3
This commit is contained in:
parent
9fe092c910
commit
f2ecc26b75
@ -1,9 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# We cd here, because builtin SSH won't run without.
|
# USER and HOME are needed because gitea doesn't actually check the user it
|
||||||
cd /var/lib/gitea || exit 1
|
# runs as, but instead just grabs the variables from the variables.
|
||||||
|
export USER=_gitea
|
||||||
|
export HOME=/var/lib/gitea
|
||||||
|
|
||||||
# The USER variable is needed here because gitea doesn't actually
|
# gitea needs to run from its home for SSH to work properly
|
||||||
# check what user its running as, it instead grabs the USER variable
|
export GITEA_WORK_DIR="${HOME}"
|
||||||
# from the environment. HOME is set for the same reasons.
|
|
||||||
USER=_gitea HOME=/var/lib/gitea GITEA_WORK_DIR=$HOME exec chpst -u _gitea:_gitea gitea web --config /etc/gitea.conf
|
exec chpst -u _gitea:_gitea gitea web --config /etc/gitea.conf
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Template file for 'gitea'
|
# Template file for 'gitea'
|
||||||
pkgname=gitea
|
pkgname=gitea
|
||||||
version=1.16.1
|
version=1.16.3
|
||||||
revision=1
|
revision=1
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
build_style=go
|
build_style=go
|
||||||
@ -32,7 +32,7 @@ license="MIT"
|
|||||||
homepage="https://gitea.io"
|
homepage="https://gitea.io"
|
||||||
changelog="https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md"
|
changelog="https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md"
|
||||||
distfiles="https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"
|
distfiles="https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"
|
||||||
checksum=09a27a06bf12cbef06ba823c516c6c9f7a06129e91dd7e64be5f6f0ca641d5b7
|
checksum=913f3b095fcfd4c5012d17adcd8748b081950e3a7d17ace60f6a2f99c9b2e18b
|
||||||
|
|
||||||
system_accounts="_gitea"
|
system_accounts="_gitea"
|
||||||
_gitea_homedir="/var/lib/gitea"
|
_gitea_homedir="/var/lib/gitea"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user