ports-local/www/gitea/attachment.cgi?id=235569
2022-08-01 21:11:09 -04:00

67 lines
2.3 KiB
Text

diff --git a/security/vuxml/vuln-2022.xml b/security/vuxml/vuln-2022.xml
index c7e15af99..95eac5d3e 100644
--- a/security/vuxml/vuln-2022.xml
+++ b/security/vuxml/vuln-2022.xml
@@ -1,3 +1,34 @@
+ <vuln vid="8bec3994-104d-11ed-a7ac-0800273f11ea">
+ <topic>gitea -- multiple issues</topic>
+ <affects>
+ <package>
+ <name>gitea</name>
+ <range><lt>1.17.0</lt></range>
+ </package>
+ </affects>
+ <description>
+ <body xmlns="http://www.w3.org/1999/xhtml">
+ <p>The Gitea team reports:</p>
+ <blockquote cite="https://github.com/go-gitea/gitea/pull/20114">
+ <p>Use git.HOME_PATH for Git HOME directory</p>
+ </blockquote>
+ <blockquote cite="https://github.com/go-gitea/gitea/pull/20332">
+ <p>Add write check for creating Commit status</p>
+ </blockquote>
+ <blockquote cite="https://github.com/go-gitea/gitea/pull/18697">
+ <p>Remove deprecated SSH ciphers from default</p>
+ </blockquote>
+ </body>
+ </description>
+ <references>
+ <url>https://github.com/go-gitea/gitea/releases/tag/v1.16.9</url>
+ </references>
+ <dates>
+ <discovery>2022-07-12</discovery>
+ <entry>2022-07-30</entry>
+ </dates>
+ </vuln>
+
<vuln vid="4c26f668-0fd2-11ed-a83d-001b217b3468">
<topic>Gitlab -- multiple vulnerabilities</topic>
<affects>
diff --git a/www/gitea/Makefile b/www/gitea/Makefile
index f14bf2435..a97b896e5 100644
--- a/www/gitea/Makefile
+++ b/www/gitea/Makefile
@@ -1,10 +1,10 @@
PORTNAME= gitea
DISTVERSIONPREFIX= v
-DISTVERSION= 1.16.8
-PORTREVISION= 2
+DISTVERSION= 1.17.0
CATEGORIES= www
MASTER_SITES= https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
DISTNAME= gitea-src-${DISTVERSION}
+EXTRACT_AFTER_ARGS= --strip-components 1 # since 1.17.0, archive includes gitea-src-VERSION directory
MAINTAINER= stb@lassitu.de
COMMENT= Compact self-hosted Git service
diff --git a/www/gitea/distinfo b/www/gitea/distinfo
index 384d09b62..3880cbee1 100644
--- a/www/gitea/distinfo
+++ b/www/gitea/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1652939095
-SHA256 (gitea-src-1.16.8.tar.gz) = 5bf01b45f9c441f9d38d727cc1328414e4e5778ac5b01bc98979d82bc520a23d
-SIZE (gitea-src-1.16.8.tar.gz) = 53659731
+TIMESTAMP = 1659214174
+SHA256 (gitea-src-1.17.0.tar.gz) = a016c0836c50e7c74b0428e170a32851fdf6724a057e71501cbdf3de900a5b56
+SIZE (gitea-src-1.17.0.tar.gz) = 52642977