NetBSD Problem Report #44548

From simon@comsys.ntu-kpi.kiev.ua  Fri Feb 11 09:27:50 2011
Return-Path: <simon@comsys.ntu-kpi.kiev.ua>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id C59D263B842
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 11 Feb 2011 09:27:50 +0000 (UTC)
Message-Id: <20110211092744.GA18692@pm513-1.comsys.ntu-kpi.kiev.ua>
Date: Fri, 11 Feb 2011 11:27:44 +0200
From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To: gnats-bugs@gnats.NetBSD.org
Subject: Update sysutils/ipa to version 2.1

>Number:         44548
>Category:       pkg
>Synopsis:       Update sysutils/ipa to version 2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 11 09:30:00 +0000 2011
>Closed-Date:    Fri Feb 11 11:51:06 +0000 2011
>Last-Modified:  Fri Feb 11 11:55:01 +0000 2011
>Originator:     Andrey Simonenko
>Release:        NetBSD 5.0.2
>Organization:
>Environment:
>Description:

Please update sysutils/ipa to version 2.1.

Changes in port:

    *	Added LICENSE.

Changes in version 2.1:

    *	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.

>How-To-Repeat:
>Fix:
diff -ruN ipa.orig/Makefile ipa/Makefile
diff -ruN ipa.orig/Makefile ipa/Makefile
--- ipa.orig/Makefile	2011-01-12 11:18:38.000000000 +0000
+++ ipa/Makefile	2011-02-11 11:20:45.000000000 +0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.12 2011/01/11 11:47:02 obache Exp $
 #

-DISTNAME=	ipa-2.0.9
+DISTNAME=	ipa-2.1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ipa-system/}
 EXTRACT_SUFX=	.tar.bz2
@@ -9,6 +9,7 @@
 MAINTAINER=	simon@comsys.ntu-kpi.kiev.ua
 HOMEPAGE=	http://ipa-system.sourceforge.net/
 COMMENT=	Pluggable accounting system
+LICENSE=	2-clause-bsd

 PKG_DESTDIR_SUPPORT=	user-destdir

diff -ruN ipa.orig/distinfo ipa/distinfo
--- ipa.orig/distinfo	2011-01-12 11:18:38.000000000 +0000
+++ ipa/distinfo	2011-02-10 13:16:26.000000000 +0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.9 2011/01/11 11:47:02 obache Exp $

-SHA1 (ipa-2.0.9.tar.bz2) = 2a39b8d18253d4ca45db609b4f75643b1e08c1aa
-RMD160 (ipa-2.0.9.tar.bz2) = 7d9ee1b27b24284b68f6d4962104fc4b1b94904c
-Size (ipa-2.0.9.tar.bz2) = 298851 bytes
+SHA1 (ipa-2.1.tar.bz2) = a33ccea305e0284cdad1215447f246685a94a32b
+RMD160 (ipa-2.1.tar.bz2) = 7bb808a2a91c93d889064971353fd005dacecd60
+Size (ipa-2.1.tar.bz2) = 312653 bytes

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Fri, 11 Feb 2011 11:51:06 +0000
State-Changed-Why:
Updated.  Thanks!


From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44548 CVS commit: pkgsrc/sysutils/ipa
Date: Fri, 11 Feb 2011 11:50:03 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Fri Feb 11 11:50:02 UTC 2011

 Modified Files:
 	pkgsrc/sysutils/ipa: Makefile distinfo

 Log Message:
 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.


 To generate a diff of this commit:
 cvs rdiff -u -r1.12 -r1.13 pkgsrc/sysutils/ipa/Makefile
 cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/ipa/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.