diff options
author | pi <pi@FreeBSD.org> | 2014-10-21 13:25:33 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2014-10-21 13:25:33 +0800 |
commit | d86a91fc374b6d6d1445bdc5828237f34485b6a0 (patch) | |
tree | 0274cecfb4e54294b01504544f73d80ff1f4cc7e /net | |
parent | 3fe8655efb1f2198222749741e4305b5d8755357 (diff) | |
download | freebsd-ports-gnome-d86a91fc374b6d6d1445bdc5828237f34485b6a0.tar.gz freebsd-ports-gnome-d86a91fc374b6d6d1445bdc5828237f34485b6a0.tar.zst freebsd-ports-gnome-d86a91fc374b6d6d1445bdc5828237f34485b6a0.zip |
New port: net/ng_mikrotik_eoip
Netgraph node for Mikrotik Ethernet-over-IP tunneling support
WWW: http://imax.in.ua/ng_mikrotik_eoip/
PR: 193420
Submitted by: gelraen.ua@gmail.com
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/ng_mikrotik_eoip/Makefile | 38 | ||||
-rw-r--r-- | net/ng_mikrotik_eoip/distinfo | 2 | ||||
-rw-r--r-- | net/ng_mikrotik_eoip/pkg-descr | 3 | ||||
-rw-r--r-- | net/ng_mikrotik_eoip/pkg-plist | 2 |
5 files changed, 46 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 6c506ee96325..95e07467229b 100644 --- a/net/Makefile +++ b/net/Makefile @@ -392,6 +392,7 @@ SUBDIR += netwib SUBDIR += neubot SUBDIR += nfsshell + SUBDIR += ng_mikrotik_eoip SUBDIR += ngrep SUBDIR += nifmon SUBDIR += nload diff --git a/net/ng_mikrotik_eoip/Makefile b/net/ng_mikrotik_eoip/Makefile new file mode 100644 index 000000000000..14a3025cc26f --- /dev/null +++ b/net/ng_mikrotik_eoip/Makefile @@ -0,0 +1,38 @@ +# $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= BSD2CLAUSE + +SSP_UNSAFE= kernel module does not support ssp + +OPTIONS_DEFINE= PTABLE +PTABLE_DESC= Use O(1) lookup for tunnel hooks +# 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} + +.include <bsd.port.options.mk> + +.if !exists(${SRC_BASE}/sys/sys/module.h) +IGNORE= requires kernel source files +.endif + +PTABLE_MAKE_ARGS= NO_LINEAR_HOOK_LOOKUP=1 + +do-install: + ${MKDIR} "${STAGEDIR}${KMODDIR}" + ${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko "${STAGEDIR}${KMODDIR}" + +.include <bsd.port.mk> diff --git a/net/ng_mikrotik_eoip/distinfo b/net/ng_mikrotik_eoip/distinfo new file mode 100644 index 000000000000..32049025b929 --- /dev/null +++ b/net/ng_mikrotik_eoip/distinfo @@ -0,0 +1,2 @@ +SHA256 (ng_mikrotik_eoip-1.0.tar.gz) = 3180b68660d110fc217e3b5b5e4cc94bee69dee2933a811b5c0349ea644952c8 +SIZE (ng_mikrotik_eoip-1.0.tar.gz) = 4154 diff --git a/net/ng_mikrotik_eoip/pkg-descr b/net/ng_mikrotik_eoip/pkg-descr new file mode 100644 index 000000000000..244376af3903 --- /dev/null +++ b/net/ng_mikrotik_eoip/pkg-descr @@ -0,0 +1,3 @@ +Netgraph node for Mikrotik Ethernet-over-IP tunneling support + +WWW: http://imax.in.ua/ng_mikrotik_eoip/ diff --git a/net/ng_mikrotik_eoip/pkg-plist b/net/ng_mikrotik_eoip/pkg-plist new file mode 100644 index 000000000000..93eedc024fe9 --- /dev/null +++ b/net/ng_mikrotik_eoip/pkg-plist @@ -0,0 +1,2 @@ +@cwd / +%%KMODDIR%%/ng_mikrotik_eoip.ko |