commit: 5c23645a1cff7dfd2865639e3a0575542d31ddca
Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re>
AuthorDate: Tue Dec 8 08:59:31 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 15 03:53:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c23645a
www-apps/gitea: keep gitea-9999 sync with gitea-1.x.y
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Pierre-Olivier Mercier <nemunaire <AT> nemunai.re>
Signed-off-by: Sam James <sam <AT> gentoo.org>
www-apps/gitea/gitea-9999.ebuild | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/www-apps/gitea/gitea-9999.ebuild b/www-apps/gitea/gitea-9999.ebuild
index 672af6461ca..b92bde68e9a 100644
--- a/www-apps/gitea/gitea-9999.ebuild
+++ b/www-apps/gitea/gitea-9999.ebuild
@@ -39,6 +39,9 @@ FILECAPS=(
cap_net_bind_service+ep usr/bin/gitea
)
+RESTRICT="test"
+QA_PRESTRIPPED="usr/bin/gitea"
+
src_prepare() {
default
@@ -114,3 +117,9 @@ src_install() {
keepdir /var/log/gitea
fi
}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+ go-module_pkg_postinst
+ tmpfiles_process gitea.conf
+}