First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 33526
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tony Vroon <chainsaw@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dmidecode-2.3.ebuild Ebuild for dmidecode 2.3 text/plain Tony Vroon 2003-11-14 18:37 0000 663 bytes Details
dmidecode-2.3.ebuild DMIdecode ebuild text/plain Tony Vroon 2003-11-16 17:01 0000 1.07 KB Details
dmidecode-2.3.ebuild Ebuild with IA64 capabilities. text/plain Tony Vroon 2003-11-17 08:03 0000 1.15 KB Details
dmidecode-2.3.ebuild dmidecode-2.3.ebuild, updated DEPEND-line text/plain Tony Vroon 2003-12-02 17:05 0000 1.15 KB Details
dmidecode-2.3.ebuild dmidecode-2.3.ebuild, updated DEPEND-line (the right one this time) text/plain Tony Vroon 2003-12-02 17:10 0000 1.14 KB Details
dmidecode-2.3.ebuild "Disk I/O checked" dmidecode-2.3.ebuild text/plain Tony Vroon 2003-12-02 17:15 0000 1.18 KB Details
dmidecode-2.3.ebuild More "disk I/O checking" for dmidecode-2.3.ebuild text/plain Tony Vroon 2003-12-02 17:17 0000 1.19 KB Details
dmidecode-2.3.ebuild dmidecode-2.3.ebuild text/plain Tony Vroon 2003-12-02 17:29 0000 1.22 KB Details
dmidecode-2.3.ebuild dmidecode-2.3.ebuild text/plain Tony Vroon 2004-02-06 12:39 0000 1.20 KB Details
dmidecode-2.4.ebuild dmidecode-2.4.ebuild text/plain Thomas Eckert 2004-03-23 03:01 0000 754 bytes Details
dmidecode-ebuild.txt dmidecode-2.4.ebuild text/plain Tony Vroon 2004-03-24 05:24 0000 1.36 KB Details
dmidecode-ebuild.txt dmidecode-2.4.ebuild text/plain Tony Vroon 2004-03-28 22:54 0000 1.35 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 33526 depends on: Show dependency tree
Show dependency graph
Bug 33526 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-11-14 18:36 0000
The attached ebuild installs the 4 utilities that the dmidecode suite consists
of.

------- Comment #1 From Tony Vroon 2003-11-14 18:37:43 0000 -------
Created an attachment (id=20763) [edit]
Ebuild for dmidecode 2.3

------- Comment #2 From Tony Vroon 2003-11-16 17:01:42 0000 -------
Created an attachment (id=20839) [edit]
DMIdecode ebuild

Revamped the ebuild file, made the SRC_URI more portable, added documentation
in pkg_postinst, added missing sed DEPEND.

------- Comment #3 From Tony Vroon 2003-11-16 17:05:36 0000 -------
The suggested category for this package is sys-apps.

Besides a description change, the KEYWORDS have been updated, as upstream reports the package working on more archs.

------- Comment #4 From Tony Vroon 2003-11-17 08:03:11 0000 -------
Created an attachment (id=20859) [edit]
Ebuild with IA64 capabilities.

In this version, -sparc has been added after comments in #gentoo-sparc.
Supporting  it is possible by setting specific ARCHFLAGS, but no sparc has DMI,
it wouldn't be useful.
The README on their website is outdated, after viewing the one included with
the sources, the handling of IA64 has been updated and should work. I haven't
yet found testers for it, though.

------- Comment #5 From Mr. Bones. 2003-12-02 16:53:44 0000 -------
Why does it depend on wget?  That seems odd.  Also, more checking could
be done on the disk i/o.  The sed especially needs to be checked.  Also,
since sed -i is used, it needs to depend on >=sys-apps/sed-4 since that was
the first version that supported that feature.

------- Comment #6 From Tony Vroon 2003-12-02 17:05:14 0000 -------
Created an attachment (id=21609) [edit]
dmidecode-2.3.ebuild, updated DEPEND-line

Please elaborate on your disk I/O remarks.
DEPEND-line updated.

------- Comment #7 From Tony Vroon 2003-12-02 17:10:00 0000 -------
Created an attachment (id=21610) [edit]
dmidecode-2.3.ebuild, updated DEPEND-line (the right one this time)

Previous one was unchanged, due to a failed SCP.

------- Comment #8 From Tony Vroon 2003-12-02 17:15:46 0000 -------
Created an attachment (id=21611) [edit]
"Disk I/O checked" dmidecode-2.3.ebuild

|| die statements added on Mr_Bones_'s request.

------- Comment #9 From Tony Vroon 2003-12-02 17:17:41 0000 -------
Created an attachment (id=21612) [edit]
More "disk I/O checking" for dmidecode-2.3.ebuild

Mr_Bones_ would prefer a || die behind the sed too.

------- Comment #10 From Tony Vroon 2003-12-02 17:29:13 0000 -------
Created an attachment (id=21613) [edit]
dmidecode-2.3.ebuild

Newest version, there's a remark about not using mirror://, but savannah is not
yet in /usr/portage/profiles/thirdpartymirrors

------- Comment #11 From Tony Vroon 2004-02-06 12:39:21 0000 -------
Created an attachment (id=25095) [edit]
dmidecode-2.3.ebuild

