gunnar: server/perl-kolab Changes, NONE, 1.1 DEVELOPMENT, NONE, 1.1 INSTALL, NONE, 1.1 MANIFEST, NONE, 1.1 Makefile.PL, NONE, 1.1 perl-kolab.spec, 1.97, 1.98 .cvsignore, 1.1, 1.2 AUTHORS, 1.1, 1.2 README, 1.1, 1.2 ChangeLog, 1.21, NONE Makefile.am, 1.12, NONE Makefile.cvs, 1.8, NONE NEWS, 1.1, NONE bootstrap, 1.1, NONE configure.ac, 1.5, NONE perl-kolab.spec.in, 1.31, NONE

cvs at kolab.org cvs at kolab.org
Wed Aug 1 16:57:43 CEST 2007


Author: gunnar

Update of /kolabrepository/server/perl-kolab
In directory doto:/tmp/cvs-serv20643

Modified Files:
	.cvsignore AUTHORS README 
Added Files:
	Changes DEVELOPMENT INSTALL MANIFEST Makefile.PL 
	perl-kolab.spec 
Removed Files:
	ChangeLog Makefile.am Makefile.cvs NEWS bootstrap configure.ac 
	perl-kolab.spec.in 
Log Message:
Converted the perl-kolab package into a standard perl library.

--- NEW FILE: Changes ---
2007-08-01    Gunnar Wrobel  <p at rdus.de>

	Converted the perl-kolab package into a standard perl library.

2007-07-31    Gunnar Wrobel  <p at rdus.de>

	* Kolab/Kolab.pm.in:
	* 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-07-27    Gunnar Wrobel  <p at rdus.de>

	* Kolab-LDAP/LDAP.pm.in (startup):

	Require that the startup call is provided with the path to the
	statedir. This way we remove knowledge of the kolabd package from
	LDAP.pm script

	* Kolab-LDAP-Backend-slurpd/slurpd.pm.in (run):

	Removed explicit reference to the kolabconf script. The path is
	now read from the Kolab Server configuration. This removes the
	knowledge that the kolabd package exists from the slurpd.pm
	script.

