Commit graph

26 commits

Author SHA1 Message Date
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
wiz
c9e6c6f24e Maintainer says in PR 28643 to restrict this package on NetBSD
to NetBSD<2.0 -- make it so.
2004-12-27 22:33:18 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
snj
76841332f6 Convert to buildlink3. 2004-04-25 08:39:50 +00:00
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
xtraeme
29e1c9efb8 Update to 1.3.6 provided by Andrey Simonenko (Maintainer). PR pkg/23417.
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
2003-11-13 06:43:45 +00:00
wiz
cb43ed7c86 Update to 1.3.5, provided by the maintainer Andrey Simonenko in PR 22208.
1.3.5   08/07/2003      released
- Now ipa(8) removes created PID-file when exits
- Not it is possible to use OpenBSD PF on not OpenBSD (see the INSTALL file)
- Added a new parameter "debug_worktime"
- Some fixes for code that runs commands
2003-09-08 09:25:21 +00:00
salo
7d2002d261 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
2003-05-30 11:53:16 +00:00
cjep
a964a9e711 Update of net/ipa to version 1.3.3.
From Andrey Simonenko in PR#21224.

Changes since 1.3.2:

- Fixed two bugs in ipa(8), which caused core dumps: if there were one or
  some `\t' characters after the "rule" or "limit" keyword in ipa.conf(5),
  then ipa(8) wasn't able to parse such configuration file
- File /var/ipa/## lock ## was renamed to /var/ipa/lock db, because
  BSD daily script deletes files with `#' characters.  All should remove
  the /var/ipa/## lock ## file
- Minor improvements and changes
2003-04-20 20:58:12 +00:00
wiz
1f1f025305 Maintainer update to 1.3.2:
- Some bugs in IP Filter support code were found and fixed, whole code,
  which works with IP Filter, was rewritten and now has a new design,
  which is much simpler for supporting and faster than previous one
- Fixed bug with the global "shutdown" section: when ipa(8) receives
  the HUP signal, it destroyed information about commands in the global
  "shutdown" section
- Some bugs with memory usage were fixed: ipa(8) and ipastat(8) could
  free(3) not allocated chunks of memory
- Fixed several minor bugs in IPv4/v6 Firewall and Packet Filter
  support code
2003-03-28 11:10:28 +00:00
wiz
9588225aa0 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.
2003-03-05 07:11:41 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jmmv
480c5e730d Update ipa to 1.3. Changes since 1.2.9:
- Now the "worktime" parameter is completely supported
- Now IPA can be downloaded from http://ipa-system.sourceforge.net/
- Some bugs with "limit" sections were fixed
- One bug and memory leak with the "db_dir" parameter were fixed

Patch provided by Andrey Simonenko (maintainer) in PR pkg/19755.
2003-01-09 17:38:36 +00:00
martti
2a4bc323fe 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
2002-10-30 09:28:33 +00:00
wiz
180891ccaa Remove another unneeded line. Noted by Andrey Simonenko. 2002-10-23 10:54:54 +00:00
wiz
3d949df884 Not needed any longer. 2002-10-22 13:20:28 +00:00
wiz
1c3b1257ac 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.
2002-10-22 13:20:08 +00:00
jlam
ac4b8bcc4f buildlink1 -> buildlink2 2002-09-19 08:46:09 +00:00
dmcmahill
4937ebbf24 add missing <string.h> for alpha. 2002-06-30 13:13:48 +00:00
jlam
b45f5e32ec Remove redundant homepage in DESCR. 2002-06-30 03:57:52 +00:00
jlam
d895983c63 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).
2002-06-30 03:47:53 +00:00
martti
8700f6422d Use BSD_INSTALL_* (pointed out by Andrey Simonenko in a private mail). 2002-04-16 08:44:04 +00:00
martti
25a36a8954 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
2002-04-15 10:51:53 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
mjl
a2d6a2c4a5 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.
2001-10-21 22:50:01 +00:00