29e1c9efb8
Changes since 1.3.5: - 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
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2003/11/13 06:43:45 xtraeme Exp $
|
|
#
|
|
|
|
DISTNAME= ipa-1.3.6
|
|
CATEGORIES= net 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
|
|
HOMEPAGE= http://ipa-system.sourceforge.net/
|
|
COMMENT= IP accounting software
|
|
|
|
ONLY_FOR_PLATFORM= *BSD-*-*
|
|
|
|
RESTRICTED= "Needs to be built uniquely for each host"
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
NO_PACKAGE= ${RESTRICTED}
|
|
|
|
USE_BUILDLINK2= YES
|
|
USE_PKGINSTALL= YES
|
|
ALL_TARGET= # empty
|
|
|
|
CFLAGS+= -DCFGFILE=\\\"${PKG_SYSCONFDIR}/ipa.conf\\\"
|
|
|
|
CONF_FILES_PERMS= ${PREFIX}/share/examples/ipa/ipa.conf.default \
|
|
${PKG_SYSCONFDIR}/ipa.conf \
|
|
${ROOT_USER} ${ROOT_GROUP} 0400
|
|
OWN_DIRS_PERMS= /var/ipa ${ROOT_USER} ${ROOT_GROUP} 0555
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
RCD_SCRIPTS= ipa
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
RCD_SCRIPT_SRC.ipa= ${FILESDIR}/ipa.sh
|
|
.else
|
|
RCD_SCRIPT_SRC.ipa= ${FILESDIR}/ipa.generic
|
|
.endif
|
|
|
|
post-patch:
|
|
@cd ${WRKSRC}/man && \
|
|
for f in ipa.5 ipa.8 ipa.conf.5 ipastat.8; do \
|
|
${MV} $${f} $${f}.orig; \
|
|
${SED} ${FILES_SUBST_SED} $${f}.orig > $${f}; \
|
|
done
|
|
|
|
pre-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ipa
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|