From owner-svn-ports-head@freebsd.org Wed May 9 12:59:38 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF0F0FB8221; Wed, 9 May 2018 12:59:38 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 72D7A7CD84; Wed, 9 May 2018 12:59:38 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4DE0511BEA; Wed, 9 May 2018 12:59:38 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w49Cxc7n037054; Wed, 9 May 2018 12:59:38 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w49Cxb2o037049; Wed, 9 May 2018 12:59:37 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201805091259.w49Cxb2o037049@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Wed, 9 May 2018 12:59:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469447 - in head/sysutils: . fcode-utils fcode-utils/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/sysutils: . fcode-utils fcode-utils/files X-SVN-Commit-Revision: 469447 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2018 12:59:39 -0000 Author: tobik Date: Wed May 9 12:59:36 2018 New Revision: 469447 URL: https://svnweb.freebsd.org/changeset/ports/469447 Log: New port: sysutils/fcode-utils A set of utilities to process FCODE, OpenFirmware's byte code. This includes: - the tokenizer toke, - the detokenizer detok, - and a PCI rom header utility. WWW: https://www.openfirmware.info/FCODE_suite PR: 213114 Submitted by: Piotr Kubaj (based on) Reviewed by: pawel Added: head/sysutils/fcode-utils/ head/sysutils/fcode-utils/Makefile (contents, props changed) head/sysutils/fcode-utils/distinfo (contents, props changed) head/sysutils/fcode-utils/files/ head/sysutils/fcode-utils/files/patch-shared_types.h (contents, props changed) head/sysutils/fcode-utils/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Wed May 9 12:23:50 2018 (r469446) +++ head/sysutils/Makefile Wed May 9 12:59:36 2018 (r469447) @@ -309,6 +309,7 @@ SUBDIR += farbot SUBDIR += fastest_cvsup SUBDIR += fatback + SUBDIR += fcode-utils SUBDIR += fconfig SUBDIR += fcron SUBDIR += fd Added: head/sysutils/fcode-utils/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/fcode-utils/Makefile Wed May 9 12:59:36 2018 (r469447) @@ -0,0 +1,41 @@ +# Created by: Piotr Kubaj +# $FreeBSD$ + +PORTNAME= fcode-utils +PORTVERSION= 1.0.2 +DISTVERSIONPREFIX= v +CATEGORIES= sysutils + +MAINTAINER= pkubaj@anongoth.pl +COMMENT= Utilities to process FCODE, OpenFirmware's byte code + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= gmake +USE_GITHUB= yes +GH_ACCOUNT= openbios + +MAKE_ARGS= CC=${CC} +PLIST_FILES= bin/detok \ + bin/romheaders \ + bin/toke +PORTDOCS= detok.html toke.html workbook.css + +OPTIONS_DEFINE= DOCS + +do-build: +.for f in detok romheaders toke + @${DO_MAKE_BUILD} -C ${WRKSRC}/${f} +.endfor + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/detok/detok ${WRKSRC}/toke/toke \ + ${WRKSRC}/romheaders/romheaders ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/documentation && \ + ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +.include Added: head/sysutils/fcode-utils/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/fcode-utils/distinfo Wed May 9 12:59:36 2018 (r469447) @@ -0,0 +1,3 @@ +TIMESTAMP = 1475063061 +SHA256 (openbios-fcode-utils-v1.0.2_GH0.tar.gz) = 8d9979c269a60a6e2b9dcfb50d1515d0e750e95d7d2690b36620a614b0c163bc +SIZE (openbios-fcode-utils-v1.0.2_GH0.tar.gz) = 4308712 Added: head/sysutils/fcode-utils/files/patch-shared_types.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/fcode-utils/files/patch-shared_types.h Wed May 9 12:59:36 2018 (r469447) @@ -0,0 +1,11 @@ +--- shared/types.h.orig 2008-07-11 23:21:43 UTC ++++ shared/types.h +@@ -39,7 +39,7 @@ + * + **************************************************************************** */ + +-#if defined(__ppc__) && defined(__APPLE__) ++#if defined(__ppc__) && defined(__APPLE__) || defined (__FreeBSD__) + #include + + typedef int8_t s8; Added: head/sysutils/fcode-utils/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/fcode-utils/pkg-descr Wed May 9 12:59:36 2018 (r469447) @@ -0,0 +1,8 @@ +A set of utilities to process FCODE, OpenFirmware's byte code. This +includes: + +- the tokenizer toke, +- the detokenizer detok, +- and a PCI rom header utility. + +WWW: https://www.openfirmware.info/FCODE_suite