1 |
Summary: Mailing list manager with built in Web access. |
2 |
Name: mailman |
3 |
Version: 2.1.9 |
4 |
Release: 6%{?dist}.1 |
5 |
Epoch: 3 |
6 |
Group: Applications/Internet |
7 |
#Source0: ftp://ftp.gnu.org/pub/gnu/mailman/mailman-%{version}.tgz |
8 |
Source0: http://prdownloads.sourceforge.net/mailman/mailman-%{version}.tgz |
9 |
Source1: mm_cfg.py |
10 |
Source3: httpd-mailman.conf |
11 |
Source4: mailman.logrotate |
12 |
Source5: mailman.INSTALL.REDHAT.in |
13 |
Source6: mailman-crontab-edit |
14 |
Source7: mailman-migrate-fhs |
15 |
# Mailman uses its own email module and to fix #461707 there has to be |
16 |
# _parseaddr.py from that tarball patched. Therefore there is patched tarball |
17 |
# included as separate source and used as replacement of the original tarball. |
18 |
Source8: email-2.5.8.tar.gz |
19 |
Patch1: mailman-2.1-multimail.patch |
20 |
Patch2: mailman-2.1-build.patch |
21 |
Patch3: mailman-2.1-mailmanctl-status.patch |
22 |
Patch4: mailman-cron.patch |
23 |
Patch5: mailman-FHS.patch |
24 |
Patch6: mailman-python-compile.patch |
25 |
Patch7: mailman-init.patch |
26 |
Patch8: mailman-archive-reply.patch |
27 |
Patch9: mailman-2.1.9-init-directrun.patch |
28 |
Patch10: mailman-init-retval.patch |
29 |
Patch11: mailman-2.1.9-broken-queue.patch |
30 |
Patch12: mailman-2.1.9-shebang.patch |
31 |
Patch13: mailman-2.1.9-global-address-change.patch |
32 |
Patch14: mailman-2.1.9-CVE-2008-0564.patch |
33 |
Patch15: mailman-2.1.9-CVE-2010-3089.patch |
34 |
Patch16: mailman-2.1.9-CVE-2011-0707.patch |
35 |
|
36 |
License: GPL |
37 |
URL: http://www.list.org/ |
38 |
BuildRoot: %{_tmppath}/%{name}-root |
39 |
Prereq: shadow-utils, /sbin/chkconfig, /sbin/service |
40 |
Requires: vixie-cron >= 4.1-9, httpd, python >= 2.2, mktemp |
41 |
BuildRequires: python-devel >= 2.2, automake |
42 |
|
43 |
%define contentdir /var/www |
44 |
|
45 |
# Installation directories |
46 |
%define mmdir /usr/lib/%{name} |
47 |
%define varmmdir /var/lib/%{name} |
48 |
%define docdir /usr/share/doc/%{name}-%{version} |
49 |
%define configdir /etc/%{name} |
50 |
%define datadir %{varmmdir}/data |
51 |
%define lockdir /var/lock/%{name} |
52 |
%define logdir /var/log/%{name} |
53 |
%define piddir /var/run/%{name} |
54 |
%define queuedir /var/spool/%{name} |
55 |
%define httpdconfdir /etc/httpd/conf.d |
56 |
%define restart_flag /var/run/%{name}-restart-after-rpm-install |
57 |
%define mmbuilddir %{_builddir}/%{name}-%{version} |
58 |
|
59 |
%define httpdconffile %{name}.conf |
60 |
|
61 |
# Now, the user and group the CGIs will expect to be run under. This should |
62 |
# match the user and group the web server is configured to run as. The scripts |
63 |
# will error out if they are invoked by any other user. |
64 |
%define cgiuser apache |
65 |
%define cgigroup apache |
66 |
|
67 |
# Now, the user and group the scripts will actually execute as. |
68 |
%define mmuser mailman |
69 |
%define mmuserid 41 |
70 |
%define mmgroup mailman |
71 |
%define mmgroupid 41 |
72 |
|
73 |
# Directory/File modes & permissions |
74 |
%define dirmode 2775 |
75 |
%define exemode 2755 |
76 |
|
77 |
# Now, the groups your mail spoolers run as. Sendmail uses 'mail'(12) |
78 |
# and postfix used to use 'nobody', but now uses 'postfix' |
79 |
%define mailgroup "mail postfix mailman nobody daemon" |
80 |
|
81 |
# The mail wrapper program |
82 |
%define mail_wrapper mailman |
83 |
|
84 |
%description |
85 |
Mailman is software to help manage email discussion lists, much like |
86 |
Majordomo and Smartmail. Unlike most similar products, Mailman gives |
87 |
each mailing list a webpage, and allows users to subscribe, |
88 |
unsubscribe, etc. over the Web. Even the list manager can administer |
89 |
his or her list entirely from the Web. Mailman also integrates most |
90 |
things people want to do with mailing lists, including archiving, mail |
91 |
<-> news gateways, and so on. |
92 |
|
93 |
Documentation can be found in: %{docdir} |
94 |
|
95 |
When the package has finished installing, you will need to perform some |
96 |
additional installation steps, these are described in: |
97 |
%{docdir}/INSTALL.REDHAT |
98 |
|
99 |
%prep |
100 |
%setup -q |
101 |
%patch1 -p1 -b .multimail |
102 |
%patch2 -p1 -b .permissions |
103 |
%patch3 -p1 -b .status |
104 |
%patch4 -p1 -b .cron |
105 |
%patch5 -p1 -b .FHS |
106 |
%patch6 -p1 -b .python-compile |
107 |
%patch7 -p1 -b .inithelp |
108 |
%patch8 -p1 -b .archive-in-reply-to |
109 |
%patch9 -p1 -b .init-direct-run |
110 |
%patch10 -p1 -b .init-retval |
111 |
%patch11 -p1 -b .broken-queue |
112 |
%patch12 -p1 -b .shebang |
113 |
%patch13 -b .global-address-change |
114 |
%patch14 -b .CVE-2008-0564 |
115 |
%patch15 -b .CVE-2010-3089 |
116 |
%patch16 -b .CVE-2011-0707 |
117 |
|
118 |
# Replaces original email-2.5.8.tar.gz with the patched one |
119 |
cp %{SOURCE8} misc/email-2.5.8.tar.gz |
120 |
|
121 |
cp $RPM_SOURCE_DIR/mailman.INSTALL.REDHAT.in INSTALL.REDHAT.in |
122 |
|
123 |
%build |
124 |
|
125 |
CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS |
126 |
rm -f ./configure |
127 |
aclocal |
128 |
autoconf |
129 |
./configure \ |
130 |
--prefix=%{mmdir} \ |
131 |
--with-var-prefix=%{varmmdir} \ |
132 |
--with-config-dir=%{configdir} \ |
133 |
--with-lock-dir=%{lockdir} \ |
134 |
--with-log-dir=%{logdir} \ |
135 |
--with-pid-dir=%{piddir} \ |
136 |
--with-queue-dir=%{queuedir} \ |
137 |
--with-python=%{__python} \ |
138 |
--with-mail-gid=%{mailgroup} \ |
139 |
--with-cgi-id=%{cgiuser} \ |
140 |
--with-cgi-gid=%{cgigroup} \ |
141 |
--with-mailhost=localhost.localdomain \ |
142 |
--with-urlhost=localhost.localdomain \ |
143 |
--without-permcheck |
144 |
|
145 |
function SubstituteParameters() |
146 |
{ |
147 |
sed -e 's|@VAR_PREFIX@|%{varmmdir}|g' \ |
148 |
-e 's|@VARMMDIR@|%{varmmdir}|g' \ |
149 |
-e 's|@prefix@|%{mmdir}|g' \ |
150 |
-e 's|@MMDIR@|%{mmdir}|g' \ |
151 |
-e 's|@CONFIG_DIR@|%{configdir}|g' \ |
152 |
-e 's|@DATA_DIR@|%{datadir}|g' \ |
153 |
-e 's|@LOCK_DIR@|%{lockdir}|g' \ |
154 |
-e 's|@LOG_DIR@|%{logdir}|g' \ |
155 |
-e 's|@PID_DIR@|%{piddir}|g' \ |
156 |
-e 's|@QUEUE_DIR@|%{queuedir}|g' \ |
157 |
-e 's|@DOC_DIR@|%{docdir}|g' \ |
158 |
-e 's|@HTTPD_CONF_DIR@|%{httpdconfdir}|g' \ |
159 |
-e 's|@HTTPD_CONF_FILE@|%{httpdconffile}|g' \ |
160 |
$1 > $2 |
161 |
} |
162 |
|
163 |
SubstituteParameters "INSTALL.REDHAT.in" "INSTALL.REDHAT" |
164 |
SubstituteParameters "%{SOURCE1}" "Mailman/mm_cfg.py.dist" |
165 |
SubstituteParameters "%{SOURCE3}" "httpd-mailman.conf" |
166 |
SubstituteParameters "%{SOURCE4}" "mailman.logrotate" |
167 |
|
168 |
make |
169 |
|
170 |
%install |
171 |
rm -fr $RPM_BUILD_ROOT |
172 |
# Normal install. |
173 |
make DESTDIR=$RPM_BUILD_ROOT install |
174 |
#make install prefix=$RPM_BUILD_ROOT%{mmdir} var_prefix=$RPM_BUILD_ROOT%{varmmdir} |
175 |
|
176 |
# Install the mailman init.d script |
177 |
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d |
178 |
install $RPM_BUILD_ROOT%{mmdir}/scripts/mailman $RPM_BUILD_ROOT/etc/rc.d/init.d/mailman |
179 |
|
180 |
# Install the mailman cron.d script |
181 |
mkdir -p $RPM_BUILD_ROOT/etc/cron.d |
182 |
cat > $RPM_BUILD_ROOT/etc/cron.d/%{name} <<EOF |
183 |
# DO NOT EDIT THIS FILE! |
184 |
# |
185 |
# Contents of this file managed by /etc/init.d/%{name} |
186 |
# Master copy is %{mmdir}/cron/crontab.in |
187 |
# Consult that file for documentation |
188 |
EOF |
189 |
|
190 |
# Copy the icons into the web server's icons directory. |
191 |
mkdir -p $RPM_BUILD_ROOT%{contentdir}/icons |
192 |
cp $RPM_BUILD_ROOT/%{mmdir}/icons/* $RPM_BUILD_ROOT%{contentdir}/icons |
193 |
|
194 |
# Create a link to the wrapper in /etc/smrsh to allow sendmail to run it. |
195 |
mkdir -p $RPM_BUILD_ROOT/etc/smrsh |
196 |
ln -s ../..%{mmdir}/mail/%{mail_wrapper} $RPM_BUILD_ROOT/etc/smrsh |
197 |
|
198 |
# Create a link so that the config file mm_cfg.py appears in config |
199 |
# directory /etc/mailman. We don't put mm_cfg.py in the config directory |
200 |
# because its executable code (python file) and the security policy wants |
201 |
# to keep executable code out of /etc and inside of a lib directory instead, |
202 |
# and because traditionally mm_cfg.py was in the Mailman subdirectory and |
203 |
# experienced mailman admins will expect to find it there. But having it |
204 |
# "appear" in the config directory is good practice and heading in the |
205 |
# right direction for FHS compliance. |
206 |
mkdir -p $RPM_BUILD_ROOT%{configdir} |
207 |
ln -s %{mmdir}/Mailman/mm_cfg.py $RPM_BUILD_ROOT%{configdir} |
208 |
|
209 |
# sitelist.cfg used to live in the DATA_DIR, now as part of the |
210 |
# FHS reoraganization it lives in the CONFIG_DIR. Most of the |
211 |
# documentation refers to it in its DATA_DIR location and experienced |
212 |
# admins will expect to find it there, so create a link in DATA_DIR to |
213 |
# point to it in CONFIG_DIR so people aren't confused. |
214 |
ln -s %{configdir}/sitelist.cfg $RPM_BUILD_ROOT%{datadir} |
215 |
|
216 |
# Install a logrotate control file. |
217 |
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d |
218 |
install -m644 %{mmbuilddir}/mailman.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/%{name} |
219 |
|
220 |
# Install the httpd configuration file. |
221 |
install -m755 -d $RPM_BUILD_ROOT%{httpdconfdir} |
222 |
install -m644 %{mmbuilddir}/httpd-mailman.conf $RPM_BUILD_ROOT%{httpdconfdir}/%{httpdconffile} |
223 |
|
224 |
# Install the documentation files |
225 |
install -m755 -d $RPM_BUILD_ROOT%{docdir} |
226 |
install -m644 %{mmbuilddir}/INSTALL.REDHAT $RPM_BUILD_ROOT%{docdir} |
227 |
install -m644 %{mmbuilddir}/ACKNOWLEDGMENTS $RPM_BUILD_ROOT%{docdir} |
228 |
install -m644 %{mmbuilddir}/FAQ $RPM_BUILD_ROOT%{docdir} |
229 |
install -m644 %{mmbuilddir}/NEWS $RPM_BUILD_ROOT%{docdir} |
230 |
install -m644 %{mmbuilddir}/README $RPM_BUILD_ROOT%{docdir} |
231 |
install -m644 %{mmbuilddir}/README.CONTRIB $RPM_BUILD_ROOT%{docdir} |
232 |
install -m644 %{mmbuilddir}/README-I18N.en $RPM_BUILD_ROOT%{docdir} |
233 |
install -m644 %{mmbuilddir}/README.NETSCAPE $RPM_BUILD_ROOT%{docdir} |
234 |
install -m644 %{mmbuilddir}/README.USERAGENT $RPM_BUILD_ROOT%{docdir} |
235 |
install -m644 %{mmbuilddir}/STYLEGUIDE.txt $RPM_BUILD_ROOT%{docdir} |
236 |
install -m644 %{mmbuilddir}/UPGRADING $RPM_BUILD_ROOT%{docdir} |
237 |
|
238 |
cp -r %{mmbuilddir}/contrib $RPM_BUILD_ROOT%{docdir} |
239 |
install -m644 $RPM_SOURCE_DIR/mailman-migrate-fhs $RPM_BUILD_ROOT%{docdir}/contrib/migrate-fhs |
240 |
install -m755 -d $RPM_BUILD_ROOT%{docdir}/admin |
241 |
cp -r %{mmbuilddir}/admin/www $RPM_BUILD_ROOT%{docdir}/admin |
242 |
|
243 |
# remove dir/files from $RPM_BUILD_ROOT that we aren't shipping |
244 |
rm -rf $RPM_BUILD_ROOT%{varmmdir}/icons |
245 |
|
246 |
# The file fblast confuses /usr/lib/rpm/find-requires because its an executable |
247 |
# script file that does not have the interpreter as the first line, its not |
248 |
# executable by itself so turn off its execute permissions |
249 |
chmod 0644 $RPM_BUILD_ROOT/%{mmdir}/tests/fblast.py |
250 |
|
251 |
%clean |
252 |
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/files.%{name} |
253 |
|
254 |
%pre |
255 |
|
256 |
# Make sure the user "mailman" exists on this system and has the correct values |
257 |
if grep -q "^mailman:" /etc/group 2> /dev/null ; then |
258 |
/usr/sbin/groupmod -g %{mmgroupid} -n %{mmgroup} %{mmgroup} 2> /dev/null || : |
259 |
else |
260 |
/usr/sbin/groupadd -g %{mmgroupid} %{mmgroup} 2> /dev/null || : |
261 |
fi |
262 |
if grep -q "^mailman:" /etc/passwd 2> /dev/null ; then |
263 |
/usr/sbin/usermod -s /sbin/nologin -c "GNU Mailing List Manager" -d %{mmdir} -u %{mmuserid} -g %{mmgroupid} %{mmuser} 2> /dev/null || : |
264 |
else |
265 |
/usr/sbin/useradd -s /sbin/nologin -c "GNU Mailing List Manager" -d %{mmdir} -u %{mmuserid} -g %{mmgroupid} -M -r %{mmuser} 2> /dev/null || : |
266 |
fi |
267 |
|
268 |
# Mailman should never be running during an install, but a package upgrade |
269 |
# shouldn't silently stop the service, so if mailman was running |
270 |
# we'll leave a temp file in the lock directory as a flag so in |
271 |
# the post install phase we can restart it. |
272 |
if [ -d %{lockdir} ]; then |
273 |
rm -f %{restart_flag} |
274 |
/sbin/service %{name} status >/dev/null 2>&1 |
275 |
if [ $? -eq 0 ]; then |
276 |
touch %{restart_flag} |
277 |
/sbin/service %{name} stop >/dev/null 2>&1 |
278 |
fi |
279 |
fi |
280 |
# rpm should not abort if last command run had non-zero exit status, exit cleanly |
281 |
exit 0 |
282 |
|
283 |
%post |
284 |
# We no longer use crontab, but previous versions of the spec file did, so clean up |
285 |
if [ -f /var/spool/cron/%{mmuser} ]; then |
286 |
crontab -u %{mmuser} -r |
287 |
fi |
288 |
|
289 |
# This adds the proper /etc/rc*.d links for the script that runs the mailman qrunner daemon |
290 |
chkconfig --add mailman |
291 |
|
292 |
# Restart mailman if it had been running before installation |
293 |
if [ -e %{restart_flag} ]; then |
294 |
rm %{restart_flag} |
295 |
/sbin/service %{name} start >/dev/null 2>&1 |
296 |
fi |
297 |
# rpm should not abort if last command run had non-zero exit status, exit cleanly |
298 |
exit 0 |
299 |
|
300 |
%preun |
301 |
|
302 |
# if [ $1 = 0 ]' checks that this is the actual deinstallation of |
303 |
# the package, as opposed to just removing the old package on upgrade. |
304 |
|
305 |
if [ $1 = 0 ]; then |
306 |
# These statements stop the service, and remove the /etc/rc*.d links. |
307 |
/sbin/service %{name} stop >/dev/null 2>&1 |
308 |
/sbin/chkconfig --del %{name} |
309 |
fi |
310 |
# rpm should not abort if last command run had non-zero exit status, exit cleanly |
311 |
exit 0 |
312 |
|
313 |
%postun |
314 |
if [ $1 = 0 ]; then |
315 |
crontab -u %{mmuser} -r 2>/dev/null |
316 |
fi |
317 |
# rpm should not abort if last command run had non-zero exit status, exit cleanly |
318 |
exit 0 |
319 |
|
320 |
%files |
321 |
%defattr(-,root,%{mmgroup}) |
322 |
%dir %{mmdir} |
323 |
%{mmdir}/Mailman |
324 |
%{mmdir}/bin |
325 |
%{mmdir}/cgi-bin |
326 |
%{mmdir}/cron |
327 |
%{mmdir}/icons |
328 |
%{mmdir}/mail |
329 |
%{mmdir}/messages |
330 |
%{mmdir}/pythonlib |
331 |
%{mmdir}/scripts |
332 |
%config(noreplace) %{mmdir}/templates |
333 |
%{mmdir}/tests |
334 |
%{varmmdir} |
335 |
%doc %{docdir} |
336 |
%attr(0755,root,root) %{contentdir}/icons |
337 |
%attr(0644, root, %{mmgroup}) %config(noreplace) %verify(not md5 size mtime) %{mmdir}/Mailman/mm_cfg.py |
338 |
%config(noreplace) %{httpdconfdir}/%{httpdconffile} |
339 |
/etc/logrotate.d/%{name} |
340 |
/etc/smrsh/%{mail_wrapper} |
341 |
%attr(2775,root,%{mmgroup}) %{configdir} |
342 |
%attr(0644, root, %{mmgroup}) %config(noreplace) %verify(not md5 size mtime) %{configdir}/sitelist.cfg |
343 |
%attr(2775,root,%{mmgroup}) %{lockdir} |
344 |
%attr(2775,root,%{mmgroup}) %{logdir} |
345 |
%attr(2775,root,%{mmgroup}) %{queuedir} |
346 |
%attr(2775,root,%{mmgroup}) %{piddir} |
347 |
%attr(0755,root,root) /etc/rc.d/init.d/%{name} |
348 |
%attr(0644,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/cron.d/mailman |
349 |
%attr(0644,root,%{mmgroup}) %config(noreplace) %{mmdir}/cron/crontab.in |
350 |
|
351 |
%changelog |
352 |
* Mon Feb 21 2011 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.9-6.1 |
353 |
- fix #677845 - fixed CVE-2008-0564, CVE-2010-3089 and CVE-2011-0707 |
354 |
|
355 |
* Thu Sep 23 2010 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.9-6 |
356 |
- fix #521888 - fix instances of #!/usr/bin/env python in mailman-migrate-fhs |
357 |
|
358 |
* Mon Sep 13 2010 Jan Kaluza <jkaluza@redhat.com> - 3:2.1.9-5 |
359 |
- fix #290661 - use relative symlink in /etc/smrsh |
360 |
- fix #461707 - break CC field correctly |
361 |
- fix #453377 - don't parse problematic mails many times, but isolate them |
362 |
- fix #521888 - fix instances of #!/usr/bin/env python in mailman |
363 |
- fix #515157 - fixed traceback when changing email address globally |
364 |
|
365 |
* Wed Jan 23 2008 Tomas Smetana <tsmetana@redhat.com> - 3:2.1.9-4 |
366 |
- fix #252185 init script prevents proper SELinux domain transitions |
367 |
- fix #242672 wrong init script return value |
368 |
|
369 |
* Thu Oct 05 2006 David Woodhouse <dwmw2@redhat.com> - 3:2.1.9-3 |
370 |
- fix broken In-Reply-To: header in mailto: URL in archives (#123768) |
371 |
|
372 |
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 3:2.1.9-2 |
373 |
- rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
374 |
|
375 |
* Mon Sep 25 2006 Harald Hoyer <harald@redhat.com> - 3:2.1.9-1 |
376 |
- updated to mailman-2.1.9 which fixes bug #206607 |
377 |
|
378 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3:2.1.8-3.1 |
379 |
- rebuild |
380 |
|
381 |
* Tue Jun 27 2006 Florian La Roche <laroche@redhat.com> - 3:2.1.8-3 |
382 |
- quieten postun of crontab removal |
383 |
|
384 |
* Mon Jun 12 2006 Harald Hoyer <harald@redhat.com> - 3:2.1.8-2 |
385 |
- more build requirements |
386 |
|
387 |
* Mon May 08 2006 Harald Hoyer <harald@redhat.com> - 3:2.1.8-1 |
388 |
- version 2.1.8 |
389 |
|
390 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3:2.1.7-1.2 |
391 |
- bump again for double-long bug on ppc(64) |
392 |
|
393 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3:2.1.7-1.1 |
394 |
- rebuilt for new gcc4.1 snapshot and glibc changes |
395 |
|
396 |
* Tue Jan 10 2006 Harald Hoyer <harald@redhat.com> - 3:2.1.7-1 |
397 |
- version 2.1.7 |
398 |
|
399 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> |
400 |
- rebuilt for new gcj |
401 |
|
402 |
* Wed Dec 14 2005 Harald Hoyer <harald@redhat.com> - 3:2.1.5-36.fc4.1 |
403 |
- fix for bug #173139 (CVE-2005-3573 Mailman Denial of Service) |
404 |
|
405 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
406 |
- rebuilt |
407 |
|
408 |
* Thu Nov 10 2005 Harald Hoyer <harald@redhat.com> - 3:2.1.6-2 |
409 |
- added help to the initscript (bug #162724) |
410 |
|
411 |
* Wed Jun 8 2005 John Dennis <jdennis@redhat.com> - 3:2.1.6-1.fc4 |
412 |
- initial port of 2.1.6 |
413 |
remove mailman-2.1.5-moderator-request.patch, present in new release |
414 |
remove mailman-2.1-CAN-2005-0202.patch, present in new release |
415 |
remove mailman-2.1-CAN-2004-1177.patch, present in new release |
416 |
|
417 |
* Thu Apr 28 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-36.fc4 |
418 |
- fix bug #156159 insecure location of restart flag file |
419 |
|
420 |
* Mon Mar 7 2005 John Dennis <jdennis@redhat.com> 3:2.1.5-35.fc4 |
421 |
- bump rev for gcc4 build |
422 |
|
423 |
* Wed Mar 2 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-34.fc4 |
424 |
- fix bug #150065, provide migration script for new FHS installation |
425 |
|
426 |
* Fri Feb 25 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-33.fc4 |
427 |
- fix bug #147833, CAN-2004-1177 |
428 |
|
429 |
* Mon Feb 14 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-31.fc4 |
430 |
- fix bug #132750, add daemon to mail-gid so courier mail server will work. |
431 |
- fix bug #143008, wrong location of mailmanctl in logrotate |
432 |
- fix bug #142605, init script doesn't use /var/lock/subsys |
433 |
|
434 |
* Tue Feb 8 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-30.fc4 |
435 |
- fix release tag |
436 |
|
437 |
* Tue Feb 8 2005 John Dennis <jdennis@redhat.com> - 3:2.1.5-29 |
438 |
- fix security vulnerability CAN-2005-0202, errata RHSA-2005:137, bug #147344 |
439 |
|
440 |
* Tue Nov 9 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-28 |
441 |
- fix bug #137863, buildroot path in .pyc files |
442 |
|
443 |
* Sat Oct 16 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-26 |
444 |
- fix typo in install documentation |
445 |
- fix error in templates/Makefile.in, bad install args, fixes bug #136001, |
446 |
thank you to Kaj J. Niemi for spotting this. |
447 |
|
448 |
* Thu Oct 14 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-24 |
449 |
- more FHS changes, matches with new SELinux security policy |
450 |
|
451 |
* Wed Sep 29 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-21 |
452 |
- move list data dir to /var/lib/mailman to conform to FHS |
453 |
move lock dir to /var/lock/mailman to conform to FHS |
454 |
move config dir (VAR_PREFIX/data) to /etc/mailman to conform to FHS |
455 |
Thanks to Matt Domsch for pointing this out. |
456 |
|
457 |
* Tue Sep 28 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-20 |
458 |
- fix bug #132732, security policy violations, |
459 |
- bump release verison |
460 |
move non-data installation files from /var/mailman to /usr/lib/mailman, |
461 |
update documentation |
462 |
|
463 |
* Fri Sep 10 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-19 |
464 |
- add il18n start/stop strings to init.d script |
465 |
|
466 |
* Fri Sep 10 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-18 |
467 |
- fix bug #89250, add condrestart |
468 |
also fix status return values in mailmanctl and init.d script |
469 |
|
470 |
* Tue Sep 7 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-17 |
471 |
- fix bug #120930, add contents of contrib to doc area |
472 |
|
473 |
* Tue Sep 7 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-16 |
474 |
- fix bug #121220, httpd config file tweaks |
475 |
add doc to INSTALL.REDHAT for selecting MTA |
476 |
|
477 |
* Fri Sep 3 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-15 |
478 |
- fix bug #117615, don't overwrite user modified templates on install |
479 |
made template directory "config noreplace" |
480 |
|
481 |
* Thu Sep 2 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-14 |
482 |
- add comments into the crontab files so users know the /etc/cron.d |
483 |
file is volitile and will edit the right file. |
484 |
Also make the master crontab file "config noreplace" so edits are preserved. |
485 |
|
486 |
* Wed Sep 1 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-13 |
487 |
- fix bug #124208, enable mailman cron jobs from init.d rather than during installation |
488 |
|
489 |
* Tue Aug 31 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-12 |
490 |
- fix bug #129920, cron jobs execute under wrong SELinux policy |
491 |
|
492 |
* Mon Aug 30 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-11 |
493 |
- remove all editing of aliases file in %pre and %post, fixes #bug 125651 |
494 |
|
495 |
* Mon Aug 9 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-10 |
496 |
- fix bug #129492 and bug #120912 |
497 |
stop using crontab to setup mailman's cron jobs, |
498 |
instead install cron script in /etc/cron.d |
499 |
|
500 |
* Mon Aug 9 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-9 |
501 |
- apply patch to elminate "-1 LISTNAME moderator request(s) waiting" messages |
502 |
problem desciption here: |
503 |
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.038.htp |
504 |
|
505 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
506 |
- rebuilt |
507 |
|
508 |
* Wed Jun 9 2004 John Dennis <jdennis@redhat.com> - 3:2.1.5-7 |
509 |
- bump rev for rebuild |
510 |
|
511 |
* Wed Jun 9 2004 John Dennis <jdennis@redhat.com> - 3:2.1.5-6 |
512 |
- fix bug in pre scriplet, last command had been "service mailman stop" |
513 |
which should have been harmless if mailman was not installed except |
514 |
that it left the exit status from the script as non-zero and rpm |
515 |
aborted the install. |
516 |
|
517 |
* Wed Jun 9 2004 John Dennis <jdennis@redhat.com> - 3:2.1.5-5 |
518 |
- add status reporting to init.d control script |
519 |
stop mailman during an installation |
520 |
restart mailman if it had been running prior to installation |
521 |
|
522 |
* Mon Jun 7 2004 John Dennis <jdennis@redhat.com> - 3:2.1.5-4 |
523 |
- back python prereq down to 2.2, should be sufficient |
524 |
|
525 |
* Thu May 20 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-3 |
526 |
- make python prereq be at least 2.3 |
527 |
|
528 |
* Tue May 18 2004 Jeremy Katz <katzj@redhat.com> 3:2.1.5-2 |
529 |
- rebuild |
530 |
|
531 |
* Mon May 17 2004 John Dennis <jdennis@redhat.com> 3:2.1.5-1 |
532 |
- bring up to latest 2.1.5 upstream release |
533 |
From Barry Warsaw: Mailman 2.1.5, a bug fix release that also |
534 |
contains new support for the Turkish language, and a few minor new |
535 |
features. Mailman 2.1.5 is a significant upgrade which should |
536 |
improve disk i/o performance, administrative overhead for discarding |
537 |
held spams, and the behavior of bouncing member disables. This |
538 |
version also contains a fix for an exploit that could allow 3rd |
539 |
parties to retrieve member passwords. It is thus highly recommended |
540 |
that all existing sitesupgrade to the latest version |
541 |
|
542 |
* Tue May 04 2004 Warren Togami <wtogami@redhat.com> 3:2.1.4-4 |
543 |
- #105638 fix bytecompile and rpm -V |
544 |
- postun /etc/postfix/aliases fix |
545 |
- clean uninstall (no more empty dirs) |
546 |
- #115378 RedirectMatch syntax fix |
547 |
|
548 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
549 |
- rebuilt |
550 |
|
551 |
* Fri Jan 9 2004 John Dennis <jdennis@finch.boston.redhat.com> 3:2.1.4-1 |
552 |
- upgrade to new upstream release 2.1.4 |
553 |
- fixes bugs 106349,112851,105367,91463 |
554 |
|
555 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
556 |
- rebuilt |
557 |
|
558 |
* Wed May 7 2003 John Dennis <jdennis@finch.boston.redhat.com> |
559 |
- bring up to next upstream release 2.1.2 |
560 |
|
561 |
* Sun May 04 2003 Florian La Roche <Florian.LaRoche@redhat.de> |
562 |
- fix typo in post script: mmusr -> mmuser |
563 |
|
564 |
* Thu Apr 24 2003 John Dennis <jdennis@finch.boston.redhat.com> |
565 |
- fix bug 72004, 74483, 74484, 87856 - improper log rotation |
566 |
- fix bug 88083 - mailman user/group needed to exist during build |
567 |
- fix bug 88144 - wrong %file attributes on mm_cfg.py |
568 |
- fix bug 89221 - mailman user not created on install |
569 |
- fix bug 89250 - wrong pid file name in initscript |
570 |
|
571 |
* Wed Mar 05 2003 Florian La Roche <Florian.LaRoche@redhat.de> |
572 |
- change to /etc/rc.d/init.d as in all other rpms |
573 |
|
574 |
* Thu Feb 20 2003 John Dennis <jdennis@finch.boston.redhat.com> |
575 |
- change mailman login shell from /bin/false to /sbin/nologin |
576 |
|
577 |
* Fri Feb 14 2003 John Dennis <jdennis@finch.boston.redhat.com> |
578 |
- bring package up to 2.1.1 release, add /usr/share/doc files |
579 |
|
580 |
* Sat Feb 01 2003 Florian La Roche <Florian.LaRoche@redhat.de> |
581 |
- make the icon dir owned by root:root as in other rpms |
582 |
|
583 |
* Fri Jan 31 2003 John Dennis <jdennis@finch.boston.redhat.com> |
584 |
- various small tweaks to the spec file to make installation cleaner |
585 |
- use %{__python} when compiling, redirect compile output to /dev/null, |
586 |
- don't run update in %post, let the user do it, remove the .pyc files in %postun, |
587 |
- add setting of MAILHOST and URLHOST to localhost.localdomain, don't let |
588 |
- configure set them to the build machine. |
589 |
|
590 |
* Mon Jan 27 2003 John Dennis <jdennis@finch.boston.redhat.com> |
591 |
- add the cross site scripting (xss) security patch to version 2.1 |
592 |
|
593 |
* Fri Jan 24 2003 John Dennis <jdennis@finch.boston.redhat.com> |
594 |
- do not start mailman service in %post |
595 |
|
596 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> |
597 |
- rebuilt |
598 |
|
599 |
* Mon Jan 20 2003 John Dennis <jdennis@finch.boston.redhat.com> |
600 |
- 1) remove config patch, mailmanctl was not the right file to install in init.d, |
601 |
- it needed to be scripts/mailman |
602 |
- 2) rename httpd-mailman.conf to mailman.conf, since the file now lives |
603 |
- in httpd/conf.d directory the http prefix is redundant and inconsistent |
604 |
- with the other file names in that directory. |
605 |
|
606 |
* Tue Jan 7 2003 John Dennis <jdennis@finch.boston.redhat.com> |
607 |
- Bring package up to date with current upstream source, 2.1 |
608 |
- Fix several install/packaging problems that were in upstream source |
609 |
- Add multiple mail group functionality |
610 |
- Fix syntax error in fblast.py |
611 |
- Remove the forced setting of mail host and url host in mm_cfg.py |
612 |
|
613 |
* Tue Nov 12 2002 Tim Powers <timp@redhat.com> 2.0.13-4 |
614 |
- remove files from $$RPM_BUILD_ROOT that we don't intent to ship |
615 |
|
616 |
* Thu Aug 14 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.13-3 |
617 |
- set MAILHOST and WWWHOST in case the configure script can't figure out the |
618 |
local host name |
619 |
|
620 |
* Fri Aug 2 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.13-2 |
621 |
- rebuild |
622 |
|
623 |
* Fri Aug 2 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.13-1 |
624 |
- specify log files individually, per faq wizard |
625 |
- update to 2.0.13 |
626 |
|
627 |
* Wed May 22 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.11-1 |
628 |
- update to 2.0.11 |
629 |
|
630 |
* Fri Apr 5 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.9-1 |
631 |
- include README.QMAIL in with the docs (#58887) |
632 |
- include README.SENDMAIL and README.EXIM in with the docs |
633 |
- use an included httpd.conf file instead of listing the configuration |
634 |
directives in the %%description, which due to specspo magic might look |
635 |
wrong sometimes (part of #51324) |
636 |
- interpolate the DEFAULT_HOST_NAME value in mm.cfg into both the DEFAULT_URL |
637 |
and MAILMAN_OWNER (#57987) |
638 |
- move logs to /var/log/mailman, qfiles to /var/spool/mailman, rotate |
639 |
logs in the log directory (#48724) |
640 |
- raise exceptions when someone tries to set the admin address for a list |
641 |
to that of the admin alias (#61468) |
642 |
|
643 |
* Thu Apr 4 2002 Nalin Dahyabhai <nalin@redhat.com> |
644 |
- fix a default permissions problem in %{_var}/mailman/archives/private, |
645 |
reported by Johannes Erdfelt |
646 |
- update to 2.0.9 |
647 |
|
648 |
* Tue Apr 2 2002 Nalin Dahyabhai <nalin@redhat.com> |
649 |
- make the symlink in /etc/smrsh relative |
650 |
|
651 |
* Tue Dec 11 2001 Nalin Dahyabhai <nalin@redhat.com> 2.0.8-1 |
652 |
- set FQDN and URL at build-time so that they won't be set to the host the |
653 |
RPM package is built on (#59177) |
654 |
|
655 |
* Wed Nov 28 2001 Nalin Dahyabhai <nalin@redhat.com> |
656 |
- update to 2.0.8 |
657 |
|
658 |
* Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.0.7-1 |
659 |
- update to 2.0.7 |
660 |
|
661 |
* Wed Jul 25 2001 Nalin Dahyabhai <nalin@redhat.com> 2.0.6-1 |
662 |
- update to 2.0.6 |
663 |
|
664 |
* Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com> |
665 |
- code in default user/group names/IDs |
666 |
|
667 |
* Wed May 30 2001 Nalin Dahyabhai <nalin@redhat.com> |
668 |
- update to 2.0.5 |
669 |
- change the default hostname from localhost to localhost.localdomain in the |
670 |
default configuration |
671 |
- chuck configuration file settings other than those dependent on the host name |
672 |
(the build system's host name is not a good default) (#32337) |
673 |
|
674 |
* Tue Mar 13 2001 Nalin Dahyabhai <nalin@redhat.com> |
675 |
- update to 2.0.3 |
676 |
|
677 |
* Tue Mar 6 2001 Nalin Dahyabhai <nalin@redhat.com> |
678 |
- update to 2.0.2 |
679 |
|
680 |
* Wed Feb 21 2001 Nalin Dahyabhai <nalin@redhat.com> |
681 |
- patch from Barry Warsaw (via mailman-developers) to not die on |
682 |
broken Content-Type: headers |
683 |
|
684 |
* Tue Jan 9 2001 Nalin Dahyabhai <nalin@redhat.com> |
685 |
- update to 2.0.1 |
686 |
|
687 |
* Wed Dec 6 2000 Nalin Dahyabhai <nalin@redhat.com> |
688 |
- update to 2.0 final release |
689 |
- move the data to %{_var} |
690 |
|
691 |
* Fri Oct 20 2000 Nalin Dahyabhai <nalin@redhat.com> |
692 |
- update to beta 6 |
693 |
|
694 |
* Thu Aug 3 2000 Nalin Dahyabhai <nalin@redhat.com> |
695 |
- add note about adding FollowSymlinks so that archives work |
696 |
|
697 |
* Wed Aug 2 2000 Nalin Dahyabhai <nalin@redhat.com> |
698 |
- make the default owner root again so that root owns the docs |
699 |
- update to 2.0beta5, which fixes a possible security vulnerability |
700 |
- add smrsh symlink |
701 |
|
702 |
* Mon Jul 24 2000 Prospector <prospector@redhat.com> |
703 |
- rebuilt |
704 |
|
705 |
* Wed Jul 19 2000 Nalin Dahyabhai <nalin@redhat.com> |
706 |
- update to beta4 |
707 |
- change uid/gid to apache.apache to match apache (#13593) |
708 |
- properly recompile byte-compiled versions of the scripts (#13619) |
709 |
- change mailman alias from root to postmaster |
710 |
|
711 |
* Sat Jul 1 2000 Nalin Dahyabhai <nalin@redhat.com> |
712 |
- update to beta3 |
713 |
- drop bugs and arch patches (integrated into beta3) |
714 |
|
715 |
* Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> |
716 |
- move web files to reside under %{contentdir} |
717 |
- move files from /usr/share to %{_datadir} |
718 |
- integrate spot-fixes from mailman lists via gnome.org |
719 |
|
720 |
* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com> |
721 |
- rebuild for Power Tools |
722 |
|
723 |
* Wed May 23 2000 Nalin Dahyabhai <nalin@redhat.com> |
724 |
- Update to 2.0beta2 to pick up security fixes. |
725 |
- Change equires python to list >= 1.5.2 |
726 |
|
727 |
* Mon Nov 8 1999 Bernhard Rosenkränzer <bero@redhat.com> |
728 |
- 1.1 |
729 |
|
730 |
* Tue Sep 14 1999 Preston Brown <pbrown@redhat.com> |
731 |
- 1.0 final. |
732 |
|
733 |
* Tue Jun 15 1999 Preston Brown <pbrown@redhat.com> |
734 |
- security fix for cookies |
735 |
- moved to /usr/share/mailman |
736 |
|
737 |
* Fri May 28 1999 Preston Brown <pbrown@redhat.com> |
738 |
- fix up default values. |
739 |
|
740 |
* Fri May 07 1999 Preston Brown <pbrown@redhat.com> |
741 |
- modifications to install scripts |
742 |
|
743 |
* Thu May 06 1999 Preston Brown <pbrown@redhat.com> |
744 |
- initial RPM for SWS 3.0 |