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: Mon, 12 Jun 2017 09:40:11 +0000 (UTC) [thread overview]
Message-ID: <1497260398.e9f83ac7ccc48d89a95a61bcbe3c2932805d4c72.mgorny@gentoo> (raw)
commit: e9f83ac7ccc48d89a95a61bcbe3c2932805d4c72
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 12 07:41:57 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 12 09:39:58 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9f83ac7
app-admin/systemrescuecd-x86: Bump to 5.0.2
app-admin/systemrescuecd-x86/Manifest | 1 +
.../systemrescuecd-x86-5.0.2.ebuild | 61 ++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/app-admin/systemrescuecd-x86/Manifest b/app-admin/systemrescuecd-x86/Manifest
index 516d3c5687c..091cd731aff 100644
--- a/app-admin/systemrescuecd-x86/Manifest
+++ b/app-admin/systemrescuecd-x86/Manifest
@@ -23,3 +23,4 @@ DIST systemrescuecd-x86-4.9.5.iso 520032256 SHA256 ffe944b6c74ca5da16396d4c647ea
DIST systemrescuecd-x86-4.9.6.iso 566126592 SHA256 345600159383a70cfd6dd8c32831ca6296610f95d3487e471e34c49721cfb1e8 SHA512 89f6fdc89f91e515d2d84543998ce2c4629c88d290d4aa16f9ad42e194ad7720ec02155a30e19a4744e5d68db0bb476fc86cafe64ec9eb62ff809c32504841b5 WHIRLPOOL 6452efa46721aabd53ebdd9d4506eeb28618481cf04858995bba2e78c4780019217575f5187b4e104e39b476da718359e3d229b4648bdcc3258f31b3a06a8b78
DIST systemrescuecd-x86-5.0.0.iso 484790272 SHA256 0f04739b9a4c5b3174e4ffe462e23f8b700f9fdff37c75b64e7913b768bd9427 SHA512 67e442f229c55d16a13a46619134afee14fd7cf71e9d5e3d6f54a7b2ce3646e9ff89a17605c05f7a255b251c3bc56004aa9a59bd06f3ed69f7f4b9057ea6ea6c WHIRLPOOL 67b5ccec685746845361aa710e936aa6c693e08cd514283ad4805b44c385de19f5d3ba45cc349ae4b284c28046919ff8cd117a7f458a52fd488a2860f97359b4
DIST systemrescuecd-x86-5.0.1.iso 485711872 SHA256 17f56dc7779d3716539a39a312ddb07d27f2cb1aa55b12420960bd67b00f6c9f SHA512 b18663574e54f1b6b5a147aa947d8faa4ad7eff7d756e8c3cee5397fdf3ac97c1c907f65a61403b2f0a7583fb9ad0fb74c920a8040365f6caad649371deeb1c4 WHIRLPOOL c33d81ebcec3d5f6744c7a8ccb5d33ae1b1847e31fcf43f66bfa4fdfdeeb226950562665f2a8b41d67c6077ec9cbea62ec8836135b3c391865f4171e147cc04a
+DIST systemrescuecd-x86-5.0.2.iso 495773696 SHA256 a2abdaf5750b09886cedcc5233d91ad3d1083e10380e555c7ca50849befbf487 SHA512 eaf5c080fbf810c0f966335c1f2f797f8e756c03a6246c8f2e2dd13637a66a160fd0d966095849d16b94664bf973bb9064e1f9f91785f0fd51372820c90b905f WHIRLPOOL 1b2cef05c0d8dff99757cfcf15c21ca3de42d6a5d41ec876bd4196af7f44209387b695e0e75ea03b00f1615be9a7b2c94eb41c1a72326c0c67df1e4129db4362
diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.0.2.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.0.2.ebuild
new file mode 100644
index 00000000000..a15aecbe41c
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.0.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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:[~2017-06-12 9:40 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-12 9:40 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-11-16 7:59 Michał Górny
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-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=1497260398.e9f83ac7ccc48d89a95a61bcbe3c2932805d4c72.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