Hello community, here is the log from the commit of package courier-authlib for openSUSE:Factory checked in at Mon Aug 24 23:13:28 CEST 2009. -------- --- courier-authlib/courier-authlib.changes 2008-09-08 13:57:30.000000000 +0200 +++ courier-authlib/courier-authlib.changes 2009-08-20 15:16:18.000000000 +0200 @@ -1,0 +2,48 @@ +Thu Aug 20 10:38:07 CEST 2009 - chris@computersalat.de + +- cleanup spec file + o fixed header + o removed all #---- lines + o fixed devel Group + o added configure macro +- rpmlint + o added rpmlintrc + o subpackages libauth[name] back to subpackage-[name] + rpmlint warning can be ignored for libauth[names] + o fixed non-conffile-in-etc + +------------------------------------------------------------------- +Mon Apr 13 23:22:21 2009 - chris@computersalat.de - 0.62.2 + +- update to new version 0.62.2 + o Makefile.am: Compatibility fix for bash 4 +- 0.62.1 + o cryptpassword.c: Fix compiler warnings + o checkpasswordsha1.c: Fix compiler warnings. + o authldaplib.c (auth_ldap_enumerate): Fix typo. +- 0.62.0 + o authpgsqllib.c: Use PQescapeStringConn() instead of removing all + apostrophes from query parameters. This fixes a potential SQL injection + vulnerability if the Postgres database uses a non-Latin locale. +- 0.61.1 + o authsasllogin.c (authsasl_login): Fix memory leak. + o authldaplib.c (read_env): Fix resource leak. authldap did not close + the authldaprc configuration file after reading it on startup. + o authldaplib.c (auth_ldap_do2): Fix used ptr after free(). When an + email map feature is enabled, and the map failed, the resulting + error message was formed from a buffer that was recently free()ed. + o authpipe.c (auth_pipe): Fix memory leak. If the fork() system call + failed (unlikely), a buffer wasn't getting released. + +------------------------------------------------------------------- +Sat Nov 15 16:12:11 2008 - chris@computersalat.de - 0.61.0 + +- rpmlint + o set devel Group + o removed dot 'Summary ended with dot' + o renamed subpackages[names] to libauth[names] + o replaced macro run_ldconfig with /sbin/ldconfig + o modified post: insserv authdaemon + activate syslog if not running (build error) + +------------------------------------------------------------------- @@ -25,0 +74,13 @@ +Sat Aug 16 14:23:44 2008 - chris@computersalat.de - 0.61.0 + +- update to new version 0.61.0 +- beautify spec file ;) +- fixed BuildRequires for suseversion >= 103 + o gdbm-devel + o procps +- some rpmlint fixes + o added PreReq coreutils + o removed obsolete X-UnitedLinux from init script + fixed service-names + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- courier-authlib-0.61.0.tar.bz2 New: ---- courier-authlib-0.62.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ courier-authlib.spec ++++++ --- /var/tmp/diff_new_pack.brjJQG/_old 2009-08-24 22:36:11.000000000 +0200 +++ /var/tmp/diff_new_pack.brjJQG/_new 2009-08-24 22:36:11.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package courier-authlib (Version 0.61.0) +# spec file for package courier-authlib (Version 0.62.2) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,13 +15,11 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: courier-authlib -BuildRequires: expect gcc-c++ gdbm-devel mysql-devel openldap2-devel pam-devel postgresql-devel procps -Summary: Courier Authentication Library -Version: 0.61.0 +Summary: Courier authentication library +Version: 0.62.2 Release: 1 License: GPL v2 or later Group: Productivity/Networking/Email/Servers @@ -30,20 +28,23 @@ Source1: courier-authdaemon.init Source2: rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build -PreReq: /bin/rm -%define authdaemondir %{_localstatedir}/run/authdaemon.courier-imap +PreReq: coreutils +BuildRequires: expect gcc-c++ gdbm-devel +BuildRequires: mysql-devel +BuildRequires: openldap2-devel pam-devel postgresql-devel +BuildRequires: procps +Requires: expect %description The Courier authentication library provides authentication services for other Courier applications. - %package devel -License: GPL v2 or later Summary: Development libraries for the Courier authentication library +License: GPL v2 or later Group: Development/Libraries/Other -Requires: courier-authlib = %{version} +Requires: %{name} = %{version} %description devel This package contains the development libraries and files needed to @@ -53,127 +54,107 @@ this package are not needed at runtime. - %package userdb -License: GPL v2 or later Summary: Userdb support for the Courier authentication library +License: GPL v2 or later Group: Productivity/Networking/Email/Servers -Requires: courier-authlib = %{version} %description userdb This package installs the userdb support for the Courier authentication library. Userdb is a simple way to manage virtual mail accounts using a GDBM-based database file. - - %package ldap -License: GPL v2 or later Summary: LDAP support for the Courier authentication library +License: GPL v2 or later Group: Productivity/Networking/Email/Servers -Requires: courier-authlib = %{version} %description ldap This package installs LDAP support for the Courier authentication library. Install this package in order to be able to authenticate using LDAP. - - %package mysql -License: GPL v2 or later Summary: MySQL support for the Courier authentication library +License: GPL v2 or later Group: Productivity/Networking/Email/Servers -Requires: courier-authlib = %{version} %description mysql This package installs MySQL support for the Courier authentication library. Install this package in order to be able to authenticate using MySQL. - - %package pgsql -License: GPL v2 or later Summary: PostgreSQL support for the Courier authentication library +License: GPL v2 or later Group: Productivity/Networking/Email/Servers -Requires: courier-authlib = %{version} %description pgsql This package installs PostgreSQL support for the Courier authentication library. Install this package in order to be able to authenticate using PostgreSQL. - - %package pipe -License: GPL v2 or later Summary: Pipe support for the Courier authentication library +License: GPL v2 or later Group: Productivity/Networking/Email/Servers -Requires: courier-authlib = %{version} %description pipe This package installs Pipe support for the Courier authentication library. Install this package in order to be able to authenticate using Pipe. - - %prep %setup -q %build export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED=1" -./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} \ +%configure \ + --libexecdir=%{_prefix}/lib \ --datadir=%{_datadir}/courier-imap \ - --libdir=%{_libdir} --libexecdir=%{_prefix}/lib \ - --localstatedir=%{_localstatedir} \ - --sharedstatedir=%{_sharedstatedir}/courier-authlib \ - --mandir=%{_mandir} --infodir=%{_infodir} --with-piddir=/var/run \ + --sharedstatedir=%{_sharedstatedir}/%{name} \ + --with-piddir=/var/run \ --disable-root-check \ --enable-unicode \ - --with-authdaemonvar=%{authdaemondir} \ + --with-authdaemonvar=%{_localstatedir}/run/authdaemon.courier-imap \ --host=%{_host} --build=%{_build} --target=%{_target_platform} -# --with-mysql-libs=/usr/lib/mysql/ --with-mysql-includes=/usr/lib/mysql/ -%{__make} +%{__make} %{?jobs:-j%jobs} %install -make install DESTDIR=$RPM_BUILD_ROOT -mv $RPM_BUILD_ROOT%{_libdir}/courier-authlib/lib*.so* $RPM_BUILD_ROOT%{_libdir} -%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/courier-authlib/*.{a,la} -%{__install} -m 755 sysconftool $RPM_BUILD_ROOT%{_prefix}/lib/courier-authlib -%{__install} -m 755 authmigrate $RPM_BUILD_ROOT%{_prefix}/lib/courier-authlib +%{__make} install DESTDIR=$RPM_BUILD_ROOT +mv $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*.so* $RPM_BUILD_ROOT%{_libdir} +%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la} +%{__install} -m 755 sysconftool $RPM_BUILD_ROOT%{_prefix}/lib/%{name} +%{__install} -m 755 authmigrate $RPM_BUILD_ROOT%{_prefix}/lib/%{name} %{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/init.d -%{__mkdir_p} $RPM_BUILD_ROOT%{_sbindir} %{__install} -m 755 %{S:1} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/courier-authdaemon -ln -sf /etc/init.d/courier-authdaemon $RPM_BUILD_ROOT%{_sbindir}/rccourier-authdaemon - -%post -/sbin/ldconfig -%{_prefix}/lib/courier-authlib/authmigrate >/dev/null -%{_prefix}/lib/courier-authlib/sysconftool %{_sysconfdir}/authlib/*.dist >/dev/null +%{__ln_s} -f ../../%{_sysconfdir}/init.d/courier-authdaemon \ + $RPM_BUILD_ROOT%{_sbindir}/rccourier-authdaemon %preun %stop_on_removal courier-authdaemon if [ "$1" = "0" ]; then - rm -f /var/run/authdaemon.courier-imap/{socket,pid,pid.lock} + %{__rm} -f /var/run/authdaemon.courier-imap/{socket,pid,pid.lock} fi -exit 0 + +%post +/sbin/ldconfig +%{_prefix}/lib/%{name}/authmigrate >/dev/null +%{_prefix}/lib/%{name}/sysconftool %{_sysconfdir}/authlib/*.dist >/dev/null %postun /sbin/ldconfig %restart_on_update courier-authdaemon %insserv_cleanup -exit 0 - -%post ldap -p /sbin/ldconfig - -%postun ldap -p /sbin/ldconfig %post userdb -p /sbin/ldconfig %postun userdb -p /sbin/ldconfig +%post ldap -p /sbin/ldconfig + +%postun ldap -p /sbin/ldconfig + %post mysql -p /sbin/ldconfig %postun mysql -p /sbin/ldconfig @@ -187,12 +168,12 @@ %postun pipe -p /sbin/ldconfig %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README README*html -%doc NEWS COPYING* AUTHORS ChangeLog +%doc NEWS COPYING* AUTHORS ChangeLog authldap.schema %{_sysconfdir}/init.d/courier-authdaemon %dir %{_sysconfdir}/authlib %config %{_sysconfdir}/authlib/* @@ -203,12 +184,12 @@ %{_sbindir}/authtest %{_sbindir}/courierlogger %{_sbindir}/rccourier-authdaemon -%dir /usr/lib/courier-authlib -/usr/lib/courier-authlib/authmigrate -/usr/lib/courier-authlib/sysconftool -/usr/lib/courier-authlib/authdaemond -/usr/lib/courier-authlib/authsystem.passwd -/usr/lib/courier-authlib/makedatprog +%dir /usr/lib/%{name} +/usr/lib/%{name}/authmigrate +/usr/lib/%{name}/sysconftool +/usr/lib/%{name}/authdaemond +/usr/lib/%{name}/authsystem.passwd +/usr/lib/%{name}/makedatprog %{_libdir}/libauthcustom.so %{_libdir}/libauthcustom.so.0* %{_libdir}/libauthpam.so @@ -223,6 +204,13 @@ %{_libdir}/libcourierauthsaslclient.so.0* %{_mandir}/man1/* +%files devel +%defattr(-,root,root,-) +%doc authlib.html auth_*.html +%{_bindir}/courierauthconfig +%{_includedir}/* +%{_mandir}/man3/* + %files userdb %defattr(-,root,root,-) %{_sbindir}/makeuserdb @@ -234,19 +222,10 @@ %{_libdir}/libauthuserdb.so.0* %{_mandir}/man8/*userdb* -%files devel -%defattr(-,root,root,-) -%{_bindir}/courierauthconfig -%{_includedir}/* -%{_mandir}/man3/* -%doc authlib.html auth_*.html - %files ldap %defattr(-,root,root,-) -%doc authldap.schema -%doc README.ldap +%doc README.ldap authldap.schema %{_libdir}/libauthldap.so* -%doc authldap.schema %files mysql %defattr(-,root,root,-) ++++++ courier-authdaemon.init ++++++ --- /var/tmp/diff_new_pack.brjJQG/_old 2009-08-24 22:36:11.000000000 +0200 +++ /var/tmp/diff_new_pack.brjJQG/_new 2009-08-24 22:36:11.000000000 +0200 @@ -9,8 +9,9 @@ ### BEGIN INIT INFO # Provides: courier-authdaemon # Required-Start: $syslog $remote_fs +# Should-Start: # Required-Stop: $syslog $remote_fs -# Should-Stop: courier-imap courier-pop3 +# Should-Stop: courier-imap courier-imap-ssl courier-pop courier-pop-ssl # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: Courier-IMAP Authentication server @@ -34,34 +35,48 @@ start) echo -n "Starting Courier Authentication Daemon " /usr/sbin/courierlogger -pid=/var/run/authdaemon.courier-imap/pid $LOGGEROPTS -start /usr/lib/courier-authlib/authdaemond + + # remeber status and be verbose rc_status -v ;; stop) echo -n "Shutting down Courier Authentication Daemon " /usr/sbin/courierlogger -pid=/var/run/authdaemon.courier-imap/pid $LOGGEROPTS -stop /usr/lib/courier-authlib/authdaemond + + # remeber status and be verbose rc_status -v ;; try-restart) $0 status >/dev/null && $0 restart + + # remeber status rc_status ;; restart) $0 stop $0 start + + # remeber status rc_status ;; force-reload) $0 stop && $0 start + + # remeber status rc_status ;; reload) echo -n "Reload Courier Authentication Daemon " rc_failed 3 + + # remeber status and be verbose rc_status -v ;; status) echo -n "Checking for Courier Authentication Daemon " checkproc /usr/lib/courier-authlib/authdaemond + + # remeber status and be verbose rc_status -v ;; probe) ++++++ courier-authlib-0.61.0.tar.bz2 -> courier-authlib-0.62.2.tar.bz2 ++++++ ++++ 15896 lines of diff (skipped) ++++++ rpmlintrc ++++++ --- /var/tmp/diff_new_pack.brjJQG/_old 2009-08-24 22:36:16.000000000 +0200 +++ /var/tmp/diff_new_pack.brjJQG/_new 2009-08-24 22:36:16.000000000 +0200 @@ -1 +1 @@ -addFilter("shlib-policy-name-error .*") +addFilter("shlib-policy-name-error") ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org