[gentoo-commits] repo/proj/guru:dev commit in: www-apps/gogs/

2023-02-17 Thread Joe Kappus
commit: a1e0b9c315737a8b26ab4120e58747cf501ed255
Author: Joe Kappus  wt  gd>
AuthorDate: Fri Feb 17 08:22:28 2023 +
Commit: Joe Kappus  wt  gd>
CommitDate: Fri Feb 17 08:22:33 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a1e0b9c3

www-apps/gogs: security bump

I last rited this and have no interest in maintaining it but the
security issues are bad enough that I am doing this final bump to
give an upgrade path for users left vulnerable.

Signed-off-by: Joe Kappus  wt.gd>

 www-apps/gogs/Manifest|  38 +++
 www-apps/gogs/gogs-0.12.10.ebuild | 555 ++
 2 files changed, 593 insertions(+)

diff --git a/www-apps/gogs/Manifest b/www-apps/gogs/Manifest
index ad280f125..50d2ed63b 100644
--- a/www-apps/gogs/Manifest
+++ b/www-apps/gogs/Manifest
@@ -18,6 +18,7 @@ DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv1.0.0.mod 40 BLAKE2B 
ce42c81a7dcb03d21a
 DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv1.0.1.mod 40 BLAKE2B 
6cc86f2bceda8617678a251604b6c049cfdc80f9afcae0cead6b2cd04f90fe1b5d5d56d0c29f98fddd7f4ff6fb4a0f97c052193b153dbfc772cf6597d664c09d
 SHA512 
d0c78b8f08d177e05148ce845f8d720fe79a193a420c12ce15504af8fa3dffc4d2fcebea8030f5cca90aff5775013e2252e0c289d4ed5094e07657ea97a79570
 DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv1.0.1.zip 14678 BLAKE2B 
6647c66a45f2dc67b83a1e493bc73d4439de7962f7f1472dc267be9a9408b5ddda66b8ee2fdadf18b2973648035fb3907fe539a8b7ccb768b8c99c4cae573eab
 SHA512 
f973efba5ce7c651d9c3e4e467a1423b00b102034a054874d09977957b7b7e05da06fb4c158e693db7bac01bf601f950cae0d411dc92afd0686d7e1de4cf
 DIST github.com%2Fbgentry%2Fspeakeasy%2F@v%2Fv0.1.0.mod 36 BLAKE2B 
ad3bb22bde28277f26a819b093ab7392da57c027bfb91bbbab4686d225ddc4e239c0905f6eec64cda2fd47746bd625682f663a11007bdbbf64f9cbff7dd1de76
 SHA512 
f961ced2c3e902be60fb862fff6b1c4457c57bd7586375a18857863be63d9b3ea998b05fc0c9c3a7270387e9907861d6f9d6ce4024643ec84ea6a63e59e915c1
+DIST github.com%2Fbgentry%2Fspeakeasy%2F@v%2Fv0.1.0.zip 9262 BLAKE2B 
50feca006319c5a8d957976be1c02a0a6a7247441fa0e903b1a03de85859f2afd0c93cf8599f60974686f47bdb7f0c94e58c6ec01ffa3fc33cf5d04da3bfd08d
 SHA512 
0e52838ad73009c795d6a43d7d52d082b0ec134e0f07015fa51caab7d1dd141b19df7807a7ab146312848567f8635966c6ce7ac22b934a630e0131383caef9cf
 DIST 
github.com%2Fboombuler%2Fbarcode%2F@v%2Fv1.0.1-0.20190219062509-6c824513bacc.mod
 36 BLAKE2B 
357371a37d5f2ee657900c4ca455d9aa8aa993989fc6829e182a2c72586f18447600442e31110c5a01f6fbb8de8a17f881d86ee6b882b4b27db1bc566ca33fb4
 SHA512 
1487d5ffde5f6d64bc21be1aa02926261a519fad462731254f03cf124758162cb6f6848fe412cd5b02606674f566ed213ae4fb7b5e54afe29df5ea60e08d3c03
 DIST 
github.com%2Fboombuler%2Fbarcode%2F@v%2Fv1.0.1-0.20190219062509-6c824513bacc.zip
 89256 BLAKE2B 
27127a6badaaf38ae3da05614ef5b83449ca6af65188d4ce8c23e02aed11177cb01bd9cac09499d4f00a11e7d6b9a4614ede7858a11aff4d0ce016fff7228768
 SHA512 
5ee5fe1288e593efa2ee87ba131b74c6dd51f1e9649093cd9cc728f6f20a5113e716a94f2568b58badb102547084b733a64bc3a5c172b1bc316ba6bda39a1106
 DIST 
github.com%2Fbradfitz%2Fgomemcache%2F@v%2Fv0.0.0-20190329173943-551aad21a668.mod
 47 BLAKE2B 
64b67ee22d184736f1feb40e310d7efddcddca0a8e46521f7fff068e2322fbab06641a8cc64050b7614136cdf23ca483ed6ef256972bf924ce2beea1f8b4fe25
 SHA512 
16e9ea18156d3951e6ebb46952e03107c0017b34780834fa2fc21ccf97fe501b3c9c469687bb1519372b301e5733c37888c1570d55c8845f8152c446c3e1e309
@@ -48,6 +49,7 @@ DIST 
github.com%2Feditorconfig%2Feditorconfig-core-go%2Fv2%2F@v%2Fv2.3.2.mod 242
 DIST github.com%2Feditorconfig%2Feditorconfig-core-go%2Fv2%2F@v%2Fv2.3.2.zip 
25082 BLAKE2B 
972f6e4941e1247da4d1204eb4eea892a3cf977ba95cafb6c982a18077d4c86a7299c1cdf252fa55cb2181f3baa70d3080bfcc9a78a453fa74badf34ee9c26f0
 SHA512 
