summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-01 13:24:13 +0100
committerMichał Górny <mgorny@gentoo.org>2017-02-01 13:27:10 +0100
commit3b02f6cb79c855072422d9142f59644e2b0099c4 (patch)
tree25a6ce0808735b4ded0a65b59a656c7e97bc39c6 /app-admin
parentprofiles: Move LIBDIR_* declarations into specific arches (diff)
downloadgentoo-3b02f6cb79c855072422d9142f59644e2b0099c4.tar.gz
gentoo-3b02f6cb79c855072422d9142f59644e2b0099c4.tar.bz2
gentoo-3b02f6cb79c855072422d9142f59644e2b0099c4.zip
app-admin/systemrescuecd-x86: Bump to 4.9.1 & 4.9.2
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/systemrescuecd-x86/Manifest2
-rw-r--r--app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.1.ebuild62
-rw-r--r--app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.2.ebuild62
3 files changed, 126 insertions, 0 deletions
diff --git a/app-admin/systemrescuecd-x86/Manifest b/app-admin/systemrescuecd-x86/Manifest
index 2bbf0caf6937..4764cf1e7486 100644
--- a/app-admin/systemrescuecd-x86/Manifest
+++ b/app-admin/systemrescuecd-x86/Manifest
@@ -15,3 +15,5 @@ DIST systemrescuecd-x86-4.8.1.iso 483315712 SHA256 144cc9e936c5fa9d11232ac4d1717
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
+DIST systemrescuecd-x86-4.9.1.iso 513009664 SHA256 d6ad5d97b676fa224bae172fbd2681d207f62031e8597e46dd2e97e0751368db SHA512 ac4c2bc65611a575c2f4d12012e9bcaf8bd94283aa8d8c0ad571352b8f33161dded68de091839c9d8a4d5101a2413864838596eed1aedcf20d9441dd59f96dfa WHIRLPOOL 123af2cc99388add86681acb3b6377275b906ccba8163b4be97f8b049ff29460c0015681a042e4d1fa1c3b134a3da1c6cb610b4873ca050200dd0f997f94a503
+DIST systemrescuecd-x86-4.9.2.iso 512159744 SHA256 40c028b4ae2f8289f8113533fdfdfeae17d998fbd7d5c284a5d21c6774d871fe SHA512 2d99c0e432ecf5b5635d597d6899518c6ee03bb79911d992d22bda993d38376028407c98ba15f9510c8723c5fba6bf8f0958574542c6035e7cce4c5096ad0a18 WHIRLPOOL 7a1a26a8a60a39217d934a59ba96eec281e197021d8f639c1950f5eb35c7916c7eebf56a5fc09d9dea6de05724faa6ea6bb1543db1934e65665374900a062e1c
diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.1.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.1.ebuild
new file mode 100644
index 000000000000..cb7c7b5a2018
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.1.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
+}
diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.2.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.2.ebuild
new file mode 100644
index 000000000000..cb7c7b5a2018
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.2.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
+}