community/gitea to 1.18.1-1

This commit is contained in:
David Beauchamp 2023-01-20 13:01:29 -05:00
parent a4774db60d
commit 97ee11de69
2 changed files with 4 additions and 13 deletions

View file

@ -9,7 +9,7 @@
# - don't check repo signature until author puts his keys on keyservers # - don't check repo signature until author puts his keys on keyservers
pkgname=gitea pkgname=gitea
pkgver=1.18.0 pkgver=1.18.1
pkgrel=1 pkgrel=1
pkgdesc="Painless self-hosted Git service, community managed." pkgdesc="Painless self-hosted Git service, community managed."
arch=(x86_64) arch=(x86_64)
@ -28,7 +28,7 @@ optdepends=(
) )
checkdepends=(openssh) checkdepends=(openssh)
options=(!lto) options=(!lto)
_tag=ea72465d5992f0ea7448a2268375f02c2fdf09ac # git rev-parse v${pkgver} _tag=cb630e628eb239b1e562a3091e6ad47e377ea35d # git rev-parse v${pkgver}
source=(git+https://github.com/go-gitea/gitea.git#tag=${_tag} source=(git+https://github.com/go-gitea/gitea.git#tag=${_tag}
gitea.tmpfiles gitea.tmpfiles
gitea.service gitea.service
@ -45,7 +45,6 @@ validpgpkeys=(
D2CF76DA95F201E9901532AB3CDE74631F13A748 # Andrew Thornton <art27@cantab.net>, retrieved from https://github.com/zeripath.gpg D2CF76DA95F201E9901532AB3CDE74631F13A748 # Andrew Thornton <art27@cantab.net>, retrieved from https://github.com/zeripath.gpg
82A110A44DF1A28D50C093BFB853ADA5DA7BBF7A # jolheiser <john@jolheiser.com>, retrieved from https://github.com/jolheiser.gpg 82A110A44DF1A28D50C093BFB853ADA5DA7BBF7A # jolheiser <john@jolheiser.com>, retrieved from https://github.com/jolheiser.gpg
) )
install=gitea.install
pkgver() { pkgver() {
cd ${pkgname} cd ${pkgname}
@ -66,8 +65,8 @@ build() {
export CGO_CFLAGS="${CFLAGS}" export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}" export CGO_LDFLAGS="${LDFLAGS}"
export EXTRA_GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" export EXTRA_GOFLAGS="-buildmode=pie -mod=readonly -modcacherw"
export LDFLAGS="-X 'code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea/' -X 'code.gitea.io/gitea/modules/setting.CustomConf=/etc/gitea/app.ini'" export LDFLAGS="-linkmode=external -compressdwarf=false -X 'code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea/' -X 'code.gitea.io/gitea/modules/setting.CustomConf=/etc/gitea/app.ini'"
export TAGS="bindata sqlite sqlite_unlock_notify pam" export TAGS="bindata sqlite sqlite_unlock_notify pam"
make -j1 make -j1
} }

View file

@ -1,8 +0,0 @@
post_upgrade() {
if [ "$(vercmp "$2" "1.15.0")" -le 0 ]; then
echo "The app.ini configuration file is not prefilled anymore. The current"
echo "one has been saved to .pacsave, you need to at least rename it before"
echo "restarting gitea. The app.example.ini file is provided for a reference"
echo "of settings."
fi
}