rpms/nspluginwrapper/devel plugin-config-umask.patch, NONE, 1.1 nspluginwrapper.spec, 1.62, 1.63

Martin Stransky stransky at fedoraproject.org
Fri Oct 17 10:29:56 UTC 2008


Author: stransky

Update of /cvs/pkgs/rpms/nspluginwrapper/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21734

Modified Files:
	nspluginwrapper.spec 
Added Files:
	plugin-config-umask.patch 
Log Message:
* Fri Oct 17 2008 Martin Stransky <stransky at redhat.com> 1.1.2-2
- added umask to plugin config (#463736)



plugin-config-umask.patch:

--- NEW FILE plugin-config-umask.patch ---
diff -up nspluginwrapper-1.1.2/plugin-config-1.9/src/plugin-config.c.old nspluginwrapper-1.1.2/plugin-config-1.9/src/plugin-config.c
--- nspluginwrapper-1.1.2/plugin-config-1.9/src/plugin-config.c.old	2008-02-26 12:52:02.000000000 +0100
+++ nspluginwrapper-1.1.2/plugin-config-1.9/src/plugin-config.c	2008-10-17 12:18:39.000000000 +0200
@@ -785,6 +785,8 @@ void configure(void)
   cfg.action = A_CHECK;
 
   create_exclude_lists();  
+
+  umask(S_IWGRP|S_IWOTH); 
 }
 
 /**********************************************************************************


Index: nspluginwrapper.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nspluginwrapper/devel/nspluginwrapper.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- nspluginwrapper.spec	16 Oct 2008 12:06:04 -0000	1.62
+++ nspluginwrapper.spec	17 Oct 2008 10:29:26 -0000	1.63
@@ -70,7 +70,7 @@
 Summary:	A compatibility layer for Netscape 4 plugins
 Name:		nspluginwrapper
 Version:	1.1.2
-Release:	1%{?dist}
+Release:	2%{?dist}
 Source0:	%{name}-%{version}%{?svndate:-%{svndate}}.tar.bz2
 Source1:        %{plugin_config_name}.tar.gz 
 Source2:        plugin-config.sh.in
@@ -80,6 +80,7 @@
 Patch3:         nspluginwrapper-1.1.0-fork.patch
 Patch4:         nspluginwrapper-0.9.91.5-shutdown.patch
 Patch5:         nspluginwrapper-0.9.91.5-sleep.patch
+Patch6:         plugin-config-umask.patch
 Patch100:       plugin-config-setuid.patch
 License:	GPLv2+
 Group:		Networking/WWW
@@ -109,6 +110,7 @@
 %patch3 -p1 -b .fork
 %patch4 -p1 -b .shutdown
 %patch5 -p1 -b .sleep
+%patch6 -p1 -b .umask
 
 pushd %plugin_config_name
 %patch100 -p2
@@ -239,6 +241,9 @@
 %config %{_sysconfdir}/sysconfig/%{name}
 
 %changelog
+* Fri Oct 17 2008 Martin Stransky <stransky at redhat.com> 1.1.2-2
+- added umask to plugin config (#463736)
+
 * Thu Oct 16 2008 Martin Stransky <stransky at redhat.com> 1.1.2-1
 - updated to 1.1.12
 - added librhythmbox* to ignored plugins (#467187)




More information about the scm-commits mailing list