1 |
# Turn off the brp-python-bytecompile script |
2 |
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') |
3 |
|
4 |
%global pythondns_from_checkout 1 |
5 |
%global pythondns_commit 9329daf40d252f25597f44d5e1db8347304d707f |
6 |
%global pythondns_shortcommit %(c=%{commit}; echo ${c:0:7}) |
7 |
%global pythondns_version 1.11.1 |
8 |
%global pythondns_dir dnspython-%{?pythondns_from_checkout:%{pythondns_commit}}%{!?pythondns_from_checkout:%{pythondns_version}} |
9 |
|
10 |
%if 0%{?rhel} && 0%{?rhel} <= 6 |
11 |
%{!?__python2: %global __python2 /usr/bin/python2} |
12 |
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} |
13 |
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} |
14 |
%endif |
15 |
|
16 |
|
17 |
Summary: Mailing list manager with built in Web access |
18 |
Name: mailman |
19 |
Version: 2.1.12 |
20 |
Release: 100%{?dist} |
21 |
Epoch: 3 |
22 |
Group: Applications/Internet |
23 |
Source0: ftp://ftp.gnu.org/pub/gnu/mailman/mailman-%{version}.tgz |
24 |
#Source0: http://prdownloads.sourceforge.net/mailman/mailman-%{version}.tgz |
25 |
Source1: mm_cfg.py |
26 |
Source3: httpd-mailman.conf |
27 |
Source4: mailman.logrotate |
28 |
Source5: mailman.INSTALL.REDHAT.in |
29 |
Source6: mailman-crontab-edit |
30 |
Source7: mailman-migrate-fhs |
31 |
Source8: mailman-update-cfg |
32 |
# Mailman uses its own email module tarball and to fix #603635 there have to be |
33 |
# patched some files in that tarball. Therefore there is patches email tarball |
34 |
# added as separate source and used as replacement of original tarball. |
35 |
Source9: email-2.5.8.tar.gz |
36 |
%if 0%{?pythondns_from_checkout} |
37 |
Source10: https://github.com/rthalley/python-dns/archive/%{pythondns_commit}.tar.gz |
38 |
%else |
39 |
Source10: http://www.dnspython.org/kits/%{pythondns_version}/dnspython-%{pythondns_version}.tar.gz |
40 |
%endif |
41 |
|
42 |
Patch1: mailman-2.1.12-multimail.patch |
43 |
Patch2: mailman-2.1-build.patch |
44 |
Patch3: mailman-2.1-mailmanctl-status.patch |
45 |
Patch4: mailman-2.1.11-cron.patch |
46 |
Patch5: mailman-2.1.10-FHS.patch |
47 |
Patch6: mailman-python-compile.patch |
48 |
Patch7: mailman-2.1.10-archive-reply.patch |
49 |
#Patch8: mailman-2.1.11-lctype.patch |
50 |
Patch9: mailman-2.1.9-ctypo-new.patch |
51 |
Patch10: mailman-2.1.10-ctypefix.patch |
52 |
Patch12: mailman-2.1.9-selinux.patch |
53 |
Patch13: mailman-2.1.9-unicode.patch |
54 |
Patch14: mailman-2.1.11-fhsinit.patch |
55 |
Patch15: mailman-2.1.12-lctype.patch |
56 |
#Patch15: mailman-2.1.11-footer.patch |
57 |
Patch16: mailman-2.1.12-privurl.patch |
58 |
Patch17: mailman-2.1.12-mmcfg.patch |
59 |
Patch18: mailman-2.1.12-initcleanup.patch |
60 |
Patch19: mailman-2.1.12-codage.patch |
61 |
# the service is now off by default |
62 |
Patch20: mailman-2.1.12-init-not-on.patch |
63 |
Patch21: mailman-2.1.12-shebang.patch |
64 |
Patch22: mailman-2.1.9-CVE-2010-3089.patch |
65 |
Patch23: mailman-2.1.9-CVE-2011-0707.patch |
66 |
Patch24: mailman-2.1.13-no-from-escape.patch |
67 |
Patch25: mailman-2.1.9-pre-wrap.patch |
68 |
Patch26: mailman-2.1.12-ctype-new.patch |
69 |
Patch27: mailman-2.1.12-newlist-urlhost.patch |
70 |
Patch28: mailman-2.1.12-listadmin-flatten.patch |
71 |
Patch29: mailman-2.1.12-rmlist.patch |
72 |
Patch30: mailman-2.1.12-newlist-ja.patch |
73 |
Patch31: mailman-2.1.12-dmarc.patch |
74 |
Patch32: mailman-2.1.12-CVE-2015-2775.patch |
75 |
|
76 |
|
77 |
License: GPLv2+ |
78 |
URL: http://www.list.org/ |
79 |
BuildRoot: %{_tmppath}/%{name}-root |
80 |
Requires(pre): shadow-utils, /sbin/chkconfig, /sbin/service |
81 |
Requires: vixie-cron >= 4.1-9, httpd, python >= 2.2, mktemp |
82 |
BuildRequires: python-devel >= 2.2, automake |
83 |
BuildRequires: python-setuptools |
84 |
|
85 |
%define contentdir /var/www |
86 |
|
87 |
# Installation directories |
88 |
# rpmlint will give an error about hardcoded library path, |
89 |
# but this is necessary, because there are python executables inside, |
90 |
# which the user can run in their scripts. |
91 |
# see rhbz#226117 for more information |
92 |
%define mmdir /usr/lib/%{name} |
93 |
%define varmmdir /var/lib/%{name} |
94 |
%define docdir /usr/share/doc/%{name}-%{version} |
95 |
%define configdir /etc/%{name} |
96 |
%define datadir %{varmmdir}/data |
97 |
%define archivesdir %{varmmdir}/archives |
98 |
%define lockdir /var/lock/%{name} |
99 |
%define logdir /var/log/%{name} |
100 |
%define piddir /var/run/%{name} |
101 |
%define queuedir /var/spool/%{name} |
102 |
%define httpdconfdir /etc/httpd/conf.d |
103 |
%define restart_flag /var/run/%{name}-restart-after-rpm-install |
104 |
%define mmbuilddir %{_builddir}/%{name}-%{version} |
105 |
|
106 |
%define httpdconffile %{name}.conf |
107 |
# Now, the user and group the CGIs will expect to be run under. This should |
108 |
# match the user and group the web server is configured to run as. The scripts |
109 |
# will error out if they are invoked by any other user. |
110 |
%define cgiuser www |
111 |
%define cgigroup www |
112 |
|
113 |
# Now, the user and group the scripts will actually execute as. |
114 |
%define mmuser mailman |
115 |
%define mmuserid 41 |
116 |
%define mmgroup mailman |
117 |
%define mmgroupid 41 |
118 |
|
119 |
# Directory/File modes & permissions |
120 |
%define dirmode 2775 |
121 |
%define exemode 2755 |
122 |
|
123 |
# Now, the groups your mail spoolers run as. Sendmail uses 'mail'(12) |
124 |
# and postfix used to use 'nobody', but now uses 'postfix' |
125 |
%define mailgroup "mail postfix mailman nobody daemon" |
126 |
|
127 |
# The mail wrapper program |
128 |
%define mail_wrapper mailman |
129 |
|
130 |
%description |
131 |
Mailman is software to help manage email discussion lists, much like |
132 |
Majordomo and Smartmail. Unlike most similar products, Mailman gives |
133 |
each mailing list a webpage, and allows users to subscribe, |
134 |
unsubscribe, etc. over the Web. Even the list manager can administer |
135 |
his or her list entirely from the Web. Mailman also integrates most |
136 |
things people want to do with mailing lists, including archiving, mail |
137 |
<-> news gateways, and so on. |
138 |
|
139 |
Documentation can be found in: %{docdir} |
140 |
|
141 |
When the package has finished installing, you will need to perform some |
142 |
additional installation steps, these are described in: |
143 |
%{docdir}/INSTALL.REDHAT |
144 |
|
145 |
%prep |
146 |
#not needed anymore |
147 |
#%%define _default_patch_fuzz 3 |
148 |
|
149 |
%setup -q |
150 |
%patch1 -p1 -b .multimail |
151 |
%patch2 -p1 -b .permissions |
152 |
%patch3 -p1 -b .status |
153 |
%patch4 -p1 -b .cron |
154 |
%patch5 -p1 -b .FHS |
155 |
%patch6 -p1 -b .python-compile |
156 |
%patch7 -p1 -b .archive-in-reply-to |
157 |
#%%patch8 -p1 -b .lctype |
158 |
%patch9 -p1 -b .ctypo |
159 |
%patch10 -p1 -b .ctypefix |
160 |
%patch12 -p1 -b .selinux |
161 |
%patch13 -p1 -b .unicode |
162 |
%patch14 -p1 -b .fhsinit |
163 |
%patch15 -p1 -b .lctype |
164 |
#%%patch15 -p1 -b .footer |
165 |
%patch16 -p1 -b .privurl |
166 |
%patch17 -p1 -b .mmcfg |
167 |
%patch18 -p1 |
168 |
%patch19 -p1 |
169 |
%patch20 -p1 |
170 |
%patch21 -p1 -b .shebang |
171 |
%patch22 -b .CVE-2010-3089 |
172 |
%patch23 -b .CVE-2011-0707 |
173 |
%patch24 -b .no-from |
174 |
%patch25 -p1 |
175 |
%patch26 -p1 |
176 |
%patch27 -p1 |
177 |
%patch28 -p1 -b .flatten |
178 |
%patch29 -p1 -b .rmlist |
179 |
%patch30 -p1 -b .newlist |
180 |
%patch31 -p1 -b .dmarc |
181 |
%patch32 -p1 -b .2775 |
182 |
|
183 |
# Replaces original email-2.5.8.tar.gz with the patched one |
184 |
cp %{SOURCE9} misc/email-2.5.8.tar.gz |
185 |
|
186 |
#cp $RPM_SOURCE_DIR/mailman.INSTALL.REDHAT.in INSTALL.REDHAT.in |
187 |
cp %{SOURCE5} INSTALL.REDHAT.in |
188 |
|
189 |
# python-dns prep |
190 |
tar -xf %{SOURCE10} |
191 |
pushd %{pythondns_dir} |
192 |
# strip executable permissions so that we don't pick up dependencies |
193 |
# from documentation |
194 |
find examples -type f | xargs chmod a-x |
195 |
popd |
196 |
|
197 |
%build |
198 |
|
199 |
CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS |
200 |
rm -f configure |
201 |
aclocal |
202 |
autoconf |
203 |
# rpmlint will give an error about hardcoded library path, |
204 |
# but this is necessary, because there are python executables inside, |
205 |
# which the user can run in their scripts. |
206 |
# see rhbz#226117 for more information |
207 |
./configure \ |
208 |
--libdir=/usr/lib \ |
209 |
--prefix=%{mmdir} \ |
210 |
--with-var-prefix=%{varmmdir} \ |
211 |
--with-config-dir=%{configdir} \ |
212 |
--with-lock-dir=%{lockdir} \ |
213 |
--with-log-dir=%{logdir} \ |
214 |
--with-pid-dir=%{piddir} \ |
215 |
--with-queue-dir=%{queuedir} \ |
216 |
--with-python=%{__python} \ |
217 |
--with-mail-gid=%{mailgroup} \ |
218 |
--with-cgi-id=%{cgiuser} \ |
219 |
--with-cgi-gid=%{cgigroup} \ |
220 |
--with-mailhost=localhost.localdomain \ |
221 |
--with-urlhost=localhost.localdomain \ |
222 |
--without-permcheck |
223 |
|
224 |
function SubstituteParameters() |
225 |
{ |
226 |
sed -e 's|@VAR_PREFIX@|%{varmmdir}|g' \ |
227 |
-e 's|@VARMMDIR@|%{varmmdir}|g' \ |
228 |
-e 's|@prefix@|%{mmdir}|g' \ |
229 |
-e 's|@MMDIR@|%{mmdir}|g' \ |
230 |
-e 's|@CONFIG_DIR@|%{configdir}|g' \ |
231 |
-e 's|@DATA_DIR@|%{datadir}|g' \ |
232 |
-e 's|@LOCK_DIR@|%{lockdir}|g' \ |
233 |
-e 's|@LOG_DIR@|%{logdir}|g' \ |
234 |
-e 's|@PID_DIR@|%{piddir}|g' \ |
235 |
-e 's|@QUEUE_DIR@|%{queuedir}|g' \ |
236 |
-e 's|@DOC_DIR@|%{docdir}|g' \ |
237 |
-e 's|@HTTPD_CONF_DIR@|%{httpdconfdir}|g' \ |
238 |
-e 's|@HTTPD_CONF_FILE@|%{httpdconffile}|g' \ |
239 |
$1 > $2 |
240 |
} |
241 |
|
242 |
SubstituteParameters "INSTALL.REDHAT.in" "INSTALL.REDHAT" |
243 |
SubstituteParameters "%{SOURCE1}" "Mailman/mm_cfg.py.dist" |
244 |
SubstituteParameters "%{SOURCE3}" "httpd-mailman.conf" |
245 |
SubstituteParameters "%{SOURCE4}" "mailman.logrotate" |
246 |
|
247 |
make |
248 |
|
249 |
# python-dns build |
250 |
pushd %{pythondns_dir} |
251 |
CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build |
252 |
popd |
253 |
|
254 |
%install |
255 |
rm -fr $RPM_BUILD_ROOT |
256 |
# Normal install. |
257 |
make DESTDIR=$RPM_BUILD_ROOT install |
258 |
#make install prefix=$RPM_BUILD_ROOT%{mmdir} var_prefix=$RPM_BUILD_ROOT%{varmmdir} |
259 |
|
260 |
# Install the mailman init.d script |
261 |
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d |
262 |
install $RPM_BUILD_ROOT%{mmdir}/scripts/mailman $RPM_BUILD_ROOT/etc/rc.d/init.d/mailman |
263 |
|
264 |
# Install the mailman cron.d script |
265 |
mkdir -p $RPM_BUILD_ROOT/etc/cron.d |
266 |
cat > $RPM_BUILD_ROOT/etc/cron.d/%{name} <<EOF |
267 |
# DO NOT EDIT THIS FILE! |
268 |
# |
269 |
# Contents of this file managed by /etc/init.d/%{name} |
270 |
# Master copy is %{mmdir}/cron/crontab.in |
271 |
# Consult that file for documentation |
272 |
EOF |
273 |
|
274 |
# Copy the icons into the web server's icons directory. |
275 |
mkdir -p $RPM_BUILD_ROOT%{contentdir}/icons |
276 |
cp $RPM_BUILD_ROOT/%{mmdir}/icons/* $RPM_BUILD_ROOT%{contentdir}/icons |
277 |
|
278 |
# Create a link to the wrapper in /etc/smrsh to allow sendmail to run it. |
279 |
# The link should be relative in order to make it work in chroot |
280 |
mkdir -p $RPM_BUILD_ROOT/etc/smrsh |
281 |
ln -s ../..%{mmdir}/mail/%{mail_wrapper} $RPM_BUILD_ROOT/etc/smrsh |
282 |
|
283 |
# Create a link so that the config file mm_cfg.py appears in config |
284 |
# directory /etc/mailman. We don't put mm_cfg.py in the config directory |
285 |
# because its executable code (python file) and the security policy wants |
286 |
# to keep executable code out of /etc and inside of a lib directory instead, |
287 |
# and because traditionally mm_cfg.py was in the Mailman subdirectory and |
288 |
# experienced mailman admins will expect to find it there. But having it |
289 |
# "appear" in the config directory is good practice and heading in the |
290 |
# right direction for FHS compliance. |
291 |
mkdir -p $RPM_BUILD_ROOT%{configdir} |
292 |
ln -s %{mmdir}/Mailman/mm_cfg.py $RPM_BUILD_ROOT%{configdir} |
293 |
|
294 |
# sitelist.cfg used to live in the DATA_DIR, now as part of the |
295 |
# FHS reoraganization it lives in the CONFIG_DIR. Most of the |
296 |
# documentation refers to it in its DATA_DIR location and experienced |
297 |
# admins will expect to find it there, so create a link in DATA_DIR to |
298 |
# point to it in CONFIG_DIR so people aren't confused. |
299 |
ln -s %{configdir}/sitelist.cfg $RPM_BUILD_ROOT%{datadir} |
300 |
|
301 |
# Install a logrotate control file. |
302 |
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d |
303 |
install -m644 %{mmbuilddir}/mailman.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/%{name} |
304 |
|
305 |
# Install the httpd configuration file. |
306 |
install -m755 -d $RPM_BUILD_ROOT%{httpdconfdir} |
307 |
install -m644 %{mmbuilddir}/httpd-mailman.conf $RPM_BUILD_ROOT%{httpdconfdir}/%{httpdconffile} |
308 |
|
309 |
# Install the documentation files |
310 |
install -m755 -d $RPM_BUILD_ROOT%{docdir} |
311 |
install -m644 %{mmbuilddir}/INSTALL.REDHAT $RPM_BUILD_ROOT%{docdir} |
312 |
install -m644 %{mmbuilddir}/ACKNOWLEDGMENTS $RPM_BUILD_ROOT%{docdir} |
313 |
install -m644 %{mmbuilddir}/FAQ $RPM_BUILD_ROOT%{docdir} |
314 |
install -m644 %{mmbuilddir}/NEWS $RPM_BUILD_ROOT%{docdir} |
315 |
install -m644 %{mmbuilddir}/README $RPM_BUILD_ROOT%{docdir} |
316 |
install -m644 %{mmbuilddir}/README.CONTRIB $RPM_BUILD_ROOT%{docdir} |
317 |
install -m644 %{mmbuilddir}/README-I18N.en $RPM_BUILD_ROOT%{docdir} |
318 |
install -m644 %{mmbuilddir}/README.NETSCAPE $RPM_BUILD_ROOT%{docdir} |
319 |
install -m644 %{mmbuilddir}/README.USERAGENT $RPM_BUILD_ROOT%{docdir} |
320 |
install -m644 %{mmbuilddir}/STYLEGUIDE.txt $RPM_BUILD_ROOT%{docdir} |
321 |
install -m644 %{mmbuilddir}/UPGRADING $RPM_BUILD_ROOT%{docdir} |
322 |
|
323 |
cp -r %{mmbuilddir}/contrib $RPM_BUILD_ROOT%{docdir} |
324 |
install -m644 %{SOURCE7} $RPM_BUILD_ROOT%{docdir}/contrib/migrate-fhs |
325 |
install -m755 -d $RPM_BUILD_ROOT%{docdir}/admin |
326 |
cp -r %{mmbuilddir}/doc $RPM_BUILD_ROOT%{docdir}/admin |
327 |
|
328 |
#install the script for updating the config (bz#484328) |
329 |
mkdir -p $RPM_BUILD_ROOT%{_bindir} |
330 |
install -m755 %{SOURCE8} $RPM_BUILD_ROOT%{_bindir} |
331 |
# set library path in mailman-update-cfg script. |
332 |
sed -i 's,@mmdir@,%{mmdir},g' $RPM_BUILD_ROOT%{_bindir}/mailman-update-cfg |
333 |
|
334 |
# remove dir/files from $RPM_BUILD_ROOT that we aren't shipping |
335 |
rm -rf $RPM_BUILD_ROOT%{varmmdir}/icons |
336 |
|
337 |
# The file fblast confuses /usr/lib/rpm/find-requires because its an executable |
338 |
# script file that does not have the interpreter as the first line, its not |
339 |
# executable by itself so turn off its execute permissions |
340 |
chmod 0644 $RPM_BUILD_ROOT/%{mmdir}/tests/fblast.py |
341 |
|
342 |
# Security issues... |
343 |
chmod 0755 $RPM_BUILD_ROOT/%{mmdir}/pythonlib/japanese/c/_japanese_codecs.so |
344 |
chmod 0755 $RPM_BUILD_ROOT/%{mmdir}/pythonlib/korean/c/hangul.so |
345 |
chmod 0755 $RPM_BUILD_ROOT/%{mmdir}/pythonlib/korean/c/_koco.so |
346 |
|
347 |
# Remove write permissions from grorup and others |
348 |
find $RPM_BUILD_ROOT/%{mmdir}/pythonlib/ -type f -perm -g=w -exec chmod g-w,o-w {} \; |
349 |
find $RPM_BUILD_ROOT/%{mmdir}/ -type d -exec chmod g-w,o-w {} \; |
350 |
|
351 |
# Directories... |
352 |
mkdir -p $RPM_BUILD_ROOT/%{lockdir} |
353 |
mkdir -p $RPM_BUILD_ROOT/%{logdir} |
354 |
mkdir -p $RPM_BUILD_ROOT/%{piddir} |
355 |
mkdir -p $RPM_BUILD_ROOT/%{queuedir} |
356 |
|
357 |
# py_byte_compile files in mmdir |
358 |
find $RPM_BUILD_ROOT/%{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:]]' || : |
359 |
find $RPM_BUILD_ROOT/%{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:]]' || : |
360 |
|
361 |
# py_byte_compile files in docdir |
362 |
find $RPM_BUILD_ROOT/%{docdir}/ -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:]]' || : |
363 |
find $RPM_BUILD_ROOT/%{docdir}/ -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:]]' || : |
364 |
|
365 |
# python-dns install |
366 |
pushd %{pythondns_dir} |
367 |
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot} |
368 |
mv %{buildroot}%{python2_sitelib}/dns %{buildroot}%{mmdir}/Mailman |
369 |
rm -rf %{buildroot}%{python2_sitelib} |
370 |
popd |
371 |
|
372 |
%clean |
373 |
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/files.%{name} |
374 |
|
375 |
%pre |
376 |
|
377 |
# Make sure the user "mailman" exists on this system and has the correct values |
378 |
if grep -q "^mailman:" /etc/group 2> /dev/null ; then |
379 |
/usr/sbin/groupmod -g %{mmgroupid} -n %{mmgroup} %{mmgroup} 2> /dev/null || : |
380 |
else |
381 |
/usr/sbin/groupadd -g %{mmgroupid} %{mmgroup} 2> /dev/null || : |
382 |
fi |
383 |
if grep -q "^mailman:" /etc/passwd 2> /dev/null ; then |
384 |
/usr/sbin/usermod -s /sbin/nologin -c "GNU Mailing List Manager" -d %{mmdir} -u %{mmuserid} -g %{mmgroupid} %{mmuser} 2> /dev/null || : |
385 |
else |
386 |
/usr/sbin/useradd -s /sbin/nologin -c "GNU Mailing List Manager" -d %{mmdir} -u %{mmuserid} -g %{mmgroupid} -M -r %{mmuser} 2> /dev/null || : |
387 |
fi |
388 |
|
389 |
# Mailman should never be running during an install, but a package upgrade |
390 |
# shouldn't silently stop the service, so if mailman was running |
391 |
# we'll leave a temp file in the lock directory as a flag so in |
392 |
# the post install phase we can restart it. |
393 |
if [ -d %{lockdir} ]; then |
394 |
rm -f %{restart_flag} |
395 |
/sbin/service %{name} status >/dev/null 2>&1 |
396 |
if [ $? -eq 0 ]; then |
397 |
touch %{restart_flag} |
398 |
/sbin/service %{name} stop >/dev/null 2>&1 |
399 |
fi |
400 |
fi |
401 |
# rpm should not abort if last command run had non-zero exit status, exit cleanly |
402 |
exit 0 |
403 |
|
404 |
%post |
405 |
# We no longer use crontab, but previous versions of the spec file did, so clean up |
406 |
if [ -f /var/spool/cron/%{mmuser} ]; then |
407 |
crontab -u %{mmuser} -r |
408 |
fi |
409 |
|
410 |
# This adds the proper /etc/rc*.d links for the script that runs the mailman qrunner daemon |
411 |
chkconfig --add mailman |
412 |
|
413 |
# Restart mailman if it had been running before installation |
414 |
if [ -e %{restart_flag} ]; then |
415 |
rm %{restart_flag} |
416 |
/sbin/service %{name} start >/dev/null 2>&1 |
417 |
fi |
418 |
# rpm should not abort if last command run had non-zero exit status, exit cleanly |
419 |
exit 0 |
420 |
|
421 |
%preun |
422 |
|
423 |
# if [ $1 = 0 ]' checks that this is the actual deinstallation of |
424 |
# the package, as opposed to just removing the old package on upgrade. |
425 |
|
426 |
if [ $1 = 0 ]; then |
427 |
# These statements stop the service, and remove the /etc/rc*.d links. |
428 |
/sbin/service %{name} stop >/dev/null 2>&1 |
429 |
/sbin/chkconfig --del %{name} |
430 |
fi |
431 |
# rpm should not abort if last command run had non-zero exit status, exit cleanly |
432 |
exit 0 |
433 |
|
434 |
%postun |
435 |
if [ $1 = 0 ]; then |
436 |
crontab -u %{mmuser} -r 2>/dev/null |
437 |
fi |
438 |
# rpm should not abort if last command run had non-zero exit status, exit cleanly |
439 |
exit 0 |
440 |
|
441 |
%files |
442 |
%defattr(-,root,%{mmgroup}) |
443 |
%dir %{mmdir} |
444 |
#%%{mmdir}/Mailman |
445 |
%{mmdir}/bin |
446 |
%{mmdir}/cgi-bin |
447 |
#%%{mmdir}/cron |
448 |
%{mmdir}/icons |
449 |
%{mmdir}/mail |
450 |
%{mmdir}/messages |
451 |
%{mmdir}/pythonlib |
452 |
%{mmdir}/scripts |
453 |
%config(noreplace) %{mmdir}/templates |
454 |
%{mmdir}/tests |
455 |
%{varmmdir} |
456 |
#cron dir minus one file which is listed later |
457 |
%dir %attr(2755,root,%{mmgroup}) %{mmdir} |
458 |
%{mmdir}/cron/bumpdigests |
459 |
%{mmdir}/cron/checkdbs |
460 |
%{mmdir}/cron/cull_bad_shunt |
461 |
%{mmdir}/cron/disabled |
462 |
%{mmdir}/cron/gate_news |
463 |
%{mmdir}/cron/mailpasswds |
464 |
%{mmdir}/cron/nightly_gzip |
465 |
%{mmdir}/cron/paths.py |
466 |
%{mmdir}/cron/paths.pyc |
467 |
%{mmdir}/cron/paths.pyo |
468 |
%{mmdir}/cron/senddigests |
469 |
%{mmdir}/Mailman/dns |
470 |
#Mailman dir minus one file which is listed later |
471 |
%{mmdir}/Mailman/Archiver |
472 |
%{mmdir}/Mailman/Autoresponder.py |
473 |
%{mmdir}/Mailman/Autoresponder.pyc |
474 |
%{mmdir}/Mailman/Autoresponder.pyo |
475 |
%{mmdir}/Mailman/Bouncer.py |
476 |
%{mmdir}/Mailman/Bouncer.pyc |
477 |
%{mmdir}/Mailman/Bouncer.pyo |
478 |
%{mmdir}/Mailman/Bouncers |
479 |
%{mmdir}/Mailman/Cgi |
480 |
%{mmdir}/Mailman/Commands |
481 |
%{mmdir}/Mailman/Defaults.py |
482 |
%{mmdir}/Mailman/Defaults.pyc |
483 |
%{mmdir}/Mailman/Defaults.pyo |
484 |
%{mmdir}/Mailman/Deliverer.py |
485 |
%{mmdir}/Mailman/Deliverer.pyc |
486 |
%{mmdir}/Mailman/Deliverer.pyo |
487 |
%{mmdir}/Mailman/Digester.py |
488 |
%{mmdir}/Mailman/Digester.pyc |
489 |
%{mmdir}/Mailman/Digester.pyo |
490 |
%{mmdir}/Mailman/Errors.py |
491 |
%{mmdir}/Mailman/Errors.pyc |
492 |
%{mmdir}/Mailman/Errors.pyo |
493 |
%{mmdir}/Mailman/GatewayManager.py |
494 |
%{mmdir}/Mailman/GatewayManager.pyc |
495 |
%{mmdir}/Mailman/GatewayManager.pyo |
496 |
%{mmdir}/Mailman/Gui |
497 |
%{mmdir}/Mailman/Handlers |
498 |
%{mmdir}/Mailman/htmlformat.py |
499 |
%{mmdir}/Mailman/htmlformat.pyc |
500 |
%{mmdir}/Mailman/htmlformat.pyo |
501 |
%{mmdir}/Mailman/HTMLFormatter.py |
502 |
%{mmdir}/Mailman/HTMLFormatter.pyc |
503 |
%{mmdir}/Mailman/HTMLFormatter.pyo |
504 |
%{mmdir}/Mailman/i18n.py |
505 |
%{mmdir}/Mailman/i18n.pyc |
506 |
%{mmdir}/Mailman/i18n.pyo |
507 |
%{mmdir}/Mailman/__init__.py |
508 |
%{mmdir}/Mailman/__init__.pyc |
509 |
%{mmdir}/Mailman/__init__.pyo |
510 |
%{mmdir}/Mailman/ListAdmin.py |
511 |
%{mmdir}/Mailman/ListAdmin.pyc |
512 |
%{mmdir}/Mailman/ListAdmin.pyo |
513 |
%{mmdir}/Mailman/LockFile.py |
514 |
%{mmdir}/Mailman/LockFile.pyc |
515 |
%{mmdir}/Mailman/LockFile.pyo |
516 |
%{mmdir}/Mailman/Logging |
517 |
%{mmdir}/Mailman/Mailbox.py |
518 |
%{mmdir}/Mailman/Mailbox.pyc |
519 |
%{mmdir}/Mailman/Mailbox.pyo |
520 |
%{mmdir}/Mailman/MailList.py |
521 |
%{mmdir}/Mailman/MailList.pyc |
522 |
%{mmdir}/Mailman/MailList.pyo |
523 |
%{mmdir}/Mailman/MemberAdaptor.py |
524 |
%{mmdir}/Mailman/MemberAdaptor.pyc |
525 |
%{mmdir}/Mailman/MemberAdaptor.pyo |
526 |
%{mmdir}/Mailman/Message.py |
527 |
%{mmdir}/Mailman/Message.pyc |
528 |
%{mmdir}/Mailman/Message.pyo |
529 |
%{mmdir}/Mailman/mm_cfg.py.dist |
530 |
%{mmdir}/Mailman/MTA |
531 |
%{mmdir}/Mailman/OldStyleMemberships.py |
532 |
%{mmdir}/Mailman/OldStyleMemberships.pyc |
533 |
%{mmdir}/Mailman/OldStyleMemberships.pyo |
534 |
%{mmdir}/Mailman/Pending.py |
535 |
%{mmdir}/Mailman/Pending.pyc |
536 |
%{mmdir}/Mailman/Pending.pyo |
537 |
%{mmdir}/Mailman/Post.py |
538 |
%{mmdir}/Mailman/Post.pyc |
539 |
%{mmdir}/Mailman/Post.pyo |
540 |
%{mmdir}/Mailman/Queue |
541 |
%{mmdir}/Mailman/SafeDict.py |
542 |
%{mmdir}/Mailman/SafeDict.pyc |
543 |
%{mmdir}/Mailman/SafeDict.pyo |
544 |
%{mmdir}/Mailman/SecurityManager.py |
545 |
%{mmdir}/Mailman/SecurityManager.pyc |
546 |
%{mmdir}/Mailman/SecurityManager.pyo |
547 |
%{mmdir}/Mailman/Site.py |
548 |
%{mmdir}/Mailman/Site.pyc |
549 |
%{mmdir}/Mailman/Site.pyo |
550 |
%{mmdir}/Mailman/TopicMgr.py |
551 |
%{mmdir}/Mailman/TopicMgr.pyc |
552 |
%{mmdir}/Mailman/TopicMgr.pyo |
553 |
%{mmdir}/Mailman/UserDesc.py |
554 |
%{mmdir}/Mailman/UserDesc.pyc |
555 |
%{mmdir}/Mailman/UserDesc.pyo |
556 |
%{mmdir}/Mailman/Utils.py |
557 |
%{mmdir}/Mailman/Utils.pyc |
558 |
%{mmdir}/Mailman/Utils.pyo |
559 |
%{mmdir}/Mailman/Version.py |
560 |
%{mmdir}/Mailman/Version.pyc |
561 |
%{mmdir}/Mailman/Version.pyo |
562 |
%{mmdir}/Mailman/versions.py |
563 |
%{mmdir}/Mailman/versions.pyc |
564 |
%{mmdir}/Mailman/versions.pyo |
565 |
%doc %{docdir} |
566 |
%dir %attr(0755,root,root) %{contentdir}/icons |
567 |
%attr(0644,root,root) %{contentdir}/icons/* |
568 |
%attr(0644, root, %{mmgroup}) %config(noreplace) %verify(not md5 size mtime) %{mmdir}/Mailman/mm_cfg.py |
569 |
%verify(not md5 size mtime) %{mmdir}/Mailman/mm_cfg.pyc |
570 |
%verify(not md5 size mtime) %{mmdir}/Mailman/mm_cfg.pyo |
571 |
%config(noreplace) %{httpdconfdir}/%{httpdconffile} |
572 |
/etc/logrotate.d/%{name} |
573 |
/etc/smrsh/%{mail_wrapper} |
574 |
%dir %attr(2775,root,%{mmgroup}) %{configdir} |
575 |
%attr(0644, root, %{mmgroup}) %config(noreplace) %verify(not md5 size mtime) %{configdir}/sitelist.cfg |
576 |
%{configdir}/mm_cfg.py |
577 |
%attr(2775,root,%{mmgroup}) %{lockdir} |
578 |
%attr(2775,root,%{mmgroup}) %{logdir} |
579 |
%attr(2775,root,%{mmgroup}) %{queuedir} |
580 |
%attr(2775,root,%{mmgroup}) %{piddir} |
581 |
%attr(0755,root,root) /etc/rc.d/init.d/%{name} |
582 |
%attr(0644,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/cron.d/mailman |
583 |
%attr(0644,root,%{mmgroup}) %config(noreplace) %{mmdir}/cron/crontab.in |
584 |
%attr(0755,root,root) %{_bindir}/mailman-update-cfg |
585 |
# fix for security issue #1214147 |
586 |
%attr(2770,%{mmuser},%{cgigroup}) %{archivesdir}/private |
587 |
|
588 |
%changelog |
589 |
* Sun Aug 23 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 3:2.1.12-100.sme |
590 |
- changed cgi user and cgi group to www for SME Server 9.0 |
591 |
- last version modified is 3:2.1.12-25 |
592 |
|
593 |
* Wed Apr 22 2015 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-25 |
594 |
- fix CVE-2002-0389 - local users able to read private mailing list archives |
595 |
|
596 |
* Wed Apr 22 2015 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-24 |
597 |
- fix CVE-2015-2775 - directory traversal in MTA transports |
598 |
|
599 |
* Mon Mar 16 2015 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-23 |
600 |
- fix #1095359 - handle update when some mailing lists have been created |
601 |
by newer Mailman than this one |
602 |
|
603 |
* Mon Mar 16 2015 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-22 |
604 |
- fix #1095359 - add support for DMARC |
605 |
|
606 |
* Tue Feb 03 2015 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-21 |
607 |
- fix #1056366 - fix bad subject of the welcome email when creating list using |
608 |
newlist command |
609 |
|
610 |
* Fri Jan 30 2015 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-20 |
611 |
- fix #745409 - do not set Indexes in httpd configuration for public archive |
612 |
- fix #1008139 - fix traceback when list_data_dir is not a child of var_prefix |
613 |
|
614 |
* Mon Dec 01 2014 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-19 |
615 |
- fix #765807 - fix traceback when message is received to moderated list |
616 |
|
617 |
* Fri Jun 20 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 3:2.1.12-25.sme |
618 |
- changed cgi user and cgi group to www for SME Server 9.0 |
619 |
- last version modified is 3:2.1.12-18 |
620 |
|
621 |
* Mon Jul 30 2012 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-18 |
622 |
- fix #834023 - escape From in email body properly |
623 |
- fix #832920 - fix word-wrap in web front-end |
624 |
- fix #772998 - fix reset_pw.py script |
625 |
- fix #799323 - handle urlhost in newlist script |
626 |
|
627 |
* Fri Jun 24 2011 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-17 |
628 |
- fix #703389 - fixed file permissions in /usr/lib/mailman |
629 |
- fix #636825 - fix #!/usr/bin/env python shebang in migrate-fhs |
630 |
- fix #704699 - fixed directories permissions in /usr/lib/mailman |
631 |
- fix #684622 - do not create and install /etc/mailman/mm_cfg.pyc and pyo files |
632 |
|
633 |
* Tue Feb 22 2011 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-16 |
634 |
- fix #677849 - fixed build problem without brew |
635 |
|
636 |
* Mon Feb 21 2011 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-15 |
637 |
- fix #677849 - fixed CVE-2010-3089 and CVE-2011-0707 |
638 |
|
639 |
* Mon Jun 21 2010 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-14 |
640 |
- fix #606311 - better RedirectMatch for default httpd-mailman.conf |
641 |
|
642 |
* Thu Jun 17 2010 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-13 |
643 |
- fix #605171 - fix instances of #!/usr/bin/env python in mailman |
644 |
|
645 |
* Mon Jun 14 2010 Jan Kaluza <jkaluza@redhat.com> 3:2.1.12-12 |
646 |
- fix #603635 - break CC field correctly |
647 |
|
648 |
* Tue Apr 20 2010 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-11 |
649 |
-fix #583967 - mailman-update-cfg script should use %%{mmdir}, not %%{_libdir} |
650 |
|
651 |
* Mon Mar 22 2010 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-10 |
652 |
- fix #575702 - Pull recent enhancements from Rawhide |
653 |
|
654 |
* Mon Nov 30 2009 Dennis Gregorovic <dgregor@redhat.com> - 3:2.1.12-9.1 |
655 |
- Rebuilt for RHEL 6 |
656 |
|
657 |
* Tue Jul 28 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-9 |
658 |
- regenerated patches so patch fuzz 3 is not needed (bz#513207) |
659 |
- mm_cfg.pyc and .pyo are now %%verify(not md5 size mtime) (bz#512794) |
660 |
|
661 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:2.1.12-8 |
662 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
663 |
|
664 |
* Wed Jul 22 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-7 |
665 |
- fix bz#512798 - Mailman path in /usr/bin/mailman-update-cfg |
666 |
is incorrect on x86_64. |
667 |
- added explanation comment in mailman-update-cfg, to justify |
668 |
why this script is needed |
669 |
|
670 |
* Wed Jul 08 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-6 |
671 |
- fix bz#509689 - please remove execute perms |
672 |
|
673 |
* Tue Jul 07 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-5 |
674 |
- hardcoded library path removed |
675 |
- mixed use of spaces and tabs fixed |
676 |
- added --libdir to configure |
677 |
- fixed URL to tarball |
678 |
- permissions of source files changed to 0644 |
679 |
- got rid of "file listed twice" warnings: listing the files explicitly |
680 |
- all this were cleanups for merge review (#226117) |
681 |
|
682 |
* Thu Apr 02 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-4 |
683 |
- fix bz#481446 (Recompile of mailman's config causes SElinux denials) |
684 |
|
685 |
* Tue Mar 31 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-3 |
686 |
- fix bz#447784 (List-Archive URL for private archives broken) |
687 |
|
688 |
* Mon Mar 30 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-2 |
689 |
- "AddDefaultCharset Off" in httpd configuration (#463115) |
690 |
|
691 |
* Wed Mar 11 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.12-1 |
692 |
- upgrade to 2.1.12, drop upstreamed patches, rebase other patches |
693 |
|
694 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:2.1.11-7 |
695 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
696 |
|
697 |
* Thu Feb 12 2009 Daniel Novotny <dnovotny@redhat.com> 3:2.1.11-6 |
698 |
- added a script to recompile the config file b/c of selinux policy |
699 |
(bz#484328) |
700 |
|
701 |
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 3:2.1.11-5 |
702 |
- Rebuild for Python 2.6 |
703 |
|
704 |
* Wed Oct 29 2008 Daniel Novotny <dnovotny@redhat.com> 3:2.1.11-4 |
705 |
fix #460820 - msg_footer gets its trailing spaces trimmed |
706 |
|
707 |
* Thu Jul 31 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.11-3 |
708 |
- fix #457388 - don't call "/usr/bin/python" from /etc/cron.d/mailman |
709 |
- fix #457389 - cron complains about bad username |
710 |
|
711 |
* Wed Jul 23 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.11-2 |
712 |
- temporary fix for --fuzz=0 |
713 |
|
714 |
* Tue Jul 22 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.11-1 |
715 |
- new upstream version |
716 |
- fix #246978 - FHS compliant initscript |
717 |
|
718 |
* Mon May 12 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.10-1 |
719 |
- new upstream version |
720 |
|
721 |
* Tue Feb 05 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.9-10 |
722 |
- patch for CVE-2008-0564; XSS triggerable by list administrator |
723 |
|
724 |
* Thu Jan 10 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.9-9 |
725 |
- fix #393911 - mail is not added to the archive |
726 |
|
727 |
* Tue Oct 16 2007 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.9-8 |
728 |
- fix #333011 - withlist crashes with NameError |
729 |
- fix #350461 - init script prevents proper SELinux domain transitions |
730 |
- fix #303061 - broken multipart mail headers |
731 |
|
732 |
* Wed Aug 22 2007 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.9-7 |
733 |
- fix #242678 wrong init script |
734 |
- fix #247160 INSTALL.REDHAT references non-existent README.POSTFIX file, |
735 |
patch by Todd Zullinger |
736 |
- fix #132495 jp character encoding is not UTF8, patch by Todd Zullinger |
737 |
- update license, add dist to release |
738 |
|
739 |
* Thu May 24 2007 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.9-6 |
740 |
- fix #237315 - permissions for .so files |
741 |
- fix forgotten '_(' in check_perms |
742 |
- cleanup spec file |
743 |
|
744 |
* Mon Jan 29 2007 Harald Hoyer <harald@redhat.com> - 3:2.1.9-5 |
745 |
- mailman-2.1.9-LC_CTYPE.patch added (bug #132495) |
746 |
- Resolves: rhbz#132495 |
747 |
|
748 |
* Tue Jan 23 2007 Florian La Roche <laroche@redhat.com> |
749 |
- add fix from rhbz#219054: usage output mentions "status" option |
750 |
|
751 |
* Thu Oct 05 2006 David Woodhouse <dwmw2@redhat.com> - 3:2.1.9-3 |
752 |
- fix broken In-Reply-To: header in mailto: URL in archives (#123768) |
753 |
|
754 |
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 3:2.1.9-2 |
755 |
- rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
756 |
|
757 |
* Mon Sep 25 2006 Harald Hoyer <harald@redhat.com> - 3:2.1.9-1 |
758 |
- updated to mailman-2.1.9 which fixes bug #206607 |
759 |
|
760 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3:2.1.8-3.1 |
761 |
- rebuild |
762 |
|
763 |
* Tue Jun 27 2006 Florian La Roche <laroche@redhat.com> - 3:2.1.8-3 |
764 |
- quieten postun of crontab removal |
765 |
|
766 |
* Mon Jun 12 2006 Harald Hoyer <harald@redhat.com> - 3:2.1.8-2 |
767 |
- more build requirements |
768 |
|
769 |
* Mon May 08 2006 Harald Hoyer <harald@redhat.com> - 3:2.1.8-1 |
770 |
- version 2.1.8 |
771 |
|
772 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3:2.1.7-1.2 |
773 |
- bump again for double-long bug on ppc(64) |
774 |
|
775 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3:2.1.7-1.1 |
776 |
- rebuilt for new gcc4.1 snapshot and glibc changes |
777 |
|
778 |
* Tue Jan 10 2006 Harald Hoyer <harald@redhat.com> - 3:2.1.7-1 |
779 |
- version 2.1.7 |
780 |
|
781 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> |
782 |
- rebuilt for new gcj |
783 |
|
784 |
* Wed Dec 14 2005 Harald Hoyer <harald@redhat.com> - 3:2.1.5-36.fc4.1 |
785 |
- fix for bug #173139 (CVE-2005-3573 Mailman Denial of Service) |
786 |
|
787 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
788 |
- rebuilt |
789 |
|
790 |
* Thu Nov 10 2005 Harald Hoyer <harald@redhat.com> - 3:2.1.6-2 |
791 |
- added help to the initscript (bug #162724) |
792 |
|
793 |
* Wed Jun 8 2005 John Dennis <jdennis@redhat.com> - 3:2.1.6-1.fc4 |
794 |
- initial port of 2.1.6 |
795 |
remove mailman-2.1.5-moderator-request.patch, present in new release |
796 |
remove mailman-2.1-CAN-2005-0202.patch, present in new release |
797 |
remove mailman-2.1-CAN-2004-1177.patch, present in new release |
798 |
|
799 |
* Thu Apr 28 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-36.fc4 |
800 |
- fix bug #156159 insecure location of restart flag file |
801 |
|
802 |
* Mon Mar 7 2005 John Dennis <jdennis@redhat.com> 3:2.1.5-35.fc4 |
803 |
- bump rev for gcc4 build |
804 |
|
805 |
* Wed Mar 2 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-34.fc4 |
806 |
- fix bug #150065, provide migration script for new FHS installation |
807 |
|
808 |
* Fri Feb 25 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-33.fc4 |
809 |
- fix bug #147833, CAN-2004-1177 |
810 |
|
811 |
* Mon Feb 14 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-31.fc4 |
812 |
- fix bug #132750, add daemon to mail-gid so courier mail server will work. |
813 |
- fix bug #143008, wrong location of mailmanctl in logrotate |
814 |
- fix bug #142605, init script doesn't use /var/lock/subsys |
815 |
|
816 |
* Tue Feb 8 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-30.fc4 |
817 |
- fix release tag |
818 |
|
819 |
* Tue Feb 8 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-29 |
820 |
- fix security vulnerability CAN-2005-0202, errata RHSA-2005:137, bug #147344 |
821 |
|
822 |
* Tue Nov 9 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-28 |
823 |
- fix bug #137863, buildroot path in .pyc files |
824 |
|
825 |
* Sat Oct 16 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-26 |
826 |
- fix typo in install documentation |
827 |
- fix error in templates/Makefile.in, bad install args, fixes bug #136001, |
828 |
thank you to Kaj J. Niemi for spotting this. |
829 |
|
830 |
* Thu Oct 14 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-24 |
831 |
- more FHS changes, matches with new SELinux security policy |
832 |
|
833 |
* Wed Sep 29 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-21 |
834 |
- move list data dir to /var/lib/mailman to conform to FHS |
835 |
move lock dir to /var/lock/mailman to conform to FHS |
836 |
move config dir (VAR_PREFIX/data) to /etc/mailman to conform to FHS |
837 |
Thanks to Matt Domsch for pointing this out. |
838 |
|
839 |
* Tue Sep 28 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-20 |
840 |
- fix bug #132732, security policy violations, |
841 |
- bump release verison |
842 |
move non-data installation files from /var/mailman to /usr/lib/mailman, |
843 |
update documentation |
844 |
|
845 |
* Fri Sep 10 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-19 |
846 |
- add il18n start/stop strings to init.d script |
847 |
|
848 |
* Fri Sep 10 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-18 |
849 |
- fix bug #89250, add condrestart |
850 |
also fix status return values in mailmanctl and init.d script |
851 |
|
852 |
* Tue Sep 7 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-17 |
853 |
- fix bug #120930, add contents of contrib to doc area |
854 |
|
855 |
* Tue Sep 7 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-16 |
856 |
- fix bug #121220, httpd config file tweaks |
857 |
add doc to INSTALL.REDHAT for selecting MTA |
858 |
|
859 |
* Fri Sep 3 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-15 |
860 |
- fix bug #117615, don't overwrite user modified templates on install |
861 |
made template directory "config noreplace" |
862 |
|
863 |
* Thu Sep 2 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-14 |
864 |
- add comments into the crontab files so users know the /etc/cron.d |
865 |
file is volitile and will edit the right file. |
866 |
Also make the master crontab file "config noreplace" so edits are preserved. |
867 |
|
868 |
* Wed Sep 1 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-13 |
869 |
- fix bug #124208, enable mailman cron jobs from init.d rather than during installation |
870 |
|
871 |
* Tue Aug 31 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-12 |
872 |
- fix bug #129920, cron jobs execute under wrong SELinux policy |
873 |
|
874 |
* Mon Aug 30 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-11 |
875 |
- remove all editing of aliases file in %%pre and %%post, fixes #bug 125651 |
876 |
|
877 |
* Mon Aug 9 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-10 |
878 |
- fix bug #129492 and bug #120912 |
879 |
stop using crontab to setup mailman's cron jobs, |
880 |
instead install cron script in /etc/cron.d |
881 |
|
882 |
* Mon Aug 9 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-9 |
883 |
- apply patch to elminate "-1 LISTNAME moderator request(s) waiting" messages |
884 |
problem desciption here: |
885 |
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.038.htp |
886 |
|
887 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
888 |
- rebuilt |
889 |
|
890 |
* Wed Jun 9 2004 John Dennis <jdennis@redhat.com> - 3:2.1.5-7 |
891 |
- bump rev for rebuild |
892 |
|
893 |
* Wed Jun 9 2004 John Dennis <jdennis@redhat.com> - 3:2.1.5-6 |
894 |
- fix bug in pre scriplet, last command had been "service mailman stop" |
895 |
which should have been harmless if mailman was not installed except |
896 |
that it left the exit status from the script as non-zero and rpm |
897 |
aborted the install. |
898 |
|
899 |
* Wed Jun 9 2004 John Dennis <jdennis@redhat.com> - 3:2.1.5-5 |
900 |
- add status reporting to init.d control script |
901 |
stop mailman during an installation |
902 |
restart mailman if it had been running prior to installation |
903 |
|
904 |
* Mon Jun 7 2004 John Dennis <jdennis@redhat.com> - 3:2.1.5-4 |
905 |
- back python prereq down to 2.2, should be sufficient |
906 |
|
907 |
* Thu May 20 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-3 |
908 |
- make python prereq be at least 2.3 |
909 |
|
910 |
* Tue May 18 2004 Jeremy Katz <katzj@redhat.com> 3:2.1.5-2 |
911 |
- rebuild |
912 |
|
913 |
* Mon May 17 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-1 |
914 |
- bring up to latest 2.1.5 upstream release |
915 |
From Barry Warsaw: Mailman 2.1.5, a bug fix release that also |
916 |
contains new support for the Turkish language, and a few minor new |
917 |
features. Mailman 2.1.5 is a significant upgrade which should |
918 |
improve disk i/o performance, administrative overhead for discarding |
919 |
held spams, and the behavior of bouncing member disables. This |
920 |
version also contains a fix for an exploit that could allow 3rd |
921 |
parties to retrieve member passwords. It is thus highly recommended |
922 |
that all existing sitesupgrade to the latest version |
923 |
|
924 |
* Tue May 04 2004 Warren Togami <wtogami@redhat.com> 3:2.1.4-4 |
925 |
- #105638 fix bytecompile and rpm -V |
926 |
- postun /etc/postfix/aliases fix |
927 |
- clean uninstall (no more empty dirs) |
928 |
- #115378 RedirectMatch syntax fix |
929 |
|
930 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
931 |
- rebuilt |
932 |
|
933 |
* Fri Jan 9 2004 John Dennis <jdennis@finch.boston.redhat.com> 3:2.1.4-1 |
934 |
- upgrade to new upstream release 2.1.4 |
935 |
- fixes bugs 106349,112851,105367,91463 |
936 |
|
937 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
938 |
- rebuilt |
939 |
|
940 |
* Wed May 7 2003 John Dennis <jdennis@finch.boston.redhat.com> |
941 |
- bring up to next upstream release 2.1.2 |
942 |
|
943 |
* Sun May 04 2003 Florian La Roche <Florian.LaRoche@redhat.de> |
944 |
- fix typo in post script: mmusr -> mmuser |
945 |
|
946 |
* Thu Apr 24 2003 John Dennis <jdennis@finch.boston.redhat.com> |
947 |
- fix bug 72004, 74483, 74484, 87856 - improper log rotation |
948 |
- fix bug 88083 - mailman user/group needed to exist during build |
949 |
- fix bug 88144 - wrong %%file attributes on mm_cfg.py |
950 |
- fix bug 89221 - mailman user not created on install |
951 |
- fix bug 89250 - wrong pid file name in initscript |
952 |
|
953 |
* Wed Mar 05 2003 Florian La Roche <Florian.LaRoche@redhat.de> |
954 |
- change to /etc/rc.d/init.d as in all other rpms |
955 |
|
956 |
* Thu Feb 20 2003 John Dennis <jdennis@finch.boston.redhat.com> |
957 |
- change mailman login shell from /bin/false to /sbin/nologin |
958 |
|
959 |
* Fri Feb 14 2003 John Dennis <jdennis@finch.boston.redhat.com> |
960 |
- bring package up to 2.1.1 release, add /usr/share/doc files |
961 |
|
962 |
* Sat Feb 01 2003 Florian La Roche <Florian.LaRoche@redhat.de> |
963 |
- make the icon dir owned by root:root as in other rpms |
964 |
|
965 |
* Fri Jan 31 2003 John Dennis <jdennis@finch.boston.redhat.com> |
966 |
- various small tweaks to the spec file to make installation cleaner |
967 |
- use %%{__python} when compiling, redirect compile output to /dev/null, |
968 |
- don't run update in %%post, let the user do it, remove the .pyc files in %%postun, |
969 |
- add setting of MAILHOST and URLHOST to localhost.localdomain, don't let |
970 |
- configure set them to the build machine. |
971 |
|
972 |
* Mon Jan 27 2003 John Dennis <jdennis@finch.boston.redhat.com> |
973 |
- add the cross site scripting (xss) security patch to version 2.1 |
974 |
|
975 |
* Fri Jan 24 2003 John Dennis <jdennis@finch.boston.redhat.com> |
976 |
- do not start mailman service in %%post |
977 |
|
978 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> |
979 |
- rebuilt |
980 |
|
981 |
* Mon Jan 20 2003 John Dennis <jdennis@finch.boston.redhat.com> |
982 |
- 1) remove config patch, mailmanctl was not the right file to install in init.d, |
983 |
- it needed to be scripts/mailman |
984 |
- 2) rename httpd-mailman.conf to mailman.conf, since the file now lives |
985 |
- in httpd/conf.d directory the http prefix is redundant and inconsistent |
986 |
- with the other file names in that directory. |
987 |
|
988 |
* Tue Jan 7 2003 John Dennis <jdennis@finch.boston.redhat.com> |
989 |
- Bring package up to date with current upstream source, 2.1 |
990 |
- Fix several install/packaging problems that were in upstream source |
991 |
- Add multiple mail group functionality |
992 |
- Fix syntax error in fblast.py |
993 |
- Remove the forced setting of mail host and url host in mm_cfg.py |
994 |
|
995 |
* Tue Nov 12 2002 Tim Powers <timp@redhat.com> 2.0.13-4 |
996 |
- remove files from $$RPM_BUILD_ROOT that we don't intent to ship |
997 |
|
998 |
* Thu Aug 14 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.13-3 |
999 |
- set MAILHOST and WWWHOST in case the configure script can't figure out the |
1000 |
local host name |
1001 |
|
1002 |
* Fri Aug 2 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.13-2 |
1003 |
- rebuild |
1004 |
|
1005 |
* Fri Aug 2 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.13-1 |
1006 |
- specify log files individually, per faq wizard |
1007 |
- update to 2.0.13 |
1008 |
|
1009 |
* Wed May 22 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.11-1 |
1010 |
- update to 2.0.11 |
1011 |
|
1012 |
* Fri Apr 5 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.9-1 |
1013 |
- include README.QMAIL in with the docs (#58887) |
1014 |
- include README.SENDMAIL and README.EXIM in with the docs |
1015 |
- use an included httpd.conf file instead of listing the configuration |
1016 |
directives in the %%description, which due to specspo magic might look |
1017 |
wrong sometimes (part of #51324) |
1018 |
- interpolate the DEFAULT_HOST_NAME value in mm.cfg into both the DEFAULT_URL |
1019 |
and MAILMAN_OWNER (#57987) |
1020 |
- move logs to /var/log/mailman, qfiles to /var/spool/mailman, rotate |
1021 |
logs in the log directory (#48724) |
1022 |
- raise exceptions when someone tries to set the admin address for a list |
1023 |
to that of the admin alias (#61468) |
1024 |
|
1025 |
* Thu Apr 4 2002 Nalin Dahyabhai <nalin@redhat.com> |
1026 |
- fix a default permissions problem in %%{_var}/mailman/archives/private, |
1027 |
reported by Johannes Erdfelt |
1028 |
- update to 2.0.9 |
1029 |
|
1030 |
* Tue Apr 2 2002 Nalin Dahyabhai <nalin@redhat.com> |
1031 |
- make the symlink in /etc/smrsh relative |
1032 |
|
1033 |
* Tue Dec 11 2001 Nalin Dahyabhai <nalin@redhat.com> 2.0.8-1 |
1034 |
- set FQDN and URL at build-time so that they won't be set to the host the |
1035 |
RPM package is built on (#59177) |
1036 |
|
1037 |
* Wed Nov 28 2001 Nalin Dahyabhai <nalin@redhat.com> |
1038 |
- update to 2.0.8 |
1039 |
|
1040 |
* Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.0.7-1 |
1041 |
- update to 2.0.7 |
1042 |
|
1043 |
* Wed Jul 25 2001 Nalin Dahyabhai <nalin@redhat.com> 2.0.6-1 |
1044 |
- update to 2.0.6 |
1045 |
|
1046 |
* Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com> |
1047 |
- code in default user/group names/IDs |
1048 |
|
1049 |
* Wed May 30 2001 Nalin Dahyabhai <nalin@redhat.com> |
1050 |
- update to 2.0.5 |
1051 |
- change the default hostname from localhost to localhost.localdomain in the |
1052 |
default configuration |
1053 |
- chuck configuration file settings other than those dependent on the host name |
1054 |
(the build system's host name is not a good default) (#32337) |
1055 |
|
1056 |
* Tue Mar 13 2001 Nalin Dahyabhai <nalin@redhat.com> |
1057 |
- update to 2.0.3 |
1058 |
|
1059 |
* Tue Mar 6 2001 Nalin Dahyabhai <nalin@redhat.com> |
1060 |
- update to 2.0.2 |
1061 |
|
1062 |
* Wed Feb 21 2001 Nalin Dahyabhai <nalin@redhat.com> |
1063 |
- patch from Barry Warsaw (via mailman-developers) to not die on |
1064 |
broken Content-Type: headers |
1065 |
|
1066 |
* Tue Jan 9 2001 Nalin Dahyabhai <nalin@redhat.com> |
1067 |
- update to 2.0.1 |
1068 |
|
1069 |
* Wed Dec 6 2000 Nalin Dahyabhai <nalin@redhat.com> |
1070 |
- update to 2.0 final release |
1071 |
- move the data to %%{_var} |
1072 |
|
1073 |
* Fri Oct 20 2000 Nalin Dahyabhai <nalin@redhat.com> |
1074 |
- update to beta 6 |
1075 |
|
1076 |
* Thu Aug 3 2000 Nalin Dahyabhai <nalin@redhat.com> |
1077 |
- add note about adding FollowSymlinks so that archives work |
1078 |
|
1079 |
* Wed Aug 2 2000 Nalin Dahyabhai <nalin@redhat.com> |
1080 |
- make the default owner root again so that root owns the docs |
1081 |
- update to 2.0beta5, which fixes a possible security vulnerability |
1082 |
- add smrsh symlink |
1083 |
|
1084 |
* Mon Jul 24 2000 Prospector <prospector@redhat.com> |
1085 |
- rebuilt |
1086 |
|
1087 |
* Wed Jul 19 2000 Nalin Dahyabhai <nalin@redhat.com> |
1088 |
- update to beta4 |
1089 |
- change uid/gid to apache.apache to match apache (#13593) |
1090 |
- properly recompile byte-compiled versions of the scripts (#13619) |
1091 |
- change mailman alias from root to postmaster |
1092 |
|
1093 |
* Sat Jul 1 2000 Nalin Dahyabhai <nalin@redhat.com> |
1094 |
- update to beta3 |
1095 |
- drop bugs and arch patches (integrated into beta3) |
1096 |
|
1097 |
* Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> |
1098 |
- move web files to reside under %%{contentdir} |
1099 |
- move files from /usr/share to %%{_datadir} |
1100 |
- integrate spot-fixes from mailman lists via gnome.org |
1101 |
|
1102 |
* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com> |
1103 |
- rebuild for Power Tools |
1104 |
|
1105 |
* Wed May 23 2000 Nalin Dahyabhai <nalin@redhat.com> |
1106 |
- Update to 2.0beta2 to pick up security fixes. |
1107 |
- Change equires python to list >= 1.5.2 |
1108 |
|
1109 |
* Mon Nov 8 1999 Bernhard Rosenkränzer <bero@redhat.com> |
1110 |
- 1.1 |
1111 |
|
1112 |
* Tue Sep 14 1999 Preston Brown <pbrown@redhat.com> |
1113 |
- 1.0 final. |
1114 |
|
1115 |
* Tue Jun 15 1999 Preston Brown <pbrown@redhat.com> |
1116 |
- security fix for cookies |
1117 |
- moved to /usr/share/mailman |
1118 |
|
1119 |
* Fri May 28 1999 Preston Brown <pbrown@redhat.com> |
1120 |
- fix up default values. |
1121 |
|
1122 |
* Fri May 07 1999 Preston Brown <pbrown@redhat.com> |
1123 |
- modifications to install scripts |
1124 |
|
1125 |
* Thu May 06 1999 Preston Brown <pbrown@redhat.com> |
1126 |
- initial RPM for SWS 3.0 |