Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/discount/
Date: Wed, 17 Oct 2018 17:20:51
Message-Id: 1539796822.1e8e7ede8accdfc1b0faf0630afab11c9dea201f.vdupras@gentoo
1 commit: 1e8e7ede8accdfc1b0faf0630afab11c9dea201f
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 17 17:20:22 2018 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 17 17:20:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e8e7ede
7
8 app-text/discount: remove old and vulnerable
9
10 We're having to drop arm stable keyword because its stablereq is taking
11 too long.
12
13 Bug: https://bugs.gentoo.org/658482
14 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
15 Package-Manager: Portage-2.3.51, Repoman-2.3.11
16
17 app-text/discount/Manifest | 3 --
18 app-text/discount/discount-2.1.8a-r1.ebuild | 77 -----------------------------
19 app-text/discount/discount-2.2.2.ebuild | 70 --------------------------
20 app-text/discount/discount-2.2.3a.ebuild | 70 --------------------------
21 4 files changed, 220 deletions(-)
22
23 diff --git a/app-text/discount/Manifest b/app-text/discount/Manifest
24 index cbba02172a6..905ec433cc0 100644
25 --- a/app-text/discount/Manifest
26 +++ b/app-text/discount/Manifest
27 @@ -1,4 +1 @@
28 -DIST discount-2.1.8a.tar.bz2 85161 BLAKE2B 15b2f3e935115e6b9f2c4ba1c11b1d6ea6f32123bd11c1e13dcab7fd9badac9a4f7d671c0cf04a6dd9564e40fbd6970f26c473c188444db75e0ee6b91a1ed1bc SHA512 a1eba7076a27da56136b8057189c5474a36bf11f8233cbae270c8a0cf9b070332b4dcdbbbecfbfbe1d8c19961ccaf87cee27ebe855c6bc6558d8ccc423553c96
29 -DIST discount-2.2.2.tar.bz2 89288 BLAKE2B 43950b3000f4d6e30603562694e965518be10107e534f48592f7f2d62959778244193fe5ab788f7f697bb099bb1ac940948ec92dabde1219a69bbe380eb5f66a SHA512 67d882c0a334592230332815c543458b3c916a950bf7983f8a468fbc9f61154b4023d4bf451b76639fcb3a076506b48118f192a8e21f2535b3f49c7f081bbdf3
30 -DIST discount-2.2.3a.tar.bz2 98325 BLAKE2B b566a6f4d5a1f3481a0a665f7820508784b2ce6ec60d0b4ff833bed46c01a9a6bf6a697fc528bcddd37232246982e861a89733bf6654cedecc95a09def729463 SHA512 cf995a46879f269f3e02f7d480303d229676bb36f71fe045d3a8eab7306fca9cce98496611b9fb9e0a14a9cf46ee66bd239dd9c946dff54ae09277fd66459c1f
31 DIST discount-2.2.4.tar.bz2 99482 BLAKE2B b04c372cef27d0a4a09a588eb66376dc70494eefe5c8a9e7aedb8075f081a6f32eafbb9671c29deea7d89128f4f30c93d38c17268eccbb1c917db6c1b7d3e040 SHA512 0650e0ce3f6948e3a30fdaa1a810e895f64621c55df46c7a5ed8755e65c1b718b7a1d1a1bfe0a87a3a59fbb13fca8907718f1aa095125a4b6e152602b8e490cf
32
33 diff --git a/app-text/discount/discount-2.1.8a-r1.ebuild b/app-text/discount/discount-2.1.8a-r1.ebuild
34 deleted file mode 100644
35 index f913f6fad1f..00000000000
36 --- a/app-text/discount/discount-2.1.8a-r1.ebuild
37 +++ /dev/null
38 @@ -1,77 +0,0 @@
39 -# Copyright 1999-2015 Gentoo Foundation
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=5
43 -
44 -inherit eutils multilib
45 -
46 -DESCRIPTION="An implementation of John Gruber's Markdown text to html language written in C"
47 -HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
48 -SRC_URI="http://www.pell.portland.or.us/~orc/Code/${PN}/${P}.tar.bz2"
49 -
50 -LICENSE="BSD"
51 -SLOT="0"
52 -KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
53 -IUSE="minimal"
54 -
55 -src_prepare() {
56 - # for QA, we remove the Makefile’s usage of install -s.
57 - # Drop ldconfig invocation.
58 - # Force “librarian.sh” to respect LDFLAGS ($FLAGS should have CFLAGS
59 - # at that point).
60 - sed -i \
61 - -e '/INSTALL_PROGRAM/s,-s ,,' \
62 - -e 's/\(LDCONFIG=\).*/\1:/' \
63 - -e 's/\(.\)\$FLAGS/& \1$LDFLAGS/' \
64 - configure.inc || die "sed configure.inc failed"
65 -
66 - # Add LDFLAGS and CPPFLAGS hackily.
67 - sed -i \
68 - -e 's/^CC[ \t]*=.*/& $(CPPFLAGS)/' \
69 - -e 's/^LFLAGS[ \t]*=.*/& $(LDFLAGS)/' \
70 - Makefile.in || die "Cannot fix LDFLAGS and CPPFLAGS"
71 -}
72 -
73 -src_configure() {
74 - # How econf() handles quoted whitespace. This should go away next
75 - # release of discount.
76 - eval "local -a DISCOUNT_EXTRA_CONFIGURE_SH=(${DISCOUNT_EXTRA_CONFIGURE_SH})"
77 -
78 - local configure_call=(
79 - ./configure.sh
80 - --libdir="${EPREFIX}"usr/"$(get_libdir)"
81 - --prefix="${EPREFIX}"usr
82 - --mandir="${EPREFIX}"usr/share/man
83 - --shared
84 - $(usex minimal '' --enable-all-features)
85 - # Because a lot of discount features are exposed through
86 - # ./configure.sh flags that, in the future, won’t be, I will
87 - # respect DISCOUNT_EXTRA_CONFIGURE_SH as a workaround pending
88 - # upstream https://github.com/Orc/discount/issues/124 for bug
89 - # #554520.
90 - "${DISCOUNT_EXTRA_CONFIGURE_SH[@]}"
91 - # Enable deterministic HTML generation behavior. Otherwise, will
92 - # actually call rand() as parse of its serialization code…
93 - --debian-glitch
94 - )
95 - einfo "Running ${configure_call[@]} || die"
96 - "${configure_call[@]}" || die
97 -}
98 -
99 -src_install() {
100 - emake \
101 - DESTDIR="${D}" \
102 - $(usex minimal install install.everything) \
103 - SAMPLE_PFX="${PN}-"
104 -}
105 -
106 -pkg_postinst() {
107 - if ! use minimal; then
108 - elog "Sample binaries with overly-generic names have been"
109 - elog "prefixed with \"${PN}-\". Please see"
110 - elog "https://github.com/Orc/discount/issues/81 for discussion."
111 - fi
112 - # This should also go away after 2.1.8a…
113 - elog "To configure advanced options, use DISCOUNT_EXTRA_CONFIGURE_SH"
114 - elog "and see https://bugs.gentoo.org/554520."
115 -}
116
117 diff --git a/app-text/discount/discount-2.2.2.ebuild b/app-text/discount/discount-2.2.2.ebuild
118 deleted file mode 100644
119 index bb4f809a591..00000000000
120 --- a/app-text/discount/discount-2.2.2.ebuild
121 +++ /dev/null
122 @@ -1,70 +0,0 @@
123 -# Copyright 1999-2016 Gentoo Foundation
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=6
127 -
128 -inherit toolchain-funcs
129 -
130 -DESCRIPTION="A Markdown-to HTML translator written in C"
131 -HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
132 -SRC_URI="http://www.pell.portland.or.us/~orc/Code/${PN}/${P}.tar.bz2"
133 -
134 -LICENSE="BSD"
135 -SLOT="0"
136 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
137 -IUSE="minimal test"
138 -
139 -src_prepare() {
140 - default
141 -
142 - # for QA, we remove the Makefile’s usage of install -s.
143 - # Drop ldconfig invocation.
144 - # Force “librarian.sh” to respect LDFLAGS ($FLAGS should have CFLAGS
145 - # at that point).
146 - sed -i \
147 - -e '/INSTALL_PROGRAM/s,-s ,,' \
148 - -e 's/\(LDCONFIG=\).*/\1:/' \
149 - -e 's/\(.\)\$FLAGS/& \1$LDFLAGS/' \
150 - configure.inc || die "sed configure.inc failed"
151 -
152 - # Add LDFLAGS and CPPFLAGS hackily.
153 - sed -i \
154 - -e 's/^CC[ \t]*=.*/& $(CPPFLAGS)/' \
155 - -e 's/^LFLAGS[ \t]*=.*/& $(LDFLAGS)/' \
156 - Makefile.in || die "Cannot fix LDFLAGS and CPPFLAGS"
157 -}
158 -
159 -src_configure() {
160 - local configure_call=(
161 - ./configure.sh
162 - --libdir="${EPREFIX}"usr/"$(get_libdir)"
163 - --prefix="${EPREFIX}"usr
164 - --mandir="${EPREFIX}"usr/share/man
165 - --shared
166 - --pkg-config
167 - $(usex minimal '' --enable-all-features)
168 - # Enable deterministic HTML generation behavior. Otherwise, will
169 - # actually call rand() as part of its serialization code...
170 - --debian-glitch
171 - )
172 - einfo "Running ${configure_call[@]}"
173 - CC="$(tc-getCC)" \
174 - "${configure_call[@]}" || die
175 -}
176 -
177 -src_install() {
178 - emake \
179 - DESTDIR="${D}" \
180 - $(usex minimal install install.everything) \
181 - SAMPLE_PFX="${PN}-"
182 -
183 - insinto /usr/$(get_libdir)/pkgconfig
184 - doins libmarkdown.pc
185 -}
186 -
187 -pkg_postinst() {
188 - if ! use minimal; then
189 - elog 'Sample binaries with overly-generic names have been'
190 - elog "prefixed with \"${PN}-\"."
191 - fi
192 -}
193
194 diff --git a/app-text/discount/discount-2.2.3a.ebuild b/app-text/discount/discount-2.2.3a.ebuild
195 deleted file mode 100644
196 index 8aa88de24c6..00000000000
197 --- a/app-text/discount/discount-2.2.3a.ebuild
198 +++ /dev/null
199 @@ -1,70 +0,0 @@
200 -# Copyright 1999-2016 Gentoo Foundation
201 -# Distributed under the terms of the GNU General Public License v2
202 -
203 -EAPI=6
204 -
205 -inherit toolchain-funcs
206 -
207 -DESCRIPTION="A Markdown-to HTML translator written in C"
208 -HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
209 -SRC_URI="http://www.pell.portland.or.us/~orc/Code/${PN}/${P}.tar.bz2"
210 -
211 -LICENSE="BSD"
212 -SLOT="0"
213 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
214 -IUSE="minimal test"
215 -
216 -src_prepare() {
217 - default
218 -
219 - # for QA, we remove the Makefile’s usage of install -s.
220 - # Drop ldconfig invocation.
221 - # Force “librarian.sh” to respect LDFLAGS ($FLAGS should have CFLAGS
222 - # at that point).
223 - sed -i \
224 - -e '/INSTALL_PROGRAM/s,\$_strip ,,' \
225 - -e 's/\(LDCONFIG=\).*/\1:/' \
226 - -e 's/\(.\)\$FLAGS/& \1$LDFLAGS/' \
227 - configure.inc || die "sed configure.inc failed"
228 -
229 - # Add LDFLAGS and CPPFLAGS hackily.
230 - sed -i \
231 - -e 's/^CC[ \t]*=.*/& $(CPPFLAGS)/' \
232 - -e 's/^LFLAGS[ \t]*=.*/& $(LDFLAGS)/' \
233 - Makefile.in || die "Cannot fix LDFLAGS and CPPFLAGS"
234 -}
235 -
236 -src_configure() {
237 - local configure_call=(
238 - ./configure.sh
239 - --libdir="${EPREFIX}"usr/"$(get_libdir)"
240 - --prefix="${EPREFIX}"usr
241 - --mandir="${EPREFIX}"usr/share/man
242 - --shared
243 - --pkg-config
244 - $(usex minimal '' --enable-all-features)
245 - # Enable deterministic HTML generation behavior. Otherwise, will
246 - # actually call rand() as part of its serialization code...
247 - --debian-glitch
248 - )
249 - einfo "Running ${configure_call[@]}"
250 - CC="$(tc-getCC)" \
251 - "${configure_call[@]}" || die
252 -}
253 -
254 -src_install() {
255 - emake \
256 - DESTDIR="${D}" \
257 - $(usex minimal install install.everything) \
258 - SAMPLE_PFX="${PN}-"
259 -
260 - insinto /usr/$(get_libdir)/pkgconfig
261 - doins libmarkdown.pc
262 -}
263 -
264 -pkg_postinst() {
265 - if ! use minimal; then
266 - elog 'Sample binaries with overly-generic names have been'
267 - elog "prefixed with \"${PN}-\"."
268 - fi
269 -}