Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2009 17:32:58 +0300 (EEST)
From:      Andriy Gapon <avg@icyb.net.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/134272: New port: sysutils/flashrom - read/write/etc flash ROM chips
Message-ID:  <200905061432.n46EWw4Z063695@odyssey.starpoint.kiev.ua>
Resent-Message-ID: <200905061450.n46Eo6d1055121@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134272
>Category:       ports
>Synopsis:       New port: sysutils/flashrom - read/write/etc flash ROM chips
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 06 14:50:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Andriy Gapon
>Release:        FreeBSD 7.2-PRERELEASE amd64
>Organization:
>Environment:
>Description:
A utility from coreboot (formerly linuxbios) project to read/write/etc
contents of flash rom chips. E.g. you can read or write a BIOS image
or some other kind of firmware.
More at:
http://www.coreboot.org/Flashrom

One note is that I am not sure what archs are really supported,
I used this tool on i386 and amd64.

>How-To-Repeat:
>Fix:

--- flashrom.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	flashrom
#	flashrom/pkg-descr
#	flashrom/Makefile
#	flashrom/distinfo
#	flashrom/files
#	flashrom/files/patch-Makefile
#
echo c - flashrom
mkdir -p flashrom > /dev/null 2>&1
echo x - flashrom/pkg-descr
sed 's/^X//' >flashrom/pkg-descr << '01b2cb5ca00077b0d926018fdade85f3'
Xflashrom is a utility for reading, writing, verifying and
Xerasing flash ROM chips.
XIt's often used to flash BIOS/coreboot/firmware images. 
X
XWWW:	http://www.coreboot.org/Flashrom
01b2cb5ca00077b0d926018fdade85f3
echo x - flashrom/Makefile
sed 's/^X//' >flashrom/Makefile << 'b2ef95f3b0c23b9d15f3366712e880b7'
X# New ports collection makefile for:	flashrom
X# Date created:		2009-05-05
X# Whom:			Andriy Gapon <avg@icyb.net.ua>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	flashrom
XPORTVERSION=	0.9.0
XCATEGORIES=	sysutils
XMASTER_SITES=	http://qa.coreboot.org/releases/
X
XMAINTAINER=	avg@icyb.net.ua
XCOMMENT=	Utility for reading/writing/verifying/erasing flash ROM chips
X
XLIB_DEPENDS+=	pci.2:${PORTSDIR}/devel/libpci
X
XUSE_GMAKE=	yes
X
XPLIST_FILES=	sbin/flashrom
XMAN8=		flashrom.8
X
X.include <bsd.port.mk>
b2ef95f3b0c23b9d15f3366712e880b7
echo x - flashrom/distinfo
sed 's/^X//' >flashrom/distinfo << '6d35ba5b4c593ce096787bc4eb4ad180'
XMD5 (flashrom-0.9.0.tar.gz) = 2211590202aead416eb649c9348b35b3
XSHA256 (flashrom-0.9.0.tar.gz) = ed47a2a3b46ea2191d46cca298bdbaefa5e307cfee9a3ff03bc67b6190cefc7c
XSIZE (flashrom-0.9.0.tar.gz) = 72150
6d35ba5b4c593ce096787bc4eb4ad180
echo c - flashrom/files
mkdir -p flashrom/files > /dev/null 2>&1
echo x - flashrom/files/patch-Makefile
sed 's/^X//' >flashrom/files/patch-Makefile << 'a54dd89ffef6b526280d8815a0f7bf9d'
X--- Makefile.orig	2009-05-05 20:19:35.275615799 +0300
X+++ Makefile	2009-05-05 20:19:52.947719074 +0300
X@@ -72,8 +72,7 @@
X 
X install: $(PROGRAM)
X 	$(INSTALL) $(PROGRAM) $(PREFIX)/sbin
X-	mkdir -p $(PREFIX)/share/man/man8
X-	$(INSTALL) $(PROGRAM).8 $(PREFIX)/share/man/man8
X+	$(INSTALL) $(PROGRAM).8 $(PREFIX)/man/man8
X 
X .PHONY: all clean distclean dep pciutils
X 
a54dd89ffef6b526280d8815a0f7bf9d
exit
--- flashrom.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905061432.n46EWw4Z063695>