rpms/mailman/devel mailman-2.1.9-ctypo.patch, NONE, 1.1 mailman.spec, 1.64, 1.65

Tomas Smetana (tsmetana) fedora-extras-commits at redhat.com
Thu May 24 12:51:36 UTC 2007


Author: tsmetana

Update of /cvs/pkgs/rpms/mailman/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12189

Modified Files:
	mailman.spec 
Added Files:
	mailman-2.1.9-ctypo.patch 
Log Message:
fix 237315, fix check_perms, spec file cleanup

mailman-2.1.9-ctypo.patch:

--- NEW FILE mailman-2.1.9-ctypo.patch ---
--- mailman-2.1.9/bin/check_perms.ctypo	2007-05-24 11:07:40.000000000 +0200
+++ mailman-2.1.9/bin/check_perms	2007-05-24 11:07:56.000000000 +0200
@@ -213,7 +213,7 @@
     # In addition, on a multiuser system you may want to hide the private
     # archives so other users can't read them.
     if mode & S_IXOTH:
-        print _("""\
+        print C_("""\
 Warning: Private archive directory is other-executable (o+x).
          This could allow other users on your system to read private archives.
          If you're on a shared multiuser system, you should consult the


Index: mailman.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mailman/devel/mailman.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- mailman.spec	29 Jan 2007 14:18:25 -0000	1.64
+++ mailman.spec	24 May 2007 12:50:59 -0000	1.65
@@ -1,7 +1,7 @@
-Summary: Mailing list manager with built in Web access.
+Summary: Mailing list manager with built in Web access
 Name: mailman
 Version: 2.1.9
-Release: 5
+Release: 6
 Epoch: 3
 Group: Applications/Internet
 #Source0: ftp://ftp.gnu.org/pub/gnu/mailman/mailman-%{version}.tgz
@@ -21,11 +21,12 @@
 Patch7: mailman-init.patch
 Patch8: mailman-archive-reply.patch
 Patch9: mailman-2.1.9-LC_CTYPE.patch
+Patch10: mailman-2.1.9-ctypo.patch
 
 License: GPL
 URL: http://www.list.org/
 BuildRoot: %{_tmppath}/%{name}-root
-Prereq: shadow-utils, /sbin/chkconfig, /sbin/service
+Requires(pre): shadow-utils, /sbin/chkconfig, /sbin/service
 Requires: vixie-cron >= 4.1-9, httpd, python >= 2.2, mktemp
 BuildRequires: python-devel >= 2.2, automake
 
@@ -96,13 +97,15 @@
 %patch7 -p1 -b .inithelp
 %patch8 -p1 -b .archive-in-reply-to
 %patch9 -p1 -b .lctype
+%patch10 -p1 -b .ctypo
 
-cp $RPM_SOURCE_DIR/mailman.INSTALL.REDHAT.in INSTALL.REDHAT.in
+#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
+rm -f configure
 aclocal
 autoconf
 ./configure \
@@ -215,7 +218,7 @@
 install -m644 %{mmbuilddir}/UPGRADING        $RPM_BUILD_ROOT%{docdir}
 
 cp -r %{mmbuilddir}/contrib $RPM_BUILD_ROOT%{docdir}
-install -m644 $RPM_SOURCE_DIR/mailman-migrate-fhs $RPM_BUILD_ROOT%{docdir}/contrib/migrate-fhs
+install -m644 %{SOURCE7} $RPM_BUILD_ROOT%{docdir}/contrib/migrate-fhs
 install -m755 -d $RPM_BUILD_ROOT%{docdir}/admin
 cp -r %{mmbuilddir}/admin/www $RPM_BUILD_ROOT%{docdir}/admin
 
@@ -227,6 +230,11 @@
 # executable by itself so turn off its execute permissions
 chmod 0644 $RPM_BUILD_ROOT/%{mmdir}/tests/fblast.py
 
+# Security issues...
+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
+
 %clean
 rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/files.%{name}
 
@@ -328,6 +336,11 @@
 %attr(0644,root,%{mmgroup}) %config(noreplace) %{mmdir}/cron/crontab.in
 
 %changelog
+* Thu May 24 2007 Tomas Smetana <tsmetana at redhat.com> - 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 <harald at redhat.com> - 3:2.1.9-5
 - mailman-2.1.9-LC_CTYPE.patch added (bug #132495)
 - Resolves: rhbz#132495
@@ -459,7 +472,7 @@
 - fix bug #129920, cron jobs execute under wrong SELinux policy
 
 * Mon Aug 30 2004 John Dennis <jdennis at redhat.com> 3:2.1.5-11
-- remove all editing of aliases file in %pre and %post, fixes #bug 125651
+- remove all editing of aliases file in %%pre and %%post, fixes #bug 125651
 
 * Mon Aug  9 2004 John Dennis <jdennis at redhat.com> 3:2.1.5-10
 - fix bug #129492 and bug #120912
@@ -533,7 +546,7 @@
 * Thu Apr 24 2003 John Dennis <jdennis at finch.boston.redhat.com>
 - 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 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
 
@@ -551,8 +564,8 @@
 
 * Fri Jan 31 2003 John Dennis <jdennis at finch.boston.redhat.com>
 - 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,
+- 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.
 
@@ -560,7 +573,7 @@
 - add the cross site scripting (xss) security patch to version 2.1
 
 * Fri Jan 24 2003 John Dennis <jdennis at finch.boston.redhat.com>
-- do not start mailman service in %post
+- do not start mailman service in %%post
 
 * Wed Jan 22 2003 Tim Powers <timp at redhat.com>
 - rebuilt
@@ -610,7 +623,7 @@
   to that of the admin alias (#61468)
 
 * Thu Apr  4 2002 Nalin Dahyabhai <nalin at redhat.com>
-- fix a default permissions problem in %{_var}/mailman/archives/private,
+- fix a default permissions problem in %%{_var}/mailman/archives/private,
   reported by Johannes Erdfelt
 - update to 2.0.9
 
@@ -655,7 +668,7 @@
 
 * Wed Dec  6 2000 Nalin Dahyabhai <nalin at redhat.com>
 - update to 2.0 final release
-- move the data to %{_var}
+- move the data to %%{_var}
 
 * Fri Oct 20 2000 Nalin Dahyabhai <nalin at redhat.com>
 - update to beta 6
@@ -682,8 +695,8 @@
 - drop bugs and arch patches (integrated into beta3)
 
 * Tue Jun 27 2000 Nalin Dahyabhai <nalin at redhat.com>
-- move web files to reside under %{contentdir}
-- move files from /usr/share to %{_datadir}
+- move web files to reside under %%{contentdir}
+- move files from /usr/share to %%{_datadir}
 - integrate spot-fixes from mailman lists via gnome.org
 
 * Mon Jun 19 2000 Nalin Dahyabhai <nalin at redhat.com>
@@ -693,7 +706,7 @@
 - Update to 2.0beta2 to pick up security fixes.
 - Change equires python to list >= 1.5.2
 
-* Mon Nov  8 1999 Bernhard Rosenkränzer <bero at redhat.com>
+* Mon Nov  8 1999 Bernhard Rosenkränzer <bero at redhat.com>
 - 1.1
 
 * Tue Sep 14 1999 Preston Brown <pbrown at redhat.com>




More information about the scm-commits mailing list