net-analyzer/rrdtool: Use HTTPS.
authorJeroen Roovers <jer@gentoo.org>
Sat, 24 Mar 2018 12:43:09 +0000 (13:43 +0100)
committerJeroen Roovers <jer@gentoo.org>
Sat, 24 Mar 2018 12:44:24 +0000 (13:44 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-analyzer/rrdtool/rrdtool-1.6.0-r1.ebuild
net-analyzer/rrdtool/rrdtool-1.7.0.ebuild

index 9d61df1ee9a946c3b5bc80fd605a10bbeffdba77..b6a50b536199cf68b472663ab8a50531addc3e69 100644 (file)
@@ -9,9 +9,11 @@ GENTOO_DEPEND_ON_PERL=no
 PYTHON_COMPAT=( python2_7 )
 inherit autotools eutils perl-module distutils-r1 flag-o-matic multilib
 
+MY_P=${P/_/-}
+
 DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P/_/-}.tar.gz"
+HOMEPAGE="https://oss.oetiker.ch/rrdtool/"
+SRC_URI="${HOMEPAGE}pub/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0/8.0.0"
@@ -48,8 +50,7 @@ RDEPEND="
 PDEPEND="
        ruby? ( ~dev-ruby/rrdtool-bindings-${PV} )
 "
-
-S=${WORKDIR}/${P/_/-}
+S=${WORKDIR}/${MY_P}
 
 python_compile() {
        cd bindings/python || die
index 88256ecc9dc2c85f0c74b98b9b6ded996f2fcf5f..955b659434e52293de05851394f4bf515b03cf76 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,9 +9,11 @@ GENTOO_DEPEND_ON_PERL=no
 PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 inherit autotools perl-module distutils-r1 flag-o-matic multilib
 
+MY_P=${P/_/-}
+
 DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P/_/-}.tar.gz"
+HOMEPAGE="https://oss.oetiker.ch/rrdtool/"
+SRC_URI="${HOMEPAGE}pub/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0/8.0.0"
@@ -55,8 +57,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-1.7.0-disable-rrd_graph-cgi.patch
 
 )
-
-S=${WORKDIR}/${P/_/-}
+S=${WORKDIR}/${MY_P}
 
 python_compile() {
        cd bindings/python || die