Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates-src > by-pkgid > 57637da537140c32e846548d887ac5ce > files > 7

mailman-2.1.33-1.mga7.src.rpm

%define uid     mail
%define gid     mail
%define email_version   2.5.8

Name:       mailman
Version:    2.1.33
Release:    %mkrel 1
Summary:    The GNU Mailing List Management System
Group:      System/Servers
License:    GPLv2+
URL:        http://www.list.org/
Source0:    http://ftp.gnu.org/gnu/mailman/%{name}-%{version}.tgz
Source1:    README.install.urpmi
Source2:    %{name}.service
Patch0:     %{name}-buildroot-check.patch
Patch1:     %{name}-2.1.12-rename-arch.patch
Patch9:     %{name}-2.1.11-change-default-icons-url.patch
Requires:   mail-server
Requires:   apache
# for /bin/crontab:
Requires(post):  cronie
Requires(post):  rpm-helper
Requires(preun): rpm-helper
BuildRequires:  python2
BuildRequires:  pkgconfig(python2)
BuildRequires:  python2-dnspython

%description
Mailman -- The GNU Mailing List Management System --
is a mailing list management system written mostly in
Python. Features:

  o Most standard mailing list features, including:
     moderation, mail based commands, digests, etc...
  o An extensive Web interface, customizable on a per-list basis.
  o Web based list administration interface for *all* admin-type tasks
  o Automatic Web based hypermail-style archives (using pipermail or
    other external archiver), including provisions for private archives
  o Integrated mail list to newsgroup gatewaying
  o Integrated newsgroup to mail list gatewaying (polling-based... if you
     have access to the nntp server, you should be able to easily do
     non-polling based news->mail list gatewaying; email viega@list.org,
     I'd like to help get that going and come up
     with instructions)
  o Smart bounce detection and correction
  o Integrated fast bulk mailing
  o Smart spam protection
  o Extensible logging
  o Multiple list owners and moderators are possible
  o Optional MIME-compliant digests

%prep
%setup -q
%autopatch -p1
mv bin/arch bin/rebuildarch

%build
%serverbuild
# As a normal user, we don't have permissions to do this. %%patch0 changes
# configure so that the directory check will never fail.
autoreconf
./configure \
    --prefix=%{_libdir}/%{name} \
    --with-var-prefix=%{_var}/lib/%{name} \
    --with-mail-gid=%{gid} \
    --with-cgi-gid=apache \
    --with-username=%{uid} \
    --with-groupname=%{gid} \
    --without-permcheck \
    --with-cgi-ext=.cgi \
    --libdir=%{_libdir}

%__make
# fix encoding typo
perl -pi -e 's/gb2132/gb2312/' misc/email-2.5.6/email/Charset.py

%install
%make_install

# apache conf
install -d -m 755 %{buildroot}%{_webappconfdir}
cat > %{buildroot}%{_webappconfdir}/%{name}.conf <<EOF
# Mailman Apache configuration file
Alias /%{name}/icons %{_libdir}/%{name}/icons

<IfModule alias_module>
    ScriptAlias /%{name}       %{_libdir}/%{name}/cgi-bin
</IfModule>

Alias /pipermail     %{_var}/lib/%{name}/archives/public


<Directory %{_libdir}/%{name}/cgi-bin>
    Require all granted
    Options ExecCGI
    DirectoryIndex listinfo.cgi
</Directory>

<Directory %{_libdir}/%{name}/icons>
    Require all granted
</Directory>

<Directory %{_var}/lib/mailman/archives/public>
    Require all granted
    Options FollowSymlinks
</Directory>
EOF

# systemd service
install -d -m 755 %{buildroot}%{_unitdir}
install -m 644 %{SOURCE2} %{buildroot}%{_unitdir}/mailman.service
sed -i "s|/usr/lib|%{_libdir}|g" %{buildroot}%{_unitdir}/mailman.service

