1 |
commit: 5681f9cec90421b843e08f51cd8ffa127a36c669 |
2 |
Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Oct 26 07:10:13 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 31 02:52:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5681f9ce |
7 |
|
8 |
www-apps/gitea: sync live ebuild |
9 |
|
10 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/22705 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
www-apps/gitea/gitea-9999.ebuild | 14 ++++++++------ |
15 |
1 file changed, 8 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/www-apps/gitea/gitea-9999.ebuild b/www-apps/gitea/gitea-9999.ebuild |
18 |
index 2aa2b3da3b0..a5eec77f603 100644 |
19 |
--- a/www-apps/gitea/gitea-9999.ebuild |
20 |
+++ b/www-apps/gitea/gitea-9999.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
+# Copyright 2016-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
@@ -22,7 +22,6 @@ LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" |
28 |
SLOT="0" |
29 |
IUSE="+acct pam sqlite" |
30 |
|
31 |
-BDEPEND=">=net-libs/nodejs-10[npm]" |
32 |
COMMON_DEPEND=" |
33 |
acct? ( |
34 |
acct-group/git |
35 |
@@ -36,7 +35,7 @@ DOCS=( |
36 |
custom/conf/app.example.ini CONTRIBUTING.md README.md |
37 |
) |
38 |
FILECAPS=( |
39 |
- -m 0755 cap_net_bind_service+ep usr/bin/gitea |
40 |
+ -m 711 cap_net_bind_service+ep usr/bin/gitea |
41 |
) |
42 |
|
43 |
RESTRICT="test" |
44 |
@@ -86,9 +85,7 @@ src_compile() { |
45 |
) |
46 |
[[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${MY_PV}") |
47 |
|
48 |
- # -j1 as Makefile doesn't handle dependancy correctly, and is not |
49 |
- # useful as golang compiler don't use this info. |
50 |
- env "${makeenv[@]}" emake -j1 build |
51 |
+ env "${makeenv[@]}" emake backend |
52 |
} |
53 |
|
54 |
src_install() { |
55 |
@@ -118,4 +115,9 @@ src_install() { |
56 |
pkg_postinst() { |
57 |
fcaps_pkg_postinst |
58 |
tmpfiles_process gitea.conf |
59 |
+ |
60 |
+ ewarn "The default JWT signing algorithm changed in 1.15.0 from HS256 (symmetric) to" |
61 |
+ ewarn "RS256 (asymmetric). Gitea OAuth2 tokens (and potentially client secrets) will" |
62 |
+ ewarn "need to be regenerated unless you change your JWT_SIGNING_ALGORITHM back to HS256." |
63 |
+ ewarn "For other breaking changes, see <https://github.com/go-gitea/gitea/releases/tag/v1.15.0>." |
64 |
} |