983c320ec8
Approved by: portmgr (tier-2 blanket)
37 lines
933 B
Makefile
37 lines
933 B
Makefile
# Created by: Maxim Ignatenko
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= userfw
|
|
PORTVERSION= 0.1.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= net kld
|
|
MASTER_SITES= http://userfw.net/files/release/ \
|
|
http://imax.in.ua/files/ \
|
|
http://projects.ukrweb.net/files/
|
|
|
|
MAINTAINER= gelraen.ua@gmail.com
|
|
COMMENT= Modular packet filter
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN_powerpc= fails to compile
|
|
BROKEN_powerpc64= fails to compile: pcpu.h: size of array '__assert_0' is negative
|
|
BROKEN_FreeBSD_11= fails to build on FreeBSD 11+
|
|
BROKEN_FreeBSD_12= fails to build on FreeBSD 11+
|
|
|
|
SSP_UNSAFE= kernel module does not support ssp
|
|
USES= cmake:outsource kmod tar:xz uidfix
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.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
|
|
CMAKE_ARGS+= -DKMODDIR="${KMODDIR}"
|
|
|
|
.include <bsd.port.post.mk>
|