From bd033c7cc236474073fe6bdf41d10acba1e2d2ca Mon Sep 17 00:00:00 2001 From: David Roman Date: Tue, 22 Oct 2024 11:23:29 +0200 Subject: [PATCH] app-admin/customrescuecd-x86: treeclean Signed-off-by: David Roman --- app-admin/customrescuecd-x86/Manifest | 1 - .../customrescuecd-x86-0.4.1.ebuild | 55 ------------------- app-admin/customrescuecd-x86/metadata.xml | 12 ---- profiles/package.mask | 1 - 4 files changed, 69 deletions(-) delete mode 100644 app-admin/customrescuecd-x86/Manifest delete mode 100644 app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild delete mode 100644 app-admin/customrescuecd-x86/metadata.xml diff --git a/app-admin/customrescuecd-x86/Manifest b/app-admin/customrescuecd-x86/Manifest deleted file mode 100644 index c9378b19ca..0000000000 --- a/app-admin/customrescuecd-x86/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST CUSTOMRESCUECD-x86-0.4.1.iso 1322811392 BLAKE2B bd63d40baf6426ed525c13e91ce65469f8f2a263072003c4dc1adea1ca75f894d2517c94063488fa75e1fa6012202ddbbf5281378c17a26edad683ce49996391 SHA512 46f1a2f20697b666fc4506abb405a8ebf58b63a83c5faacfc70e352c9eb9cd4a75ca742ac0011119e8baadd6fb467cfb306d8009994dbf2879a45486ccfe57bc diff --git a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild b/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild deleted file mode 100644 index 94a7a231e9..0000000000 --- a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="CUSTOMRESCUECD-x86" -DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo" -HOMEPAGE="https://sourceforge.net/projects/customrescuecd/" -SRC_URI="https://downloads.sourceforge.net/customrescuecd/"${MY_P}"-"${PV}".iso" - -S=${WORKDIR} - -LICENSE="GPL-3" -SLOT="${PV}" -KEYWORDS="~x86" -RESTRICT="bindist mirror" - -src_unpack() { :; } - -src_install() { - insinto "/usr/share/${PN%-*}" - doins "${DISTDIR}/${MY_P}-${PV}.iso" -} - -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}-${PV}.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/customrescuecd-x86/metadata.xml b/app-admin/customrescuecd-x86/metadata.xml deleted file mode 100644 index 3b9d7aaabf..0000000000 --- a/app-admin/customrescuecd-x86/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - andrea.postiglione@gmail.com - Andrea Postiglione - - - - customrescuecd - - diff --git a/profiles/package.mask b/profiles/package.mask index 35a9ab2ebe..b03ed62e7f 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -126,7 +126,6 @@ app-misc/tai # David Roman (2024-09-21) # Dead SRC_URI for two years # Removal on 2024-10-21 -app-admin/customrescuecd-x86 sys-boot/customrescuecd-x86-grub # Julien Roy (2024-03-21)