[freenet-cvs] r11999 - in trunk/apps/new_installer: . langpacks res/unix/bin res/windows/bin
nextgens at freenetproject.org
nextgens at freenetproject.org
Tue Mar 6 18:04:32 UTC 2007
Author: nextgens
Date: 2007-03-06 18:04:30 +0000 (Tue, 06 Mar 2007)
New Revision: 11999
Modified:
trunk/apps/new_installer/install.xml
trunk/apps/new_installer/langpacks/fra.xml
trunk/apps/new_installer/res/unix/bin/1run.sh
trunk/apps/new_installer/res/windows/bin/1run.cmd
Log:
new_installer: bundle MDNSDiscovery
Modified: trunk/apps/new_installer/install.xml
===================================================================
--- trunk/apps/new_installer/install.xml 2007-03-06 17:59:57 UTC (rev 11998)
+++ trunk/apps/new_installer/install.xml 2007-03-06 18:04:30 UTC (rev 11999)
@@ -174,6 +174,11 @@
<singlefile src="res/license/LICENSE.Freenet" target="$INSTALL_PATH/stun"/>
</pack>
+ <pack name="MDNSDiscovery" id="mdns" required="no">
+ <description>A plugin enabling the node to use Zeroconf/Bonjour/Rendez-Vous to advertise itself to compatible clients, enabling them to self-auto-configure. Note that this plugin will "announce" that you are running a node on your local subnet.</description>
+ <singlefile src="res/license/LICENSE.Freenet" target="$INSTALL_PATH/mdns"/>
+ </pack>
+
<pack name="Librarian" id="librarian" required="no">
<description>A plugin allowing you to search the freenet.</description>
<singlefile src="res/license/LICENSE.Freenet" target="$INSTALL_PATH/librarian"/>
Modified: trunk/apps/new_installer/langpacks/fra.xml
===================================================================
--- trunk/apps/new_installer/langpacks/fra.xml 2007-03-06 17:59:57 UTC (rev 11998)
+++ trunk/apps/new_installer/langpacks/fra.xml 2007-03-06 18:04:30 UTC (rev 11999)
@@ -79,6 +79,7 @@
<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="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="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."/>
<str id="librarian.description" txt="Un pack installant le plugin Librarian : Un mini moteur de recherche pour freenet."/>
<str id="jsite.description" txt="Un pack installant jSite, un outil pour insérer et maintenir un 'freesite' sur freenet."/>
<str id="frost.description" txt="Un pack installant frost, un logiciel de newsgroup pour freenet (http://jtcfrost.sourceforge.net)."/>
Modified: trunk/apps/new_installer/res/unix/bin/1run.sh
===================================================================
--- trunk/apps/new_installer/res/unix/bin/1run.sh 2007-03-06 17:59:57 UTC (rev 11998)
+++ trunk/apps/new_installer/res/unix/bin/1run.sh 2007-03-06 18:04:30 UTC (rev 11999)
@@ -33,6 +33,17 @@
rm -f stun
fi
+if test -e mdns
+then
+ echo "Enabling the MDNSDiscovery plugin"
+ mkdir plugins &>/dev/null
+ PLUGINS="plugins.MDNSDiscovery.MDNSDiscovery at file://$INSTALL_PATH/plugins/MDNSDiscovery.jar;$PLUGINS"
+ java -jar bin/sha1test.jar plugins/MDNSDiscovery.jar.url plugins &>/dev/null
+ mv plugins/MDNSDiscovery.jar.url plugins/MDNSDiscovery.jar
+ rm -f plugins/MDNSDiscovery.jar.url
+ rm -f mdns
+fi
+
if test -e librarian
then
echo "Enabling the Librarian plugin"
Modified: trunk/apps/new_installer/res/windows/bin/1run.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/bin/1run.cmd 2007-03-06 17:59:57 UTC (rev 11998)
+++ trunk/apps/new_installer/res/windows/bin/1run.cmd 2007-03-06 18:04:30 UTC (rev 11999)
@@ -40,6 +40,15 @@
@del /F stun > NUL
:nostun
+ at if not exist mdns goto nomdns
+ at echo -MDNSDiscovery
+ at set PLUGINS=plugins.MDNSDiscovery.MDNSDiscovery at file:///%INSTALL_PATH%\plugins\MDNSDiscovery.jar;%PLUGINS%
+ at mkdir plugins 2> NUL
+ at java -jar bin\sha1test.jar plugins/MDNSDiscovery.jar.url plugins > NUL
+ at copy plugins\MDNSDiscovery.jar.url plugins\MDNSDiscovery.jar > NUL
+ at del /F mdns > NUL
+:nomdns
+
@if not exist librarian goto nolibrarian
@echo -Librarian
@mkdir plugins 2> NUL
@@ -49,6 +58,7 @@
@del /F librarian > NUL
:nolibrarian
+ at del /F *.jar.url > NUL
@echo pluginmanager.loadplugin=%PLUGINS% >> freenet.ini
@echo node.updater.enabled=true >> freenet.ini
More information about the cvs
mailing list