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: Wed,  9 Sep 2015 16:47:10 +0000 (UTC)	[thread overview]
Message-ID: <1441817220.4ce6a8a8e18ace1b046bd71c6492ec7fb0a2ae54.mgorny@gentoo> (raw)

commit:     4ce6a8a8e18ace1b046bd71c6492ec7fb0a2ae54
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  9 16:47:00 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep  9 16:47:00 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ce6a8a8

app-admin/systemrescuecd-x86: Version bump to 4.6.0

Package-Manager: portage-2.2.20

 app-admin/systemrescuecd-x86/Manifest              |  1 +
 .../systemrescuecd-x86-4.6.0.ebuild                | 55 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/app-admin/systemrescuecd-x86/Manifest b/app-admin/systemrescuecd-x86/Manifest
index 1c0a7a5..af9e335 100644
--- a/app-admin/systemrescuecd-x86/Manifest
+++ b/app-admin/systemrescuecd-x86/Manifest
@@ -4,3 +4,4 @@ DIST systemrescuecd-x86-4.5.1.iso 443541504 SHA256 4fda2fce55a46c7b258fba10c88a4
 DIST systemrescuecd-x86-4.5.2.iso 456060928 SHA256 e8805433699acd7b6df38ff893eddad8c6f287a09cc34be3f6fef46d3e5056c4 SHA512 b27223b08032f0132f81204a244638262cf70348a1a299e5bf63971db556d604e52d8c3408e3943c305eac887c2e38ed6d2b1488633595c9f8c1cc087162f911 WHIRLPOOL 0c304b5622e0079746128832133b7f554b8dd6536b447d399da150539c6425ed6ec6aaaef4d3d034ff9a6e814812f9f0ac3383b07f83f13ede9e00d917f2ad5b
 DIST systemrescuecd-x86-4.5.3.iso 458467328 SHA256 16aadc8bef95a0f409a7865054e8597b1001d815b22d976556c103379ea6aba3 SHA512 14774e9a882d5a505532ab8bee85e81867f5d30674df471eb76cae84678eae00fa3992c894b6c90b85c7eaa20bdc04ffe910a7a432092faf3329c08bf54eff49 WHIRLPOOL 7fa6a4e708453bc149d50b56fc05e77ed0d14a6ebab0c939f4e33d92ccbf2409de0da1154425f633e7e4415a3de7f9dc705131259e290b5a40b51f4f43b0f7dd
 DIST systemrescuecd-x86-4.5.4.iso 459102208 SHA256 333827d5375cbb9bb201aa2c36871d941e78eeb66652c18c76664154a30eb9a4 SHA512 c32904413516af917de3d58b8eaf3b5701b9c49b1249daf1f8eca060497d5278fedbb0c0d86907bf94ddeab716dc8bf014e0baed0aee66141e8967207805d446 WHIRLPOOL 75c46f12dd92b093e4194e3b67ca020aefc43a3d9e27d94088a2c2f7f0ccad5cd44f7d7fbec4185956756fc3a3bf8845a82ab7a3d171c6ce3d8672f76e9c46e0
+DIST systemrescuecd-x86-4.6.0.iso 467294208 SHA256 cdf1db091a7d963e3395f4d9b90f40b2b0b939c99ae9138178d5abc6dfa31e0f SHA512 f90d46adb8ab19b19eae589744808bcbd50aa0b0eac22eca92a09e8407c77e7a2bf573c2c72b37f497a9d287c90b20164b213bf007b538063f758b12b1da11eb WHIRLPOOL f6f8a674d3971309361997b2c5a06ddcec15bbdf069a5177dab3a0701c95f55723bcd835f8e3bac0e5b756d9a5115f4828ceac0af7edef903af16ece0c24e81a

diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.6.0.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.6.0.ebuild
new file mode 100644
index 0000000..d7cc39e
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.6.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 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/"
+SRC_URI="mirror://sourceforge/systemrescuecd/sysresccd-${PN#*-}/${PV}/${P}.iso"
+
+LICENSE="GPL-2"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}
+
+RESTRICT="mirror"
+
+src_install() {
+	insinto "/usr/share/${PN%-*}"
+	doins "${DISTDIR}/${P}.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 "${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:[~2015-09-09 16:47 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-09 16:47 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-11-06 21:53 [gentoo-commits] repo/gentoo:master commit in: app-admin/systemrescuecd-x86/ Michał Górny
2016-01-19 22:08 Michał Górny
2016-04-24 19:39 Michał Górny
2016-05-25 15:22 Michał Górny
2016-06-23 12:48 Michał Górny
2016-07-01 22:09 Michał Górny
2016-07-13 17:22 Robin H. Johnson
2016-08-13 18:32 Michał Górny
2016-09-22 14:43 Michał Górny
2016-10-02 10:54 Michał Górny
2016-10-30 15:31 Michał Górny
2017-02-01 12:27 Michał Górny
2017-03-07 15:58 Michał Górny
2017-04-23 11:44 Michał Górny
2017-05-25  8:07 Michał Górny
2017-06-12  9:40 Michał Górny
2017-07-30  5:46 Michał Górny
2017-08-25 13:01 Michał Górny
2017-09-08  7:32 Michał Górny
2017-09-30  7:27 Michał Górny
2017-11-06 15:10 Michał Górny
2018-01-05  0:47 Mikle Kolyada
2018-02-04  8:44 Michał Górny
2018-02-24 21:19 Michał Górny
2018-03-25 21:16 Mikle Kolyada
2018-04-03 17:30 Michał Górny
2018-05-27  8:41 Michał Górny
2018-05-27  9:04 Mikle Kolyada
2018-09-05  6:20 Michał Górny
2018-09-18  6:19 Michał Górny
2018-10-19 17:52 Thomas Deutschmann
2018-10-20 18:18 Mikle Kolyada
2018-11-16  7:59 Michał Górny
2018-12-24 13:02 Mikle Kolyada
2018-12-28  8:17 Mikle Kolyada
2019-02-03  7:53 Michał Górny
2019-04-01 12:23 Michał Górny
2019-04-01 14:58 Ulrich Müller
2019-04-01 19:00 Ulrich Müller
2019-04-07  7:27 Michał Górny
2019-04-18 11:44 Michał Górny
2019-04-18 11:44 Michał Górny
2019-06-02  6:40 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=1441817220.4ce6a8a8e18ace1b046bd71c6492ec7fb0a2ae54.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