4ee88e97116ca03bd3f4b68ccbfa84affad7b26719e6bfbe6ed1d1867c46b5166d3ed6c0ede9181dae9037ce8e8428f35bb3862949abcab9e4411a267839
 DIST github.com%2Fedsrzf%2Fmmap-go%2F@v%2Fv1.0.0.mod 33 BLAKE2B 
52211e27792f060734989af8b47b48f3f9edbdc94b49917d715bd8853a3f05ac714cfbf752d3171b4c223a8787497df16e1ee46b07203a6d2c4cae3540c66af1
 SHA512 
ddf8e796d04c0741342eae18ad343861ad7a76d030a5dd9a27b1a68b2944a0f94ec21b1513640179c73c16d79ac309b8552dae42d6e45bc0f03d33269666bbf6
 DIST 
github.com%2Ferikstmartin%2Fgo-testdb%2F@v%2Fv0.0.0-20160219214506-8d10e4a1bae5.mod
 41 BLAKE2B 
b0375652028ba60575d0fcb578263105c2ddaf6584a649dd39829c153c7a20b7928e7bccedc6fc323c271314e89012ecafaf9f310783e60c1385bbb275e4d101
 SHA512 
c18151d6fdcfd4ea4d8eb747bd632eaa8869e0011857598d3850ee7e333282e8eecbe2eee906231d4f04b3138d17d3d51165dda6724cda5a6211efd667672557
+DIST 
github.com%2Ferikstmartin%2Fgo-testdb%2F@v%2Fv0.0.0-20160219214506-8d10e4a1bae5.zip
 13513 BLAKE2B 
044b2b9495a90a478253dbe37b09cf30a420b7deb5b96bdb657574f4db6f157d612faaa92ad2fb51679e18168f998a961f62b1775d9fdbdab6f7d730d434330d
 SHA512 
1eacaad847096f7eecb1445b54a9bb29af37269d1f2572fce718d41eb03f8b39916c1807b12fa305be54416133617f25292c674f908ba572aca6f7e56a2ed454
 DIST github.com%2Ffatih%2Fcolor%2F@v%2Fv1.7.0.mod 30 BLAKE2B 
cdd7496552

[gentoo-commits] repo/proj/guru:dev commit in: www-apps/gogs/

2022-12-05 Thread Yuan Liao
commit: 9d6929a2a50cc624068546c7e2ea34c509aeecad
Author: Yuan Liao  gmail  com>
AuthorDate: Mon Dec  5 18:21:10 2022 +
Commit: Yuan Liao  gmail  com>
CommitDate: Mon Dec  5 18:24:24 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9d6929a2

www-apps/gogs: Add maintainer and github upstream metadata

Signed-off-by: Yuan Liao  gmail.com>

 www-apps/gogs/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/www-apps/gogs/metadata.xml b/www-apps/gogs/metadata.xml
index 6b6c2acdf..3f736dd2a 100644
--- a/www-apps/gogs/metadata.xml
+++ b/www-apps/gogs/metadata.xml
@@ -1,6 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
+   
+   
+   gogs/gogs
+   

Adds support for self-signed 
certificates




[gentoo-commits] repo/proj/guru:dev commit in: www-apps/gogs/

2022-12-05 Thread Yuan Liao
commit: b53bc9e194fec2e825006be14a113c5b28452ad1
Author: Yuan Liao  gmail  com>
AuthorDate: Mon Dec  5 18:16:27 2022 +
Commit: Yuan Liao  gmail  com>
CommitDate: Mon Dec  5 18:16:27 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b53bc9e1

www-apps/gogs: Fix dev-vcs/git[threads] dependency resolution

USE="threads" has been removed since dev-vcs/git-2.37.3 because it has
effectively become always-enabled.

Bug: https://bugs.gentoo.org/868339
Signed-off-by: Yuan Liao  gmail.com>

 www-apps/gogs/gogs-0.12.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/gogs/gogs-0.12.3.ebuild b/www-apps/gogs/gogs-0.12.3.ebuild
index 05c81318a..b55d3b1bf 100644
--- a/www-apps/gogs/gogs-0.12.3.ebuild
+++ b/www-apps/gogs/gogs-0.12.3.ebuild
@@ -465,7 +465,7 @@ DEPEND="
 RDEPEND="
${DEPEND}
app-shells/bash
-   dev-vcs/git[curl,threads]
+   dev-vcs/git[curl,threads(+)]
virtual/ssh
mysql? ( virtual/mysql )
pam? ( sys-libs/pam )



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/gogs/

2021-04-25 Thread Denis Reva
commit: f4cee4550cb882f6a714f43d482a2c28ed769054
Author: Denis Reva  gmail  com>
AuthorDate: Sun Apr 25 17:06:53 2021 +
Commit: Denis Reva  gmail  com>
CommitDate: Sun Apr 25 17:06:53 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f4cee455

www-apps/gogs: resigned! I've depressive man

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Denis Reva  gmail.com>

 www-apps/gogs/metadata.xml | 5 -
 1 file changed, 5 deletions(-)

diff --git a/www-apps/gogs/metadata.xml b/www-apps/gogs/metadata.xml
index 96843262b..6b6c2acdf 100644
--- a/www-apps/gogs/metadata.xml
+++ b/www-apps/gogs/metadata.xml
@@ -1,11 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   denis7...@gmail.com
-   Denis Reva
-   Partial maintainer
-   

Adds support for self-signed 
certificates




[gentoo-commits] repo/proj/guru:dev commit in: www-apps/gogs/, www-apps/gogs/files/

2021-01-08 Thread Theo Anderson
commit: ed515cf2a9eae78e2d1d6f8881e49a427b4d0942
Author: Theo Anderson  posteo  de>
AuthorDate: Fri Jan  8 11:17:28 2021 +
Commit: Theo Anderson  posteo  de>
CommitDate: Fri Jan  8 11:17:28 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ed515cf2

