dev-util/cproto: use HTTPS, fix SRC_URI
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Wed, 17 Apr 2019 15:50:05 +0000 (17:50 +0200)
committerAaron Bauman <bman@gentoo.org>
Thu, 25 Apr 2019 03:36:26 +0000 (23:36 -0400)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11720
Signed-off-by: Aaron Bauman <bman@gentoo.org>
dev-util/cproto/Manifest
dev-util/cproto/cproto-4.7e.ebuild

index cb109754e9bd7c9b9f675186c5b3210bed44ef32..1f31cc9df09c5669c0605e415c1a3e9634de0051 100644 (file)
@@ -1 +1 @@
-DIST cproto-4_7e.tgz 145919 BLAKE2B 97e3b3bf3b282299d177bf2ea8548f91f8dc6432671b93187d91fc00ca02807f5d3a370cc563cbb46fa163f23fe5ff034d9e148e6621eaf87f7e9658e925c6fc SHA512 c9a1da8e19d85600109127e2de079cff5e66e51f0f3220f9a69e72e720ed6d745ef456b3a645bbb4755073c6ce59411d0137d9012da545736e92380f41c83985
+DIST cproto-4.7e.tgz 145919 BLAKE2B 97e3b3bf3b282299d177bf2ea8548f91f8dc6432671b93187d91fc00ca02807f5d3a370cc563cbb46fa163f23fe5ff034d9e148e6621eaf87f7e9658e925c6fc SHA512 c9a1da8e19d85600109127e2de079cff5e66e51f0f3220f9a69e72e720ed6d745ef456b3a645bbb4755073c6ce59411d0137d9012da545736e92380f41c83985
index 14609348833fcc864cd2df9430ea861fb39ed8af..afd959a583b6eee3c2801e6443bce9704fa637c1 100644 (file)
@@ -1,15 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=0
 
-MY_PV="4_7e"
-MY_P=${PN}-${MY_PV}
-S=${WORKDIR}/${MY_P}
-
 DESCRIPTION="Generate C function prototypes from C source code"
-HOMEPAGE="http://invisible-island.net/cproto/"
-SRC_URI="ftp://invisible-island.net/cproto/${MY_P}.tgz"
+HOMEPAGE="https://invisible-island.net/cproto/"
+SRC_URI="ftp://ftp.invisible-island.net/cproto//${P}.tgz"
 
 LICENSE="public-domain"
 SLOT="0"
@@ -20,6 +16,8 @@ DEPEND="sys-devel/flex
        virtual/yacc"
 RDEPEND=""
 
+S=${WORKDIR}/${P/./_}
+
 src_install() {
        dobin cproto || die
        doman cproto.1