2007-07-26  Gunnar Wrobel  <p at rdus.de>

	* Makefile.am:
	* Kolab-Mailer/*:

	Removed the Kolab-Mailer module. It was only used by the
	"dirserv"-code.

	* Makefile.am:
	* Kolab/Kolab.pm.in:
	* Kolab-LDAP/LDAP.pm.in:
	* Kolab-LDAP-Backend-dirservd/*:
	* Kolab-DirServ/*:

	Removed outdated "dirserv"-support from perl-kolab.

2007-06-21  Marcus Hüwe		<suse-tux at gmx.de>

	* Makefile.am: added Makefile dependencies

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-14 Marcus Hüwe <suse-tux at gmx.de>
	Patch commited by Richard Bos
	* configure.ac: replaced --enable-dist with --with-dist
	  Added dist_conf file check.  If dist_conf file specified with
	  --with-dist is not present fail configure.
	* perl-kolab.spec.in: replaced --enable-dist with --with-dist

2006-01-14 Richard Bos <richard at radoeka.nl>
	* Kolab/Kolab.pm.in: check for valid uid/gid values with perl define
	  instead of the value.  The current check failed for root, as that
	  returns '0' (zero) that was interpreted as false...
	* Changed the real login names, kolab, kolab-n and kolab-r to resp.
	  @kolab_mgrp@, @kolab_usr@ and @kolab_rusr at .  The same thing
	  was done for the groups

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

2006-01-03 Richard Bos <richard at radoeka.nl>
	* Makefile.am: distribute only the files to be distributed
	  from the dist_conf directory
	  Added a distclean-local rule to remove the directory autom4te.cache

2005-12-30 Richard Bos <richard at radoeka.nl>
	* Kolab/Makefile.am,
	  Kolab-Conf/Makefile.am,
	  Kolab-Cyrus/Makefile.am,
	  Kolab-DirServ/Makefile.am,
	  Kolab-LDAP/Makefile.am,
	  Kolab-LDAP-Backend/Makefile.am,
	  Kolab-LDAP-Backend-ad/Makefile.am,
	  Kolab-LDAP-Backend-dirservd/Makefile.am,
	  Kolab-LDAP-Backend-slurpd/Makefile.am,
	  Kolab-Mailer/Makefile.am,
	  Kolab-Util/Makefile.am: removed.  Not needed anymore due
	  to conversion from autoperl to autotools

2005-12-30 Marcus Hüwe <suse-tux at gmx.de>
	Patch committed by Richard Bos, see issue1047
	* Kolab/Kolab.pm.in: replaced @bindir@/openpkg with @KOLABRC@

2005-12-29 Martin Konold <martin.konold at erfrakon.de>
	* configure: removed, not needed anymore due to the conversion to
	  autotools from autoperl. See issue1038

2005-12-19 Richard Bos <richard at radoeka.nl>
        * configure.ac: added no-dist-gzip to AM_INIT_AUTOMAKE
        * Makefile.cvs: reflected change in configure.ac, to create only bzipped
          tarbals.  Changed 'make dist' into 'make distcheck'

2005-12-17 Richard Bos <richard at radoeka.nl>
	* dist_conf/gentoo, dist_conf/kolab: removed, they are
	  not needed anymore as the dist_conf files from kolabd
	  are used.

2005-12-17 Richard Bos <richard at radoeka.nl>
	* NEWS: added
	* Makefile.cvs,
	  perl-kolab.spec.in: updated so the build completes
	  with the new autoconfiscated perl-kolab

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: DEVELOPMENT ---
Development notes
=================

The kolabconf package is a standard perl package meant to be handled
with the Makefile.PL script.

The Kolab Server packages were usually not released as source
packages. This should be changed with this new package layout. The
"dist" target will produce a kolabconf-*.tar.gz package that can be
distributed as source package. The same run will produce a
kolabconf-*.src.rpm package that is suited for installation on an
OpenPKG system.

Version numbering
=================

kolabconf is a Kolab Server core package. It should have the same
version as the Server release. As a part of Kolab Server 2.1 the
version number should be 2.1.

Once development picks up after a release, the version number should
be switched to $(OLD_VERSION).99 e.g. 2.1.99. There'll be no changes
of the version during development as there are no source packages
being released.

For the next release the version number will be increased to the new
Kolab Server version e.g. 2.2 and a new source packge will be
provided.

A NEW VERSION HAS TO BE SET IN BOTH

  lib/Kolab.pm

AND

  perl-kolab.spec

For testing purposes the "dist" target will produce source RPM
packages that have the current date attached as release number. This
allows you to continuously upgrade your test installation.
--- NEW FILE: INSTALL ---
INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

This package requires the following Perl modules:

* Perl core packages

IO::File
IO::Select
IO::Socket::INET
Sys::Syslog
Time::Local
URI

* Perl addon modules

Convert::ASN1
DB_File
Net::LDAP
Net::LDAP::ASN
Net::LDAP::Control
Net::LDAP::Constant
Net::LDAP::Util
Net::LDAPS
Cyrus::IMAP::Admin

package.
--- NEW FILE: MANIFEST ---
AUTHORS
Changes
INSTALL
lib/Kolab.pm
lib/Kolab/Cyrus.pm
lib/Kolab/LDAP.pm
lib/Kolab/LDAP/Backend.pm
lib/Kolab/LDAP/Backend/ad.pm
lib/Kolab/LDAP/Backend/slurpd.pm
lib/Kolab/Util.pm
Makefile.PL
MANIFEST
README
--- NEW FILE: Makefile.PL ---
use 5.008;
use strict;
use warnings;

use ExtUtils::MakeMaker;
use Getopt::Long;

# Add the dist_openpkg target to the dist target
sub MY::dist {
    package MY;   # To help SUPER work right
    my $self = shift;
    my @m;
    
    push(@m, $self->SUPER::dist(@_));
    
    my $dist = join "", @m;

    $dist =~ s/(dist.*)/$1 dist_openpkg/;
     
    return $dist;
}

# Remove additional files
sub MY::veryclean {
    package MY;   # To help SUPER work right
    my $self = shift;
    my @m;
    
    push(@m, $self->SUPER::clean(@_));
    
    my $clean = join "", @m;

    $clean =~ s/(clean.*)/$1 clean_openpkg clean_scripts/;
     
    return $clean;
}

sub MY::postamble {
    
    my $add = "
ifeq \"x\$(RPM)\" \"x\"
  RPM = \$(HOME)/bin/openpkg rpm
endif
ifeq \"x\$(KOLABRPMSRC)\" \"x\"
  KOLABRPMSRC = /kolab/RPM/SRC
endif
ifeq \"x\$(KOLABRPMPKG)\" \"x\"
  KOLABRPMPKG = /kolab/RPM/PKG
endif
ifeq \"x\$(KOLABRPMTMP)\" \"x\"
  KOLABRPMTMP = /kolab/RPM/TMP
endif

PACKAGE = \$(shell [ -r \"perl-kolab.spec\" ] && grep '%define[ ]*V_package' perl-kolab.spec | sed -e 's/.*V_package\\s*\\([a-z\\_-]*\\).*/\\1/')
VERSION = \$(shell [ -r \"perl-kolab.spec\" ] && grep '%define[ ]*V_version' perl-kolab.spec | sed -e 's/.*V_version\\s*\\([0-9.]*\\).*/\\1/')
RELEASE = \$(shell date '+%Y%m%d')

clean_all: veryclean
	rm -rf \$(KOLABRPMTMP)/\$(PACKAGE)
	rm -rf \$(PACKAGE)-\$(VERSION)-\$(RELEASE).src.rpm
	rm -rf *.tar.gz
	rm -rf *~

dist_openpkg: perl-kolab.spec \$(PACKAGE)-\$(VERSION)-\$(RELEASE).src.rpm
	cp \$(PACKAGE)-\$(VERSION)-\$(RELEASE).src.rpm ../stage/

\$(PACKAGE)-\$(VERSION)-\$(RELEASE).src.rpm: \$(PACKAGE).spec
	test -d \$(KOLABRPMSRC)/\$(PACKAGE) || mkdir \$(KOLABRPMSRC)/\$(PACKAGE)
	cp \$(PACKAGE).spec \$(KOLABRPMSRC)/\$(PACKAGE)
	cp \$(PACKAGE)-\$(VERSION).tar.gz \$(KOLABRPMSRC)/\$(PACKAGE)
	cd \$(KOLABRPMSRC)/\$(PACKAGE) && \$(RPM) -ba \$(PACKAGE).spec
	cp -p \$(KOLABRPMPKG)/\$(PACKAGE)-\$(VERSION)-\$(RELEASE).src.rpm .

";

    return $add;
}

WriteMakefile(
    NAME              => 'perl-kolab',
    VERSION_FROM      => 'lib/Kolab.pm',
    INSTALLDIRS       => 'vendor',
    ABSTRACT          => 
'perl-kolab provides a basic set of perl modules required for the
Kolab Groupware server.',
    AUTHOR            => 'Stuart Bingë and others (see AUTHORS file)'
    );


Index: .cvsignore
===================================================================
RCS file: /kolabrepository/server/perl-kolab/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- .cvsignore	12 Mar 2007 14:31:33 -0000	1.1
+++ .cvsignore	1 Aug 2007 14:57:41 -0000	1.2
@@ -1,13 +1,5 @@
-COPYING
-INSTALL
+*.tar.gz
 Makefile
-Makefile.in
-aclocal.m4
-autom4te.cache
-config.log
-config.status
-configure
-dist_conf
-install-sh
-missing
-perl-kolab.spec
+blib
+pm_to_blib
+*.src.rpm

Index: AUTHORS
===================================================================
RCS file: /kolabrepository/server/perl-kolab/AUTHORS,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- AUTHORS	17 Dec 2005 21:45:32 -0000	1.1
+++ AUTHORS	1 Aug 2007 14:57:41 -0000	1.2
@@ -1 +1,39 @@
-Marcus Hüwe and Richard Bos autoconfiscated perl-kolab
+Originally written by Stuart Bingë <s.binge at codefusion.co.za>
+
+  Copyright (c) 2003 - 2004  Stuart Bingë
+  Copyright (c) 2003 - 2004  Code Fusion cc
+
+Portions based on work by the following people:
+
+  (c) 2003         Tassilo Erlewein     <tassilo.erlewein at erfrakon.de>
+  (c) 2003         Achim Frank          <achim.frank at erfrakon.de>
+  (c) 2004         Stephan Buys         <s.buys at codefusion.co.za>
+  (c) 2005 - 2006  Richard Bos          <richard at radoeka.nl>
+  (c) 2005 - 2006  Marcus Hüwe          <suse-tux at gmx.de>
+  (c) 2004 - 2006  Steffen Hansen       <steffen at klaralvdalens-datakonsult.se>
+  (c) 2007         Thomas Arendsen Hein <thomas at intevation.de>
+  (c) 2006 - 2007  Gunnar Wrobel        <wrobel at pardus.de>
+  (c) 2003 - 2007  Martin Konold        <martin.konold at erfrakon.de>
+
+
+Portions based on work by the following companies:
+
+  (c) 2003         Code Fusion cc
+  (c) 2004 - 2006  Klaraelvdalens Datakonsult AB
+  (c) 2007         Intevation GmbH
+  (c) 2006 - 2007  p at rdus
+  (c) 2003 - 2007  Erfrakon
+
+
+Contributions by the following people:
+
+
+
+(Established based on the following guidlines:
+
+ People with CVS access and more than two commits are being listed in
+ the first list, their corresponding company in the second list. The
+ order of appearences is sorted by date of last contribution, longest
+ period of contributions and finally based on alphabetical order. The
+ listed contributors comitted less than three patches or do not have
+ CVS access.)
\ No newline at end of file

Index: README
===================================================================
RCS file: /kolabrepository/server/perl-kolab/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- README	31 Mar 2004 15:36:38 -0000	1.1
+++ README	1 Aug 2007 14:57:41 -0000	1.2
@@ -1 +1,24 @@
-Imported versions are all 0.9, with the exception of Kolab-LDAP-Backend-dirservd which was 0.91
+perl-kolab
+==========
+
+perl-kolab provides a basic set of perl modules required for the Kolab
+Groupware server.
+
+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>.

--- ChangeLog DELETED ---

--- Makefile.am DELETED ---

--- Makefile.cvs DELETED ---

--- NEWS DELETED ---

--- bootstrap DELETED ---

--- configure.ac DELETED ---

--- perl-kolab.spec.in DELETED ---





More information about the commits mailing list