Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/rar/
Date: Wed, 13 Mar 2019 22:58:32
Message-Id: 1552517898.a4423901d0a918ee1b67013f60b2a5d5aa960914.whissi@gentoo
1 commit: a4423901d0a918ee1b67013f60b2a5d5aa960914
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 13 22:54:38 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 13 22:58:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4423901
7
8 app-arch/rar: security cleanup
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 app-arch/rar/Manifest | 6 --
14 app-arch/rar/rar-5.6.1_p20180930.ebuild | 109 --------------------------
15 app-arch/rar/rar-5.7.0_beta2_p20190221.ebuild | 109 --------------------------
16 3 files changed, 224 deletions(-)
17
18 diff --git a/app-arch/rar/Manifest b/app-arch/rar/Manifest
19 index 7d21e786325..ac62d10d819 100644
20 --- a/app-arch/rar/Manifest
21 +++ b/app-arch/rar/Manifest
22 @@ -1,9 +1,3 @@
23 -DIST rarlinux-5.6.1_p20180930.tar.gz 552418 BLAKE2B 7a162a9e63336296e67064fe64d5bdefa4f0027bc23f27a419f14e5302fed7ed45bb78541ff7f3a417ed9f6e88700f4306d4ab3dbfb160a27dbf612df67f0c44 SHA512 b566d8d05068557987b69aa3b9610597c7226f7ff96ab935be33f3437b78d02dd539366b3a8499dc4c1d953a640a8a27f21b3f979969b71c6e3bde51a1118b00
24 -DIST rarlinux-5.7.0_beta2_p20190221.tar.gz 558880 BLAKE2B 91de934e542e8dfa347f42ca501b1b8b6f20ac1f00464dd43350abc791edd85bb6c10e5e1446500876b00a89375ab621a77ee582a9055cc6eb87f9c5821ec785 SHA512 f0f0c91ca60635649284051970179b584d206bb7427b41c379b4fbac4079a0d79a3821af79f8ec0deb12ae42c56a357445b64b6c24d15455a6bf2e36f1904b1c
25 DIST rarlinux-5.7.0_p20190224.tar.gz 558744 BLAKE2B 3c7b9337767ce8045069b3a851878661e6cae950c69b09bc8c15b86c0fbf4d0b02ce55d198d1ce65ca9e5f227ab1188817f6bdfbce76ef1f8468caa4addfa733 SHA512 ed13c8191888c78dbd2f838f9f17d200bec827ac74024063f3c679fb2051b8e9b5e861d8ab4c9c7d0c8a14017c41386647b0bfd880d0d4855e8da06c17d9d270
26 -DIST rarlinux-x64-5.6.1_p20180930.tar.gz 541765 BLAKE2B c3c115fe168df801ce81fbb31de810893539c2f3bcfb176e65ab0db9994fba0d2e3aa848cf073068651e301c1b36cf3d885d80841e6cf63ddb22d3210c14ab64 SHA512 b873397cc44ffe722248638f0315a445e7f8b39ce310d45b79e27d8c2662bf7bc8a095a3e7c4a8fa92e24551328530955f6f18a8553a1612ea00bec8ccaf2e37
27 -DIST rarlinux-x64-5.7.0_beta2_p20190221.tar.gz 546553 BLAKE2B 740e60b9a83d9d8335ca573a9659e90e14e70f81c0c0c3b4a6fb235a316e1cb2e368494c980d80fb4799a32aea5ba4f80c2b28f3c3ae98ad6e1afb43ff9c0d0a SHA512 2027dd824d6c989eaeb2a2588100e40122a65f45c6682b00269b84aec43da3db4b7aa350ba58bab8ab68cb77fdad1b2d5854ae44b7629aa8db57b9046976d96d
28 DIST rarlinux-x64-5.7.0_p20190224.tar.gz 546390 BLAKE2B cdf251bbf834c1826d138d811fcf9009a97f45876366192421e601b3075bcad87f760ed5740b00b1620cdd7c569800dd589ddf3fda80db1da30cb223edb0e43a SHA512 48a4aefca44250795687e9f435c13c0c730b86c1abd0c229a1e3234372f13b38c310956525b81e4a5fe9074b39ce7438baaa2c243e4b53259e46d22c53989e3e
29 -DIST winrar-x64-5.6.1_p20180930.exe 3190008 BLAKE2B c1411bd15b62ce63a5adc078ef2f7b2941ead91c683b8ade713b1e0a76075281f3c188d46de7d9f1da1caf37c4a4989bf9b35009401f8efa172fa0a4fddefdca SHA512 38c057b765a9a0ed51229018c9ececf94b8b6360a820e73db1af96412b6437614357f885c4c81ce89bc261bb3221d19cfb20284f16881eada0c46debe84f11b1
30 -DIST winrar-x64-5.7.0_beta2_p20190221.exe 3141680 BLAKE2B 6e74c9ad2c2f978d33a9f815a320fd1ede49e1e45c118e47cdb221a211cc27c6b4f59ff7b9856435923a80ee2bfc5785533f43d314669274efc2e4d15148fef4 SHA512 428489d587ea380c1eb6e4d8ef918c29e0562da85a01cdb70dafe1fb211e2ee159f5854331e3227b1c8176c89d8ef3c84fa071be33e2ae73be557a2394ba4401
31 DIST winrar-x64-5.7.0_p20190224.exe 3142272 BLAKE2B 89b4adfc7317eb8def65f4e9f0ad7e23a9eb039dd451a97afd34a229b5fe0d19bf62cfbd507ade6a0cb32e1985d6dbd83ee61076673bfeda0d061fd1e7f22469 SHA512 a4853bcd410800818c3fcabf7d0e926612447604fbabfad2bc90c67717a50ca1c293882ff5ed3614b044d8bb1c1d9afe5dff90b836bb9c62efc994b52430c9e1
32
33 diff --git a/app-arch/rar/rar-5.6.1_p20180930.ebuild b/app-arch/rar/rar-5.6.1_p20180930.ebuild
34 deleted file mode 100644
35 index 4e7e71caf69..00000000000
36 --- a/app-arch/rar/rar-5.6.1_p20180930.ebuild
37 +++ /dev/null
38 @@ -1,109 +0,0 @@
39 -# Copyright 1999-2019 Gentoo Authors
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI="6"
43 -
44 -DESCRIPTION="RAR compressor/uncompressor"
45 -HOMEPAGE="https://rarlab.com/"
46 -URI_x86="https://mirror.whissi.de/distfiles/rar/rarlinux-${PV}.tar.gz"
47 -URI_amd64="https://mirror.whissi.de/distfiles/rar/rarlinux-x64-${PV}.tar.gz"
48 -URI_w64="https://mirror.whissi.de/distfiles/rar/winrar-x64-${PV}.exe"
49 -SRC_URI="x86? ( ${URI_x86} )
50 - amd64? ( ${URI_amd64} )
51 - all_sfx? (
52 - ${URI_x86}
53 - ${URI_amd64}
54 - ${URI_w64}
55 - )"
56 -
57 -LICENSE="RAR BSD BSD-2"
58 -SLOT="0"
59 -KEYWORDS="-* amd64 x86"
60 -IUSE="all_sfx"
61 -RESTRICT="mirror bindist"
62 -
63 -DEPEND="all_sfx? ( app-arch/unrar )"
64 -RDEPEND="sys-libs/glibc"
65 -
66 -S="${WORKDIR}/${PN}"
67 -
68 -QA_FLAGS_IGNORED="opt/rar/default.sfx
69 - opt/rar/default-elf32.sfx
70 - opt/rar/default-elf64.sfx
71 - opt/rar/default-win32.sfx
72 - opt/rar/default-win64.sfx
73 - opt/rar/WinCon.SFX
74 - opt/rar/WinCon64.SFX
75 - opt/rar/Zip.SFX
76 - opt/rar/Zip64.SFX
77 - opt/rar/unrar
78 - opt/rar/rar"
79 -QA_PRESTRIPPED=${QA_FLAGS_IGNORED}
80 -
81 -src_unpack() {
82 - local _file
83 -
84 - for _file in ${A}; do
85 - if [[ "${_file}" == rarli* ]]; then
86 - if [[ "${_file}" =~ x64 ]]; then
87 - if ! use amd64; then
88 - continue
89 - fi
90 -
91 - unpack "${_file}"
92 - elif [[ ! "${_file}" =~ x64 ]]; then
93 - if ! use x86; then
94 - continue
95 - fi
96 -
97 - unpack "${_file}"
98 - else
99 - die "Unknown SRC file '${_file}'!"
100 - fi
101 - fi
102 - done
103 -
104 - rm -f "${S}"/license.txt
105 -
106 - if use all_sfx ; then
107 - mkdir sfx
108 - cd sfx
109 - for _file in ${A}; do
110 - if [[ "${_file}" == rarli* ]]; then
111 - unpack "${_file}"
112 - if [[ "${_file}" =~ x64 ]]; then
113 - mv rar/default.sfx default-elf64.sfx || die
114 - else
115 - mv rar/default.sfx default-elf32.sfx || die
116 - fi
117 - elif [[ "${_file}" == winrar* ]]; then
118 - ln -s "${DISTDIR}"/${_file} w64.rar || die
119 - unpack ./w64.rar
120 - mv Default.SFX default-win32.sfx || die
121 - mv Default64.SFX default-win64.sfx || die
122 - else
123 - die "Unknown SFX file '${_file}'!"
124 - fi
125 - done
126 - fi
127 -}
128 -
129 -src_compile() { :; }
130 -
131 -src_install() {
132 - exeinto /opt/rar
133 - doexe rar unrar || die
134 -
135 - dodir /opt/bin
136 - dosym ../rar/rar /opt/bin/rar || die
137 - dosym ../rar/unrar /opt/bin/unrar || die
138 -
139 - insinto /opt/rar
140 - if use all_sfx ; then
141 - doins "${WORKDIR}"/sfx/*.{sfx,SFX} || die
142 - else
143 - doins default.sfx || die
144 - fi
145 - doins rarfiles.lst || die
146 - dodoc *.txt
147 -}
148
149 diff --git a/app-arch/rar/rar-5.7.0_beta2_p20190221.ebuild b/app-arch/rar/rar-5.7.0_beta2_p20190221.ebuild
150 deleted file mode 100644
151 index a7303d59494..00000000000
152 --- a/app-arch/rar/rar-5.7.0_beta2_p20190221.ebuild
153 +++ /dev/null
154 @@ -1,109 +0,0 @@
155 -# Copyright 1999-2019 Gentoo Authors
156 -# Distributed under the terms of the GNU General Public License v2
157 -
158 -EAPI="6"
159 -
160 -DESCRIPTION="RAR compressor/uncompressor"
161 -HOMEPAGE="https://rarlab.com/"
162 -URI_x86="https://mirror.whissi.de/distfiles/rar/rarlinux-${PV}.tar.gz"
163 -URI_amd64="https://mirror.whissi.de/distfiles/rar/rarlinux-x64-${PV}.tar.gz"
164 -URI_w64="https://mirror.whissi.de/distfiles/rar/winrar-x64-${PV}.exe"
165 -SRC_URI="x86? ( ${URI_x86} )
166 - amd64? ( ${URI_amd64} )
167 - all_sfx? (
168 - ${URI_x86}
169 - ${URI_amd64}
170 - ${URI_w64}
171 - )"
172 -
173 -LICENSE="RAR BSD BSD-2"
174 -SLOT="0"
175 -KEYWORDS="-* ~amd64 ~x86"
176 -IUSE="all_sfx"
177 -RESTRICT="mirror bindist"
178 -
179 -DEPEND="all_sfx? ( app-arch/unrar )"
180 -RDEPEND="sys-libs/glibc"
181 -
182 -S="${WORKDIR}/${PN}"
183 -
184 -QA_FLAGS_IGNORED="opt/rar/default.sfx
185 - opt/rar/default-elf32.sfx
186 - opt/rar/default-elf64.sfx
187 - opt/rar/default-win32.sfx
188 - opt/rar/default-win64.sfx
189 - opt/rar/WinCon.SFX
190 - opt/rar/WinCon64.SFX
191 - opt/rar/Zip.SFX
192 - opt/rar/Zip64.SFX
193 - opt/rar/unrar
194 - opt/rar/rar"
195 -QA_PRESTRIPPED=${QA_FLAGS_IGNORED}
196 -
197 -src_unpack() {
198 - local _file
199 -
200 - for _file in ${A}; do
201 - if [[ "${_file}" == rarli* ]]; then
202 - if [[ "${_file}" =~ x64 ]]; then
203 - if ! use amd64; then
204 - continue
205 - fi
206 -
207 - unpack "${_file}"
208 - elif [[ ! "${_file}" =~ x64 ]]; then
209 - if ! use x86; then
210 - continue
211 - fi
212 -
213 - unpack "${_file}"
214 - else
215 - die "Unknown SRC file '${_file}'!"
216 - fi
217 - fi
218 - done
219 -
220 - rm -f "${S}"/license.txt
221 -
222 - if use all_sfx ; then
223 - mkdir sfx
224 - cd sfx
225 - for _file in ${A}; do
226 - if [[ "${_file}" == rarli* ]]; then
227 - unpack "${_file}"
228 - if [[ "${_file}" =~ x64 ]]; then
229 - mv rar/default.sfx default-elf64.sfx || die
230 - else
231 - mv rar/default.sfx default-elf32.sfx || die
232 - fi
233 - elif [[ "${_file}" == winrar* ]]; then
234 - ln -s "${DISTDIR}"/${_file} w64.rar || die
235 - unpack ./w64.rar
236 - mv Default.SFX default-win32.sfx || die
237 - mv Default64.SFX default-win64.sfx || die
238 - else
239 - die "Unknown SFX file '${_file}'!"
240 - fi
241 - done
242 - fi
243 -}
244 -
245 -src_compile() { :; }
246 -
247 -src_install() {
248 - exeinto /opt/rar
249 - doexe rar unrar || die
250 -
251 - dodir /opt/bin
252 - dosym ../rar/rar /opt/bin/rar || die
253 - dosym ../rar/unrar /opt/bin/unrar || die
254 -
255 - insinto /opt/rar
256 - if use all_sfx ; then
257 - doins "${WORKDIR}"/sfx/*.{sfx,SFX} || die
258 - else
259 - doins default.sfx || die
260 - fi
261 - doins rarfiles.lst || die
262 - dodoc *.txt
263 -}