/[smecontribs]/rpms/mailman/contribs7/mailman.spec
ViewVC logotype

Contents of /rpms/mailman/contribs7/mailman.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Apr 21 00:12:42 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: mailman-2_1_5_1-34_rhel4_6_el4_sme
Initial import of mailman-2.1.5.1-34.rhel4.6.el4.sme.src.rpm

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed