1 |
commit: a17553b5e415ee745e117a012305493fbd242441 |
2 |
Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Feb 2 08:43:08 2022 +0000 |
4 |
Commit: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Feb 2 08:43:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a17553b5 |
7 |
|
8 |
app-admin/customrescuecd-x86_64-0.12.4: version bump |
9 |
|
10 |
Signed-off-by: Andrea Postiglione <andrea.postiglione <AT> gmail.com> |
11 |
|
12 |
app-admin/customrescuecd-x86_64/Manifest | 3 +- |
13 |
.../customrescuecd-x86_64-0.12.3.ebuild | 55 ---------------------- |
14 |
....ebuild => customrescuecd-x86_64-0.12.4.ebuild} | 0 |
15 |
3 files changed, 1 insertion(+), 57 deletions(-) |
16 |
|
17 |
diff --git a/app-admin/customrescuecd-x86_64/Manifest b/app-admin/customrescuecd-x86_64/Manifest |
18 |
index e6ffc7dcc..69fcb1f6d 100644 |
19 |
--- a/app-admin/customrescuecd-x86_64/Manifest |
20 |
+++ b/app-admin/customrescuecd-x86_64/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST CUSTOMRESCUECD-x86_64-0.12.2.iso 1516290048 BLAKE2B c9d2b857948c09a16b86bb9ccb7373f1908f52f97ed21c64ef422e6d7c3501278fd7871b34c035a70554b494926325d1be2978df729ffd93cb7f3bee6b0c5adc SHA512 f215116878557ada9d321ba018970723a1e3905cbebf12aac5e1e65e97c9180f852fcfff5c2133c28e97bb3d1eb8fb80ca26bbf307de8b202fa39eb02a474abd |
23 |
-DIST CUSTOMRESCUECD-x86_64-0.12.3.iso 1531445248 BLAKE2B a4873c26660cebb9f12b70df9aba0fef8dc64d2e15184f8054d252c3f893c967dcbc00b6b5cc154e726379c6a8cf6d024e432eba41de35a5488715f9a1ddb877 SHA512 fa2d535918f1bc321f65ae111b806c91aa34e09d32907fc1c12ee186b2ed4e96494d0c555101fe3d969f3364b95bae5496ff8a2ed6b350f6321b8f084cac6192 |
24 |
+DIST CUSTOMRESCUECD-x86_64-0.12.4.iso 1581383680 BLAKE2B cdf282a5d95a3aad7b178234eafd82d6b76969716b9b9f6b6c5c52b4c53e993db684b8f258502640fcb7b1fe6347c6de395d21dab954507cbe361c5bc953b705 SHA512 b12698432bc99ef1ddea8129512b45fe48debf0e3b47f15327f0a38e80dd54e5b7fa88489858ab7cd8fc4b3b14db3dd1f383a876950fcc6f6a3bee19293b8265 |
25 |
|
26 |
diff --git a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.3.ebuild b/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.3.ebuild |
27 |
deleted file mode 100644 |
28 |
index d57a8059d..000000000 |
29 |
--- a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.3.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.2.ebuild b/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.4.ebuild |
89 |
similarity index 100% |
90 |
rename from app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.2.ebuild |
91 |
rename to app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.4.ebuild |