git: 7dc3db13fcde - main - net/ng_mikrotik_eoip: Use USES=kmod
Tobias Kortkamp
tobik at FreeBSD.org
Sat May 1 18:33:59 UTC 2021
The branch main has been updated by tobik:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7dc3db13fcde23bab69eed83f6607ddbcac826aa
commit 7dc3db13fcde23bab69eed83f6607ddbcac826aa
Author: Tobias Kortkamp <tobik at FreeBSD.org>
AuthorDate: 2021-04-30 15:59:51 +0000
Commit: Tobias Kortkamp <tobik at FreeBSD.org>
CommitDate: 2021-05-01 17:55:49 +0000
net/ng_mikrotik_eoip: Use USES=kmod
Add USES=uidfix too so that can work.
Reported by: portscan (KMODDIR without USES=kmod)
---
net/ng_mikrotik_eoip/Makefile | 16 +---------------
net/ng_mikrotik_eoip/pkg-plist | 2 +-
2 files changed, 2 insertions(+), 16 deletions(-)
diff --git a/net/ng_mikrotik_eoip/Makefile b/net/ng_mikrotik_eoip/Makefile
index ca78c62b35d7..ce59d53ff350 100644
--- a/net/ng_mikrotik_eoip/Makefile
+++ b/net/ng_mikrotik_eoip/Makefile
@@ -9,7 +9,7 @@ COMMENT= Netgraph node for Mikrotik EoIP tunneling
LICENSE= BSD2CLAUSE
-SSP_UNSAFE= kernel module does not support ssp
+USES= kmod uidfix
OPTIONS_DEFINE= PTABLE
PTABLE_DESC= Use O(1) lookup for tunnel hooks
@@ -19,18 +19,4 @@ PTABLE_DESC= Use O(1) lookup for tunnel hooks
PTABLE_MAKE_ARGS= NO_LINEAR_HOOK_LOOKUP=1
-KMODDIR?= /boot/modules
-PLIST_SUB+= KMODDIR=${KMODDIR} \
- PORTNAME=${PORTNAME}
-
-.include <bsd.port.options.mk>
-
-.if !exists(${SRC_BASE}/sys/sys/module.h)
-IGNORE= requires kernel source files
-.endif
-
-do-install:
- ${MKDIR} "${STAGEDIR}${KMODDIR}"
- ${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko "${STAGEDIR}${KMODDIR}"
-
.include <bsd.port.mk>
diff --git a/net/ng_mikrotik_eoip/pkg-plist b/net/ng_mikrotik_eoip/pkg-plist
index 14d071b71c82..8a96628c88ca 100644
--- a/net/ng_mikrotik_eoip/pkg-plist
+++ b/net/ng_mikrotik_eoip/pkg-plist
@@ -1 +1 @@
-%%KMODDIR%%/ng_mikrotik_eoip.ko
+/%%KMODDIR%%/ng_mikrotik_eoip.ko
More information about the dev-commits-ports-all
mailing list