1 |
commit: 5947c4122cada9cd88ad865368bb4cc40e6a6988 |
2 |
Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Sep 27 16:34:22 2021 +0000 |
4 |
Commit: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Sep 27 16:34:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5947c412 |
7 |
|
8 |
app-admin/customrescuecd-x86_64: drop old version |
9 |
|
10 |
Signed-off-by: Andrea Postiglione <andrea.postiglione <AT> gmail.com> |
11 |
|
12 |
app-admin/customrescuecd-x86_64/Manifest | 2 - |
13 |
.../customrescuecd-x86_64-0.12.0.ebuild | 55 ---------------------- |
14 |
.../customrescuecd-x86_64-0.12.1.ebuild | 55 ---------------------- |
15 |
3 files changed, 112 deletions(-) |
16 |
|
17 |
diff --git a/app-admin/customrescuecd-x86_64/Manifest b/app-admin/customrescuecd-x86_64/Manifest |
18 |
index 3b699a7e3..4fa64e256 100644 |
19 |
--- a/app-admin/customrescuecd-x86_64/Manifest |
20 |
+++ b/app-admin/customrescuecd-x86_64/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST CUSTOMRESCUECD-x86_64-0.12.0.iso 1409351680 BLAKE2B 656cd518c0110ff2d84c12bf5db2973701dde6fd8c1b9d65e991f429719856c196223d49487c7b0bf89ec50081fcf97f47b6ad952d4958c3dc4ba423526fdd1d SHA512 83dd17712c10a7db66a00fd89f94ada7bbc230badd67369e7c368bcffd1ec08838195f258280c63e70f8680072984a9dc6cebed6a4dd7dc95ff41171cc694609 |
23 |
-DIST CUSTOMRESCUECD-x86_64-0.12.1.iso 1467744256 BLAKE2B 743f4f4a2dbeb545a201557b584a0ae3e2d04ec3a44c7cead90f954d8e2c53f3b7321f1765ffe123de7da0c0782ae9d3efa6a8360493099c66914ea00dc8553a SHA512 f69d5acdfaf916207b8de07eb7e4b5695e29772a4afa40ae500233a1f812fd1bdf74f3a8a2b0d2387a2d7f1a9c7a99d8d9c5f5c22fbf3c1b5e0311d7550ea57c |
24 |
DIST CUSTOMRESCUECD-x86_64-0.12.2.iso 1516290048 BLAKE2B c9d2b857948c09a16b86bb9ccb7373f1908f52f97ed21c64ef422e6d7c3501278fd7871b34c035a70554b494926325d1be2978df729ffd93cb7f3bee6b0c5adc SHA512 f215116878557ada9d321ba018970723a1e3905cbebf12aac5e1e65e97c9180f852fcfff5c2133c28e97bb3d1eb8fb80ca26bbf307de8b202fa39eb02a474abd |
25 |
|
26 |
diff --git a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.0.ebuild b/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.0.ebuild |
27 |
deleted file mode 100644 |
28 |
index d57a8059d..000000000 |
29 |
--- a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.0.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,55 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-MY_P="CUSTOMRESCUECD-x86_64" |
38 |
-DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo" |
39 |
-HOMEPAGE="https://sourceforge.net/projects/customrescuecd" |
40 |
-SRC_URI="mirror://sourceforge/customrescuecd/"${MY_P}"-"${PV}".iso" |
41 |
- |
42 |
-LICENSE="GPL-3" |
43 |
-SLOT="${PV}" |
44 |
-KEYWORDS="~amd64" |
45 |
-RESTRICT="bindist mirror" |
46 |
- |
47 |
-S=${WORKDIR} |
48 |
- |
49 |
-src_unpack() { :; } |
50 |
- |
51 |
-src_install() { |
52 |
- insinto "/usr/share/${PN%-*}" |
53 |
- doins "${DISTDIR}/${MY_P}-${PV}.iso" |
54 |
-} |
55 |
- |
56 |
-pkg_postinst() { |
57 |
- local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso |
58 |
- |
59 |
- # no version newer than ours? we're the newest! |
60 |
- if ! has_version ">${CATEGORY}/${PF}"; then |
61 |
- ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die |
62 |
- fi |
63 |
-} |
64 |
- |
65 |
-pkg_postrm() { |
66 |
- local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso |
67 |
- |
68 |
- # if there is no version newer than ours installed |
69 |
- if ! has_version ">${CATEGORY}/${PF}"; then |
70 |
- # and we are truly and completely uninstalled... |
71 |
- if [[ ! ${REPLACED_BY_VERSION} ]]; then |
72 |
- # then find an older version to set the symlink to |
73 |
- local newest_version=$(best_version "<${CATEGORY}/${PF}") |
74 |
- |
75 |
- if [[ ${newest_version} ]]; then |
76 |
- # update the symlink |
77 |
- ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die |
78 |
- else |
79 |
- # last version removed? clean up the symlink |
80 |
- rm -v "${f}" || die |
81 |
- # and the parent directory |
82 |
- rmdir "${f%/*}" || die |
83 |
- fi |
84 |
- fi |
85 |
- fi |
86 |
-} |
87 |
|
88 |
diff --git a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.1.ebuild b/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.1.ebuild |
89 |
deleted file mode 100644 |
90 |
index d57a8059d..000000000 |
91 |
--- a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.1.ebuild |
92 |
+++ /dev/null |
93 |
@@ -1,55 +0,0 @@ |
94 |
-# Copyright 1999-2021 Gentoo Authors |
95 |
-# Distributed under the terms of the GNU General Public License v2 |
96 |
- |
97 |
-EAPI=7 |
98 |
- |
99 |
-MY_P="CUSTOMRESCUECD-x86_64" |
100 |
-DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo" |
101 |
-HOMEPAGE="https://sourceforge.net/projects/customrescuecd" |
102 |
-SRC_URI="mirror://sourceforge/customrescuecd/"${MY_P}"-"${PV}".iso" |
103 |
- |
104 |
-LICENSE="GPL-3" |
105 |
-SLOT="${PV}" |
106 |
-KEYWORDS="~amd64" |
107 |
-RESTRICT="bindist mirror" |
108 |
- |
109 |
-S=${WORKDIR} |
110 |
- |
111 |
-src_unpack() { :; } |
112 |
- |
113 |
-src_install() { |
114 |
- insinto "/usr/share/${PN%-*}" |
115 |
- doins "${DISTDIR}/${MY_P}-${PV}.iso" |
116 |
-} |
117 |
- |
118 |
-pkg_postinst() { |
119 |
- local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso |
120 |
- |
121 |
- # no version newer than ours? we're the newest! |
122 |
- if ! has_version ">${CATEGORY}/${PF}"; then |
123 |
- ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die |
124 |
- fi |
125 |
-} |
126 |
- |
127 |
-pkg_postrm() { |
128 |
- local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso |
129 |
- |
130 |
- # if there is no version newer than ours installed |
131 |
- if ! has_version ">${CATEGORY}/${PF}"; then |
132 |
- # and we are truly and completely uninstalled... |
133 |
- if [[ ! ${REPLACED_BY_VERSION} ]]; then |
134 |
- # then find an older version to set the symlink to |
135 |
- local newest_version=$(best_version "<${CATEGORY}/${PF}") |
136 |
- |
137 |
- if [[ ${newest_version} ]]; then |
138 |
- # update the symlink |
139 |
- ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die |
140 |
- else |
141 |
- # last version removed? clean up the symlink |
142 |
- rm -v "${f}" || die |
143 |
- # and the parent directory |
144 |
- rmdir "${f%/*}" || die |
145 |
- fi |
146 |
- fi |
147 |
- fi |
148 |
-} |