Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2018 11:13:48 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464163 - head/sysutils/flashrom
Message-ID:  <201803111113.w2BBDmrQ093229@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Mar 11 11:13:48 2018
New Revision: 464163
URL: https://svnweb.freebsd.org/changeset/ports/464163

Log:
  sysutils/flashrom: Update to 1.0
  
  - Reset maintainer after > 3 consecutive timeouts
  - Simplify port
  - Add LICENSE_FILE
  - Follow MASTER_SITES 308
  
  PR:		224850
  Submitted by:	Michael Zhilin <mizhka@gmail.com> (update to 1.0)
  Approved by:	maintainer timeout (2 months)

Modified:
  head/sysutils/flashrom/Makefile
  head/sysutils/flashrom/distinfo

Modified: head/sysutils/flashrom/Makefile
==============================================================================
--- head/sysutils/flashrom/Makefile	Sun Mar 11 10:55:14 2018	(r464162)
+++ head/sysutils/flashrom/Makefile	Sun Mar 11 11:13:48 2018	(r464163)
@@ -2,43 +2,35 @@
 # $FreeBSD$
 
 PORTNAME=	flashrom
-PORTVERSION=	0.9.9
-PORTREVISION=	2
+PORTVERSION=	1.0
 CATEGORIES=	sysutils
-MASTER_SITES=	http://download.flashrom.org/releases/
+MASTER_SITES=	https://download.flashrom.org/releases/
 
-MAINTAINER=	nukama+maintainer@gmail.com
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Utility for reading, writing, verifying, and erasing flash ROM chips
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
+ONLY_FOR_ARCHS=	amd64 i386
+
 LIB_DEPENDS=	libpci.so:devel/libpci
 
-OPTIONS_DEFINE=		BUSPIRATE DMIDECODE DOCS FTDI
-OPTIONS_DEFAULT=	DMIDECODE FTDI
-
-BUSPIRATE_DESC=		Enable buspirate support (broken)
-DMIDECODE_DESC=		Use dmidecode to gather DMI information
-FTDI_DESC=		Enable external FT2232SPI flasher support
-
 USES=		gmake tar:bzip2
 MAKE_ENV=	CONFIG_BUSPIRATE_SPI=no \
 		WARNERROR=no
 
-ONLY_FOR_ARCHS=	amd64 i386
-
+PLIST_FILES=	bin/flashrom \
+		man/man8/flashrom.8.gz
 PORTDOCS=	*
 
-DOCSRCDIR1=	${WRKSRC}
-DOC_FILES1=	ChangeLog README
+OPTIONS_DEFINE=		BUSPIRATE DMIDECODE DOCS FTDI
+OPTIONS_DEFAULT=	DMIDECODE FTDI
 
-DOCSRCDIR2=	${WRKSRC}/Documentation
-DOCSDIR2=	${DOCSDIR}/Documentation
-DOC_FILES2=	*.txt
+BUSPIRATE_DESC=		Enable buspirate support (broken)
+DMIDECODE_DESC=		Use dmidecode to gather DMI information
+FTDI_DESC=		Enable external FT2232SPI flasher support
 
-PLIST_FILES=	bin/${PORTNAME} \
-		man/man8/${PORTNAME}.8.gz
-
 BUSPIRATE_MAKE_ENV=	CONFIG_BUSPIRATE_SPI=yes
 
 DMIDECODE_RUN_DEPENDS+=	dmidecode:sysutils/dmidecode
@@ -47,13 +39,10 @@ FTDI_LIB_DEPENDS=	libftdi1.so:devel/libftdi1
 FTDI_USES=		pkgconfig
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
-
+	${INSTALL_PROGRAM} ${WRKSRC}/flashrom ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/flashrom.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
-	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/Documentation && ${INSTALL_DATA} *.txt ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/sysutils/flashrom/distinfo
==============================================================================
--- head/sysutils/flashrom/distinfo	Sun Mar 11 10:55:14 2018	(r464162)
+++ head/sysutils/flashrom/distinfo	Sun Mar 11 11:13:48 2018	(r464163)
@@ -1,2 +1,3 @@
-SHA256 (flashrom-0.9.9.tar.bz2) = cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45
-SIZE (flashrom-0.9.9.tar.bz2) = 495199
+TIMESTAMP = 1514932004
+SHA256 (flashrom-1.0.tar.bz2) = 3702fa215ba5fb5af8e54c852d239899cfa1389194c1e51cb2a170c4dc9dee64
+SIZE (flashrom-1.0.tar.bz2) = 321693



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