2013-09-20 14:54:54 +02:00
|
|
|
# Created by: Maxim Ignatenko
|
2012-03-19 13:46:11 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= userfw
|
2013-03-29 17:48:51 +01:00
|
|
|
PORTVERSION= 0.1.3
|
2012-03-19 13:46:11 +01:00
|
|
|
CATEGORIES= net kld
|
|
|
|
MASTER_SITES= http://userfw.net/files/release/ \
|
|
|
|
http://imax.in.ua/files/ \
|
2013-03-29 17:48:51 +01:00
|
|
|
http://projects.ukrweb.net/files/
|
2012-03-19 13:46:11 +01:00
|
|
|
|
2014-07-29 16:07:41 +02:00
|
|
|
MAINTAINER= gelraen.ua@gmail.com
|
2012-03-19 13:46:11 +01:00
|
|
|
COMMENT= Modular packet filter
|
|
|
|
|
2014-07-29 16:07:41 +02:00
|
|
|
LICENSE= BSD2CLAUSE
|
2012-03-19 13:46:11 +01:00
|
|
|
|
2013-09-20 14:54:54 +02:00
|
|
|
SSP_UNSAFE= kernel module does not support ssp
|
2014-07-29 16:07:41 +02:00
|
|
|
USES= cmake:outsource kmod tar:xz
|
2012-03-19 13:46:11 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2012-03-27 16:58:14 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-03-19 13:46:11 +01:00
|
|
|
.if !exists(${SRC_BASE}/sys/sys/module.h)
|
|
|
|
IGNORE= requires kernel source files
|
|
|
|
.endif
|
|
|
|
|
2012-09-08 09:49:05 +02:00
|
|
|
.if ${ARCH} == "powerpc"
|
|
|
|
BROKEN= Does not compile on powerpc
|
|
|
|
.endif
|
|
|
|
|
2012-03-19 13:46:11 +01:00
|
|
|
CMAKE_ARGS+= -DDOMAIN_STUB:BOOL=OFF
|
|
|
|
CMAKE_ARGS+= -DOPCODE_VERIFICATION:BOOL=OFF
|
2014-07-29 16:07:41 +02:00
|
|
|
CMAKE_ARGS+= -DKMODDIR="${KMODDIR}"
|
2012-03-19 13:46:11 +01:00
|
|
|
|
2012-03-27 16:58:14 +02:00
|
|
|
.include <bsd.port.post.mk>
|