mgorny 15/04/03 17:38:58 Modified: ChangeLog Added: systemrescuecd-x86-4.5.2.ebuild Log: Version bump. (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Revision Changes Path 1.6 app-admin/systemrescuecd-x86/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/systemrescuecd-x86/ChangeLog?rev=1.6&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/systemrescuecd-x86/ChangeLog?rev=1.6&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/systemrescuecd-x86/ChangeLog?r1=1.5&r2=1.6 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-admin/systemrescuecd-x86/ChangeLog,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ChangeLog 1 Mar 2015 17:47:55 -0000 1.5 +++ ChangeLog 3 Apr 2015 17:38:58 -0000 1.6 @@ -1,6 +1,12 @@ # 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.5 2015/03/01 17:47:55 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/systemrescuecd-x86/ChangeLog,v 1.6 2015/04/03 17:38:58 mgorny Exp $ + +*systemrescuecd-x86-4.5.2 (03 Apr 2015) + + 03 Apr 2015; Michał Górny <[email protected]> + +systemrescuecd-x86-4.5.2.ebuild: + Version bump. *systemrescuecd-x86-4.5.1 (01 Mar 2015) 1.1 app-admin/systemrescuecd-x86/systemrescuecd-x86-4.5.2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.5.2.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.5.2.ebuild?rev=1.1&content-type=text/plain Index: systemrescuecd-x86-4.5.2.ebuild =================================================================== # 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.5.2.ebuild,v 1.1 2015/04/03 17:38:58 mgorny Exp $ EAPI=5 DESCRIPTION="The .iso image of SystemRescueCD rescue disk, x86 (+ amd64) 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 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 }
