First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 196945
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mart Raudsepp <leio@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ziga Mlinar <zigamlinar@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
flashrom-scm.ebuild sys-fs/flashrom-scm.ebuild text/plain Ziga Mlinar 2007-10-24 20:34 0000 538 bytes Details
flashrom-9999.ebuild flashrom-9999.ebuild text/plain Piotr Szymaniak 2007-11-06 22:32 0000 836 bytes Details
flashrom-9999.ebuild fixed ebuild text/plain Ziga Mlinar 2007-11-29 08:44 0000 736 bytes Details
flashrom-9999.ebuild flashrom-9999.ebuild - new web page, new repository svn text/plain Todd Partridge 2009-01-23 03:49 0000 734 bytes Details
flashrom-9999.ebuild flashrom-9999.ebuild text/plain Christian Ruppert (idl0r) 2009-01-23 11:45 0000 736 bytes Details
Makefile.patch Makefile.patch patch Christian Ruppert (idl0r) 2009-01-23 11:45 0000 1.34 KB Details | Diff
Makefile.patch Updated patch for the Makefile patch Alexey Charkov 2009-05-04 16:46 0000 1.32 KB Details | Diff
flashrom-9999.ebuild Corrected ebuild patch Alexey Charkov 2009-05-04 16:49 0000 737 bytes Details | Diff
flashrom-9999.ebuild Updated text/plain Piotr Szymaniak 2009-05-05 06:23 0000 721 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2007-10-24 17:25 0000
Here is the ebuild for flashrom, a program used to flash bios (by linuxbios).

I didn't find any ebuild for it yet so i made one.It installs the latest svn
version.

flashrom-scm.ebuild
-------------------
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

#
# flashrom SVN ebuild
#

inherit subversion eutils

DESCRIPTION="Flash rom chips"
HOMEPAGE="http://linuxbios.org"

LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

SRC_URI=""
ESVN_REPO_URI="svn://linuxbios.org/repos/trunk/util/${PN}"

RDEPEND="sys-apps/pciutils
        sys-libs/zlib"

S=${WORKDIR}/${PN}

pkg_setup() {
        ewarn
        ewarn "WARNING: This is a live SVN build!!!"
        ewarn
}

src_install() {
#       not using emake, because it makes sandbox violations
        dosbin flashrom
        doman *.8
}

pkg_postinst() {
        einfo
        einfo "Flashrom is now installed."
        einfo
}

------- Comment #1 From Jakub Moc (RETIRED) 2007-10-24 17:58:27 0000 -------
Please don't paste ebuilds inline. Also, pkg_{setup,postinst} is plain
redundant.

------- Comment #2 From Ziga Mlinar 2007-10-24 20:34:08 0000 -------
Created an attachment (id=134274) [details]
sys-fs/flashrom-scm.ebuild

I cleaned the ebuild and here it is as attachement.   

Sory to paste the code in the post above.

------- Comment #3 From Piotr Szymaniak 2007-11-06 22:32:29 0000 -------
Created an attachment (id=135388) [details]
flashrom-9999.ebuild

Changed the ebuild a bit, now it compiles (at least here ;).

BTW whats the -scm in the previous ebuild name?

