Import upobsd, from upstream semarie@

upobsd is a ksh(1) script designed to download, verify and optionally patch
bsd.rd image.

upobsd will download bsd.rd image using ftp(1) from mirror defined in
installurl(5), will verify the downloaded file using signify(1) and local key
inside /etc/signify to ensure integrity, and optionally patch the image for
adding auto_install.conf or auto_upgrade.conf file to add support of offline
autoinstall(8).

requested by danj@, ok rsadowski@
This commit is contained in:
landry 2018-01-06 09:34:31 +00:00
parent f23ce59481
commit 6bc0a4b5d7
4 changed files with 45 additions and 0 deletions

31
sysutils/upobsd/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2018/01/06 09:34:31 landry Exp $
COMMENT = download, verify and patch bsd.rd image
V = d8868e286065
DISTNAME = upobsd-0.0.20180105
CATEGORIES = sysutils
HOMEPAGE = https://bitbucket.org/semarie/upobsd
MAINTAINER = Sebastien Marie <semarie@online.fr>
# ISC
PERMIT_PACKAGE_CDROM = Yes
# uses pledge()
WANTLIB = c
MASTER_SITES = https://bitbucket.org/semarie/upobsd/get/
DISTFILES = ${DISTNAME}{${V}}${EXTRACT_SUFX}
MAKE_ENV = BINDIR=${LOCALBASE}/bin \
MANDIR=${LOCALBASE}/man/man
NO_TEST = Yes
post-extract:
@mv ${WRKDIR}/semarie-upobsd-${V} ${WRKDIST}
.include <bsd.port.mk>

2
sysutils/upobsd/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (upobsd-0.0.20180105.tar.gz) = AICIVnAzzQ2ek77yaRDgLHbEyTjKzkRXzFiMyvyoHho=
SIZE (upobsd-0.0.20180105.tar.gz) = 10285

View File

@ -0,0 +1,8 @@
upobsd is a ksh(1) script designed to download, verify and optionally patch
bsd.rd image.
upobsd will download bsd.rd image using ftp(1) from mirror defined in
installurl(5), will verify the downloaded file using signify(1) and local key
inside /etc/signify to ensure integrity, and optionally patch the image for
adding auto_install.conf or auto_upgrade.conf file to add support of offline
autoinstall(8).

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/01/06 09:34:31 landry Exp $
@bin bin/elfrdsetroot
bin/upobsd
@man man/man1/upobsd.1