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: Fri,  1 Jul 2016 22:09:55 +0000 (UTC)	[thread overview]
Message-ID: <1467410988.ce59a1c91c470fb4313cc319e246251086dfc661.mgorny@gentoo> (raw)

commit:     ce59a1c91c470fb4313cc319e246251086dfc661
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 22:08:43 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 22:09:48 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce59a1c9

app-admin/systemrescuecd-x86: Bump to 4.8.0

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

diff --git a/app-admin/systemrescuecd-x86/Manifest b/app-admin/systemrescuecd-x86/Manifest
index 851b17c..7b24f12 100644
--- a/app-admin/systemrescuecd-x86/Manifest
+++ b/app-admin/systemrescuecd-x86/Manifest
@@ -10,3 +10,4 @@ DIST systemrescuecd-x86-4.7.0.iso 479350784 SHA256 79de1d6f41dc195a247a15ef95f61
 DIST systemrescuecd-x86-4.7.1.iso 481220608 SHA256 3d99953b14788c5b50d72083c7cc72d3edecb440077c71edd108fd90aef86505 SHA512 13114a4e4616dfb8f118c07724fcca1fe9dd739a7c2dd8f5553f48dbaa744fe6d211cf6f341159b4ffda090f0101bd96f72d3e11c7c8c77a33a888d3c2859a6c WHIRLPOOL 4494cbb7095d8447928400b7882b458c0be2552462fd64250dffee189f7dc60db4e5978e33eb34ed505d97c8964713241c0676e931ec3570358a87bedad853a6
 DIST systemrescuecd-x86-4.7.2.iso 482217984 SHA256 b0a3333c091ec2f4658e2a150305053a2cf50c63b217465cd504559dee4447a7 SHA512 2340facff40d8f7eaebf75bba771333d21e8951384c34b04dcc5734de3c18e0c8e50e5cc35b93ab91df48f2ba9dc51ebe97a820fdb322d9f169df7067d6a92d6 WHIRLPOOL 3bdbd296a5cee2dc6cd47313bc70c95b65dd4d198cc67907c3215e181b2ffc3366a3fce49561650ce70d9d732a646b039265543da065702c1e6894219d1a438a
 DIST systemrescuecd-x86-4.7.3.iso 482799616 SHA256 f3a30a11ade9c5dd631522a9bfad4b2d5b7e5b14d9ba65ec94d1cf441635bc7a SHA512 42331496283b981661861e49448b17b0a4fd202f38024990a5aaf2572f300016e67f86ec3ec82adb4dc337a5275da858bf80fbb6a49886682298ffcea6c0d1f0 WHIRLPOOL 6f0ef187624b4a7da11e0a1f7d822ef964889c37bf5b66263ac3ccc83fba3b654c1d67a9831925608ecc20eeb42a40be5b3fc37fdcaedf06e4de30d1db7d7f2a
+DIST systemrescuecd-x86-4.8.0.iso 488042496 SHA256 06e6847384063bbb67c1c8f0824e995046c9ff125ad07a4214b129efb9b18241 SHA512 bfd3142149a9155e35d1add271265ae54074bfe2a8f658ca366dfdecfa893b683adb6206f11738d972df98cf7026c893d17ecebf8635c3cd5cd38cfd4c0b2e0e WHIRLPOOL 93959e6c55b30c696d82e62d48ea54cdc67f1b8c2951d4a895ebd6d526802ddce21795f4fb787b62f830c10ff549d55360217ce609df9bc486bbf6dd6886d287

diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.8.0.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.8.0.ebuild
new file mode 100644
index 0000000..9ac4ee7
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.8.0.ebuild
@@ -0,0 +1,63 @@
+# 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/"
+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}
+
+RESTRICT="mirror"
+
+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-07-01 22:10 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-01 22:09 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-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-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=1467410988.ce59a1c91c470fb4313cc319e246251086dfc661.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