Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62717 - updated ebuild: sys-apps/smartmontools-5.32
Summary: updated ebuild: sys-apps/smartmontools-5.32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 50493 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-03 08:06 UTC by Ziga Boehm
Modified: 2004-10-09 18:19 UTC (History)
2 users (show)

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


Attachments
ebuild (smartmontools-5.32.ebuild,1.25 KB, text/plain)
2004-09-03 08:08 UTC, Ziga Boehm
Details
init script (files section of ebuild) (smartd.rc,1016 bytes, text/plain)
2004-09-03 08:10 UTC, Ziga Boehm
Details
config file (files section of ebuild, destined for /etc/conf.d/smartd) (smartd.conf,323 bytes, text/plain)
2004-09-03 08:12 UTC, Ziga Boehm
Details
example config file (files section of ebuild, destined for /etc/smartd.conf.example) (smartd.conf.example,3.74 KB, text/plain)
2004-09-03 08:14 UTC, Ziga Boehm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ziga Boehm 2004-09-03 08:06:42 UTC
this is my first ebuild (modification), so please check for potential mistakes i could have done unintentionally - i did test it and it merged ok on my system.

i took current smartmontools-5.30.ebuild as my template, which i renamed to a newer version (bug #50493) and introduced few other changes. also i tried to address bug #60024 and the missing /etc/smartd.conf file (see bellow).

changes include:
- reload option in daemon init script
- inclusion of checkconfig function, which checks for the presence of /etc/smartd.conf file and prints out warning if none is found (but continues with daemon load nonetheless)
- inclusion of /etc/conf.d/smartd, with attempt at configuring pidfile and some other daemon options "the gentoo way" (something similar is done with dhcp, apache etc.)
- inclusion of example config (which at the moment is just verbatim copy of original smartmontools example file)
- some textual changes to the pkg_postinst section of the ebuild to explain better what has to be done in order to configure smartd

further improvements could be made mainly in /etc/smatrd.conf.example to better auto-magically handle which devices should be smartmonitored.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Ziga Boehm 2004-09-03 08:08:07 UTC
Created attachment 38819 [details]
ebuild
Comment 2 Ziga Boehm 2004-09-03 08:10:03 UTC
Created attachment 38820 [details]
init script (files section of ebuild)
Comment 3 Ziga Boehm 2004-09-03 08:12:26 UTC
Created attachment 38821 [details]
config file (files section of ebuild, destined for /etc/conf.d/smartd)
Comment 4 Ziga Boehm 2004-09-03 08:14:13 UTC
Created attachment 38822 [details]
example config file (files section of ebuild, destined for /etc/smartd.conf.example)
Comment 5 Daniel Webert 2004-09-07 16:41:42 UTC
*** Bug 50493 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2004-10-09 18:19:42 UTC
5.33 has these fixes, thanks :)