1 |
commit: 7dcfc3a7cdbc8000015e2e6e83e7e0d88d973480 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 2 06:24:46 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 2 06:38:13 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dcfc3a7 |
7 |
|
8 |
app-admin/systemrescuecd-x86: Drop 6.0.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
app-admin/systemrescuecd-x86/Manifest | 1 - |
13 |
.../systemrescuecd-x86-6.0.0.ebuild | 69 ---------------------- |
14 |
2 files changed, 70 deletions(-) |
15 |
|
16 |
diff --git a/app-admin/systemrescuecd-x86/Manifest b/app-admin/systemrescuecd-x86/Manifest |
17 |
index af26ebf2df1..de08d61dd3a 100644 |
18 |
--- a/app-admin/systemrescuecd-x86/Manifest |
19 |
+++ b/app-admin/systemrescuecd-x86/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST systemrescuecd-6.0.0.iso 931135488 BLAKE2B 82879883780ff11a35f2fe635a5ee1a268de590bac79326ac2c49c960cd18755b3c10548d65eb5fb7ce5749c00f5040bb10c5ad5b196e48033fb70e3ff466026 SHA512 9bd8c06338357882fd8e3f17ddfb918e1f69e25fff6460957f9c50d496ccc3d4501e39b4596e3f387e4f7a481c9b33d18ba18fb49d74f6d916a7c5997b24c03a |
22 |
DIST systemrescuecd-6.0.3.iso 881852416 BLAKE2B ab1064237902542845e11869f7076a829e9593d29b8d106f0309c61a1371173cd5b3ef3fa3b84910cc81bcec485d27c8e297f269820aa96b0043df7c441121a2 SHA512 21b77e38999f56457a4c0a096eb58b2e74a8b376af33290b2e75995762e12a977435e8a9ed2ad9448799c3246d85f3bddfcafea020a1336b14f4f81644e06bb9 |
23 |
DIST systemrescuecd-x86-5.3.2.iso 585920512 BLAKE2B e68bb4e765359ac0e8124c9cb6090ed2ec9340a09e3ebafbcaa4acc175f8afe3985a57f193cd4be4192dfb23a6042a68328a29bbfb962f73fbe010c32d66e020 SHA512 c9da6a63556836bd38f7072b49a5408f2f9e5fa310dbae3f229c9b7af4fe6e073cdfc95b942bc1a6d9c42d41527fc54e8c6c15379082bc3ee0f025da80b01e5a |
24 |
|
25 |
diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-6.0.0.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-6.0.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index f35372ef646..00000000000 |
28 |
--- a/app-admin/systemrescuecd-x86/systemrescuecd-x86-6.0.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,69 +0,0 @@ |
31 |
-# Copyright 1999-2019 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
- |
36 |
-MY_P=${P/-x86/} |
37 |
-DESCRIPTION="The .iso image of SystemRescueCD rescue disk, amd64 variant" |
38 |
-HOMEPAGE="http://www.sysresccd.org/" |
39 |
-# Large ISO mirroring explicitly approved by infra in bug #588766 |
40 |
-SRC_URI="mirror://sourceforge/systemrescuecd/sysresccd-${PN#*-}/${PV}/${MY_P}.iso" |
41 |
- |
42 |
-LICENSE="Apache-1.0 Apache-2.0 Artistic Artistic-2 BEER-WARE BSD BSD-2 BSD-4 CC0-1.0 CC-BY-SA-3.0 FDL-1.3+ GPL-2 GPL-2+ GPL-3+ icu ISC JasPer2.0 LGPL-2+ LGPL-2.1+ LGPL-3+ linux-firmware MaxMind2 MIT MPL-1.1 MPL-2.0 no-source-code OFL Old-MIT OPENLDAP openssl PSF-2 public-domain Sleepycat unRAR UoI-NCSA vim ZLIB" |
43 |
-SLOT="${PV}" |
44 |
-KEYWORDS="~amd64 ~x86" |
45 |
-IUSE="+isohybrid" |
46 |
-RESTRICT="bindist mirror" |
47 |
- |
48 |
-DEPEND="isohybrid? ( >=sys-boot/syslinux-4 )" |
49 |
- |
50 |
-S=${WORKDIR} |
51 |
- |
52 |
-pkg_pretend() { |
53 |
- ewarn "Please note that starting with version 6.0.0, upstream has switched" |
54 |
- ewarn "to Arch Linux as base of their distribution, and running on 32-bit" |
55 |
- ewarn "systems is no longer supported." |
56 |
-} |
57 |
- |
58 |
-src_install() { |
59 |
- insinto "/usr/share/${PN%-*}" |
60 |
- doins "${DISTDIR}/${MY_P}.iso" |
61 |
- |
62 |
- if use isohybrid; then |
63 |
- set -- isohybrid -u "${ED%/}/usr/share/${PN%-*}/${MY_P}.iso" |
64 |
- echo "${@}" |
65 |
- "${@}" || die "${*} failed" |
66 |
- fi |
67 |
-} |
68 |
- |
69 |
-pkg_postinst() { |
70 |
- local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso |
71 |
- |
72 |
- # no version newer than ours? we're the newest! |
73 |
- if ! has_version ">${CATEGORY}/${PF}"; then |
74 |
- ln -f -s -v "${MY_P}.iso" "${f}" || die |
75 |
- fi |
76 |
-} |
77 |
- |
78 |
-pkg_postrm() { |
79 |
- local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso |
80 |
- |
81 |
- # if there is no version newer than ours installed |
82 |
- if ! has_version ">${CATEGORY}/${PF}"; then |
83 |
- # and we are truly and completely uninstalled... |
84 |
- if [[ ! ${REPLACED_BY_VERSION} ]]; then |
85 |
- # then find an older version to set the symlink to |
86 |
- local newest_version=$(best_version "<${CATEGORY}/${PF}") |
87 |
- |
88 |
- if [[ ${newest_version} ]]; then |
89 |
- # update the symlink |
90 |
- ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die |
91 |
- else |
92 |
- # last version removed? clean up the symlink |
93 |
- rm -v "${f}" || die |
94 |
- # and the parent directory |
95 |
- rmdir "${f%/*}" || die |
96 |
- fi |
97 |
- fi |
98 |
- fi |
99 |
-} |