diff options
author | edwin <edwin@FreeBSD.org> | 2005-12-29 05:46:23 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-12-29 05:46:23 +0800 |
commit | 757360bc76a582a63f2b06cb63d71088536026d8 (patch) | |
tree | 9224b44102405e99a3c13be8d42d4fea476c6f20 /net/ipa_ipfw/Makefile | |
parent | 0f05457b39b56e113d0a514a0427c4f8202f8599 (diff) | |
download | freebsd-ports-gnome-757360bc76a582a63f2b06cb63d71088536026d8.tar.gz freebsd-ports-gnome-757360bc76a582a63f2b06cb63d71088536026d8.tar.zst freebsd-ports-gnome-757360bc76a582a63f2b06cb63d71088536026d8.zip |
New port: net/ipa_ipfw IPA accounting module for FreeBSD IP Firewall
XIPA_IPFW -- IPA accounting module for FreeBSD IP Firewall
Main features:
- The module is designed for traffic accounting from FreeBSD IP
Firewall (including IPFW2) rules byte counters;
- The module understands IP Firewall rules byte counters overflow;
- It is possible to summarize and subtract statistics from IP Firewall
rules byte counters;
- It is possible to distinguish IP Firewall rules with the same
numbers;
- IP Firewall rules can be dynamically added to and removed from
the system, the module correctly works in such situations.
WWW: http://ipa-system.sourceforge.net/modules/ipa_ipfw/
PR: ports/91004
Submitted by: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
Diffstat (limited to 'net/ipa_ipfw/Makefile')
-rw-r--r-- | net/ipa_ipfw/Makefile | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/net/ipa_ipfw/Makefile b/net/ipa_ipfw/Makefile new file mode 100644 index 000000000000..2a03770196a9 --- /dev/null +++ b/net/ipa_ipfw/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: ipa_ipfw +# Date created: 27 December 2005 +# Whom: Andrey Simonenko +# +# $FreeBSD$ +# + +PORTNAME= ipa_ipfw +PORTVERSION= 1.0 +CATEGORIES= net +MASTER_SITES= http://ipa-system.sourceforge.net/modules/ipa_ipfw/ + +MAINTAINER= simon@comsys.ntu-kpi.kiev.ua +COMMENT= IPA accounting module for FreeBSD IP Firewall + +NO_PACKAGE= "Needs to be built uniquely for each host" + +USE_BZIP2= yes + +OPTIONS= PTHREAD "Build pthread safe module" off \ + DEBUG_INFO "Produce debugging info" off \ + IPFW2 "Enable IPFW2 support (on FreeBSD < 5.x)" off \ + MAN_KOI8_R "Install Russian manual pages" off + +.include <bsd.port.pre.mk> + +.ifdef WITH_PTHREAD +MAKE_ENV+= WITH_PTHREAD=yes +CFLAGS+= ${PTHREAD_CFLAGS} +.endif + +.if ${OSVERSION} >= 460100 && ${OSVERSION} < 500038 +. if (defined(IPFW2) && !defined(WITH_IPFW2)) || defined(WITH_IPFW2) +MAKE_ENV+= IPFW2=yes +. endif +.endif + +.ifdef WITHOUT_DEBUG_INFO +MAKE_ENV+= DEBUG_FLAGS="" +.endif + +BUILD_DEPENDS= ${PREFIX}/include/ipa_mod.h:${PORTSDIR}/sysutils/ipa + +PLIST_FILES= lib/ipa_ipfw.so + +MANCOMPRESSED= yes +MAN8= ipa_ipfw.8 +MANLANG= "" +.ifdef WITH_MAN_KOI8_R +MANLANG+= ru.KOI8-R +.endif + +do-install: + cd ${WRKSRC} && make install + echo ${MANLANG} +.ifdef WITH_MAN_KOI8_R + cd ${WRKSRC}/man && make LANG_DIR_SRC=ru.KOI8-R clean all install +.endif + +.include <bsd.port.post.mk> |