|
|
e7a395 |
# Turn off the brp-python-bytecompile script
|
|
|
e7a395 |
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
|
|
e7a395 |
|
|
|
e7a395 |
Summary: Mailing list manager with built in Web access
|
|
|
e7a395 |
Name: mailman
|
|
|
e7a395 |
Version: 2.1.15
|
|
|
5e5744 |
Release: 30%{?dist}
|
|
|
e7a395 |
Epoch: 3
|
|
|
e7a395 |
Group: Applications/Internet
|
|
|
e7a395 |
Source0: ftp://ftp.gnu.org/pub/gnu/mailman/mailman-%{version}.tgz
|
|
|
e7a395 |
#Source0: http://prdownloads.sourceforge.net/mailman/mailman-%{version}.tgz
|
|
|
e7a395 |
Source1: mm_cfg.py
|
|
|
e7a395 |
Source3: httpd-mailman.conf
|
|
|
e7a395 |
Source4: mailman.logrotate
|
|
|
e7a395 |
Source5: mailman.INSTALL.REDHAT.in
|
|
|
e7a395 |
Source6: mailman-crontab-edit
|
|
|
e7a395 |
Source7: mailman-migrate-fhs
|
|
|
e7a395 |
Source8: mailman-update-cfg
|
|
|
e7a395 |
Source9: mailman-tmpfiles.conf
|
|
|
e7a395 |
Source10: mailman.service
|
|
|
e7a395 |
|
|
|
e7a395 |
Patch1: mailman-2.1.12-multimail.patch
|
|
|
e7a395 |
Patch2: mailman-2.1-build.patch
|
|
|
e7a395 |
Patch3: mailman-2.1-mailmanctl-status.patch
|
|
|
e7a395 |
Patch4: mailman-2.1.11-cron.patch
|
|
|
e7a395 |
Patch5: mailman-2.1.13-FHS.patch
|
|
|
e7a395 |
Patch6: mailman-python-compile.patch
|
|
|
e7a395 |
Patch7: mailman-2.1.13-archive-reply.patch
|
|
|
e7a395 |
Patch8: mailman-2.1.9-LC_CTYPE.patch
|
|
|
e7a395 |
Patch9: mailman-2.1.9-ctypo-new.patch
|
|
|
e7a395 |
Patch10: mailman-2.1.10-ctypefix.patch
|
|
|
e7a395 |
#Patch11: mailman-2.1.9-header-folding.patch
|
|
|
e7a395 |
Patch12: mailman-2.1.9-selinux.patch
|
|
|
e7a395 |
Patch13: mailman-2.1.9-unicode.patch
|
|
|
e7a395 |
Patch14: mailman-2.1.11-fhsinit.patch
|
|
|
e7a395 |
#Patch15: mailman-2.1.11-footer.patch
|
|
|
e7a395 |
Patch17: mailman-2.1.12-mmcfg.patch
|
|
|
e7a395 |
Patch18: mailman-2.1.12-initcleanup.patch
|
|
|
e7a395 |
# the service is now off by default
|
|
|
e7a395 |
Patch20: mailman-2.1.12-init-not-on.patch
|
|
|
e7a395 |
Patch22: mailman-2.1.15-check_perms.patch
|
|
|
ab2ccd |
Patch23: mailman-2.1.12-dmarc.patch
|
|
|
ab2ccd |
Patch24: mailman-2.1.15-CVE-2015-2775.patch
|
|
|
414aa7 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1351939
|
|
|
414aa7 |
Patch25: mailman-2.1.15-rh1351939.patch
|
|
|
414aa7 |
Patch26: mailman-2.1.12-newlist-ja.patch
|
|
|
9e479e |
Patch27: mailman-2_1-xss_vulnerability.patch
|
|
|
5e5744 |
Patch28: mailman-findmember_decode.patch
|
|
|
5e5744 |
Patch29: mailman-long_text_description.patch
|
|
|
5e5744 |
Patch30: mailman-cve_2018_0618.patch
|
|
|
9e479e |
|
|
|
e7a395 |
|
|
|
e7a395 |
License: GPLv2+
|
|
|
e7a395 |
URL: http://www.list.org/
|
|
|
e7a395 |
Requires(pre): shadow-utils, /sbin/chkconfig, /sbin/service
|
|
|
e7a395 |
Requires: cronie, httpd, python, coreutils
|
|
|
ab2ccd |
Requires: python-dns
|
|
|
e7a395 |
Requires(post): systemd
|
|
|
e7a395 |
Requires(post): systemd-sysv
|
|
|
e7a395 |
Requires(preun): systemd
|
|
|
e7a395 |
Requires(postun): systemd
|
|
|
e7a395 |
BuildRequires: automake
|
|
|
e7a395 |
BuildRequires: python-devel
|
|
|
e7a395 |
BuildRequires: systemd-units
|
|
|
e7a395 |
|
|
|
e7a395 |
%global contentdir /usr/share/httpd
|
|
|
e7a395 |
|
|
|
e7a395 |
# Installation directories
|
|
|
e7a395 |
# rpmlint will give an error about hardcoded library path,
|
|
|
e7a395 |
# but this is necessary, because there are python executables inside,
|
|
|
e7a395 |
# which the user can run in their scripts.
|
|
|
e7a395 |
# see rhbz#226117 for more information
|
|
|
e7a395 |
%global mmdir /usr/lib/%{name}
|
|
|
e7a395 |
%global varmmdir /var/lib/%{name}
|
|
|
e7a395 |
%global docdir /usr/share/doc/%{name}-%{version}
|
|
|
e7a395 |
%global configdir /etc/%{name}
|
|
|
e7a395 |
%global datadir %{varmmdir}/data
|
|
|
e7a395 |
%global archivesdir %{varmmdir}/archives
|
|
|
e7a395 |
%global lockdir /var/lock/%{name}
|
|
|
e7a395 |
%global logdir /var/log/%{name}
|
|
|
e7a395 |
%global piddir /var/run/%{name}
|
|
|
e7a395 |
%global queuedir /var/spool/%{name}
|
|
|
e7a395 |
%global templatedir %{configdir}/templates
|
|
|
e7a395 |
%global httpdconfdir /etc/httpd/conf.d
|
|
|
e7a395 |
%global restart_flag /var/run/%{name}-restart-after-rpm-install
|
|
|
e7a395 |
%global mmbuilddir %{_builddir}/%{name}-%{version}
|
|
|
e7a395 |
|
|
|
e7a395 |
%global httpdconffile %{name}.conf
|
|
|
e7a395 |
# Now, the user and group the CGIs will expect to be run under. This should
|
|
|
e7a395 |
# match the user and group the web server is configured to run as. The scripts
|
|
|
e7a395 |
# will error out if they are invoked by any other user.
|
|
|
e7a395 |
%global cgiuser apache
|
|
|
e7a395 |
%global cgigroup apache
|
|
|
e7a395 |
|
|
|
e7a395 |
# Now, the user and group the scripts will actually execute as.
|
|
|
e7a395 |
%global mmuser mailman
|
|
|
e7a395 |
%global mmuserid 41
|
|
|
e7a395 |
%global mmgroup mailman
|
|
|
e7a395 |
%global mmgroupid 41
|
|
|
e7a395 |
|
|
|
e7a395 |
# Directory/File modes & permissions
|
|
|
e7a395 |
%global dirmode 2775
|
|
|
e7a395 |
%global exemode 2755
|
|
|
e7a395 |
|
|
|
e7a395 |
# Now, the groups your mail spoolers run as. Sendmail uses 'mail'(12)
|
|
|
e7a395 |
# and postfix used to use 'nobody', but now uses 'postfix'
|
|
|
e7a395 |
%global mailgroup "mail postfix mailman nobody daemon"
|
|
|
e7a395 |
|
|
|
e7a395 |
# The mail wrapper program
|
|
|
e7a395 |
%global mail_wrapper mailman
|
|
|
e7a395 |
|
|
|
e7a395 |
%description
|
|
|
e7a395 |
Mailman is software to help manage email discussion lists, much like
|
|
|
e7a395 |
Majordomo and Smartmail. Unlike most similar products, Mailman gives
|
|
|
e7a395 |
each mailing list a webpage, and allows users to subscribe,
|
|
|
e7a395 |
unsubscribe, etc. over the Web. Even the list manager can administer
|
|
|
e7a395 |
his or her list entirely from the Web. Mailman also integrates most
|
|
|
e7a395 |
things people want to do with mailing lists, including archiving, mail
|
|
|
e7a395 |
<-> news gateways, and so on.
|
|
|
e7a395 |
|
|
|
e7a395 |
Documentation can be found in: %{docdir}
|
|
|
e7a395 |
|
|
|
e7a395 |
When the package has finished installing, you will need to perform some
|
|
|
e7a395 |
additional installation steps, these are described in:
|
|
|
e7a395 |
%{docdir}/INSTALL.REDHAT
|
|
|
e7a395 |
|
|
|
e7a395 |
%prep
|
|
|
5e5744 |
%autosetup -p1
|
|
|
414aa7 |
|
|
|
414aa7 |
# Change `#!/usr/bin/env python` shebang to `#!/usr/bin/python`
|
|
|
414aa7 |
sed -i '1s|^#! */usr/bin/env python$|#!/usr/bin/python|' `find -iname '*.py'`
|
|
|
e7a395 |
|
|
|
e7a395 |
#cp $RPM_SOURCE_DIR/mailman.INSTALL.REDHAT.in INSTALL.REDHAT.in
|
|
|
e7a395 |
cp %{SOURCE5} INSTALL.REDHAT.in
|
|
|
e7a395 |
|
|
|
e7a395 |
%build
|
|
|
e7a395 |
|
|
|
e7a395 |
CFLAGS="$RPM_OPT_FLAGS -fPIE -DPIE"; export CFLAGS
|
|
|
e7a395 |
# Full relro
|
|
|
e7a395 |
export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
|
|
|
e7a395 |
|
|
|
e7a395 |
rm -f configure
|
|
|
e7a395 |
aclocal
|
|
|
e7a395 |
autoconf
|
|
|
e7a395 |
# rpmlint will give an error about hardcoded library path,
|
|
|
e7a395 |
# but this is necessary, because there are python executables inside,
|
|
|
e7a395 |
# which the user can run in their scripts.
|
|
|
e7a395 |
# see rhbz#226117 for more information
|
|
|
e7a395 |
./configure \
|
|
|
e7a395 |
--libdir=/usr/lib \
|
|
|
e7a395 |
--prefix=%{mmdir} \
|
|
|
e7a395 |
--with-var-prefix=%{varmmdir} \
|
|
|
e7a395 |
--with-config-dir=%{configdir} \
|
|
|
e7a395 |
--with-lock-dir=%{lockdir} \
|
|
|
e7a395 |
--with-log-dir=%{logdir} \
|
|
|
e7a395 |
--with-pid-dir=%{piddir} \
|
|
|
e7a395 |
--with-queue-dir=%{queuedir} \
|
|
|
e7a395 |
--with-template-dir=%{templatedir} \
|
|
|
e7a395 |
--with-python=%{__python} \
|
|
|
e7a395 |
--with-mail-gid=%{mailgroup} \
|
|
|
e7a395 |
--with-cgi-id=%{cgiuser} \
|
|
|
e7a395 |
--with-cgi-gid=%{cgigroup} \
|
|
|
e7a395 |
--with-mailhost=localhost.localdomain \
|
|
|
e7a395 |
--with-urlhost=localhost.localdomain \
|
|
|
e7a395 |
--without-permcheck
|
|
|
e7a395 |
|
|
|
e7a395 |
function SubstituteParameters()
|
|
|
e7a395 |
{
|
|
|
e7a395 |
sed -e 's|@VAR_PREFIX@|%{varmmdir}|g' \
|
|
|
e7a395 |
-e 's|@VARMMDIR@|%{varmmdir}|g' \
|
|
|
e7a395 |
-e 's|@prefix@|%{mmdir}|g' \
|
|
|
e7a395 |
-e 's|@MMDIR@|%{mmdir}|g' \
|
|
|
e7a395 |
-e 's|@CONFIG_DIR@|%{configdir}|g' \
|
|
|
e7a395 |
-e 's|@DATA_DIR@|%{datadir}|g' \
|
|
|
e7a395 |
-e 's|@LOCK_DIR@|%{lockdir}|g' \
|
|
|
e7a395 |
-e 's|@LOG_DIR@|%{logdir}|g' \
|
|
|
e7a395 |
-e 's|@PID_DIR@|%{piddir}|g' \
|
|
|
e7a395 |
-e 's|@QUEUE_DIR@|%{queuedir}|g' \
|
|
|
e7a395 |
-e 's|@DOC_DIR@|%{docdir}|g' \
|
|
|
e7a395 |
-e 's|@HTTPD_CONF_DIR@|%{httpdconfdir}|g' \
|
|
|
e7a395 |
-e 's|@HTTPD_CONF_FILE@|%{httpdconffile}|g' \
|
|
|
e7a395 |
$1 > $2
|
|
|
e7a395 |
}
|
|
|
e7a395 |
|
|
|
e7a395 |
SubstituteParameters "INSTALL.REDHAT.in" "INSTALL.REDHAT"
|
|
|
e7a395 |
SubstituteParameters "%{SOURCE1}" "Mailman/mm_cfg.py.dist"
|
|
|
e7a395 |
SubstituteParameters "%{SOURCE3}" "httpd-mailman.conf"
|
|
|
e7a395 |
SubstituteParameters "%{SOURCE4}" "mailman.logrotate"
|
|
|
e7a395 |
|
|
|
e7a395 |
make
|
|
|
e7a395 |
|
|
|
e7a395 |
%install
|
|
|
e7a395 |
# Normal install.
|
|
|
e7a395 |
make DESTDIR=%{buildroot} install
|
|
|
e7a395 |
#make install prefix=%{buildroot}%{mmdir} var_prefix=%{buildroot}%{varmmdir}
|
|
|
e7a395 |
|
|
|
e7a395 |
# Install the mailman cron.d script
|
|
|
e7a395 |
mkdir -p %{buildroot}/etc/cron.d
|
|
|
e7a395 |
cat > %{buildroot}/etc/cron.d/%{name} <
|
|
|
e7a395 |
# DO NOT EDIT THIS FILE!
|
|
|
e7a395 |
#
|
|
|
e7a395 |
# Contents of this file managed by /etc/init.d/%{name}
|
|
|
e7a395 |
# Master copy is %{mmdir}/cron/crontab.in
|
|
|
e7a395 |
# Consult that file for documentation
|
|
|
e7a395 |
EOF
|
|
|
e7a395 |
|
|
|
e7a395 |
# Copy the icons into the web server's icons directory.
|
|
|
e7a395 |
mkdir -p %{buildroot}%{contentdir}/icons
|
|
|
e7a395 |
cp %{buildroot}/%{mmdir}/icons/* %{buildroot}%{contentdir}/icons
|
|
|
e7a395 |
|
|
|
e7a395 |
# Create a link to the wrapper in /etc/smrsh to allow sendmail to run it.
|
|
|
e7a395 |
# The link should be relative in order to make it work in chroot
|
|
|
e7a395 |
mkdir -p %{buildroot}/etc/smrsh
|
|
|
e7a395 |
ln -s ../..%{mmdir}/mail/%{mail_wrapper} %{buildroot}/etc/smrsh
|
|
|
e7a395 |
|
|
|
e7a395 |
# sitelist.cfg used to live in the DATA_DIR, now as part of the
|
|
|
e7a395 |
# FHS reoraganization it lives in the CONFIG_DIR. Most of the
|
|
|
e7a395 |
# documentation refers to it in its DATA_DIR location and experienced
|
|
|
e7a395 |
# admins will expect to find it there, so create a link in DATA_DIR to
|
|
|
e7a395 |
# point to it in CONFIG_DIR so people aren't confused.
|
|
|
e7a395 |
ln -s %{configdir}/sitelist.cfg %{buildroot}%{datadir}
|
|
|
e7a395 |
|
|
|
e7a395 |
# Install a logrotate control file.
|
|
|
e7a395 |
mkdir -p %{buildroot}/etc/logrotate.d
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/mailman.logrotate %{buildroot}/etc/logrotate.d/%{name}
|
|
|
e7a395 |
|
|
|
e7a395 |
# Install the httpd configuration file.
|
|
|
e7a395 |
install -m755 -d %{buildroot}%{httpdconfdir}
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/httpd-mailman.conf %{buildroot}%{httpdconfdir}/%{httpdconffile}
|
|
|
e7a395 |
|
|
|
e7a395 |
# Install the documentation files
|
|
|
e7a395 |
install -m755 -d %{buildroot}%{docdir}
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/INSTALL.REDHAT %{buildroot}%{docdir}
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/ACKNOWLEDGMENTS %{buildroot}%{docdir}
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/FAQ %{buildroot}%{docdir}
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/NEWS %{buildroot}%{docdir}
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/README %{buildroot}%{docdir}
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/README.CONTRIB %{buildroot}%{docdir}
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/README-I18N.en %{buildroot}%{docdir}
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/README.NETSCAPE %{buildroot}%{docdir}
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/README.USERAGENT %{buildroot}%{docdir}
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/STYLEGUIDE.txt %{buildroot}%{docdir}
|
|
|
e7a395 |
install -m644 %{mmbuilddir}/UPGRADING %{buildroot}%{docdir}
|
|
|
e7a395 |
|
|
|
e7a395 |
cp -r %{mmbuilddir}/contrib %{buildroot}%{docdir}
|
|
|
e7a395 |
install -m644 %{SOURCE7} %{buildroot}%{docdir}/contrib/migrate-fhs
|
|
|
e7a395 |
install -m755 -d %{buildroot}%{docdir}/admin
|
|
|
e7a395 |
cp -r %{mmbuilddir}/doc %{buildroot}%{docdir}/admin
|
|
|
e7a395 |
|
|
|
e7a395 |
#install the script for updating the config (bz#484328)
|
|
|
e7a395 |
mkdir -p %{buildroot}%{mmdir}/bin/
|
|
|
e7a395 |
install -m755 %{SOURCE8} %{buildroot}%{mmdir}/bin/
|
|
|
e7a395 |
# set library path in mailman-update-cfg script.
|
|
|
e7a395 |
sed -i 's,@mmdir@,%{mmdir},g' %{buildroot}%{mmdir}/bin/mailman-update-cfg
|
|
|
e7a395 |
|
|
|
e7a395 |
# remove dir/files from %{buildroot} that we aren't shipping
|
|
|
e7a395 |
rm -rf %{buildroot}%{varmmdir}/icons
|
|
|
e7a395 |
|
|
|
e7a395 |
# The file fblast confuses /usr/lib/rpm/find-requires because its an executable
|
|
|
e7a395 |
# script file that does not have the interpreter as the first line, its not
|
|
|
e7a395 |
# executable by itself so turn off its execute permissions
|
|
|
e7a395 |
chmod 0644 %{buildroot}/%{mmdir}/tests/fblast.py
|
|
|
e7a395 |
|
|
|
e7a395 |
# Security issues...
|
|
|
e7a395 |
#chmod 0755 %{buildroot}/%{mmdir}/pythonlib/japanese/c/_japanese_codecs.so
|
|
|
e7a395 |
#chmod 0755 %{buildroot}/%{mmdir}/pythonlib/korean/c/hangul.so
|
|
|
e7a395 |
#chmod 0755 %{buildroot}/%{mmdir}/pythonlib/korean/c/_koco.so
|
|
|
e7a395 |
|
|
|
e7a395 |
# Directories...
|
|
|
e7a395 |
mkdir -p %{buildroot}/%{lockdir}
|
|
|
e7a395 |
mkdir -p %{buildroot}/%{logdir}
|
|
|
e7a395 |
mkdir -p %{buildroot}/%{piddir}
|
|
|
e7a395 |
mkdir -p %{buildroot}/%{queuedir}
|
|
|
ab2ccd |
mkdir -p %{buildroot}/%{_tmpfilesdir}
|
|
|
ab2ccd |
install -m 0644 %{SOURCE9} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
|
|
e7a395 |
|
|
|
e7a395 |
# Systemd service file
|
|
|
e7a395 |
mkdir -p %{buildroot}%{_unitdir}
|
|
|
e7a395 |
install -m644 %{SOURCE10} %{buildroot}%{_unitdir}
|
|
|
e7a395 |
|
|
|
e7a395 |
# Move mm_cfg.py to /etc/mailman and create symlink to it
|
|
|
e7a395 |
mkdir -p %{buildroot}%{configdir}
|
|
|
e7a395 |
mv %{buildroot}%{mmdir}/Mailman/mm_cfg.py %{buildroot}%{configdir}
|
|
|
e7a395 |
ln -s %{configdir}/mm_cfg.py %{buildroot}%{mmdir}/Mailman/
|
|
|
e7a395 |
|
|
|
e7a395 |
# Put README file into old templates directory to inform admins
|
|
|
e7a395 |
# about change
|
|
|
e7a395 |
cat > %{buildroot}%{mmdir}/templates/README <
|
|
|
e7a395 |
Templates have been moved to %{templatedir}.
|
|
|
e7a395 |
EOF
|
|
|
e7a395 |
|
|
|
e7a395 |
# byte-compile %{mmdir}
|
|
|
e7a395 |
#py_byte_compile %{__python} %{buildroot}%{mmdir}
|
|
|
e7a395 |
find %{buildroot}%{mmdir} -type f -a -name "*.py" -print0 | xargs -0 %{__python} -c 'import py_compile, sys; [py_compile.compile(f, dfile=f.partition("$RPM_BUILD_ROOT")[2]) for f in sys.argv[1:]]' || :
|
|
|
e7a395 |
find %{buildroot}%{mmdir} -type f -a -name "*.py" -print0 | xargs -0 %{__python} -O -c 'import py_compile, sys; [py_compile.compile(f, dfile=f.partition("$RPM_BUILD_ROOT")[2]) for f in sys.argv[1:]]' || :
|
|
|
e7a395 |
|
|
|
e7a395 |
# Change permissions of directories to keep rpmlint silent
|
|
|
e7a395 |
find %{buildroot}/%{mmdir} -type d -exec chmod 755 {} \;
|
|
|
e7a395 |
find %{buildroot}/%{templatedir} -type d -exec chmod 755 {} \;
|
|
|
e7a395 |
# There is no need for setgid bit in all files in those directories except cgi-bin
|
|
|
e7a395 |
chmod %{buildroot}/%{mmdir} -s -R
|
|
|
e7a395 |
# cgi-bin contains ELF executables which have to have setgid
|
|
|
e7a395 |
chmod g+s %{buildroot}/%{mmdir}/cgi-bin/*
|
|
|
e7a395 |
chmod g+s %{buildroot}/%{mmdir}/mail/mailman
|
|
|
e7a395 |
# no need for setgid in configdir
|
|
|
ab2ccd |
chmod %{buildroot}/%{configdir}/* -s -R
|
|
|
e7a395 |
|
|
|
e7a395 |
%pre
|
|
|
e7a395 |
|
|
|
e7a395 |
# Make sure the user "mailman" exists on this system and has the correct values
|
|
|
e7a395 |
if grep -q "^mailman:" /etc/group 2> /dev/null ; then
|
|
|
e7a395 |
/usr/sbin/groupmod -g %{mmgroupid} -n %{mmgroup} %{mmgroup} 2> /dev/null || :
|
|
|
e7a395 |
else
|
|
|
e7a395 |
/usr/sbin/groupadd -g %{mmgroupid} %{mmgroup} 2> /dev/null || :
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
if grep -q "^mailman:" /etc/passwd 2> /dev/null ; then
|
|
|
e7a395 |
/usr/sbin/usermod -s /sbin/nologin -c "GNU Mailing List Manager" -d %{mmdir} -u %{mmuserid} -g %{mmgroupid} %{mmuser} 2> /dev/null || :
|
|
|
e7a395 |
else
|
|
|
e7a395 |
/usr/sbin/useradd -s /sbin/nologin -c "GNU Mailing List Manager" -d %{mmdir} -u %{mmuserid} -g %{mmgroupid} -M -r %{mmuser} 2> /dev/null || :
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
|
|
|
e7a395 |
# Mailman should never be running during an install, but a package upgrade
|
|
|
e7a395 |
# shouldn't silently stop the service, so if mailman was running
|
|
|
e7a395 |
# we'll leave a temp file in the lock directory as a flag so in
|
|
|
e7a395 |
# the post install phase we can restart it.
|
|
|
e7a395 |
#
|
|
|
e7a395 |
# rpmlint will complain here about "dangerous use of rm"
|
|
|
e7a395 |
# but this is OK because we are only rm-ing our temporary file
|
|
|
e7a395 |
if [ -d %{lockdir} ]; then
|
|
|
e7a395 |
rm -f %{restart_flag}
|
|
|
e7a395 |
/sbin/service %{name} status >/dev/null 2>&1
|
|
|
e7a395 |
if [ $? -eq 0 ]; then
|
|
|
e7a395 |
touch %{restart_flag}
|
|
|
e7a395 |
/sbin/service %{name} stop >/dev/null 2>&1
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
|
|
|
e7a395 |
# Remove older rpm-state dir
|
|
|
e7a395 |
if [ -d %{_localstatedir}/lib/rpm-state/mailman ]; then
|
|
|
e7a395 |
rm -rf %{_localstatedir}/lib/rpm-state/mailman
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
|
|
|
e7a395 |
# Move mm_cfg.py to different location to be able to copy it to /etc/mailman
|
|
|
e7a395 |
# later in post. This is needed, otherwise RPM would remove it.
|
|
|
e7a395 |
mkdir -p %{_localstatedir}/lib/rpm-state/mailman/
|
|
|
e7a395 |
if [ -L %{configdir}/mm_cfg.py -a ! -L %{mmdir}/Mailman/mm_cfg.py -a -d %{configdir} ]; then
|
|
|
e7a395 |
mv %{mmdir}/Mailman/mm_cfg.py %{_localstatedir}/lib/rpm-state/mailman/mm_cfg.py
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
|
|
|
e7a395 |
# Move templates dir to different location to be able to copy it to
|
|
|
e7a395 |
# /etc/mailman later in post. This is needed, otherwise RPM would remove it.
|
|
|
e7a395 |
if [ ! -d %{templatedir} -a -d %{mmdir}/templates ]; then
|
|
|
e7a395 |
mv %{mmdir}/templates %{_localstatedir}/lib/rpm-state/mailman/
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
|
|
|
e7a395 |
# rpm should not abort if last command run had non-zero exit status, exit cleanly
|
|
|
e7a395 |
exit 0
|
|
|
e7a395 |
|
|
|
e7a395 |
%post
|
|
|
e7a395 |
# We no longer use crontab, but previous versions of the spec file did, so clean up
|
|
|
e7a395 |
if [ -f /var/spool/cron/%{mmuser} ]; then
|
|
|
e7a395 |
crontab -u %{mmuser} -r
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
|
|
|
e7a395 |
# Restart mailman if it had been running before installation
|
|
|
e7a395 |
if [ -e %{restart_flag} ]; then
|
|
|
e7a395 |
rm %{restart_flag}
|
|
|
e7a395 |
/sbin/service %{name} start >/dev/null 2>&1
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
|
|
|
e7a395 |
# Move mm_cfg.py from /usr/lib/mailman/Mailman to /etc/mailman and create
|
|
|
e7a395 |
# symlink to it (#905845).
|
|
|
e7a395 |
if [ -f %{_localstatedir}/lib/rpm-state/mailman/mm_cfg.py ]; then
|
|
|
e7a395 |
cp -p %{_localstatedir}/lib/rpm-state/mailman/mm_cfg.py %{configdir}/mm_cfg.py
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
|
|
|
e7a395 |
# Move mmdir/templates to /etc/mailman/templates
|
|
|
e7a395 |
if [ -d %{_localstatedir}/lib/rpm-state/mailman/templates ]; then
|
|
|
e7a395 |
cp -pr %{_localstatedir}/lib/rpm-state/mailman/templates/* %{templatedir}
|
|
|
e7a395 |
rm -rf %{_localstatedir}/lib/rpm-state/mailman/templates/
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
|
|
|
e7a395 |
if [ -d %{_localstatedir}/lib/rpm-state/mailman ]; then
|
|
|
e7a395 |
rm -rf %{_localstatedir}/lib/rpm-state/mailman
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
|
|
|
e7a395 |
# systemd
|
|
|
e7a395 |
%systemd_post mailman.service
|
|
|
e7a395 |
|
|
|
e7a395 |
# rpm should not abort if last command run had non-zero exit status, exit cleanly
|
|
|
e7a395 |
exit 0
|
|
|
e7a395 |
|
|
|
e7a395 |
%preun
|
|
|
e7a395 |
|
|
|
e7a395 |
# if [ $1 = 0 ]' checks that this is the actual deinstallation of
|
|
|
e7a395 |
# the package, as opposed to just removing the old package on upgrade.
|
|
|
e7a395 |
|
|
|
e7a395 |
%systemd_preun mailman.service
|
|
|
e7a395 |
# rpm should not abort if last command run had non-zero exit status, exit cleanly
|
|
|
e7a395 |
exit 0
|
|
|
e7a395 |
|
|
|
e7a395 |
%postun
|
|
|
e7a395 |
if [ $1 = 0 ]; then
|
|
|
e7a395 |
crontab -u %{mmuser} -r 2>/dev/null
|
|
|
e7a395 |
fi
|
|
|
e7a395 |
|
|
|
e7a395 |
# systemd
|
|
|
e7a395 |
%systemd_postun_with_restart mailman.service
|
|
|
e7a395 |
|
|
|
e7a395 |
# rpm should not abort if last command run had non-zero exit status, exit cleanly
|
|
|
e7a395 |
exit 0
|
|
|
e7a395 |
|
|
|
e7a395 |
%triggerun -- mailman < 3:2.1.14-9
|
|
|
e7a395 |
%{_bindir}/systemd-sysv-convert --save mailman >/dev/null 2>&1 ||:
|
|
|
e7a395 |
/bin/systemctl enable mailman.service >/dev/null 2>&1
|
|
|
e7a395 |
/sbin/chkconfig --del mailman >/dev/null 2>&1 || :
|
|
|
e7a395 |
/bin/systemctl try-restart mailman.service >/dev/null 2>&1 || :
|
|
|
e7a395 |
|
|
|
e7a395 |
|
|
|
e7a395 |
%files
|
|
|
e7a395 |
%defattr(-,root,%{mmgroup})
|
|
|
e7a395 |
%dir %{mmdir}
|
|
|
e7a395 |
%dir %{mmdir}/Mailman
|
|
|
e7a395 |
%{mmdir}/templates
|
|
|
e7a395 |
%{mmdir}/bin
|
|
|
fd3aa9 |
%dir %{mmdir}/cgi-bin/
|
|
|
fd3aa9 |
%attr(2755, root, %{mmgroup}) %{mmdir}/cgi-bin/*
|
|
|
e7a395 |
%dir %{mmdir}/cron
|
|
|
e7a395 |
%{mmdir}/icons
|
|
|
fd3aa9 |
%dir %{mmdir}/mail
|
|
|
fd3aa9 |
%attr(2755, root, %{mmgroup}) %{mmdir}/mail/mailman
|
|
|
e7a395 |
%{mmdir}/messages
|
|
|
e7a395 |
%{mmdir}/pythonlib
|
|
|
e7a395 |
%{mmdir}/scripts
|
|
|
e7a395 |
# rpmlint will complain here about config files being in /usr
|
|
|
e7a395 |
# but these are both data files -parts of mailman's web UI-
|
|
|
e7a395 |
# and config files - user can change them to match the design
|
|
|
e7a395 |
# and/or content of their web pages
|
|
|
e7a395 |
%config(noreplace) %{templatedir}
|
|
|
e7a395 |
%{mmdir}/tests
|
|
|
e7a395 |
%dir %{varmmdir}
|
|
|
e7a395 |
%{varmmdir}/data
|
|
|
e7a395 |
%{varmmdir}/lists
|
|
|
e7a395 |
%{varmmdir}/spam
|
|
|
e7a395 |
%dir %{archivesdir}
|
|
|
e7a395 |
%{archivesdir}/public
|
|
|
e7a395 |
# fix for security issue #459530
|
|
|
e7a395 |
%attr(2770,%{cgiuser},%{mmgroup}) %{archivesdir}/private
|
|
|
e7a395 |
#cron dir minus one file which is listed later
|
|
|
e7a395 |
%{mmdir}/cron/bumpdigests
|
|
|
e7a395 |
%{mmdir}/cron/checkdbs
|
|
|
e7a395 |
%{mmdir}/cron/cull_bad_shunt
|
|
|
e7a395 |
%{mmdir}/cron/disabled
|
|
|
e7a395 |
%{mmdir}/cron/gate_news
|
|
|
e7a395 |
%{mmdir}/cron/mailpasswds
|
|
|
e7a395 |
%{mmdir}/cron/nightly_gzip
|
|
|
e7a395 |
%{mmdir}/cron/paths.py
|
|
|
e7a395 |
%{mmdir}/cron/paths.pyc
|
|
|
e7a395 |
%{mmdir}/cron/paths.pyo
|
|
|
e7a395 |
%{mmdir}/cron/senddigests
|
|
|
e7a395 |
#Mailman dir minus one file which is listed later
|
|
|
e7a395 |
%{mmdir}/Mailman/Archiver
|
|
|
e7a395 |
%{mmdir}/Mailman/Autoresponder.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Autoresponder.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Autoresponder.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Bouncer.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Bouncer.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Bouncer.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Bouncers
|
|
|
e7a395 |
%{mmdir}/Mailman/Cgi
|
|
|
e7a395 |
%{mmdir}/Mailman/Commands
|
|
|
e7a395 |
%{mmdir}/Mailman/CSRFcheck.py
|
|
|
e7a395 |
%{mmdir}/Mailman/CSRFcheck.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/CSRFcheck.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Defaults.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Defaults.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Defaults.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Deliverer.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Deliverer.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Deliverer.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Digester.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Digester.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Digester.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Errors.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Errors.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Errors.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/GatewayManager.py
|
|
|
e7a395 |
%{mmdir}/Mailman/GatewayManager.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/GatewayManager.pyo
|
|
|
e7a395 |
#%%{mmdir}/Mailman/Generator.py
|
|
|
e7a395 |
#%%{mmdir}/Mailman/Generator.pyc
|
|
|
e7a395 |
#%%{mmdir}/Mailman/Generator.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Gui
|
|
|
e7a395 |
%{mmdir}/Mailman/Handlers
|
|
|
e7a395 |
%{mmdir}/Mailman/htmlformat.py
|
|
|
e7a395 |
%{mmdir}/Mailman/htmlformat.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/htmlformat.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/HTMLFormatter.py
|
|
|
e7a395 |
%{mmdir}/Mailman/HTMLFormatter.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/HTMLFormatter.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/i18n.py
|
|
|
e7a395 |
%{mmdir}/Mailman/i18n.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/i18n.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/__init__.py
|
|
|
e7a395 |
%{mmdir}/Mailman/__init__.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/__init__.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/ListAdmin.py
|
|
|
e7a395 |
%{mmdir}/Mailman/ListAdmin.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/ListAdmin.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/LockFile.py
|
|
|
e7a395 |
%{mmdir}/Mailman/LockFile.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/LockFile.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Logging
|
|
|
e7a395 |
%{mmdir}/Mailman/Mailbox.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Mailbox.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Mailbox.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/MailList.py
|
|
|
e7a395 |
%{mmdir}/Mailman/MailList.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/MailList.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/MemberAdaptor.py
|
|
|
e7a395 |
%{mmdir}/Mailman/MemberAdaptor.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/MemberAdaptor.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Message.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Message.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Message.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/mm_cfg.py.dist
|
|
|
e7a395 |
%{mmdir}/Mailman/MTA
|
|
|
e7a395 |
%{mmdir}/Mailman/OldStyleMemberships.py
|
|
|
e7a395 |
%{mmdir}/Mailman/OldStyleMemberships.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/OldStyleMemberships.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Pending.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Pending.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Pending.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Post.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Post.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Post.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Queue
|
|
|
e7a395 |
%{mmdir}/Mailman/SafeDict.py
|
|
|
e7a395 |
%{mmdir}/Mailman/SafeDict.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/SafeDict.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/SecurityManager.py
|
|
|
e7a395 |
%{mmdir}/Mailman/SecurityManager.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/SecurityManager.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Site.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Site.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Site.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/TopicMgr.py
|
|
|
e7a395 |
%{mmdir}/Mailman/TopicMgr.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/TopicMgr.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/UserDesc.py
|
|
|
e7a395 |
%{mmdir}/Mailman/UserDesc.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/UserDesc.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Utils.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Utils.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Utils.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/Version.py
|
|
|
e7a395 |
%{mmdir}/Mailman/Version.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/Version.pyo
|
|
|
e7a395 |
%{mmdir}/Mailman/versions.py
|
|
|
e7a395 |
%{mmdir}/Mailman/versions.pyc
|
|
|
e7a395 |
%{mmdir}/Mailman/versions.pyo
|
|
|
e7a395 |
%{_unitdir}/mailman.service
|
|
|
e7a395 |
%doc %{docdir}
|
|
|
e7a395 |
%dir %attr(0755,root,root) %{contentdir}/icons
|
|
|
e7a395 |
%attr(0644,root,root) %{contentdir}/icons/*
|
|
|
e7a395 |
%attr(0644, root, %{mmgroup}) %config(noreplace) %verify(not md5 size mtime) %{configdir}/mm_cfg.py
|
|
|
e7a395 |
%attr(0644, root, %{mmgroup}) %config(noreplace) %verify(not md5 size mtime) %{mmdir}/Mailman/mm_cfg.py
|
|
|
e7a395 |
%verify(not md5 size mtime) %{mmdir}/Mailman/mm_cfg.py?
|
|
|
e7a395 |
%config(noreplace) %{httpdconfdir}/%{httpdconffile}
|
|
|
e7a395 |
%config(noreplace) /etc/logrotate.d/%{name}
|
|
|
e7a395 |
/etc/smrsh/%{mail_wrapper}
|
|
|
ab2ccd |
%dir %attr(2775,root,%{mmgroup}) %{configdir}
|
|
|
e7a395 |
%attr(0644, root, %{mmgroup}) %config(noreplace) %verify(not md5 size mtime) %{configdir}/sitelist.cfg
|
|
|
e7a395 |
%attr(775,root,%{mmgroup}) %{logdir}
|
|
|
ab2ccd |
%{_tmpfilesdir}/%{name}.conf
|
|
|
e7a395 |
%attr(2775,root,%{mmgroup}) %{queuedir}
|
|
|
e7a395 |
%attr(0644,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/cron.d/mailman
|
|
|
e7a395 |
%attr(0644,root,%{mmgroup}) %config(noreplace) %{mmdir}/cron/crontab.in
|
|
|
e7a395 |
%attr(0755,root,root) %{mmdir}/bin/mailman-update-cfg
|
|
|
e7a395 |
%dir %attr(775,root,%{mmgroup}) %{piddir}
|
|
|
e7a395 |
%dir %attr(775,root,%{mmgroup}) %{lockdir}
|
|
|
e7a395 |
|
|
|
e7a395 |
%changelog
|
|
|
5e5744 |
* Wed Jul 31 2019 Pavel Zhukov <pzhukov@redhat.com> - 3:2.1.15-30
|
|
|
5e5744 |
- Resolves: #1599692 - Sanitize input on listinfo page (CVE-2018-0618)
|
|
|
9e479e |
|
|
|
5e5744 |
* Wed Jul 31 2019 Pavel Zhukov <pzhukov@redhat.com> - 3:2.1.15-29
|
|
|
5e5744 |
- Resolves: #1611689 - Trim long text in "no such list" messages
|
|
|
5e5744 |
|
|
|
5e5744 |
* Mon Jul 22 2019 Pavel Zhukov <pzhukov@redhat.com> - 3:2.1.15-28
|
|
|
5e5744 |
- Resolves: #1718180 - Try to decode member name first
|
|
|
9e479e |
|
|
|
5e5744 |
* Tue Mar 20 2018 Pavel Zhukov <pzhukov@redhat.com> - 3:2.1.15-27
|
|
|
5e5744 |
- Related : #1545973 - Bump release to override rhel-7.4.z version
|
|
|
5e5744 |
|
|
|
5e5744 |
* Fri Mar 02 2018 Pavel Zhukov <pzhukov@redhat.com> - 3:2.1.15-26
|
|
|
5e5744 |
- Resolves: #1545973 - Add sanitizer for XSS mitigation
|
|
|
9e479e |
|
|
|
5e5744 |
* Fri Feb 16 2018 Pavel Zhukov <pzhukov@redhat.com> - 3:2.1.15-25
|
|
|
5e5744 |
- Resolves: #1545973 - Fix XSS vulnerability in web UI
|
|
|
9e479e |
|
|
|
414aa7 |
* Wed Feb 22 2017 Pavel Šimerda <psimerda@redhat.com> - 3:2.1.15-24
|
|
|
414aa7 |
- Resolves: #1232737 - Fix instances of #!/usr/bin/env python in mailman
|
|
|
414aa7 |
|
|
|
414aa7 |
* Wed Feb 22 2017 Pavel Šimerda <psimerda@redhat.com> - 3:2.1.15-23
|
|
|
414aa7 |
- Resolves: #1232749 - fix bad subject of the welcome email when creating list
|
|
|
414aa7 |
using newlist command
|
|
|
414aa7 |
|
|
|
414aa7 |
* Fri Feb 10 2017 Pavel Šimerda <psimerda@redhat.com> - 3:2.1.15-22
|
|
|
414aa7 |
- Resolves: #1351939 - Mailman 2.1.15 and later crashes on more email
|
|
|
414aa7 |
|
|
|
ab2ccd |
* Wed Jun 10 2015 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-21
|
|
|
ab2ccd |
- fix CVE-2015-2775 - directory traversal in MTA transports
|
|
|
ab2ccd |
|
|
|
ab2ccd |
* Tue Mar 17 2015 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-20
|
|
|
ab2ccd |
- fix #1107652 - do not install patch backup files in documentation
|
|
|
ab2ccd |
|
|
|
ab2ccd |
* Tue Mar 17 2015 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-19
|
|
|
ab2ccd |
- fix #1188043 - set 2775 permission only for /etc/mailman
|
|
|
ab2ccd |
|
|
|
ab2ccd |
* Mon Mar 16 2015 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-18
|
|
|
ab2ccd |
- fix #1107652 - add support for DMARC
|
|
|
ab2ccd |
- fix #1180981 - install tmpfiles.d into /usr/lib instead of /etc
|
|
|
ab2ccd |
- fix #1188043 - set 2775 permission for /etc/mailman
|
|
|
ab2ccd |
|
|
|
fd3aa9 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3:2.1.15-17
|
|
|
fd3aa9 |
- Mass rebuild 2014-01-24
|
|
|
fd3aa9 |
|
|
|
fd3aa9 |
* Thu Jan 02 2014 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-16
|
|
|
fd3aa9 |
- fix #1044496 - fix setgid for cgi and mailman binaries
|
|
|
fd3aa9 |
|
|
|
fd3aa9 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3:2.1.15-15
|
|
|
fd3aa9 |
- Mass rebuild 2013-12-27
|
|
|
fd3aa9 |
|
|
|
e7a395 |
* Tue Jul 23 2013 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-14
|
|
|
e7a395 |
- build with full relro support
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Apr 04 2013 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-13
|
|
|
e7a395 |
- move mailman-update-cfg to /usr/lib/mailman/bin
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Apr 02 2013 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-12
|
|
|
e7a395 |
- fix #947191 - change contentdir to /usr/share/httpd
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Mar 14 2013 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-11
|
|
|
e7a395 |
- do not use py_byte_compile, remove python3-devel dependency
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Mar 14 2013 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-10
|
|
|
e7a395 |
- fix #921421 - fix /var/spool/mailman/ permissions
|
|
|
e7a395 |
- fix #921423 - move mm_cfg.py to /etc/mailman
|
|
|
e7a395 |
- move templates from /usr/lib/mailman to /etc/mailman
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:2.1.15-9
|
|
|
e7a395 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jan 22 2013 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-8
|
|
|
e7a395 |
- fix #838580 - check if directories are 0755, there is no need to need
|
|
|
e7a395 |
02775 on all Mailman directories
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Dec 06 2012 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-7
|
|
|
e7a395 |
- remove fuzz=3 and rebase patches
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Nov 21 2012 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-6
|
|
|
e7a395 |
- clean up spec file
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Oct 24 2012 Václav Pavlín <vpavlin@redhat.com> - 3:2.1.15-5
|
|
|
e7a395 |
- Scriptlets replaced with new systemd macros (#850198)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Aug 21 2012 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-4
|
|
|
e7a395 |
- fix ownership of unowned directories
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Aug 16 2012 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-3
|
|
|
e7a395 |
- Python executables does not need setgid
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Jul 19 2012 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-2
|
|
|
e7a395 |
- do not set setgid bit on directories where it is not needed
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Jun 18 2012 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.15-1
|
|
|
e7a395 |
- fix #822096 - update to version 2.1.15
|
|
|
e7a395 |
- fixed httpd config file to work with httpd-2.4
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jan 11 2012 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.14-13
|
|
|
e7a395 |
- fix #751581 - changed systemd service file to create error log with proper
|
|
|
e7a395 |
permissions, changed logrotate conf to swifth to proper username/group
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jan 11 2012 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.14-12
|
|
|
e7a395 |
- fix #773188 - fix typo in reset_pw.py causing it to not work
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Dec 15 2011 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.14-11
|
|
|
e7a395 |
- fix #754898 - decode subjects
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Oct 12 2011 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.14-10
|
|
|
e7a395 |
- fix #745411 - remove Indexes from httpd config
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jul 13 2011 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.14-9
|
|
|
e7a395 |
- fix #719371 - added native systemd unit file
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed May 18 2011 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.14-8
|
|
|
e7a395 |
- fix #701539 - fixed permissions of all directories in mailman dir
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon May 09 2011 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.14-7
|
|
|
e7a395 |
- fix #701539 - fixed cgi-bin permissions
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Apr 05 2011 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.14-6
|
|
|
e7a395 |
- fix #688435 - set proper permissions for private archive
|
|
|
e7a395 |
- fix badly rebased LC_CTYPE patch which caused newlist to fail with traceback
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Feb 23 2011 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.14-5
|
|
|
e7a395 |
- fix #679644 - fixed CVE-2011-0707: three XSS flaws due improper
|
|
|
e7a395 |
escaping of the full name of the member
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:2.1.14-4
|
|
|
e7a395 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Dec 06 2010 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.14-3
|
|
|
e7a395 |
- fix #656619 - use tmpfiles.d to create directories in /var/run and /var/lock
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Sep 29 2010 jkeating - 3:2.1.14-2
|
|
|
e7a395 |
- Rebuilt for gcc bug 634757
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Sep 21 2010 Jan Kaluza <jkaluza@redhat.com> 3:2.1.14-1
|
|
|
e7a395 |
- fix #632542 - updated to new upstream version
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Sep 15 2010 Jan Kaluza <jkaluza@redhat.com> 3:2.1.13-6
|
|
|
e7a395 |
- fix #631881 - CVE-2010-3089: Multiple security flaws leading
|
|
|
e7a395 |
to cross-site scripting (XSS) attacks
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 3:2.1.13-5
|
|
|
e7a395 |
- recompiling .py files against Python 2.7 (rhbz#623334)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jul 13 2010 Jan Kaluza <jkaluza@redhat.com> 3:2.1.13-4
|
|
|
e7a395 |
- #459530 - fix permissions of archives/private directory
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue May 25 2010 Daniel Novotny <dnovotny@redhat.com> 3:2.1.13-3
|
|
|
e7a395 |
- #595715 - Fix instances of #!/usr/bin/env python in mailman
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Apr 20 2010 Daniel Novotny <dnovotny@redhat.com> 3:2.1.13-2
|
|
|
e7a395 |
- fix #583966 - mailman-update-cfg script should use %%{mmdir}, not %%{_libdir}
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Mar 25 2010 Daniel Novotny <dnovotny@redhat.com> 3:2.1.13-1
|
|
|
e7a395 |
- update to 2.1.13, de-fuzz patches
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jan 13 2010 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-14
|
|
|
e7a395 |
- revert _libdir change, because it disturbs scripts invocation
|
|
|
e7a395 |
(see #226117 discussion)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Dec 22 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-13
|
|
|
e7a395 |
- the service is now not on by default (change for merge review, #226117)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Oct 14 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-12
|
|
|
e7a395 |
- fix the last patch (bz#528492), no space between "coding" and ":"
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Oct 13 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-11
|
|
|
e7a395 |
- fix French translation, "coding" keyword must be untranslated (bz#528492)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Oct 07 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-10
|
|
|
e7a395 |
- init script cleanup and fixes for LSB compliance (bz#524016)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jul 28 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-9
|
|
|
e7a395 |
- regenerated patches so patch fuzz 3 is not needed (bz#513207)
|
|
|
e7a395 |
- mm_cfg.pyc and .pyo are now %%verify(not md5 size mtime) (bz#512794)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:2.1.12-8
|
|
|
e7a395 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jul 22 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-7
|
|
|
e7a395 |
- fix bz#512798 - Mailman path in /usr/bin/mailman-update-cfg
|
|
|
e7a395 |
is incorrect on x86_64.
|
|
|
e7a395 |
- added explanation comment in mailman-update-cfg, to justify
|
|
|
e7a395 |
why this script is needed
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jul 08 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-6
|
|
|
e7a395 |
- fix bz#509689 - please remove execute perms
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jul 07 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-5
|
|
|
e7a395 |
- hardcoded library path removed
|
|
|
e7a395 |
- mixed use of spaces and tabs fixed
|
|
|
e7a395 |
- added --libdir to configure
|
|
|
e7a395 |
- fixed URL to tarball
|
|
|
e7a395 |
- permissions of source files changed to 0644
|
|
|
e7a395 |
- got rid of "file listed twice" warnings: listing the files explicitly
|
|
|
e7a395 |
- all this were cleanups for merge review (#226117)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Apr 02 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-4
|
|
|
e7a395 |
- fix bz#481446 (Recompile of mailman's config causes SElinux denials)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Mar 31 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-3
|
|
|
e7a395 |
- fix bz#447784 (List-Archive URL for private archives broken)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Mar 30 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-2
|
|
|
e7a395 |
- "AddDefaultCharset Off" in httpd configuration (#463115)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Mar 11 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-1
|
|
|
e7a395 |
- upgrade to 2.1.12, drop upstreamed patches, rebase other patches
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:2.1.11-7
|
|
|
e7a395 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Feb 12 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.11-6
|
|
|
e7a395 |
- added a script to recompile the config file b/c of selinux policy
|
|
|
e7a395 |
(bz#484328)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 3:2.1.11-5
|
|
|
e7a395 |
- Rebuild for Python 2.6
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Oct 29 2008 Daniel Novotny <dnovotny@redhat.com> 3:2.1.11-4
|
|
|
e7a395 |
- fix #460820 - msg_footer gets its trailing spaces trimmed
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Jul 31 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.11-3
|
|
|
e7a395 |
- fix #457388 - don't call "/usr/bin/python" from /etc/cron.d/mailman
|
|
|
e7a395 |
- fix #457389 - cron complains about bad username
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jul 23 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.11-2
|
|
|
e7a395 |
- temporary fix for --fuzz=0
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jul 22 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.11-1
|
|
|
e7a395 |
- new upstream version
|
|
|
e7a395 |
- fix #246978 - FHS compliant initscript
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon May 12 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.10-1
|
|
|
e7a395 |
- new upstream version
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Feb 05 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.9-10
|
|
|
e7a395 |
- patch for CVE-2008-0564; XSS triggerable by list administrator
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Jan 10 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.9-9
|
|
|
e7a395 |
- fix #393911 - mail is not added to the archive
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Oct 16 2007 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.9-8
|
|
|
e7a395 |
- fix #333011 - withlist crashes with NameError
|
|
|
e7a395 |
- fix #350461 - init script prevents proper SELinux domain transitions
|
|
|
e7a395 |
- fix #303061 - broken multipart mail headers
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Aug 22 2007 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.9-7
|
|
|
e7a395 |
- fix #242678 wrong init script
|
|
|
e7a395 |
- fix #247160 INSTALL.REDHAT references non-existent README.POSTFIX file,
|
|
|
e7a395 |
patch by Todd Zullinger
|
|
|
e7a395 |
- fix #132495 jp character encoding is not UTF8, patch by Todd Zullinger
|
|
|
e7a395 |
- update license, add dist to release
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu May 24 2007 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.9-6
|
|
|
e7a395 |
- fix #237315 - permissions for .so files
|
|
|
e7a395 |
- fix forgotten '_(' in check_perms
|
|
|
e7a395 |
- cleanup spec file
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Jan 29 2007 Harald Hoyer <harald@redhat.com> - 3:2.1.9-5
|
|
|
e7a395 |
- mailman-2.1.9-LC_CTYPE.patch added (bug #132495)
|
|
|
e7a395 |
- Resolves: rhbz#132495
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jan 23 2007 Florian La Roche <laroche@redhat.com>
|
|
|
e7a395 |
- add fix from rhbz#219054: usage output mentions "status" option
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Oct 05 2006 David Woodhouse <dwmw2@redhat.com> - 3:2.1.9-3
|
|
|
e7a395 |
- fix broken In-Reply-To: header in mailto: URL in archives (#123768)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 3:2.1.9-2
|
|
|
e7a395 |
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Sep 25 2006 Harald Hoyer <harald@redhat.com> - 3:2.1.9-1
|
|
|
e7a395 |
- updated to mailman-2.1.9 which fixes bug #206607
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3:2.1.8-3.1
|
|
|
e7a395 |
- rebuild
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jun 27 2006 Florian La Roche <laroche@redhat.com> - 3:2.1.8-3
|
|
|
e7a395 |
- quieten postun of crontab removal
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Jun 12 2006 Harald Hoyer <harald@redhat.com> - 3:2.1.8-2
|
|
|
e7a395 |
- more build requirements
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon May 08 2006 Harald Hoyer <harald@redhat.com> - 3:2.1.8-1
|
|
|
e7a395 |
- version 2.1.8
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3:2.1.7-1.2
|
|
|
e7a395 |
- bump again for double-long bug on ppc(64)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3:2.1.7-1.1
|
|
|
e7a395 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jan 10 2006 Harald Hoyer <harald@redhat.com> - 3:2.1.7-1
|
|
|
e7a395 |
- version 2.1.7
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
e7a395 |
- rebuilt for new gcj
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Dec 14 2005 Harald Hoyer <harald@redhat.com> - 3:2.1.5-36.fc4.1
|
|
|
e7a395 |
- fix for bug #173139 (CVE-2005-3573 Mailman Denial of Service)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
e7a395 |
- rebuilt
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Nov 10 2005 Harald Hoyer <harald@redhat.com> - 3:2.1.6-2
|
|
|
e7a395 |
- added help to the initscript (bug #162724)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jun 8 2005 John Dennis <jdennis@redhat.com> - 3:2.1.6-1.fc4
|
|
|
e7a395 |
- initial port of 2.1.6
|
|
|
e7a395 |
remove mailman-2.1.5-moderator-request.patch, present in new release
|
|
|
e7a395 |
remove mailman-2.1-CAN-2005-0202.patch, present in new release
|
|
|
e7a395 |
remove mailman-2.1-CAN-2004-1177.patch, present in new release
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Apr 28 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-36.fc4
|
|
|
e7a395 |
- fix bug #156159 insecure location of restart flag file
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Mar 7 2005 John Dennis <jdennis@redhat.com> 3:2.1.5-35.fc4
|
|
|
e7a395 |
- bump rev for gcc4 build
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Mar 2 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-34.fc4
|
|
|
e7a395 |
- fix bug #150065, provide migration script for new FHS installation
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Feb 25 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-33.fc4
|
|
|
e7a395 |
- fix bug #147833, CAN-2004-1177
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Feb 14 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-31.fc4
|
|
|
e7a395 |
- fix bug #132750, add daemon to mail-gid so courier mail server will work.
|
|
|
e7a395 |
- fix bug #143008, wrong location of mailmanctl in logrotate
|
|
|
e7a395 |
- fix bug #142605, init script doesn't use /var/lock/subsys
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Feb 8 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-30.fc4
|
|
|
e7a395 |
- fix release tag
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Feb 8 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-29
|
|
|
e7a395 |
- fix security vulnerability CAN-2005-0202, errata RHSA-2005:137, bug #147344
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Nov 9 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-28
|
|
|
e7a395 |
- fix bug #137863, buildroot path in .pyc files
|
|
|
e7a395 |
|
|
|
e7a395 |
* Sat Oct 16 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-26
|
|
|
e7a395 |
- fix typo in install documentation
|
|
|
e7a395 |
- fix error in templates/Makefile.in, bad install args, fixes bug #136001,
|
|
|
e7a395 |
thank you to Kaj J. Niemi for spotting this.
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Oct 14 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-24
|
|
|
e7a395 |
- more FHS changes, matches with new SELinux security policy
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Sep 29 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-21
|
|
|
e7a395 |
- move list data dir to /var/lib/mailman to conform to FHS
|
|
|
e7a395 |
move lock dir to /var/lock/mailman to conform to FHS
|
|
|
e7a395 |
move config dir (VAR_PREFIX/data) to /etc/mailman to conform to FHS
|
|
|
e7a395 |
Thanks to Matt Domsch for pointing this out.
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Sep 28 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-20
|
|
|
e7a395 |
- fix bug #132732, security policy violations,
|
|
|
e7a395 |
- bump release verison
|
|
|
e7a395 |
move non-data installation files from /var/mailman to /usr/lib/mailman,
|
|
|
e7a395 |
update documentation
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Sep 10 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-19
|
|
|
e7a395 |
- add il18n start/stop strings to init.d script
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Sep 10 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-18
|
|
|
e7a395 |
- fix bug #89250, add condrestart
|
|
|
e7a395 |
also fix status return values in mailmanctl and init.d script
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Sep 7 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-17
|
|
|
e7a395 |
- fix bug #120930, add contents of contrib to doc area
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Sep 7 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-16
|
|
|
e7a395 |
- fix bug #121220, httpd config file tweaks
|
|
|
e7a395 |
add doc to INSTALL.REDHAT for selecting MTA
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Sep 3 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-15
|
|
|
e7a395 |
- fix bug #117615, don't overwrite user modified templates on install
|
|
|
e7a395 |
made template directory "config noreplace"
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Sep 2 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-14
|
|
|
e7a395 |
- add comments into the crontab files so users know the /etc/cron.d
|
|
|
e7a395 |
file is volitile and will edit the right file.
|
|
|
e7a395 |
Also make the master crontab file "config noreplace" so edits are preserved.
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Sep 1 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-13
|
|
|
e7a395 |
- fix bug #124208, enable mailman cron jobs from init.d rather than during installation
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Aug 31 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-12
|
|
|
e7a395 |
- fix bug #129920, cron jobs execute under wrong SELinux policy
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Aug 30 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-11
|
|
|
e7a395 |
- remove all editing of aliases file in %%pre and %%post, fixes #bug 125651
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Aug 9 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-10
|
|
|
e7a395 |
- fix bug #129492 and bug #120912
|
|
|
e7a395 |
stop using crontab to setup mailman's cron jobs,
|
|
|
e7a395 |
instead install cron script in /etc/cron.d
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Aug 9 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-9
|
|
|
e7a395 |
- apply patch to elminate "-1 LISTNAME moderator request(s) waiting" messages
|
|
|
e7a395 |
problem desciption here:
|
|
|
e7a395 |
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.038.htp
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
e7a395 |
- rebuilt
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jun 9 2004 John Dennis <jdennis@redhat.com> - 3:2.1.5-7
|
|
|
e7a395 |
- bump rev for rebuild
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jun 9 2004 John Dennis <jdennis@redhat.com> - 3:2.1.5-6
|
|
|
e7a395 |
- fix bug in pre scriplet, last command had been "service mailman stop"
|
|
|
e7a395 |
which should have been harmless if mailman was not installed except
|
|
|
e7a395 |
that it left the exit status from the script as non-zero and rpm
|
|
|
e7a395 |
aborted the install.
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jun 9 2004 John Dennis <jdennis@redhat.com> - 3:2.1.5-5
|
|
|
e7a395 |
- add status reporting to init.d control script
|
|
|
e7a395 |
stop mailman during an installation
|
|
|
e7a395 |
restart mailman if it had been running prior to installation
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Jun 7 2004 John Dennis <jdennis@redhat.com> - 3:2.1.5-4
|
|
|
e7a395 |
- back python prereq down to 2.2, should be sufficient
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu May 20 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-3
|
|
|
e7a395 |
- make python prereq be at least 2.3
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue May 18 2004 Jeremy Katz <katzj@redhat.com> 3:2.1.5-2
|
|
|
e7a395 |
- rebuild
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon May 17 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-1
|
|
|
e7a395 |
- bring up to latest 2.1.5 upstream release
|
|
|
e7a395 |
From Barry Warsaw: Mailman 2.1.5, a bug fix release that also
|
|
|
e7a395 |
contains new support for the Turkish language, and a few minor new
|
|
|
e7a395 |
features. Mailman 2.1.5 is a significant upgrade which should
|
|
|
e7a395 |
improve disk i/o performance, administrative overhead for discarding
|
|
|
e7a395 |
held spams, and the behavior of bouncing member disables. This
|
|
|
e7a395 |
version also contains a fix for an exploit that could allow 3rd
|
|
|
e7a395 |
parties to retrieve member passwords. It is thus highly recommended
|
|
|
e7a395 |
that all existing sitesupgrade to the latest version
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue May 04 2004 Warren Togami <wtogami@redhat.com> 3:2.1.4-4
|
|
|
e7a395 |
- #105638 fix bytecompile and rpm -V
|
|
|
e7a395 |
- postun /etc/postfix/aliases fix
|
|
|
e7a395 |
- clean uninstall (no more empty dirs)
|
|
|
e7a395 |
- #115378 RedirectMatch syntax fix
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
e7a395 |
- rebuilt
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Jan 9 2004 John Dennis <jdennis@finch.boston.redhat.com> 3:2.1.4-1
|
|
|
e7a395 |
- upgrade to new upstream release 2.1.4
|
|
|
e7a395 |
- fixes bugs 106349,112851,105367,91463
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
e7a395 |
- rebuilt
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed May 7 2003 John Dennis <jdennis@finch.boston.redhat.com>
|
|
|
e7a395 |
- bring up to next upstream release 2.1.2
|
|
|
e7a395 |
|
|
|
e7a395 |
* Sun May 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
e7a395 |
- fix typo in post script: mmusr -> mmuser
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Apr 24 2003 John Dennis <jdennis@finch.boston.redhat.com>
|
|
|
e7a395 |
- fix bug 72004, 74483, 74484, 87856 - improper log rotation
|
|
|
e7a395 |
- fix bug 88083 - mailman user/group needed to exist during build
|
|
|
e7a395 |
- fix bug 88144 - wrong %%file attributes on mm_cfg.py
|
|
|
e7a395 |
- fix bug 89221 - mailman user not created on install
|
|
|
e7a395 |
- fix bug 89250 - wrong pid file name in initscript
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Mar 05 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
e7a395 |
- change to /etc/rc.d/init.d as in all other rpms
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Feb 20 2003 John Dennis <jdennis@finch.boston.redhat.com>
|
|
|
e7a395 |
- change mailman login shell from /bin/false to /sbin/nologin
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Feb 14 2003 John Dennis <jdennis@finch.boston.redhat.com>
|
|
|
e7a395 |
- bring package up to 2.1.1 release, add /usr/share/doc files
|
|
|
e7a395 |
|
|
|
e7a395 |
* Sat Feb 01 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
e7a395 |
- make the icon dir owned by root:root as in other rpms
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Jan 31 2003 John Dennis <jdennis@finch.boston.redhat.com>
|
|
|
e7a395 |
- various small tweaks to the spec file to make installation cleaner
|
|
|
e7a395 |
- use %%{__python} when compiling, redirect compile output to /dev/null,
|
|
|
e7a395 |
- don't run update in %%post, let the user do it, remove the .pyc files in %%postun,
|
|
|
e7a395 |
- add setting of MAILHOST and URLHOST to localhost.localdomain, don't let
|
|
|
e7a395 |
- configure set them to the build machine.
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Jan 27 2003 John Dennis <jdennis@finch.boston.redhat.com>
|
|
|
e7a395 |
- add the cross site scripting (xss) security patch to version 2.1
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Jan 24 2003 John Dennis <jdennis@finch.boston.redhat.com>
|
|
|
e7a395 |
- do not start mailman service in %%post
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
e7a395 |
- rebuilt
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Jan 20 2003 John Dennis <jdennis@finch.boston.redhat.com>
|
|
|
e7a395 |
- 1) remove config patch, mailmanctl was not the right file to install in init.d,
|
|
|
e7a395 |
- it needed to be scripts/mailman
|
|
|
e7a395 |
- 2) rename httpd-mailman.conf to mailman.conf, since the file now lives
|
|
|
e7a395 |
- in httpd/conf.d directory the http prefix is redundant and inconsistent
|
|
|
e7a395 |
- with the other file names in that directory.
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jan 7 2003 John Dennis <jdennis@finch.boston.redhat.com>
|
|
|
e7a395 |
- Bring package up to date with current upstream source, 2.1
|
|
|
e7a395 |
- Fix several install/packaging problems that were in upstream source
|
|
|
e7a395 |
- Add multiple mail group functionality
|
|
|
e7a395 |
- Fix syntax error in fblast.py
|
|
|
e7a395 |
- Remove the forced setting of mail host and url host in mm_cfg.py
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Nov 12 2002 Tim Powers <timp@redhat.com> 2.0.13-4
|
|
|
e7a395 |
- remove files from $$RPM_BUILD_ROOT that we don't intent to ship
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Aug 15 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.13-3
|
|
|
e7a395 |
- set MAILHOST and WWWHOST in case the configure script can't figure out the
|
|
|
e7a395 |
local host name
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Aug 2 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.13-2
|
|
|
e7a395 |
- rebuild
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Aug 2 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.13-1
|
|
|
e7a395 |
- specify log files individually, per faq wizard
|
|
|
e7a395 |
- update to 2.0.13
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed May 22 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.11-1
|
|
|
e7a395 |
- update to 2.0.11
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Apr 5 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.9-1
|
|
|
e7a395 |
- include README.QMAIL in with the docs (#58887)
|
|
|
e7a395 |
- include README.SENDMAIL and README.EXIM in with the docs
|
|
|
e7a395 |
- use an included httpd.conf file instead of listing the configuration
|
|
|
e7a395 |
directives in the %%description, which due to specspo magic might look
|
|
|
e7a395 |
wrong sometimes (part of #51324)
|
|
|
e7a395 |
- interpolate the DEFAULT_HOST_NAME value in mm.cfg into both the DEFAULT_URL
|
|
|
e7a395 |
and MAILMAN_OWNER (#57987)
|
|
|
e7a395 |
- move logs to /var/log/mailman, qfiles to /var/spool/mailman, rotate
|
|
|
e7a395 |
logs in the log directory (#48724)
|
|
|
e7a395 |
- raise exceptions when someone tries to set the admin address for a list
|
|
|
e7a395 |
to that of the admin alias (#61468)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Apr 4 2002 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- fix a default permissions problem in %%{_var}/mailman/archives/private,
|
|
|
e7a395 |
reported by Johannes Erdfelt
|
|
|
e7a395 |
- update to 2.0.9
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Apr 2 2002 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- make the symlink in /etc/smrsh relative
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Dec 11 2001 Nalin Dahyabhai <nalin@redhat.com> 2.0.8-1
|
|
|
e7a395 |
- set FQDN and URL at build-time so that they won't be set to the host the
|
|
|
e7a395 |
RPM package is built on (#59177)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Nov 28 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- update to 2.0.8
|
|
|
e7a395 |
|
|
|
e7a395 |
* Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.0.7-1
|
|
|
e7a395 |
- update to 2.0.7
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jul 25 2001 Nalin Dahyabhai <nalin@redhat.com> 2.0.6-1
|
|
|
e7a395 |
- update to 2.0.6
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- code in default user/group names/IDs
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed May 30 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- update to 2.0.5
|
|
|
e7a395 |
- change the default hostname from localhost to localhost.localdomain in the
|
|
|
e7a395 |
default configuration
|
|
|
e7a395 |
- chuck configuration file settings other than those dependent on the host name
|
|
|
e7a395 |
(the build system's host name is not a good default) (#32337)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Mar 13 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- update to 2.0.3
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Mar 6 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- update to 2.0.2
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Feb 21 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- patch from Barry Warsaw (via mailman-developers) to not die on
|
|
|
e7a395 |
broken Content-Type: headers
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jan 9 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- update to 2.0.1
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Dec 6 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- update to 2.0 final release
|
|
|
e7a395 |
- move the data to %%{_var}
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri Oct 20 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- update to beta 6
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu Aug 3 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- add note about adding FollowSymlinks so that archives work
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Aug 2 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- make the default owner root again so that root owns the docs
|
|
|
e7a395 |
- update to 2.0beta5, which fixes a possible security vulnerability
|
|
|
e7a395 |
- add smrsh symlink
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
|
|
|
e7a395 |
- rebuilt
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed Jul 19 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- update to beta4
|
|
|
e7a395 |
- change uid/gid to apache.apache to match apache (#13593)
|
|
|
e7a395 |
- properly recompile byte-compiled versions of the scripts (#13619)
|
|
|
e7a395 |
- change mailman alias from root to postmaster
|
|
|
e7a395 |
|
|
|
e7a395 |
* Sat Jul 1 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- update to beta3
|
|
|
e7a395 |
- drop bugs and arch patches (integrated into beta3)
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- move web files to reside under %%{contentdir}
|
|
|
e7a395 |
- move files from /usr/share to %%{_datadir}
|
|
|
e7a395 |
- integrate spot-fixes from mailman lists via gnome.org
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- rebuild for Power Tools
|
|
|
e7a395 |
|
|
|
e7a395 |
* Wed May 24 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
e7a395 |
- Update to 2.0beta2 to pick up security fixes.
|
|
|
e7a395 |
- Change equires python to list >= 1.5.2
|
|
|
e7a395 |
|
|
|
e7a395 |
* Mon Nov 8 1999 Bernhard Rosenkränzer <bero@redhat.com>
|
|
|
e7a395 |
- 1.1
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Sep 14 1999 Preston Brown <pbrown@redhat.com>
|
|
|
e7a395 |
- 1.0 final.
|
|
|
e7a395 |
|
|
|
e7a395 |
* Tue Jun 15 1999 Preston Brown <pbrown@redhat.com>
|
|
|
e7a395 |
- security fix for cookies
|
|
|
e7a395 |
- moved to /usr/share/mailman
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri May 28 1999 Preston Brown <pbrown@redhat.com>
|
|
|
e7a395 |
- fix up default values.
|
|
|
e7a395 |
|
|
|
e7a395 |
* Fri May 07 1999 Preston Brown <pbrown@redhat.com>
|
|
|
e7a395 |
- modifications to install scripts
|
|
|
e7a395 |
|
|
|
e7a395 |
* Thu May 06 1999 Preston Brown <pbrown@redhat.com>
|
|
|
e7a395 |
- initial RPM for SWS 3.0
|