Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/fortify-headers/
Date: Wed, 09 Jun 2021 23:56:18
Message-Id: 1623282949.7589439e29ef225b4fd936af8203f8ae8969021b.sam@gentoo
1 commit: 7589439e29ef225b4fd936af8203f8ae8969021b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 9 22:48:53 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 9 23:55:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7589439e
7
8 sys-libs/fortify-headers: add 1.1
9
10 Closes: https://bugs.gentoo.org/716234
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 sys-libs/fortify-headers/Manifest | 1 +
14 .../fortify-headers/fortify-headers-0.6.ebuild | 5 +--
15 .../fortify-headers/fortify-headers-0.7.ebuild | 5 +--
16 .../fortify-headers/fortify-headers-1.1.ebuild | 36 ++++++++++++++++++++++
17 .../fortify-headers/fortify-headers-9999.ebuild | 30 +++++++++++-------
18 5 files changed, 62 insertions(+), 15 deletions(-)
19
20 diff --git a/sys-libs/fortify-headers/Manifest b/sys-libs/fortify-headers/Manifest
21 index f31dc4adc86..3884323f635 100644
22 --- a/sys-libs/fortify-headers/Manifest
23 +++ b/sys-libs/fortify-headers/Manifest
24 @@ -1,2 +1,3 @@
25 DIST fortify-headers-0.6.tar.gz 5339 BLAKE2B 404a20de075551e11750f989e05d78f450b09fc879a7ff4b649773ebc012a93c42432cc7b60c70843a375d64f6aea3ec356cdfafc0133f8cc58dadfea9b982d3 SHA512 6106219332515e7c23354d916383cdac6efccba7eefa13b0c2c221d0fd03be7afb29b3a8622bd29b62ee0b602f9d1f273e1a08c07583bdcd12db9938ef4d7acc
26 DIST fortify-headers-0.7.tar.gz 5524 BLAKE2B 76ec4ee5b50bc77db05bf45a4a5550f3a369e5a49e333cd095613acbc04794d074103f3110c353a3283757f12cec866c45ed7d71ef4509667cae49926ee6953a SHA512 9335d5042f973904cf131d4894c71d3d25c84e82427500064a4ed3f798abd8051c3b52375a17c807ca89227115fa5ba9922939f0e86059a9f04fee61f0b69e53
27 +DIST fortify-headers-1.1.tar.gz 5510 BLAKE2B d0454ad3ba432c051aeabfffad82799fae4ef37c07a8d2b8efcc26cd867dea8b31586f312d2947cb7e6ef7eedcacc3bb68591be4409376cc702ffbbafe144ea0 SHA512 a39d6e7c002bf91085f712aa46bc3f53ff934cc963694a229fa82d84ff4a7556105212a84a231ab5367c01c6a1e385172173f1f4a34d5eb4d2d9c58472c23dd0
28
29 diff --git a/sys-libs/fortify-headers/fortify-headers-0.6.ebuild b/sys-libs/fortify-headers/fortify-headers-0.6.ebuild
30 index 9f9374176ea..e717acf59e4 100644
31 --- a/sys-libs/fortify-headers/fortify-headers-0.6.ebuild
32 +++ b/sys-libs/fortify-headers/fortify-headers-0.6.ebuild
33 @@ -1,4 +1,4 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 +# Copyright 1999-2021 Gentoo Authors
36 # Distributed under the terms of the GNU General Public License v2
37
38 EAPI=6
39 @@ -7,7 +7,8 @@ if [[ ${PV} == *9999* ]] ; then
40 EGIT_REPO_URI="git://git.2f30.org/fortify-headers"
41 inherit git-r3
42 else
43 - SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
44 + #SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
45 + SRC_URI="https://dl.2f30.org/releases/${P}.tar.gz"
46 KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
47 fi
48
49
50 diff --git a/sys-libs/fortify-headers/fortify-headers-0.7.ebuild b/sys-libs/fortify-headers/fortify-headers-0.7.ebuild
51 index 9f9374176ea..e717acf59e4 100644
52 --- a/sys-libs/fortify-headers/fortify-headers-0.7.ebuild
53 +++ b/sys-libs/fortify-headers/fortify-headers-0.7.ebuild
54 @@ -1,4 +1,4 @@
55 -# Copyright 1999-2018 Gentoo Foundation
56 +# Copyright 1999-2021 Gentoo Authors
57 # Distributed under the terms of the GNU General Public License v2
58
59 EAPI=6
60 @@ -7,7 +7,8 @@ if [[ ${PV} == *9999* ]] ; then
61 EGIT_REPO_URI="git://git.2f30.org/fortify-headers"
62 inherit git-r3
63 else
64 - SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
65 + #SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
66 + SRC_URI="https://dl.2f30.org/releases/${P}.tar.gz"
67 KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
68 fi
69
70
71 diff --git a/sys-libs/fortify-headers/fortify-headers-1.1.ebuild b/sys-libs/fortify-headers/fortify-headers-1.1.ebuild
72 new file mode 100644
73 index 00000000000..5347e1e5768
74 --- /dev/null
75 +++ b/sys-libs/fortify-headers/fortify-headers-1.1.ebuild
76 @@ -0,0 +1,36 @@
77 +# Copyright 1999-2021 Gentoo Authors
78 +# Distributed under the terms of the GNU General Public License v2
79 +
80 +EAPI=7
81 +
82 +if [[ ${PV} == *9999* ]] ; then
83 + EGIT_REPO_URI="git://git.2f30.org/fortify-headers"
84 + inherit git-r3
85 +else
86 + #SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
87 + SRC_URI="https://dl.2f30.org/releases/${P}.tar.gz"
88 + KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
89 +fi
90 +
91 +DESCRIPTION="A standalone implementation of fortify source"
92 +HOMEPAGE="http://git.2f30.org/fortify-headers/"
93 +
94 +LICENSE="ISC"
95 +SLOT="0"
96 +
97 +src_prepare() {
98 + sed -i -e 's|^PREFIX = /usr/local|PREFIX = /usr|g' Makefile || die
99 + default
100 +}
101 +
102 +src_compile() {
103 + # Nothing to do here but defining a dummy phase allows us to not trigger
104 + # the catch-all rule and try to install here where we don't have access
105 + # to ${ED}
106 + :;
107 +}
108 +
109 +src_install() {
110 + export DESTDIR="${ED}"
111 + default
112 +}
113
114 diff --git a/sys-libs/fortify-headers/fortify-headers-9999.ebuild b/sys-libs/fortify-headers/fortify-headers-9999.ebuild
115 index 9f9374176ea..5347e1e5768 100644
116 --- a/sys-libs/fortify-headers/fortify-headers-9999.ebuild
117 +++ b/sys-libs/fortify-headers/fortify-headers-9999.ebuild
118 @@ -1,28 +1,36 @@
119 -# Copyright 1999-2018 Gentoo Foundation
120 +# Copyright 1999-2021 Gentoo Authors
121 # Distributed under the terms of the GNU General Public License v2
122
123 -EAPI=6
124 +EAPI=7
125
126 if [[ ${PV} == *9999* ]] ; then
127 EGIT_REPO_URI="git://git.2f30.org/fortify-headers"
128 inherit git-r3
129 else
130 - SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
131 + #SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
132 + SRC_URI="https://dl.2f30.org/releases/${P}.tar.gz"
133 KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
134 fi
135
136 -DESCRIPTION="A standalone implementation of fortify source."
137 +DESCRIPTION="A standalone implementation of fortify source"
138 HOMEPAGE="http://git.2f30.org/fortify-headers/"
139
140 LICENSE="ISC"
141 SLOT="0"
142 -IUSE=""
143 -
144 -DEPEND=""
145 -RDEPEND="${DEPEND}"
146
147 src_prepare() {
148 - sed -i -e 's|^PREFIX = /usr/local|PREFIX = /usr|g' Makefile
149 - export DESTDIR="${D}"
150 - eapply_user
151 + sed -i -e 's|^PREFIX = /usr/local|PREFIX = /usr|g' Makefile || die
152 + default
153 +}
154 +
155 +src_compile() {
156 + # Nothing to do here but defining a dummy phase allows us to not trigger
157 + # the catch-all rule and try to install here where we don't have access
158 + # to ${ED}
159 + :;
160 +}
161 +
162 +src_install() {
163 + export DESTDIR="${ED}"
164 + default
165 }