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