freebsd-ports/sysutils/ipa/Makefile
Kirill Ponomarev b8ef07cc22 - Update to version 1.3.6
- Fixed bug: ipa incorrectly worked when some IPFW/IP6FW/IPF/PF
  rule overflowed and this rule is not the first by order in
  the corresponding parameter (in "ipa -t" output), it calculated
  more bytes than actually should be calculated
- Fixed two bugs: ipa sometime incorrectly did accounting for
  limits if statistics was subtracted in some rule
- Fixed bug: limit's start_time could be yyyy.mm.dd/24:00:00 in
  the database, mktime(3) on tested systems understands such
  local time and transforms it to next_day/00:00:00, now
  start_time can't be 24:00:00 any more and always is
  next_day/00:00:00.
- Fixed bug: if new_local_time - old_local_time > one_day (for
  example as the result of date of ntpdate commands usage),
  then ipa thought that a new day came, now it tries to find out
  if local time is changed too quickly

PR:		59209
Submitted by:	Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> (maintainer)
2003-11-12 11:36:22 +00:00

61 lines
2 KiB
Makefile

# New ports collection makefile for: ipa
# Date created: 2 December 2000
# Whom: Andrey Simonenko
#
# $FreeBSD$
#
PORTNAME= ipa
PORTVERSION= 1.3.6
CATEGORIES= sysutils
MASTER_SITES= http://ipa-system.sourceforge.net/ \
http://www.mirrors.wiretapped.net/security/network-monitoring/ipa/ \
ftp://ftp.mirrors.wiretapped.net/pub/security/network-monitoring/ipa/ \
http://ipa.it-ss.be/
MAINTAINER= simon@comsys.ntu-kpi.kiev.ua
COMMENT= IP accounting software
NO_PACKAGE= "Needs to be built uniquely for each host"
ALL_TARGET=
.ifdef(NOPORTDOCS)
MAKE_ENV= NOPORTDOCS="${NOPORTDOCS}"
.endif
.ifdef WITH_PF
DEPENDS= ${PORTSDIR}/security/pf
PF_INCLUDE_DIR?= ${PREFIX}/include/pf
MAKE_ARGS+= PF_INCLUDE_DIR=${PF_INCLUDE_DIR}
.endif
MAN5= ipa.5 ipa.conf.5
MAN8= ipa.8 ipastat.8
MANLANG= "" ru_RU.KOI8-R
.include <bsd.port.pre.mk>
pre-everything::
@${ECHO_MSG} "-------------------------------------------------------------------"
.if !defined(WITHOUT_IPFW)
@${ECHO_MSG} "o You can remove IPv4 Firewall support by defining WITHOUT_IPFW"
.endif
.if !defined(WITHOUT_IP6FW) && ${OSVERSION} >= 420001
@${ECHO_MSG} "o You can remove IPv6 Firewall support by defining WITHOUT_IP6FW"
.endif
.if !defined(WITHOUT_IPFIL)
@${ECHO_MSG} "o You can remove IP Filter support by defining WITHOUT_IPFIL"
.endif
.if !defined(WITHOUT_IP6FW) && !defined(WITH_IP6FW) && ${OSVERSION} >= 400000 && ${OSVERSION} < 420001
@${ECHO_MSG} "o You can add IPv6 Firewall support by defining WITH_IP6FW,"
@${ECHO_MSG} " this support will be probably broken on your system (see the"
@${ECHO_MSG} " ${WRKSRC}/INSTALL file for more information)"
.endif
.if !defined(IPFW2) && !defined(WITHOUT_IPFW) && ${OSVERSION} >= 460100 && ${OSVERSION} < 500038
@${ECHO_MSG} "o You can add IPFW2 support by defining IPFW2"
.endif
.if ${OSVERSION} >= 500000 && !defined(WITH_PF)
@${ECHO_MSG} "o You can add OpenBSD Packet Filter support by defining WITH_PF"
.endif
@${ECHO_MSG} "-------------------------------------------------------------------"
.include <bsd.port.post.mk>