| Summary: | Ebuild for smolt, the Fedora hardware profiler | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Peter GAAL <pgaal> |
| Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | bangert |
| Priority: | High | Keywords: | EBUILD |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://fedorahosted.org/smolt/ | ||
| Whiteboard: | sunrise suggested | ||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Ebuild to install smolt under Gentoo
Patch for smolt's source Init script for smolt Script for cron Ebuild to install smolt under Gentoo Ebuild to install smolt under Gentoo Ebuild to install smolt under Gentoo A patch dropping all the GUI stuff |
||
|
Description
Peter GAAL
2008-11-23 16:13:08 UTC
Created attachment 173006 [details]
Ebuild to install smolt under Gentoo
These are the changes the ebuild went through (see client.patch for more):
files/smolt-init.d:
Dependency on hald changed to "use", for otherwise the script
would be suspended each time hald is stopped;
smolt-1.1.1.1.ebuild, files/client.patch:
Additional handling of 3 password files: hw-uuid, hw-uuid.pub, and hw-admin;
+files/smolt_monthly.sh:
Asynchronous monthly update script added;
+smolt-1.1.1.1.ebuild, +files/client.patch, +files/smolt-init.d:
Initial ebuild from a source rpm for Fedora.
Smolt results in something like http://www.smolts.org/show?uuid=pub_48772ee7-74f9-4c02-b539-4e353bff4461, be it used through the command line or its (GTK+) GUI. Notice: With smoltGui, if you still use python v2.4, you have to insist on its home button to bring up your personal profile page: If there is no Firefox window open, you must click on it twice to open the right page. Created attachment 173011 [details]
Patch for smolt's source
These are the changes needed to make smolt work under Gentoo.
Created attachment 173015 [details]
Init script for smolt
This shell script enables automated check-ins with Smolt
Created attachment 173018 [details]
Script for cron
Runs the smolt checkin client if copied into /etc/cron.monthly, as far as the smolt init script has been started.
$MYDIR & $MYFILE could be named more descriptively. thx Created attachment 173589 [details] Ebuild to install smolt under Gentoo (In reply to comment #6) Here you go. Created attachment 176252 [details]
Ebuild to install smolt under Gentoo
Calls to einfo in pkg_postinst changed to elog.
(this is an automated message based on filtering criteria that matched this bug) Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manor. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq the machine dependant uuid should be generated in pkg_postinst() - otherwise in a setup utilizing binary packages all hosts get the same uuid. (remember to honour ${ROOT})
the gui part should only installed depending on a USE flag - like gtk. that makes the client available to headless machines (without needing to install gtk).
Created attachment 180804 [details] Ebuild to install smolt under Gentoo (In reply to comment #10) > the machine dependant uuid should be generated in pkg_postinst() - otherwise in > a setup utilizing binary packages all hosts get the same uuid. (remember to > honour ${ROOT}) > A valid point; I didn't see it this way. ChangeLog: Making UUID after installation. Using the gtk flag to allow for headless installations. Created attachment 180808 [details, diff] A patch dropping all the GUI stuff (In reply to comment #10) > the gui part should only installed depending on a USE flag - like gtk. that > makes the client available to headless machines (without needing to install > gtk). > Thanks for the hint. app-admin/smolt is now in the tree. it's not perfect, but it works ok. many thanks for your contribution. please report bugs as you find them. |