ports/163484: New port: net/ng_mikrotik_eoip
Maxim Ignatenko
gelraen.ua at gmail.com
Tue Dec 20 18:20:11 UTC 2011
>Number: 163484
>Category: ports
>Synopsis: New port: net/ng_mikrotik_eoip
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 20 18:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Maxim Ignatenko
>Release: 8-STABLE
>Organization:
>Environment:
>Description:
Netgraph node for Mikrotik's EoIP tunneling support
WWW: http://imax.in.ua/ng_mikrotik_eoip/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# ng_mikrotik_eoip
# ng_mikrotik_eoip/Makefile
# ng_mikrotik_eoip/distinfo
# ng_mikrotik_eoip/pkg-descr
# ng_mikrotik_eoip/pkg-plist
#
echo c - ng_mikrotik_eoip
mkdir -p ng_mikrotik_eoip > /dev/null 2>&1
echo x - ng_mikrotik_eoip/Makefile
sed 's/^X//' >ng_mikrotik_eoip/Makefile << '5e78d87706254d6eb4db4efc346f1f86'
X# New ports collection makefile for: ng_mikrotik_eoip
X# Date created: 19 Dec 2011
X# Whom: Maxim Ignatenko
X#
X# $FreeBSD$
X#
X
XPORTNAME= ng_mikrotik_eoip
XPORTVERSION= 1.0
XCATEGORIES= net kld
XMASTER_SITES= http://projects.ukrweb.net/files/ \
X http://imax.in.ua/files/
X
XMAINTAINER= gelraen.ua at gmail.com
XCOMMENT= Netgraph node for Mikrotik EoIP tunneling
X
XLICENSE= BSD
X
XOPTIONS= PTABLE "Use O(1) lookup for tunnel hooks" OFF
X# This option enables usage of static pointer table to find needed decimal-named hook,
X# which increases memory usage for each node by 65536*sizeof(hook_p). You probably want
X# this option if you have many tunnels with single remote IP.
X
XKMODDIR?= /boot/modules
XPLIST_SUB+= KMODDIR=${KMODDIR} \
X PORTNAME=${PORTNAME}
X
X.if !exists(${SRC_BASE}/sys/sys/module.h)
XIGNORE= requires kernel source files
X.endif
X
X.include <bsd.port.options.mk>
X
X.if defined(WITH_PTABLE)
XMAKE_ARGS+= NO_LINEAR_HOOK_LOOKUP=1
X.endif
X
Xdo-install:
X @${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko ${KMODDIR}
X
X.include <bsd.port.mk>
5e78d87706254d6eb4db4efc346f1f86
echo x - ng_mikrotik_eoip/distinfo
sed 's/^X//' >ng_mikrotik_eoip/distinfo << '437ae1b5d5a70db0b9f99cb250a6f960'
XSHA256 (ng_mikrotik_eoip-1.0.tar.gz) = 3180b68660d110fc217e3b5b5e4cc94bee69dee2933a811b5c0349ea644952c8
XSIZE (ng_mikrotik_eoip-1.0.tar.gz) = 4154
437ae1b5d5a70db0b9f99cb250a6f960
echo x - ng_mikrotik_eoip/pkg-descr
sed 's/^X//' >ng_mikrotik_eoip/pkg-descr << '133ffb881490ab0c43b597f8e95820e9'
XNetgraph node for Mikrotik Ethernet-over-IP tunneling support
X
XWWW: http://imax.in.ua/ng_mikrotik_eoip/
133ffb881490ab0c43b597f8e95820e9
echo x - ng_mikrotik_eoip/pkg-plist
sed 's/^X//' >ng_mikrotik_eoip/pkg-plist << '9c83927d67e0225ee1f0a10a9721f83e'
X at cwd /
X%%KMODDIR%%/%%PORTNAME%%.ko
X at exec /usr/sbin/kldxref /%%KMODDIR%%
X at unexec /usr/sbin/kldxref /%%KMODDIR%%
9c83927d67e0225ee1f0a10a9721f83e
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list