Download URI has changed (restructured download directories on Savannah).

------- Comment #12 From Thomas Eckert 2004-03-06 01:40:50 0000 -------
i've tested this (well in fact i did not dig thru bugzilla and wrote my own
trival
ebuild) on ia32 (various machines), opteron with i686-code (one machine) and it
seems to work fine.

side-note: "sys-apps/lm-sensors" seems to ship it's own version of at least
dmidecode; should a blocking-dependency be added?

------- Comment #13 From Thomas Eckert 2004-03-23 03:01:50 0000 -------
Created an attachment (id=27842) [edit]
dmidecode-2.4.ebuild

new version (this one contains man-pages for all installed tools).
compared to the 2.3-attachement this is missing:
- the "ia64" stuff (I have no access to that arch)
- DEPEND is empty (I seem to remember that "glibc" may be omitted, is that
  correct?; I did not see sed needed, so "sed-4" is also gone).

------- Comment #14 From Tony Vroon 2004-03-23 04:51:12 0000 -------
You use sed in your ebuild, this means you're going to have to depend on it.
(Version 4 because you use -i).
I don't have access to IA64 either, please read the documentation that comes
with it, that's how I did 2.3
If not much is changed, please don't try to reinvent the wheel and work from
what's there.

------- Comment #15 From Thomas Eckert 2004-03-23 06:12:07 0000 -------
sed: mostly correct (I do not use "-i").

about re-invention: see comment #12, that's the version I'm using for some time,
tested on various machines -- so I posted that "known good" version -- feel free
to merge with yours.

------- Comment #16 From Tony Vroon 2004-03-23 10:48:02 0000 -------
Comment 12 does not contain any ebuilds.
If you do not use -i, you still have to depend on sed, because you use it in your ebuild. Your current ebuild will break if you use it on a system without sed, because portage won't merge it first. You don't tell portage that you need it.

Without -e, just the "it has to be version 4 or up" requirement is gone.

------- Comment #17 From Tony Vroon 2004-03-24 05:24:23 0000 -------
Created an attachment (id=27913) [edit]
dmidecode-2.4.ebuild

A first attempt at merging Thomas's way of working into a correct ebuild.
Please test. (Note: Done on a windows machine, please do tell me if linebreaks
are awry)

------- Comment #18 From Thomas Eckert 2004-03-24 05:46:49 0000 -------
great! I'd personally delete the pkg_postinst() -- it's pretty obvious that 
these pgms have been installed (in general ewarn() is not the correct way to
inform users -- it should be einfo() ).

just my curiosity: any comments on the "virtual/glibc" depend anybody?

------- Comment #19 From Tony Vroon 2004-03-24 12:32:35 0000 -------
The virtual/glibc DEPEND can go, I see no harm in removing it. It was in the
original ebuild I looked at, so I kept it. Anyway... those ewarns are there for
programs that may not work because they are vendor-specific, and they should
have orange bullets instead of green ones. Most of the rest of it is einfo.
Just look at it in it's proper format and you'll see why immediately.
I'll remove that tomorrow, anything else on your wishlist? (besides ewarn, I
like it this way).

------- Comment #20 From Thomas Eckert 2004-03-25 01:01:11 0000 -------
ok
a last (cosmetic) thing: in src_unpack() the "local ARCHFLAGS"-declaration should
go to the top of the function -- it's common to declare vars at the top of a
function (eases maintainability and avoid "basic-like confusions" ;)

------- Comment #21 From Tony Vroon 2004-03-28 22:54:53 0000 -------
Created an attachment (id=28259) [edit]
dmidecode-2.4.ebuild

You need to focus on functionality more then cosmetics, because I missed a
trailing g in a sed. Which is way more important then a whether local ARCHFLAGS
is on top or before the statement that uses it.
Anyway, I expect you to obsolete your attachment now that I have addressed all
issues you raised.
(I also updated the copyright year)

------- Comment #22 From Thomas Eckert 2004-03-28 23:04:37 0000 -------
well -- take my ebuild as obsoleted.

for the cosmetic side: i didn't download or test your ebuild; as i said: i posted
my "know-good"-version and expected you to do something similar.
btw: code-maintainablility _is_ important, even if it seems pedantic sometimes.

------- Comment #23 From Kalin KOZHUHAROV 2004-05-30 22:16:30 0000 -------
I was just about to write an ebuild myself, when I found this.

Tested the latest on x86, works till now.

------- Comment #24 From Dick Marinus 2004-08-03 13:13:43 0000 -------
The ebuild (id=28259) merged fine

Please add this package to portage, It's needed by http://gentoo-stats.org/ to determine the _real_ amount of CPU's installed.

------- Comment #25 From Stefan Briesenick 2004-08-12 14:14:21 0000 -------
please put it into portage ASAP! ;-)

------- Comment #26 From Karl Trygve Kalleberg (RETIRED) 2004-08-19 09:05:08 0000 -------
This appears to work for me, except the ebuild appearing to have DOS line
breaks.
I suggest moving it into the tree now.

------- Comment #27 From SpanKY 2004-08-20 21:41:22 0000 -------
touched up a bit more and added to portage, thanks everyone :)

First Last Prev Next    No search results available      Search page      Enter new bug