rpms/mailman/F-10 mailman-2.1.11-mmcfg.patch, NONE, 1.1 mailman-update-cfg, NONE, 1.1 mailman.spec, 1.74, 1.75
Daniel Novotny
dnovotny at fedoraproject.org
Thu Apr 2 13:46:06 UTC 2009
- Previous message (by thread): rpms/cyrus-imapd/devel .cvsignore, 1.13, 1.14 cyrus-imapd-2.3.12p2-autocreate-0.10-0.diff, 1.2, 1.3 cyrus-imapd.spec, 1.51, 1.52 sources, 1.15, 1.16
- Next message (by thread): rpms/java-1.6.0-openjdk/F-10 java-1.6.0-openjdk-pulsejava.patch, NONE, 1.1 java-1.6.0-openjdk-lcms.patch, 1.2, 1.3 java-1.6.0-openjdk.spec, 1.105, 1.106
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dnovotny
Update of /cvs/extras/rpms/mailman/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8477
Modified Files:
mailman.spec
Added Files:
mailman-2.1.11-mmcfg.patch mailman-update-cfg
Log Message:
fix #481446
mailman-2.1.11-mmcfg.patch:
--- NEW FILE mailman-2.1.11-mmcfg.patch ---
diff -up mailman-2.1.11/misc/mailman.in.selinux mailman-2.1.11/misc/mailman.in
--- mailman-2.1.11/misc/mailman.in.selinux 2009-04-02 15:03:19.000000000 +0200
+++ mailman-2.1.11/misc/mailman.in 2009-04-02 15:04:23.000000000 +0200
@@ -84,6 +84,7 @@ prog="mailman"
function start()
{
echo -n $"Starting $prog: "
+ mailman-update-cfg
daemon $MAILMANCTL -s -q start
RETVAL=$?
if [ $RETVAL -eq 0 ]
@@ -98,6 +99,7 @@ function start()
function stop()
{
echo -n $"Shutting down $prog: "
+ mailman-update-cfg
daemon $MAILMANCTL -q stop
RETVAL=$?
if [ $RETVAL -eq 0 ]
--- NEW FILE mailman-update-cfg ---
#!/usr/bin/python
import py_compile
py_compile.compile("/usr/lib/mailman/Mailman/mm_cfg.py")
Index: mailman.spec
===================================================================
RCS file: /cvs/extras/rpms/mailman/F-10/mailman.spec,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- mailman.spec 29 Oct 2008 07:53:15 -0000 1.74
+++ mailman.spec 2 Apr 2009 13:45:36 -0000 1.75
@@ -1,7 +1,7 @@
Summary: Mailing list manager with built in Web access
Name: mailman
Version: 2.1.11
-Release: 4%{?dist}
+Release: 5%{?dist}
Epoch: 3
Group: Applications/Internet
#Source0: ftp://ftp.gnu.org/pub/gnu/mailman/mailman-%{version}.tgz
@@ -12,6 +12,7 @@
Source5: mailman.INSTALL.REDHAT.in
Source6: mailman-crontab-edit
Source7: mailman-migrate-fhs
+Source8: mailman-update-cfg
Patch1: mailman-2.1-multimail.patch
Patch2: mailman-2.1-build.patch
@@ -28,6 +29,7 @@
Patch13: mailman-2.1.9-unicode.patch
Patch14: mailman-2.1.11-fhsinit.patch
Patch15: mailman-2.1.11-footer.patch
+Patch16: mailman-2.1.11-mmcfg.patch
License: GPLv2+
URL: http://www.list.org/
@@ -111,6 +113,7 @@
%patch13 -p1 -b .unicode
%patch14 -p1 -b .fhsinit
%patch15 -p1 -b .footer
+%patch16 -p1 -b .mmcfg
#cp $RPM_SOURCE_DIR/mailman.INSTALL.REDHAT.in INSTALL.REDHAT.in
cp %{SOURCE5} INSTALL.REDHAT.in
@@ -236,6 +239,10 @@
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#481446)
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+install -m755 %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}
+
# remove dir/files from $RPM_BUILD_ROOT that we aren't shipping
rm -rf $RPM_BUILD_ROOT%{varmmdir}/icons
@@ -354,8 +361,12 @@
%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
+* Thu Apr 02 2009 Daniel Novotny <dnovotny at redhat.com> 3:2.1.11-5
+- fix bz#481446 (Recompile of mailman's config causes SElinux denials)
+
* Wed Oct 29 2008 Daniel Novotny <dnovotny at redhat.com> 3:2.1.11-4
fix #460820 - msg_footer gets its trailing spaces trimmed
- Previous message (by thread): rpms/cyrus-imapd/devel .cvsignore, 1.13, 1.14 cyrus-imapd-2.3.12p2-autocreate-0.10-0.diff, 1.2, 1.3 cyrus-imapd.spec, 1.51, 1.52 sources, 1.15, 1.16
- Next message (by thread): rpms/java-1.6.0-openjdk/F-10 java-1.6.0-openjdk-pulsejava.patch, NONE, 1.1 java-1.6.0-openjdk-lcms.patch, 1.2, 1.3 java-1.6.0-openjdk.spec, 1.105, 1.106
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list