From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/systemrescuecd-x86/
Date: Fri, 16 Nov 2018 07:59:47 +0000 (UTC) [thread overview]
Message-ID: <1542355181.9ceb4952fbb9402c0b31b7d2b606e8a8fe47d411.mgorny@gentoo> (raw)
commit: 9ceb4952fbb9402c0b31b7d2b606e8a8fe47d411
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 16 07:42:01 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 16 07:59:41 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ceb4952
app-admin/systemrescuecd-x86: Bump to 5.3.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-admin/systemrescuecd-x86/Manifest | 1 +
.../systemrescuecd-x86-5.3.2.ebuild | 61 ++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/app-admin/systemrescuecd-x86/Manifest b/app-admin/systemrescuecd-x86/Manifest
index 9edf7db3501..142edad5865 100644
--- a/app-admin/systemrescuecd-x86/Manifest
+++ b/app-admin/systemrescuecd-x86/Manifest
@@ -34,3 +34,4 @@ DIST systemrescuecd-x86-5.2.1.iso 570523648 BLAKE2B 9bb6b2ff7b9930f658baddbf60ef
DIST systemrescuecd-x86-5.2.2.iso 572006400 BLAKE2B 2cc95acc529ae8e0525664ffbdfefaf6e4513e8135fa6af120121b0b7930b0203bd17d5d70ccafacfe0064bb8615f45aa22b6e6e3fcee8a005a0315fd9b5cf62 SHA512 7dd1ccd63775e35f6589808416468c4a9314f4a7a5d0cb1f2bc34ffb9eef3a450b0da244dfc9e325d828c39404c0cdcce27cc990eade33762c17a1e32f8db9b5
DIST systemrescuecd-x86-5.3.0.iso 607547392 BLAKE2B 92aa82e54794adc1705111776b4df21bd39f96bdbed1c6e05bb24b01fd1a12d92fb1209241289f89adca7885fd441ddd61639d5168978b95dd0784faec65f32a SHA512 082a82a2882b62012944184107b2655de6c89f5a6c26145a3edb2b5a54ff6aad6a4ef43edc0468e62895daf4d5365d2722ffa8bf4f2f8e60f1ee7d9a727b013d
DIST systemrescuecd-x86-5.3.1.iso 573913088 BLAKE2B 3c4da5777d05999e0b3e30b01dc821a4e840bb22d513fa4bfb9fdf601b9811676be8cee7ed9aae0aa7b971916add500b39172964384a2a07b3ed1cf5b946ba04 SHA512 1038622e148995450e61cd27f65af2ecb929ec8d0367fec3dbde01410a33596ec8f183d79ab931595c21deb597d60dae45ad516d8e1f00f32013729bdcd53ec8
+DIST systemrescuecd-x86-5.3.2.iso 585920512 BLAKE2B e68bb4e765359ac0e8124c9cb6090ed2ec9340a09e3ebafbcaa4acc175f8afe3985a57f193cd4be4192dfb23a6042a68328a29bbfb962f73fbe010c32d66e020 SHA512 c9da6a63556836bd38f7072b49a5408f2f9e5fa310dbae3f229c9b7af4fe6e073cdfc95b942bc1a6d9c42d41527fc54e8c6c15379082bc3ee0f025da80b01e5a
diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.3.2.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.3.2.ebuild
new file mode 100644
index 00000000000..7ae127d5dec
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.3.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="The .iso image of SystemRescueCD rescue disk, x86 (+ amd64) variant"
+HOMEPAGE="http://www.sysresccd.org/"
+# Large ISO mirroring explicitly approved by infra in bug #588766
+SRC_URI="mirror://sourceforge/systemrescuecd/sysresccd-${PN#*-}/${PV}/${P}.iso"
+
+LICENSE="GPL-2"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+isohybrid"
+
+DEPEND="isohybrid? ( >=sys-boot/syslinux-4 )"
+
+S=${WORKDIR}
+
+src_install() {
+ insinto "/usr/share/${PN%-*}"
+ doins "${DISTDIR}/${P}.iso"
+
+ if use isohybrid; then
+ set -- isohybrid -u "${ED}usr/share/${PN%-*}/${P}.iso"
+ echo "${@}"
+ "${@}" || die "${*} failed"
+ fi
+}
+
+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 "${P}.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
+}
next reply other threads:[~2018-11-16 7:59 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-16 7:59 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-06-02 6:40 [gentoo-commits] repo/gentoo:master commit in: app-admin/systemrescuecd-x86/ Michał Górny
2019-04-18 11:44 Michał Górny
2019-04-18 11:44 Michał Górny
2019-04-07 7:27 Michał Górny
2019-04-01 19:00 Ulrich Müller
2019-04-01 14:58 Ulrich Müller
2019-04-01 12:23 Michał Górny
2019-02-03 7:53 Michał Górny
2018-12-28 8:17 Mikle Kolyada
2018-12-24 13:02 Mikle Kolyada
2018-10-20 18:18 Mikle Kolyada
2018-10-19 17:52 Thomas Deutschmann
2018-09-18 6:19 Michał Górny
2018-09-05 6:20 Michał Górny
2018-05-27 9:04 Mikle Kolyada
2018-05-27 8:41 Michał Górny
2018-04-03 17:30 Michał Górny
2018-03-25 21:16 Mikle Kolyada
2018-02-24 21:19 Michał Górny
2018-02-04 8:44 Michał Górny
2018-01-05 0:47 Mikle Kolyada
2017-11-06 15:10 Michał Górny
2017-09-30 7:27 Michał Górny
2017-09-08 7:32 Michał Górny
2017-08-25 13:01 Michał Górny
2017-07-30 5:46 Michał Górny
2017-06-12 9:40 Michał Górny
2017-05-25 8:07 Michał Górny
2017-04-23 11:44 Michał Górny
2017-03-07 15:58 Michał Górny
2017-02-01 12:27 Michał Górny
2016-10-30 15:31 Michał Górny
2016-10-02 10:54 Michał Górny
2016-09-22 14:43 Michał Górny
2016-08-13 18:32 Michał Górny
2016-07-13 17:22 Robin H. Johnson
2016-07-01 22:09 Michał Górny
2016-06-23 12:48 Michał Górny
2016-05-25 15:22 Michał Górny
2016-04-24 19:39 Michał Górny
2016-01-19 22:08 Michał Górny
2015-11-06 21:53 Michał Górny
2015-09-09 16:47 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1542355181.9ceb4952fbb9402c0b31b7d2b606e8a8fe47d411.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox