* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/customrescuecd-x86/
@ 2020-08-14 19:41 Andrea Postiglione
0 siblings, 0 replies; 7+ messages in thread
From: Andrea Postiglione @ 2020-08-14 19:41 UTC (permalink / raw
To: gentoo-commits
commit: bc6b76c53ce768f2651581738ed6619b3b7f9e00
Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
AuthorDate: Fri Aug 14 19:40:53 2020 +0000
Commit: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
CommitDate: Fri Aug 14 19:40:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bc6b76c5
app-admin/customrescuecd-x86: initial ebuild
Signed-off-by: Andrea Postiglione <andrea.postiglione <AT> gmail.com>
app-admin/customrescuecd-x86/Manifest | 1 +
.../customrescuecd-x86-0.3.1.ebuild | 55 ++++++++++++++++++++++
app-admin/customrescuecd-x86/metadata.xml | 19 ++++++++
3 files changed, 75 insertions(+)
diff --git a/app-admin/customrescuecd-x86/Manifest b/app-admin/customrescuecd-x86/Manifest
new file mode 100644
index 0000000..047efe1
--- /dev/null
+++ b/app-admin/customrescuecd-x86/Manifest
@@ -0,0 +1 @@
+DIST CUSTOMRESCUECD-x86-0.3.1.iso 1426063360 BLAKE2B 8116b657aed9f5fb9ac0d56f6284bc45a4e050ad7e84cd4cb7c5217b07c9151c82776589aefa3c030cf766106bca7948d48cde2055c408c4e32ea081297b6117 SHA512 3aa0d2ab54920a19046fc1038313e01a99287301b06f25b1346c54d680c4ca2395e9c9010b3299cdc94a0198ec0f63209d09a1d086243e3b82216e7f4d63e0e6
diff --git a/app-admin/customrescuecd-x86/customrescuecd-x86-0.3.1.ebuild b/app-admin/customrescuecd-x86/customrescuecd-x86-0.3.1.ebuild
new file mode 100644
index 0000000..4c3a5f6
--- /dev/null
+++ b/app-admin/customrescuecd-x86/customrescuecd-x86-0.3.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="CUSTOMRESCUECD-x86"
+DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo"
+HOMEPAGE="https://sourceforge.net/projects/customrescuecd"
+SRC_URI="mirror://sourceforge/customrescuecd/"${MY_P}"-"${PV}".iso"
+
+LICENSE="GPL-3"
+SLOT="${PV}"
+KEYWORDS="~x86"
+RESTRICT="bindist mirror"
+
+S=${WORKDIR}
+
+src_unpack() { :; }
+
+src_install() {
+ insinto "/usr/share/${PN%-*}"
+ doins "${DISTDIR}/${MY_P}-${PV}.iso"
+}
+
+pkg_postinst() {
+ local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
+
+ # no version newer than ours? we're the newest!
+ if ! has_version ">${CATEGORY}/${PF}"; then
+ ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die
+ fi
+}
+
+pkg_postrm() {
+ local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
+
+ # if there is no version newer than ours installed
+ if ! has_version ">${CATEGORY}/${PF}"; then
+ # and we are truly and completely uninstalled...
+ if [[ ! ${REPLACED_BY_VERSION} ]]; then
+ # then find an older version to set the symlink to
+ local newest_version=$(best_version "<${CATEGORY}/${PF}")
+
+ if [[ ${newest_version} ]]; then
+ # update the symlink
+ ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
+ else
+ # last version removed? clean up the symlink
+ rm -v "${f}" || die
+ # and the parent directory
+ rmdir "${f%/*}" || die
+ fi
+ fi
+ fi
+}
diff --git a/app-admin/customrescuecd-x86/metadata.xml b/app-admin/customrescuecd-x86/metadata.xml
new file mode 100644
index 0000000..47af661
--- /dev/null
+++ b/app-admin/customrescuecd-x86/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>andrea.postiglione@gmail.com</email>
+ <name>Andrea Postiglione</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <use>
+ <flag name="isohybrid">
+ Pass downloaded images through isohybrid in order to make it
+ possible to copy them directly to USB media and boot (requires
+ <pkg>sys-boot/syslinux</pkg> at build time).
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">customrescuecd</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/customrescuecd-x86/
@ 2020-08-15 14:51 Andrea Postiglione
0 siblings, 0 replies; 7+ messages in thread
From: Andrea Postiglione @ 2020-08-15 14:51 UTC (permalink / raw
To: gentoo-commits
commit: 9492c002cb0605c503e949100c6c648033d2773d
Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
AuthorDate: Sat Aug 15 14:50:59 2020 +0000
Commit: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
CommitDate: Sat Aug 15 14:50:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9492c002
app-admin/customrescuecd-x86 : fix metadata
Signed-off-by: Andrea Postiglione <andrea.postiglione <AT> gmail.com>
app-admin/customrescuecd-x86/metadata.xml | 7 -------
1 file changed, 7 deletions(-)
diff --git a/app-admin/customrescuecd-x86/metadata.xml b/app-admin/customrescuecd-x86/metadata.xml
index 47af661..002f90c 100644
--- a/app-admin/customrescuecd-x86/metadata.xml
+++ b/app-admin/customrescuecd-x86/metadata.xml
@@ -6,13 +6,6 @@
<name>Andrea Postiglione</name>
</maintainer>
<stabilize-allarches/>
- <use>
- <flag name="isohybrid">
- Pass downloaded images through isohybrid in order to make it
- possible to copy them directly to USB media and boot (requires
- <pkg>sys-boot/syslinux</pkg> at build time).
- </flag>
- </use>
<upstream>
<remote-id type="sourceforge">customrescuecd</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/customrescuecd-x86/
@ 2020-10-18 10:44 Andrea Postiglione
0 siblings, 0 replies; 7+ messages in thread
From: Andrea Postiglione @ 2020-10-18 10:44 UTC (permalink / raw
To: gentoo-commits
commit: 8956bd9d743e5dddfbfcd31bab87c56838f7b2ae
Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
AuthorDate: Sun Oct 18 10:43:27 2020 +0000
Commit: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
CommitDate: Sun Oct 18 10:44:20 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8956bd9d
app-admin/customrescuecd-x86: version bump 0.4.0
Signed-off-by: Andrea Postiglione <andrea.postiglione <AT> gmail.com>
app-admin/customrescuecd-x86/Manifest | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-admin/customrescuecd-x86/Manifest b/app-admin/customrescuecd-x86/Manifest
index 047efe18..fbeeb1a2 100644
--- a/app-admin/customrescuecd-x86/Manifest
+++ b/app-admin/customrescuecd-x86/Manifest
@@ -1 +1,2 @@
DIST CUSTOMRESCUECD-x86-0.3.1.iso 1426063360 BLAKE2B 8116b657aed9f5fb9ac0d56f6284bc45a4e050ad7e84cd4cb7c5217b07c9151c82776589aefa3c030cf766106bca7948d48cde2055c408c4e32ea081297b6117 SHA512 3aa0d2ab54920a19046fc1038313e01a99287301b06f25b1346c54d680c4ca2395e9c9010b3299cdc94a0198ec0f63209d09a1d086243e3b82216e7f4d63e0e6
+DIST CUSTOMRESCUECD-x86-0.4.0.iso 1322811392 BLAKE2B f93550977a41d1d19a35f7ff2cc2cb7cdd94eb1ca1ade9fed6db7d7963297366b839c5590a17f85f2dec13e86588d651e94792dd12064f094eaffe3608117e03 SHA512 45bb47fc2b72e653c8f9d23a483aa5c59a92aabd306240d06f33d1c7249c905d7961670cbefc6d9d132a9a5fe1fdc7743ee3f1356a8e58724fea6a3073b08a86
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/customrescuecd-x86/
@ 2020-10-18 10:44 Andrea Postiglione
0 siblings, 0 replies; 7+ messages in thread
From: Andrea Postiglione @ 2020-10-18 10:44 UTC (permalink / raw
To: gentoo-commits
commit: 8da8ac573220bbeed379aef318e90cd8fb0b1ecd
Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
AuthorDate: Sun Oct 18 10:38:50 2020 +0000
Commit: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
CommitDate: Sun Oct 18 10:44:20 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8da8ac57
app-admin/customrescuecd-x86: version bump 0.4.0
Signed-off-by: Andrea Postiglione <andrea.postiglione <AT> gmail.com>
.../customrescuecd-x86-0.4.0.ebuild | 55 ++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.0.ebuild b/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.0.ebuild
new file mode 100644
index 00000000..4c3a5f62
--- /dev/null
+++ b/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="CUSTOMRESCUECD-x86"
+DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo"
+HOMEPAGE="https://sourceforge.net/projects/customrescuecd"
+SRC_URI="mirror://sourceforge/customrescuecd/"${MY_P}"-"${PV}".iso"
+
+LICENSE="GPL-3"
+SLOT="${PV}"
+KEYWORDS="~x86"
+RESTRICT="bindist mirror"
+
+S=${WORKDIR}
+
+src_unpack() { :; }
+
+src_install() {
+ insinto "/usr/share/${PN%-*}"
+ doins "${DISTDIR}/${MY_P}-${PV}.iso"
+}
+
+pkg_postinst() {
+ local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
+
+ # no version newer than ours? we're the newest!
+ if ! has_version ">${CATEGORY}/${PF}"; then
+ ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die
+ fi
+}
+
+pkg_postrm() {
+ local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
+
+ # if there is no version newer than ours installed
+ if ! has_version ">${CATEGORY}/${PF}"; then
+ # and we are truly and completely uninstalled...
+ if [[ ! ${REPLACED_BY_VERSION} ]]; then
+ # then find an older version to set the symlink to
+ local newest_version=$(best_version "<${CATEGORY}/${PF}")
+
+ if [[ ${newest_version} ]]; then
+ # update the symlink
+ ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
+ else
+ # last version removed? clean up the symlink
+ rm -v "${f}" || die
+ # and the parent directory
+ rmdir "${f%/*}" || die
+ fi
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/customrescuecd-x86/
@ 2020-10-20 11:40 Andrea Postiglione
0 siblings, 0 replies; 7+ messages in thread
From: Andrea Postiglione @ 2020-10-20 11:40 UTC (permalink / raw
To: gentoo-commits
commit: d396008128b2e8cb295a74a3568ab912fec94285
Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
AuthorDate: Tue Oct 20 11:39:51 2020 +0000
Commit: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
CommitDate: Tue Oct 20 11:39:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d3960081
app-admin/customrescuecd-x86: version bump to 0.4.1
Signed-off-by: Andrea Postiglione <andrea.postiglione <AT> gmail.com>
app-admin/customrescuecd-x86/Manifest | 1 +
.../customrescuecd-x86-0.4.1.ebuild | 55 ++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/app-admin/customrescuecd-x86/Manifest b/app-admin/customrescuecd-x86/Manifest
index fbeeb1a2..17dfa9e8 100644
--- a/app-admin/customrescuecd-x86/Manifest
+++ b/app-admin/customrescuecd-x86/Manifest
@@ -1,2 +1,3 @@
DIST CUSTOMRESCUECD-x86-0.3.1.iso 1426063360 BLAKE2B 8116b657aed9f5fb9ac0d56f6284bc45a4e050ad7e84cd4cb7c5217b07c9151c82776589aefa3c030cf766106bca7948d48cde2055c408c4e32ea081297b6117 SHA512 3aa0d2ab54920a19046fc1038313e01a99287301b06f25b1346c54d680c4ca2395e9c9010b3299cdc94a0198ec0f63209d09a1d086243e3b82216e7f4d63e0e6
DIST CUSTOMRESCUECD-x86-0.4.0.iso 1322811392 BLAKE2B f93550977a41d1d19a35f7ff2cc2cb7cdd94eb1ca1ade9fed6db7d7963297366b839c5590a17f85f2dec13e86588d651e94792dd12064f094eaffe3608117e03 SHA512 45bb47fc2b72e653c8f9d23a483aa5c59a92aabd306240d06f33d1c7249c905d7961670cbefc6d9d132a9a5fe1fdc7743ee3f1356a8e58724fea6a3073b08a86
+DIST CUSTOMRESCUECD-x86-0.4.1.iso 1322811392 BLAKE2B bd63d40baf6426ed525c13e91ce65469f8f2a263072003c4dc1adea1ca75f894d2517c94063488fa75e1fa6012202ddbbf5281378c17a26edad683ce49996391 SHA512 46f1a2f20697b666fc4506abb405a8ebf58b63a83c5faacfc70e352c9eb9cd4a75ca742ac0011119e8baadd6fb467cfb306d8009994dbf2879a45486ccfe57bc
diff --git a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild b/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild
new file mode 100644
index 00000000..4c3a5f62
--- /dev/null
+++ b/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="CUSTOMRESCUECD-x86"
+DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo"
+HOMEPAGE="https://sourceforge.net/projects/customrescuecd"
+SRC_URI="mirror://sourceforge/customrescuecd/"${MY_P}"-"${PV}".iso"
+
+LICENSE="GPL-3"
+SLOT="${PV}"
+KEYWORDS="~x86"
+RESTRICT="bindist mirror"
+
+S=${WORKDIR}
+
+src_unpack() { :; }
+
+src_install() {
+ insinto "/usr/share/${PN%-*}"
+ doins "${DISTDIR}/${MY_P}-${PV}.iso"
+}
+
+pkg_postinst() {
+ local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
+
+ # no version newer than ours? we're the newest!
+ if ! has_version ">${CATEGORY}/${PF}"; then
+ ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die
+ fi
+}
+
+pkg_postrm() {
+ local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
+
+ # if there is no version newer than ours installed
+ if ! has_version ">${CATEGORY}/${PF}"; then
+ # and we are truly and completely uninstalled...
+ if [[ ! ${REPLACED_BY_VERSION} ]]; then
+ # then find an older version to set the symlink to
+ local newest_version=$(best_version "<${CATEGORY}/${PF}")
+
+ if [[ ${newest_version} ]]; then
+ # update the symlink
+ ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
+ else
+ # last version removed? clean up the symlink
+ rm -v "${f}" || die
+ # and the parent directory
+ rmdir "${f%/*}" || die
+ fi
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/customrescuecd-x86/
@ 2020-10-23 14:03 Andrea Postiglione
0 siblings, 0 replies; 7+ messages in thread
From: Andrea Postiglione @ 2020-10-23 14:03 UTC (permalink / raw
To: gentoo-commits
commit: 9725c9c32848f0828b1b491108fa8ed493f9c1b1
Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
AuthorDate: Fri Oct 23 14:02:40 2020 +0000
Commit: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
CommitDate: Fri Oct 23 14:02:40 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9725c9c3
app-admin/customrescuecd-x86: drop old versions
Signed-off-by: Andrea Postiglione <andrea.postiglione <AT> gmail.com>
app-admin/customrescuecd-x86/Manifest | 2 -
.../customrescuecd-x86-0.3.1.ebuild | 55 ----------------------
.../customrescuecd-x86-0.4.0.ebuild | 55 ----------------------
3 files changed, 112 deletions(-)
diff --git a/app-admin/customrescuecd-x86/Manifest b/app-admin/customrescuecd-x86/Manifest
index 17dfa9e8..c9378b19 100644
--- a/app-admin/customrescuecd-x86/Manifest
+++ b/app-admin/customrescuecd-x86/Manifest
@@ -1,3 +1 @@
-DIST CUSTOMRESCUECD-x86-0.3.1.iso 1426063360 BLAKE2B 8116b657aed9f5fb9ac0d56f6284bc45a4e050ad7e84cd4cb7c5217b07c9151c82776589aefa3c030cf766106bca7948d48cde2055c408c4e32ea081297b6117 SHA512 3aa0d2ab54920a19046fc1038313e01a99287301b06f25b1346c54d680c4ca2395e9c9010b3299cdc94a0198ec0f63209d09a1d086243e3b82216e7f4d63e0e6
-DIST CUSTOMRESCUECD-x86-0.4.0.iso 1322811392 BLAKE2B f93550977a41d1d19a35f7ff2cc2cb7cdd94eb1ca1ade9fed6db7d7963297366b839c5590a17f85f2dec13e86588d651e94792dd12064f094eaffe3608117e03 SHA512 45bb47fc2b72e653c8f9d23a483aa5c59a92aabd306240d06f33d1c7249c905d7961670cbefc6d9d132a9a5fe1fdc7743ee3f1356a8e58724fea6a3073b08a86
DIST CUSTOMRESCUECD-x86-0.4.1.iso 1322811392 BLAKE2B bd63d40baf6426ed525c13e91ce65469f8f2a263072003c4dc1adea1ca75f894d2517c94063488fa75e1fa6012202ddbbf5281378c17a26edad683ce49996391 SHA512 46f1a2f20697b666fc4506abb405a8ebf58b63a83c5faacfc70e352c9eb9cd4a75ca742ac0011119e8baadd6fb467cfb306d8009994dbf2879a45486ccfe57bc
diff --git a/app-admin/customrescuecd-x86/customrescuecd-x86-0.3.1.ebuild b/app-admin/customrescuecd-x86/customrescuecd-x86-0.3.1.ebuild
deleted file mode 100644
index 4c3a5f62..00000000
--- a/app-admin/customrescuecd-x86/customrescuecd-x86-0.3.1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_P="CUSTOMRESCUECD-x86"
-DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo"
-HOMEPAGE="https://sourceforge.net/projects/customrescuecd"
-SRC_URI="mirror://sourceforge/customrescuecd/"${MY_P}"-"${PV}".iso"
-
-LICENSE="GPL-3"
-SLOT="${PV}"
-KEYWORDS="~x86"
-RESTRICT="bindist mirror"
-
-S=${WORKDIR}
-
-src_unpack() { :; }
-
-src_install() {
- insinto "/usr/share/${PN%-*}"
- doins "${DISTDIR}/${MY_P}-${PV}.iso"
-}
-
-pkg_postinst() {
- local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
-
- # no version newer than ours? we're the newest!
- if ! has_version ">${CATEGORY}/${PF}"; then
- ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die
- fi
-}
-
-pkg_postrm() {
- local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
-
- # if there is no version newer than ours installed
- if ! has_version ">${CATEGORY}/${PF}"; then
- # and we are truly and completely uninstalled...
- if [[ ! ${REPLACED_BY_VERSION} ]]; then
- # then find an older version to set the symlink to
- local newest_version=$(best_version "<${CATEGORY}/${PF}")
-
- if [[ ${newest_version} ]]; then
- # update the symlink
- ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
- else
- # last version removed? clean up the symlink
- rm -v "${f}" || die
- # and the parent directory
- rmdir "${f%/*}" || die
- fi
- fi
- fi
-}
diff --git a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.0.ebuild b/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.0.ebuild
deleted file mode 100644
index 4c3a5f62..00000000
--- a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_P="CUSTOMRESCUECD-x86"
-DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo"
-HOMEPAGE="https://sourceforge.net/projects/customrescuecd"
-SRC_URI="mirror://sourceforge/customrescuecd/"${MY_P}"-"${PV}".iso"
-
-LICENSE="GPL-3"
-SLOT="${PV}"
-KEYWORDS="~x86"
-RESTRICT="bindist mirror"
-
-S=${WORKDIR}
-
-src_unpack() { :; }
-
-src_install() {
- insinto "/usr/share/${PN%-*}"
- doins "${DISTDIR}/${MY_P}-${PV}.iso"
-}
-
-pkg_postinst() {
- local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
-
- # no version newer than ours? we're the newest!
- if ! has_version ">${CATEGORY}/${PF}"; then
- ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die
- fi
-}
-
-pkg_postrm() {
- local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
-
- # if there is no version newer than ours installed
- if ! has_version ">${CATEGORY}/${PF}"; then
- # and we are truly and completely uninstalled...
- if [[ ! ${REPLACED_BY_VERSION} ]]; then
- # then find an older version to set the symlink to
- local newest_version=$(best_version "<${CATEGORY}/${PF}")
-
- if [[ ${newest_version} ]]; then
- # update the symlink
- ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
- else
- # last version removed? clean up the symlink
- rm -v "${f}" || die
- # and the parent directory
- rmdir "${f%/*}" || die
- fi
- fi
- fi
-}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/customrescuecd-x86/
@ 2021-03-28 9:39 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2021-03-28 9:39 UTC (permalink / raw
To: gentoo-commits
commit: 0bac5ab9c3dc09b4c7c5b3ce98ade26b56f2c908
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 28 09:18:43 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 28 09:18:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0bac5ab9
app-admin/customrescuecd-x86: remove UnnecessarySlashStrip
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild b/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild
index 4c3a5f629..e4e9913ad 100644
--- a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild
+++ b/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -23,7 +23,7 @@ src_install() {
}
pkg_postinst() {
- local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
+ local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso
# no version newer than ours? we're the newest!
if ! has_version ">${CATEGORY}/${PF}"; then
@@ -32,7 +32,7 @@ pkg_postinst() {
}
pkg_postrm() {
- local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
+ local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso
# if there is no version newer than ours installed
if ! has_version ">${CATEGORY}/${PF}"; then
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-03-28 9:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-18 10:44 [gentoo-commits] repo/proj/guru:dev commit in: app-admin/customrescuecd-x86/ Andrea Postiglione
-- strict thread matches above, loose matches on Subject: below --
2021-03-28 9:39 Andrew Ammerlaan
2020-10-23 14:03 Andrea Postiglione
2020-10-20 11:40 Andrea Postiglione
2020-10-18 10:44 Andrea Postiglione
2020-08-15 14:51 Andrea Postiglione
2020-08-14 19:41 Andrea Postiglione
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox