Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248396 - Ebuild for smolt, the Fedora hardware profiler
Summary: Ebuild for smolt, the Fedora hardware profiler
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://fedorahosted.org/smolt/
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-11-23 16:13 UTC by Peter GAAL
Modified: 2009-02-05 21:28 UTC (History)
1 user (show)

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


Attachments
Ebuild to install smolt under Gentoo (smolt-1.1.1.1.ebuild,2.19 KB, text/plain)
2008-11-23 16:18 UTC, Peter GAAL
Details
Patch for smolt's source (client.patch,6.16 KB, text/plain)
2008-11-23 16:22 UTC, Peter GAAL
Details
Init script for smolt (smolt-init.d,647 bytes, text/plain)
2008-11-23 16:24 UTC, Peter GAAL
Details
Script for cron (smolt_monthly.sh,335 bytes, text/plain)
2008-11-23 16:25 UTC, Peter GAAL
Details
Ebuild to install smolt under Gentoo (smolt-1.1.1.1.ebuild,2.19 KB, text/plain)
2008-11-27 14:44 UTC, Peter GAAL
Details
Ebuild to install smolt under Gentoo (smolt-1.1.1.1.ebuild,2.18 KB, text/plain)
2008-12-23 19:21 UTC, Peter GAAL
Details
Ebuild to install smolt under Gentoo (smolt-1.1.1.1.ebuild,2.39 KB, text/plain)
2009-02-03 14:19 UTC, Peter GAAL
Details
A patch dropping all the GUI stuff (headless.patch,1.14 KB, patch)
2009-02-03 14:33 UTC, Peter GAAL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter GAAL 2008-11-23 16:13:08 UTC
Quoted from the site above:

"Smolt is developed to collect hardware profiles from end users in a opt-in
method. It was originally written for Fedora and now also supports SuSE,
Debian and Ubuntu. Support for Archlinux, Frugalware, Mythvantage, and Crux is
in the support queue. It should be compatible with any system that uses HAL."

"Developers are encouraged to port it and make it available in other Linux
distributions and operating systems. We will be happy to coordinate changes
and merge any patches."
Comment 1 Peter GAAL 2008-11-23 16:18: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.
Comment 2 Peter GAAL 2008-11-23 16:20:57 UTC
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.
Comment 3 Peter GAAL 2008-11-23 16:22:36 UTC
Created attachment 173011 [details]
Patch for smolt's source

These are the changes needed to make smolt work under Gentoo.
Comment 4 Peter GAAL 2008-11-23 16:24:16 UTC
Created attachment 173015 [details]
Init script for smolt

This shell script enables automated check-ins with Smolt
Comment 5 Peter GAAL 2008-11-23 16:25:59 UTC
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.
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-11-24 22:43:07 UTC
$MYDIR & $MYFILE could be named more descriptively. thx
Comment 7 Peter GAAL 2008-11-27 14:44:51 UTC
Created attachment 173589 [details]
Ebuild to install smolt under Gentoo

(In reply to comment #6)

Here you go.
Comment 8 Peter GAAL 2008-12-23 19:21:46 UTC
Created attachment 176252 [details]
Ebuild to install smolt under Gentoo

Calls to einfo in pkg_postinst changed to elog.
Comment 9 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-30 17:05:11 UTC
(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
Comment 10 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-02-01 21:06:12 UTC
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).
Comment 11 Peter GAAL 2009-02-03 14:19:33 UTC
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.
Comment 12 Peter GAAL 2009-02-03 14:33:48 UTC
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.
Comment 13 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-02-05 21:28:02 UTC
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.