Gentoo Archives: gentoo-commits

From: Rafael Martins <rafaelmartins@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/cgisysinfo/
Date: Mon, 07 May 2018 18:03:10
Message-Id: 1525716080.a50edaca90a69c294fa9cbee14861d646e5a0095.rafaelmartins@gentoo
1 commit: a50edaca90a69c294fa9cbee14861d646e5a0095
2 Author: Wim Muskee <wimmuskee <AT> gmail <DOT> com>
3 AuthorDate: Fri Jan 26 06:03:06 2018 +0000
4 Commit: Rafael Martins <rafaelmartins <AT> gentoo <DOT> org>
5 CommitDate: Mon May 7 18:01:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a50edaca
7
8 www-apps/cgisysinfo: update SRC_URI, HOMEPAGE, REPO_URI
9
10 Closes: https://bugs.gentoo.org/626300
11
12 Apparently, the Github 0.4.1 version requires an eautoreconf.
13 The Github compiled bin has the same md5sum as the one from the tree.
14
15 www-apps/cgisysinfo/Manifest | 2 +-
16 www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild | 16 +++++++++-------
17 www-apps/cgisysinfo/metadata.xml | 3 +++
18 3 files changed, 13 insertions(+), 8 deletions(-)
19
20 diff --git a/www-apps/cgisysinfo/Manifest b/www-apps/cgisysinfo/Manifest
21 index 26067868433..26e3e3ab7dd 100644
22 --- a/www-apps/cgisysinfo/Manifest
23 +++ b/www-apps/cgisysinfo/Manifest
24 @@ -1 +1 @@
25 -DIST cgisysinfo-0.4.1.tar.bz2 262016 BLAKE2B f5595474591e55fb38b51a9235ad1d18b08e11694e79bcfb15234aed4e267f4c7f83202117c38df34d4e6045725f6d4ce8c2745a6e31b50c86a0b2db311b2a87 SHA512 fd14339ea346f70c9b5632ae861ba006b70c5ff5849ebbd3b32bcedaf0a5865d411d6d0f251362baea515f0d64639d544779c3569574a710ed4967c9fa770909
26 +DIST cgisysinfo-0.4.1.tar.gz 17662 BLAKE2B 63997c790d7d42d0a91f53f667a75b53b1954c1bf13f97f99918bcd926c6dcb4a7e75b1658490aab2d0d1ac666f163c910d903b26675994755c82d84bc52fa0f SHA512 a966c96345454424258b623038b555767d71e1e4258f92114081d93e8ce490b26e4c2b88f6ad527f0b55d267d008da3b13774b7e2499ad6b96e035ba3be2e912
27
28 diff --git a/www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild b/www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild
29 index 392f1647e1c..0dc2dac982c 100644
30 --- a/www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild
31 +++ b/www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild
32 @@ -3,18 +3,22 @@
33
34 EAPI="5"
35
36 +inherit autotools
37 +
38 if [[ ${PV} = *9999* ]]; then
39 WANT_AUTOMAKE="1.10"
40 - inherit autotools mercurial
41 - EHG_REPO_URI="http://hg.rafaelmartins.eng.br/cgisysinfo/"
42 + inherit git-r3
43 + EGIT_REPO_URI="https://github.com/rafaelmartins/${PN}"
44 KEYWORDS=""
45 + DOCS=( "README.md" "AUTHORS" "NEWS" )
46 else
47 - SRC_URI="http://distfiles.rafaelmartins.eng.br/${PN}/${P}.tar.bz2"
48 + SRC_URI="https://github.com/rafaelmartins/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
49 KEYWORDS="~amd64 ~x86"
50 + DOCS=( "README" "AUTHORS" "NEWS" )
51 fi
52
53 DESCRIPTION="A small cgi utility to show basic system information"
54 -HOMEPAGE="http://projects.rafaelmartins.eng.br/cgisysinfo"
55 +HOMEPAGE="https://github.com/rafaelmartins/cgisysinfo"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 @@ -23,10 +27,8 @@ IUSE="fastcgi"
60 DEPEND="fastcgi? ( dev-libs/fcgi )"
61 RDEPEND="${DEPEND}"
62
63 -DOCS="README AUTHORS NEWS"
64 -
65 src_prepare() {
66 - [[ ${PV} = *9999* ]] && eautoreconf
67 + eautoreconf
68 }
69
70 src_configure() {
71
72 diff --git a/www-apps/cgisysinfo/metadata.xml b/www-apps/cgisysinfo/metadata.xml
73 index 94d26d8201c..44c61e61b12 100644
74 --- a/www-apps/cgisysinfo/metadata.xml
75 +++ b/www-apps/cgisysinfo/metadata.xml
76 @@ -13,4 +13,7 @@
77 tested with nginx + fcgiwrap. It should works with any CGI-capable web
78 server.
79 </longdescription>
80 + <upstream>
81 + <remote-id type="github">rafaelmartins/cgisysinfo</remote-id>
82 + </upstream>
83 </pkgmetadata>