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 }
I believe smartmontools is already keyworded, why is this patch below necessary?
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.
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?
Any problem here?
without ebuild modifications as ~ppc-macos in portage