[freenet-dev] [freenet-cvs] r14189 - in trunk/apps/new_installer: . langpacks res/unix/bin res/windows/bin

Matthew Toseland toad at amphibian.dyndns.org
Thu Jul 19 11:16:48 UTC 2007


I'm not convinced it should just be a default. Can't we explicitly ask the 
user a yes/no, maybe during the post-setup wizard?

On Thursday 19 July 2007 01:16, you wrote:
> Author: nextgens
> Date: 2007-07-19 00:16:16 +0000 (Thu, 19 Jul 2007)
> New Revision: 14189
>
> Added:
>    trunk/apps/new_installer/res/unix/bin/install_opennet.sh
>    trunk/apps/new_installer/res/windows/bin/install_opennet.cmd
> Modified:
>    trunk/apps/new_installer/ProcessPanel.Spec.xml
>    trunk/apps/new_installer/install.xml
>    trunk/apps/new_installer/langpacks/fra.xml
> Log:
> new_installer: set opennet up by default; maybe the welcome page should say
> something about it as well
>
> Modified: trunk/apps/new_installer/ProcessPanel.Spec.xml
> ===================================================================
> --- trunk/apps/new_installer/ProcessPanel.Spec.xml	2007-07-19 00:13:26 UTC
> (rev 14188) +++ trunk/apps/new_installer/ProcessPanel.Spec.xml	2007-07-19
> 00:16:16 UTC (rev 14189) @@ -26,6 +26,19 @@
>  		<executefile name="$INSTALL_PATH\bin\install_updater.cmd"/>
>  	</job>
>
> +	<job name="Setting Opennet up">
> +		<os family="unix"/>
> +		<executefile name="$INSTALL_PATH/bin/install_opennet.sh"/>
> +	</job>
> +	<job name="Setting the Opennet up">
> +		<os family="mac"/>
> +		<executefile name="$INSTALL_PATH/bin/install_opennet.sh"/>
> +	</job>
> +	<job name="Setting the Opennet up">
> +		<os family="windows"/>
> +		<executefile name="$INSTALL_PATH\bin\install_opennet.cmd"/>
> +	</job>
> +
>  	<job name="Setting MDNS up">
>  		<os family="unix"/>
>  		<executefile name="$INSTALL_PATH/bin/install_mdns.sh"/>
>
> Modified: trunk/apps/new_installer/install.xml
> ===================================================================
> --- trunk/apps/new_installer/install.xml	2007-07-19 00:13:26 UTC (rev
> 14188) +++ trunk/apps/new_installer/install.xml	2007-07-19 00:16:16 UTC
> (rev 14189) @@ -151,6 +151,7 @@
>  			<parsable targetfile="$INSTALL_PATH\bin\install_frost.cmd"/>
>  			<parsable targetfile="$INSTALL_PATH\bin\install_jsite.cmd"/>
>  			<parsable targetfile="$INSTALL_PATH\bin\install_plugins.cmd"/>
> +			<parsable targetfile="$INSTALL_PATH\bin\install_opennet.cmd"/>
>  			<parsable targetfile="$INSTALL_PATH\bin\install_thaw.cmd"/>
>  			<parsable targetfile="$INSTALL_PATH\bin\install_updater.cmd"/>
>  			<parsable targetfile="$INSTALL_PATH\bin\install_wrapper.cmd"/>
> @@ -182,6 +183,7 @@
>  			<parsable targetfile="$INSTALL_PATH/bin/install_jSite.sh"/>
>  			<parsable targetfile="$INSTALL_PATH/bin/install_librarian.sh"/>
>  			<parsable targetfile="$INSTALL_PATH/bin/install_mdns.sh"/>
> +			<parsable targetfile="$INSTALL_PATH/bin/install_opennet.sh"/>
>  			<parsable targetfile="$INSTALL_PATH/bin/install_stun.sh"/>
>  			<parsable targetfile="$INSTALL_PATH/bin/install_upnp.sh"/>
>  			<parsable targetfile="$INSTALL_PATH/bin/install_thaw.sh"/>
> @@ -218,6 +220,7 @@
>  			<parsable targetfile="$INSTALL_PATH/bin/install_jSite.sh"/>
>  			<parsable targetfile="$INSTALL_PATH/bin/install_librarian.sh"/>
>  			<parsable targetfile="$INSTALL_PATH/bin/install_mdns.sh"/>
> +			<parsable targetfile="$INSTALL_PATH/bin/install_opennet.sh"/>
>  			<parsable targetfile="$INSTALL_PATH/bin/install_stun.sh"/>
>  			<parsable targetfile="$INSTALL_PATH/bin/install_upnp.sh"/>
>  			<parsable targetfile="$INSTALL_PATH/bin/install_thaw.sh"/>
> @@ -228,6 +231,11 @@
>  			<parsable targetfile="$INSTALL_PATH/bin/install_startup_hook-mac.sh"/>
>  			<parsable targetfile="$INSTALL_PATH/bin/cleanup.sh"/>
>  		</pack>
> +
> +		<pack name="Opennet" id="opennet" required="no">
> +			<description>Allow the node to establish new connections to strangers
> automaticaly (useful only if you don't know anyone using freenet). Enabling
> this feature presents a SECURITY RISK.</description> +			<singlefile
> src="res/license/LICENSE.Freenet" target="$INSTALL_PATH/opennet"/>
> +		</pack>
>
>  		<pack name="UninstallStuff" id="uninstall" required="no" os="windows">
>  			<description>Create uninstallation hooks in the registry</description>
>
> Modified: trunk/apps/new_installer/langpacks/fra.xml
> ===================================================================
> --- trunk/apps/new_installer/langpacks/fra.xml	2007-07-19 00:13:26 UTC (rev
> 14188) +++ trunk/apps/new_installer/langpacks/fra.xml	2007-07-19 00:16:16
> UTC (rev 14189) @@ -78,6 +78,7 @@
>      <str id="unix.description" txt="Un pack contenant des scripts."/>
>      <str id="uninstall.description" txt="Un pack permettant de configurer
> l'outil de désinstallation."/> <str id="autoupdater.description" txt="Un
> pack permettant au noeud de se tenir à jour automatiquement via freenet.
> Il est conseillé de l'installer."/> +    <str id="opennet.description"
> txt="Un pack configurant le noeud pour qu'il trouve automatiquement des
> amis à qui se connecter (utile si vous ne connaissez personne qui utilise
> freenet) Attention: activer ce pack présente des risques de SECURITE."/>
> <str id="stun.description" txt="Un pack permettant d'installer le plugin
> STUN pour freenet. STUN est le protocole permettant à freenet de
> découvrir dynamiquement quel est votre type de connexion internet. Ce
> protocole utilise un serveur tiers pour officier, ce qui peut etre
> considéré comme un risque de sécurité. Nous recommandons de l'installer
> car il permet d'améliorer la connectivité des noeuds utilisant des
> adresses ip dynamiques (la plupart des noeuds)."/> <str
> id="upnp.description" txt="Un pack permettant d'activer le support UP&P
> pour freenet. Universal Plug aNd Play est le protocole permettant à
> freenet de découvrir dynamiquement quel est votre adresse IP et d'établir
> un port-forwarding. Ce protocole ne doit pas être utilisé si vous de
> faites pas confiance au réseau auquel vous êtes connecté. Nous
> recommandons tout de même de l'installer car il permet d'améliorer la
> connectivité des noeuds."/> <str id="mdns.description" txt="Un pack
> permettant d'installer le plugin MDNSDiscovery pour freenet. MDNS est le
> protocole connu sous les noms ZeroConf/Bonjour/Rendez-Vous permettant à
> freenet de découvrir dynamiquement les autres noeuds présents sur le
> réseau local. Ce protocole permet aussi aux clients compatibles de
> s'auto-configurer."/>
>
> Added: trunk/apps/new_installer/res/unix/bin/install_opennet.sh
> ===================================================================
> --- trunk/apps/new_installer/res/unix/bin/install_opennet.sh	              
>          (rev 0) +++
> trunk/apps/new_installer/res/unix/bin/install_opennet.sh	2007-07-19
> 00:16:16 UTC (rev 14189) @@ -0,0 +1,15 @@
> +#!/bin/bash
> +
> +INSTALL_PATH="${INSTALL_PATH:-$PWD}"
> +
> +cd "$INSTALL_PATH"
> +
> +if test -e opennet
> +then
> +	# Register opennet
> +	echo "Enabling Opennet"
> +	echo "node.opennet.enabled=true" >> freenet.ini
> +
> +	# Cleanup
> +	rm -f opennet
> +fi
>
>
> Property changes on:
> trunk/apps/new_installer/res/unix/bin/install_opennet.sh
> ___________________________________________________________________ Name:
> svn:executable
>    + *
>
> Added: trunk/apps/new_installer/res/windows/bin/install_opennet.cmd
> ===================================================================
> --- trunk/apps/new_installer/res/windows/bin/install_opennet.cmd	          
>              (rev 0) +++
> trunk/apps/new_installer/res/windows/bin/install_opennet.cmd	2007-07-19
> 00:16:16 UTC (rev 14189) @@ -0,0 +1,10 @@
> + at set PATH=%SYSTEMROOT%\System32\;%PATH%
> + at set INSTALL_PATH=$INSTALL_PATH
> + at set JAVA_HOME=$JAVA_HOME
> + at cd /D %INSTALL_PATH%
> +
> + at if not exist opennet goto noopennet
> + at echo Enabling Opennet
> + at echo node.opennet.enabled=true >> freenet.ini
> + at del /F opennet > NUL
> +:noopennet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20070719/d719e236/attachment.pgp 


More information about the Devl mailing list