diff options
Diffstat (limited to 'net/isboot-kmod-devel')
-rw-r--r-- | net/isboot-kmod-devel/Makefile | 40 | ||||
-rw-r--r-- | net/isboot-kmod-devel/distinfo | 3 | ||||
-rw-r--r-- | net/isboot-kmod-devel/files/pkg-message.in | 11 | ||||
-rw-r--r-- | net/isboot-kmod-devel/pkg-descr | 7 |
4 files changed, 61 insertions, 0 deletions
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. |