Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2005 11:52:26 +0200
From:      Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/91004: New port: net/ipa_ipfw IPA accounting module for FreeBSD IP Firewall
Message-ID:  <20051228095226.GA1650@pm513-1.comsys.ntu-kpi.kiev.ua>
Resent-Message-ID: <200512281000.jBSA0IUe004234@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91004
>Category:       ports
>Synopsis:       New port: net/ipa_ipfw IPA accounting module for FreeBSD IP Firewall
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 28 10:00:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Simonenko
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:

FreeBSD 6.0-STABLE
Current FreeBSD Ports Collection

>Description:

Please add new port net/ipa_ipfw, this is IPA accounting module for
FreeBSD IP Firewall and can be used by sysutils/ipa.

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ipa_ipfw
#	ipa_ipfw/Makefile
#	ipa_ipfw/pkg-descr
#	ipa_ipfw/distinfo
#
echo c - ipa_ipfw
mkdir -p ipa_ipfw > /dev/null 2>&1
echo x - ipa_ipfw/Makefile
sed 's/^X//' >ipa_ipfw/Makefile << 'END-of-ipa_ipfw/Makefile'
X# New ports collection makefile for:	ipa_ipfw
X# Date created:				27 December 2005
X# Whom:					Andrey Simonenko
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	ipa_ipfw
XPORTVERSION=	1.0
XCATEGORIES=	net
XMASTER_SITES=	http://ipa-system.sourceforge.net/modules/ipa_ipfw/
X
XMAINTAINER=	simon@comsys.ntu-kpi.kiev.ua
XCOMMENT=	IPA accounting module for FreeBSD IP Firewall
X
XNO_PACKAGE=	"Needs to be built uniquely for each host"
X
XUSE_BZIP2=	yes
X
XOPTIONS=	PTHREAD "Build pthread safe module" off \
X		DEBUG_INFO "Produce debugging info" off \
X		IPFW2 "Enable IPFW2 support (on FreeBSD < 5.x)" off \
X		MAN_KOI8_R "Install Russian manual pages" off
X
X.include <bsd.port.pre.mk>
X
X.ifdef WITH_PTHREAD
XMAKE_ENV+=	WITH_PTHREAD=yes
XCFLAGS+=	${PTHREAD_CFLAGS}
X.endif
X
X.if ${OSVERSION} >= 460100 && ${OSVERSION} < 500038
X. if (defined(IPFW2) && !defined(WITH_IPFW2)) || defined(WITH_IPFW2)
XMAKE_ENV+=	IPFW2=yes
X. endif
X.endif
X
X.ifdef WITHOUT_DEBUG_INFO
XMAKE_ENV+=	DEBUG_FLAGS=""
X.endif
X
XBUILD_DEPENDS=	${PREFIX}/include/ipa_mod.h:${PORTSDIR}/sysutils/ipa
X
XPLIST_FILES=	lib/ipa_ipfw.so
X
XMANCOMPRESSED=	yes
XMAN8=		ipa_ipfw.8
XMANLANG=	""
X.ifdef WITH_MAN_KOI8_R
XMANLANG+=	ru.KOI8-R
X.endif
X
Xdo-install:
X	cd ${WRKSRC} && make install
X	echo ${MANLANG}
X.ifdef WITH_MAN_KOI8_R
X	cd ${WRKSRC}/man && make LANG_DIR_SRC=ru.KOI8-R clean all install
X.endif
X
X.include <bsd.port.post.mk>
END-of-ipa_ipfw/Makefile
echo x - ipa_ipfw/pkg-descr
sed 's/^X//' >ipa_ipfw/pkg-descr << 'END-of-ipa_ipfw/pkg-descr'
XIPA_IPFW -- IPA accounting module for FreeBSD IP Firewall
X
XMain features:
X
X- The module is designed for traffic accounting from FreeBSD IP
X  Firewall (including IPFW2) rules byte counters;
X- The module understands IP Firewall rules byte counters overflow;
X- It is possible to summarize and subtract statistics from IP Firewall
X  rules byte counters;
X- It is possible to distinguish IP Firewall rules with the same
X  numbers;
X- IP Firewall rules can be dynamically added to and removed from
X  the system, the module correctly works in such situations.
X
XWWW: http://ipa-system.sourceforge.net/modules/ipa_ipfw/
X
X- Andrey Simonenko
Xsimon@comsys.ntu-kpi.kiev.ua
END-of-ipa_ipfw/pkg-descr
echo x - ipa_ipfw/distinfo
sed 's/^X//' >ipa_ipfw/distinfo << 'END-of-ipa_ipfw/distinfo'
XMD5 (ipa_ipfw-1.0.tar.bz2) = 35dc5a261215d361131b2351f68ad2a0
XSHA256 (ipa_ipfw-1.0.tar.bz2) = 1d4e3ff9d4ff2c51d1c651172edb164b9276ae4f1c51939ced55f99acc1cda06
XSIZE (ipa_ipfw-1.0.tar.bz2) = 16290
END-of-ipa_ipfw/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051228095226.GA1650>