rpms/stardict/devel stardict-3.0.1-20.security.patch, NONE, 1.1 stardict.spec, 1.68, 1.69
cchance
cchance at fedoraproject.org
Sat Dec 26 18:05:30 UTC 2009
Author: cchance
Update of /cvs/pkgs/rpms/stardict/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv817
Modified Files:
stardict.spec
Added Files:
stardict-3.0.1-20.security.patch
Log Message:
* Sun Dec 27 2009 Caius 'kaio' Chance <k at kaio.me> - 3.0.1-21
- rebuilt
* Sun Dec 27 2009 Caius 'kaio' Chance <k at kaio.me> - 3.0.1-20
- Disable netdict by default and set warning for security.
stardict-3.0.1-20.security.patch:
conf.cpp | 2 +-
prefsdlg.cpp | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
--- NEW FILE stardict-3.0.1-20.security.patch ---
diff -up stardict-3.0.1/src/conf.cpp.orig stardict-3.0.1/src/conf.cpp
--- stardict-3.0.1/src/conf.cpp.orig 2009-12-27 03:34:19.643362105 +1000
+++ stardict-3.0.1/src/conf.cpp 2009-12-27 03:34:35.408307165 +1000
@@ -52,7 +52,7 @@ AppConf::AppConf() :
#else
add_entry("/apps/stardict/preferences/dictionary/use_custom_font", false);
#endif
- add_entry("/apps/stardict/preferences/network/enable_netdict", true);
+ add_entry("/apps/stardict/preferences/network/enable_netdict", false);
// Default stardictd server.
add_entry("/apps/stardict/preferences/network/server", std::string(_("dict.stardict.org")));
add_entry("/apps/stardict/preferences/network/port", 2628);
diff -up stardict-3.0.1/src/prefsdlg.cpp.orig stardict-3.0.1/src/prefsdlg.cpp
--- stardict-3.0.1/src/prefsdlg.cpp.orig 2009-12-27 03:35:32.412305578 +1000
+++ stardict-3.0.1/src/prefsdlg.cpp 2009-12-27 03:36:47.272583142 +1000
@@ -1037,6 +1037,10 @@ void PrefsDlg::setup_network_netdict()
GtkWidget *hbox1 = gtk_hbox_new(FALSE, 6);
gtk_box_pack_start(GTK_BOX(hbox1),button,false,false,0);
gtk_box_pack_start(GTK_BOX(vbox1),hbox1,false,false,0);
+
+ label = gtk_label_new(_("Warning: Requests to remote StarDict server are sent over the network in an unencrypted form. Do not enable this if you are translating sensitive documents."));
+ gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
+ gtk_box_pack_start(GTK_BOX(vbox1),label,false,false,0);
}
void PrefsDlg::on_setup_mainwin_searchWhileTyping_ckbutton_toggled(GtkToggleButton *button, PrefsDlg *oPrefsDlg)
Index: stardict.spec
===================================================================
RCS file: /cvs/pkgs/rpms/stardict/devel/stardict.spec,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -p -r1.68 -r1.69
--- stardict.spec 26 Dec 2009 17:50:11 -0000 1.68
+++ stardict.spec 26 Dec 2009 18:05:30 -0000 1.69
@@ -4,7 +4,7 @@
Name: %{name}
Summary: A powerful dictionary platform written in GTK+2
Version: %{version}
-Release: 20%{?dist}
+Release: 21%{?dist}
Group: Applications/System
License: GPLv3
URL: http://stardict.sourceforge.net
@@ -107,6 +107,9 @@ if which scrollkeeper-update>/dev/null 2
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
%changelog
+* Sun Dec 27 2009 Caius 'kaio' Chance <k at kaio.me> - 3.0.1-21
+- rebuilt
+
* Sun Dec 27 2009 Caius 'kaio' Chance <k at kaio.me> - 3.0.1-20
- Disable netdict by default and set warning for security.
More information about the fedora-extras-commits
mailing list