# move logs directory into /var/log
install -d -m 755 %{buildroot}%{_var}/log
mv %{buildroot}%{_var}/lib/%{name}/logs %{buildroot}%{_var}/log/%{name}
(cd %{buildroot}%{_var}/lib/%{name} && ln -s ../../log/%{name} logs)

# move config file into /etc
install -d -m 755 %{buildroot}%{_sysconfdir}
mv %{buildroot}%{_libdir}/%{name}/Mailman/mm_cfg.py %{buildroot}%{_sysconfdir}/%{name}
(cd %{buildroot}%{_libdir}/%{name}/Mailman && ln -s ../../../..%{_sysconfdir}/%{name} mm_cfg.py)
rm -f %{buildroot}%{_libdir}/%{name}/Mailman/mm_cfg.py.dist

# fix permissions mess - apache (group owner) must be able to write new lists
chmod -R go=u-ws %{buildroot}%{_libdir}/%{name}
chmod 770 %{buildroot}%{_var}/lib/%{name}/archives/private

# logrotate
install -d m 755 %{buildroot}%{_sysconfdir}/logrotate.d
cat > %{buildroot}%{_sysconfdir}/logrotate.d/%{name} <<EOF
# daily rotated log files
%{_var}/log/mailman/smtp-failure %{_var}/log/mailman/smtp %{_var}/log/mailman/locks %{_var}/log/mailman/fromusenet %{_var}/log/mailman/qrunner {
    daily
    missingok
    rotate 7
    sharedscripts
    postrotate
    [ -f '/var/run/mailman/mailman.pid' ] && %{_libdir}/mailman/bin/mailmanctl -q reopen || exit 0
    endscript
}

# weekly rotated log files
%{_var}/log/mailman/bounce %{_var}/log/mailman/error %{_var}/log/mailman/vette %{_var}/log/mailman/mischief {
    weekly
    missingok
    rotate 4
    sharedscripts
    postrotate
    [ -f '/var/run/mailman/mailman.pid' ] && %{_libdir}/mailman/bin/mailmanctl -q reopen || exit 0
    endscript
}

# monthly rotated log files
%{_var}/log/mailman/digest %{_var}/log/mailman/subscribe %{_var}/log/mailman/post {
    monthly
    missingok
    rotate 12
    sharedscripts
    postrotate
    [ -f '/var/run/mailman/mailman.pid' ] && %{_libdir}/mailman/bin/mailmanctl -q reopen || exit 0
    endscript
}
EOF

