diff options
-rw-r--r-- | dhcp_wizard/dhcp.wiz | 637 | ||||
-rw-r--r-- | dns_wizard/dns.wiz | 867 | ||||
-rw-r--r-- | firewall_wizard/firewall.wiz | 723 | ||||
-rw-r--r-- | ftp_wizard/ftp.wiz | 552 | ||||
-rw-r--r-- | news_wizard/news.wiz | 769 | ||||
-rw-r--r-- | postfix_wizard/postfix.wiz | 859 | ||||
-rw-r--r-- | proxy_wizard/proxy.wiz | 1734 | ||||
-rw-r--r-- | samba_wizard/samba.wiz | 895 | ||||
-rw-r--r-- | server_wizard/server.wiz | 1657 | ||||
-rw-r--r-- | web_wizard/web.wiz | 552 |
10 files changed, 9245 insertions, 0 deletions
diff --git a/dhcp_wizard/dhcp.wiz b/dhcp_wizard/dhcp.wiz new file mode 100644 index 00000000..6ac5e0f8 --- /dev/null +++ b/dhcp_wizard/dhcp.wiz @@ -0,0 +1,637 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="wizdrake: DHCP Wizard" + imagePosition="top" + defaultImage="__WIZ_HOME__/images/DHCP.jpg" + height="400" + width="525" + hasDb="true" + dbPositions="2" + dbFilename="/var/log/wizards/dhcp.wdb" + referenceLength="425" + referenceHeight="13" + perlModule="__WIZ_HOME__/dhcp_wizard/scripts/Dhcpconf.pm" +> + + <Variable + name="dhcp_range_low" + comment="Low end of the DHCP server IP range" + shellVariable="wiz_ip_range1" + defaultValue="192.168.0.100" + persistent="true" + dbPosition="0" + key="false" + > + </Variable> + + <Variable + name="dhcp_range_high" + comment="High end of the DHCP server IP range" + shellVariable="wiz_ip_range2" + defaultValue="192.168.0.254" + persistent="true" + dbPosition="1" + key="false" + > + </Variable> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html" + name="welcome" + jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="ask_dhcp_ip_range" + jumpIndex="0" + > + </Target> + + <Target + targetName="error_need_root" + jumpIndex="1" + > + </Target> + + <Target + targetName="error_need_net" + jumpIndex="2" + > + </Target> + + <Info + name="welcomeTitle" + alignement="Center" + helpText="DHCP Configuration Wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info4" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info5" + alignement="Center" + helpText="DHCP is a service that automatically assigns" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info6" + alignement="Center" + helpText="networking addresses to your workstations." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info" + alignement="Center" + helpText="This wizard will help you configuring" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info1" + alignement="Center" + helpText="the DHCP services of your server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html" + name="ask_dhcp_ip_range" + comment="Ask the dhcp ip range" + jumpScript="__WIZ_HOME__/dhcp_wizard/scripts/check_range.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_in_dhcp_ip_range" + jumpIndex="1" + > + </Target> + + <Target + targetName="doit" + jumpIndex="10" + > + </Target> + + <Info + name="dhcpRangeTtitle" + alignement="Center" + helpText="Range of addresses used by dhcp" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info12" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info3" + alignement="East" + helpText="Select the range of addresses assigned to the workstations" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info7" + alignement="East" + helpText="by the DHCP service; unless you have special needs," + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info9" + alignement="East" + helpText="you can safely accept the proposed values." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info8" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="dhcpIpLow" + variableName="dhcp_range_low" + alignement="Fill" + fillScript="__WIZ_HOME__/dhcp_wizard/scripts/compute_range1.sh" + helpText="Lowest IP Address:" + guiType="textfield" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="dhcpIpHigh" + variableName="dhcp_range_high" + alignement="Fill" + fillScript="__WIZ_HOME__/dhcp_wizard/scripts/compute_range2.sh" + helpText="Highest IP address:" + guiType="textfield" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info10" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info11" + alignement="East" + helpText="IP addresses are a dotted list of four numbers smaller than 256." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html" + name="error_in_dhcp_ip_range" + jumpPage="ask_dhcp_ip_range" + nextButtonText="Fix it" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="dhcpRangeErrorLabel" + alignement="Center" + helpText="The IP range specified is not correct" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html" + name="doit" + func="do_it" + nextButtonText="Configure" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="done" + jumpIndex="10" + > + </Target> + + <Target + targetName="system_error" + jumpIndex="1" + > + </Target> + + <Info + name="doitTitle" + alignement="Center" + helpText="Configuring the DHCP Server" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info2" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info13" + alignement="East" + helpText="The wizard collected the following parameter" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info14" + alignement="East" + helpText="needed to configure your DHCP service:" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info15" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="freetext" + variableName="dhcp_range_low" + alignement="Fill" + helpText="Lowest IP Address:" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="freetext1" + variableName="dhcp_range_high" + alignement="Fill" + helpText="Highest IP Address:" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info16" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info17" + alignement="East" + helpText="To accept these values, and configure your server, click on" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info18" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html" + name="done" + nextButtonText="Quit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="dhcpTitle" + alignement="Center" + helpText="Congratulations" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info20" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info21" + alignement="Center" + helpText="The wizard successfully configured the DHCP" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info19" + alignement="Center" + helpText="services of your server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html" + name="error_need_root" + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="You need to be root to run this wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html" + name="error_need_net" + subWizard="__WIZ_HOME__/server_wizard/server.wiz" + executionLevel="NORMAL" + nextFinish="false" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="Network not configured yet" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info23" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info22" + alignement="Center" + helpText="You have to configure the basic network parameters before launch this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + helpText="Press next to configure these parameters now, or Cancel to exit this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + helpText="If you choose to configure now, you will automatically continue" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="Center" + helpText="with the DHCP configuration" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html" + name="server launcher" + jumpPage="ask_dhcp_ip_range" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dhcp.html" + name="system_error" + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="SSystem error, no configuration done." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> +</Wizard> diff --git a/dns_wizard/dns.wiz b/dns_wizard/dns.wiz new file mode 100644 index 00000000..d7590d71 --- /dev/null +++ b/dns_wizard/dns.wiz @@ -0,0 +1,867 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="wizdrake: DNS Wizard" + imagePosition="top" + defaultImage="__WIZ_HOME__/images/DNS.jpg" + height="400" + width="525" + hasDb="true" + dbPositions="2" + dbFilename="/var/log/wizards/dns.wiz" + referenceLength="425" + referenceHeight="13" +> + + <Variable + name="wiz_ext_dns1" + shellVariable="wiz_ext_dns1" + valueIsTranslated="false" + persistent="true" + dbPosition="0" + key="false" + > + </Variable> + + <Variable + name="wiz_ext_dns2" + shellVariable="wiz_ext_dns2" + valueIsTranslated="false" + persistent="true" + dbPosition="1" + key="false" + > + </Variable> + + <Page + name="Welcome" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dns.html" + jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="DNS" + jumpIndex="0" + > + </Target> + + <Target + targetName="error_need_root" + jumpIndex="1" + > + </Target> + + <Target + targetName="error_need_net" + jumpIndex="2" + > + </Target> + + <Info + name="welcomeTitle" + alignement="Center" + helpText="DNS Configuration Wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info13" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info10" + alignement="Center" + helpText="DNS (Domain Name Server) is the service that put" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info1" + alignement="Center" + helpText="in correspondance a machine with an internet host name" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info30" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info14" + alignement="Center" + helpText="This wizard will help you configuring the DNS" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info" + alignement="Center" + helpText="services of your server. This configuration will" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info28" + alignement="Center" + helpText="provide a local DNS service for local computers names," + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info29" + alignement="Center" + helpText="with non-local requests forwarded to an outside DNS." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="DNS" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dns.html" + jumpScript="__WIZ_HOME__/dns_wizard/scripts/check_ext_dns.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="doit" + jumpIndex="10" + > + </Target> + + <Target + targetName="Error" + jumpIndex="1" + > + </Target> + + <Target + targetName="warning" + jumpIndex="2" + > + </Target> + + <Info + name="dnsTitle" + alignement="Center" + helpText="DNS Server Addresses" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info2" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info3" + alignement="East" + helpText="DNS will allow your network to communicate with the Internet using" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info6" + alignement="East" + helpText="standard internet host names. In order to configure DNS, you must" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info4" + alignement="East" + helpText="provide the IP address of primary and secondary DNS server; usually" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info12" + alignement="East" + helpText="this address are given by your Internet provider." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info15" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Grid + name="grid" + rows="2" + columns="3" + alignement="Center" + > + + <Info + name="info31" + alignement="Center" + helpText="Primary DNS Address:" + guiType="label" + fontStyle="bold" + fontSize="11" + > + </Info> + + <Freetext + name="wiz_ext_dns1" + variableName="wiz_ext_dns1" + alignement="Fill" + fillScript="get_var wiz_ext_dns1" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="empty1" + alignement="Center" + guiType="label" + > + </Info> + + <Info + name="info32" + alignement="Center" + helpText="Secondary DNS Address:" + guiType="label" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="wiz_ext_dns2" + variableName="wiz_ext_dns2" + alignement="Fill" + fillScript="get_var wiz_ext_dns2" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + <Info + name="empty2" + alignement="Center" + guiType="label" + > + </Info> + + </Grid> + + <Info + name="info16" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info5" + alignement="East" + helpText="IP addresses are a dotted list of four numbers smaller than 256." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="warning" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dns.html" + jumpPage="doit" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info21" + alignement="Center" + helpText="Warning:" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info20" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info201" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info202" + alignement="Center" + helpText="You have entered an empty address for the DNS server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info203" + alignement="Center" + helpText="Your setting could be accepted, but you will not be able to identify" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info22" + alignement="Center" + helpText="machine names outside your local network." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info23" + alignement="Center" + helpText="Press next to leave these values empty, or back to enter a value." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="Error" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dns.html" + jumpPage="DNS" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info7" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info8" + alignement="Center" + helpText="This is not a valid address... press next to continue" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info9" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="error_need_net" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dns.html" + subWizard="__WIZ_HOME__/server_wizard/server.wiz" + executionLevel="NORMAL" + nextFinish="false" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="Network not configured yet" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info23" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info22" + alignement="Center" + helpText="You have to configure the basic network parameters before launch this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + helpText="Press next to configure these parameters now, or Cancel to exit this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + helpText="If you choose to configure now, you will automatically continue" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="Center" + helpText="with the DNS configuration" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="server launcher" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dns.html" + jumpPage="DNS" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + </Page> + + <Page + name="doit" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dns.html" + jumpScript="__WIZ_HOME__/dns_wizard/scripts/do_it_dns.sh" + nextButtonText="Configure" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="done" + jumpIndex="10" + > + </Target> + + <Target + targetName="system_error" + jumpIndex="1" + > + </Target> + + <Info + name="dnsTitle" + alignement="Center" + helpText="Configuring the DNS Server" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info2" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info3" + alignement="East" + helpText="The wizard collected the following parameter" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info6" + alignement="East" + helpText="needed to configure your DNS service:" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info15" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Grid + name="grid" + rows="2" + columns="3" + alignement="Center" + > + + <Info + name="info31" + alignement="Center" + helpText="Primary DNS Address:" + guiType="label" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="wiz_ext_dns1" + variableName="wiz_ext_dns1" + alignement="Fill" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + <Info + name="empty1" + alignement="Center" + guiType="label" + > + </Info> + <Info + name="info32" + alignement="Center" + helpText="Secondary DNS Address:" + guiType="label" + fontStyle="plain" + fontSize="11" + > + </Info> + <Freetext + name="wiz_ext_dns2" + variableName="wiz_ext_dns2" + alignement="Fill" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + <Info + name="empty2" + alignement="Center" + guiType="label" + > + </Info> + + </Grid> + <Info + name="info16" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info5" + alignement="East" + helpText="To accept these values, and configure your server, click on" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info17" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="done" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dns.html" + nextButtonText="Quit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="congratulationTitle" + alignement="Center" + helpText="Congratulations" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info11" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info18" + alignement="Center" + helpText="The wizard successfully configured the DNS" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info19" + alignement="Center" + helpText="services of your server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="error_need_root" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dns.html" + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="You need to be root to run this wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + name="system_error" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-dns.html" + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="System error, no configuration done" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> +</Wizard> diff --git a/firewall_wizard/firewall.wiz b/firewall_wizard/firewall.wiz new file mode 100644 index 00000000..a6dc994d --- /dev/null +++ b/firewall_wizard/firewall.wiz @@ -0,0 +1,723 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="wizdrake: Firewall wizard" + imagePosition="top" + defaultImage="images/firewall.jpg" + height="400" + width="525" + hasDb="true" + dbPositions="2" + dbFilename="/var/log/wizards/firewall.wdb" + referenceLength="425" + referenceHeight="13" + perlModule="__WIZ_HOME__/firewall_wizard/scripts/FWconf.pm" +> + + <Variable + name="protectionLevel" + comment="The firewall protection level" + shellVariable="wiz_firewall_level" + defaultValue="1" + persistent="true" + dbPosition="0" + key="false" + > + </Variable> + + <Variable + name="firewallDevice" + comment="The device for the firewall connection" + shellVariable="wiz_ext_device" + defaultValue="eth0" + persistent="true" + dbPosition="1" + key="false" + > + </Variable> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="Welcome" + jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_need_root" + jumpIndex="1" + > + </Target> + + <Target + targetName="error_need_net" + jumpIndex="2" + > + </Target> + + <Target + targetName="ask_level" + jumpIndex="0" + > + </Target> + + <Info + name="welcomeTitle" + alignement="Center" + helpText="Firewall Configuration Wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info7" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info1" + alignement="Center" + helpText="The firewall protects your internal network from" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info2" + alignement="Center" + helpText="unauthorized accesses from the Internet." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info3" + alignement="Center" + helpText="This wizard will help you configuring your server firewall." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="def_level" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Freetext + name="freetext2" + variableName="protectionLevel" + alignement="Center" + fillScript="get_var wiz_firewall_level" + guiType="textfield" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="ask_level" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="hostnameTitile" + alignement="Center" + helpText="Protection Level" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info8" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info9" + alignement="East" + helpText="The firewall can be configured to offer different levels of protection;" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info5" + alignement="East" + helpText="choose the level that corresponds to your needs. If you don't know," + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info10" + alignement="East" + helpText="the Medium level is usually the most appropriate." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info4" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Chooser + name="chooser1" + variableName="protectionLevel" + alignement="Center" + defaultOptionScript="echo $wiz_firewall_level" + helpFontName="Default" + helpFontStyle="plain" + helpFontSize="12" + editable="false" + guiType="checkbox" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + > + + <Option + value="0" + description="None - No protection" + > + </Option> + + <Option + value="1" + description="Low - Light filtering, standard services available" + > + </Option> + + <Option + value="2" + description="Medium - web, ftp and ssh shown to outside" + > + </Option> + + <Option + value="3" + description="Strong - no outside visibility, users limited to web" + > + </Option> + </Chooser> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="choose_net_device" + jumpScript="__WIZ_HOME__/firewall_wizard/scripts/check_ext_device.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="doit" + jumpIndex="10" + > + </Target> + + <Target + targetName="error_in_device" + jumpIndex="1" + > + </Target> + + <Info + name="deviceLabel" + alignement="Center" + helpText="Firewall Network Device" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info11" + alignement="East" + helpText="The firewall need to know how your server is connected to Internet;" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info13" + alignement="East" + helpText="choose the device you are using for the external connection." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info12" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Chooser + name="deviceChooser" + variableName="firewallDevice" + alignement="Fill" + defaultOptionScript="__WIZ_HOME__/firewall_wizard/scripts/compute_ext_device.sh" + fillScript="__WIZ_HOME__/firewall_wizard/scripts/liste_ext_device.sh" + helpText="Device" + helpFontName="Default" + helpFontStyle="plain" + helpFontSize="12" + editable="true" + guiType="list" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + > + </Chooser> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="error_in_device" + jumpPage="choose_net_device" + nextButtonText="Fix It" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="deviceErrorMessage" + alignement="Center" + helpText="The device name is not correct" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="doit" + func="do_it" + nextButtonText="Configure" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="catastrophic_exit" + jumpIndex="1" + > + </Target> + + <Target + targetName="done" + jumpIndex="10" + > + </Target> + + <Info + name="doitTitle" + alignement="Center" + helpText="Configuring the Firewall" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info14" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="doneLabel" + alignement="East" + helpText="The wizard collected the following parameter" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info15" + alignement="East" + helpText="needed to configure your firewall:" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="cancelLabel" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="freetext" + alignement="Fill" + fillScript="__WIZ_HOME__/firewall_wizard/scripts/compute_level_name.sh" + helpText="Protecion Level:" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="freetext1" + variableName="firewallDevice" + alignement="Fill" + helpText="Internet Network Device:" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info17" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info18" + alignement="East" + helpText="To accept these values, and configure your server, click on" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info19" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="done" + nextButtonText="Quit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="doneTitile" + alignement="Center" + helpText="Congratulations" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info16" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="successLabel" + alignement="Center" + helpText="The wizard successfully configured" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info6" + alignement="Center" + helpText="your server firewall." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="catastrophic_exit" + comment="Exit in case of catastrophhic system error" + nextButtonText="Exit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="catastrophe_text" + alignement="Center" + helpText="Some terrible happened" + guiType="label" + fontName="Default" + fontStyle="italic" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="error_need_root" + comment="Error: this wizard must run as root." + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="root_error_message" + alignement="Center" + helpText="This Wizard need to run as root" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="error_need_net" + subWizard="__WIZ_HOME__/server_wizard/server.wiz" + executionLevel="NORMAL" + nextFinish="false" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="Network not configured yet" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info23" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info22" + alignement="Center" + helpText="You have to configure the basic network parameters before launch this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + helpText="Press next to configure these parameters now, or Cancel to exit this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + helpText="If you choose to configure now, you will automatically continue" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="Center" + helpText="with the DNS configuration" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="server launcher" + jumpPage="ask_level" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + </Page> +</Wizard> diff --git a/ftp_wizard/ftp.wiz b/ftp_wizard/ftp.wiz new file mode 100644 index 00000000..f5070703 --- /dev/null +++ b/ftp_wizard/ftp.wiz @@ -0,0 +1,552 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="wizdrake: FTP wizard" + imagePosition="top" + defaultImage="__WIZ_HOME__/images/FTP.jpg" + height="400" + width="525" + hasDb="false" + dbPositions="0" + referenceLength="425" + referenceHeight="13" + perlModule="__WIZ_HOME__/ftp_wizard/scripts/Ftpconf.pm" +> + + <Variable + name="wiz_ftp_internal" + shellVariable="wiz_ftp_internal" + persistent="false" + > + </Variable> + + <Variable + name="wiz_ftp_external" + shellVariable="wiz_ftp_external" + persistent="false" + > + </Variable> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html" + name="welcome" + jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="must be root" + jumpIndex="1" + > + </Target> + + <Target + targetName="ftp connections" + jumpIndex="0" + > + </Target> + + <Target + targetName="error_need_net" + jumpIndex="2" + > + </Target> + + <Info + name="info1" + alignement="Center" + helpText="FTP Server Configuration Wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info2" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info3" + alignement="Center" + helpText="This wizard will help you configuring" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info4" + alignement="Center" + helpText="the FTP Server for your network." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html" + name="must be root" + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="true" + canBack="true" + canCancel="true" + > + + <Info + name="info" + alignement="Center" + helpText="Sorry, you must be root to do this..." + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html" + name="error_need_net" + subWizard="__WIZ_HOME__/server_wizard/server.wiz" + executionLevel="NORMAL" + nextFinish="false" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="Network not configured yet" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info23" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info22" + alignement="Center" + helpText="You have to configure the basic network parameters before launch this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + helpText="Press next to configure these parameters now, or Cancel to exit this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + helpText="If you choose to configure now, you will automatically continue" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="Center" + helpText="with the FTP configuration" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html" + name="server launcher" + jumpPage="ftp connections" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html" + name="ftp connections" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="ftpTitle" + alignement="Center" + helpText="FTP Server" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info6" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info7" + alignement="East" + helpText="Your server can act as a FTP Server toward your internal" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info11" + alignement="East" + helpText="network (intranet) and as a FTP Server for the Internet." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info10" + alignement="East" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info5" + alignement="East" + helpText="Select the kind of FTP service you want to activate:" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info21" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Boolean + name="wiz_ftp_internal" + variableName="wiz_ftp_internal" + forceEnabled="1" + forceDisabled="0" + helpText="Enable the FTP Server for the Intranet" + guiType="chechbox" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + > + </Boolean> + + <Info + name="info8" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Boolean + name="wiz_ftp_external" + variableName="wiz_ftp_external" + forceEnabled="1" + forceDisabled="0" + helpText="Enable the FTP Server for the Intranet and for the Internet" + guiType="chechbox" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + > + </Boolean> + + <Info + name="info9" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info12" + alignement="East" + helpText="Don't check any box if you don't want to activate your FTP Server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html" + name="confirmation" + jumpPage="congratulations" + nextButtonText="Configure" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="confirmationTitle" + alignement="Center" + helpText="Configuring the FTP Server" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info13" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info14" + alignement="East" + helpText="The wizard collected the following parameter" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info15" + alignement="East" + helpText="needed to configure your FTP Server" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info16" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="freetext1" + alignement="Fill" + fillScript="[ \( ${wiz_ftp_internal} -eq 1 \) -o \( ${wiz_ftp_external} -eq 1 \) ] \a\a echo \qenabled\q || echo \qdisabled\q" + helpText="Intranet FTP Server:" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="freetext2" + alignement="Fill" + fillScript="[ ${wiz_ftp_external} -eq 0 ] \a\a echo \qdisabled\q || echo \qenabled\q" + helpText="Internet FTP Server:" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info17" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info18" + alignement="East" + helpText="To accept these values, and configure your server, click on" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info19" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html" + name="congratulations" + nextButtonText="Quit" + executionLevel="NORMAL" + nextFinish="true" + func="do_it" + canBack="false" + canCancel="false" + > + + <Info + name="info23" + alignement="Center" + helpText="Congratulations" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info20" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + helpText="The wizard successfully configured your" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + helpText="Intranet/Internet FTP Server" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> +</Wizard> diff --git a/news_wizard/news.wiz b/news_wizard/news.wiz new file mode 100644 index 00000000..848a9917 --- /dev/null +++ b/news_wizard/news.wiz @@ -0,0 +1,769 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="wizdrake: News Wizard" + imagePosition="top" + defaultImage="__WIZ_HOME__/images/news.jpg" + height="400" + width="525" + hasDb="true" + dbPositions="5" + dbFilename="/var/log/wizards/server.wdb" + referenceLength="425" + referenceHeight="13" + perlModule="__WIZ_HOME__/news_wizard/scripts/Newsconf.pm" +> + + <Variable + name="newsServer" + comment="The host name of the news server" + shellVariable="wiz_news_server" + defaultValue="news.provider.com" + valueIsTranslated="false" + persistent="true" + dbPosition="0" + key="false" + > + </Variable> + + <Variable + name="newsFreq" + comment="The frequency of the news server polling" + shellVariable="wiz_news_freq" + defaultValue="12" + valueIsTranslated="false" + persistent="true" + dbPosition="1" + key="false" + > + </Variable> + + <Page + name="Welcome" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_need_root" + jumpIndex="1" + > + </Target> + + <Target + targetName="ask_news_server" + jumpIndex="0" + > + </Target> + + <Target + targetName="error_need_net" + jumpIndex="2" + > + </Target> + + <Info + name="welcome1" + alignement="Center" + helpText="Welcome to the News Wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info7" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info1" + alignement="Center" + helpText="This wizard will help you configuring" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info2" + alignement="Center" + helpText="the Internet News services for your network." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="ask_news_server" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + jumpScript="__WIZ_HOME__/news_wizard/scripts/check_news_server.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_in_news_server" + jumpIndex="1" + > + </Target> + + <Target + targetName="ask_news_freq" + jumpIndex="10" + > + </Target> + + <Info + name="newsServerTitle" + alignement="Center" + helpText="News Server" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info9" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info4" + alignement="East" + helpText="The news server name is the name of the host providing the Internet" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info" + alignement="East" + helpText="news to your network; the name is usually provided by your provider." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info8" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="freetext1" + comment="Host name input field" + variableName="newsServer" + alignement="Fill" + helpText="News Server Name:" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="14" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info15" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info13" + alignement="East" + helpText="Internet host names must be in the form \qhost.domain.domaintype\q; for" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info12" + alignement="East" + helpText="example, if your provider is \qprovider.com\q, the internet new server" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info11" + alignement="East" + helpText="is usually \qnews.provider.com\q." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="error_in_news_server" + comment="Error message for an incorrect hostname" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + jumpPage="ask_news_server" + nextButtonText="Fix it" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info3" + alignement="Center" + helpText="The news server name is not correct" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + name="ask_news_freq" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + jumpScript="__WIZ_HOME__/news_wizard/scripts/check_valid_hours.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_in_news_freq" + jumpIndex="1" + > + </Target> + + <Target + targetName="doit" + jumpIndex="10" + > + </Target> + + <Info + name="newsFreqTitle" + alignement="Center" + helpText="Polling Period" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info17" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info18" + alignement="East" + helpText="Your server will regularly poll the News Server for obtaning the" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info20" + alignement="East" + helpText="latest Internet News; the polling period set the intervall between two" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info19" + alignement="East" + helpText="consecutive polling." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info10" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Integer + name="integer" + variableName="newsFreq" + alignement="Fill" + helpText="Polling Period (Hours):" + size="4" + smallStep="1" + bigStep="6" + > + </Integer> + + <Info + name="info21" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info22" + alignement="East" + helpText="Depending on the kind of internet connection you have, an appropriate" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info23" + alignement="East" + helpText="polling period can change between 6 and 24 hours." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="error_in_news_freq" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + jumpPage="ask_news_freq" + nextButtonText="Fix it" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info5" + alignement="Center" + helpText="The polling period is not correct" + guiType="label" + fontName="Default" + fontStyle="italic" + fontSize="14" + > + </Info> + </Page> + + <Page + name="doit" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + nextButtonText="Configure" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="catastrophic_exit" + jumpIndex="1" + > + </Target> + + <Target + targetName="done" + jumpIndex="10" + > + </Target> + + <Info + name="doitTitle" + alignement="Center" + helpText="Configuring the Internet News" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info14" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="East" + helpText="The wizard collected the following parameter" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="East" + helpText="needed to configure your Internet News Service:" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="freetext" + variableName="newsServer" + alignement="Fill" + helpText="News Server:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="freetext2" + variableName="newsFreq" + alignement="Fill" + helpText="Polling Interval:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info27" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="doneLabel" + alignement="East" + helpText="To accept these values, and configure your server, click on" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="cancelLabel" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="done" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + nextButtonText="Quit" + func="do_it" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="doneTitle" + alignement="Center" + helpText="Congratulations" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info16" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="successLabel" + alignement="Center" + helpText="The wizard successfully configured your" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info6" + alignement="Center" + helpText="Internet News service of your server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="catastrophic_exit" + comment="Exit in case of catastrophhic system error" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + nextButtonText="Exit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="catastrophe_text" + alignement="Center" + helpText="Some terrible happened" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + name="error_need_root" + comment="Error: this wizard must run as root." + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="root_error_message" + alignement="Center" + helpText="This Wizard need to run as root" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + name="error_need_net" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + subWizard="__WIZ_HOME__/server_wizard/server.wiz" + executionLevel="NORMAL" + nextFinish="false" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="Network not configured yet" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info23" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info22" + alignement="Center" + helpText="You have to configure the basic network parameters before launch this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + helpText="Press next to configure these parameters now, or Cancel to exit this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + helpText="If you choose to configure now, you will automatically continue" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="Center" + helpText="with the NEWS configuration" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="server launcher" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + jumpPage="ask_news_server" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + </Page> +</Wizard> diff --git a/postfix_wizard/postfix.wiz b/postfix_wizard/postfix.wiz new file mode 100644 index 00000000..b17a76c2 --- /dev/null +++ b/postfix_wizard/postfix.wiz @@ -0,0 +1,859 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="wizdrake: Postfix wizard" + imagePosition="top" + defaultImage="__WIZ_HOME__/images/courrier.jpg" + height="400" + width="525" + hasDb="true" + dbPositions="2" + dbFilename="/var/log/wizards/postfix.wdb" + referenceLength="425" + referenceHeight="13" + perlModule="__WIZ_HOME__/postfix_wizard/scripts/Postfixconf.pm" +> + + <Variable + name="wiz_mail_masquerade" + shellVariable="wiz_mail_masquerade" + persistent="true" + dbPosition="0" + key="false" + > + </Variable> + + <Variable + name="wiz_ext_mail_relay" + shellVariable="wiz_ext_mail_relay" + persistent="true" + dbPosition="1" + key="false" + > + </Variable> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="welcome" + jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="default_masq" + jumpIndex="0" + > + </Target> + + <Target + targetName="Not good" + jumpIndex="1" + > + </Target> + + <Target + targetName="error_need_net" + jumpIndex="2" + > + </Target> + + <Info + name="welcomeTitle" + alignement="Center" + helpText="Internet Mail Configuration Wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info27" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info2" + alignement="Center" + helpText="This wizard will help you configuring" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info3" + alignement="Center" + helpText="the Internet Mail services for your network." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="Not good" + nextButtonText="End" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="true" + > + + <Info + name="info4" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info5" + alignement="Center" + helpText="Sorry, you have to be root to run this wizard..." + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info6" + alignement="Center" + helpText="See you soon!" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="default_masq" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Freetext + name="freetext" + variableName="wiz_mail_masquerade" + alignement="Center" + fillScript="get_var wiz_mail_masquerade" + guiType="textfield" + inputType="domain" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="Form_of_address" + jumpScript="__WIZ_HOME__/postfix_wizard/scripts/check_masquerade.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="Masquerade_not_good" + jumpIndex="1" + > + </Target> + + <Target + targetName="ISP" + jumpIndex="10" + > + </Target> + + <Info + name="addressTitle" + alignement="Center" + helpText="Outgoing Mail Address" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info8" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info9" + alignement="East" + helpText="You can select the kind of address that outgoing mail" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info10" + alignement="East" + helpText="will show in the \qFrom:\q and \qReply-to\q field." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info11" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="wiz_mail_masquerade" + variableName="wiz_mail_masquerade" + alignement="Fill" + fillScript="get_var wiz_domain_name $wiz_mail_masquerade" + helpText="Mail Address:" + guiType="textfield" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info34" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info35" + alignement="East" + helpText="This should be chosen consistently with the address" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info36" + alignement="East" + helpText="you use for incoming mail." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="Masquerade_not_good" + jumpPage="Form_of_address" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info12" + alignement="Center" + helpText="Masquerade not good!" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="ISP" + jumpScript="__WIZ_HOME__/postfix_wizard/scripts/check_relay.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="Confirmation" + jumpIndex="10" + > + </Target> + + <Target + targetName="warning" + jumpIndex="1" + > + </Target> + + <Info + name="ispTitle" + alignement="Center" + helpText="Internet Mail Gateway" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info14" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info15" + alignement="East" + helpText="Your server will send the outgoing through a mail gateway," + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info16" + alignement="East" + helpText="that will take care of the final delivery." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info32" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="wiz_ext_mail_relay" + variableName="wiz_ext_mail_relay" + alignement="Fill" + helpText="Mail Server Name:" + guiType="textfield" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="30" + > + </Freetext> + + <Info + name="info" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info1" + alignement="East" + helpText="Internet host names must be in the form \qhost.domain.domaintype\q; for" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info7" + alignement="East" + helpText="example, if your provider is \qprovider.com\q, the internet mail server" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info13" + alignement="East" + helpText="is usually \qsmtp.provider.com\q." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="warning" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info37" + alignement="Center" + helpText="Warning:" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info371" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info372" + alignement="Center" + helpText="You entered an empty address for the mail gateway." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info373" + alignement="Center" + helpText="Your choice can be accepted, but this will not allow you to send mail" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info38" + alignement="Center" + helpText="outside your local network. Press next to continue, or back to enter a value." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="Confirmation" + nextButtonText="Do It" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="Congratulations" + jumpIndex="10" + > + </Target> + + <Target + targetName="Big problem" + jumpIndex="1" + > + </Target> + + <Info + name="info17" + alignement="Center" + helpText="Configuring the Internet Mail" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info18" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info19" + alignement="East" + helpText="The wizard collected the following parameter" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info28" + alignement="East" + helpText="needed to configure your Internet Mail Service:" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info29" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="freetext1" + alignement="Fill" + fillScript="(export wiz_ext_mail_relay=`__WIZ_HOME__/postfix_wizard/scripts/compute_mail_relay.sh`; echo $wiz_ext_mail_relay)" + helpText="Internet Mail Gateway" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="freetext2" + alignement="Fill" + fillScript="(export wiz_mail_masquerade=`__WIZ_HOME__/postfix_wizard/scripts/compute_masquerade.sh`; echo $wiz_mail_masquerade)" + helpText="Form of the Address" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info31" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info20" + alignement="East" + helpText="To accept these values, and configure your server, click on" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info30" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="Big problem" + executionLevel="NORMAL" + nextFinish="true" + canBack="true" + canCancel="true" + > + + <Info + name="info21" + alignement="Center" + helpText="Hmmm" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info22" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info23" + alignement="Center" + helpText="There seems to be a problem... go ask to the big black man downstairs" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="error_need_net" + subWizard="__WIZ_HOME__/server_wizard/server.wiz" + executionLevel="NORMAL" + nextFinish="false" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="Network not configured yet" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info23" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info22" + alignement="Center" + helpText="You have to configure the basic network parameters before launch this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + helpText="Press next to configure these parameters now, or Cancel to exit this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + helpText="If you choose to configure now, you will automatically continue" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="Center" + helpText="with the POSTFIX configuration" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="server launcher" + jumpPage="Form_of_address" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="Congratulations" + nextButtonText="Quit" + func="do_it" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="info24" + alignement="Center" + helpText="Congratulations" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info25" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="Center" + helpText="The wizard successfully configured your" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info33" + alignement="Center" + helpText="Internet Mail service of your server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> +</Wizard> diff --git a/proxy_wizard/proxy.wiz b/proxy_wizard/proxy.wiz new file mode 100644 index 00000000..d90c7e02 --- /dev/null +++ b/proxy_wizard/proxy.wiz @@ -0,0 +1,1734 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="wizdrake: Squid wizard" + imagePosition="top" + defaultImage="images/proxy.jpg" + height="400" + width="525" + hasDb="true" + dbPositions="2" + dbFilename="/var/log/wizards/proxy.wdb" + referenceLength="425" + referenceHeight="13" +> + + <Variable + name="wiz_squid_level" + comment="The proxy access control level" + shellVariable="wiz_squid_level" + defaultValue="2" + valueIsTranslated="false" + persistent="true" + dbPosition="0" + key="false" + > + </Variable> + + <Variable + name="wiz_squid_port" + shellVariable="wiz_squid_port" + defaultValue="3128" + valueIsTranslated="false" + persistent="true" + dbPosition="1" + key="false" + > + </Variable> + + <Variable + name="wiz_squid_mem" + shellVariable="wiz_squid_mem" + defaultValue="16" + valueIsTranslated="false" + persistent="true" + dbPosition="2" + key="false" + > + </Variable> + + <Variable + name="wiz_squid_disk" + shellVariable="wiz_squid_disk" + defaultValue="200" + valueIsTranslated="false" + persistent="true" + dbPosition="3" + key="false" + > + </Variable> + + <Variable + name="wiz_squid_mynetw" + shellVariable="wiz_squid_mynetw" + defaultValue="0.0.0.0/0.0.0.0" + valueIsTranslated="false" + persistent="true" + dbPosition="4" + key="false" + > + </Variable> + + <Variable + name="wiz_squid_defdir" + shellVariable="wiz_squid_defdir" + defaultValue="/var/spool/squid" + valueIsTranslated="false" + persistent="true" + dbPosition="5" + key="false" + > + </Variable> + + <Variable + name="wiz_squid_cachepeer" + shellVariable="wiz_squid_cachepeer" + valueIsTranslated="false" + persistent="true" + dbPosition="6" + key="false" + > + </Variable> + + <Variable + name="wiz_squid_peerport" + shellVariable="wiz_squid_peerport" + defaultValue="3128" + valueIsTranslated="false" + persistent="true" + dbPosition="7" + key="false" + > + </Variable> + + <Variable + name="wiz_squid_menupeer" + shellVariable="wiz_squid_menupeer" + defaultValue="1" + valueIsTranslated="false" + persistent="true" + dbPosition="8" + key="false" + > + </Variable> + + <Page + name="Welcome" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_need_root" + jumpIndex="1" + > + </Target> + + <Target + targetName="error_need_net" + jumpIndex="2" + > + </Target> + + <Target + targetName="default_val" + jumpIndex="0" + > + </Target> + + <Info + name="welcomeTitle" + alignement="Center" + helpText="Proxy Configuration Wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info7" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info1" + alignement="Center" + helpText="Squid is a web caching proxy server, it allows" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info2" + alignement="Center" + helpText="faster web acces for your local network." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info3" + alignement="Center" + helpText="This wizard will help you configuring your proxy server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="default_val" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpPage="port" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Freetext + name="def1" + variableName="wiz_squid_port" + alignement="Center" + fillScript="get_var wiz_squid_port" + guiType="textfield" + inputType="uint" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="def2" + variableName="wiz_squid_mem" + alignement="Center" + fillScript="get_var wiz_squid_mem" + guiType="textfield" + inputType="uint" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="def3" + variableName="wiz_squid_defdir" + alignement="Center" + fillScript="get_var wiz_squid_defdir" + guiType="textfield" + inputType="uint" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="def4" + variableName="wiz_squid_disk" + alignement="Center" + fillScript="get_var wiz_squid_disk" + guiType="textfield" + inputType="uint" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="def5" + variableName="wiz_squid_level" + alignement="Center" + fillScript="get_var wiz_squid_level" + guiType="textfield" + inputType="uint" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="def6" + variableName="wiz_squid_mynetw" + alignement="Center" + fillScript="get_var wiz_squid_mynetw" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="def7" + variableName="wiz_squid_cachepeer" + alignement="Center" + fillScript="get_var wiz_squid_cachepeer" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="def8" + variableName="wiz_squid_peerport" + alignement="Center" + fillScript="get_var wiz_squid_peerport" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + </Page> + + <Page + name="port" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpScript="__WIZ_HOME__/proxy_wizard/scripts/testport.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="warningport" + jumpIndex="1" + > + </Target> + + <Target + targetName="errorlow" + jumpIndex="2" + > + </Target> + + <Target + targetName="memory" + jumpIndex="0" + > + </Target> + + <Info + name="info11" + alignement="Center" + helpText="Proxy Port" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info12" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info13" + alignement="East" + helpText="Proxy port value sets what port the proxy server will listen on for http requests. Default is 3128, other common value can be 8080, the port value need to be greater than 1024." + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info14" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="wiz_squid_port" + variableName="wiz_squid_port" + alignement="Fill" + helpText="Proxy port:" + guiType="textfield" + inputType="uint" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="40" + length="30" + > + </Freetext> + + <Info + name="info15" + alignement="Center" + guiType="label" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="memory" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpPage="ask_level" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info21" + alignement="Center" + helpText="Proxy Cache Size" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info22" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info23" + alignement="East" + helpText="Memory Cache is the amount of RAM dedicated to cache memory operations (note that actual memory usage of the whole squid process is bigger)." + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="East" + helpText="Disk Cache is the amount of disk space that can be used for caching on disk." + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="wiz_squid_mem" + variableName="wiz_squid_mem" + alignement="Fill" + helpText="Memory cache (MB):" + guiType="textfield" + inputType="uint" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="40" + length="30" + > + </Freetext> + + <Freetext + name="wiz_squid_disk" + variableName="wiz_squid_disk" + alignement="Fill" + helpText="Disk space (MB):" + guiType="textfield" + inputType="uint" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="40" + length="30" + > + </Freetext> + + <Info + name="info26" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="East" + helpText="For information, here is /var/spool/squid space on disk:" + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info28" + alignement="East" + helpText="Filesystem Size Used Avail Use% Mounted on" + guiType="label" + fontName="Monospaced" + fontStyle="plain" + fontSize="12" + > + </Info> + + <Info + name="dfh" + comment="free space on disk" + alignement="East" + fillScript="__WIZ_HOME__/proxy_wizard/scripts/dfh.sh" + guiType="label" + fontName="Monospaced" + fontStyle="plain" + fontSize="12" + > + </Info> + + <Info + name="info29" + alignement="Center" + guiType="label" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="ask_level" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpScript="__WIZ_HOME__/proxy_wizard/scripts/echolevel.sh $wiz_squid_level" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="cachepeer" + jumpIndex="1" + > + </Target> + + <Target + targetName="shownet" + jumpIndex="2" + > + </Target> + + <Target + targetName="cachepeer" + jumpIndex="3" + > + </Target> + + <Info + name="hostnameTitile" + alignement="Center" + helpText="Access Control" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info8" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info9" + alignement="East" + helpText="The proxy can be configured to use different access control levels." + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info5" + alignement="East" + helpText="Choose the level that suit to your needs. If you don\'t know,the Local Network level is usually the most appropriate. Beware that the All level may be not secure." + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info4" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Chooser + name="chooser1" + variableName="wiz_squid_level" + alignement="Center" + helpFontName="Default" + helpFontStyle="plain" + helpFontSize="12" + editable="false" + guiType="checkbox" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + > + + <Option + value="1" + description="All - No access restriction" + > + </Option> + + <Option + value="2" + description="Local Network - access for local network (recommended)" + > + </Option> + + <Option + value="3" + description="Localhost - access restricted to this server only" + > + </Option> + </Chooser> + </Page> + + <Page + name="warningport" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpPage="memory" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info30" + alignement="Center" + helpText="Warning:" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info31" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info32" + alignement="Center" + helpText="You have entered a port that may be useful for this service:" + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info" + alignement="Center" + guiType="label" + fontStyle="plain" + fontSize="12" + > + </Info> + + <Info + name="info33" + alignement="Center" + fillScript="__WIZ_HOME__/proxy_wizard/scripts/printservices.sh" + guiType="multiligne" + fontName="Monospaced" + fontStyle="plain" + fontSize="12" + > + </Info> + + <Info + name="info20" + alignement="Center" + guiType="label" + fontStyle="plain" + fontSize="12" + > + </Info> + + <Info + name="info203" + alignement="Center" + helpText="Press Next if you want to keep this value," + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info22" + alignement="Center" + helpText="or Back to correct your choice." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="shownet" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpPage="cachepeer" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info30" + alignement="Center" + helpText="Grant acces on local network" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info31" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info32" + alignement="East" + helpText="Access will be allowed for hosts on the network. Here is the information found about your current local network, you can modify it if needed." + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info41" + alignement="East" + helpText="You can use either a numeric format like \q192.168.1.0/255.255.255.0\q or a text format like \q.domain.net\q" + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="12" + > + </Info> + + <Freetext + name="f_wiz_squid_mynetw" + variableName="wiz_squid_mynetw" + alignement="Fill" + helpText="Authorised network:" + guiType="textfield" + inputType="mandatory" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info20" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="12" + > + </Info> + </Page> + + <Page + name="cachepeer" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpScript="__WIZ_HOME__/proxy_wizard/scripts/echolevel.sh $wiz_squid_menupeer" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + <Target + targetName="doit2" + jumpIndex="1" + > + </Target> + + <Target + targetName="valcachepeer" + jumpIndex="2" + > + </Target> + <Info + name="ch" + alignement="Center" + helpText="Cache hierarchy" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info8" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info9" + alignement="East" + helpText="As an option, Squid can be configured in proxy cascading. You can add a new upper level proxy by specifying its hostname and port." + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info5" + alignement="East" + helpText="You can safely select \qNo upper level proxy\q if you don\'t need this feature." + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info4" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Chooser + name="chooser4" + variableName="wiz_squid_menupeer" + alignement="Center" + helpFontName="Default" + helpFontStyle="plain" + helpFontSize="12" + editable="false" + guiType="checkbox" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + > + + <Option + value="1" + description="No upper level proxy (recommended)" + > + </Option> + + <Option + value="2" + description="Define an upper level proxy" + > + </Option> + + </Chooser> + + + </Page> + + + <Page + name="valcachepeer" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpPage="doit" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info42" + alignement="Center" + helpText="Cache hierarchy" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info43" + alignement="Center" + guiType="label" + fontStyle="plain" + fontSize="12" + > + </Info> + + <Info + name="info45" + alignement="East" + helpText="Enter the qualified hostname (like \qcache.domain.net\q) and the port of the proxy to use." + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info46" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="12" + > + </Info> + + <Freetext + name="_wiz_squid_cachepeer" + variableName="wiz_squid_cachepeer" + alignement="Fill" + helpText="Upper level proxy hostname:" + guiType="Textfield" + inputType="mandatory" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="40" + length="30" + > + </Freetext> + + <Freetext + name="_wiz_squid_peerport" + variableName="wiz_squid_peerport" + alignement="Fill" + helpText="Upper level proxy port:" + guiType="textfield" + inputType="uint" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="40" + length="30" + > + </Freetext> + + <Info + name="info47" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="12" + > + </Info> + </Page> + + <Page + name="doit" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpScript="__WIZ_HOME__/proxy_wizard/scripts/do_it_squid.sh" + nextButtonText="Configure" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="catastrophic_exit" + jumpIndex="1" + > + </Target> + + <Target + targetName="done" + jumpIndex="10" + > + </Target> + + <Info + name="doitTitle" + alignement="Center" + helpText="Configuring the Proxy" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info14" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="doneLabel" + alignement="East" + helpText="The wizard collected the following parameters needed to configure your proxy:" + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="s_port" + variableName="wiz_squid_port" + alignement="Fill" + helpText="Port:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="30" + > + </Freetext> + + <Freetext + name="s_mem" + variableName="wiz_squid_mem" + alignement="Fill" + helpText="Memory cache (MB):" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="20" + length="30" + > + </Freetext> + + <Freetext + name="s_disk" + variableName="wiz_squid_disk" + alignement="Fill" + helpText="Disk space (MB):" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="20" + length="30" + > + </Freetext> + + <Freetext + name="s_level" + alignement="Fill" + fillScript="__WIZ_HOME__/proxy_wizard/scripts/showlevel.sh $wiz_squid_level" + helpText="Access Control:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="20" + length="30" + > + </Freetext> + + <Freetext + name="s_peer" + variableName="wiz_squid_cachepeer" + alignement="Fill" + helpText="Upper level proxy hostname:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="20" + length="30" + > + </Freetext> + + <Freetext + name="s_peerport" + variableName="wiz_squid_peerport" + alignement="Fill" + helpText="Upper level proxy port:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="20" + length="30" + > + </Freetext> + + <Info + name="info10" + alignement="Center" + guiType="label" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info18" + alignement="East" + helpText="To accept these values, and configure your server, click on" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info19" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="doit2" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpScript="__WIZ_HOME__/proxy_wizard/scripts/do_it_squid.sh" + nextButtonText="Configure" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="catastrophic_exit" + jumpIndex="1" + > + </Target> + + <Target + targetName="done" + jumpIndex="10" + > + </Target> + + <Info + name="doitTitle" + alignement="Center" + helpText="Configuring the Proxy" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info14" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="doneLabel" + alignement="East" + helpText="The wizard collected the following parameters needed to configure your proxy:" + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info14" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + + <Freetext + name="s_port" + variableName="wiz_squid_port" + alignement="Fill" + helpText="Port:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="30" + > + </Freetext> + + <Freetext + name="s_mem" + variableName="wiz_squid_mem" + alignement="Fill" + helpText="Memory cache (MB):" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="20" + length="30" + > + </Freetext> + + <Freetext + name="s_disk" + variableName="wiz_squid_disk" + alignement="Fill" + helpText="Disk space (MB):" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="20" + length="30" + > + </Freetext> + + <Freetext + name="s_level" + alignement="Fill" + fillScript="__WIZ_HOME__/proxy_wizard/scripts/showlevel.sh $wiz_squid_level" + helpText="Access Control:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="20" + length="30" + > + </Freetext> + + <Info + name="info10" + alignement="Center" + guiType="label" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info18" + alignement="East" + helpText="To accept these values, and configure your server, click on" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info19" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="done" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + nextButtonText="Quit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="doneTitile" + alignement="Center" + helpText="Congratulations" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info16" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="successLabel" + alignement="Center" + helpText="The wizard successfully configured" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info6" + alignement="Center" + helpText="your proxy server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="catastrophic_exit" + comment="Exit in case of catastrophhic system error" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + nextButtonText="Exit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="catastrophe_text" + alignement="Center" + helpText="Some terrible happened" + guiType="label" + fontName="Default" + fontStyle="italic" + fontSize="14" + > + </Info> + </Page> + + <Page + name="error_need_root" + comment="Error: this wizard must run as root." + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="false" + canBack="false" + canCancel="false" + > + + <Info + name="root_error_message" + alignement="Center" + helpText="This Wizard need to run as root" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + name="errorlow" + comment="lt 1024" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpPage="port" + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="false" + > + + <Info + name="info35" + alignement="Center" + helpText="Warning:" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info36" + alignement="Center" + guiType="label" + fontStyle="plain" + fontSize="12" + > + </Info> + + <Info + name="info37" + alignement="Center" + helpText="You must choose a port greater than 1024 and lower than 65535" + guiType="multiline" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info34" + alignement="Center" + guiType="label" + fontStyle="plain" + fontSize="12" + > + </Info> + + <Info + name="info39" + alignement="Center" + guiType="label" + fontStyle="plain" + fontSize="12" + > + </Info> + + <Info + name="info40" + alignement="Center" + helpText="Press back to change the value." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="12" + > + </Info> + + <Info + name="info38" + alignement="Center" + guiType="label" + fontStyle="plain" + fontSize="12" + > + </Info> + </Page> + + <Page + name="error_need_net" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + subWizard="__WIZ_HOME__/server_wizard/server.wiz" + executionLevel="NORMAL" + nextFinish="false" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="Network not configured yet" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info23" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info22" + alignement="Center" + helpText="You have to configure the basic network parameters before launch this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + helpText="Press next to configure these parameters now, or Cancel to exit this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + helpText="If you choose to configure now, you will automatically continue" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="Center" + helpText="with the Proxy configuration." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="server launcher" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" + jumpPage="default_val" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + </Page> +</Wizard> diff --git a/samba_wizard/samba.wiz b/samba_wizard/samba.wiz new file mode 100644 index 00000000..f38c8b22 --- /dev/null +++ b/samba_wizard/samba.wiz @@ -0,0 +1,895 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="wizdrake: Samba wizard" + imagePosition="top" + defaultImage="__WIZ_HOME__/images/samba.jpg" + height="400" + width="525" + hasDb="true" + dbPositions="5" + dbFilename="/var/log/wizards/samba.wdb" + referenceLength="425" + referenceHeight="13" + perlModule="__WIZ_HOME__/samba_wizard/scripts/Smbconf.pm" +> + + <Variable + name="doFileSharing" + comment="true if we do file sharing, false otherwise" + shellVariable="wiz_do_file_sharing" + persistent="true" + dbPosition="0" + key="false" + > + </Variable> + + <Variable + name="doPrinterSharing" + comment="true if samba do printer sharing" + shellVariable="wiz_do_printer_sharing" + persistent="true" + dbPosition="1" + key="false" + > + </Variable> + + <Variable + name="workgroup" + comment="The workgroup name" + shellVariable="wiz_workgroup" + persistent="true" + dbPosition="2" + key="false" + > + </Variable> + + <Variable + name="banner" + comment="The samba server banner name" + shellVariable="wiz_banner" + persistent="true" + dbPosition="3" + key="false" + > + </Variable> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="Welcome" + jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="ask_services" + jumpIndex="0" + > + </Target> + + <Target + targetName="error_need_root" + jumpIndex="1" + > + </Target> + + <Target + targetName="error_need_net" + jumpIndex="2" + > + </Target> + + <Info + name="welcome1" + alignement="Center" + helpText="Samba Configuration Wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info7" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info1" + alignement="Center" + helpText="Samba allows your server to behave as a file and print server" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info" + alignement="Center" + helpText="for workstations running non-Linux systems." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info11" + alignement="Center" + helpText="This wizard will help you configuring" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info2" + alignement="Center" + helpText="the Samba services of your server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="ask_services" + jumpScript="__WIZ_HOME__/samba_wizard/scripts/check_services.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_in_services" + jumpIndex="1" + > + </Target> + + <Target + targetName="ask_workgroup" + jumpIndex="10" + > + </Target> + + <Info + name="servicesLabel" + alignement="Center" + helpText="Enabled Samba Services" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info8" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info17" + alignement="East" + helpText="Samba can provide a common file sharing area to your Windows" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info18" + alignement="East" + helpText="workstation, and can also provide printer sharing for the printers" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info19" + alignement="East" + helpText="connected to your server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info20" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Boolean + name="fileSharingBoolean" + variableName="doFileSharing" + forceEnabled="true" + forceDisabled="false" + helpText="Enable Common File Sharing Area" + guiType="chechbox" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + > + </Boolean> + + <Boolean + name="printerSharingBoolean" + variableName="doPrinterSharing" + forceEnabled="true" + forceDisabled="false" + helpText="Enable Server Printer Sharing" + guiType="chechbox" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + > + </Boolean> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="error_in_services" + comment="Error message for an incorrect hostname" + jumpPage="ask_hostname" + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="true" + canBack="true" + canCancel="true" + > + + <Info + name="info3" + alignement="Center" + helpText="No Samba service has been requested" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info12" + alignement="Center" + helpText="Press Quit to exit or Back to correct your choice" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="ask_workgroup" + jumpScript="__WIZ_HOME__/samba_wizard/scripts/check_workgroup.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_in_workgroup" + jumpIndex="1" + > + </Target> + + <Target + targetName="ask_banner" + jumpIndex="10" + > + </Target> + + <Info + name="info4" + alignement="Center" + helpText="Workgroup" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info10" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info21" + alignement="East" + helpText="Samba need to know the Windows Workgroup it will serve." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info22" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="freetext2" + variableName="workgroup" + alignement="Fill" + helpText="Workgroup:" + guiType="textfield" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="error_in_workgroup" + jumpPage="ask_workgroup" + nextButtonText="Fix it" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info5" + alignement="Center" + helpText="The Workgroup is wrong" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="ask_banner" + jumpScript="__WIZ_HOME__/samba_wizard/scripts/check_banner.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_in_banner" + jumpIndex="1" + > + </Target> + + <Target + targetName="doit" + jumpIndex="10" + > + </Target> + + <Info + name="bannerLabel" + alignement="Center" + helpText="Server Banner." + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info9" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info23" + alignement="East" + helpText="The banner is the way this server will be described in the Windows" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="East" + helpText="workstations." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="serverBannerInput" + variableName="banner" + alignement="Fill" + helpText="Banner:" + guiType="textfield" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="error_in_banner" + jumpPage="ask_banner" + nextButtonText="Fix It" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="serverErrorMessage" + alignement="Center" + helpText="The Server Banner is incorrect" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="doit" + func="finish" + nextButtonText="Configure" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="catastrophic_exit" + jumpIndex="2" + > + </Target> + + <Target + targetName="done" + jumpIndex="1" + > + </Target> + + <Info + name="info13" + alignement="Center" + helpText="Configuring Samba" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info14" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="doneLabel" + alignement="East" + helpText="The wizard collected the following parameter" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="East" + helpText="needed to configure Samba." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="freetext" + alignement="Fill" + fillScript="[ \q$wiz_do_file_sharing\q == \qtrue\q ] \a\a echo \qenabled\q || echo \qdisabled\q" + helpText="File Sharing:" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="freetext1" + variableName="doPrinterSharing" + alignement="Fill" + fillScript="[ \q$wiz_do_printer_sharing\q == \qtrue\q ] \a\a echo \qenabled\q || echo \qdisabled\q" + helpText="Print Server:" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="freetext3" + variableName="workgroup" + alignement="Fill" + helpText="Workgroup:" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="freetext4" + variableName="banner" + alignement="Fill" + helpText="Server Banner:" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info28" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info29" + alignement="East" + helpText="To accept these values, and configure your server, click on" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="cancelLabel" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="done" + nextButtonText="Quit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="info15" + alignement="Center" + helpText="Congratulations" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info16" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="successLabel" + alignement="Center" + helpText="The wizard successfully configured" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info6" + alignement="Center" + helpText="your Samba server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="catastrophic_exit" + comment="Exit in case of catastrophhic system error" + nextButtonText="Exit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="catastrophe_text" + alignement="Center" + helpText="Some terrible happened" + guiType="label" + fontName="ZapfDingbats" + fontStyle="italic" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="error_need_root" + comment="Error: this wizard must run as root." + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="root_error_message" + alignement="Center" + helpText="This Wizard need to run as root" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="error_need_net" + subWizard="__WIZ_HOME__/server_wizard/server.wiz" + executionLevel="NORMAL" + nextFinish="false" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="Network not configured yet" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info23" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info22" + alignement="Center" + helpText="You have to configure the basic network parameters before launch this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + helpText="Press next to configure these parameters now, or Cancel to exit this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + helpText="If you choose to configure now, you will automatically continue" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="Center" + helpText="with the SAMBA configuration" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="server launcher" + jumpPage="ask_services" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + </Page> +</Wizard> diff --git a/server_wizard/server.wiz b/server_wizard/server.wiz new file mode 100644 index 00000000..39b9a060 --- /dev/null +++ b/server_wizard/server.wiz @@ -0,0 +1,1657 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="wizdrake: Server Wizard" + imagePosition="top" + defaultImage="__WIZ_HOME__/images/intranet.jpg" + height="400" + width="525" + hasDb="true" + dbPositions="5" + dbFilename="/var/log/wizards/server.wdb" + referenceLength="425" + referenceHeight="13" +> + + <Variable + name="hostname" + comment="The host name of the server" + shellVariable="wiz_host_name" + defaultValue="host.domain.net" + valueIsTranslated="false" + persistent="true" + dbPosition="0" + key="true" + > + </Variable> + + <Variable + name="domainname" + comment="Domain name, usually derived from the server" + shellVariable="wiz_domain_name" + defaultValue="domain" + valueIsTranslated="false" + persistent="true" + dbPosition="1" + key="false" + > + </Variable> + + <Variable + name="network_address" + comment="The network address" + shellVariable="wiz_ip_net" + defaultValue="192.168.0.0" + valueIsTranslated="false" + persistent="true" + dbPosition="2" + key="false" + > + </Variable> + + <Variable + name="server_address" + comment="The server IP address" + shellVariable="wiz_ip_server" + defaultValue="192.168.0.1" + valueIsTranslated="false" + persistent="true" + dbPosition="3" + key="false" + > + </Variable> + + <Variable + name="net_device" + comment="The device used to the network connection" + shellVariable="wiz_device" + defaultValue="eth0" + valueIsTranslated="false" + persistent="true" + dbPosition="4" + key="false" + > + </Variable> + + <Variable + name="wiz_extn_device" + shellVariable="wiz_extn_device" + valueIsTranslated="false" + persistent="true" + dbPosition="0" + key="false" + > + </Variable> + + <Variable + name="wiz_extn_gateway" + shellVariable="wiz_extn_gateway" + valueIsTranslated="false" + persistent="true" + dbPosition="0" + key="false" + > + </Variable> + + <Page + name="Welcome" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + jumpScript="__WIZ_HOME__/common/scripts/check.sh root" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_need_root" + jumpIndex="1" + > + </Target> + + <Target + targetName="Warning" + jumpIndex="10" + > + </Target> + + <Info + name="welcome1" + alignement="Center" + helpText="Basic Network Configuration Wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="filler" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info1" + alignement="Center" + helpText="This wizard will help you configuring" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info2" + alignement="Center" + helpText="the basic networking services of your server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info53" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="Warning" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="welcome1" + alignement="Center" + helpText="Warning" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="filler" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info44" + alignement="Center" + helpText="This wizard will set the basic networking parameter of your server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info45" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info46" + alignement="Center" + helpText="You should not run any other applications while running this wizard" + guiType="label" + fontName="Default" + fontStyle="italic" + fontSize="14" + > + </Info> + + <Info + name="info47" + alignement="Center" + helpText="and at the end of the wizard you should exit your session" + guiType="label" + fontName="Default" + fontStyle="italic" + fontSize="14" + > + </Info> + + <Info + name="info48" + alignement="Center" + helpText="and redo the login." + guiType="label" + fontName="Default" + fontStyle="italic" + fontSize="14" + > + </Info> + </Page> + + <Page + name="Note" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + jumpScript="__WIZ_HOME__/server_wizard/scripts/check_config.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="welcome1" + alignement="Center" + helpText="Note about networking" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="filler" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info44" + alignement="East" + helpText="As regards these wizards, your computer is seen as a server" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info45" + alignement="East" + helpText="managing his own local network (C class network)." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info46" + alignement="East" + helpText="So, it\'s very probable that domain name and IP adresses for this" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info47" + alignement="East" + helpText="local network are DIFFERENT from the server \qexternal\q connection." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info48" + alignement="East" + helpText="External connection is a network from which the computer is" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info49" + alignement="East" + helpText="client (Internet or upstream network)," + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info50" + alignement="East" + helpText="connected using another network card or a modem." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="load_hostname_value" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + jumpPage="ask_hostname" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Freetext + name="freetext" + variableName="hostname" + alignement="Center" + fillScript="get_var wiz_host_name" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + </Page> + + <Page + name="ask_hostname" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + jumpScript="__WIZ_HOME__/server_wizard/scripts/check_domain.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_in_hostname" + jumpIndex="1" + > + </Target> + + <Target + targetName="choose_net_device" + jumpIndex="10" + > + </Target> + + <Info + name="hostnameLabel" + alignement="Center" + helpText="Host Name" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info21" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info13" + alignement="East" + helpText="The hostname is the name under which your server will" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info8" + alignement="East" + helpText="be known from the other workstations in your network" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info7" + alignement="East" + helpText="and maybe on the Internet (depending of your upstream configuration)." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="hostnameFiller" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="hostnameInput" + comment="Host name input field" + variableName="hostname" + alignement="Fill" + fillScript="get_var wiz_host_name $wiz_host_name" + helpText="Host Name:" + guiType="textfield" + inputType="domain" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info22" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info19" + alignement="East" + helpText="Host names must be in the form \qhost.domain.domaintype\q; if your server" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info18" + alignement="East" + helpText="will be an Internet server, the domain name should be the name" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info17" + alignement="East" + helpText="registered with your provider. If you will only have intranet" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info20" + alignement="East" + helpText="any valid name is OK, like \qcompany.net\q." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="error_in_hostname" + comment="Error message for an incorrect hostname" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + jumpPage="load_hostname_value" + nextButtonText="Fix it" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info3" + alignement="Center" + helpText="The host name is not correct" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + <Page + name="choose_net_device" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + jumpScript="__WIZ_HOME__/server_wizard/scripts/set_ip.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="deviceLabel" + alignement="Center" + helpText="Network Device" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info11" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info37" + alignement="East" + helpText="Choose the network device (usually a card) the server should use to" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info38" + alignement="East" + helpText="connect to your network. It\'s the device for the local network," + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info40" + alignement="East" + helpText="probably not the same device used for internet access." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info43" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Chooser + name="deviceChooser" + variableName="net_device" + alignement="Fill" + fillScript="__WIZ_HOME__/server_wizard/scripts/liste_device.sh" + helpText="Device:" + helpFontName="Default" + helpFontStyle="plain" + helpFontSize="12" + editable="false" + guiType="choice" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="true" + ratio="30" + > + </Chooser> + + <Info + name="info39" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info42" + alignement="East" + helpText="Devices are presented with the Linux name and," + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info41" + alignement="East" + helpText="if known, with the card description." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="_compute_domainname" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="debug22" + alignement="Fill" + helpText="This page compute the domainname; it should be invisible" + guiType="label" + fontName="Monospaced" + fontStyle="italic" + fontSize="14" + > + </Info> + <Freetext + name="net_deviceField" + variableName="net_device" + alignement="Fill" + fillScript="get_var wiz_device" + helpText="net device" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="domainnameField" + variableName="domainname" + alignement="Fill" + fillScript="__WIZ_HOME__/server_wizard/scripts/compute_domain.sh" + helpText="Computed domain Name" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + </Page> + + <Page + name="load_net_address" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Freetext + name="freetext1" + variableName="network_address" + alignement="Center" + fillScript="get_val wiz_ip_net" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + </Page> + + <Page + name="ask_network_address" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + jumpScript="__WIZ_HOME__/server_wizard/scripts/check_network.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_in_network_address" + jumpIndex="1" + > + </Target> + + <Target + targetName="_compute_server_address" + jumpIndex="10" + > + </Target> + + <Info + name="networkAddressTitle" + alignement="Center" + helpText="Network Address" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info23" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="East" + helpText="The network address is a number identifing your network; the proposed" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="East" + helpText="value is designed for a configuration not connected to Internet, or" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="East" + helpText="connected using IP masquerading; unless you know what you are doing," + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="East" + helpText="accept the default value." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info10" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="freetext2" + variableName="network_address" + alignement="Fill" + fillScript="__WIZ_HOME__/server_wizard/scripts/compute_ipnet.sh" + helpText="IP net address:" + guiType="textfield" + inputType="ip" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info29" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info28" + alignement="East" + helpText="Network addresses are a list of four numbers smaller than 256," + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info4" + alignement="East" + helpText="separated by dots; the last number of the list must be zero." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="error_in_network_address" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + jumpPage="load_net_address" + nextButtonText="Fix it" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info5" + alignement="Center" + helpText="The network address is wrong" + guiType="label" + fontName="Default" + fontStyle="italic" + fontSize="14" + > + </Info> + </Page> + + <Page + name="_compute_server_address" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="debug4" + alignement="Center" + helpText="This page compute the default server address; should be invisible." + guiType="label" + fontName="Monospaced" + fontStyle="italic" + fontSize="14" + > + </Info> + + <Freetext + name="freetext3" + variableName="server_address" + alignement="Fill" + fillScript="__WIZ_HOME__/server_wizard/scripts/compute_server_ip.sh" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + </Page> + + <Page + name="read_gatewaydev" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Freetext + name="freetext4" + variableName="wiz_extn_device" + alignement="Center" + fillScript="echo `get_var wiz_extn_device`" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + </Page> + + <Page + name="read_gatewayip" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Freetext + name="freetext5" + variableName="wiz_extn_gateway" + alignement="Center" + fillScript="echo `get_var wiz_extn_gateway`" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + </Page> + + <Page + name="ask_server_address" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + jumpScript="__WIZ_HOME__/server_wizard/scripts/check_server_ip.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_in_server_address" + jumpIndex="1" + > + </Target> + + <Target + targetName="external_gateway" + jumpIndex="10" + > + </Target> + + <Info + name="serverAddressTitle" + alignement="Center" + helpText="Server Address" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info34" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info33" + alignement="East" + helpText="The server IP address is a number identifing your server in your" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info32" + alignement="East" + helpText="network; the proposed value designed for a private network , with no" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info31" + alignement="East" + helpText="internet visibility, or connected using IP masquerading; unless you" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info30" + alignement="East" + helpText="know what you are doing, accept the default value." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info9" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="serverAddressInput" + variableName="server_address" + alignement="Fill" + helpText="Server IP address:" + guiType="textfield" + inputType="ip" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info36" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info35" + alignement="East" + helpText="IP addresses are a dotted list of four numbers smaller than 256." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="error_in_server_address" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + jumpPage="ask_server_address" + nextButtonText="Fix It" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="serverErrorMessage" + alignement="Center" + helpText="The Server IP address is incorrect" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + + <Page + name="external_gateway" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info51" + alignement="Center" + helpText="External gateway" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info58" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info56" + alignement="East" + helpText="Here is your current value for the external gateway (value specified" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info60" + alignement="East" + helpText="during the initial installation). The device (network card or modem)" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info55" + alignement="East" + helpText="should be different from the one used for the internal network." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info52" + alignement="East" + helpText="Note : the gateway IP address should be non empty if you want" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info54" + alignement="East" + helpText="an access to outside world." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info57" + alignement="East" + helpText="(you can change here these values if you know exactly what you\'re doing)" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info59" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="get_gatewaydev" + variableName="wiz_extn_device" + alignement="Fill" + helpText="Gateway device:" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="get_ipgateway" + variableName="wiz_extn_gateway" + alignement="Fill" + helpText="Gateway IP:" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + </Page> + + <Page + name="doit" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + jumpScript="__WIZ_HOME__/server_wizard/scripts/do_it_net.sh" + nextButtonText="Configure" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="done" + jumpIndex="10" + > + </Target> + + <Info + name="doitTitle" + alignement="Center" + helpText="Configuring your network" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info14" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="explication1" + alignement="East" + helpText="The wizard collected the following parameters" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="explication2" + alignement="East" + helpText="needed to configure your network" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="serverNameConfirm" + variableName="hostname" + alignement="Fill" + helpText="Server Name:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="networkIPConfirm" + variableName="network_address" + alignement="Fill" + helpText="Network Address:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="serverIPConfirm" + variableName="server_address" + alignement="Fill" + helpText="Server Address:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="deviceConfirm" + variableName="net_device" + alignement="Fill" + helpText="Device:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="gatewayip_confirm" + variableName="wiz_extn_gateway" + alignement="Fill" + helpText="Gateway IP:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="gatewaydev_confirm" + variableName="wiz_extn_device" + alignement="Fill" + helpText="Gateway device:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info12" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="doneLabel" + alignement="East" + helpText="To accept these values, and configure your server, click on" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="cancelLabel" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="catastrophic_exit1" + comment="Exit in case of catastrophhic system error" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + nextButtonText="Exit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="catastrophe_text" + alignement="Center" + helpText="Wizard Error." + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + name="done" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + nextButtonText="Quit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="info15" + alignement="Center" + helpText="Congratulations" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info16" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="successLabel" + alignement="Center" + helpText="The wizard successfully configured the basic" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info6" + alignement="Center" + helpText="networking services of your server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="error_need_root" + comment="Error: this wizard must run as root." + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-basics.html" + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="root_error_message" + alignement="Center" + helpText="This Wizard need to run as root" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> +</Wizard> diff --git a/web_wizard/web.wiz b/web_wizard/web.wiz new file mode 100644 index 00000000..2b24ae4d --- /dev/null +++ b/web_wizard/web.wiz @@ -0,0 +1,552 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="wizdrake: Web wizard" + imagePosition="top" + defaultImage="__WIZ_HOME__/images/apache.jpg" + height="400" + width="525" + hasDb="false" + dbPositions="0" + referenceLength="425" + referenceHeight="13" + perlModule="__WIZ_HOME__/web_wizard/scripts/Webconf.pm" +> + + <Variable + name="wiz_web_internal" + shellVariable="wiz_web_internal" + persistent="false" + > + </Variable> + + <Variable + name="wiz_web_external" + shellVariable="wiz_web_external" + persistent="false" + > + </Variable> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html" + name="welcome" + jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="web connections" + jumpIndex="0" + > + </Target> + + <Target + targetName="must be root" + jumpIndex="1" + > + </Target> + + <Target + targetName="error_need_net" + jumpIndex="2" + > + </Target> + + <Info + name="info1" + alignement="Center" + helpText="Web Server Configuration Wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info2" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info3" + alignement="Center" + helpText="This wizard will help you configuring" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info4" + alignement="Center" + helpText="the Web Server for your network." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html" + name="must be root" + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="true" + canBack="true" + canCancel="true" + > + + <Info + name="info" + alignement="Center" + helpText="Sorry, you must be root to do this..." + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html" + name="error_need_net" + subWizard="__WIZ_HOME__/server_wizard/server.wiz" + executionLevel="NORMAL" + nextFinish="false" + canBack="false" + canCancel="true" + > + + <Info + name="errorLabel" + alignement="Center" + helpText="Network not configured yet" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info23" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info22" + alignement="Center" + helpText="You have to configure the basic network parameters before launch this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + helpText="Press next to configure these parameters now, or Cancel to exit this wizard." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + helpText="If you choose to configure now, you will automatically continue" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="Center" + helpText="with the WEB configuration" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html" + name="server launcher" + jumpPage="web connections" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html" + name="web connections" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="webTitle" + alignement="Center" + helpText="Web Server" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info6" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info7" + alignement="East" + helpText="Your server can act as a Web Server toward your internal" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info11" + alignement="East" + helpText="network (intranet) and as a Web Server for the Internet." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info10" + alignement="East" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info5" + alignement="East" + helpText="Select the kind of Web service you want to activate:" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info21" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Boolean + name="wiz_web_internal" + variableName="wiz_web_internal" + forceEnabled="1" + forceDisabled="0" + helpText="Enable the Web Server for the Intranet" + guiType="chechbox" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + > + </Boolean> + + <Info + name="info8" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Boolean + name="wiz_web_external" + variableName="wiz_web_external" + forceEnabled="1" + forceDisabled="0" + helpText="Enable the Web Server for the Intranet and for the Internet" + guiType="chechbox" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + > + </Boolean> + + <Info + name="info9" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info12" + alignement="East" + helpText="Don't check any box if you don't want to activate your Web Server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html" + name="confirmation" + jumpPage="congratulations" + nextButtonText="Configure" + executionLevel="NORMAL" + nextFinish="false" + func="finish" + canBack="true" + canCancel="true" + > + + <Info + name="confirmationTitle" + alignement="Center" + helpText="Configuring the Web Server" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info13" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info14" + alignement="East" + helpText="The wizard collected the following parameter" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info15" + alignement="East" + helpText="needed to configure your Web Server" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info16" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="freetext1" + alignement="Fill" + fillScript="[ \( ${wiz_web_internal} -eq 1 \) -o \( ${wiz_web_external} -eq 1 \) ] \a\a echo \qenabled\q || echo \qdisabled\q" + helpText="Intranet Web Server:" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="freetext2" + alignement="Fill" + fillScript="[ ${wiz_web_external} -eq 0 ] \a\a echo \qdisabled\q || echo \qenabled\q" + helpText="Internet Web Server:" + guiType="textfield" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info17" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info18" + alignement="East" + helpText="To accept these values, and configure your server, click on" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info19" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html" + name="congratulations" + nextButtonText="Quit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="info23" + alignement="Center" + helpText="Congratulations" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info20" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + helpText="The wizard successfully configured your" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="Center" + helpText="Intranet/Internet Web Server" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> +</Wizard> |