commit:     d120426a4738384c46621987ae244a5327e38023
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 11:44:31 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 11:44:53 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d120426a

app-admin/systemrescuecd-x86: Bump to 4.9.{4,5,6} and 5.0.0

 app-admin/systemrescuecd-x86/Manifest              |  4 ++
 .../systemrescuecd-x86-4.9.4.ebuild                | 61 ++++++++++++++++++++++
 .../systemrescuecd-x86-4.9.5.ebuild                | 61 ++++++++++++++++++++++
 .../systemrescuecd-x86-4.9.6.ebuild                | 61 ++++++++++++++++++++++
 .../systemrescuecd-x86-5.0.0.ebuild                | 61 ++++++++++++++++++++++
 5 files changed, 248 insertions(+)

diff --git a/app-admin/systemrescuecd-x86/Manifest 
b/app-admin/systemrescuecd-x86/Manifest
index 7df490de816..eddf5cfebe7 100644
--- a/app-admin/systemrescuecd-x86/Manifest
+++ b/app-admin/systemrescuecd-x86/Manifest
@@ -18,3 +18,7 @@ DIST systemrescuecd-x86-4.9.0.iso 504498176 SHA256 
1e84a298fd156826fc0a066f559b8
 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
 DIST systemrescuecd-x86-4.9.3.iso 515739648 SHA256 
47c87b4ebebb9a3739d3434bf1cc8939d692182e39f0768e45b22ed1c8ba0382 SHA512 
d60b3ba1548c98faba24e2c56ffe70be2e271b0946d2dde46cf766e6f206881f1e0450998af05c439f37edbcac67f0649830914c4354c2212518f63faa140254
 WHIRLPOOL 
c67bb66ad0023dde57c1e1a6081de21671a49c8533cfbc9847886a1bac8321b8d80e331d94d27460918c89a193c57ae1c1078426aac0e42db7934c2005b1f7d4
+DIST systemrescuecd-x86-4.9.4.iso 516374528 SHA256 
274319bd2c43b54bb901fed4e1cc07895baaaec1b94e5ddfe0443ae5dc114367 SHA512 
7bfe963e7ec04f18efbeac5d40a016b56ae7bc8fe8913d8cfd0ea9fbe0f3833d2b86d1a00f30f6587b91338416884af6a65249121609ce2f58a6efa50486e139
 WHIRLPOOL 
97e94fd6b7bf178e4113226927832ba8b8d809bc2fc0f80fab1468487af7282bd972eebbcec8cf80dfe319affeee3ccfb9dfd1afa6db3bf746b301065f408fcd
+DIST systemrescuecd-x86-4.9.5.iso 520032256 SHA256 
ffe944b6c74ca5da16396d4c647eaf5e392cf9a7cae46627a93b43d8ae272aea SHA512 
6f9a3497c809c8cf1dcec114221d5d992fa2735b3fa1cc992e46a8e9c793ef7019c37c4a61f8abddafbac0cf7ce03c6fc9a3a2a750d7a82e69db3bdc6791e7fc
 WHIRLPOOL 
087dc72dc264c04a982763f2824620ebc793a4b844b4dd53dedbc31c00c669fc50c08697704afbe0f60b5b060de4a143843423a84e27d9c56e5fdea11819d143
+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

diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.4.ebuild 
b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.4.ebuild
new file mode 100644
index 00000000000..a15aecbe41c
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.4.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
+}

diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.5.ebuild 
b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.5.ebuild
new file mode 100644
index 00000000000..a15aecbe41c
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.5.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
+}

diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.6.ebuild 
b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.6.ebuild
new file mode 100644
index 00000000000..a15aecbe41c
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.9.6.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
+}

diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.0.0.ebuild 
b/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.0.0.ebuild
new file mode 100644
index 00000000000..a15aecbe41c
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.0.0.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
+}

Reply via email to