head	1.11;
access;
symbols
	pkgsrc-2013Q2:1.11.0.30
	pkgsrc-2013Q2-base:1.11
	pkgsrc-2012Q4:1.11.0.28
	pkgsrc-2012Q4-base:1.11
	pkgsrc-2011Q4:1.11.0.26
	pkgsrc-2011Q4-base:1.11
	pkgsrc-2011Q2:1.11.0.24
	pkgsrc-2011Q2-base:1.11
	pkgsrc-2009Q4:1.11.0.22
	pkgsrc-2009Q4-base:1.11
	pkgsrc-2008Q4:1.11.0.20
	pkgsrc-2008Q4-base:1.11
	pkgsrc-2008Q3:1.11.0.18
	pkgsrc-2008Q3-base:1.11
	cube-native-xorg:1.11.0.16
	cube-native-xorg-base:1.11
	pkgsrc-2008Q2:1.11.0.14
	pkgsrc-2008Q2-base:1.11
	pkgsrc-2008Q1:1.11.0.12
	pkgsrc-2008Q1-base:1.11
	pkgsrc-2007Q4:1.11.0.10
	pkgsrc-2007Q4-base:1.11
	pkgsrc-2007Q3:1.11.0.8
	pkgsrc-2007Q3-base:1.11
	pkgsrc-2007Q2:1.11.0.6
	pkgsrc-2007Q2-base:1.11
	pkgsrc-2007Q1:1.11.0.4
	pkgsrc-2007Q1-base:1.11
	pkgsrc-2006Q4:1.11.0.2
	pkgsrc-2006Q4-base:1.11
	pkgsrc-2006Q3:1.10.0.4
	pkgsrc-2006Q3-base:1.10
	pkgsrc-2006Q2:1.10.0.2
	pkgsrc-2006Q2-base:1.10
	pkgsrc-2006Q1:1.9.0.20
	pkgsrc-2006Q1-base:1.9
	pkgsrc-2005Q4:1.9.0.18
	pkgsrc-2005Q4-base:1.9
	pkgsrc-2005Q3:1.9.0.16
	pkgsrc-2005Q3-base:1.9
	pkgsrc-2005Q2:1.9.0.14
	pkgsrc-2005Q2-base:1.9
	pkgsrc-2005Q1:1.9.0.12
	pkgsrc-2005Q1-base:1.9
	pkgsrc-2004Q4:1.9.0.10
	pkgsrc-2004Q4-base:1.9
	pkgsrc-2004Q3:1.9.0.8
	pkgsrc-2004Q3-base:1.9
	pkgsrc-2004Q2:1.9.0.6
	pkgsrc-2004Q2-base:1.9
	pkgsrc-2004Q1:1.9.0.4
	pkgsrc-2004Q1-base:1.9
	pkgsrc-2003Q4:1.9.0.2
	pkgsrc-2003Q4-base:1.9
	netbsd-1-6-1:1.7.0.2
	netbsd-1-6-1-base:1.7
	netbsd-1-6:1.4.0.6
	netbsd-1-6-RELEASE-base:1.4
	pkgviews:1.4.0.2
	pkgviews-base:1.4
	buildlink2:1.3.0.2
	buildlink2-base:1.3
	netbsd-1-5-PATCH003:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.11
date	2006.10.18.11.45.22;	author markd;	state dead;
branches;
next	1.10;

1.10
date	2006.06.04.22.21.27;	author joerg;	state Exp;
branches;
next	1.9;

1.9
date	2003.05.30.11.53.17;	author salo;	state Exp;
branches;
next	1.8;

1.8
date	2003.03.05.07.11.41;	author wiz;	state Exp;
branches;
next	1.7;

1.7
date	2002.10.30.09.28.34;	author martti;	state Exp;
branches;
next	1.6;

1.6
date	2002.10.23.10.54.55;	author wiz;	state Exp;
branches;
next	1.5;

1.5
date	2002.10.22.13.20.09;	author wiz;	state Exp;
branches;
next	1.4;

