mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
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>
This commit is contained in:
parent
c1a4c8cc30
commit
2d2fd3c938
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152302
60
net/ipa_ipfw/Makefile
Normal file
60
net/ipa_ipfw/Makefile
Normal file
@ -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>
|
3
net/ipa_ipfw/distinfo
Normal file
3
net/ipa_ipfw/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ipa_ipfw-1.0.tar.bz2) = 35dc5a261215d361131b2351f68ad2a0
|
||||
SHA256 (ipa_ipfw-1.0.tar.bz2) = 1d4e3ff9d4ff2c51d1c651172edb164b9276ae4f1c51939ced55f99acc1cda06
|
||||
SIZE (ipa_ipfw-1.0.tar.bz2) = 16290
|
18
net/ipa_ipfw/pkg-descr
Normal file
18
net/ipa_ipfw/pkg-descr
Normal file
@ -0,0 +1,18 @@
|
||||
IPA_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/
|
||||
|
||||
- Andrey Simonenko
|
||||
simon@comsys.ntu-kpi.kiev.ua
|
Loading…
Reference in New Issue
Block a user