conf
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 503
XML::Conf 0.04
XML::Conf is a simple configuration module based on XML. more>>
XML::Conf is a simple configuration module based on XML.
SYNOPSIS
Here follows some examples as the tests are done.
use XML::Conf;
my $c = XML::Conf->new($filename);
$w = $c->FIRSTKEY();
$v = $c->NEXTKEY();
$c->EXISTS($v);
$c->DELETE($v);
$c->CLEAR();
This is the description of the class, currently it only containg only the descriptions of the private and public methods and attributes.
<<lessSYNOPSIS
Here follows some examples as the tests are done.
use XML::Conf;
my $c = XML::Conf->new($filename);
$w = $c->FIRSTKEY();
$v = $c->NEXTKEY();
$c->EXISTS($v);
$c->DELETE($v);
$c->CLEAR();
This is the description of the class, currently it only containg only the descriptions of the private and public methods and attributes.
Download (0.006MB)
Added: 2006-09-08 License: Perl Artistic License Price:
1141 downloads
GPPPoE-Conf 0.3
GPPPoE-Conf provides a tool for configuring PPPoE and Speedtouch ADSL modems. more>>
GPPPoE-Conf provides a tool for configuring PPPoE and Speedtouch ADSL modems.
GPPPoE-Conf is a graphical application made with GTK 2 to create PPPoE accounts used by pppd. It also contains a script for configurating Speedtouch ADSL modems. This program was formerly known as "Speedtouch Installer".
The support for Speedtouch modules is make through speedtouch-pppoe script located in src/
Enhancements:
- Changed contents dir function to glib one
- Better work on the account file and in the pppoe options (from rp-pppoe script)
- Gateway option (avoids having to set the MTU on all the hosts on the LAN by changing the MSS)
- Inteligent LCP/pppoe timeout relation
- Synchronous encapsulation for optimized performance (on by default)
<<lessGPPPoE-Conf is a graphical application made with GTK 2 to create PPPoE accounts used by pppd. It also contains a script for configurating Speedtouch ADSL modems. This program was formerly known as "Speedtouch Installer".
The support for Speedtouch modules is make through speedtouch-pppoe script located in src/
Enhancements:
- Changed contents dir function to glib one
- Better work on the account file and in the pppoe options (from rp-pppoe script)
- Gateway option (avoids having to set the MTU on all the hosts on the LAN by changing the MSS)
- Inteligent LCP/pppoe timeout relation
- Synchronous encapsulation for optimized performance (on by default)
Download (0.11MB)
Added: 2007-02-28 License: GPL (GNU General Public License) Price:
972 downloads
xconfig 2.1.0
xconfig is a tool to configure XF86Config and xorg.conf from the command line. more>>
xconfig projetc is a software to configure XF86Config and xorg.conf from the command line.
xconfig is licensed under GPLv2.
<<lessxconfig is licensed under GPLv2.
Download (0.035MB)
Added: 2006-06-26 License: GPL (GNU General Public License) Price:
1218 downloads
yavipin-conf 0.0.1
yavipin-conf is a multiple client / server configuration utility for yavipin a la vtun. more>>
This utility is meant to ease the configuration of yavipin on both clients and servers. It foll.ows the same configuration scheme as vtun, so people migrating from vtun will not find any difficulties writing up yavipin confs.
Yavipind is a secure tunnel aka 2 peers securely forwarding packets toward each other. It forwards any kind of packet (IPv4, IPv6 or other) sent over the virtual point-to-point device (e.g. tun0). It fully runs in linux userspace.
<<lessYavipind is a secure tunnel aka 2 peers securely forwarding packets toward each other. It forwards any kind of packet (IPv4, IPv6 or other) sent over the virtual point-to-point device (e.g. tun0). It fully runs in linux userspace.
Download (0.003MB)
Added: 2005-04-19 License: LGPL (GNU Lesser General Public License) Price:
1648 downloads
Config::YUM 1.8
Config::YUM is a Perl extension for parsing yum.conf. more>>
Config::YUM is a Perl extension for parsing yum.conf.
SYNOPSIS
use Config::YUM;
my $yp = new Config::YUM;
my $yum_conf = $yp->parse();
foreach(keys %{$yum_conf}) {
print "Section: $_ is called " . $yum_conf->{$_}->{name} . "n";
}
$yum_conf will be a a hash, all INI sections are the primary hash keys.
include= will be automatically downloaded merged with the local yum.conf
mirrorlists will also be downloaded and saved as an array in $yum_conf->{somerepo}->{baseurls}
the first url in mirrorlists will be safed as $yum_conf->{somerepo}->{baseurl}.
exclude statements will be splited and safed to $yum_conf->{somerepo}->{exclude_hash}. Note that we
safe a perl regex string as keys here.
To say it with one sentence. Config::YUM automatically parses a yum.conf does the downloading and provides you
with a ready to use perl hash. :-)
You can define a few things @ new:
- use_cache: 0/1 (1 will enable, default: 0; Uses Cache::File)
- yum_conf: path to your yum.conf (default: /etc/yum.conf)
- yum_repos_d: path to your yum.repos.d (default: /etc/yum.repos.d)
- agent: You LWP::UserAgent agent string (default: Config::YUM/$VERSION)
- releasever: Define your RH/FC release version (rpm -qf --queryformat %{VERSION} /etc/redhat-release; Default: automatically queried)
- basearch: Define your basearch (uname -i; Default: automatically discovered)
- download_primary: Define if we should download/parse the primary.xml.gz
These arguments can be specified this way (dont forget the {!)
my $yp = new Config::YUM({
use_cache => 1,
yum_conf => /etc/yum.conf,
yum_repos_d => /etc/yum.repos.d,
agent => MyProgram/$VERSION,
relasever => 4,
basearch => i386,
download_primary => 1
});
This module provides you with a few functions,
parse() will return a hash containing the allready parsed local/remote yum.conf.
yumconf_local() will return a hash containing the allready parsed local yum.conf (Will run parse(), if you didnt yet)
yumconf_remote() will return a hash containing the allready parsed remote yum.conf (Will run parse(), if you didnt yet)
<<lessSYNOPSIS
use Config::YUM;
my $yp = new Config::YUM;
my $yum_conf = $yp->parse();
foreach(keys %{$yum_conf}) {
print "Section: $_ is called " . $yum_conf->{$_}->{name} . "n";
}
$yum_conf will be a a hash, all INI sections are the primary hash keys.
include= will be automatically downloaded merged with the local yum.conf
mirrorlists will also be downloaded and saved as an array in $yum_conf->{somerepo}->{baseurls}
the first url in mirrorlists will be safed as $yum_conf->{somerepo}->{baseurl}.
exclude statements will be splited and safed to $yum_conf->{somerepo}->{exclude_hash}. Note that we
safe a perl regex string as keys here.
To say it with one sentence. Config::YUM automatically parses a yum.conf does the downloading and provides you
with a ready to use perl hash. :-)
You can define a few things @ new:
- use_cache: 0/1 (1 will enable, default: 0; Uses Cache::File)
- yum_conf: path to your yum.conf (default: /etc/yum.conf)
- yum_repos_d: path to your yum.repos.d (default: /etc/yum.repos.d)
- agent: You LWP::UserAgent agent string (default: Config::YUM/$VERSION)
- releasever: Define your RH/FC release version (rpm -qf --queryformat %{VERSION} /etc/redhat-release; Default: automatically queried)
- basearch: Define your basearch (uname -i; Default: automatically discovered)
- download_primary: Define if we should download/parse the primary.xml.gz
These arguments can be specified this way (dont forget the {!)
my $yp = new Config::YUM({
use_cache => 1,
yum_conf => /etc/yum.conf,
yum_repos_d => /etc/yum.repos.d,
agent => MyProgram/$VERSION,
relasever => 4,
basearch => i386,
download_primary => 1
});
This module provides you with a few functions,
parse() will return a hash containing the allready parsed local/remote yum.conf.
yumconf_local() will return a hash containing the allready parsed local yum.conf (Will run parse(), if you didnt yet)
yumconf_remote() will return a hash containing the allready parsed remote yum.conf (Will run parse(), if you didnt yet)
Download (0.007MB)
Added: 2007-04-12 License: Perl Artistic License Price:
926 downloads
CGI::Ex::Conf 2.06
CGI::Ex::Conf is a Perl module with Conf Reader/Writer for many different data format types. more>>
CGI::Ex::Conf is a Perl module with Conf Reader/Writer for many different data format types.
SYNOPSIS
use CGI::Ex::Conf qw(conf_read conf_write);
my $hash = conf_read("/tmp/foo.yaml");
conf_write("/tmp/foo.yaml", {key1 => $val1, key2 => $val2});
### OOP interface
my $cob = CGI::Ex::Conf->new;
my $full_path_to_file = "/tmp/foo.val"; # supports ini, sto, val, pl, xml
my $hash = $cob->read($file);
local $cob->{default_ext} = conf; # default anyway
my @paths = qw(/tmp, /home/pauls);
local $cob->{paths} = @paths;
my $hash = $cob->read(My::NameSpace);
# will look in /tmp/My/NameSpace.conf and /home/pauls/My/NameSpace.conf
my $hash = $cob->read(My::NameSpace, {paths => [/tmp]});
# will look in /tmp/My/NameSpace.conf
local $cob->{directive} = MERGE;
my $hash = $cob->read(FooSpace);
# OR #
my $hash = $cob->read(FooSpace, {directive => MERGE});
# will return merged hashes from /tmp/FooSpace.conf and /home/pauls/FooSpace.conf
# immutable keys are preserved from originating files
local $cob->{directive} = FIRST;
my $hash = $cob->read(FooSpace);
# will return values from first found file in the path.
local $cob->{directive} = LAST; # default behavior
my $hash = $cob->read(FooSpace);
# will return values from last found file in the path.
### manipulate $hash
$cob->write(FooSpace); # will write it out the changes
There are half a million Conf readers out there. Why not add one more. Actually, this module provides a wrapper around the many file formats and the config modules that can handle them. It does not introduce any formats of its own.
This module also provides a preload ability which is useful in conjunction with mod_perl.
<<lessSYNOPSIS
use CGI::Ex::Conf qw(conf_read conf_write);
my $hash = conf_read("/tmp/foo.yaml");
conf_write("/tmp/foo.yaml", {key1 => $val1, key2 => $val2});
### OOP interface
my $cob = CGI::Ex::Conf->new;
my $full_path_to_file = "/tmp/foo.val"; # supports ini, sto, val, pl, xml
my $hash = $cob->read($file);
local $cob->{default_ext} = conf; # default anyway
my @paths = qw(/tmp, /home/pauls);
local $cob->{paths} = @paths;
my $hash = $cob->read(My::NameSpace);
# will look in /tmp/My/NameSpace.conf and /home/pauls/My/NameSpace.conf
my $hash = $cob->read(My::NameSpace, {paths => [/tmp]});
# will look in /tmp/My/NameSpace.conf
local $cob->{directive} = MERGE;
my $hash = $cob->read(FooSpace);
# OR #
my $hash = $cob->read(FooSpace, {directive => MERGE});
# will return merged hashes from /tmp/FooSpace.conf and /home/pauls/FooSpace.conf
# immutable keys are preserved from originating files
local $cob->{directive} = FIRST;
my $hash = $cob->read(FooSpace);
# will return values from first found file in the path.
local $cob->{directive} = LAST; # default behavior
my $hash = $cob->read(FooSpace);
# will return values from last found file in the path.
### manipulate $hash
$cob->write(FooSpace); # will write it out the changes
There are half a million Conf readers out there. Why not add one more. Actually, this module provides a wrapper around the many file formats and the config modules that can handle them. It does not introduce any formats of its own.
This module also provides a preload ability which is useful in conjunction with mod_perl.
Download (0.21MB)
Added: 2006-10-07 License: Perl Artistic License Price:
1113 downloads
App::Conf::File 0.965
App::Conf::File is a Perl module to load and access configuration data. more>>
App::Conf::File is a Perl module to load and access configuration data.
SYNOPSIS
use App::Conf;
$config = App::Conf->new();
$config = App::Conf->new(configFile => $file);
print $config->dump(), "n"; # use Data::Dumper to spit out the Perl representation
# accessors
$property_value = $config->get($property_name);
$branch = $config->get_branch($branch_name); # get hashref of properties
# on-demand loading helper methods (private methods)
$config->overlay($config2); # merge the two config structures using overlay rules
$config->overlay($config1, $config2); # merge $config2 onto $config1
$config->graft($branch_name, $config2); # graft new config structure onto branch
# By convention, the configurations for each App-Context service will be located
# two levels under the hash ref as shown.
$config->{Conf} # config settings for all Conf services
$config->{Conf}{default} # config settings for the default Conf service
$config->{Security} # config settings for all Security services
$config->{Security}{default} # config settings for the default Security service
$config->{Template}{tt} # config settings for the Template service named "tt"
# The default driver (if "configClass" not supplied) reads in a Perl
# data structure from the file. Alternate drivers can read a Storable,
# unvalidated XML, DTD-validated XML, RDF-validated XML, or any other
# file format or data source anyone cares to write a driver for.
$conf = {
Standard => {
Log-Dispatch => {
logdir => /var/p5ee,
}
},
Authen => {
passwd => /etc/passwd,
seed => 303292,
},
};
# A comparable unvalidating XML file would look like this.
< conf>
< Standard>
< Log-Dispatch logdir="/var/p5ee"/>
< /Standard>
< Authen passwd="/etc/passwd" seed="303292"/>
< /conf>
# A comparable ini file (.ini) would look like this.
[Standard.Log-Dispatch]
logdir = /var/p5ee
[Authen]
passwd = /etc/passwd
seed = 303292
# A comparable Java properties-like file would look like this.
Standard.Log-Dispatch.logdir = /var/p5ee
Authen.passwd = /etc/passwd
Authen.seed = 303292
<<lessSYNOPSIS
use App::Conf;
$config = App::Conf->new();
$config = App::Conf->new(configFile => $file);
print $config->dump(), "n"; # use Data::Dumper to spit out the Perl representation
# accessors
$property_value = $config->get($property_name);
$branch = $config->get_branch($branch_name); # get hashref of properties
# on-demand loading helper methods (private methods)
$config->overlay($config2); # merge the two config structures using overlay rules
$config->overlay($config1, $config2); # merge $config2 onto $config1
$config->graft($branch_name, $config2); # graft new config structure onto branch
# By convention, the configurations for each App-Context service will be located
# two levels under the hash ref as shown.
$config->{Conf} # config settings for all Conf services
$config->{Conf}{default} # config settings for the default Conf service
$config->{Security} # config settings for all Security services
$config->{Security}{default} # config settings for the default Security service
$config->{Template}{tt} # config settings for the Template service named "tt"
# The default driver (if "configClass" not supplied) reads in a Perl
# data structure from the file. Alternate drivers can read a Storable,
# unvalidated XML, DTD-validated XML, RDF-validated XML, or any other
# file format or data source anyone cares to write a driver for.
$conf = {
Standard => {
Log-Dispatch => {
logdir => /var/p5ee,
}
},
Authen => {
passwd => /etc/passwd,
seed => 303292,
},
};
# A comparable unvalidating XML file would look like this.
< conf>
< Standard>
< Log-Dispatch logdir="/var/p5ee"/>
< /Standard>
< Authen passwd="/etc/passwd" seed="303292"/>
< /conf>
# A comparable ini file (.ini) would look like this.
[Standard.Log-Dispatch]
logdir = /var/p5ee
[Authen]
passwd = /etc/passwd
seed = 303292
# A comparable Java properties-like file would look like this.
Standard.Log-Dispatch.logdir = /var/p5ee
Authen.passwd = /etc/passwd
Authen.seed = 303292
Download (0.12MB)
Added: 2007-06-21 License: Perl Artistic License Price:
856 downloads
LaptopConfig 0.5.3
LaptopConfig is a tool for accessing features of laptops like hotkeys. more>>
LaptopConfig is a tool for accessing features of laptops like hotkeys, acpi-events, display-brightness and powersaving in a platform independent way, so it is possible to run it on different laptops.
LaptopConfig is released under the GPL version 2.
Enhancements:
- compilation bug-fixes on systems with QT without STL-support
- (very unusable) support for non-ACPI capable systems
- support for cpufreqd.conf format of kernel 2.4
<<lessLaptopConfig is released under the GPL version 2.
Enhancements:
- compilation bug-fixes on systems with QT without STL-support
- (very unusable) support for non-ACPI capable systems
- support for cpufreqd.conf format of kernel 2.4
Download (0.34MB)
Added: 2005-06-08 License: GPL (GNU General Public License) Price:
1601 downloads
Rsync::Config 0.3.1
Rsync::Config is a Perl module for rsync configuration generator. more>>
Rsync::Config is a Perl module for rsync configuration generator.
Rsync::Config is a module who can be used to create rsync configuration files. A configuration file (from Rsync::Config point of view) is made by atoms and modules with atoms. A atom is the smallest piece from the configuration file. This module inherits from Rsync::Config::Module .
INHERITANCE
Objects from Rsync::Config inherits as in the next scheme
/--- Rsync::Config::Module --- Rsync::Config
Rsync::Config::Renderer
--- Rsync::Config::Blank
/
Rsync::Config::Atom --- --- Rsync::Config::Comment
SYNOPSIS
use Rsync::Config;
use Rsync::Config::Atom;
use Rsync::Config::Module;
sub main {
my ($conf, $module);
$conf = new Rsync::Config();
$conf->add_comment(Main configuration file for our rsync daemon);
$conf->add_atom(read only,yes);
$conf->add_atom(chroot,yes);
$module = new Rsync::Config::Module(name => cpan);
$module->add_atom(path,/var/ftp/pub/mirrors/ftp.cpan.org/);
$module->add_atom(comment, CPAN mirror);
$conf->add_module($module);
$conf->to_file(/etc/rsyncd.conf);
}
<<lessRsync::Config is a module who can be used to create rsync configuration files. A configuration file (from Rsync::Config point of view) is made by atoms and modules with atoms. A atom is the smallest piece from the configuration file. This module inherits from Rsync::Config::Module .
INHERITANCE
Objects from Rsync::Config inherits as in the next scheme
/--- Rsync::Config::Module --- Rsync::Config
Rsync::Config::Renderer
--- Rsync::Config::Blank
/
Rsync::Config::Atom --- --- Rsync::Config::Comment
SYNOPSIS
use Rsync::Config;
use Rsync::Config::Atom;
use Rsync::Config::Module;
sub main {
my ($conf, $module);
$conf = new Rsync::Config();
$conf->add_comment(Main configuration file for our rsync daemon);
$conf->add_atom(read only,yes);
$conf->add_atom(chroot,yes);
$module = new Rsync::Config::Module(name => cpan);
$module->add_atom(path,/var/ftp/pub/mirrors/ftp.cpan.org/);
$module->add_atom(comment, CPAN mirror);
$conf->add_module($module);
$conf->to_file(/etc/rsyncd.conf);
}
Download (0.022MB)
Added: 2007-01-16 License: MPL (Mozilla Public License) Price:
1011 downloads
Unix::Conf::Bind8::Conf 0.3
Unix::Conf::Bind8::Conf is a front end for a suite of classes for manipulating a Bind8 style configuration file. more>>
Unix::Conf::Bind8::Conf is a front end for a suite of classes for manipulating a Bind8 style configuration file.
SYNOPSIS
my ($conf, $obj, $ret);
$conf = Unix::Conf::Bind8->new_conf (
FILE => named.conf,
SECURE_OPEN => /etc/named.conf,
) or $conf->die ("couldnt create `named.conf");
#
# All directives have corrresponding new_*, get_*, delete_*
# methods
#
$obj = $conf->new_zone (
NAME => extremix.net,
TYPE => master,
FILE => db.extremix.net,
) or $obj->die ("couldnt create zone `extremix.net");
# For objects that have a name attribute, name is to
# be specified, otherwise no arguments are needed.
$obj = $conf->get_zone (extremix.net)
or $obj->die ("couldnt get zone `extremix.net");
$obj = $conf->get_options ()
or $obj->die ("couldnt get options");
# For objects that have a name attribute, name is to
# be specified, otherwise no arguments are needed.
$obj = $conf->delete_zone (extremix.net)
or $obj->die ("couldnt delete zone `extremix.net");
$obj = $conf->delete_options ()
or $obj->die ("couldnt get options");
# directives that have a name attribute, have iterator
# methods
printf ("Zones defined in %s:n", $conf->fh ());
for my $zone ($conf->zones ()) {
printf ("%sn", $zone->name ();
}
printf ("Directives defined in %s:n", $conf->fh ());
for my $dir ($conf->directives ()) {
print ("$dirn");
}
$db = $conf->get_db (extremix.net)
or $db->die ("couldnt get db for `extremix.net");
This class has interfaces for the various class methods of the classes that reside beneath Unix::Conf::Bind8::Conf. This class is an internal class and should not be accessed directly. Methods in this class can be accessed through a Unix::Conf::Bind8::Conf object which is returned by Unix::Conf::Bind8->new_conf ().
<<lessSYNOPSIS
my ($conf, $obj, $ret);
$conf = Unix::Conf::Bind8->new_conf (
FILE => named.conf,
SECURE_OPEN => /etc/named.conf,
) or $conf->die ("couldnt create `named.conf");
#
# All directives have corrresponding new_*, get_*, delete_*
# methods
#
$obj = $conf->new_zone (
NAME => extremix.net,
TYPE => master,
FILE => db.extremix.net,
) or $obj->die ("couldnt create zone `extremix.net");
# For objects that have a name attribute, name is to
# be specified, otherwise no arguments are needed.
$obj = $conf->get_zone (extremix.net)
or $obj->die ("couldnt get zone `extremix.net");
$obj = $conf->get_options ()
or $obj->die ("couldnt get options");
# For objects that have a name attribute, name is to
# be specified, otherwise no arguments are needed.
$obj = $conf->delete_zone (extremix.net)
or $obj->die ("couldnt delete zone `extremix.net");
$obj = $conf->delete_options ()
or $obj->die ("couldnt get options");
# directives that have a name attribute, have iterator
# methods
printf ("Zones defined in %s:n", $conf->fh ());
for my $zone ($conf->zones ()) {
printf ("%sn", $zone->name ();
}
printf ("Directives defined in %s:n", $conf->fh ());
for my $dir ($conf->directives ()) {
print ("$dirn");
}
$db = $conf->get_db (extremix.net)
or $db->die ("couldnt get db for `extremix.net");
This class has interfaces for the various class methods of the classes that reside beneath Unix::Conf::Bind8::Conf. This class is an internal class and should not be accessed directly. Methods in this class can be accessed through a Unix::Conf::Bind8::Conf object which is returned by Unix::Conf::Bind8->new_conf ().
Download (0.076MB)
Added: 2006-06-12 License: Perl Artistic License Price:
1229 downloads
dtRdr::Config 0.0.11
dtRdr::Config is a Perl module with Factory class for configuration system. more>>
dtRdr::Config is a Perl module with Factory class for configuration system.
Factory Methods
factory_read_config
Constructor function (see new)
my $obj = factory_read_config($file);
new
$conf = dtRdr::Config->new($file);
get_library_info
my @libraries = $conf->get_library_info;
<<lessFactory Methods
factory_read_config
Constructor function (see new)
my $obj = factory_read_config($file);
new
$conf = dtRdr::Config->new($file);
get_library_info
my @libraries = $conf->get_library_info;
Download (2.8MB)
Added: 2007-03-14 License: Perl Artistic License Price:
955 downloads
Unix::Conf::Bind8::DB::A 0.3
Unix::Conf::Bind8::DB::A is a Class representing A records. more>>
Unix::Conf::Bind8::DB::A is a Class representing A records.
METHODS
Methods specified here are overridden. They might or not be differnt from the derived ones. For other methods refer to the METHODS section for Unix::Conf::Bind8::DB::Record.
new ()
Arguments
LABEL => string,
CLASS => string, # IN|HS|CHAOS
TTL => string|number,
AUTH_NS => nameserver,
MAIL_ADDR => rp,
SERIAL => zone_serial_no # number
REFRESH => refresh,
RETRY => retry,
EXPIRE => expire,
MIN_TTL => min_ttl,
PARENT => reference, # to the DB object datastructure
Class constructor. Creates a new Unix::Conf::Bind8::DB::* object and returns it if successful, an Err object otherwise. Do not use this constructor directly. Use the Unix::Conf::Bind8::DB::new_* equivalent instead.
auth_ns ()
Arguments
auth_ns
Object method. Get/set the records auth_ns. If an argument is passed, the invocants auth_ns is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants auth_ns is returned.
mail_addr ()
Arguments
mail_addr
Object method. Get/set the records mail_addr. If an argument is passed, the invocants mail_addr is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants mail_addr is returned.
serial ()
Arguments
serial
Object method. Get/set the records serial. If an argument is passed, the invocants serial is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants serial is returned.
refresh ()
Arguments
refresh
Object method. Get/set the records refresh. If an argument is passed, the invocants refresh is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants refresh is returned.
retry ()
Arguments
retry
Object method. Get/set the records retry. If an argument is passed, the invocants retry is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants retry is returned.
expire ()
Arguments
expire
Object method. Get/set the records expire. If an argument is passed, the invocants expire is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants expire is returned.
min_ttl ()
Arguments
min_ttl
Object method. Get/set the records min_ttl. If an argument is passed, the invocants min_ttl is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants min_ttl is returned.
<<lessMETHODS
Methods specified here are overridden. They might or not be differnt from the derived ones. For other methods refer to the METHODS section for Unix::Conf::Bind8::DB::Record.
new ()
Arguments
LABEL => string,
CLASS => string, # IN|HS|CHAOS
TTL => string|number,
AUTH_NS => nameserver,
MAIL_ADDR => rp,
SERIAL => zone_serial_no # number
REFRESH => refresh,
RETRY => retry,
EXPIRE => expire,
MIN_TTL => min_ttl,
PARENT => reference, # to the DB object datastructure
Class constructor. Creates a new Unix::Conf::Bind8::DB::* object and returns it if successful, an Err object otherwise. Do not use this constructor directly. Use the Unix::Conf::Bind8::DB::new_* equivalent instead.
auth_ns ()
Arguments
auth_ns
Object method. Get/set the records auth_ns. If an argument is passed, the invocants auth_ns is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants auth_ns is returned.
mail_addr ()
Arguments
mail_addr
Object method. Get/set the records mail_addr. If an argument is passed, the invocants mail_addr is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants mail_addr is returned.
serial ()
Arguments
serial
Object method. Get/set the records serial. If an argument is passed, the invocants serial is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants serial is returned.
refresh ()
Arguments
refresh
Object method. Get/set the records refresh. If an argument is passed, the invocants refresh is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants refresh is returned.
retry ()
Arguments
retry
Object method. Get/set the records retry. If an argument is passed, the invocants retry is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants retry is returned.
expire ()
Arguments
expire
Object method. Get/set the records expire. If an argument is passed, the invocants expire is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants expire is returned.
min_ttl ()
Arguments
min_ttl
Object method. Get/set the records min_ttl. If an argument is passed, the invocants min_ttl is set and true returned, on success, an Err object otherwise. If no argument is passed the invocants min_ttl is returned.
Download (0.076MB)
Added: 2006-06-01 License: Perl Artistic License Price:
1240 downloads
Samba::LDAP::Config 0.03
Samba::LDAP::Config is a Perl module to config file related tasks for Samba::LDAP. more>>
Samba::LDAP::Config is a Perl module to config file related tasks for Samba::LDAP.
SYNOPSIS
use Samba::LDAP::Config;
my $config = Samba::LDAP::Config->new()
or die "Cant create objectn";
# Returns where smbldap.conf, smbldap_bind.conf and
# smb.conf are located
my $smbldap_conf = $config->find_smbldap();
my $smbldap_bind_conf = $config->find_smbldap_bind();
my $samba_conf = $config->find_samba();
Various methods to find where the related Samba configuration files are saved, read them in and write them out etc. Subclasses Config::Tiny.
INTERFACE
new
Create a new Samba::LDAP::Config object
find_smbldap
Searches in usual places for smbldap.conf and returns location found.
my $smbldap_conf = $config->find_smbldap();
Returns the smbldap.conf in the scripts, if nothing found.
find_smbldap_bind
Searches in usual places for smbldap_bind.conf and returns location found.
my $smbldap_bind_conf = $config->find_smbldap_bind();
Returns the smbldap_bind.conf in the scripts, if nothing found.
find_samba
Searches in usual places for smb.conf and returns location found.
my $smb_conf = $config->find_samba();
Returns the smb.conf in the scripts, if nothing found.
read_conf
Wrapper to provide an instant error message as returned by the native Config::Tiny read method
my $conf = $config->read_conf( $filename );
read_string
Overrides Config::Tinys read_string to exclude the " " marks found in smbldap.conf and smbldap_bind.conf and remove section handling, as we dont have any [sections] in either of these files.
Also substitutes the suffix hash ( ${suffix} ) with its value.
Need to fix the smb.conf reading. Will use File::Samba or Config::Auto for it instead.
<<lessSYNOPSIS
use Samba::LDAP::Config;
my $config = Samba::LDAP::Config->new()
or die "Cant create objectn";
# Returns where smbldap.conf, smbldap_bind.conf and
# smb.conf are located
my $smbldap_conf = $config->find_smbldap();
my $smbldap_bind_conf = $config->find_smbldap_bind();
my $samba_conf = $config->find_samba();
Various methods to find where the related Samba configuration files are saved, read them in and write them out etc. Subclasses Config::Tiny.
INTERFACE
new
Create a new Samba::LDAP::Config object
find_smbldap
Searches in usual places for smbldap.conf and returns location found.
my $smbldap_conf = $config->find_smbldap();
Returns the smbldap.conf in the scripts, if nothing found.
find_smbldap_bind
Searches in usual places for smbldap_bind.conf and returns location found.
my $smbldap_bind_conf = $config->find_smbldap_bind();
Returns the smbldap_bind.conf in the scripts, if nothing found.
find_samba
Searches in usual places for smb.conf and returns location found.
my $smb_conf = $config->find_samba();
Returns the smb.conf in the scripts, if nothing found.
read_conf
Wrapper to provide an instant error message as returned by the native Config::Tiny read method
my $conf = $config->read_conf( $filename );
read_string
Overrides Config::Tinys read_string to exclude the " " marks found in smbldap.conf and smbldap_bind.conf and remove section handling, as we dont have any [sections] in either of these files.
Also substitutes the suffix hash ( ${suffix} ) with its value.
Need to fix the smb.conf reading. Will use File::Samba or Config::Auto for it instead.
Download (0.080MB)
Added: 2007-01-12 License: Perl Artistic License Price:
1021 downloads
Lemonldap::Config::Parameters 3.1.1
emonldap::Config::Parameters is a Perl module as a Backend of configuration for lemonldap SSO system. more>>
emonldap::Config::Parameters is a Perl module as a Backend of configuration for lemonldap SSO system.
SYNOPSIS
#!/usr/bin/perl
use Lemonldap::Config::Parameters;
use Data::Dumper;
my $nconfig= Lemonldap::Config::Parameters->new(
file =>applications.xml,
cache => /tmp/CONF );
my $conf= $nconfig->getAllConfig;
my $cg=$nconfig->getDomain(appli.cp);
my $ligne= $cg;
print Dumper( $ligne);
my $e = $cg->{templates_options} ;
my $opt= "templates_dir";
my $va = $cg->{$opt};
my $ligne= $nconfig->formateLineHash($e,$opt,$va) ;
or by API :
Lemonldap::Config::Parameters::f_delete(/tmp/CONF);
or by command line
perl -e "use Lemonldap::Config::Parameters; Lemonldap::Config::Parameters::f_delete(/tmp/CONF);"
<<lessSYNOPSIS
#!/usr/bin/perl
use Lemonldap::Config::Parameters;
use Data::Dumper;
my $nconfig= Lemonldap::Config::Parameters->new(
file =>applications.xml,
cache => /tmp/CONF );
my $conf= $nconfig->getAllConfig;
my $cg=$nconfig->getDomain(appli.cp);
my $ligne= $cg;
print Dumper( $ligne);
my $e = $cg->{templates_options} ;
my $opt= "templates_dir";
my $va = $cg->{$opt};
my $ligne= $nconfig->formateLineHash($e,$opt,$va) ;
or by API :
Lemonldap::Config::Parameters::f_delete(/tmp/CONF);
or by command line
perl -e "use Lemonldap::Config::Parameters; Lemonldap::Config::Parameters::f_delete(/tmp/CONF);"
Download (0.012MB)
Added: 2007-03-21 License: Perl Artistic License Price:
948 downloads
Convex 1.0
Convex provides a flexible pattern matching system designed for creating response driven IRC bots. more>>
Convex provides a flexible pattern matching system designed for creating response driven IRC bots.
Convex is a system for creating IRC bots. It features stability, a small
memory footprint, a flexible but intuitive configuration system, stealth
running, and a secure infrastructure.
Building/Installing
To build Convex, type make while in Convexs directory.
To install, move the binary "convex" somewhere in the filesystem. Or just
run it from its current location - see if I care.
Configuring
Convex requires a config file. Convex isnt very useful without one. A good
starting point is the file sample.conf. Youll want to edit the defines at
the top of the file, and the users section (3rd section).
Running
Convex can be started in 2 ways:
./convex sample.conf
or
m4 sample.conf | ./convex
<<lessConvex is a system for creating IRC bots. It features stability, a small
memory footprint, a flexible but intuitive configuration system, stealth
running, and a secure infrastructure.
Building/Installing
To build Convex, type make while in Convexs directory.
To install, move the binary "convex" somewhere in the filesystem. Or just
run it from its current location - see if I care.
Configuring
Convex requires a config file. Convex isnt very useful without one. A good
starting point is the file sample.conf. Youll want to edit the defines at
the top of the file, and the users section (3rd section).
Running
Convex can be started in 2 ways:
./convex sample.conf
or
m4 sample.conf | ./convex
Download (0.014MB)
Added: 2007-04-19 License: GPL (GNU General Public License) Price:
918 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above conf search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed