Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37416462
en ru br
ALT Linux repositórios
S:0.1.0-alt2.qa1
5.0: 0.1.0-alt2
4.1: 0.1.0-alt2
4.0: 0.1.0-alt0.M40.2

Group :: Sistema/Configurações/Rede
RPM: gadmin-squid

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: alt-gadmin-squid-remove-wais.patch
Download


--- gadmin-squid-0.1.0/src/apply_server_settings.c.orig	2008-03-07 11:45:25 +0200
+++ gadmin-squid-0.1.0/src/apply_server_settings.c	2008-03-07 11:45:41 +0200
@@ -346,8 +346,6 @@ void apply_server_settings(struct w *wid
 	  snprintf(opt_line, 1000, "ftp_list_width %s\n", value);
     	if( i == 26 )
 	  snprintf(opt_line, 1000, "memory_pools_limit %s MB\n", value);
-    	if( i == 27 )
-	  snprintf(opt_line, 1000, "wais_relay_port %s\n", value);
     	if( i == 28 )
 	  snprintf(opt_line, 1000, "request_header_max_size %s KB\n", value);
     	if( i == 29 )
--- gadmin-squid-0.1.0/src/create_server_settings.c.orig	2008-03-07 11:46:01 +0200
+++ gadmin-squid-0.1.0/src/create_server_settings.c	2008-03-07 11:46:22 +0200
@@ -973,12 +973,6 @@ void create_server_settings(struct w *wi
     gtk_tooltips_set_tip(tooltips, widgets->server_set_entry[ent], _("..."), NULL);
     a++; b++; ent++;
 
-    /* wais_relay_port */
-    widgets->server_set_spinbutton[spin] = make_short_spinbutton_with_label(GTK_TABLE(widgets->srv_set_table),
-    _(" Wais relay port: "), 0,1,a,b,50);
-    gtk_tooltips_set_tip(tooltips, widgets->server_set_spinbutton[spin], _("Blah"), NULL);
-    a++; b++; spin++;
-
     /* request_header_max_size */
     widgets->server_set_spinbutton[spin] = make_short_spinbutton_with_label(GTK_TABLE(widgets->srv_set_table),
     _(" Request header max size: "), 0,1,a,b,50);
@@ -1476,7 +1470,6 @@ mail_program mail
 cache_effective_user squid
 cache_effective_group squid
 umask 027
-wais_relay_port 0
 request_header_max_size 20 KB
 request_body_max_size 0 KB
 refresh_pattern ^ftp:           1440    20%     10080
--- gadmin-squid-0.1.0/src/populate_server_settings.c.orig	2008-03-07 11:46:39 +0200
+++ gadmin-squid-0.1.0/src/populate_server_settings.c	2008-03-07 11:46:49 +0200
@@ -834,21 +834,6 @@ void populate_server_settings(struct w *
         	gtk_spin_button_set_value(GTK_SPIN_BUTTON(widgets->server_set_spinbutton[26]), val);
 	    }
 	}
-	if( ! strcmp(firstopt, "wais_relay_port") )
-	{
-	    opt_pos = get_option_pos(line, 1);
-	    snprintf(new_buffer, 1024, "%s", &line[opt_pos]);
-	    new_buffer[strlen(new_buffer)-1]='\0';
-	    for(i=0; new_buffer[i]!='\0'; i++)
-	      if( new_buffer[i]==' ' )
-	        break;
-	    new_buffer[i]='\0';
-	    if( chars_are_digits(new_buffer) )
-	    {
-        	val = atoi(new_buffer);
-        	gtk_spin_button_set_value(GTK_SPIN_BUTTON(widgets->server_set_spinbutton[27]), val);
-	    }
-	}
 	if( ! strcmp(firstopt, "request_header_max_size") )
 	{
 	    opt_pos = get_option_pos(line, 1);
--- gadmin-squid-0.1.0/src/standard_conf.c.orig	2008-03-07 11:47:02 +0200
+++ gadmin-squid-0.1.0/src/standard_conf.c	2008-03-07 11:47:15 +0200
@@ -185,7 +185,6 @@ void add_standard_conf(struct w *widgets
     "authenticate_cache_garbage_interval 1 hour\n",
     "authenticate_ttl 1 hour\n",
     "authenticate_ip_ttl 0 seconds\n",
-    "wais_relay_port 0\n",
     "request_header_max_size 20 KB\n",
     "request_body_max_size 0 KB\n",
     "quick_abort_min 16 KB\n",
@@ -316,7 +315,6 @@ void add_standard_conf(struct w *widgets
     "acl Safe_ports port 21		# ftp\n",
     "acl Safe_ports port 443		# https\n",
     "acl Safe_ports port 70		# gopher\n",
-    "acl Safe_ports port 210		# wais\n",
     "acl Safe_ports port 1025-65535	# unregistered ports\n",
     "acl Safe_ports port 280		# http-mgmt\n",
     "acl Safe_ports port 488		# gss-http\n",
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009