diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /app-admin/systemrescuecd-x86 | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'app-admin/systemrescuecd-x86')
6 files changed, 72 insertions, 260 deletions
diff --git a/app-admin/systemrescuecd-x86/Manifest b/app-admin/systemrescuecd-x86/Manifest index ac40fa428dd7..2de1fe46bc9c 100644 --- a/app-admin/systemrescuecd-x86/Manifest +++ b/app-admin/systemrescuecd-x86/Manifest @@ -1,13 +1,7 @@ DIST systemrescuecd-6.0.0.iso 931135488 BLAKE2B 82879883780ff11a35f2fe635a5ee1a268de590bac79326ac2c49c960cd18755b3c10548d65eb5fb7ce5749c00f5040bb10c5ad5b196e48033fb70e3ff466026 SHA512 9bd8c06338357882fd8e3f17ddfb918e1f69e25fff6460957f9c50d496ccc3d4501e39b4596e3f387e4f7a481c9b33d18ba18fb49d74f6d916a7c5997b24c03a -DIST systemrescuecd-x86-5.1.2.iso 523479040 BLAKE2B abf6f1e3e05e382b48dcfd4ecde9f70896462418cf36057e3a42dc2366e0b56133deeb6f00363d15d94238c22fb8ac5c88b57ca6c213c9dcc299fa04def5e2cd SHA512 516e60632459dd5408f83035aa265ed4169b13f978a23960a85837c9c8b5bbab70776e22a6e6727184bd9df81cbbeff4a5819d5927ff0ff3a79036bc4c54cfdc -DIST systemrescuecd-x86-5.2.1.iso 570523648 BLAKE2B 9bb6b2ff7b9930f658baddbf60ef89e86171febcfb48eb0a6ce1bfea8fd3348773a9da948370f9f310dd0e992c40aa64a4ef1442f5cd7f408f847d147074cf1f SHA512 6820f079c9e97ac0d383ed9096a120e7e31771e1d41465f4cf7f5db36a7cb83ccfaae5c5e561181c3b3cb169d4cc4a9a6904a707ecde06a6de4f2456d2a658e4 -DIST systemrescuecd-x86-5.2.2.iso 572006400 BLAKE2B 2cc95acc529ae8e0525664ffbdfefaf6e4513e8135fa6af120121b0b7930b0203bd17d5d70ccafacfe0064bb8615f45aa22b6e6e3fcee8a005a0315fd9b5cf62 SHA512 7dd1ccd63775e35f6589808416468c4a9314f4a7a5d0cb1f2bc34ffb9eef3a450b0da244dfc9e325d828c39404c0cdcce27cc990eade33762c17a1e32f8db9b5 -DIST systemrescuecd-x86-5.3.1.iso 573913088 BLAKE2B 3c4da5777d05999e0b3e30b01dc821a4e840bb22d513fa4bfb9fdf601b9811676be8cee7ed9aae0aa7b971916add500b39172964384a2a07b3ed1cf5b946ba04 SHA512 1038622e148995450e61cd27f65af2ecb929ec8d0367fec3dbde01410a33596ec8f183d79ab931595c21deb597d60dae45ad516d8e1f00f32013729bdcd53ec8 +DIST systemrescuecd-6.0.3.iso 881852416 BLAKE2B ab1064237902542845e11869f7076a829e9593d29b8d106f0309c61a1371173cd5b3ef3fa3b84910cc81bcec485d27c8e297f269820aa96b0043df7c441121a2 SHA512 21b77e38999f56457a4c0a096eb58b2e74a8b376af33290b2e75995762e12a977435e8a9ed2ad9448799c3246d85f3bddfcafea020a1336b14f4f81644e06bb9 DIST systemrescuecd-x86-5.3.2.iso 585920512 BLAKE2B e68bb4e765359ac0e8124c9cb6090ed2ec9340a09e3ebafbcaa4acc175f8afe3985a57f193cd4be4192dfb23a6042a68328a29bbfb962f73fbe010c32d66e020 SHA512 c9da6a63556836bd38f7072b49a5408f2f9e5fa310dbae3f229c9b7af4fe6e073cdfc95b942bc1a6d9c42d41527fc54e8c6c15379082bc3ee0f025da80b01e5a -EBUILD systemrescuecd-x86-5.1.2.ebuild 2505 BLAKE2B 8bd1804dee5763684cd75635903cb1902021734e1c84e99428e648c21f6ab6e65c74802f9bde24f47a54d97102b4cd29e8234960e47fe62beb6c7c33dfa1cee8 SHA512 8e5151b9bbdb0cf9225e095e9d46efa05fef724cb4b3dc46a2f67338e1f7feea041f1db178ddb9040ebb0d9be56ef8d5ca3a2303d6af335f7851fce1a350366b -EBUILD systemrescuecd-x86-5.2.1.ebuild 2514 BLAKE2B 152b7f56a650bb47b7de3f27d6360aec78d9447ae71d242373a4f9ee908704db7ebf7db58916ec09d6b5b6cf3e568e91afe2f753845c789639fbd7b377674137 SHA512 1ae0f92d4575f800338d28a97f95394fe73c22449b62c4a4a8472f33f266e9129cab2ef48d882980099b4d0e5fa42ee3187a72dc6a665796835b1a68073db953 -EBUILD systemrescuecd-x86-5.2.2.ebuild 2514 BLAKE2B 152b7f56a650bb47b7de3f27d6360aec78d9447ae71d242373a4f9ee908704db7ebf7db58916ec09d6b5b6cf3e568e91afe2f753845c789639fbd7b377674137 SHA512 1ae0f92d4575f800338d28a97f95394fe73c22449b62c4a4a8472f33f266e9129cab2ef48d882980099b4d0e5fa42ee3187a72dc6a665796835b1a68073db953 -EBUILD systemrescuecd-x86-5.3.1.ebuild 2490 BLAKE2B 4d5df8fc9d9e553b8c9e8968fcd204bbac85cd2c6af8019aa393074ec44a4a2d8191264123d22903e5ad7bb3b2d42b9ac54e17b07305bbc9b0be16a87f7b3008 SHA512 db71a4c728c0fdadc21c141a6d1f217156d4be9d028d1608ca1efa366ec65c6bbc225279290bdfd925f89fe347b0c94df256880eff7fbbe28daa45f6ed31fa8e EBUILD systemrescuecd-x86-5.3.2.ebuild 2491 BLAKE2B dcfda1a902812b84d00d5386caafdc522a84c75b03852b786441f029f2fb23766bbcf0622f005755c62e192cd2eab2fa782d6db774b55bef9f7b4d6525952b0e SHA512 0286a3c2edc3a7d4a2fa3a96476e2179936e9e024464bcd155c9fe759fb346d3df6b1c371c2b4d422f745bc6af3f307f95cbea3e607b9d76c6e08a17a474754e EBUILD systemrescuecd-x86-6.0.0.ebuild 2147 BLAKE2B ed068ad0a612eb7ff49b93e0a9653c888e66ea7938a70e7475b973aeffad42127d0077a8850ab0c0f8b4a76f8da5f6394dc715b3decc6d4411d978bfd82c8e7d SHA512 15a2db37a09a2082dda70cc9e7b785f6dc0838e77f15b58f87820fe0c42d9856ca1f69d7f1bd8abac22f954f30dfc52978e4b0c50c6535474d8b1a33f24851d9 +EBUILD systemrescuecd-x86-6.0.3.ebuild 2105 BLAKE2B 805cd8fb4d2b896220c3ca624c1b7d647e5a0636b50fac93b6a1defc3e4b4cb02ce5df6608d41c24efae5cca7605f602690c27c5d9cb678b446f7dc9845655ae SHA512 338edfaa329f3df1fbc5c6aa6ee1d1ca17113065ed6fb5432b999b63085417b96d52ad722edfada05e036cdf28cd209b6af1e7d9d3e3958332c593615283f4e5 MISC metadata.xml 610 BLAKE2B 400c26cbce80747fe88b60d34ea0f018b7119ad6ef333e8de931424aaa929db90ba0836a4520fbe62baa0c7aa9992745c4c082e495f318066acf5285e56dcd10 SHA512 5092c69f83df351b3697ab0c83e165eba5c7ceffd197707047bdd4d2e809ff7267e436e91e3035223beb088c48835ae28fd4032a8122687af116fa1405b30b15 diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.1.2.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.1.2.ebuild deleted file mode 100644 index 8fa41fc9f79e..000000000000 --- a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.1.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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="AGPL-3 Apache-2.0 APSL-2 Artistic Artistic-2 Atmel bh-luxi BitstreamVera boehm-gc BSD BSD-1 BSD-2 BSD-4 BZIP2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 CC-PD CDDL-Schily Clarified-Artistic CPL-1.0 EPL-1.0 FDL-1.1 FDL-1.2+ FDL-1.3 FDL-1.3+ FLTK freedist FTL GPL-1+ GPL-2 GPL-2+ GPL-2-with-font-exception GPL-3 GPL-3+ HPND icu IJG Info-ZIP inner-net ipw2100-fw ipw2200-fw ISC Kermit LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ libpng linux-firmware lsof man-pages man-pages-posix-2013 MIT MPL-1.1 MPL-2.0 netcat ngrep no-source-code NPL-1.1 OFL-1.1 Old-MIT openafs-krb5-a OPENLDAP openssl PCRE PSF-2 PSF-2.4 public-domain rc rdisc RSA Sleepycat SMAIL SSLeay symlinks tcltk tcp_wrappers_license unRAR vim wxWinLL-3 ZLIB ZSH || ( AFL-2.1 GPL-2 ) || ( BSD GPL-3 HIDAPI ) || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) || ( Ruby BSD-2 ) || ( Ruby GPL-2 ) || ( Ruby MIT ) || ( Ruby-BSD BSD-2 )" -SLOT="${PV}" -KEYWORDS="amd64 x86" -IUSE="+isohybrid" - -DEPEND="isohybrid? ( >=sys-boot/syslinux-4 )" - -S=${WORKDIR} - -RESTRICT="bindist 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 -} diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.2.1.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.2.1.ebuild deleted file mode 100644 index 3e37971f63a7..000000000000 --- a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.2.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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="AGPL-3 Apache-2.0 APSL-2 Artistic Artistic-2 Atmel bh-luxi BitstreamVera boehm-gc BSD BSD-1 BSD-2 BSD-4 BZIP2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 CC-PD CDDL-Schily Clarified-Artistic CPL-1.0 EPL-1.0 FDL-1.1 FDL-1.2+ FDL-1.3 FDL-1.3+ FLTK freedist FTL GPL-1+ GPL-2 GPL-2+ GPL-2-with-font-exception GPL-3 GPL-3+ HPND icu IJG Info-ZIP inner-net ipw2100-fw ipw2200-fw ISC Kermit LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ libpng linux-firmware lsof man-pages man-pages-posix-2013 MIT MPL-1.1 MPL-2.0 netcat ngrep no-source-code NPL-1.1 OFL-1.1 Old-MIT openafs-krb5-a OPENLDAP openssl PCRE PSF-2 PSF-2.4 public-domain rc rdisc RSA Sleepycat SMAIL SSLeay symlinks tcltk tcp_wrappers_license unRAR UoI-NCSA vim wxWinLL-3 ZLIB ZSH || ( AFL-2.1 GPL-2 ) || ( BSD GPL-3 HIDAPI ) || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) || ( Ruby BSD-2 ) || ( Ruby GPL-2 ) || ( Ruby MIT ) || ( Ruby-BSD BSD-2 )" -SLOT="${PV}" -KEYWORDS="amd64 x86" -IUSE="+isohybrid" - -DEPEND="isohybrid? ( >=sys-boot/syslinux-4 )" - -S=${WORKDIR} - -RESTRICT="bindist 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 -} diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.2.2.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.2.2.ebuild deleted file mode 100644 index 3e37971f63a7..000000000000 --- a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.2.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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="AGPL-3 Apache-2.0 APSL-2 Artistic Artistic-2 Atmel bh-luxi BitstreamVera boehm-gc BSD BSD-1 BSD-2 BSD-4 BZIP2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 CC-PD CDDL-Schily Clarified-Artistic CPL-1.0 EPL-1.0 FDL-1.1 FDL-1.2+ FDL-1.3 FDL-1.3+ FLTK freedist FTL GPL-1+ GPL-2 GPL-2+ GPL-2-with-font-exception GPL-3 GPL-3+ HPND icu IJG Info-ZIP inner-net ipw2100-fw ipw2200-fw ISC Kermit LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ libpng linux-firmware lsof man-pages man-pages-posix-2013 MIT MPL-1.1 MPL-2.0 netcat ngrep no-source-code NPL-1.1 OFL-1.1 Old-MIT openafs-krb5-a OPENLDAP openssl PCRE PSF-2 PSF-2.4 public-domain rc rdisc RSA Sleepycat SMAIL SSLeay symlinks tcltk tcp_wrappers_license unRAR UoI-NCSA vim wxWinLL-3 ZLIB ZSH || ( AFL-2.1 GPL-2 ) || ( BSD GPL-3 HIDAPI ) || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) || ( Ruby BSD-2 ) || ( Ruby GPL-2 ) || ( Ruby MIT ) || ( Ruby-BSD BSD-2 )" -SLOT="${PV}" -KEYWORDS="amd64 x86" -IUSE="+isohybrid" - -DEPEND="isohybrid? ( >=sys-boot/syslinux-4 )" - -S=${WORKDIR} - -RESTRICT="bindist 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 -} diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.3.1.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.3.1.ebuild deleted file mode 100644 index 2c8814981ce0..000000000000 --- a/app-admin/systemrescuecd-x86/systemrescuecd-x86-5.3.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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="AGPL-3 Apache-2.0 APSL-2 Artistic Artistic-2 Atmel bh-luxi BitstreamVera boehm-gc BSD BSD-1 BSD-2 BSD-4 BZIP2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 CC-PD CDDL-Schily Clarified-Artistic CPL-1.0 EPL-1.0 FDL-1.1 FDL-1.2+ FDL-1.3 FDL-1.3+ FLTK freedist FTL GPL-1+ GPL-2 GPL-2+ GPL-2-with-font-exception GPL-3 GPL-3+ HPND icu IJG Info-ZIP inner-net ipw2100-fw ipw2200-fw ISC Kermit LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ libpng linux-firmware lsof man-pages man-pages-posix-2013 MIT MPL-1.1 MPL-2.0 netcat ngrep no-source-code NPL-1.1 OFL-1.1 Old-MIT openafs-krb5-a OPENLDAP openssl PCRE PSF-2 PSF-2.4 public-domain rc rdisc RSA Sleepycat SMAIL SSLeay symlinks tcltk tcp_wrappers_license unRAR UoI-NCSA vim wxWinLL-3 ZLIB ZSH || ( AFL-2.1 GPL-2 ) || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) || ( Ruby BSD-2 ) || ( Ruby GPL-2 ) || ( Ruby MIT ) || ( Ruby-BSD BSD-2 )" -SLOT="${PV}" -KEYWORDS="amd64 x86" -IUSE="+isohybrid" - -DEPEND="isohybrid? ( >=sys-boot/syslinux-4 )" - -S=${WORKDIR} - -RESTRICT="bindist 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 -} diff --git a/app-admin/systemrescuecd-x86/systemrescuecd-x86-6.0.3.ebuild b/app-admin/systemrescuecd-x86/systemrescuecd-x86-6.0.3.ebuild new file mode 100644 index 000000000000..7cfd100cadf5 --- /dev/null +++ b/app-admin/systemrescuecd-x86/systemrescuecd-x86-6.0.3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P=${P/-x86/} +DESCRIPTION="The .iso image of SystemRescueCD rescue disk, amd64 variant" +HOMEPAGE="http://www.sysresccd.org/" +SRC_URI="https://osdn.net/projects/systemrescuecd/storage/releases/${PV}/${MY_P}.iso" + +LICENSE="Apache-1.0 Apache-2.0 Artistic Artistic-2 BEER-WARE BSD BSD-2 BSD-4 CC0-1.0 CC-BY-SA-3.0 FDL-1.3+ GPL-2 GPL-2+ GPL-3+ icu ISC JasPer2.0 LGPL-2+ LGPL-2.1+ LGPL-3+ linux-firmware MaxMind2 MIT MPL-1.1 MPL-2.0 no-source-code OFL Old-MIT OPENLDAP openssl PSF-2 public-domain Sleepycat unRAR UoI-NCSA vim ZLIB" +SLOT="${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+isohybrid" +RESTRICT="bindist mirror" + +DEPEND="isohybrid? ( >=sys-boot/syslinux-4 )" + +S=${WORKDIR} + +pkg_pretend() { + ewarn "Please note that starting with version 6.0.0, upstream has switched" + ewarn "to Arch Linux as base of their distribution, and running on 32-bit" + ewarn "systems is no longer supported." +} + +src_unpack() { :; } + +src_install() { + insinto "/usr/share/${PN%-*}" + doins "${DISTDIR}/${MY_P}.iso" + + if use isohybrid; then + set -- isohybrid -u "${ED%/}/usr/share/${PN%-*}/${MY_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 "${MY_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 +} |