summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2004-04-17 11:44:36 +0000
committerMichael Januszewski <spock@gentoo.org>2004-04-17 11:44:36 +0000
commit460a1e6d4144733b4dd3bd3b6af4b776590aca02 (patch)
tree910ab580f76f0b616cb7fe298958b3387872a453 /app-admin
parentAdded patches for the CAN-2004-0010, CAN-2004-0177 and CAN-2004-0178 vulnerab... (diff)
downloadhistorical-460a1e6d4144733b4dd3bd3b6af4b776590aca02.tar.gz
historical-460a1e6d4144733b4dd3bd3b6af4b776590aca02.tar.bz2
historical-460a1e6d4144733b4dd3bd3b6af4b776590aca02.zip
Added patches from CVS to make it work with 2.6 kernels
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/powertweak/ChangeLog9
-rw-r--r--app-admin/powertweak/Manifest6
-rw-r--r--app-admin/powertweak/files/digest-powertweak-0.99.5-r12
-rw-r--r--app-admin/powertweak/powertweak-0.99.5-r1.ebuild45
4 files changed, 59 insertions, 3 deletions
diff --git a/app-admin/powertweak/ChangeLog b/app-admin/powertweak/ChangeLog
index be5a1355a605..2f8cfe65ff90 100644
--- a/app-admin/powertweak/ChangeLog
+++ b/app-admin/powertweak/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-admin/powertweak
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/ChangeLog,v 1.12 2004/04/16 09:02:59 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/ChangeLog,v 1.13 2004/04/17 11:44:36 spock Exp $
+
+*powertweak-0.99.5-r1 (17 Apr 2004)
+
+ 17 Apr 2004; Michal Januszewski <spock@gentoo.org>
+ +powertweak-0.99.5-r1.ebuild:
+ Added some patches from CVS to make it work with 2.6 kernels. Closes bug
+ #42766.
16 Apr 2004; Daniel Black <dragonheart@gentoo.org> powertweak-0.99.4.ebuild:
Placed inherit at top of ebuild to fix bug #47775
diff --git a/app-admin/powertweak/Manifest b/app-admin/powertweak/Manifest
index 068871ae8658..2e9d96ba4d13 100644
--- a/app-admin/powertweak/Manifest
+++ b/app-admin/powertweak/Manifest
@@ -1,7 +1,9 @@
-MD5 11ac447fb7637077224ecd907c202c37 ChangeLog 1888
MD5 74c4fc3cba0bc4ce5c69decec6abacc3 powertweak-0.99.4.ebuild 1520
+MD5 64c9d8e99d0421faf0bd8f6926bb2d2c powertweak-0.99.5-r1.ebuild 1215
MD5 a5792ab3bf86f74070e8c2e81d65dfe1 powertweak-0.99.5.ebuild 1038
+MD5 2346a5437662f403f87b63ad37d146b1 ChangeLog 2090
+MD5 1905168a8b57ae19ab4a2dfe41fddbb4 files/powertweak-0.99.4-gentoo.diff 2417
MD5 186537e6997431efc00728e2c4a24229 files/digest-powertweak-0.99.4 70
MD5 1309a0411e6185c8d9ae7590d318c618 files/digest-powertweak-0.99.5 70
-MD5 1905168a8b57ae19ab4a2dfe41fddbb4 files/powertweak-0.99.4-gentoo.diff 2417
+MD5 0dd7674a9a70087adb391022f562b05d files/digest-powertweak-0.99.5-r1 153
MD5 7d64d3d0e3f32da484d75f6089a42fa3 files/powertweakd.rc6 557
diff --git a/app-admin/powertweak/files/digest-powertweak-0.99.5-r1 b/app-admin/powertweak/files/digest-powertweak-0.99.5-r1
new file mode 100644
index 000000000000..c4c4390236a7
--- /dev/null
+++ b/app-admin/powertweak/files/digest-powertweak-0.99.5-r1
@@ -0,0 +1,2 @@
+MD5 fe7e147ae7536846411c6239e33e6959 powertweak-0.99.5.tar.bz2 573995
+MD5 411ceb70f9eb6a828dfb9e6a8df090c6 powertweak-0.99.5-cvs20040417.patch.bz2 20901
diff --git a/app-admin/powertweak/powertweak-0.99.5-r1.ebuild b/app-admin/powertweak/powertweak-0.99.5-r1.ebuild
new file mode 100644
index 000000000000..98e30e070cef
--- /dev/null
+++ b/app-admin/powertweak/powertweak-0.99.5-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/powertweak-0.99.5-r1.ebuild,v 1.1 2004/04/17 11:44:36 spock Exp $
+
+inherit eutils
+
+DESCRIPTION="Tune your kernel and hardware settings for optimal performance"
+HOMEPAGE="http://powertweak.sourceforge.net/"
+SRC_URI="mirror://sourceforge/powertweak/${P}.tar.bz2 http://dev.gentoo.org/~spock/portage/distfiles/powertweak-0.99.5-cvs20040417.patch.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 -ppc -sparc -alpha"
+IUSE="gtk"
+
+DEPEND="gtk? ( =x11-libs/gtk+-1.2* )
+ >=dev-libs/libxml2-2.3.0
+ sys-devel/autoconf
+ sys-devel/automake"
+
+RDEPEND=">=sys-apps/pciutils-2.1.0
+ gtk? ( =x11-libs/gtk+-1.2* )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}
+ epatch powertweak-0.99.5-cvs20040417.patch
+}
+
+src_compile() {
+ econf `use_enable gtk gtktest` || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
+ docinto Documentation
+ dodoc Documentation/* Documentation/Hackers/*
+
+ use gtk || rm ${D}/usr/bin/gpowertweak
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/powertweakd.rc6 powertweakd
+}