Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109130 - smartmontools works on ppc-macos
Summary: smartmontools works on ppc-macos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-10-13 06:31 UTC by Emanuele Giaquinta (RETIRED)
Modified: 2006-04-12 10:53 UTC (History)
0 users

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 Emanuele Giaquinta (RETIRED) gentoo-dev 2005-10-13 06:31:58 UTC
smarmontools builds and works fine, only a small patch to the ebuild is needed
to not install the gentoo init and conf files.

--- smartmontools-5.33.ebuild   2005-10-13 15:29:06.000000000 +0200
+++ smartmontools-5.33.ebuild   2005-10-13 15:28:54.000000000 +0200
@@ -33,6 +33,8 @@
        insinto /etc
        doins smartd.conf
 
-       newinitd "${FILESDIR}"/smartd.rc smartd
-       newconfd "${FILESDIR}"/smartd.confd smartd
+       if ! use ppc-macos; then
+               newinitd "${FILESDIR}"/smartd.rc smartd
+               newconfd "${FILESDIR}"/smartd.confd smartd
+       fi
 }
Comment 1 Fabian Groffen gentoo-dev 2005-10-13 08:56:35 UTC
I believe smartmontools is already keyworded, why is this patch below necessary?
Comment 2 Emanuele Giaquinta (RETIRED) gentoo-dev 2005-10-13 09:04:52 UTC
No, it's not keyworded ppc-macos.  The patch is here cause, since there isn't a
gentoo init system on gentoo-macos, there is no meaning in putting files in
init.d/conf.d.
Comment 3 Fabian Groffen gentoo-dev 2005-10-13 09:53:55 UTC
ok, I'm against polluting ebuilds because of that.  It doesn't harm to install
the files IHMO.  Maybe we could setup a default install mask that prevents
things to be installed into /etc/{init,conf}.d.  Kito, do you know anything
about the possibilities on that? 
Comment 4 Emanuele Giaquinta (RETIRED) gentoo-dev 2005-11-05 02:01:22 UTC
Any problem here?
Comment 5 Fabian Groffen gentoo-dev 2005-11-05 07:16:13 UTC
without ebuild modifications as ~ppc-macos in portage