1.4
date	2002.06.30.03.47.54;	author jlam;	state Exp;
branches;
next	1.3;

1.3
date	2002.04.16.08.44.05;	author martti;	state Exp;
branches;
next	1.2;

1.2
date	2002.04.15.10.51.54;	author martti;	state dead;
branches;
next	1.1;

1.1
date	2001.10.21.22.50.01;	author mjl;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.10.21.22.50.01;	author mjl;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Maintainer update of ipa to 2.0.1 and move to sysutils.
In PR pkg/32398 with some tweaks from me.

IPA is now a flexible general purpose accounting system;
- Supports static and dynamic rules;
- Support limits, sublimits and thresholds;
- Works with external accounting modules;
- Works with external database modules;
- Works with external statistics modules;
-Accounting per specified period of a week.
@
text
@$NetBSD: patch-aa,v 1.10 2006/06/04 22:21:27 joerg Exp $

--- Makefile.orig	2003-11-11 10:24:34.000000000 +0000
+++ Makefile
@@@@ -38,7 +38,7 @@@@ CC?=		/usr/bin/cc
 #	-Ox   - optimize;
 #	-g    - produce debugging information.
 #
-CFLAGS=		-Wall -O1 -g
+#CFLAGS=		-Wall -O1 -g
 
 #
 # PREFIX - prefix for all below listed paths
@@@@ -58,7 +58,7 @@@@ DST_MAN_DIR=	${PREFIX}/man
 #
 # DST_ETC_DIR - where to install template configuration
 #
-DST_ETC_DIR=	${PREFIX}/etc
+DST_ETC_DIR=	${DST_EXAMPLE_DIR}
 
 #
 # DST_RC_DIR - where to install sample rc-script
@@@@ -81,10 +81,10 @@@@ MKDIR?=		/bin/mkdir
 #
 # INSTALL_* variables
 #
-INSTALL_MAN=		${INSTALL} -c -g wheel -o root -m 0444
-INSTALL_DATA=		${INSTALL} -c -g wheel -o root -m 0444
-INSTALL_PROGRAM=	${INSTALL} -c -g wheel -o root -m 0555
-INSTALL_SCRIPT=		${INSTALL} -c -g wheel -o root -m 0500 
+INSTALL_MAN=		${BSD_INSTALL_MAN}
+INSTALL_DATA=		${BSD_INSTALL_DATA}
+INSTALL_PROGRAM=	${BSD_INSTALL_PROGRAM}
+INSTALL_SCRIPT=		${BSD_INSTALL_SCRIPT}
 INSTALL_MAN_DIR=	${INSTALL} -d -m 0555 -g wheel -o root
 INSTALL_DATA_DIR=	${INSTALL} -d -m 0555 -g wheel -o root
 
@@@@ -98,7 +98,7 @@@@ IPASTAT=	ipastat.o common.o
 .MAIN: checkos ${OS}
 
 checkos:
-.if ${OS} != "FreeBSD" && ${OS} != "NetBSD" && ${OS} != "OpenBSD"
+.if ${OS} != "FreeBSD" && ${OS} != "NetBSD" && ${OS} != "OpenBSD" && ${OS} != "DragonFly"
 	@@${ECHO}
 	@@${ECHO} ">> IPA-`${CAT} Version` is designed for FreeBSD, NetBSD and OpenBSD."
 	@@${ECHO} ">> Your operating system is ${OS}."
@@@@ -139,7 +139,7 @@@@ CFLAGS+=	-I${PF_INCLUDE_DIR}
 .endif
 .endif
 
-.ifmake FreeBSD
+.if make(FreeBSD) || make(DragonFly)
 IPA+=		kipfw.o kip6fw.o
 .endif
 
@@@@ -147,7 +147,7 @@@@ IPA+=		kipfw.o kip6fw.o
 IPA+=		kpf.o
 .endif
 