# binaries symlinks from /usr/sbin
install -d -m 755 %{buildroot}%{_sbindir}
pushd %{buildroot}%{_sbindir}
for bin in ../..%{_libdir}/%{name}/bin/*; do
    ln -s $bin .
done
popd

install -m644 %{SOURCE1} README.install.urpmi

%pre
if [ $1 = "2" ]; then
  if [ ! -L %{_libdir}/%{name}/Mailman/mm_cfg.py ]; then
    mv %{_libdir}/%{name}/Mailman/mm_cfg.py %{_sysconfdir}/%{name}.tmp
  fi
  if [ ! -L %{_var}/lib/%{name}/logs ]; then
    mv %{_var}/lib/%{name}/logs %{_var}/log/%{name}
  fi
fi

%post
%_post_service %{name}

cd %{_libdir}/%{name}

if [ $1 = 1 ] && [ -z "$DURING_INSTALL" ]; then
    # installation

    # generic tasks
    hostname=`hostname`
    domainname=`dnsdomainname`

    if [ -z "$domainname" ]; then
        domainname=localdomain
        # Add fqdn related items to allow installation to complete without error
        # when a fqdn has not been set. This will also permit the creation of the
        # required mailman site list to complete and the mailman service to then
        # start.
        properfqdn=false
    fi
    fqdn=$hostname.$domainname

    # mailman basic configuration
    cat >>Mailman/mm_cfg.py <<EOF
DEFAULT_EMAIL_HOST = '$domainname'
DEFAULT_URL_HOST = '$hostname'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
#VIRTUAL_HOST_OVERVIEW=Off
EOF

    # make sure mail user is allowed to use cron
    if [ -f %{_sysconfdir}/cron.allow ]; then
        if ! grep -q %{uid} %{_sysconfdir}/cron.allow; then
            echo "%{uid}" >> %{_sysconfdir}/cron.allow
        fi
    fi

    # add cron task
    crontab -u %{uid} %{_libdir}/%{name}/cron/crontab.in

    # add aliases
    %create_ghostfile %{_var}/lib/%{name}/data/aliases %{uid} %{gid} 660
    mta="`readlink /etc/alternatives/sendmail-command 2>/dev/null | cut -d . -f 2`"
    if [ "$mta" == "postfix" ]; then
        cat >>Mailman/mm_cfg.py <<EOF
MTA = 'Postfix'
EOF
        maps=`/usr/sbin/postconf -h alias_maps`
        postconf -e \
            "recipient_delimiter = +" \
            "unknown_local_recipient_reject_code = 550" \
            "alias_maps = $maps, hash:%{_var}/lib/%{name}/data/aliases"
        /usr/sbin/postalias %{_var}/lib/%{name}/data/aliases
    else
        cat >> %{_sysconfdir}/aliases <<EOF
:include:   %{_var}/lib/%{name}/data/aliases
EOF
        /usr/bin/newaliases
    fi

    # generate random password
    passwd=%_get_password 8

    # site password
    %{_sbindir}/mmsitepass $passwd > /dev/null

    if [ ! -f /var/lib/mailman/lists/mailman/config.pck ]; then
        # initial list creation and configuration
        if [ "$properfqdn" = "false" ]; then
            su %{uid} \
                -c "%{_sbindir}/newlist -a mailman@$fqdn root@$fqdn $passwd" > /dev/null
        else
            su %{uid} \
                -c "%{_sbindir}/newlist mailman root@$hostname $passwd" > /dev/null
        fi
        su %{uid} \
            -c "%{_sbindir}/config_list -i /var/lib/mailman/data/sitelist.cfg mailman"
    fi

else
    # upgrade
    if [ -f %{_sysconfdir}/%{name}.tmp ]; then
        mv -f %{_sysconfdir}/%{name}.tmp %{_sysconfdir}/%{name}
    fi
fi

%preun
%_preun_service %{name}

%postun
if [ $1 = 0 ]; then
    # generic tasks

    # remove cron task and the now empty file in cron.d
    crontab -u %{uid} -r
    rm -f /etc/cron.d/mailman

    # remove aliases
    mta="`readlink /etc/alternatives/sendmail-command 2>/dev/null | cut -d . -f 2`"
    if [ "$mta" == "postfix" ]; then
        database=`/usr/sbin/postconf -h alias_database | \
            sed -e 's|, hash:%{_var}/lib/%{name}/data/aliases||'`
        maps=`/usr/sbin/postconf -h alias_maps | \
            sed -e 's|, hash:%{_var}/lib/%{name}/data/aliases||'`
        postconf -e \
            "alias_database = $database" \
            "alias_maps = $maps"
    else
        sed -i -e '/:include:   %{_var}/lib/%{name}/data/aliases/d' \
            %{_sysconfdir}/aliases
    fi
    /usr/bin/newaliases

    # remove other remaining associated files
    rm -fR %{_libdir}/%{name}
    rm -fR %{_var}/log/%{name}
fi

%files
%doc ACKNOWLEDGMENTS BUGS FAQ INSTALL NEWS* README* TODO* UPGRADING
%doc gnu-COPYING-GPL contrib/README.check_perms_grsecurity
%doc doc/*
%doc README.install.urpmi
# constant files
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/cron
%{_libdir}/%{name}/pythonlib
%{_libdir}/%{name}/scripts
%{_libdir}/%{name}/tests
%{_libdir}/%{name}/messages
%{_libdir}/%{name}/templates
%{_libdir}/%{name}/bin
%{_libdir}/%{name}/Mailman
%{_libdir}/%{name}/icons
%dir %{_libdir}/%{name}/mail
%attr(2755,root,%{gid}) %{_libdir}/%{name}/mail/*
%dir %{_libdir}/%{name}/cgi-bin
%attr(2755,root,%{gid}) %{_libdir}/%{name}/cgi-bin/*
# variable files
%attr(-,%{uid},%{gid}) %{_var}/lib/%{name}
%attr(-,%{uid},apache) %{_var}/lib/%{name}/archives/private
%attr(-,%{uid},%{gid}) %{_var}/log/%{name}
# configuration files
%{_unitdir}/%{name}.service
%config(noreplace) %{_webappconfdir}/%{name}.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%config(noreplace) %{_sysconfdir}/%{name}
%{_sbindir}/*


%changelog
* Sun May 10 2020 daviddavid <daviddavid> 2.1.33-1.mga7
+ Revision: 1582523
- new version: 2.1.33, fixes CVE-2020-12108 (mga#26253)
- new version: 2.1.30, fixes new XSS security issue (mga#26253)

* Sun Sep 23 2018 umeabot <umeabot> 2.1.29-2.mga7
+ Revision: 1299439
- Mageia 7 Mass Rebuild

* Thu Aug 09 2018 mrambo3501 <mrambo3501> 2.1.29-1.mga7
+ Revision: 1250687
- version 2.1.29 fixes CVE-2108-13796 (mga#23409)

* Mon Jul 02 2018 mrambo3501 <mrambo3501> 2.1.27-1.mga7
+ Revision: 1241417
- version 2.1.27 fixes CVE-2018-0618 (mga#23256)

* Mon May 07 2018 wally <wally> 2.1.26-2.mga7
+ Revision: 1227496
- drop requires for gnupg and openssl (as s/mime patch was already dropped 5 years ago)

* Tue Feb 13 2018 mrambo3501 <mrambo3501> 2.1.26-1.mga7
+ Revision: 1200791
- version 2.1.26 fixes CVE-2018-5950 mga#22550
- dropped patch6 which no longer applies

* Mon Jul 24 2017 mrambo3501 <mrambo3501> 2.1.24-1.mga7
+ Revision: 1130360
- version 2.1.24

* Wed Jan 25 2017 mrambo3501 <mrambo3501> 2.1.23-2.mga6
+ Revision: 1083439
- fix permissions to allow apache to create a new mail list
- fix buildroot-check.patch to patch the correct file
- fix post installation scriptlet error when a fqdn was not set
- make sure the required admin list is created even without a fqdn
- move user instructions from spec to README.install.urpmi
- make sure straggling installation files are removed upon uninstall

* Fri Sep 16 2016 luigiwalser <luigiwalser> 2.1.23-1.mga6
+ Revision: 1053456
- 2.1.23
- fix license tag
- rediff and regenerate patches
- use spec to rename arch command to rebuildarch

* Tue Feb 09 2016 umeabot <umeabot> 2.1.20-4.mga6
+ Revision: 952708
- Mageia 6 Mass Rebuild

* Mon Feb 01 2016 umeabot <umeabot> 2.1.20-3.mga6
+ Revision: 930503
- Mageia 6 Mass Rebuild

* Sat May 09 2015 spuhler <spuhler> 2.1.20-2.mga5
+ Revision: 821563
- changed Alias /%%{name}  to ScriptAlias /%%{name}
- added comments in the README.mga file
  * This will allow for the cgi-bin scripts to run and provide the WEB interface.

* Tue May 05 2015 spuhler <spuhler> 2.1.20-1.mga5
+ Revision: 821276
- upgrade to version 2.1.20
- removed mailman-2.1.15-CVE-2015-2775.patch
  * it's included in 2.1.20
- removed mailman-2.1.5-build.patch
  * it's done differently in 2.1.20

* Thu Apr 09 2015 luigiwalser <luigiwalser> 2.1.15-8.mga5
+ Revision: 820026
- add patch from debian to fix CVE-2015-2775

* Wed Oct 15 2014 umeabot <umeabot> 2.1.15-7.mga5
+ Revision: 740131
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 2.1.15-6.mga5
+ Revision: 682136
- Mageia 5 Mass Rebuild
+ guillomovitch <guillomovitch>
- do not run %%post during installation (fix #9267)

* Fri Oct 18 2013 umeabot <umeabot> 2.1.15-4.mga4
+ Revision: 507710
- Mageia 4 Mass Rebuild
+ tv <tv>
- requires(post) cronie for /bin/crontab

* Sat Jan 12 2013 umeabot <umeabot> 2.1.15-3.mga3
+ Revision: 359315
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Dec 23 2012 remmy <remmy> 2.1.15-2.mga3
+ Revision: 334261
- The systemd unit file as shipped would not work for several reasons:
- mailman-update-cfg was called which is not shipped by us;
- ownership of logfiles was set to mailman instead of mail;
- on x86_64 it referred to /usr/lib instead of /usr/lib64
  This should close mga#8067

* Sat Sep 08 2012 guillomovitch <guillomovitch> 2.1.15-1.mga3
+ Revision: 290472
- new version
- drop s/mime patch, too much invasive
- drop sysinit support

* Tue May 08 2012 pterjan <pterjan> 2.1.13-9.mga2
+ Revision: 234919
- Fix initscript's LSB header

* Sat Apr 28 2012 tmb <tmb> 2.1.13-8.mga2
+ Revision: 233774
- Require rpm-helper >= 0.24.8-1 for systemd support

* Tue Mar 13 2012 guillomovitch <guillomovitch> 2.1.13-7.mga2
+ Revision: 223243
- systemd support

* Sun Mar 06 2011 ennael <ennael> 2.1.13-6.mga1
+ Revision: 65702
- clean spec file
- imported package mailman


* Wed Feb 23 2011 Oden Eriksson <oeriksson@mandriva.com> 2.1.13-6mdv2011.0
+ Revision: 639474
- sync with MDVSA-2011:036

* Sat Nov 06 2010 Funda Wang <fwang@mandriva.org> 2.1.13-5mdv2011.0
+ Revision: 593902
- rebuild for py2.7

* Sun Oct 03 2010 Oden Eriksson <oeriksson@mandriva.com> 2.1.13-4mdv2011.0
+ Revision: 582668
- roll back to the mailman-2.1.13-pgp-smime_2010-03-01.patch patch (#61180)
- fix one post error

* Fri Oct 01 2010 Oden Eriksson <oeriksson@mandriva.com> 2.1.13-3mdv2011.0
+ Revision: 582319
- sync with MDVSA-2010:191
- mailman-2.1.13-pgp-smime_2010-09-08

  + Guillaume Rousse <guillomovitch@mandriva.org>
    - fix log rotation (fix #59198)
    - drop smrsh support, let expert sendmails users manage it themselves

* Tue Mar 02 2010 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.13-1mdv2010.1
+ Revision: 513659
- keep group write permission on variable files, as cgi runs under apache uid and mail gid
- switch to 'open to all' default access policy
- use explicit .cgi extension, for a simpler apache configuration
- new version
- fix apache configuration file
- fix post/pre dependencies
- rely on filetrigger for reloading apache configuration begining with 2010.1, rpm-helper macros otherwise
- new version

* Mon Dec 21 2009 Oden Eriksson <oeriksson@mandriva.com> 2.1.12-6mdv2010.1
+ Revision: 480539
- bump release
- fixed a weird typo...

* Mon Dec 21 2009 Oden Eriksson <oeriksson@mandriva.com> 2.1.12-5mdv2010.1
+ Revision: 480537
- added pgp and s/mime support

* Fri Dec 04 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.12-4mdv2010.1
+ Revision: 473514
- better default apache configuration

* Sun Jul 19 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.12-3mdv2010.0
+ Revision: 397967
- keep cgi and icons under %%{_libdir}/%%{name}

* Thu Jul 16 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.12-2mdv2010.0
+ Revision: 396507
- ship more documentation
- files perms/owernship cleanup:
 - no setgid bit for constant dirs
 - no setgid bit for variables dirs, make them owned by mailman user
 - make private archive directory private (#51117)

* Sun Mar 29 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.12-1mdv2009.1
+ Revision: 362171
- new version, needed for python 2.6 compatibility (#49148)
- fix config file creation during post-installation
- rediff arch renaming patch

* Tue Feb 03 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.11-3mdv2009.1
+ Revision: 337131
- keep bash completion in its own package

* Thu Dec 25 2008 Funda Wang <fwang@mandriva.org> 2.1.11-2mdv2009.1
+ Revision: 318987
- rebuild for new python

* Sun Jul 06 2008 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.11-1mdv2009.0
+ Revision: 232165
- new version
- drop charset patch, a substitution is easier
- drop CVE 2008-0564 patch, merged upstream
- sync init script with sympa one
- install all web stuff under /var/www/mailman

* Tue Jun 17 2008 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.9-7mdv2009.0
+ Revision: 223586
- let's reintroduce virtualhost directive, with domain name as EMAIL_HOST now
  (even if incorrect, it will still be better than build-time default values set
  by configuration process)
- use MTA-specific alias file hashing procedure, as postfix alias_base isn't used anymore
- update postfix autoconfiguration with mailman documentation
- update postfix autoconfiguration to match current mailman documentation

* Tue Jun 17 2008 Thierry Vignaud <tv@mandriva.org> 2.1.9-6mdv2009.0
+ Revision: 223142
- rebuild

  + Guillaume Rousse <guillomovitch@mandriva.org>
    - apply defaul template to the mailman list
    - more detailed explanations about the notification message
    - various changes for post-installation:
    - don't add virtualhost directive to mailman configuration
    - don't add mailman alias file in postfix alias_database configuration
      Update README.mdv with a more explicit description of post-configuration
      process

  + Pixel <pixel@mandriva.com>
    - adapt to %%_localstatedir now being /var instead of /var/lib (#22312)

* Fri Mar 07 2008 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.9-4mdv2008.1
+ Revision: 181393
- fix CVE-2008-0564

* Wed Feb 27 2008 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.9-3mdv2008.1
+ Revision: 175940
- rename arch executable to avoid confusion with coreutils arch binary (fix #38056)
- fix mailman linking from secure sendmail directory
- don't install README.mdv in %%_sbindir

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Mon Dec 17 2007 Thierry Vignaud <tv@mandriva.org> 2mdv2008.1-current
+ Revision: 129622
- kill re-definition of %%buildroot on Pixel's request
- s/Mandrake/Mandriva/


* Wed Mar 07 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.9-2mdv2007.1
+ Revision: 134606
- use rpm-helper helper script for generating password
- import alias management procedure from sympa, so as to handle other MTAs as postfix
- use database directive also for postfix, to make newaliase command work
- don't set defaut language in configuration, as it breaks some settings without actual added value (fix #26834)

* Wed Dec 06 2006 Michael Scherer <misc@mandriva.org> 2.1.9-2mdv2007.1
+ Revision: 91527
- bump release ( forget to commit it )
- use --without-permcheck to allow package to build in iurt
- Import mailman

* Thu Sep 14 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.9-1mdv2007.0
- 2.1.9 final

* Wed Sep 13 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.9-0.rc1.2mdv2007.0
- drop cve-2005-3573 patch, 2.1.9 is not affected

* Sun Sep 10 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.9-0.rc1.1mdv2007.0
- new version, motivated by security fixes
- new webapp macro
- herein document for README.mdv
- unzip all patches
- new custom LSB-compliant initscript
- drop grsecurity patch and specific handling, we don't have secure kernel
  anymore
- don't attempt to create mailman list in %%post if a previous installation
  is found
- make listinfo default index page for web interface

* Wed Aug 23 2006 Olivier Thauvin <nanardon@mandriva.org> 2.1.8-2mdv2007.0
- fix initscript: restart didn't do a real start, mailmanctl sound like
  reload

* Fri May 05 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.8-1mdk
- New release 2.1.8
- rediff patch 9
- drop patch 11, merged upstream

* Thu Jan 19 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.7-1mdk
- New release 2.1.7
- rediff patch11
- pitiful workaround for missing files (#17820)

* Mon Dec 05 2005 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.6-8mdk
- security update for CVE-2005-3573 (P10), date-overflows (P11) (Stew Benedict <sbenedict@mandrakesoft.com>)

* Fri Nov 18 2005 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.6-7mdk
- requires python (fix #19830)

* Wed Sep 07 2005 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.6-6mdk
- revert to using symlinks for binaries, qrunner expect to find them in original location (fix #17983)
- requires rpm-helper for preinstall and preuninstall

* Thu Aug 25 2005 Michael Scherer <misc@mandriva.org> 2.1.6-5mdk
- rebuild to fix #17820

* Wed Aug 17 2005 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.6-4mdk
- fix postinstall script

* Sun Aug 07 2005 Michael Scherer <misc@mandriva.org> 2.1.6-3mdk
- fix postinstall script

* Thu Jul 14 2005 Guillaume Rousse <guillomovitch@mandriva.org> 2.1.6-2mdk 
- new mail-server requires
- new apache rpm macros
- move binaries to /usr/sbin instead of symlinking them
- use %%serverbuild

* Thu Jun 23 2005 Oden Eriksson <oeriksson@mandriva.com> 2.1.6-1mdk
- 2.1.6
- added fixes for new apache
- use the %%mkrel macro
- rediffed P9
- drop the CAN-2004-1177 CAN-2005-0202 patches, it's implemented upstream
- don't nuke *.pyc files

* Wed Mar 02 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.1.5-15mdk
- fix #13651, MDKSA-2005:037 (CAN-2005-0202) (P101)
- nuke *.pyc files

* Fri Feb 18 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.1.5-14mdk
- spec file cleanups, remove the ADVX-build stuff
- strip away annoying ^M

* Thu Jan 27 2005 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.5-13mdk 
- condtional build options documented in package description
- spec cleanup

* Tue Jan 25 2005 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.5-12mdk 
- security update for CAN-2004-1177 (Stew Benedict <sbenedict@mandrakesoft.com>)

* Sat Jan 22 2005 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.5-11mdk 
- add binaries symlinks in /usr/sbin
- only change /etc/cron.allow if it already exists
- don't shipt duplicated icons
- herein document instead of external source whenever possible
- apache configuration file in /etc/httpd/webapps.d
- no more order for apache configuration
- spec cleanup
- don't change test scripts
- more complete README.mdk

* Tue Dec 07 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.5-10mdk 
- charset patch (David Relson <relson@osagesoftware.com>)

* Sat Dec 04 2004 Michael Scherer <misc@mandrake.org> 2.1.5-9mdk
- Rebuild for new python

* Mon Nov 15 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.5-8mdk 
- create and hash alias file at the same time as modificating postfix config, so as to prevent postfix crash at startup in full installation scenario (#10180)
- make smtpdaemon a prereq, as it is needed at post-installation
- silent post-installation
- no more python prereq
- spec cleanup

* Fri Sep 03 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.5-7mdk 
- dont specify perms and owner in logrotate configuration (David Relson <relson@osagesoftware.com>)

* Mon Aug 30 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.5-6mdk 
- use macros to make easier rebuilding with different uid & gid (David Relson <relson@osagesoftware.com>)

* Mon Aug 30 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.5-5mdk 
- fixed missing file in logrotate config

* Sun Jul 25 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.5-4mdk 
- patch build to avoid having buildroot in binaries, no more post-install compilation needed

* Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.5-3mdk 
- explicit libdir

* Fri Jul 02 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.5-2mdk 
- make sure mail user is allowed to use cron
- finer logrotate configuration (stolen from Debian)

* Wed Jun 02 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.5-1mdk
- new version

* Thu Apr 08 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.4-4mdk
- automatic setup at installation

* Thu Apr 01 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.1.4-3mdk
- added bash-completion