Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179735 - sys-power/cpufrequtils does not install /etc/{init,conf}.d/*
Summary: sys-power/cpufrequtils does not install /etc/{init,conf}.d/*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Christian Heim (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-25 11:38 UTC by Xake
Modified: 2007-05-26 19:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2007-05-25 11:38:33 UTC
Cpufrequtils shouyld install init-scripts, but it does not for me.

During install:

cp: cannot stat `/usr/portage/sys-power/cpufrequtils/files/cpufrequtils-002-conf.d': No such file or directory
cp: cannot stat `/usr/portage/sys-power/cpufrequtils/files/cpufrequtils-002-init.d': No such file or directory

(The files do not have versionnumbers.) Why do not portage break?

Proposed and tested fix:

--- cpufrequtils-002-r2.ebuild.old      2007-05-25 13:36:03.000000000 +0200
+++ cpufrequtils-002-r2.ebuild  2007-05-25 13:36:30.000000000 +0200
@@ -41,8 +41,8 @@
        make DESTDIR="${D}" NLS=${nls} mandir=/usr/share/man libdir=/usr/$(get_libdir) \
                install || die "make install failed"
 
-       newconfd "${FILESDIR}"/${P}-conf.d ${PN}
-       newinitd "${FILESDIR}"/${P}-init.d ${PN}
+       newconfd "${FILESDIR}"/${PN}-conf.d ${PN}
+       newinitd "${FILESDIR}"/${PN}-init.d ${PN}
 
        dodoc AUTHORS README
 }
Comment 1 Christian Heim (RETIRED) gentoo-dev 2007-05-26 19:55:37 UTC
You're absolutely right Peter, I'm just committing a fixed version of the ebuild.