git: e5baa4d9c682 - main - sysutils/loaders-update: update bootcode / loaders

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 28 Oct 2024 12:44:31 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e5baa4d9c682a430a04a17f2d5b310721a21eeb3

commit e5baa4d9c682a430a04a17f2d5b310721a21eeb3
Author:     Emrion <kmachine@free.fr>
AuthorDate: 2024-10-27 07:47:57 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-10-28 12:42:08 +0000

    sysutils/loaders-update: update bootcode / loaders
    
    This utility is a tool designed to keep the FreeBSD bootcodes and loaders
    up-to-date.  It's useful because the FreeBSD upgrade process doesn't update
    them.  It verifies if they are up to date and updates them if desired.
    
    WWW: https://github.com/emrion/uploaders/
    
    PR:             281731
---
 sysutils/Makefile                 |  1 +
 sysutils/loaders-update/Makefile  | 30 ++++++++++++++++++++++++++++++
 sysutils/loaders-update/distinfo  |  3 +++
 sysutils/loaders-update/pkg-descr |  4 ++++
 4 files changed, 38 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 9310cc8d6df8..fbcaa7367b01 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -701,6 +701,7 @@
     SUBDIR += lmmon
     SUBDIR += lmon
     SUBDIR += lnav
+    SUBDIR += loaders-update
     SUBDIR += lockfile-progs
     SUBDIR += loganalyzer
     SUBDIR += logrotate
diff --git a/sysutils/loaders-update/Makefile b/sysutils/loaders-update/Makefile
new file mode 100644
index 000000000000..9c7561c36d22
--- /dev/null
+++ b/sysutils/loaders-update/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	loaders-update
+DISTVERSION=	1.0.1
+CATEGORIES=	sysutils
+MASTER_SITES=	GH
+
+MAINTAINER=	kmachine@free.fr
+COMMENT=	Update bootcode and loaders
+WWW=		https://github.com/emrion/uploaders/
+
+LICENSE=	BSD2CLAUSE
+
+ONLY_FOR_ARCHS=	amd64
+ONLY_FOR_ARCHS_REASON=	Utility is specific to amd64's boot code
+
+GH_PROJECT=	uploaders
+USE_GITHUB=	yes
+GH_ACCOUNT=	emrion
+
+NO_BUILD=	yes
+
+PLIST_FILES=	sbin/${PORTNAME} \
+		share/man/man8/${PORTNAME}.8.gz
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \
+		${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 \
+		${STAGEDIR}${PREFIX}/share/man/man8/
+
+.include <bsd.port.mk>
diff --git a/sysutils/loaders-update/distinfo b/sysutils/loaders-update/distinfo
new file mode 100644
index 000000000000..1b7db8d93d2f
--- /dev/null
+++ b/sysutils/loaders-update/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1729420053
+SHA256 (emrion-uploaders-1.0.1_GH0.tar.gz) = 81fff4ed180dc18c9bc74fc74fd808c1302beaf89997ffd32d9bf622151e3d81
+SIZE (emrion-uploaders-1.0.1_GH0.tar.gz) = 6376
diff --git a/sysutils/loaders-update/pkg-descr b/sysutils/loaders-update/pkg-descr
new file mode 100644
index 000000000000..90a2929de2b2
--- /dev/null
+++ b/sysutils/loaders-update/pkg-descr
@@ -0,0 +1,4 @@
+This utility is a tool designed to keep the FreeBSD bootcodes and
+loaders up-to-date.  It's useful because the FreeBSD upgrade process
+doesn't update them.  It verifies if they are up to date and updates
+them if desired.