rpms/NetworkManager-openvpn/devel nm-openvpn-fix-pw-tls-entries.patch, NONE, 1.1 nm-openvpn-script-security.patch, NONE, 1.1 NetworkManager-openvpn.spec, 1.22, 1.23

Daniel Williams dcbw at fedoraproject.org
Tue Sep 30 20:12:35 UTC 2008


Author: dcbw

Update of /cvs/pkgs/rpms/NetworkManager-openvpn/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22631

Modified Files:
	NetworkManager-openvpn.spec 
Added Files:
	nm-openvpn-fix-pw-tls-entries.patch 
	nm-openvpn-script-security.patch 
Log Message:
* Tue Sep 30 2008 Dan Williams <dcbw at redhat.com> 1:0.7.0-16.svn4027
- Fix order of Password TLS certificate choosers (rh #464765)
- Use %find_lang for locale-specific files (rh #448551)
- Fix --script-security issues with OpenVPN 2.1-rc9 and later (rh #460754)



nm-openvpn-fix-pw-tls-entries.patch:

--- NEW FILE nm-openvpn-fix-pw-tls-entries.patch ---
diff -up NetworkManager-openvpn-0.7.0/properties/nm-openvpn-dialog.glade.entries NetworkManager-openvpn-0.7.0/properties/nm-openvpn-dialog.glade
--- NetworkManager-openvpn-0.7.0/properties/nm-openvpn-dialog.glade.entries	2008-09-30 15:59:39.000000000 -0400
+++ NetworkManager-openvpn-0.7.0/properties/nm-openvpn-dialog.glade	2008-09-30 16:01:37.000000000 -0400
@@ -426,7 +426,7 @@
                               <widget class="GtkLabel" id="label8">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">CA Certificate:</property>
+                                <property name="label" translatable="yes">User Certificate:</property>
                               </widget>
                               <packing>
                                 <property name="top_attach">1</property>
@@ -438,7 +438,7 @@
                               <widget class="GtkLabel" id="label6">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">User Certificate:</property>
+                                <property name="label" translatable="yes">CA Certificate:</property>
                               </widget>
                               <packing>
                                 <property name="top_attach">2</property>

nm-openvpn-script-security.patch:

--- NEW FILE nm-openvpn-script-security.patch ---
diff -up NetworkManager-openvpn-0.7.0/src/nm-openvpn-service.c.script-security NetworkManager-openvpn-0.7.0/src/nm-openvpn-service.c
--- NetworkManager-openvpn-0.7.0/src/nm-openvpn-service.c.script-security	2008-09-30 15:56:42.000000000 -0400
+++ NetworkManager-openvpn-0.7.0/src/nm-openvpn-service.c	2008-09-30 15:57:03.000000000 -0400
@@ -611,6 +611,13 @@ nm_openvpn_start_openvpn_binary (NMOpenv
 	add_openvpn_arg (args, "--syslog");
 	add_openvpn_arg (args, "nm-openvpn");
 
+	/* Punch script security in the face; this option was added to OpenVPN 2.1-rc9
+	 * and defaults to disallowing any scripts, a behavior change from previous
+	 * versions.
+	 */
+	add_openvpn_arg (args, "--script-security");
+	add_openvpn_arg (args, "2");
+
 	/* Up script, called when connection has been established or has been restarted */
 	add_openvpn_arg (args, "--up");
 	add_openvpn_arg (args, NM_OPENVPN_HELPER_PATH);


Index: NetworkManager-openvpn.spec
===================================================================
RCS file: /cvs/pkgs/rpms/NetworkManager-openvpn/devel/NetworkManager-openvpn.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- NetworkManager-openvpn.spec	29 Aug 2008 14:05:56 -0000	1.22
+++ NetworkManager-openvpn.spec	30 Sep 2008 20:12:04 -0000	1.23
@@ -10,7 +10,7 @@
 Name: NetworkManager-openvpn
 Epoch:   1
 Version: 0.7.0
-Release: 15.%{svn_snapshot}%{?dist}
+Release: 16.%{svn_snapshot}%{?dist}
 License: GPLv2+
 URL: http://www.gnome.org/projects/NetworkManager/
 Group: System Environment/Base
@@ -21,6 +21,9 @@
 # - make distcheck
 # - use generated NetworkManager-openvpn-0.7.0.tar.gz
 Source: %{name}-%{version}.%{svn_snapshot}.tar.gz
+Patch0: nm-openvpn-fix-pw-tls-entries.patch
+Patch10: nm-openvpn-script-security.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: gtk2-devel                 >= %{gtk2_version}
 BuildRequires: dbus-devel                 >= %{dbus_version}
@@ -55,6 +58,9 @@
 %prep
 %setup -q -n %{name}-%{version}
 
+%patch0 -p1 -b .pw-tls-entries
+%patch10 -p1 -b .script-security
+
 %build
 if [ ! -f configure ]; then
   ./autogen.sh
@@ -68,6 +74,8 @@
 
 rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
 
+%find_lang %{name}
+
 %clean
 rm -rf %{buildroot}
 
@@ -87,7 +95,7 @@
       /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
 fi
 
-%files
+%files -f %{name}.lang
 %defattr(-, root, root)
 
 %doc AUTHORS ChangeLog README
@@ -103,6 +111,11 @@
 %{_datadir}/locale/*/LC_MESSAGES/NetworkManager-openvpn.mo
 
 %changelog
+* Tue Sep 30 2008 Dan Williams <dcbw at redhat.com> 1:0.7.0-16.svn4027
+- Fix order of Password TLS certificate choosers (rh #464765)
+- Use %find_lang for locale-specific files (rh #448551)
+- Fix --script-security issues with OpenVPN 2.1-rc9 and later (rh #460754)
+
 * Fri Aug 29 2008 Dan Williams <dcbw at redhat.com> 1:0.7.0-15.svn4027
 - Rebuild for updated NetworkManager
 




More information about the fedora-extras-commits mailing list