www-apps/gogs: tidy ebuild

Closes: https://bugs.gentoo.org/741522
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 www-apps/gogs/files/gogs-0.12.3.patch |  6 ++---
 www-apps/gogs/gogs-0.12.3.ebuild  | 45 +++
 2 files changed, 28 insertions(+), 23 deletions(-)

diff --git a/www-apps/gogs/files/gogs-0.12.3.patch 
b/www-apps/gogs/files/gogs-0.12.3.patch
index 2d99c012..f5c0eb0b 100644
--- a/www-apps/gogs/files/gogs-0.12.3.patch
+++ b/www-apps/gogs/files/gogs-0.12.3.patch
@@ -1,6 +1,6 @@
-diff --git a/custom/conf/app.ini b/custom/conf/app.ini
 a/custom/conf/app.ini
-+++ b/custom/conf/app.ini
+diff --git a/conf/app.ini b/conf/app.ini
+--- a/conf/app.ini
 b/conf/app.ini
 @@ -1,14 +1,12 @@
 -# !!! NEVER EVER MODIFY THIS FILE !!!
 -# !!! PLEASE MAKE CHANGES ON CORRESPONDING CUSTOM CONFIG FILE !!!

diff --git a/www-apps/gogs/gogs-0.12.3.ebuild b/www-apps/gogs/gogs-0.12.3.ebuild
index d8679f2a..05c81318 100644
--- a/www-apps/gogs/gogs-0.12.3.ebuild
+++ b/www-apps/gogs/gogs-0.12.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,10 @@ EAPI=7
 inherit fcaps go-module systemd
 
 DESCRIPTION="Gogs is a self-hosted Git service written in Go"
-HOMEPAGE="https://gogs.io https://github.com/gogs/gogs";
+HOMEPAGE="
+   https://gogs.io
+   https://github.com/gogs/gogs
+"
 
 EGO_SUM=(
"cloud.google.com/go v0.26.0/go.mod"
@@ -439,26 +442,26 @@ EGO_SUM=(
"xorm.io/core v0.7.2/go.mod"
"xorm.io/xorm v0.8.0"
"xorm.io/xorm v0.8.0/go.mod"
-   )
+)
+
 go-module_set_globals
 
-SRC_URI="https://github.com/gogs/gogs/archive/v${PV}.tar.gz -> ${P}.tar.gz 
${EGO_SUM_SRC_URI}"
+SRC_URI="
+   https://github.com/gogs/gogs/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   ${EGO_SUM_SRC_URI}
+"
 
 LICENSE="Apache-2.0 BSD MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-
 IUSE="cert mysql +pam postgres +sqlite"
 REQUIRED_USE="|| ( sqlite mysql postgres )"
-PATCHES=( "${FILESDIR}/${P}.patch" )
-
 RESTRICT="mirror"
 
 DEPEND="
acct-user/gogs
sqlite? ( dev-db/sqlite:3 )
 "
-
 RDEPEND="
${DEPEND}
app-shells/bash
@@ -469,24 +472,23 @@ RDEPEND="
postgres? ( dev-db/postgresql[pam?] )
 "
 
