public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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: Sun, 30 Oct 2016 15:31:38 +0000 (UTC)	[thread overview]
Message-ID: <1477841491.3d4214e8eb2e85cdc6d33219e4d4d49320c95958.mgorny@gentoo> (raw)

commit:     3d4214e8eb2e85cdc6d33219e4d4d49320c95958
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 15:30:30 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 30 15:31:31 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d4214e8

app-admin/systemrescuecd-x86: Bump to 4.9.0

 app-admin/systemrescuecd-x86/Manifest              |  1 +
 .../systemrescuecd-x86-4.9.0.ebuild                | 62 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/app-admin/systemrescuecd-x86/Manifest b/app-admin/systemrescuecd-x86/Manifest
index e7eea67..2bbf0ca 100644
--- a/app-admin/systemrescuecd-x86/Manifest
+++ b/app-admin/systemrescuecd-x86/Manifest
@@ -14,3 +14,4 @@ DIST systemrescuecd-x86-4.8.0.iso 488042496 SHA256 06e6847384063bbb67c1c8f0824e9
 DIST systemrescuecd-x86-4.8.1.iso 483315712 SHA256 144cc9e936c5fa9d11232ac4d1717a8d0ae4b95a2b5f9c8548afab6fbe9cfbd2 SHA512 0424fab36e2caf7e3e9dd7c334d57b7eb9a090e3d79c52ea8e003e05931558b48be5375ac49eaaa78141d179d7153c91c386a42d7ead8d56ef3113363b8ff692 WHIRLPOOL 5ded246b624cad86fa93c244e5b53f6edd28ddc8909c53fcfc8049de47a68a0811a4e83d78d94a95df559bdb99bfc22ef59d3b68326791199cdfe1b414ac6135
 DIST systemrescuecd-x86-4.8.2.iso 497338368 SHA256 0daf5602899ae41f419fc7027f8f77b2c96a3e2a7d923acf65761619dc6c54d8 SHA512 6467e383382edcd4a92aae60404b0f1451f6941c147dd911296f911a001d0002546d1fe4d4f49dc1eafc688aa53eaa07948b6f7f388fc87830ec1c58093b1135 WHIRLPOOL 4b2ac5f344abcd8974a30e092829ee4d9e32a7fe71aa7f598524394199f705b314ff535464dd31a4074dc3d9a0297fd7e583ef62b2bf8c1f262dd4a78d031229
 DIST systemrescuecd-x86-4.8.3.iso 498751488 SHA256 1a4a1d35e32a812f42415596695e4dec9f50781c251d034579a45df1e9049e3e SHA512 6111ad0b238ece75bef707f40668f6e7d039eeee4e89acf6e975e07ce6084f7d00da3c24e3271d3d75a504849e1799d1155691a0d6f5f1dd82966a41b7f5ec04 WHIRLPOOL e971b64aac87c40debe0c243c25585c6a6471680330c65b7ea5cae822c2d6d6923923e83c2b01355f0ea6a3d3fadac6980f8ba058f5f9ea398061ca1737af661
+DIST systemrescuecd-x86-4.9.0.iso 504498176 SHA256 1e84a298fd156826fc0a066f559b894bb89d6ab1ff13594233d7aa3499157de7 SHA512 04c89f0140245992aac2659b2b0114ae2961bd382ca302a70fe8dc2348286099601011b16c339cb95ca13345aaed94749272a61f86223dec30cb31328565665b WHIRLPOOL 0734747c4546f367b110688282be293e768cfdd1fb0bb1ff405c1cee4b4bd42c8f2f59639a417513fe0dd28b01dfa67db38641ebe95c07af0a6839089230e8ff

diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.0.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.0.ebuild
new file mode 100644
index 00000000..cb7c7b5
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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
+}


             reply	other threads:[~2016-10-30 15:31 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-30 15:31 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-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-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=1477841491.3d4214e8eb2e85cdc6d33219e4d4d49320c95958.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