Add userfw 0.1.1, modular packet filter.

PR:		ports/165901
Submitted by:	Maxim Ignatenko
Feature safe:   yes
This commit is contained in:
Vanilla I. Shu 2012-03-19 12:46:11 +00:00
parent ed27a95b30
commit 72c2357232
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293558
5 changed files with 71 additions and 0 deletions

View file

@ -1149,6 +1149,7 @@
SUBDIR += uriparser
SUBDIR += urlendec
SUBDIR += usbredir
SUBDIR += userfw
SUBDIR += ushare
SUBDIR += utftpd
SUBDIR += vblade

36
net/userfw/Makefile Normal file
View file

@ -0,0 +1,36 @@
# New ports collection makefile for: userfw
# Date created: 10 Mar 2012
# Whom: Maxim Ignatenko
#
# $FreeBSD$
#
PORTNAME= userfw
PORTVERSION= 0.1.1
CATEGORIES= net kld
MASTER_SITES= http://userfw.net/files/release/ \
http://imax.in.ua/files/ \
http://projects.ukrweb.net/files/ \
https://github.com/downloads/gelraen/userfw/
MAINTAINER= gelraen.ua@gmail.com
COMMENT= Modular packet filter
LICENSE= BSD
USE_XZ= yes
USE_CMAKE= yes
USE_LDCONFIG= yes
CMAKE_OUTSOURCE= yes
KMODDIR?= /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR}
.if !exists(${SRC_BASE}/sys/sys/module.h)
IGNORE= requires kernel source files
.endif
CMAKE_ARGS+= -DDOMAIN_STUB:BOOL=OFF
CMAKE_ARGS+= -DOPCODE_VERIFICATION:BOOL=OFF
.include <bsd.port.mk>

2
net/userfw/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (userfw-0.1.1.tar.xz) = 9ca9525039c2a2fdaafec51d75b13f0f65d01c5f300434dbe55da3d459fe4328
SIZE (userfw-0.1.1.tar.xz) = 30536

3
net/userfw/pkg-descr Normal file
View file

@ -0,0 +1,3 @@
userfw is extensible packet filter for FreeBSD. Now it's mostly experimental.
WWW: http://userfw.net/

29
net/userfw/pkg-plist Normal file
View file

@ -0,0 +1,29 @@
bin/userfw
lib/libuserfw.so
include/userfw/cache.h
include/userfw/connection.h
include/userfw/io.h
include/userfw/message.h
include/userfw/mod_list.h
include/userfw/module.h
include/userfw/ruleset.h
include/userfw/types.h
include/userfw/modules/base.h
include/userfw/modules/bpf.h
include/userfw/modules/counters.h
include/userfw/modules/dummynet.h
include/userfw/modules/ip.h
include/userfw/modules/ipfw.h
include/userfw/modules/ipv4.h
include/userfw/modules/multiruleset.h
@dirrmtry include/userfw/modules
@dirrmtry include/userfw
@cwd /
%%KMODDIR%%/userfw.ko
%%KMODDIR%%/userfw_bpf.ko
%%KMODDIR%%/userfw_counters.ko
%%KMODDIR%%/userfw_dummynet.ko
%%KMODDIR%%/userfw_ipfw.ko
%%KMODDIR%%/userfw_multiruleset.ko
@exec /usr/sbin/kldxref /%%KMODDIR%%
@unexec /usr/sbin/kldxref /%%KMODDIR%%