Netgraph node for Mikrotik's EoIP tunneling support

WWW: http://imax.in.ua/ng_mikrotik_eoip/

PR:		ports/163484
Submitted by:	Maxim Ignatenko <gelraen.ua_at_gmail.com>
This commit is contained in:
Sergey Matveychuk 2011-12-21 17:34:52 +00:00
parent 8576025438
commit 78e1dd1ed9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287817
5 changed files with 51 additions and 0 deletions

View File

@ -415,6 +415,7 @@
SUBDIR += nfsshell
SUBDIR += ng_car
SUBDIR += ng_daphne
SUBDIR += ng_mikrotik_eoip
SUBDIR += ngrep
SUBDIR += ngrep-lib
SUBDIR += nifmon

View File

@ -0,0 +1,41 @@
# New ports collection makefile for: ng_mikrotik_eoip
# Date created: 19 Dec 2011
# Whom: Maxim Ignatenko
#
# $FreeBSD$
#
PORTNAME= ng_mikrotik_eoip
PORTVERSION= 1.0
CATEGORIES= net kld
MASTER_SITES= http://projects.ukrweb.net/files/ \
http://imax.in.ua/files/
MAINTAINER= gelraen.ua@gmail.com
COMMENT= Netgraph node for Mikrotik EoIP tunneling
LICENSE= BSD
OPTIONS= PTABLE "Use O(1) lookup for tunnel hooks" OFF
# This option enables usage of static pointer table to find needed decimal-named hook,
# which increases memory usage for each node by 65536*sizeof(hook_p). You probably want
# this option if you have many tunnels with single remote IP.
KMODDIR?= /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR} \
PORTNAME=${PORTNAME}
.if !exists(${SRC_BASE}/sys/sys/module.h)
IGNORE= requires kernel source files
.endif
.include <bsd.port.options.mk>
.if defined(WITH_PTABLE)
MAKE_ARGS+= NO_LINEAR_HOOK_LOOKUP=1
.endif
do-install:
@${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko ${KMODDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (ng_mikrotik_eoip-1.0.tar.gz) = 3180b68660d110fc217e3b5b5e4cc94bee69dee2933a811b5c0349ea644952c8
SIZE (ng_mikrotik_eoip-1.0.tar.gz) = 4154

View File

@ -0,0 +1,3 @@
Netgraph node for Mikrotik Ethernet-over-IP tunneling support
WWW: http://imax.in.ua/ng_mikrotik_eoip/

View File

@ -0,0 +1,4 @@
@cwd /
%%KMODDIR%%/%%PORTNAME%%.ko
@exec /usr/sbin/kldxref /%%KMODDIR%%
@unexec /usr/sbin/kldxref /%%KMODDIR%%