Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2025 13:45:32 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2bf895a027d0 - main - net/isboot-kmod-devel: beta version of net/isboot-kmod
Message-ID:  <202510051345.595DjWOW032024@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

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

commit 2bf895a027d0b1797b931205d36e099ca68d2f13
Author:     John Nielsen <john@jnielsen.net>
AuthorDate: 2025-09-29 18:45:08 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-10-05 13:44:00 +0000

    net/isboot-kmod-devel: beta version of net/isboot-kmod
    
    This installs Daisuke Aoyama's isboot kernel module, which allows
    booting FreeBSD directly from an iSCSI root disk. If your BIOS
    supports iSCSI you may configure your target settings in the BIOS
    and boot directly. If not, you may PXE boot using software that
    contains iSCSI support such as iPXE. The module reads the iSCSI
    Boot Firmware Table (IBFT) to configure the network and re-attach
    the volume once the kernel begins execution.
    
    PR:             289730
---
 net/Makefile                               |  1 +
 net/isboot-kmod-devel/Makefile             | 40 ++++++++++++++++++++++++++++++
 net/isboot-kmod-devel/distinfo             |  3 +++
 net/isboot-kmod-devel/files/pkg-message.in | 11 ++++++++
 net/isboot-kmod-devel/pkg-descr            |  7 ++++++
 net/isboot-kmod/Makefile                   |  1 +
 6 files changed, 63 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 36147c7ee1c1..229047267d99 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -293,6 +293,7 @@
     SUBDIR += ipxe
     SUBDIR += irrd
     SUBDIR += isboot-kmod
+    SUBDIR += isboot-kmod-devel
     SUBDIR += isc-dhcp44-client
     SUBDIR += isc-dhcp44-relay
     SUBDIR += isc-dhcp44-server
diff --git a/net/isboot-kmod-devel/Makefile b/net/isboot-kmod-devel/Makefile
new file mode 100644
index 000000000000..e8c6acb4d5e1
--- /dev/null
+++ b/net/isboot-kmod-devel/Makefile
@@ -0,0 +1,40 @@
+PORTNAME=	isboot-kmod
+DISTVERSION=	0.2.16-beta1
+CATEGORIES=	net
+PKGNAMESUFFIX=	-devel
+
+MAINTAINER=	john@jnielsen.net
+COMMENT=	Kernel module enabling iSCSI/IBFT boot
+WWW=		https://github.com/jnielsendotnet/isboot
+
+LICENSE=	BSD2CLAUSE
+
+ONLY_FOR_ARCHS=	amd64 i386
+CONFLICTS_INSTALL= isboot-kmod
+
+USES=		kmod uidfix
+USE_GITHUB=	yes
+GH_ACCOUNT=	jnielsendotnet
+GH_PROJECT=	isboot
+
+SUB_FILES=	pkg-message
+
+WRKSRC_SUBDIR=	src
+
+PLIST_FILES=	${KMODDIR}/isboot.ko
+PORTDOCS=	README
+
+OPTIONS_DEFINE=	DOCS VIMAGE
+OPTIONS_DEFAULT=DOCS VIMAGE
+
+VIMAGE_DESC=	Build for a kernel with 'options VIMAGE'
+
+VIMAGE_CFLAGS=	-DVIMAGE
+
+.include <bsd.port.options.mk>
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/.. && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/net/isboot-kmod-devel/distinfo b/net/isboot-kmod-devel/distinfo
new file mode 100644
index 000000000000..3e9dde237604
--- /dev/null
+++ b/net/isboot-kmod-devel/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1758402182
+SHA256 (jnielsendotnet-isboot-0.2.16-beta1_GH0.tar.gz) = ecede983d5cc0706c12f180132e9183a168790112234c38b26d19394228c123a
+SIZE (jnielsendotnet-isboot-0.2.16-beta1_GH0.tar.gz) = 31224
diff --git a/net/isboot-kmod-devel/files/pkg-message.in b/net/isboot-kmod-devel/files/pkg-message.in
new file mode 100644
index 000000000000..af5435e0b503
--- /dev/null
+++ b/net/isboot-kmod-devel/files/pkg-message.in
@@ -0,0 +1,11 @@
+[
+{ type: install
+  message: <<EOM
+Remember to have the module loaded at boot by adding the following to
+/boot/loader.conf:
+  isboot_load="YES"
+
+See %%DOCSDIR%%/README for additional information.
+EOM
+}
+]
diff --git a/net/isboot-kmod-devel/pkg-descr b/net/isboot-kmod-devel/pkg-descr
new file mode 100644
index 000000000000..ca4c56485b24
--- /dev/null
+++ b/net/isboot-kmod-devel/pkg-descr
@@ -0,0 +1,7 @@
+This installs Daisuke Aoyama's isboot kernel module, which allows
+booting FreeBSD directly from an iSCSI root disk. If your BIOS
+supports iSCSI you may configure your target settings in the BIOS
+and boot directly. If not, you may PXE boot using software that
+contains iSCSI support such as iPXE. The module reads the iSCSI
+Boot Firmware Table (IBFT) to configure the network and re-attach
+the volume once the kernel begins execution.
diff --git a/net/isboot-kmod/Makefile b/net/isboot-kmod/Makefile
index f1b380bb3cf4..5c5a2aab4e07 100644
--- a/net/isboot-kmod/Makefile
+++ b/net/isboot-kmod/Makefile
@@ -9,6 +9,7 @@ WWW=		https://github.com/jnielsendotnet/isboot
 LICENSE=	BSD2CLAUSE
 
 ONLY_FOR_ARCHS=	amd64 i386
+CONFLICTS_INSTALL= isboot-kmod-devel
 
 USES=		kmod uidfix
 USE_GITHUB=	yes


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510051345.595DjWOW032024>