rpms/mailman/devel mailman-update-cfg, NONE, 1.1 mailman.spec, 1.75, 1.76 mm_cfg.py, 1.6, 1.7
Daniel Novotny
dnovotny at fedoraproject.org
Thu Feb 12 14:34:06 UTC 2009
- Previous message: rpms/cups/devel cups-avahi.patch,1.2,1.3 cups.spec,1.459,1.460
- Next message: rpms/sleuthkit/devel sources, 1.4, 1.5 .cvsignore, 1.4, 1.5 sleuthkit.spec, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dnovotny
Update of /cvs/extras/rpms/mailman/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28500
Modified Files:
mailman.spec mm_cfg.py
Added Files:
mailman-update-cfg
Log Message:
fix bz#484328
--- 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/devel/mailman.spec,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- mailman.spec 1 Dec 2008 05:03:50 -0000 1.75
+++ mailman.spec 12 Feb 2009 14:33:36 -0000 1.76
@@ -1,7 +1,7 @@
Summary: Mailing list manager with built in Web access
Name: mailman
Version: 2.1.11
-Release: 5%{?dist}
+Release: 6%{?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
@@ -236,6 +237,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#484328)
+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 +359,13 @@
%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 Feb 12 2009 Daniel Novotny <dnovotny at redhat.com> 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 <ivazqueznet+rpm at gmail.com> - 3:2.1.11-5
- Rebuild for Python 2.6
Index: mm_cfg.py
===================================================================
RCS file: /cvs/extras/rpms/mailman/devel/mm_cfg.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- mm_cfg.py 14 Oct 2004 21:02:16 -0000 1.6
+++ mm_cfg.py 12 Feb 2009 14:33:36 -0000 1.7
@@ -44,6 +44,11 @@
##################################################
# Put YOUR site-specific settings below this line.
+#ATTENTION: when you use SELinux, mailman might not
+#be able to recompile the configuration file
+#due to policy settings. If this is the case,
+#please run (as root) the supplied "mailman-update-cfg" script
+
##############################################################
# Here's where we override shipped defaults with settings #
# suitable for the RPM package. #
- Previous message: rpms/cups/devel cups-avahi.patch,1.2,1.3 cups.spec,1.459,1.460
- Next message: rpms/sleuthkit/devel sources, 1.4, 1.5 .cvsignore, 1.4, 1.5 sleuthkit.spec, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list