+PATCHES=( "${FILESDIR}/${P}.patch" )
 FILECAPS=(
cap_net_bind_service+ep usr/bin/gogs
 )
 
 src_prepare() {
-   mkdir -p "${S}/custom/conf/"
-   cp "${S}/conf/app.ini" "${S}/custom/conf/"
-
default
-
-   sed -i -e 's:data/gogs.db:database/gogs.db:' 
"${S}/templates/install.tmpl" || die
+   mkdir -p custom/conf/
+   cp conf/app.ini custom/conf/
+   sed -i 's:data/:database/:' templates/install.tmpl || die
 }
 
 src_compile() {
-   GOLANG_PKG_TAGS=""
-   use cert && GOLANG_PKG_TAGS+=" cert"
-   use pam && GOLANG_PKG_TAGS+=" pam"
-   go build -tags ${GOLANG_PKG_TAGS} -o gogs
+   local GOLANG_PKG_TAGS=()
+   use cert && GOLANG_PKG_TAGS+=( cert )
+   use pam && GOLANG_PKG_TAGS+=( pam )
+   go build -tags ${GOLANG_PKG_TAGS[@]} -o gogs || die
 }
 
 src_install() {
@@ -501,9 +503,7 @@ src_install() {
newinitd "${FILESDIR}/gogs-initd" gogs
 
# Install HTTPS certs
-   if use cert; then
-   keepdir /etc/${PN}/https
-   fi
+   use cert && keepdir /etc/${PN}/https
 
# Install configuration files
insinto /etc/${PN}/conf
@@ -530,3 +530,8 @@ src_install() {
keepdir /var/log/${PN}
fowners -R gogs:git /var/log/${PN}
 }
+
+pkg_postinst() {
+   ewarn "You will not be able to run gogs via the command line."
+   ewarn "Please use the installed service files."
+}



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/gogs/files/, www-apps/gogs/

2020-11-17 Thread Denis Reva
commit: 044421286861e76f59190e31aa848ed26c3a7bac
Author: Denis Reva  gmail  com>
AuthorDate: Tue Nov 17 17:43:44 2020 +
Commit: Denis Reva  gmail  com>
CommitDate: Tue Nov 17 17:43:44 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04442128

www-apps/gogs: continue maintainership a bit

Fixes of default parameters

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva  gmail.com>

 www-apps/gogs/files/gogs-initd   | 2 +-
 www-apps/gogs/gogs-0.12.3.ebuild | 2 +-
 www-apps/gogs/metadata.xml   | 6 +-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/www-apps/gogs/files/gogs-initd b/www-apps/gogs/files/gogs-initd
index c5364fa1..9fd26b4f 100644
--- a/www-apps/gogs/files/gogs-initd
+++ b/www-apps/gogs/files/gogs-initd
@@ -2,7 +2,7 @@
 # Apache License 2015
 
 user="${user:-gogs}"
-group="${group:-gogs}"
+group="${group:-git}"
 pidfile="${pidfile:-/run/${SVCNAME}.pid}"
 basedir="${basedir:-/usr/share/gogs}"
 daemon="${daemon:-gogs}"

diff --git a/www-apps/gogs/gogs-0.12.3.ebuild b/www-apps/gogs/gogs-0.12.3.ebuild
index 157f8a60..d8679f2a 100644
--- a/www-apps/gogs/gogs-0.12.3.ebuild
+++ b/www-apps/gogs/gogs-0.12.3.ebuild
@@ -448,7 +448,7 @@ LICENSE="Apache-2.0 BSD MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
-IUSE="cert mysql pam postgres sqlite"
+IUSE="cert mysql +pam postgres +sqlite"
 REQUIRED_USE="|| ( sqlite mysql postgres )"
 PATCHES=( "${FILESDIR}/${P}.patch" )
 

diff --git a/www-apps/gogs/metadata.xml b/www-apps/gogs/metadata.xml
index f58103c1..96843262 100644
--- a/www-apps/gogs/metadata.xml
+++ b/www-apps/gogs/metadata.xml
@@ -1,7 +1,11 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   denis7...@gmail.com
+   Denis Reva
+   Partial maintainer
+   

Adds support for self-signed 
certificates




[gentoo-commits] repo/proj/guru:dev commit in: www-apps/gogs/files/, www-apps/gogs/

2020-10-24 Thread Sergey Torokhov
commit: 0ef05ac1fb9dab94f52b805110bc3d078b24055d
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sat Oct 24 12:16:16 2020 +
Commit: Sergey Torokhov  yandex  ru>
CommitDate: Sat Oct 24 12:16:16 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0ef05ac1

www-apps/gogs: 0.12.3 version bump

Note:
This package is maintainer-needed,
update to fix security vulnerability
https://nvd.nist.gov/vuln/detail/CVE-2020-15867

Ebuild updates:
Add RESTRICT="mirror" due to large number of downloading pkgs,
sort IUSE flags.

Move patched config to /etc/gogs/custom/conf/app.ini
to prevent warning about abcence of config on service start
and fallback to /etc/gogs/conf/app.ini (leave as example).

Known issue:
Despite of set db+path in custom/conf/app.ini and
in templates/install.tmpl and passsing right path to database
in html-page as

on selecting the SQLite3 base the default path is still data/gogs.db

Signed-off-by: Sergey Torokhov  yandex.ru>

 www-apps/gogs/Manifest|   4 +
 www-apps/gogs/files/gogs-0.12.3.patch |  66 +
 www-apps/gogs/gogs-0.12.3.ebuild  | 532 ++
 3 files changed, 602 insertions(+)

diff --git a/www-apps/gogs/Manifest b/www-apps/gogs/Manifest
index d2a59b49..0ce49daa 100644
--- a/www-apps/gogs/Manifest
+++ b/www-apps/gogs/Manifest
@@ -266,6 +266,7 @@ DIST 
github.com%2Fsmartystreets%2Fassertions%2F@v%2Fv1.0.1.mod 52 BLAKE2B 3986b0
 DIST 
github.com%2Fsmartystreets%2Fgoconvey%2F@v%2Fv0.0.0-20181108003508-044398e4856c.mod
 41 BLAKE2B 
aeccb766735cab34f6559537127886e3227273ec40f78cb289b852430e5cb967e2b3b8a798dd20ab0d1c8481c62d25976a76831092bc114cc6c04214ce7ab081
 SHA512 
8ce1457d8f4e3cd2d997306844a157198039ae5feb9132f22d5768c1de32800469f682d33a8c3c455f7728332136f376858c23bf00da180a53f9d32d4e4ef291
 DIST 
github.com%2Fsmartystreets%2Fgoconvey%2F@v%2Fv0.0.0-20190330032615-68dc04aab96a.mod
 302 BLAKE2B 
69fd290c3e72f4ee0597f480bae8647d80ab5c4acab21ac3ea19e847e3af4ac91a767876fac04c94c2db8bc782a24577d3478d3d0653f673609f2d57d6cc3427
 SHA512 
24806ff2cbf2719f50bb37cc5ffadeca1b64c7b089a1647695b45d647ddac16332504c7026813b4ab9316e53e755ad0ebbf6db9ca88179d0526ca2634e27e25f
 DIST 
github.com%2Fsmartystreets%2Fgoconvey%2F@v%2Fv0.0.0-20190731233626-505e41936337.mod
 302 BLAKE2B 
69fd290c3e72f4ee0597f480bae8647d80ab5c4acab21ac3ea19e847e3af4ac91a767876fac04c94c2db8bc782a24577d3478d3d0653f673609f2d57d6cc3427
 SHA512 
24806ff2cbf2719f50bb37cc5ffadeca1b64c7b089a1647695b45d647ddac16332504c7026813b4ab9316e53e755ad0ebbf6db9ca88179d0526ca2634e27e25f
+DIST github.com%2Fsmartystreets%2Fgoconvey%2F@v%2Fv1.6.4.mod 302 BLAKE2B 
69fd290c3e72f4ee0597f480bae8647d80ab5c4acab21ac3ea19e847e3af4ac91a767876fac04c94c2db8bc782a24577d3478d3d0653f673609f2d57d6cc3427
 SHA512 
24806ff2cbf2719f50bb37cc5ffadeca1b64c7b089a1647695b45d647ddac16332504c7026813b4ab9316e53e755ad0ebbf6db9ca88179d0526ca2634e27e25f
 DIST github.com%2Fssor%2Fbom%2F@v%2Fv0.0.0-20170718123548-6386211fdfcf.mod 27 
BLAKE2B 
9dffca418389d3ec06a4d153b24ee0ae125d83661449f325096d7da41ac6636ef83cb72e4f3b09660daa0bfe984e8921bdc78404555ea2271bbabef599b0285e
 SHA512 
a7b93a8318845c58a3eaed2495342f8630d62c022fb3e4698b514e08f6796737efff0088162faa96c48a3219a78f48dba26a0cdd56a87eaa17e756d11a0b000f
 DIST github.com%2Fssor%2Fbom%2F@v%2Fv0.0.0-20170718123548-6386211fdfcf.zip 
2796 BLAKE2B 
6eb19a76e481d31c6459509356fccf2d13c98b6535b0dc5028c9dbfc881bbdf9bbc893393f7be470cc0ac45b64284abe7b95543e4d391dce1a5b743c9fb28b30
 SHA512 
94b67f94a9ac40f997cbf1e4ab0652f048867a5b92180761b7ee7425b876607c279bab7372d90f9b613ca86bf3d03d076823b4558a7d8e1c092a5d77e235d2b5
 DIST github.com%2Fstretchr%2Fobjx%2F@v%2Fv0.1.0.mod 32 BLAKE2B 
d698910da1ef00a70a1673b8c74105de195020ccd95d1e70c5dd1e1615210886ff9acbc9cfd03f46e99f5223b60b04695b8d362b9e0edd4e485480f802bd229a
 SHA512 
4e366e5a60559a8863cb2a50280deb307d8bf885ca5440cce1b49a084b4cc4583b3481240125f35f161226592a43f2c0a426152f117d79b68c92c72a93f751d5
@@ -284,6 +285,8 @@ DIST 
github.com%2Ft-tiger%2Fgorm-bulk-insert%2F@v%2Fv1.3.0.mod 174 BLAKE2B b3d17
 DIST github.com%2Ft-tiger%2Fgorm-bulk-insert%2F@v%2Fv1.3.0.zip 17071 BLAKE2B 
cccef7a1b928666dae6a64ae16131b4d13d545bcbe9bb9763f478c4d53b7ef27e24359d7c121543c8dc454fc224a49e1a6c05f37c94bfdb41dbeb40f53149403
 SHA512 
c31f1f8b7f88f9fa76a3630b5ed9f9dbf895c8c9701e6e45b10b50e296cc7fe21f6d543fc3187443cf9459461e4adafa75de36aa5de68eb5247f1257e976727f
 DIST github.com%2Funknwon%2Fcae%2F@v%2Fv1.0.0.mod 30 BLAKE2B 
e71005b6c74f174753e345672a91c6781685435ffafaf1bdd46ee72d9c2a6ca9366cd5cfeeab1cc4469dee51962365a1dcb2fc543d912beaa7261ee4e680b2d9
 SHA512 
259bc8174d414778c2be64dcadb2156c915fa49e141ba6ca09f188e0c81f186fd8e2bba8fe29907a42a14b5a10639f1eda02b7d2a5e758e4ded5ecd2f65743e3
 DIST github.com%2Funknwon%2Fcae%2F@v%2Fv1.0.0.zip 38884 BLAKE2B 
580e3538f135b02b749c7053ddc4b70bdcd645c49b729dbe8593d30ebb49ec58a3e8253e933b97613a1137c6998a8c27bc09cd323e03e8260203b87277574aa2
 SHA512 
9ff854dc1125831cc42ad43d798870fefb586013ec46fab8880a6d47b5

[gentoo-commits] repo/proj/guru:dev commit in: www-apps/gogs/, www-apps/gogs/files/

2020-10-24 Thread Sergey Torokhov
commit: f23252c9f6b8eec9e0bf928764080982947452bd
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sat Oct 24 12:31:50 2020 +
Commit: Sergey Torokhov  yandex  ru>
CommitDate: Sat Oct 24 12:31:50 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f23252c9

www-apps/gogs: drop security vulnerability affected version

The git hook feature in Gogs 0.5.5 through 0.12.2
allows for authenticated remote code execution [1].

[1] https://nvd.nist.gov/vuln/detail/CVE-2020-15867

Signed-off-by: Sergey Torokhov  yandex.ru>

 www-apps/gogs/Manifest|  10 -
 www-apps/gogs/files/gogs-0.12.1.patch |  67 -
 www-apps/gogs/gogs-0.12.1-r1.ebuild   | 515 --
 3 files changed, 592 deletions(-)

diff --git a/www-apps/gogs/Manifest b/www-apps/gogs/Manifest
index 0ce49daa..ad280f12 100644
--- a/www-apps/gogs/Manifest
+++ b/www-apps/gogs/Manifest
@@ -283,8 +283,6 @@ DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.6.1.zip 
98541 BLAKE2B 369a625a7b0
 DIST github.com%2Fsyndtr%2Fgoleveldb%2F@v%2Fv1.0.0.mod 207 BLAKE2B 
b3578856c4b568f9e23567c8da567675f81f1bbc2ce1ad2838a1b13e3af24c4fb934cb42a981e7b69c0258e64468a7e563804308b9e4e188761e3d51c3e396d0
 SHA512 
ab5490498bd7094429cd5ad92115675715f8d70493b8a322bd816a87952d922350c64d3d2703543fa7f36368c901a5ca6bcff5d79d023b518f134b2e21787631
 DIST github.com%2Ft-tiger%2Fgorm-bulk-insert%2F@v%2Fv1.3.0.mod 174 BLAKE2B 
b3d178157f6b81ea364ca8f567daaddd66ee0620c1bc79c028de7b6a73ac1f67e9ce32cd052c94f61d82d2e594eb4ed6f91ff029e715e2260679f97a5539d8dc
 SHA512 
d6c4c80cd5dc5798f00b3e46e204000ad3c86677096e9a19bc5c442df9f123b9f1cb6a2382aa1f8b878b822d8fb81996035e940c38ad1e691ddc7cf885a94d27
 DIST github.com%2Ft-tiger%2Fgorm-bulk-insert%2F@v%2Fv1.3.0.zip 17071 BLAKE2B 
cccef7a1b928666dae6a64ae16131b4d13d545bcbe9bb9763f478c4d53b7ef27e24359d7c121543c8dc454fc224a49e1a6c05f37c94bfdb41dbeb40f53149403
 SHA512 
c31f1f8b7f88f9fa76a3630b5ed9f9dbf895c8c9701e6e45b10b50e296cc7fe21f6d543fc3187443cf9459461e4adafa75de36aa5de68eb5247f1257e976727f
-DIST github.com%2Funknwon%2Fcae%2F@v%2Fv1.0.0.mod 30 BLAKE2B 
e71005b6c74f174753e345672a91c6781685435ffafaf1bdd46ee72d9c2a6ca9366cd5cfeeab1cc4469dee51962365a1dcb2fc543d912beaa7261ee4e680b2d9
 SHA512 
259bc8174d414778c2be64dcadb2156c915fa49e141ba6ca09f188e0c81f186fd8e2bba8fe29907a42a14b5a10639f1eda02b7d2a5e758e4ded5ecd2f65743e3
-DIST github.com%2Funknwon%2Fcae%2F@v%2Fv1.0.0.zip 38884 BLAKE2B 
580e3538f135b02b749c7053ddc4b70bdcd645c49b729dbe8593d30ebb49ec58a3e8253e933b97613a1137c6998a8c27bc09cd323e03e8260203b87277574aa2
 SHA512 
9ff854dc1125831cc42ad43d798870fefb586013ec46fab8880a6d47b51fd8aa18f03a14bd0a0c1432c7b5f0ffe9408cb112130f2669aef312cc7ed0ae68ef68
 DIST github.com%2Funknwon%2Fcae%2F@v%2Fv1.0.2.mod 125 BLAKE2B 
fef98b0dbe59f4730d03ae95dc48c1826282790cf3d039d5beacb9fe9e214875122d98697761e6e60607ec99157fb7285af29da500fa6857e6004f360d6cb419
 SHA512 
8b6ae7ec088ff0ce5da990eb5e37ce723e7dd893ba6cda25136b1db2e98830c88cdc1c581dc6e1422e872c069c98d5f80394ceaa01870ae5e41733308670a753
 DIST github.com%2Funknwon%2Fcae%2F@v%2Fv1.0.2.zip 41055 BLAKE2B 
2a7d8cd90a1df9ce90e3ee4c397a07f51b0854fea24318c3fb170d8205961d512a9c2c9f5b12c377d2e7dc233d67d28969e072519e521517e9fa7cc1cc5791a2
 SHA512 
e83f81fc90ba9b540272d14d392bab74fca53b889d4958e3e6fb78cf8c3e9df30ec462d5ee50c2f7b3db39fa8b0b638909294b0a75c6fb7d62d1d2e128bd16e9
 DIST github.com%2Funknwon%2Fcom%2F@v%2Fv0.0.0-20190804042917-757f69c95f3e.mod 
329 BLAKE2B 
9f4986fd59c7d55b2e0fb0acc7be90c3656ab0fb9537c835c422639a3d428bde858d8724d644ce55627c9b17fb4eb53d26ba9c1b5d288141e71c1daed2bd8fc2
 SHA512 
ee35b5dbed3b4900a05405538cf7ce223c758a916478345aefe52cbba1405163ef3cc7f4464a91d9a467faffc4f1fb25a4f38106812610d5748ac623c9f50d23
@@ -298,7 +296,6 @@ DIST github.com%2Furfave%2Fcli%2F@v%2Fv1.22.4.mod 180 
BLAKE2B 5d858ca40ba2af7917
 DIST github.com%2Furfave%2Fcli%2F@v%2Fv1.22.4.zip 109532 BLAKE2B 
ff6116d5112581b9836cb8e441ca181192f397d29b465522694d14c262c204a021212f35b619cac9e7259570a31a7d3907f9e68b707683a388054d8ac6c4e6c1
 SHA512 
fa67796ec04ffbfce4a84d55de6ebec571240d2c7a0642b4d2d403545d8a5ae36b4426f14d3fdfc679ed770b3a2e70643392c3317bd40d2a47cee27da3ac33bb
 DIST github.com%2Fziutek%2Fmymysql%2F@v%2Fv1.5.4.mod 33 BLAKE2B 
06075bbd3eb02ab2dd096de6cce465882d9afe5616c75d74b0dadf777263a3c914517bf0df87908d043370cd066c4a5c45b6843cf02bb3fd67928a8d5197
 SHA512 
cd6a60a15f71d86acc64da0657180522cc0cb7a6e43428e131241bcf791a9c73d6dd8813fb8dd5b3d8e9bf99ac9264b0519c796053a7d519bf66143e1b0643ac
 DIST go.opencensus.io%2F@v%2Fv0.20.1.mod 408 BLAKE2B 
01a022e76e1605416e74ffa8aafc0868304c7810d9e9de804bd611a2eb7417adf113cf10ecf607d89d1ef18f1e17fdbd1efc35f889854210114fb8a4e8db1d6f
 SHA512 
2bfbe633ffde1f91834ca77f19d0b32cc4c9480b8a59e101199cf3e8ab0285c16fb45a00326353f02a7dbe06c1562c4695ce7d98767c4149ed2321acd527bebd
-DIST gogs-0.12.1.tar.gz 22243846 BLAKE2B 
98a0c34cae85feafb20503bce26590471f401013cb472c7474b63b6577e57174a6e1d830c8881bf6be8f4b5d41251f96383e7fe4b0411b9ba013f5e48d31d

[gentoo-commits] repo/proj/guru:dev commit in: www-apps/gogs/

2020-09-22 Thread Denis Reva
commit: 770d23a5722d39a4b1d9e222c2eeaf18f77c8a7f
Author: Denis Reva  gmail  com>
AuthorDate: Tue Sep 22 15:32:08 2020 +
Commit: Denis Reva  gmail  com>
CommitDate: Tue Sep 22 15:32:49 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=770d23a5

www-apps/gogs: maintainer retire #744112

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Denis Reva  gmail.com>

 www-apps/gogs/metadata.xml | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/www-apps/gogs/metadata.xml b/www-apps/gogs/metadata.xml
index 95c680f5..f58103c1 100644
--- a/www-apps/gogs/metadata.xml
+++ b/www-apps/gogs/metadata.xml
@@ -1,11 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   denis7...@gmail.com
-   Denis Reva
-   RarogCmex
-   
+   

Adds support for self-signed 
certificates




[gentoo-commits] repo/proj/guru:dev commit in: www-apps/gogs/

2020-09-14 Thread Denis Reva
commit: f92f74eb55c9c33dc4b9b9dd0f2fe8eac18d5e2d
Author: Denis Reva  gmail  com>
AuthorDate: Tue Sep 15 02:14:56 2020 +
Commit: Denis Reva  gmail  com>
CommitDate: Tue Sep 15 02:14:56 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f92f74eb

www-apps/gogs: fixed OpenRC

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Denis Reva  gmail.com>

 www-apps/gogs/{gogs-0.12.1.ebuild => gogs-0.12.1-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/gogs/gogs-0.12.1.ebuild 
b/www-apps/gogs/gogs-0.12.1-r1.ebuild
similarity index 99%
rename from www-apps/gogs/gogs-0.12.1.ebuild
rename to www-apps/gogs/gogs-0.12.1-r1.ebuild
index e1584b81..45ced5e0 100644
--- a/www-apps/gogs/gogs-0.12.1.ebuild
+++ b/www-apps/gogs/gogs-0.12.1-r1.ebuild
@@ -489,8 +489,8 @@ src_install() {
# Prepare systemd init scripts and install it
systemd_dounit "${FILESDIR}/systemd/${PN}.service"
# Install OpenRC init files
-   doconfd "${FILESDIR}/gogs-confd"
-   doinitd "${FILESDIR}/gogs-initd"
+   newconfd "${FILESDIR}/gogs-confd" gogs
+   newinitd "${FILESDIR}/gogs-initd" gogs
# Install HTTPS certs
if use cert; then
 keepdir /etc/${PN}/https



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/gogs/, www-apps/gogs/files/systemd/

2020-09-11 Thread Denis Reva
commit: 1fc210e2a9094c3b3520b729252703baf67d6f89
Author: Denis Reva  gmail  com>
AuthorDate: Fri Sep 11 16:09:12 2020 +
Commit: Denis Reva  gmail  com>
CommitDate: Fri Sep 11 16:09:12 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1fc210e2

www-apps/gogs: systemd fix

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Denis Reva  gmail.com>

 www-apps/gogs/files/systemd/gogs.service | 4 ++--
 www-apps/gogs/gogs-0.12.1.ebuild | 5 +
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/www-apps/gogs/files/systemd/gogs.service 
b/www-apps/gogs/files/systemd/gogs.service
index c4648a22..014c5c8a 100644
--- a/www-apps/gogs/files/systemd/gogs.service
+++ b/www-apps/gogs/files/systemd/gogs.service
@@ -12,7 +12,7 @@ Requires=network.target
 
 [Service]
 User=gogs
-Group=gogs
+Group=git
 
 Environment="GOGS_WORK_DIR=/var/lib/gogs"
 Environment="GOGS_CUSTOM=/etc/gogs"
@@ -21,4 +21,4 @@ ExecStart=/usr/bin/gogs web -c /etc/gogs/conf/app.ini
 
 Restart=always
 PrivateTmp=true
-Nice=5
\ No newline at end of file
+Nice=5

diff --git a/www-apps/gogs/gogs-0.12.1.ebuild b/www-apps/gogs/gogs-0.12.1.ebuild
index 702c8c55..e1584b81 100644
--- a/www-apps/gogs/gogs-0.12.1.ebuild
+++ b/www-apps/gogs/gogs-0.12.1.ebuild
@@ -487,10 +487,7 @@ src_install() {
# Install binary
dobin gogs
# Prepare systemd init scripts and install it
-   cp "${FILESDIR}/systemd/${PN}.service" "${T}/${PN}.service" || die
-   use mysql && enable_systemd_dep mysqld
-   use postgres && enable_systemd_dep postgresql
-   systemd_dounit "${T}/${PN}.service"
+   systemd_dounit "${FILESDIR}/systemd/${PN}.service"
# Install OpenRC init files
doconfd "${FILESDIR}/gogs-confd"
doinitd "${FILESDIR}/gogs-initd"



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/gogs/

2020-09-11 Thread Denis Reva
commit: e5ee6d1c110b4d3e01d01f2e6c81b8171af3a8c5
Author: Denis Reva  gmail  com>
AuthorDate: Fri Sep 11 16:05:11 2020 +
Commit: Denis Reva  gmail  com>
CommitDate: Fri Sep 11 16:05:11 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5ee6d1c

www-apps/gogs: fixed intendations and license

Fixed all tabs. See also https://bugs.gentoo.org/741522

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Denis Reva  gmail.com>

 www-apps/gogs/gogs-0.12.1.ebuild | 970 +++
 www-apps/gogs/metadata.xml   |  16 +-
 2 files changed, 493 insertions(+), 493 deletions(-)

diff --git a/www-apps/gogs/gogs-0.12.1.ebuild b/www-apps/gogs/gogs-0.12.1.ebuild
index b5978508..702c8c55 100644
--- a/www-apps/gogs/gogs-0.12.1.ebuild
+++ b/www-apps/gogs/gogs-0.12.1.ebuild
@@ -9,448 +9,448 @@ DESCRIPTION="Gogs is a self-hosted Git service written in 
Go"
 HOMEPAGE="https://gogs.io https://github.com/gogs/gogs";
 
 EGO_SUM=(
- "cloud.google.com/go v0.26.0/go.mod"
- "cloud.google.com/go v0.34.0/go.mod"
- "cloud.google.com/go v0.37.4/go.mod"
- "github.com/BurntSushi/toml v0.3.1/go.mod"
- "github.com/Masterminds/semver/v3 v3.1.0"
- "github.com/Masterminds/semver/v3 v3.1.0/go.mod"
- "github.com/Shopify/sarama v1.19.0/go.mod"
- "github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod"
- "github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod"
- "github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod"
- "github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod"
- "github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod"
- "github.com/apache/thrift v0.12.0/go.mod"
- "github.com/aymerick/douceur v0.2.0"
- "github.com/aymerick/douceur v0.2.0/go.mod"
- "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
- "github.com/beorn7/perks v1.0.0/go.mod"
- "github.com/beorn7/perks v1.0.1"
- "github.com/beorn7/perks v1.0.1/go.mod"
- "github.com/bgentry/speakeasy v0.1.0/go.mod"
- "github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc"
- "github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc/go.mod"
- "github.com/bradfitz/gomemcache v0.0.0-20190329173943-551aad21a668"
- "github.com/bradfitz/gomemcache v0.0.0-20190329173943-551aad21a668/go.mod"
- "github.com/cespare/xxhash/v2 v2.1.1"
- "github.com/cespare/xxhash/v2 v2.1.1/go.mod"
- "github.com/chris-ramon/douceur v0.2.0"
- "github.com/chris-ramon/douceur v0.2.0/go.mod"
- "github.com/client9/misspell v0.3.4/go.mod"
- "github.com/couchbase/gomemcached v0.0.0-20190515232915-c4b4ca0eb21d/go.mod"
- "github.com/couchbase/goutils v0.0.0-20190315194238-f9d42b11473b/go.mod"
- "github.com/couchbaselabs/go-couchbase 
v0.0.0-20190708161019-23e7ca2ce2b7/go.mod"
- "github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d"
- "github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod"
- "github.com/cupcake/rdb v0.0.0-20161107195141-43ba34106c76/go.mod"
- "github.com/davecgh/go-spew v1.1.0/go.mod"
- "github.com/davecgh/go-spew v1.1.1"
- "github.com/davecgh/go-spew v1.1.1/go.mod"
- "github.com/denisenkom/go-mssqldb v0.0.0-20190515213511-eb9f6a1743f3/go.mod"
- "github.com/denisenkom/go-mssqldb v0.0.0-20190707035753-2be1aa521ff4/go.mod"
- "github.com/denisenkom/go-mssqldb v0.0.0-20191124224453-732737034ffd/go.mod"
- "github.com/denisenkom/go-mssqldb v0.0.0-20200206145737-bbfc9a55622e"
- "github.com/denisenkom/go-mssqldb v0.0.0-20200206145737-bbfc9a55622e/go.mod"
- "github.com/eapache/go-resiliency v1.1.0/go.mod"
- "github.com/eapache/go-xerial-snappy 
v0.0.0-20180814174437-776d5712da21/go.mod"
- "github.com/eapache/queue v1.1.0/go.mod"
- "github.com/editorconfig/editorconfig-core-go/v2 v2.3.2"
- "github.com/editorconfig/editorconfig-core-go/v2 v2.3.2/go.mod"
- "github.com/edsrzf/mmap-go v1.0.0/go.mod"
- "github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5/go.mod"
- "github.com/fatih/color v1.7.0/go.mod"
- "github.com/fatih/color v1.9.0"
- "github.com/fatih/color v1.9.0/go.mod"
- "github.com/fsnotify/fsnotify v1.4.7/go.mod"
- "github.com/go-kit/kit v0.8.0/go.mod"
- "github.com/go-kit/kit v0.9.0/go.mod"
- "github.com/go-logfmt/logfmt v0.3.0/go.mod"
- "github.com/go-logfmt/logfmt v0.4.0/go.mod"
- "github.com/go-macaron/binding v1.1.0"
- "github.com/go-macaron/binding v1.1.0/go.mod"
- "github.com/go-macaron/cache v0.0.0-20190810181446-10f7c57e2196"
- "github.com/go-macaron/cache v0.0.0-20190810181446-10f7c57e2196/go.mod"
- "github.com/go-macaron/captcha v0.2.0"
- "github.com/go-macaron/captcha v0.2.0/go.mod"
- "github.com/go-macaron/csrf v0.0.0-20190812063352-946f6d303a4c"
- "github.com/go-macaron/csrf v0.0.0-20190812063352-946f6d303a4c/go.mod"
- "github.com/go-macaron/gzip v0.0.0-20160222043647-cad1c6580a07"
- "github.com/go-macaron/gzip v0.0.0-20160222043647-cad1c6580a07/go.mod"
- "github.com/go-macaron/i18n v0.5.0"
- "github.com/go-macaron/i18n v0.5.0/go.mod"
- "github.com/go-macaron/inject v0.