www-apps/cgisysinfo: update SRC_URI, HOMEPAGE, REPO_URI
authorWim Muskee <wimmuskee@gmail.com>
Fri, 26 Jan 2018 06:03:06 +0000 (07:03 +0100)
committerRafael G. Martins <rafaelmartins@gentoo.org>
Mon, 7 May 2018 18:01:20 +0000 (20:01 +0200)
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
www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild
www-apps/cgisysinfo/metadata.xml

index 26067868433b9db80705e0cce695bf63d635fe9c..26e3e3ab7dd9e86c6760d8a4441d389591a8aacd 100644 (file)
@@ -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
index 392f1647e1c7603585114571e3fa02e7569e2ff1..0dc2dac982cdbe3f5aba90cf9f242ac709e2c692 100644 (file)
@@ -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() {
index 94d26d8201c470096ce42775b5fc38df904a3dea..44c61e61b12e0b04b70aefc569a3f76bad11fd66 100644 (file)
@@ -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>