commit:     a50edaca90a69c294fa9cbee14861d646e5a0095
Author:     Wim Muskee <wimmuskee <AT> gmail <DOT> com>
AuthorDate: Fri Jan 26 06:03:06 2018 +0000
Commit:     Rafael Martins <rafaelmartins <AT> gentoo <DOT> org>
CommitDate: Mon May  7 18:01:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a50edaca

www-apps/cgisysinfo: update SRC_URI, HOMEPAGE, REPO_URI

Closes: https://bugs.gentoo.org/626300

Apparently, the Github 0.4.1 version requires an eautoreconf.
The Github compiled bin has the same md5sum as the one from the tree.

 www-apps/cgisysinfo/Manifest                |  2 +-
 www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild | 16 +++++++++-------
 www-apps/cgisysinfo/metadata.xml            |  3 +++
 3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/www-apps/cgisysinfo/Manifest b/www-apps/cgisysinfo/Manifest
index 26067868433..26e3e3ab7dd 100644
--- a/www-apps/cgisysinfo/Manifest
+++ b/www-apps/cgisysinfo/Manifest
@@ -1 +1 @@
-DIST cgisysinfo-0.4.1.tar.bz2 262016 BLAKE2B 
f5595474591e55fb38b51a9235ad1d18b08e11694e79bcfb15234aed4e267f4c7f83202117c38df34d4e6045725f6d4ce8c2745a6e31b50c86a0b2db311b2a87
 SHA512 
fd14339ea346f70c9b5632ae861ba006b70c5ff5849ebbd3b32bcedaf0a5865d411d6d0f251362baea515f0d64639d544779c3569574a710ed4967c9fa770909
+DIST cgisysinfo-0.4.1.tar.gz 17662 BLAKE2B 
63997c790d7d42d0a91f53f667a75b53b1954c1bf13f97f99918bcd926c6dcb4a7e75b1658490aab2d0d1ac666f163c910d903b26675994755c82d84bc52fa0f
 SHA512 
a966c96345454424258b623038b555767d71e1e4258f92114081d93e8ce490b26e4c2b88f6ad527f0b55d267d008da3b13774b7e2499ad6b96e035ba3be2e912

diff --git a/www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild 
b/www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild
index 392f1647e1c..0dc2dac982c 100644
--- a/www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild
+++ b/www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild
@@ -3,18 +3,22 @@
 
 EAPI="5"
 
+inherit autotools
+
 if [[ ${PV} = *9999* ]]; then
        WANT_AUTOMAKE="1.10"
-       inherit autotools mercurial
-       EHG_REPO_URI="http://hg.rafaelmartins.eng.br/cgisysinfo/";
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/rafaelmartins/${PN}";
        KEYWORDS=""
+       DOCS=( "README.md" "AUTHORS" "NEWS" )
 else
-       SRC_URI="http://distfiles.rafaelmartins.eng.br/${PN}/${P}.tar.bz2";
+       SRC_URI="https://github.com/rafaelmartins/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~x86"
+       DOCS=( "README" "AUTHORS" "NEWS" )
 fi
 
 DESCRIPTION="A small cgi utility to show basic system information"
-HOMEPAGE="http://projects.rafaelmartins.eng.br/cgisysinfo";
+HOMEPAGE="https://github.com/rafaelmartins/cgisysinfo";
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -23,10 +27,8 @@ IUSE="fastcgi"
 DEPEND="fastcgi? ( dev-libs/fcgi )"
 RDEPEND="${DEPEND}"
 
-DOCS="README AUTHORS NEWS"
-
 src_prepare() {
-       [[ ${PV} = *9999* ]] && eautoreconf
+       eautoreconf
 }
 
 src_configure() {

diff --git a/www-apps/cgisysinfo/metadata.xml b/www-apps/cgisysinfo/metadata.xml
index 94d26d8201c..44c61e61b12 100644
--- a/www-apps/cgisysinfo/metadata.xml
+++ b/www-apps/cgisysinfo/metadata.xml
@@ -13,4 +13,7 @@
                tested with nginx + fcgiwrap. It should works with any 
CGI-capable web
                server.
        </longdescription>
+       <upstream>
+               <remote-id type="github">rafaelmartins/cgisysinfo</remote-id>
+       </upstream>
 </pkgmetadata>

Reply via email to