Subject: Re: pkg/34860 (New package database/ipa_sdb (database module for sysutils/ipa))
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: OBATA Akio <obache@NetBSD.org>
List: pkgsrc-bugs
Date: 01/23/2007 15:15:05
The following reply was made to PR pkg/34860; it has been noted by GNATS.
From: OBATA Akio <obache@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/34860 (New package database/ipa_sdb (database module for sysutils/ipa))
Date: Wed, 24 Jan 2007 00:11:43 +0900
On Tue, 23 Jan 2007 10:50:02 +0000 (UTC), Andrey Simonenko wrote:
> > But why are you suggest to use option name different from sysutils/ipa?
>
> I have already thought about checking set options for sysutils/ipa
> from databases/ipa_sdb, but understood that this idea is wrong.
>
> If some feature is required from sysutils/ipa, then this does not mean
> that this feature also should be enabled in databases/ipa_sdb (or any
> other module), because modules' methods (functions) can be used only for
> parts of ipa.conf or ipastat.conf configuration file. By default
> everything is enabled, if one decides to disable something (to save some
> memory and speed up applications), then he/she will need to decide what
> and where can be disabled, in any case before using module's methods
> ipa and ipastat check if a module has these methods, so they will not
> call methods which were disabled.
Same meaning option should have same name, and even if using same option names,
you can specify options to packages individually.
Is there any problem?