Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2014 05:25:34 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371308 - in head/net: . ng_mikrotik_eoip
Message-ID:  <201410210525.s9L5PYRa039232@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Tue Oct 21 05:25:33 2014
New Revision: 371308
URL: https://svnweb.freebsd.org/changeset/ports/371308
QAT: https://qat.redports.org/buildarchive/r371308/

Log:
  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

Added:
  head/net/ng_mikrotik_eoip/
  head/net/ng_mikrotik_eoip/Makefile   (contents, props changed)
  head/net/ng_mikrotik_eoip/distinfo   (contents, props changed)
  head/net/ng_mikrotik_eoip/pkg-descr   (contents, props changed)
  head/net/ng_mikrotik_eoip/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Mon Oct 20 23:15:05 2014	(r371307)
+++ head/net/Makefile	Tue Oct 21 05:25:33 2014	(r371308)
@@ -392,6 +392,7 @@
     SUBDIR += netwib
     SUBDIR += neubot
     SUBDIR += nfsshell
+    SUBDIR += ng_mikrotik_eoip
     SUBDIR += ngrep
     SUBDIR += nifmon
     SUBDIR += nload

Added: head/net/ng_mikrotik_eoip/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/ng_mikrotik_eoip/Makefile	Tue Oct 21 05:25:33 2014	(r371308)
@@ -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>

Added: head/net/ng_mikrotik_eoip/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/ng_mikrotik_eoip/distinfo	Tue Oct 21 05:25:33 2014	(r371308)
@@ -0,0 +1,2 @@
+SHA256 (ng_mikrotik_eoip-1.0.tar.gz) = 3180b68660d110fc217e3b5b5e4cc94bee69dee2933a811b5c0349ea644952c8
+SIZE (ng_mikrotik_eoip-1.0.tar.gz) = 4154

Added: head/net/ng_mikrotik_eoip/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/ng_mikrotik_eoip/pkg-descr	Tue Oct 21 05:25:33 2014	(r371308)
@@ -0,0 +1,3 @@
+Netgraph node for Mikrotik Ethernet-over-IP tunneling support
+
+WWW: http://imax.in.ua/ng_mikrotik_eoip/

Added: head/net/ng_mikrotik_eoip/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/ng_mikrotik_eoip/pkg-plist	Tue Oct 21 05:25:33 2014	(r371308)
@@ -0,0 +1,2 @@
+@cwd /
+%%KMODDIR%%/ng_mikrotik_eoip.ko



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410210525.s9L5PYRa039232>