aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Nielsen <john@jnielsen.net>2021-05-11 05:04:29 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2021-05-23 06:57:08 +0000
commite9f100aa362c0379a4e56a23cba9064b4a4dc90e (patch)
tree0e1ea129d1b3236975a2e61434b40db0b5c9ef1d
parent5604cde7d16a31a77d55611ab235ec61dc19b6b7 (diff)
downloadports-e9f100aa362c0379a4e56a23cba9064b4a4dc90e.tar.gz
ports-e9f100aa362c0379a4e56a23cba9064b4a4dc90e.zip
net/isboot-kmod: Update to 0.2.14
PR: 255578
-rw-r--r--net/isboot-kmod/Makefile19
-rw-r--r--net/isboot-kmod/distinfo5
-rw-r--r--net/isboot-kmod/files/patch-isboot.c50
3 files changed, 12 insertions, 62 deletions
diff --git a/net/isboot-kmod/Makefile b/net/isboot-kmod/Makefile
index 3c39f1002c1e..1a4f95b99084 100644
--- a/net/isboot-kmod/Makefile
+++ b/net/isboot-kmod/Makefile
@@ -1,23 +1,22 @@
PORTNAME= isboot-kmod
-PORTVERSION= 0.2.13
-PORTREVISION= 1
+PORTVERSION= 0.2.14
CATEGORIES= net
MASTER_SITES= http://www.peach.ne.jp/archives/isboot/
DISTNAME= isboot-${PORTVERSION}
MAINTAINER= john@jnielsen.net
-COMMENT= Kernel module enabling iSCSI boot
+COMMENT= Kernel module enabling iSCSI/IBFT boot
LICENSE= BSD2CLAUSE
-BROKEN_aarch64= fails to compile: /usr/src/sys/sys/bus.h:724:10: fatal error: 'device_if.h' file not found
-BROKEN_armv6= fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99
-BROKEN_armv7= fails to compile: /usr/src/sys/sys/bus.h:724:10: fatal error: 'device_if.h' file not found
-BROKEN_FreeBSD_12= no member named 'tqh_first' in 'struct ifnethead'
-BROKEN_FreeBSD_13= no member named 'tqh_first' in 'struct ifnethead'
-BROKEN_FreeBSD_14= no member named 'tqh_first' in 'struct ifnethead'
+ONLY_FOR_ARCHS= amd64 i386
USES= kmod uidfix
+
+USE_GITHUB= yes
+GH_ACCOUNT= jnielsendotnet
+GH_PROJECT= isboot
+
SUB_FILES= pkg-message
WRKSRC_SUBDIR= src
PLIST_FILES= ${KMODDIR}/isboot.ko
@@ -29,6 +28,6 @@ VIMAGE_CFLAGS= -DVIMAGE
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKDIR}/${DISTNAME} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/.. && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/net/isboot-kmod/distinfo b/net/isboot-kmod/distinfo
index cc183510c340..96dc7af469b3 100644
--- a/net/isboot-kmod/distinfo
+++ b/net/isboot-kmod/distinfo
@@ -1,2 +1,3 @@
-SHA256 (isboot-0.2.13.tar.gz) = b73ec64fbf96160242b19c47c13b666204b6943f248d6c3832f5cd3b60b1c030
-SIZE (isboot-0.2.13.tar.gz) = 30293
+TIMESTAMP = 1620068976
+SHA256 (jnielsendotnet-isboot-0.2.14_GH0.tar.gz) = 8ebc00888630b09e4740552c27980bb09fc5a638780043a078270ee6b1ad8097
+SIZE (jnielsendotnet-isboot-0.2.14_GH0.tar.gz) = 30405
diff --git a/net/isboot-kmod/files/patch-isboot.c b/net/isboot-kmod/files/patch-isboot.c
deleted file mode 100644
index de80988bb9c0..000000000000
--- a/net/isboot-kmod/files/patch-isboot.c
+++ /dev/null
@@ -1,50 +0,0 @@
---- isboot.c.orig 2015-11-05 16:50:51 UTC
-+++ isboot.c
-@@ -347,9 +347,9 @@ isboot_set_v4gw(struct sockaddr_in *gate
- netmask.sin_addr.s_addr = htonl(0);
-
- /* delete gateway if exists */
-- error = rtrequest(RTM_DELETE, (struct sockaddr *)&dst,
-+ error = rtrequest_fib(RTM_DELETE, (struct sockaddr *)&dst,
- (struct sockaddr *)gateway, (struct sockaddr *)&netmask,
-- 0, NULL);
-+ 0, NULL, RT_DEFAULT_FIB);
- if (error) {
- if (error != ESRCH) {
- printf("rtrequest RTM_DELETE error %d\n",
-@@ -359,9 +359,9 @@ isboot_set_v4gw(struct sockaddr_in *gate
- }
-
- /* set new default gateway */
-- error = rtrequest(RTM_ADD, (struct sockaddr *)&dst,
-+ error = rtrequest_fib(RTM_ADD, (struct sockaddr *)&dst,
- (struct sockaddr *)gateway, (struct sockaddr *)&netmask,
-- RTF_GATEWAY | RTF_STATIC, NULL);
-+ RTF_GATEWAY | RTF_STATIC, NULL, RT_DEFAULT_FIB);
- if (error) {
- printf("rtrequest RTM_ADD error %d\n", error);
- return (error);
-@@ -391,9 +391,9 @@ isboot_set_v6gw(struct sockaddr_in6 *gat
- memset(&netmask.sin6_addr, 0, 16);
-
- /* delete gateway if exists */
-- error = rtrequest(RTM_DELETE, (struct sockaddr *)&dst,
-+ error = rtrequest_fib(RTM_DELETE, (struct sockaddr *)&dst,
- (struct sockaddr *)gateway, (struct sockaddr *)&netmask,
-- 0, NULL);
-+ 0, NULL, RT_DEFAULT_FIB);
- if (error) {
- if (error != ESRCH) {
- printf("rtrequest RTM_DELETE error %d\n",
-@@ -403,9 +403,9 @@ isboot_set_v6gw(struct sockaddr_in6 *gat
- }
-
- /* set new default gateway */
-- error = rtrequest(RTM_ADD, (struct sockaddr *)&dst,
-+ error = rtrequest_fib(RTM_ADD, (struct sockaddr *)&dst,
- (struct sockaddr *)gateway, (struct sockaddr *)&netmask,
-- RTF_GATEWAY | RTF_STATIC, NULL);
-+ RTF_GATEWAY | RTF_STATIC, NULL, RT_DEFAULT_FIB);
- if (error) {
- printf("rtrequest RTM_ADD error %d\n", error);
- return (error);