Gentoo Archives: gentoo-commits

From: "Alon Bar-Lev (alonbl)" <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/hibernate-script: ChangeLog hibernate-script-1.97-r1.ebuild
Date: Sat, 03 Nov 2007 15:09:04
Message-Id: E1IoKcN-0006ZE-5R@stork.gentoo.org
alonbl      07/11/03 15:08:59

  Modified:             ChangeLog
  Added:                hibernate-script-1.97-r1.ebuild
  Log:
  Fix tuxonice filewriter issue, bug#197630, thanks Frittella Laurento for reporting
  (Portage version: 2.1.3.17)

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

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- ChangeLog	28 Oct 2007 07:11:25 -0000	1.65
+++ ChangeLog	3 Nov 2007 15:08:58 -0000	1.66
@@ -1,6 +1,13 @@
 # ChangeLog for sys-power/hibernate-script
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.65 2007/10/28 07:11:25 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.66 2007/11/03 15:08:58 alonbl Exp $
+
+*hibernate-script-1.97-r1 (03 Nov 2007)
+
+  03 Nov 2007; Alon Bar-Lev <alonbl@g.o>
+  +hibernate-script-1.97-r1.ebuild:
+  Fix tuxonice filewriter issue, bug#197630, thanks Frittella Laurento for
+  reporting
 
   28 Oct 2007; Alon Bar-Lev <alonbl@g.o>
   files/digest-hibernate-script-1.97, Manifest:



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

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

Index: hibernate-script-1.97-r1.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/hibernate-script-1.97-r1.ebuild,v 1.1 2007/11/03 15:08:58 alonbl Exp $

inherit eutils

PATCH_VERSION="2"

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/${P}-patches-${PATCH_VERSION}.tar.bz2"

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

IUSE="logrotate vim-syntax"

DEPEND="sys-apps/sed"
RDEPEND="logrotate? ( app-admin/logrotate )
	!<media-gfx/splashutils-1.5.2"

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

	# Our patches
	epatch "${WORKDIR}"/patches/*.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

	if use logrotate; then
		insinto /etc/logrotate.d
		newins "${S}"/logrotate.d-hibernate-script hibernate-script
	fi
}

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."
}



-- 
gentoo-commits@g.o mailing list