public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-power/hibernate-script: ChangeLog hibernate-script-2.0-r1.ebuild hibernate-script-2.0.ebuild
@ 2009-05-01 22:07 Krzysiek Pawlik (nelchael)
  0 siblings, 0 replies; only message in thread
From: Krzysiek Pawlik (nelchael) @ 2009-05-01 22:07 UTC (permalink / raw
  To: gentoo-commits

nelchael    09/05/01 22:07:29

  Modified:             ChangeLog
  Added:                hibernate-script-2.0-r1.ebuild
  Removed:              hibernate-script-2.0.ebuild
  Log:
  Fix init.d script, see bug #265368.
  (Portage version: 2.1.6.11/cvs/Linux x86_64)

Revision  Changes    Path
1.83                 sys-power/hibernate-script/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?rev=1.83&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?rev=1.83&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?r1=1.82&r2=1.83

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- ChangeLog	4 Apr 2009 11:43:03 -0000	1.82
+++ ChangeLog	1 May 2009 22:07:29 -0000	1.83
@@ -1,6 +1,13 @@
 # ChangeLog for sys-power/hibernate-script
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.82 2009/04/04 11:43:03 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.83 2009/05/01 22:07:29 nelchael Exp $
+
+*hibernate-script-2.0-r1 (01 May 2009)
+
+  01 May 2009; Krzysiek Pawlik <nelchael@gentoo.org>
+  -hibernate-script-2.0.ebuild, +hibernate-script-2.0-r1.ebuild,
+  +files/hibernate-script-2.0-init.d.patch:
+  Fix init.d script, see bug #265368.
 
 *hibernate-script-2.0 (04 Apr 2009)
 



1.1                  sys-power/hibernate-script/hibernate-script-2.0-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/hibernate-script-2.0-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/hibernate-script-2.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: hibernate-script-2.0-r1.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/hibernate-script-2.0-r1.ebuild,v 1.1 2009/05/01 22:07:29 nelchael Exp $

inherit eutils

PATCH_VERSION="1"

DESCRIPTION="Hibernate script supporting multiple suspend methods"
HOMEPAGE="http://www.tuxonice.net/"
SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz
	mirror://gentoo/${PN}-1.98.1-patches-${PATCH_VERSION}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

IUSE="vim-syntax"

DEPEND=""
RDEPEND="!<media-gfx/splashutils-1.5.2"

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}/${P}-init.d.patch"
}

src_install() {
	BASE_DIR="${D}" \
		DISTRIBUTION="gentoo" \
		PREFIX="/usr" \
		MAN_DIR="${D}/usr/share/man" \
		"${S}/install.sh" || die "Install failed"

	# hibernate-ram will default to using ram.conf
	dosym /usr/sbin/hibernate /usr/sbin/hibernate-ram

	newinitd "${S}"/init.d/hibernate-cleanup.sh hibernate-cleanup

	# other ebuilds can install scriplets to this dir
	keepdir /etc/hibernate/scriptlets.d/

	if use vim-syntax; then
		insinto /usr/share/vim/vimfiles/syntax
		doins hibernate.vim
	fi

	dodoc CHANGELOG README SCRIPTLET-API hibernate.vim

	insinto /etc/logrotate.d
	newins "${S}"/logrotate.d-hibernate-script hibernate-script
}

pkg_postinst() {
	elog
	elog "You should run the following command to invalidate suspend"
	elog "images on a clean boot."
	elog
	elog "  # rc-update add hibernate-cleanup boot"
	elog
	elog "See /usr/share/doc/${PF}/README.* for further details."
	elog
	elog "Please note that you will need to manually emerge any utilities"
	elog "(radeontool, vbetool, ...) enabled in the configuration files,"
	elog "should you wish to use them."
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-01 22:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-01 22:07 [gentoo-commits] gentoo-x86 commit in sys-power/hibernate-script: ChangeLog hibernate-script-2.0-r1.ebuild hibernate-script-2.0.ebuild Krzysiek Pawlik (nelchael)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox