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