Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 57031 Details for
Bug 90147
Added HTTP,FTP,RSYNC proxy support to GLIInstallProfile and the Dialog frontend
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add proxy menus to the dialog frontend.
dialog.patch (text/plain), 1.94 KB, created by
Christopher Hotchkiss
on 2005-04-23 11:37:24 UTC
(
hide
)
Description:
Patch to add proxy menus to the dialog frontend.
Filename:
MIME Type:
Creator:
Christopher Hotchkiss
Created:
2005-04-23 11:37:24 UTC
Size:
1.94 KB
patch
obsolete
>--- fe/dialog/dialogfe.py 6 Apr 2005 18:54:25 -0000 1.49 >+++ fe/dialog/dialogfe.py 23 Apr 2005 18:32:33 -0000 >@@ -344,7 +344,7 @@ > def set_networking(): > # This section will be for setting up network interfaces, defining DNS servers, default routes/gateways, etc. > while 1: >- menulist = ["Edit Interfaces", "DNS Servers", "Default Gateway", "Hostname", "Domain Name", "NIS Domain Name"] >+ menulist = ["Edit Interfaces", "DNS Servers", "Default Gateway", "Hostname", "Domain Name", "HTTP Proxy", "FTP Proxy", "RSYNC Proxy", "NIS Domain Name"] > code, menuitem = d.menu("Choose an option", choices=dmenu_list_to_choices(menulist), cancel="Done") > if code != DLG_OK: break > menuitem = menulist[int(menuitem)-1] >@@ -421,6 +421,21 @@ > if type(domain) != str: > d.msgbox("Incorrect domain name! It must be a string. Not saved.") > if code == DLG_OK: install_profile.set_domainname(None, domain, None) >+ elif menuitem == "HTTP Proxy": >+ code, http_proxy = d.inputbox("Enter a HTTP Proxy if you have one.") >+ if not GLIUtility.is_uri(http_proxy) >+ d.msgbox("Incorrect HTTP Proxy! It must be a uri. Not saved.") >+ if code == DLG_OK: install_profile.set_http_proxy(None, http_proxy, None) >+ elif menuitem == "FTP Proxy": >+ code, ftp_proxy = d.inputbox("Enter a FTP Proxy if you have one.") >+ if not GLIUtility.is_uri(ftp_proxy) >+ d.msgbox("Incorrect FTP Proxy! It must be a uri. Not saved.") >+ if code == DLG_OK: install_profile.set_ftp_proxy(None, ftp_proxy, None) >+ elif menuitem == "RSYNC Proxy": >+ code, rsync_proxy = d.inputbox("Enter a RSYNC Proxy if you have one.") >+ if not GLIUtility.is_uri(rsync_proxy) >+ d.msgbox("Incorrect RSYNC Proxy! It must be a uri. Not saved.") >+ if code == DLG_OK: install_profile.set_rsync_proxy(None, rsync_proxy, None) > elif menuitem == "NIS Domain Name": > code, nisdomain = d.inputbox("Enter the desired NIS domain name (if you don't know what this is, don't enter one.)") > if type(nisdomain) != str:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 90147
:
57030
| 57031 |
57038