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
This commit is contained in:
parent
bd65d43fc9
commit
42b7343a75
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484800
4 changed files with 60 additions and 0 deletions
|
@ -412,6 +412,7 @@
|
|||
SUBDIR += fusefs-wikipediafs
|
||||
SUBDIR += fusefs-zip
|
||||
SUBDIR += fvcool
|
||||
SUBDIR += fwup
|
||||
SUBDIR += gaffitter
|
||||
SUBDIR += gai-leds
|
||||
SUBDIR += ganglia-monitor-core
|
||||
|
|
46
sysutils/fwup/Makefile
Normal file
46
sysutils/fwup/Makefile
Normal file
|
@ -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 <bsd.port.mk>
|
3
sysutils/fwup/distinfo
Normal file
3
sysutils/fwup/distinfo
Normal file
|
@ -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
|
10
sysutils/fwup/pkg-descr
Normal file
10
sysutils/fwup/pkg-descr
Normal file
|
@ -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
|
Loading…
Reference in a new issue