Update ipa to 2.1. per maintainer update request by PR#44548. Changes in pkgsrc: * Added LICENSE. Changes: * Versions of ipa_{ac,db,st}_mod APIs were changed to 2. * Optimized and simplified source code of IPA. * New parameter "ictl" in ipa.conf. * New parameter "ctl_query_max_size" in ipa.conf. * New parameter "value_units" in ipa.conf and ipastat.conf. * Now "restart" and "expire" parameters are optional in ipa.conf. * Now "limit" and "threshold" parameters in ipa.conf can be equal to zero. * Now ipactl can create and delete dynamic rules. * Now ipactl accepts commands "set limit ... counter ..." and "set threshold ... counter ...". * If a limit or a threshold uses "null" database and if it was initialized, then next time during initialization (when some time related problem occurred) imitate its old state from its current state. * Allow to use '_' characters in macro variables names. * Added support for ipactl's messages credentials checking for NetBSD. * Give limitation on the depth of included files (macro variable INCLUDE_DEPTH_MAX with default value 100). * configure.ac was optimized. * All manual pages were reformatted to follow traditional typographic style. * Now all debug messages in ipa and ipastat are written with the "DEBUG: " prefix. * Check correctness of names of dynamic rules and names in received control commands. * Check correctness of names in ipa, ipastat and ipactl options arguments. * Now ipa does not use SIGALRM in timeout implementation for control socket. * Now ipactl does not use SIGALRM in timeout implementation. * Now non-standard function mem_vasprintf() exported to modules returns number of characters in allocated buffer. * Now if some configuration error occurred in included file, then ipa and ipastat log include history, that allows much easy identify point of failure. * Now ipactl does not have limits on lengths of rules, limits, thresholds names. * In some places where EWOULDBLOCK is checked, checks for EAGAIN were added, as it is documented in SUSv3. * On some systems there is no strtoull(3) function, which is part of SUSv3, check it in the configure script and use own version if it is absent.diff -r1.12 -r1.13 pkgsrc/sysutils/ipa/Makefile
(obache)
@@ -1,24 +1,25 @@ | @@ -1,24 +1,25 @@ | |||
1 | # $NetBSD: Makefile,v 1.12 2011/01/11 11:47:02 obache Exp $ | 1 | # $NetBSD: Makefile,v 1.13 2011/02/11 11:50:02 obache Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= ipa-2.0.9 | 4 | DISTNAME= ipa-2.1 | |
5 | CATEGORIES= sysutils | 5 | CATEGORIES= sysutils | |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ipa-system/} | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ipa-system/} | |
7 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
8 | 8 | |||
9 | MAINTAINER= simon@comsys.ntu-kpi.kiev.ua | 9 | MAINTAINER= simon@comsys.ntu-kpi.kiev.ua | |
10 | HOMEPAGE= http://ipa-system.sourceforge.net/ | 10 | HOMEPAGE= http://ipa-system.sourceforge.net/ | |
11 | COMMENT= Pluggable accounting system | 11 | COMMENT= Pluggable accounting system | |
12 | LICENSE= 2-clause-bsd | |||
12 | 13 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | 14 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | 15 | |||
15 | GNU_CONFIGURE= yes | 16 | GNU_CONFIGURE= yes | |
16 | 17 | |||
17 | .include "../../mk/bsd.prefs.mk" | 18 | .include "../../mk/bsd.prefs.mk" | |
18 | 19 | |||
19 | RCD_SCRIPTS= ipa | 20 | RCD_SCRIPTS= ipa | |
20 | 21 | |||
21 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" | 22 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" | |
22 | RCD_SCRIPT_SRC.ipa= ${FILESDIR}/ipa.sh | 23 | RCD_SCRIPT_SRC.ipa= ${FILESDIR}/ipa.sh | |
23 | .else | 24 | .else | |
24 | RCD_SCRIPT_SRC.ipa= ${WRKSRC}/etc/ipa.sh.sample | 25 | RCD_SCRIPT_SRC.ipa= ${WRKSRC}/etc/ipa.sh.sample |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.9 2011/01/11 11:47:02 obache Exp $ | 1 | $NetBSD: distinfo,v 1.10 2011/02/11 11:50:02 obache Exp $ | |
2 | 2 | |||
3 | SHA1 (ipa-2.0.9.tar.bz2) = 2a39b8d18253d4ca45db609b4f75643b1e08c1aa | 3 | SHA1 (ipa-2.1.tar.bz2) = a33ccea305e0284cdad1215447f246685a94a32b | |
4 | RMD160 (ipa-2.0.9.tar.bz2) = 7d9ee1b27b24284b68f6d4962104fc4b1b94904c | 4 | RMD160 (ipa-2.1.tar.bz2) = 7bb808a2a91c93d889064971353fd005dacecd60 | |
5 | Size (ipa-2.0.9.tar.bz2) = 298851 bytes | 5 | Size (ipa-2.1.tar.bz2) = 312653 bytes |