------- Comment #4 From Ziga Mlinar 2007-11-07 09:18:17 0000 -------
(In reply to comment #3)
> 
> BTW whats the -scm in the previous ebuild name?
> 
Sorry, i just gave my ebuilds. I use paludis and it has nice additional -scm
ending that can be used for "live ebuilds" (the ones that get sources directly
from svn, git, cvs ...)

Thanks for correcting this. I forgot portage doesn't have this.

------- Comment #5 From meka 2007-11-12 12:00:53 0000 -------
I've tested it on amd64 and flashrom -r <image> works. Should it be enough to
keyword it as ~amd64?

------- Comment #6 From Ziga Mlinar 2007-11-29 08:44:37 0000 -------
Created an attachment (id=137300) [details]
fixed ebuild

added ~amd64 keyword
fixed homepage
cleaned useless comment

------- Comment #7 From Cristi Magherusan 2008-04-03 23:39:05 0000 -------
still not good enough for the portage tree?

------- Comment #8 From Robert Buchholz 2008-04-04 00:49:28 0000 -------
Some issues need to be resolved:
- Improve the description to be a little more.. descriptive (yet below 80
chars)
- quote instance(s) of ${S}
- dodoc README

- instead of dobin'ing, fix the Makefile.

for moving this into the tree:
- make an actual snapshot of the repository and use that.

------- Comment #9 From Peter Karlsson 2008-04-28 18:46:55 0000 -------
(In reply to comment #8)
> Some issues need to be resolved:
> - Improve the description to be a little more.. descriptive (yet below 80
> chars)
> - quote instance(s) of ${S}
> - dodoc README
> 
> - instead of dobin'ing, fix the Makefile.
> 
> for moving this into the tree:
> - make an actual snapshot of the repository and use that.

There's a 1.0 release on the way...
http://article.gmane.org/gmane.linux.bios/35465/match=flashrom+1.0

Best regards

Peter K

------- Comment #10 From Ziga Mlinar 2008-04-28 19:54:12 0000 -------
(In reply to comment #9)
> (In reply to comment #8)
> > Some issues need to be resolved:
> > - Improve the description to be a little more.. descriptive (yet below 80
> > chars)
> > - quote instance(s) of ${S}
> > - dodoc README
> > 
> > - instead of dobin'ing, fix the Makefile.
> > 
> > for moving this into the tree:
> > - make an actual snapshot of the repository and use that.
> 
> There's a 1.0 release on the way...
> http://article.gmane.org/gmane.linux.bios/35465/match=flashrom+1.0
> 
> Best regards
> 
> Peter K
> 

i will wait for this official releases and remake the ebuilds.  I have some
already waiting (based on debian tarballs), but the official seem better.

------- Comment #11 From Todd Partridge 2009-01-23 03:49:29 0000 -------
Created an attachment (id=179403) [details]
flashrom-9999.ebuild - new web page, new repository svn

------- Comment #12 From Christian Ruppert (idl0r) 2009-01-23 11:45:24 0000 -------
Created an attachment (id=179441) [details]
flashrom-9999.ebuild

------- Comment #13 From Christian Ruppert (idl0r) 2009-01-23 11:45:37 0000 -------
Created an attachment (id=179442) [details]
Makefile.patch

------- Comment #14 From Alexey Charkov 2009-05-04 16:46:32 0000 -------
Created an attachment (id=190324) [details]
Updated patch for the Makefile

Corrected for changes in the upstream version and for linking

------- Comment #15 From Alexey Charkov 2009-05-04 16:49:57 0000 -------
Created an attachment (id=190325) [details]
Corrected ebuild

Fixed unmatched quotes. By the way, is EAPI=2 really necessary here? I do not
see any need, actually EAPI=0 should seemingly suffice.

------- Comment #16 From Piotr Szymaniak 2009-05-05 06:23:38 0000 -------
Created an attachment (id=190387) [details]
Updated

Readded ~x86 keyword and fixed description.

------- Comment #17 From Mart Raudsepp 2009-05-05 22:28:33 0000 -------
Taking this. sys-apps/ sounds more appropriate to me

------- Comment #18 From Mart Raudsepp 2009-05-05 22:46:47 0000 -------
flashrom-0.9.0 was released yesterday. This is the first actual tarball
release.
It is not called 1.0 yet mostly because some of the short argument letters will
probably change and swap around.
sys-apps/flashrom-0.9.0 added to tree, no live ebuild considered for tree
anymore with actual releases happening.

------- Comment #19 From Peter Stuge 2009-05-07 03:42:52 0000 -------
Actually sys-boot might be better. Suggested by idl0r. The program raincoat is
in there, it does the same thing, but was written for xbox-linux so only
supports a few flash chips.

------- Comment #20 From Anton Bolshakov 2009-05-08 22:51:46 0000 -------
The ebuild which went to the portage has a typo in the homepage URL.
The final slash shoudn't be there.

------- Comment #21 From Mart Raudsepp 2009-05-08 23:14:31 0000 -------
Maybe raincoat is in the wrong category instead? One package isn't that much of
a metric.
Fixed homepage, whoops, thanks

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