Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14888 - new ebuild: x86info 1.11
Summary: new ebuild: x86info 1.11
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL: http://www.codemonkey.org.uk/x86info/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-31 21:08 UTC by Arun Thomas (RETIRED)
Modified: 2003-08-12 01:21 UTC (History)
2 users (show)

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


Attachments
the actual ebuild (x86info-1.11.ebuild,1.63 KB, text/plain)
2003-01-31 21:09 UTC, Arun Thomas (RETIRED)
Details
modules.d file (x86info-modules.d,102 bytes, text/plain)
2003-01-31 21:10 UTC, Arun Thomas (RETIRED)
Details
Updated ebuild tarball(obsoletes others) (x86info-1.11.ebuild.tar.gz,1.50 KB, application/octet-stream)
2003-03-29 19:39 UTC, Robin Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arun Thomas (RETIRED) gentoo-dev 2003-01-31 21:08:13 UTC
This is an ebuild for Dave Jones' x86info utility. It reports a lot more info
than is shown in /proc/cpuinfo. This is my second ebuild. I followed the dev
manual carefully, but there still may be issues. I'd be glad to rework stuff.

I've only tested on a P3 under gentoo 1.4. 

There are two non-standard things about this ebuild:

1) It creates a file /etc/modules.d/x86info
2) This program requires new device nodes. These nodes are created in a
pkg_config function.

The toshiba-utils did it this way, so I thought I'd do the same. This program
does not work with devfs currently.

There's also a warning that the user needs to enable the msr and cpuid options
in their kernel config.

To test this ebuild, do x86info -a.

By the way, I installed the man page and all the various docs.

Thanks,
Arun
Comment 1 Arun Thomas (RETIRED) gentoo-dev 2003-01-31 21:09:14 UTC
Created attachment 7795 [details]
the actual ebuild

This is the ebuild.
Comment 2 Arun Thomas (RETIRED) gentoo-dev 2003-01-31 21:10:30 UTC
Created attachment 7796 [details]
modules.d file

This is the modules.d file.
Comment 3 Arun Thomas (RETIRED) gentoo-dev 2003-01-31 21:12:10 UTC
By the way, I ran lintool on the ebuild, and it reported no errors. Again, I'd be more than happy to fix problems.

Thanks again,
Arun
Comment 4 Arun Thomas (RETIRED) gentoo-dev 2003-01-31 23:55:20 UTC
Also, there are no sandbox violations as far as I can tell.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-03-29 19:38:30 UTC
I didn't notice this pending item when I wrote up a new ebuild for x86info myself now. I've taken some of the items from here and merged them into my ebuild now.

File listing:
ChangeLog
x86info-1.11.ebuild
files/digest-x86info-1.11
files/x86info-modules.conf-rc

My modules.d/x86info includes the content of Arun's, but also adds two more lines to allow for better automatic probing of modules as needed.

As regarding the device nodes:
There are 3 methods scattered in the portage tree for this.
app-misc/toshiba-utils makes the devices notes when you call the config function.
media-video/dxr2-driver makes the devices during the install stage
net-wireless/bluez-utils and net-dialup/ppp make them during the postinstall stage.

I think creating them automatically during the postinstall stage is the best way, and it also seems to be most common, so i've followed it. I don't think the config one is good, since it requires more input from the user that is just brainless. If you would prefer one of the other methods however, leave a note here and I'll do it up quickly.

my ebuild also includes the same warning that Arun had.

Arun's ebuild didn't use the CFLAGS setting in building the binaries, and mine does.

Arun's ebuild didn't include the results/ documentation directory tree, which I have included (compressed with a call to prepalldocs).

This ebuild passes lintool, and I've tested it on the following (all on gentoo 1.4 with ARCH="~x86"):
VIA C3 Samuel 600mhz
AMD Athlon(tm) XP 1800+
Pentium III (Katmai) 500mhz [overclocked to 515mhz]

Tarball attached.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-03-29 19:39:39 UTC
Created attachment 10001 [details]
Updated ebuild tarball(obsoletes others)

This obsoletes both other attachments.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-04 16:22:04 UTC
ok, this is in unstable under sys-apps/x86info
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-12 01:21:41 UTC
Closing bug properly.