Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38868 - speedfreq ebuild update
Summary: speedfreq ebuild update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-20 19:19 UTC by Jon Hood (RETIRED)
Modified: 2004-06-19 13:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0.7.2 ebuild (speedfreq-0.7.2.ebuild,1.79 KB, text/plain)
2004-02-20 17:16 UTC, Justin Whitney
Details
updated .rc for 0.7.2 (speedfreq-0.7.2.rc,1.02 KB, text/plain)
2004-02-20 17:18 UTC, Justin Whitney
Details
New ebuild, that also builds python module (speedfreq-0.7.2-r1.ebuild,2.10 KB, text/plain)
2004-02-26 04:22 UTC, Matthias Spiller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Hood (RETIRED) gentoo-dev 2004-01-20 19:19:54 UTC
speedfreq 0.7.2 is available.  I tried bumping the ebuild, but I get the following when trying to start the init.d script:
# /etc/init.d/speedfreq start
 * Starting speedfreq...
Usage: /usr/sbin/speedfreqd [-fqsuDPV] [-p policy]
        -p P    set policy to P
        -u      OK for users to set policy
        -D      print debug messages (implies -F)
        -F      stay in foreground (don't become daemon)
        -P file create a pid file
        -V      version information

Available policies:
        powersave       maximise power savings
        performance     maximise performance
        dynamic         adjust speed according to CPU load (default)
        NNN             set CPU to a fixed speed of NNN MHz
                                                                          [ !! ]


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Justin Whitney 2004-02-20 17:11:46 UTC
bumped speedfreq.rc to speedfreq-0.7.2.rc
changed .rc to use start-stop-daemon
made .rc compatible with 0.7.2

bumped 0.5 ebuild to 0.7.2 and made it use new .rc.

please see attached.
Comment 2 Justin Whitney 2004-02-20 17:16:46 UTC
Created attachment 26008 [details]
0.7.2 ebuild
Comment 3 Justin Whitney 2004-02-20 17:18:39 UTC
Created attachment 26009 [details]
updated .rc for 0.7.2
Comment 4 Justin Whitney 2004-02-20 17:28:31 UTC
dev's please correct my lame reference in the .ebuild to speedfreq-0.7.2.rc to whatever is the norm for these situations....

thanks.
Comment 5 Michael Imhof (RETIRED) gentoo-dev 2004-02-25 06:00:06 UTC
Hi all...


I bumped to the new version and did a minor change to the .rc to make it run with 0.7.2.

I did not change the init to start-stop-daemon.
Vapier: if you want to do that then feel free to do so. Otherwise close this bug.
Comment 6 Jon Hood (RETIRED) gentoo-dev 2004-02-25 11:19:59 UTC
I'll leave it all up to you on whether or not to close the bug; I now use cpudyn, so I don't have speedfreq even installed anymore...
Comment 7 SpanKY gentoo-dev 2004-02-25 17:01:32 UTC
any reason you added /var/run/speedfreq.pid to the init script ?

the program is coded to use that by default
Comment 8 Matthias Spiller 2004-02-26 04:22:05 UTC
Created attachment 26390 [details]
New ebuild, that also builds python module

I modified the 0.7.2 ebuild to install the python module. The man pages are
merged now, too.
Comment 9 SpanKY gentoo-dev 2004-03-28 00:36:12 UTC
please try 0.7.2-r1
Comment 10 Jon Hood (RETIRED) gentoo-dev 2004-06-19 13:31:01 UTC
Yes, the current version in portage works great, thanks Spanky!