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