From 1b51bd7af9767ba223e08e88bccfecc1fefbca04 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 6 May 2009 23:25:15 +0000 Subject: [PATCH] flashrom is a utility for reading, writing, verifying and erasing flash ROM chips. It's often used to flash BIOS/coreboot/firmware images. It supports a wide range of DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, and TSOP40 chips, which use various protocols such as LPC, FWH, parallel flash, or SPI. WWW: http://www.coreboot.org/Flashrom PR: 134267 Submitted by: Alexander Logvinov --- sysutils/Makefile | 1 + sysutils/flashrom/Makefile | 33 +++++++++++++++++++++++++++++++++ sysutils/flashrom/distinfo | 3 +++ sysutils/flashrom/pkg-descr | 8 ++++++++ 4 files changed, 45 insertions(+) create mode 100644 sysutils/flashrom/Makefile create mode 100644 sysutils/flashrom/distinfo create mode 100644 sysutils/flashrom/pkg-descr diff --git a/sysutils/Makefile b/sysutils/Makefile index 597c5c04d7b7..5774cfbfab9b 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -212,6 +212,7 @@ SUBDIR += finfo SUBDIR += fio SUBDIR += flasher + SUBDIR += flashrom SUBDIR += flexbackup SUBDIR += flock SUBDIR += flog diff --git a/sysutils/flashrom/Makefile b/sysutils/flashrom/Makefile new file mode 100644 index 000000000000..aead2cd8af5f --- /dev/null +++ b/sysutils/flashrom/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: flashrom +# Date created: 06 May 2009 +# Whom: Alexander Logvinov +# +# $FreeBSD$ +# + +PORTNAME= flashrom +PORTVERSION= 0.9.0 +CATEGORIES= sysutils +MASTER_SITES= http://qa.coreboot.org/releases/ + +MAINTAINER= ports@logvinov.com +COMMENT= A utility for reading, writing, verifying and erasing flash ROM chips + +LIB_DEPENDS= pci.2:${PORTSDIR}/devel/libpci + +USE_BZIP2= yes +USE_GMAKE= yes + +PORTDOCS= COPYING README +PLIST_FILES= bin/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/sysutils/flashrom/distinfo b/sysutils/flashrom/distinfo new file mode 100644 index 000000000000..edad2a184cc8 --- /dev/null +++ b/sysutils/flashrom/distinfo @@ -0,0 +1,3 @@ +MD5 (flashrom-0.9.0.tar.bz2) = e9953bc012b07ce20e83f253e5199c2a +SHA256 (flashrom-0.9.0.tar.bz2) = ebad45feb735318c4196ca2336d469b2bd7d2a8db43d879f468b0c2cd2ff136a +SIZE (flashrom-0.9.0.tar.bz2) = 59006 diff --git a/sysutils/flashrom/pkg-descr b/sysutils/flashrom/pkg-descr new file mode 100644 index 000000000000..e3620cd3f8e3 --- /dev/null +++ b/sysutils/flashrom/pkg-descr @@ -0,0 +1,8 @@ +flashrom is a utility for reading, writing, verifying and erasing flash ROM +chips. It's often used to flash BIOS/coreboot/firmware images. + +It supports a wide range of DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, and +TSOP40 chips, which use various protocols such as LPC, FWH, parallel flash, +or SPI. + +WWW: http://www.coreboot.org/Flashrom