gunnar: server/kolabconf AUTHORS, NONE, 1.1 Changes, NONE, 1.1 INSTALL, NONE, 1.1 MANIFEST, NONE, 1.1 Makefile.PL, NONE, 1.1 README, NONE, 1.1 kolabconf.spec, NONE, 1.1
cvs at kolab.org
cvs at kolab.org
Wed Aug 1 12:38:34 CEST 2007
Author: gunnar
Update of /kolabrepository/server/kolabconf
In directory doto:/tmp/cvs-serv10307
Added Files:
AUTHORS Changes INSTALL MANIFEST Makefile.PL README
kolabconf.spec
Log Message:
A draft version for a seperate kolabconf package.
--- NEW FILE: AUTHORS ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: Changes ---
2007-07-31 Gunnar Wrobel <p at rdus.de>
* Kolab-Conf/Conf.pm.in:
Require that the configuration load call is provided with the path
to the global Kolab configuration settings. This way we remove the
knowledge that the kolabd package exist from the Kolab.pm script.
In addition the reload() function was moved to the Conf.pm
module.
2007-01-06 Joergen Fjeld <jhf at linpro.no>
* Kolab-Conf/Conf.pm.in (build):
Patch applied by Martin Konold:
- fixes order of domains see also https://intevation.de/roundup/kolab/issue1550
2006-12-04 Gunnar Wrobel <wrobel at pardus.de>
* Kolab-Conf/Conf.pm.in (build): Only print "No configuration
variable corresponding to `$1' exists" in case we are NOT skipping
the section.
2006-03-20 Marcus Hüwe <suse-tux at gmx.de>
Patch commited by Richard Bos
* Kolab-Conf/Conf.pm.in: introduce a new variable phpinit_dir for the
directory that holds the php.ini file to be used.
2006-01-15 Richard Bos <richard at radoeka.nl>
* Kolab-Conf/Conf.pm.in: use the new variable sasl_authdconffile
instead of @sasl_confdir@/saslauthd.conf
2006-01-07 Richard Bos <richard at radoeka.nl>
* Kolab-Conf/Conf.pm.in: do not crash when the file to be checked
does not exists.
Give a hint _which_ config file can not be moved
2005-12-17 Marcus Hüwe <suse-tux at gmx.de>
Patch committed by Richard Bos
* bootstrap: added
* ChangeLog: added
* Kolab/Kolab.pm,
Kolab-Conf/Conf.pm,
Kolab-DirServ/DirServ.pm,
Kolab-LDAP/LDAP.pm,
Kolab-LDAP-Backend-slurpd/slurpd.pm,
Kolab-Mailer/Mailer.pm: are working now with the updated
kolabd/kolabd/dist_conf file
* Kolab/Makefile.am,
Kolab-Mailer/Makefile.am,
Kolab-Conf/Makefile.am,
Kolab-LDAP/Makefile.am,
Kolab-Util/Makefile.am,
Kolab-Cyrus/Makefile.am,
Kolab-LDAP-Backend/Makefile.am,
Kolab-LDAP-Backend-ad/Makefile.am,
Kolab-LDAP-Backend-slurpd/Makefile.am,
Kolab-DirServ/Makefile.am,
Kolab-LDAP-Backend-dirservd/Makefile.am,
Makefile.am: are removed
* Kolab/Makefile.PL,
Kolab-Mailer/Makefile.PL,
Kolab-Conf/Makefile.PL,
Kolab-LDAP/Makefile.PL,
Kolab-Util/Makefile.PL,
Kolab-Cyrus/Makefile.PL,
Kolab-LDAP-Backend/Makefile.PL,
Kolab-LDAP-Backend-ad/Makefile.PL,
Kolab-LDAP-Backend-slurpd/Makefile.PL,
Kolab-DirServ/Makefile.PL,
Kolab-LDAP-Backend-dirservd/Makefile.PL: are removed
--- NEW FILE: INSTALL ---
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
This package requires the Perl modules from the
perl-kolab
package.
--- NEW FILE: MANIFEST ---
AUTHORS
bin/kolabconf
Changes
INSTALL
lib/Kolab/Conf.pm
README
--- NEW FILE: Makefile.PL ---
use 5.008;
use strict;
use warnings;
use ExtUtils::MakeMaker;
use Getopt::Std;
getopts('ch');
if ($opt_h) {
print <<'EOH';
Usage: perl Makefile.PL [-c CONFIG_FILE] -h
Option c (config file) to specify the path to the kolab.globals
configuration file. The default is
/kolab/etc/kolab/kolab.globals but this may
vary depending on your installation.
Option h (help) to get this text.
EOH
exit 0;
}
if ($opt_c) {
my $CONFIG = $opt_c;
} else {
my $CONFIG = '/kolab/etc/kolab/kolab.globals';
}
sub MY::postamble {
return <<'MAKE_POST';
bin/kolabconf: bin/kolabconf.in
cat $< | sed -e 's#@CONFIG_FILE@#$CONFIG#' > $@
MAKE_POST
}
WriteMakefile(
NAME => 'Kolab::Conf',
VERSION_FROM => 'bin/kolabconf.in',
INSTALLDIRS => 'vendor',
EXE_FILES => [ 'bin/kolabconf', ],
ABSTRACT_FROM => 'lib/Kolab/Conf.pm',
AUTHOR => 'Stuart Bingë and others (see AUTHORS file)'
);
--- NEW FILE: README ---
kolabconf
=========
kolabconf provides the central mechanism to the configuration concept
of the Kolab server. It rewrites the Kolab configuration templates
into the final configuration files and handles the necessary magic
associated to that process.
COPYRIGHT
See the AUTHORS file provided with this package.
LICENCE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You can view the GNU General Public License, online, at the GNU
Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
--- NEW FILE: kolabconf.spec ---
## COPYRIGHT
## ---------
##
## See AUTHORS file
##
##
## LICENSE
## -------
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
##
## $Revision: 1.1 $
# versions of individual parts
%define V_perl 5.8.8
%define V_package kolabconf
%define V_version 1.0
%define V_release 20070801
# package information
Name: %{V_package}
Summary: Kolab2 Groupware Server configuration tool
URL: http://www.kolab.org/
Vendor: Kolab Consortium
Packager: p at rdus
Distribution: OpenPKG Community
Class: PLUS
Group: Mail
License: GPL
Version: %{V_version}
Release: %{V_release}
# list of sources
Source0:
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
AutoReq: no
AutoReqProv: no
%description
kolabconf provides the central mechanism to the configuration concept
of the Kolab server. It rewrites the Kolab configuration templates
into the final configuration files and handles the necessary magic
associated to that process.
%prep
%setup -q -c
%build
%install
rm -rf $RPM_BUILD_ROOT
%{l_prefix}/bin/perl-openpkg prepare
%{l_prefix}/bin/perl-openpkg -d %{SOURCE0} -A "-c %{l_prefix}/etc/kolab/kolab.globals" configure build install
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
More information about the commits
mailing list