From owner-svn-ports-all@freebsd.org Mon Nov 12 10:59:12 2018 Return-Path: Delivered-To: svn-ports-all@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 388F01102AEB; Mon, 12 Nov 2018 10:59:12 +0000 (UTC) (envelope-from dch@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 792136AA44; Mon, 12 Nov 2018 10:59:11 +0000 (UTC) (envelope-from dch@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 576131FCC2; Mon, 12 Nov 2018 10:59:11 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wACAxBLv049712; Mon, 12 Nov 2018 10:59:11 GMT (envelope-from dch@FreeBSD.org) Received: (from dch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wACAxARb049705; Mon, 12 Nov 2018 10:59:10 GMT (envelope-from dch@FreeBSD.org) Message-Id: <201811121059.wACAxARb049705@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dch set sender to dch@FreeBSD.org using -f From: Dave Cottlehuber Date: Mon, 12 Nov 2018 10:59:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484800 - in head/sysutils: . fwup X-SVN-Group: ports-head X-SVN-Commit-Author: dch X-SVN-Commit-Paths: in head/sysutils: . fwup X-SVN-Commit-Revision: 484800 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 792136AA44 X-Spamd-Result: default: False [-103.10 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 10:59:12 -0000 Author: dch Date: Mon Nov 12 10:59:10 2018 New Revision: 484800 URL: https://svnweb.freebsd.org/changeset/ports/484800 Log: sysutils/fwup: new port for managing embedded linux systems fwup is a configurable image-based software update utility for embedded Linux-based systems. It primarily supports software upgrade strategies that update entire root filesystem images at once. This includes strategies like swapping back and forth between A and B partitions, recovery partitions, and various trial update/failback scenarios. All software update information is combined into a ZIP archive that may optionally be cryptographically signed. fwup has minimal dependencies and runtime requirements. WWW: https://github.com/fhunleth/fwup Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D17907 Added: head/sysutils/fwup/ head/sysutils/fwup/Makefile (contents, props changed) head/sysutils/fwup/distinfo (contents, props changed) head/sysutils/fwup/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Nov 12 10:28:03 2018 (r484799) +++ head/sysutils/Makefile Mon Nov 12 10:59:10 2018 (r484800) @@ -412,6 +412,7 @@ SUBDIR += fusefs-wikipediafs SUBDIR += fusefs-zip SUBDIR += fvcool + SUBDIR += fwup SUBDIR += gaffitter SUBDIR += gai-leds SUBDIR += ganglia-monitor-core Added: head/sysutils/fwup/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/fwup/Makefile Mon Nov 12 10:59:10 2018 (r484800) @@ -0,0 +1,46 @@ +# $FreeBSD$ + +PORTNAME= fwup +DISTVERSIONPREFIX= v +DISTVERSION= 1.2.6 +CATEGORIES= sysutils + +MAINTAINER= dch@FreeBSD.org +COMMENT= Configurable embedded Linux firmware update creator and runner + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/bin/autogen:devel/autogen \ + ${LOCALBASE}/bin/base64:converters/base64 \ + ${LOCALBASE}/bin/help2man:misc/help2man \ + ${LOCALBASE}/bin/mdir:emulators/mtools \ + ${LOCALBASE}/bin/zip:archivers/zip +LIB_DEPENDS= libconfuse.so:devel/libconfuse \ + libsodium.so:security/libsodium + +USES= autoreconf libarchive libtool pkgconfig shebangfix +USE_GITHUB= yes +GH_ACCOUNT= fhunleth + +GNU_CONFIGURE= yes + +SHEBANG_FILES= img2fwup scripts/*.sh + +PLIST_FILES= bin/fwup \ + bin/img2fwup \ + man/man1/fwup.1.gz \ + share/bash-completion/completions/fwup + +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +pre-configure: + @(cd ${WRKSRC} && ./autogen.sh) + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include Added: head/sysutils/fwup/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/fwup/distinfo Mon Nov 12 10:59:10 2018 (r484800) @@ -0,0 +1,3 @@ +TIMESTAMP = 1541665329 +SHA256 (fhunleth-fwup-v1.2.6_GH0.tar.gz) = 5bdcb8a5424b211fd35ddd4d8fdd6f74e8221cf432807dc8018f81ce54939b52 +SIZE (fhunleth-fwup-v1.2.6_GH0.tar.gz) = 2711716 Added: head/sysutils/fwup/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/fwup/pkg-descr Mon Nov 12 10:59:10 2018 (r484800) @@ -0,0 +1,10 @@ +fwup is a configurable image-based software update utility for embedded +Linux-based systems. It primarily supports software upgrade strategies +that update entire root filesystem images at once. This includes +strategies like swapping back and forth between A and B partitions, +recovery partitions, and various trial update/failback scenarios. All +software update information is combined into a ZIP archive that may +optionally be cryptographically signed. fwup has minimal dependencies +and runtime requirements. + +WWW: https://github.com/fhunleth/fwup