diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-11-03 06:47:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-11-03 06:47:15 +0000 |
commit | fc2f1018fc323ef2c6572734a9b130427cba76a6 (patch) | |
tree | f834bdc9a67923ce75297c09d00d1e7b90791d26 /www-apps/gitea/gitea-9999.ebuild | |
parent | 162945d2a91899b637bbb9e163b406350de12906 (diff) |
gentoo resync : 03.11.2021
Diffstat (limited to 'www-apps/gitea/gitea-9999.ebuild')
-rw-r--r-- | www-apps/gitea/gitea-9999.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/www-apps/gitea/gitea-9999.ebuild b/www-apps/gitea/gitea-9999.ebuild index 2aa2b3da3b08..a5eec77f6034 100644 --- a/www-apps/gitea/gitea-9999.ebuild +++ b/www-apps/gitea/gitea-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 2016-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -22,7 +22,6 @@ LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" SLOT="0" IUSE="+acct pam sqlite" -BDEPEND=">=net-libs/nodejs-10[npm]" COMMON_DEPEND=" acct? ( acct-group/git @@ -36,7 +35,7 @@ DOCS=( custom/conf/app.example.ini CONTRIBUTING.md README.md ) FILECAPS=( - -m 0755 cap_net_bind_service+ep usr/bin/gitea + -m 711 cap_net_bind_service+ep usr/bin/gitea ) RESTRICT="test" @@ -86,9 +85,7 @@ src_compile() { ) [[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${MY_PV}") - # -j1 as Makefile doesn't handle dependancy correctly, and is not - # useful as golang compiler don't use this info. - env "${makeenv[@]}" emake -j1 build + env "${makeenv[@]}" emake backend } src_install() { @@ -118,4 +115,9 @@ src_install() { pkg_postinst() { fcaps_pkg_postinst tmpfiles_process gitea.conf + + ewarn "The default JWT signing algorithm changed in 1.15.0 from HS256 (symmetric) to" + ewarn "RS256 (asymmetric). Gitea OAuth2 tokens (and potentially client secrets) will" + ewarn "need to be regenerated unless you change your JWT_SIGNING_ALGORITHM back to HS256." + ewarn "For other breaking changes, see <https://github.com/go-gitea/gitea/releases/tag/v1.15.0>." } |