summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-01-06 23:57:08 +0000
committerMichał Górny <mgorny@gentoo.org>2015-01-06 23:57:08 +0000
commitec543eaaebe6805709a80b08d3de559036533a6c (patch)
tree328111ee787ef7a4525d9504c1168fddea0fe9e4 /app-admin/systemrescuecd-x86
parentversion bump (diff)
downloadhistorical-ec543eaaebe6805709a80b08d3de559036533a6c.tar.gz
historical-ec543eaaebe6805709a80b08d3de559036533a6c.tar.bz2
historical-ec543eaaebe6805709a80b08d3de559036533a6c.zip
Introduce an ebuild to maintain a fresh copy of systemrescuecd-x86.
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'app-admin/systemrescuecd-x86')
-rw-r--r--app-admin/systemrescuecd-x86/ChangeLog9
-rw-r--r--app-admin/systemrescuecd-x86/Manifest26
-rw-r--r--app-admin/systemrescuecd-x86/metadata.xml8
-rw-r--r--app-admin/systemrescuecd-x86/systemrescuecd-x86-4.4.1.ebuild47
4 files changed, 90 insertions, 0 deletions
diff --git a/app-admin/systemrescuecd-x86/ChangeLog b/app-admin/systemrescuecd-x86/ChangeLog
new file mode 100644
index 000000000000..a51608379b79
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-admin/systemrescuecd-x86
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/systemrescuecd-x86/ChangeLog,v 1.1 2015/01/06 23:57:06 mgorny Exp $
+
+*systemrescuecd-x86-4.4.1 (06 Jan 2015)
+
+ 06 Jan 2015; Michał Górny <mgorny@gentoo.org> +metadata.xml,
+ +systemrescuecd-x86-4.4.1.ebuild:
+ Introduce an ebuild to maintain a fresh copy of systemrescuecd-x86.
diff --git a/app-admin/systemrescuecd-x86/Manifest b/app-admin/systemrescuecd-x86/Manifest
new file mode 100644
index 000000000000..3fc463187b78
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST systemrescuecd-x86-4.4.1.iso 413272064 SHA256 358253bf8d88b10be49f5485bf00e6cffea4f38ce635fe0d9f798803edf53d9e SHA512 5c5045df219181064201dda195961096da9722d3d5758dcb111c2c74ed083b3464f314340c01a5a27a920c33bd5bc95efee2efa1edc2405a0d11d9bc67e4b2a5 WHIRLPOOL b834a7a985a85909e9f99441407df78a06ee2c508e3d2020c5c4045cf35e3462f0fba58b888d150f22c0d23daf0d866d4fa93ba4bb6252ab7b502c390824e6ef
+EBUILD systemrescuecd-x86-4.4.1.ebuild 1323 SHA256 f8877b5f0c167994604a00700a6f2b3c770b58294ad1410be6775d906af71556 SHA512 106332a5649bc579d54ba58334bf9d0392d0f54a3e66e5093c133b856168021d6a11b6d0dec5328cf1940054d307fb8d068650c7b6f3b333ab112b719cc7846e WHIRLPOOL 86b0a14c9f872291da066492265ba21a301300b217a35073a3d84332db99706449d364aea9318eb5cd735785bb1bdc3347fd43b9e3930ed068fbbd139061db2f
+MISC ChangeLog 441 SHA256 db3e2e7eb54af92ac6ddd7483657828eff09c32438556df6bb765be40173651e SHA512 3fd3cc28313c4ad290c647ce511e681cf2ae829364e7a611a34af02bf9048ab6b04caae15bd44cc4a31b10acc6a774e7994657447d97b7845679cf8a7b4e1499 WHIRLPOOL 495602d18864ec85bdb83f721633e9037bfdd0aa79023321c2a110229ba112137315e98eab14fd1c7d2d4311f367392428f68f49e30552998a20e903a8a897b4
+MISC metadata.xml 233 SHA256 fd88d74157f79eb4a06067443b7138cfb56fe1c66bfa5dfe72bda038ea5a9dda SHA512 6676f74cc1b612ba4f95101b64570f257e4b37cfd803a987e3afd9e12ef9b1480918c5d6e4fa955b8447eba9e319c94aac11abe247187870406986b476b154e8 WHIRLPOOL 3c1f192d1fb5e213e407a70a7be417170b651f3049b32ddf1f6b1c1983dedbcb498fa92eb96a41463c0ff0754044930150f0e5940708a6584923e12b86200349
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQJ8BAEBCABmBQJUrHZTXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
+MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOx2oQANq/fMIlLXwIDKU4sJXrHHoL
+7dCCyMdavid7pOljIZ5SDvP8l8cqJ6+JRJYUaDBE59YvbkJetgL4BLoneBPcn6Eg
+nKaqzQph3hv2uEfECNihcHqRqOGsv4fqdLSE1cFLfG9ZNOJ9Di+a4ghr57QmsCJv
+uJJMWdXIkKZnEP8DlFGDZ7OGsCZdjuCfn5nLPdlD3OfprJJ160ybKOPQQ2x2LNoD
+yZ148m68p3kpsZVSaxwTtyVU+H82ySoEGvfzBYl0LM+zMCKtHLFof2qbXMQg17pr
+7J+da9h/+i3b+C1dY5rKi/5HSsNsQ2GooRO/4YAmACycIPU0uK7y9uuWM6/ftS2d
+tKib/fNhC7ZxI1GOrRTAChqUarefYAw4htkvmdhmLll0N7WRbxWBney0ZL/g6WEl
+LSXMviVlaYIVApkrhghhkWbG/qgkPFltZ12ko6/ALTeoIw4aYfADXEw25HJWvJhg
+WBYQ+3a79FY5E8zXKHa2f/dHhKPSlR31R7wVq1nlx265H/g8nFi3xzTDtJRHJCDB
+6qZvzL/RyXj1VcWI+TkjdIijD5swpx5j9j2Lm8nSzVypu3H1fB3WWUYUvRIXsmsw
+dnX8lgmAfi7lecHGRqHTDI5tJbhtxC4r1fnwPiUSyeimZKqX017U1Fmliu0vMKns
+QyJ4NitZYPiozfD+UaiY
+=VAwU
+-----END PGP SIGNATURE-----
diff --git a/app-admin/systemrescuecd-x86/metadata.xml b/app-admin/systemrescuecd-x86/metadata.xml
new file mode 100644
index 000000000000..5cb9324943ab
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.4.1.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.4.1.ebuild
new file mode 100644
index 000000000000..72117871bd54
--- /dev/null
+++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.4.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.4.1.ebuild,v 1.1 2015/01/06 23:57:06 mgorny Exp $
+
+EAPI=5
+
+DESCRIPTION="The .iso image of SystemRescueCD rescue disk, x86 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 newer version? we're the newest!
+ if ! has_version ">${CATEGORY}/${PF}"; then
+ ln -f -s -v "${P}.iso" "${f}" || die
+ fi
+}
+
+pkg_postrm() {
+ # TODO: best_version is probably broken in portage, figure it out
+ local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
+ local newest_version=$(best_version "${CATEGORY}/${PN}")
+
+ if [[ ${newest_version} != ${CATEGORY}/${PF} ]]; then
+ # we're not the newest? update the symlink.
+ ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
+ elif [[ ! ${newest_version} ]]; then
+ # last version removed? clean up the symlink.
+ rm -v "${f}" || die
+ # TODO: remove the empty directory
+ fi
+}