-FreeBSD NetBSD OpenBSD: ipa ipastat
+DragonFly FreeBSD NetBSD OpenBSD: ipa ipastat
 
 ipa: ${IPA}
 	${CC} -o ${.TARGET} ${IPA}
@@@@ -214,21 +214,8 @@@@ install:
 	${INSTALL_PROGRAM} ipa ipastat ${DST_BIN_DIR}
 	${INSTALL_MAN} man/ipa.5 man/ipa.conf.5 ${DST_MAN_DIR}/man5
 	${INSTALL_MAN} man/ipa.8 man/ipastat.8 ${DST_MAN_DIR}/man8
-.if !exists(${DST_MAN_DIR}/ru_RU.KOI8-R/man5)
-	${INSTALL_MAN_DIR} ${DST_MAN_DIR}/ru_RU.KOI8-R/man5
-.endif
-.if !exists(${DST_MAN_DIR}/ru_RU.KOI8-R/man8)
-	${INSTALL_MAN_DIR} ${DST_MAN_DIR}/ru_RU.KOI8-R/man8
-.endif
-.if !exists(${DST_MAN_DIR}/ru_SU.KOI8-R)
-	${LN} -s ${DST_MAN_DIR}/ru_RU.KOI8-R ${DST_MAN_DIR}/ru_SU.KOI8-R
-.endif
-	${INSTALL_MAN} man/ru_RU.KOI8-R/ipa.5 man/ru_RU.KOI8-R/ipa.conf.5 ${DST_MAN_DIR}/ru_RU.KOI8-R/man5
-	${INSTALL_MAN} man/ru_RU.KOI8-R/ipa.8 man/ru_RU.KOI8-R/ipastat.8 ${DST_MAN_DIR}/ru_RU.KOI8-R/man8
-	${INSTALL_DATA_DIR} ${DST_EXAMPLE_DIR}
 	${INSTALL_DATA} examples/* ${DST_EXAMPLE_DIR}
 .if exists(${DST_RC_DIR})
-	${INSTALL_SCRIPT} etc/ipa.sh.sample ${DST_RC_DIR}
 .else
 	@@${ECHO}
 	@@${ECHO} ">> Can't find directory ${DST_RC_DIR}, the ipa.sh.sample file was not installed (not a problem)."
@


1.10
log
@Add basic DragonFly support. PF should work, IP(6)FW disabled right now.
@
text
@d1 1
a1 1
$NetBSD$
@


1.9
log
@Updated to version 1.3.4.

Addresses PR pkg/21719 by Andrey Simonenko (MAINTAINER).

Changes:
- don't include bsd.pkg.install.mk if USE_PKGINSTALL is already set
- restrict to *BSD
- install /var/ipa directory
- fix paths in manual pages
- better rc scripts, NetBSD native and generic one
- DESCR has 80 columns

1.3.4:
======
- Added support for PF from OpenBSD 3.3
- Minor changes
@
text
@d3 3
a5 3
--- Makefile.orig	2003-04-08 21:18:15.000000000 +0200
+++ Makefile	2003-05-30 13:15:24.000000000 +0200
@@@@ -38,7 +38,7 @@@@
d14 1
a14 1
@@@@ -58,7 +58,7 @@@@
d23 1
a23 1
@@@@ -81,10 +81,10 @@@@
d38 28
a65 1
@@@@ -207,21 +207,8 @@@@
@


1.8
log
@Update to 1.3.1, from Andrey Simonenko in PR 20486.
Changes in ipa-1.3.1 (from the ipa-1.3.1/HISTORY file):
1.      Some improvements for ipa(8) were implemented, as a result
        ipa(8) now uses less CPU time when works with many rules and
        with many limits.
2.      Fixed incorrectly rounded Kbytes, Mbytes, Gbytes and Tbytes in
        output of ipastat(8).
3.      Fixed some minor bugs in ipa(8).

Package changes:
1.      Two MASTER_SITES were removed.
2.      MAINTAINER email was changed.
3.      ALL_TARGET was "disabled", let original Makefile finds
        right target.
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.7 2002/10/30 09:28:34 martti Exp $
d3 2
a4 2
--- Makefile.orig	Thu Feb 20 07:06:58 2003
+++ Makefile	Thu Feb 27 11:11:33 2003
d38 1
a38 1
@@@@ -207,21 +207,9 @@@@
a56 1
+	${INSTALL_SCRIPT} etc/ipa.sh.sample ${DST_RC_DIR}/ipa
@


1.7
log
@Updated ipa to 1.2.9 (provided by Andrey Simonenko in pkg/18859)

- Fixed support for 32-bits IP Filter v3.4.x rule group numbers (previous
  incorrect implementation was introduced in IPA-1.1.3)
- Now it is possible to remove not needed accounting systems support
  with the help of -DWITHOUT_{IPFW|IP6FW|IPFIL|PF} options
- Now FreeBSD IPFW2 is supported
- "getsockopt(IPV6_FW_GET): Invalid argument" IPv6 Firewall bug was fixed
- Minor improvements for IPv4/v6 Firewall support
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.6 2002/10/23 10:54:55 wiz Exp $
d3 2
a4 2
--- Makefile.orig	Mon Oct 28 21:40:37 2002
+++ Makefile	Tue Oct 29 22:31:42 2002
d16 1
a16 1
 # DSTETCDIR - where to install template configuration
d18 2
a19 2
-DSTETCDIR=	${PREFIX}/etc
+DSTETCDIR=	${DSTEXAMPLEDIR}
d22 1
a22 1
 # DSTRCDIR - where to install sample rc-script
d25 1
a25 1
 # Some INSTALL_* variables
d38 6
a43 6
@@@@ -236,21 +236,9 @@@@
 	${INSTALL_PROGRAM} ipa ipastat ${DSTBINDIR}
 	${INSTALL_MAN} man/ipa.5 man/ipa.conf.5 ${DSTMANDIR}/man5
 	${INSTALL_MAN} man/ipa.8 man/ipastat.8 ${DSTMANDIR}/man8
-.if !exists(${DSTMANDIR}/ru_RU.KOI8-R/man5)
-	${INSTALL_MAN_DIR} ${DSTMANDIR}/ru_RU.KOI8-R/man5
d45 2
a46 2
-.if !exists(${DSTMANDIR}/ru_RU.KOI8-R/man8)
-	${INSTALL_MAN_DIR} ${DSTMANDIR}/ru_RU.KOI8-R/man8
d48 2
a49 2
-.if !exists(${DSTMANDIR}/ru_SU.KOI8-R)
-	${LN} -s ${DSTMANDIR}/ru_RU.KOI8-R ${DSTMANDIR}/ru_SU.KOI8-R
d51 7
a57 7
-	${INSTALL_MAN} man/ru_RU.KOI8-R/ipa.5 man/ru_RU.KOI8-R/ipa.conf.5 ${DSTMANDIR}/ru_SU.KOI8-R/man5
-	${INSTALL_MAN} man/ru_RU.KOI8-R/ipa.8 man/ru_RU.KOI8-R/ipastat.8 ${DSTMANDIR}/ru_SU.KOI8-R/man8
-	${INSTALL_DATA_DIR} ${DSTEXAMPLEDIR}
 	${INSTALL_DATA} examples/* ${DSTEXAMPLEDIR}
 .if exists(${DSTRCDIR})
-	${INSTALL_SCRIPT} etc/ipa.sh.sample ${DSTRCDIR}
+	${INSTALL_SCRIPT} etc/ipa.sh.sample ${DSTRCDIR}/ipa
d60 1
a60 1
 	@@${ECHO} ">> Can't find directory ${DSTRCDIR}, skip installing of ipa.sh.sample"
@


1.6
log
@Remove another unneeded line. Noted by Andrey Simonenko.
@
text
@d1 1
a1 1
$NetBSD$
d3 3
a5 3
--- Makefile.orig	Sat Sep 28 01:24:32 2002
+++ Makefile
@@@@ -38,7 +38,7 @@@@ CC?=		/usr/bin/cc
d14 1
a14 1
@@@@ -58,7 +58,7 @@@@ DSTMANDIR=	${PREFIX}/man
d23 1
a23 1
@@@@ -96,10 +96,10 @@@@ MKDIR?=		/bin/mkdir
d38 1
a38 1
@@@@ -230,21 +230,9 @@@@ install:
@


1.5
log
@Update to 1.2.8, provided by Andrey Simonenko in PR 18537.
Changes:
- Locale names have been renamed ru_SU* -> ru_RU*, ru_SU* now are symlinks
- Fixed some minor bugs
- Now a new record is added to each accounting file after reconfiguration
- Now ipa(8) and ipastat(8) do not use database locking feature by default
- All manual pages were updated to reflect changes in IPA
- The -u switch was removed from and the -L switch was added to ipastat(8)
- All code of ipa(8) was revised, now ipa(8) tests directories and
  files in the database more carefully
- Several bugs and memory leak with the "db_dir" parameter were fixed
- Added new parameter "db_group"
- Parameters "acl", "db_owner", "db_perm" have been removed

Package changes:
- added some HTTP and FTP mirrors;
- removed installation of ${DSTEXAMPLEDIR} directory, because it is
  installed from the port's Makefile;
- updated DESCR to reflect current state of IPA.
@
text
@d38 1
a38 1
@@@@ -230,21 +230,10 @@@@ install:
d53 1
a53 1
 	${INSTALL_DATA_DIR} ${DSTEXAMPLEDIR}
@


1.4
log
@Update net/ipa to 1.2.7.  Changes from version 1.2.5 include a

- Honor PKG_SYSCONFDIR and use bsd.pkg.install.mk to handle config files
  and rc.d scripts.
- Memory access fixes.
- Now '{', '}', '#' and ';' characters are not allowed for naming
  rules and limits.

	*** SECURITY UPDATE ***

  Removed SUID bit from ipastat(8) due to security problems (and don't
  even try to set it back).  Admins who use the "db_owner" parameter
  *and* use some safe user/group, *and* didn't forget to set the same
  safe user/group for the ipastat(8) program, as it was said in the
  SECURITY NOTE on the ipastat(8) manual page, should not worry a lot.
  Admins who ignored that SECURITY NOTE should double check the security
  of their systems and change all passwords, secrets keys, etc. if you
  think that somebody cracked your systems by ipastat(8).
@
text
@d3 1
a3 1
--- Makefile.orig	Sat Jun 29 21:14:15 2002
d5 1
a5 1
@@@@ -38,7 +38,7 @@@@
d14 1
a14 1
@@@@ -58,7 +58,7 @@@@
d23 1
a23 1
@@@@ -97,10 +97,10 @@@@
d38 1
a38 10
@@@@ -219,7 +219,7 @@@@
 	${RM} -r ${DSTEXAMPLEDIR}
 	${RM} ${DSTMANDIR}/man5/ipa.conf.5 ${DSTMANDIR}/man5/ipa.5 ${DSTMANDIR}/man8/ipa.8 ${DSTMANDIR}/man8/ipastat.8
 	${RM} ${DSTMANDIR}/ru_SU.KOI8-R/man5/ipa.conf.5 ${DSTMANDIR}/ru_SU.KOI8-R/man5/ipa.5 ${DSTMANDIR}/ru_SU.KOI8-R/man8/ipa.8 ${DSTMANDIR}/ru_SU.KOI8-R/man8/ipastat.8
-	${RM} ${DSTETCDIR}/ipa.conf.default ${DSTRCDIR}/ipa.sh.sample
+	${RM} ${DSTETCDIR}/ipa.conf.default ${DSTRCDIR}/ipa
 	
 install:
 .if !exists(./ipa) || !exists(./ipastat)
@@@@ -231,21 +231,10 @@@@
d42 2
a43 2
-.if !exists(${DSTMANDIR}/ru_SU.KOI8-R/man5)
-	${INSTALL_MAN_DIR} ${DSTMANDIR}/ru_SU.KOI8-R/man5
d45 2
a46 2
-.if !exists(${DSTMANDIR}/ru_SU.KOI8-R/man8)
-	${INSTALL_MAN_DIR} ${DSTMANDIR}/ru_SU.KOI8-R/man8
d48 2
a49 2
-.if !exists(${DSTMANDIR}/ru_RU.KOI8-R)
-	${LN} -s ${DSTMANDIR}/ru_SU.KOI8-R ${DSTMANDIR}/ru_RU.KOI8-R
a60 8
@@@@ -254,7 +243,6 @@@@
 .endif
 .if exists(${DSTETCDIR})
 	${INSTALL_DATA} etc/ipa.conf.default ${DSTETCDIR}
-	${CHMOD} 0400 ${DSTETCDIR}/ipa.conf.default
 .else
 	@@${ECHO}
 	@@${ECHO} ">> Can't find directory ${DSTETCDIR}, skip installing of ipa.conf.default"
@


1.3
log
@Use BSD_INSTALL_* (pointed out by Andrey Simonenko in a private mail).
@
text
@d3 2
a4 2
--- Makefile.orig	Tue Dec 25 04:52:48 2001
+++ Makefile	Fri Dec 28 23:10:11 2001
d14 9
d38 40
@


1.2
log
@Updated ipa to 1.2.5 (pkg/14560 by Andrey Simonenko)

* added NO_PACKAGE as this must be built for each host

Changes since 1.1.6:

- Added new switch to ipastat(8): -x, treat rule names as POSIX
  regular expressions
- Added new switch to ipastat(8): -p <time-back>
- Added new switch to ipastat(8): -k, assume that 1k is equal to 1000 bytes
- Now it is possible to use abbreviated month names in -i and -I options
  in ipastat(8)
- Now it is possible to run from the ipa(8)'s command line commands from
  "reach" and "expire" sections
- Added new section "include" and new parameter "debug_include" to
  the configuration file, also two switches "-tt" for ipa(8) have new sense
- bug fixes
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.1 2001/10/21 22:50:01 mjl Exp $
d3 4
a6 4
--- Makefile.orig	Wed Oct  3 18:27:19 2001
+++ Makefile	Wed Oct 10 20:09:57 2001
@@@@ -38,32 +38,32 @@@@
 #	-Ox   - optimize (it seems that -O3 also help to find out some errors);
d9 2
a10 2
-CFLAGS=		-Wall -O -g
+#CFLAGS=		-Wall -O -g
d13 2
a14 1
 # DSTBINDIR - where to install binaries
d16 1
a16 23
-DSTBINDIR=	/usr/local/bin
+DSTBINDIR=	${PREFIX}/bin
 
 #
 # DSTMANDIR - where to install manuals
 #
-DSTMANDIR=	/usr/local/man
+DSTMANDIR=	${PREFIX}/man
 
 #
 # DSTETCDIR - where to install template configuration
 #
-DSTETCDIR=	/usr/local/etc
+DSTETCDIR=	${PREFIX}/etc
 
 #
 # DSTRCDIR - where to install sample rc-script
 #
-DSTRCDIR=	/usr/local/etc/rc.d
+DSTRCDIR=	${PREFIX}/etc/rc.d
 
 #
 # DSTSHAREDIR - where to install examples, etc.
d18 10
a27 2
-DSTSHAREDIR=	/usr/local/share/ipa
+DSTSHAREDIR=	${PREFIX}/share/examples/ipa
a28 43
 #
 # IP6FW (FreeBSD only)
@@@@ -204,10 +204,10 @@@@
 	@@${ECHO}
 .else
 	@@${ECHO} ">> Installing binaries, manual pages and miscellaneous files"
-	${INSTALL} -c -g wheel -o root -m 0555 ipa ipastat ${DSTBINDIR}
+	${BSD_INSTALL_PROGRAM} ipa ipastat ${DSTBINDIR}
 	${CHMOD} u+s ${DSTBINDIR}/ipastat
-	${INSTALL} -c -g wheel -o root -m 0444 man/ipa.5 man/ipa.conf.5 ${DSTMANDIR}/man5
-	${INSTALL} -c -g wheel -o root -m 0444 man/ipa.8 man/ipastat.8 ${DSTMANDIR}/man8
+	${BSD_INSTALL_MAN} man/ipa.5 man/ipa.conf.5 ${DSTMANDIR}/man5
+	${BSD_INSTALL_MAN} man/ipa.8 man/ipastat.8 ${DSTMANDIR}/man8
 .if !exists(${DSTMANDIR}/ru_SU.KOI8-R/man5)
 	${INSTALL} -d -m 0555 ${DSTMANDIR}/ru_SU.KOI8-R/man5
 .endif
@@@@ -217,12 +217,12 @@@@
 .if !exists(${DSTMANDIR}/ru_RU.KOI8-R)
 	${LN} -s ${DSTMANDIR}/ru_SU.KOI8-R ${DSTMANDIR}/ru_RU.KOI8-R
 .endif
-	${INSTALL} -c -g wheel -o root -m 0444 man/ru_RU.KOI8-R/ipa.5 man/ru_RU.KOI8-R/ipa.conf.5 ${DSTMANDIR}/ru_RU.KOI8-R/man5
-	${INSTALL} -c -g wheel -o root -m 0444 man/ru_RU.KOI8-R/ipa.8 man/ru_RU.KOI8-R/ipastat.8 ${DSTMANDIR}/ru_RU.KOI8-R/man8
-	${INSTALL} -d -m 0555 ${DSTSHAREDIR}/examples
-	${INSTALL} -c -g wheel -o root -m 0444 examples/* ${DSTSHAREDIR}/examples
+	${BSD_INSTALL_MAN} man/ru_RU.KOI8-R/ipa.5 man/ru_RU.KOI8-R/ipa.conf.5 ${DSTMANDIR}/ru_RU.KOI8-R/man5
+	${BSD_INSTALL_MAN} man/ru_RU.KOI8-R/ipa.8 man/ru_RU.KOI8-R/ipastat.8 ${DSTMANDIR}/ru_RU.KOI8-R/man8
+	${INSTALL} -d -m 0555 ${DSTSHAREDIR}
+	${BSD_INSTALL_DATA} examples/* ${DSTSHAREDIR}
 .if exists(${DSTRCDIR})
-	${INSTALL} -c -g wheel -o root -m 0500 etc/ipa.sh.sample ${DSTRCDIR}
+	${BSD_INSTALL_SCRIPT} etc/ipa.sh.sample ${DSTRCDIR}
 .else
 	@@${ECHO}
 	@@${ECHO} ">> Can't find directory ${DSTRCDIR}, skip installing of ipa.sh.sample"
@@@@ -230,7 +230,7 @@@@
 	@@${ECHO}
 .endif
 .if exists(${DSTETCDIR})
-	${INSTALL} -c -g wheel -o root -m 0400 etc/ipa.conf.default ${DSTETCDIR}
+	${BSD_INSTALL_DATA} etc/ipa.conf.default ${DSTETCDIR}
 .else
 	@@${ECHO}
 	@@${ECHO} ">> Can't find directory ${DSTETCDIR}, skip installing of ipa.conf.default"
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
$NetBSD$
@


1.1.1.1
log
@Initial import of ipa, an IP accounting package, as provided by
Andrey Simonenko in PR/14281.


	IPA allows to make IP accounting (network accounting) based on
	IP Filter accounting rules on NetBSD, OpenBSD and FreeBSD.

	It supports limits for accounting rules and limits events as
	"limit is reached", "reached limit is expired", etc. It understands
	time intervals like "end of day", "end of week", "end of month", etc.

	There is a special viewer for accounting database and access control
	lists which allow or disallow one to view accounting information
	for rules.

@
text
@@
