1 |
commit: bc5d5f40fda8c0eec04badae2e572a7e1fd40a35 |
2 |
Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Oct 23 14:04:27 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Fri Oct 23 14:04:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bc5d5f40 |
7 |
|
8 |
app-admin/customrescuecd-x86_64: drop old versions |
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.10.3.ebuild | 55 ---------------------- |
14 |
.../customrescuecd-x86_64-0.11.0.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 39fa287c..aefacd25 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.10.3.iso 1537474560 BLAKE2B d4812074013323d8372bd71bea1c81cbe8cb88e0cf87dd1ec7c4373a1c4f4023cfec383ea3327cb75aa903021d929ac7a29290a2a9a7a75857c591827af7a148 SHA512 1092dc85a82c1f17c362b19e91d36602debaab7d52a98945ebb494f9d8bec03fb07b16649c7401233a060ce95905c3f9259107c2eb9f80bd63d759740754105e |
23 |
-DIST CUSTOMRESCUECD-x86_64-0.11.0.iso 1265106944 BLAKE2B f6732d1f903c02a49ed13525e19f957ccc5a78466cdc62d609579d2aaf2bfa5bcdf5cf2597089d3634fa8124cff3293030703e95187771c7517d890226997245 SHA512 6099c5a344c701936743bbbfad02206dca7937b6c6b796fa7cb42ad42a544c731fa2e0895a94d138cd3d91d34791a5ed88d723973e2e383e900ad1a385a27482 |
24 |
DIST CUSTOMRESCUECD-x86_64-0.11.1.iso 1261371392 BLAKE2B b12dc61fb2c91fd04832ba22af3421f7223c40ae8e1fe2bd4fc0beeb0aafbc1b11a82aacb16282ce7dd14621e3be717af90363d157c5f36ee33f3eb03a36e26a SHA512 07475353e883756b2782ad6727440132d6f97b9bca7f3cd9180b5a47290a8a0361fb672ef01ac5a5ea5862b1b4ec7bec85990710a53b7a190cce321b24660d01 |
25 |
|
26 |
diff --git a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.10.3.ebuild b/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.10.3.ebuild |
27 |
deleted file mode 100644 |
28 |
index 96d32df6..00000000 |
29 |
--- a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.10.3.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,55 +0,0 @@ |
32 |
-# Copyright 1999-2019 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.11.0.ebuild b/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.11.0.ebuild |
89 |
deleted file mode 100644 |
90 |
index 96d32df6..00000000 |
91 |
--- a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.11.0.ebuild |
92 |
+++ /dev/null |
93 |
@@ -1,55 +0,0 @@ |
94 |
-# Copyright 1999-2019 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 |
-} |