diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2012-03-19 12:46:11 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2012-03-19 12:46:11 +0000 |
commit | 72c23572329cd8e0945f1a4b2d7968c557239fbb (patch) | |
tree | 778f04723d6e9e64a759ed69677fc5df7bb6cae4 /net/userfw | |
parent | ed27a95b3055aaf487d1fe60a897b0f07f05c19c (diff) |
Notes
Diffstat (limited to 'net/userfw')
-rw-r--r-- | net/userfw/Makefile | 36 | ||||
-rw-r--r-- | net/userfw/distinfo | 2 | ||||
-rw-r--r-- | net/userfw/pkg-descr | 3 | ||||
-rw-r--r-- | net/userfw/pkg-plist | 29 |
4 files changed, 70 insertions, 0 deletions
diff --git a/net/userfw/Makefile b/net/userfw/Makefile new file mode 100644 index 000000000000..291ec0115ad0 --- /dev/null +++ b/net/userfw/Makefile @@ -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> diff --git a/net/userfw/distinfo b/net/userfw/distinfo new file mode 100644 index 000000000000..82be54e3064d --- /dev/null +++ b/net/userfw/distinfo @@ -0,0 +1,2 @@ +SHA256 (userfw-0.1.1.tar.xz) = 9ca9525039c2a2fdaafec51d75b13f0f65d01c5f300434dbe55da3d459fe4328 +SIZE (userfw-0.1.1.tar.xz) = 30536 diff --git a/net/userfw/pkg-descr b/net/userfw/pkg-descr new file mode 100644 index 000000000000..c45c1d6a8da6 --- /dev/null +++ b/net/userfw/pkg-descr @@ -0,0 +1,3 @@ +userfw is extensible packet filter for FreeBSD. Now it's mostly experimental. + +WWW: http://userfw.net/ diff --git a/net/userfw/pkg-plist b/net/userfw/pkg-plist new file mode 100644 index 000000000000..fe27edcef237 --- /dev/null +++ b/net/userfw/pkg-plist @@ -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%% |