source: debian/patches/0001-path-substitution.patch @ 822ec4a

Last change on this file since 822ec4a was 822ec4a, checked in by kytv <kytv@…>, 7 years ago

Debian: patch refresh

  • Property mode set to 100644
File size: 23.0 KB
RevLine 
[b6fab82]1From: Kill Your TV <killyourtv@i2pmail.org>
2Date: Mon, 18 Apr 2011 16:43:40 +0000
[d2d2b1e]3Subject: path substitution
[b6fab82]4
[d2d2b1e]5The purpose of this patch is the change the values handled by
6the Izpack based installer.
7
8Non-applicable sections (e.g., portable & windows) are also removed for the
9Debian wrapper.config to try to prevent confusion.
[b6fab82]10---
[816149ef]11 installer/resources/eepget         |    2 +-
12 installer/resources/i2prouter      |   82 ++++--------------------------------
13 installer/resources/runplain.sh    |    4 +-
14 installer/resources/wrapper.config |   70 ++++++------------------------
15 4 files changed, 24 insertions(+), 134 deletions(-)
[b6fab82]16
17--- a/installer/resources/eepget
18+++ b/installer/resources/eepget
19@@ -1,3 +1,3 @@
20 #!/bin/sh
21-I2P="%INSTALL_PATH"
22+I2P="/usr/share/i2p"
23 java -cp "$I2P/lib/i2p.jar" net.i2p.util.EepGet "$@"
24--- a/installer/resources/i2prouter
25+++ b/installer/resources/i2prouter
[2b79da5c]26@@ -10,7 +10,7 @@
27 # wrapper configuration file.
28 #
29 # If this script fails to successfully invoke i2psvc on your platform,
30-# try the runplain.sh script instead.
31+# try the i2prouter-nowrapper script instead.
32 #
33 # This software is the proprietary information of Tanuki Software.
34 # You shall use it only in accordance with the terms of the
[081b692]35@@ -24,21 +24,12 @@
[2b79da5c]36 # These settings can be modified to fit the needs of your application
[747bd0c]37 # Optimized for use with version 3.5.22 of the Wrapper.
[2b79da5c]38 
39-# Paths
40-# Note that (percent)INSTALL_PATH, (percent)USER_HOME,  and (percent)SYSTEM_java_io_tmpdir
41-# should have been replaced by the izpack installer.
42-# If you did not run the installer, replace them with the appropriate paths.
43-I2P="%INSTALL_PATH"
[175cb08]44-if [ "`uname -s`" = "Darwin" ]; then
[081b692]45-   if [ -d "%USER_HOME/Library/Application Support" ]; then
46-       I2P_CONFIG_DIR="%USER_HOME/Library/Application Support/i2p"
47-   else
48-       I2P_CONFIG_DIR="%USER_HOME/.i2p"
49-   fi
50-else
51-    I2P_CONFIG_DIR="%USER_HOME/.i2p"
52-fi
[2b79da5c]53-I2PTEMP="%SYSTEM_java_io_tmpdir"
[2a00272]54+# Read config file if found
55+[ -f /etc/default/i2p ] && . /etc/default/i2p
56+
[2b79da5c]57+I2P="/usr/share/i2p"
58+I2P_CONFIG_DIR="$HOME/.i2p"
59+I2PTEMP="/tmp"
[081b692]60 # PORTABLE installation:
61 # Use the following instead.
62 #I2PTEMP="%INSTALL_PATH"
63@@ -69,8 +60,8 @@
[8ddc34d]64 #RUN_AS_USER=
[b6fab82]65 
66 # Wrapper
67-WRAPPER_CMD="$I2P/i2psvc"
68-WRAPPER_CONF="$I2P/wrapper.config"
69+WRAPPER_CMD="/usr/sbin/wrapper"
70+WRAPPER_CONF="/etc/i2p/wrapper.config"
71 
[8ddc34d]72 # Priority at which to run the wrapper.  See "man nice" for valid priorities.
73 #  nice is only used if a priority is specified.
[67e242c]74@@ -167,69 +158,13 @@
75 
76 # Do not modify anything beyond this point
77 #-----------------------------------------------------------------------------
78+JAVABINARY=$(awk -F'=' '/^ *wrapper\.java\.command/{print $2}' "$WRAPPER_CONF")
79+
80 if [ ! -e "$WRAPPER_CONF" ]; then
81        echo "Starting I2P Failed: Unable to find $WRAPPER_CONF"
[65b1124]82        exit 1
83 fi
[2b79da5c]84 
[65b1124]85-# Workaround for Gentoo
86-JAVABINARY=$(awk -F'=' '/^ *wrapper\.java\.command/{print $2}' "$WRAPPER_CONF")
87-
[2b79da5c]88-if [ -e /etc/gentoo-release ]; then
89-    if [ $JAVABINARY = java ]; then
90-        if [ -x /etc/java-config-2/current-system-vm/bin/java ]; then
91-            JAVABINARY="/etc/java-config-2/current-system-vm/bin/java"
92-        else
93-            echo "Please set wrapper.java.command in $WRAPPER_CONF"
94-            exit 1
95-        fi
96-    fi
97-fi
98-
99-WRAPPER_URL="http://www.i2p2.de/manualwrapper"
100-unsupported() {
101-    echo "The most likely reason is that a supported version of the java"
102-    echo "wrapper is not available in the I2P installation package for your"
103-    echo "platform. It may be possible to manually download and install"
104-    echo "a compatible wrapper for your system."
105-    echo "See ${WRAPPER_URL} for hints."
106-    echo
107-    echo "In the meantime, you may start I2P by running the script"
108-    echo "${I2P}/runplain.sh"
109-    echo
110-}
111-
112-failed() {
[fa235d97]113-        echo "**`gettext 'Failed to load the wrapper'`**"
[2b79da5c]114-        case `uname -s` in
115-             FreeBSD)
[65b1124]116-                # We should never get here on recent versions of FreeBSD
117-                if ! $(pkg_info -E 'libiconv*' > /dev/null 2>&1); then
118-                    echo
119-                    echo "The wrapper requires libiconv."
120-                    echo
121-                    echo "It can be installed with pkg_add -r libiconv"
122-                    echo
123-                fi
[2b79da5c]124-                ;;
125-             *)
126-                echo
127-                unsupported
128-                ;;
129-        esac
[65b1124]130-        exit 1
[2b79da5c]131-}
[65b1124]132-
133-if $(which ldd > /dev/null 2>&1); then
134-    # This should cover every *NIX other than OSX since OSX doesn't have ldd.
135-    # OSX has otool. Is otool on every OSX installation? Is otool's output the same as ldd's?
136-    # The wrapper we ship for OSX are for PPC and Intel, so maybe we don't need to worry about OSX?
137-    if (ldd "$WRAPPER_CMD" |grep -q 'not found') > /dev/null 2>&1 || \
138-                         ! (ldd "$WRAPPER_CMD" > /dev/null 2>&1); then
139-        failed
140-    fi
141-fi
[2b79da5c]142-
143 if [ -n "$FIXED_COMMAND" ]
144 then
145     COMMAND="$FIXED_COMMAND"
[79b5d97]146@@ -944,7 +879,7 @@
[65b1124]147 
[2b79da5c]148         # The string passed to eval must handles spaces in paths correctly.
[747bd0c]149         COMMAND_LINE="$CMDNICE \"$WRAPPER_CMD\" \"$WRAPPER_CONF\" wrapper.syslog.ident=\"$APP_NAME\" wrapper.java.command=\"$JAVABINARY\" wrapper.pidfile=\"$PIDFILE\" wrapper.name=\"$APP_NAME\" wrapper.displayname=\"$APP_LONG_NAME\" $ANCHORPROP $STATUSPROP $COMMANDPROP $LOCKPROP $LOGPROP wrapper.script.version=3.5.22 $ADDITIONAL_PARA"
[65b1124]150-        eval $COMMAND_LINE || failed
151+        eval $COMMAND_LINE
[2b79da5c]152     else
153         eval echo `gettext '$APP_LONG_NAME is already running.'`
154         exit 1
[79b5d97]155@@ -1001,7 +936,6 @@
[65b1124]156         if [ "X$pid" = "X" ]
157         then
158             eval echo " `gettext 'WARNING: $APP_LONG_NAME may have failed to start.'`"
159-            failed
160         else
161             eval echo ' running: PID:$pid'
162         fi
[79b5d97]163@@ -1804,7 +1738,7 @@
[2a00272]164 }
165 
166 showsetusermesg()  {
[eb051d6]167-    echo "`gettext 'Please edit i2prouter and set the variable RUN_AS_USER'`."
168+    echo "`gettext 'Please edit /etc/default/i2p and set the variable RUN_AS_USER'`."
[2a00272]169 }
170 
171 checkifstartingasroot() {
[79b5d97]172@@ -1812,7 +1746,7 @@
[2a00272]173         echo "`gettext 'Running I2P as the root user is *not* recommended.'`"
174         showsetusermesg
175         echo
[eb051d6]176-        echo "`gettext 'To run as root anyway, edit i2prouter and set ALLOW_ROOT=true.'`"
177+        echo "`gettext 'To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true.'`"
[2a00272]178         exit 1
179     fi
180 }
[79b5d97]181@@ -1877,24 +1811,10 @@
[2b79da5c]182             status
183             ;;
184 
185-        'install')
186-            installdaemon
187-            if [ ! `grep ^RUN_AS_USER $0` ]; then
[de6bb12]188-                 echo
[2b79da5c]189-                 showsetusermesg
190-            fi
[2b13973]191-            echo
192-            echo "You may want to disable the browser from launching at startup at"
193-            echo "http://127.0.0.1:7657/configclients"
[de6bb12]194-            echo
195-            echo "I2P_CONFIG_DIR is currently set to $I2P_CONFIG_DIR."
196-            echo "Change the value in $0 if this is not"
197-            echo "appropriate for your configuration."
[2b79da5c]198-            ;;
199-
200-        'remove' | 'uninstall')
201-            removedaemon
[eb051d6]202-            ;;
[2b79da5c]203+        'install' | 'remove' | 'uninstall')
204+            echo "Use \"dpkg-reconfigure i2p\" to configure the initscript."
[2b13973]205+            exit 1
[2902a708]206+           ;;
[2b79da5c]207 
208         'dump')
[eb051d6]209             checkUser "" "$COMMAND"
[b6fab82]210--- a/installer/resources/runplain.sh
211+++ b/installer/resources/runplain.sh
[4dc9cfb4]212@@ -11,8 +11,8 @@
[b6fab82]213 # Note that (percent)INSTALL_PATH and (percent)SYSTEM_java_io_tmpdir
214 # should have been replaced by the izpack installer.
215 # If you did not run the installer, replace them with the appropriate path.
216-I2P="%INSTALL_PATH"
217-I2PTEMP="%SYSTEM_java_io_tmpdir"
218+I2P="/usr/share/i2p"
219+I2PTEMP="/tmp"
220 
[4dc9cfb4]221 # Having IPv6 enabled can cause problems with certain configurations. Changing the
222 # next value to true may help.
[b6fab82]223--- a/installer/resources/wrapper.config
224+++ b/installer/resources/wrapper.config
[035829f3]225@@ -8,22 +8,13 @@
[d2d2b1e]226 # click "Shutdown", wait 11 minutes, then start i2p.
227 #
228 # WARNING - The wrapper is NOT run (and this file is not used)
229-# if you start I2P with the 'no window' icon on Windows, or
230-# with the runplain.sh script on Linux. Use the 'restartable'
231-# icon on Windows or the i2prouter script on Linux to run the wrapper.
232+# if you start I2P with the i2prouter-nowrapper script in Linux.
[035829f3]233+# Use i2prouter or the initscript to run the wrapper.
[d2d2b1e]234 #
235 # NOTE - Directory organization:
236 # The standard I2P Installation will set up a "split" directory structure
237 # with code in the install directory, data and configuration files in the
238 # user's home directory, and temporary files in the system temporary directory.
239-# To set up a single-directory "portable" installation suitable for
240-# a USB stick, make several changes specified below (search for PORTABLE).
[035829f3]241-#
[d2d2b1e]242-# NOTE - The izpack installer performs variable subsitiution on this
243-# file upon installation. If you did not use izpack, you must
244-# find and replace all instances of (dollar)INSTALL_PATH and
245-# (dollar)SYSTEM_java_io_tmpdir with appropriate values
246-# (perhaps . and /var/tmp, respectively)
247 #
248 #********************************************************************
249 # Java Application
[fa235d97]250@@ -60,13 +51,14 @@
[b6fab82]251 # classes, or all the classes of i2p.jar, are in a different directory).
252 # Be sure there are no other duplicate classes.
253 #
254-wrapper.java.classpath.1=$INSTALL_PATH/lib/*.jar
255+wrapper.java.classpath.1=/usr/share/i2p/lib/*.jar
[d2d2b1e]256+wrapper.java.classpath.2=/usr/share/java/wrapper.jar
[b6fab82]257 #  uncomment this to use the system classpath as well (e.g. to get tools.jar)
258-# wrapper.java.classpath.2=%CLASSPATH%
[d2d2b1e]259+# wrapper.java.classpath.3=%CLASSPATH%
260 
261-# Java Library Path (location of Wrapper.DLL or libwrapper.so)
[b6fab82]262-wrapper.java.library.path.1=$INSTALL_PATH
263-wrapper.java.library.path.2=$INSTALL_PATH/lib
[d2d2b1e]264+# Java Library Path (location of libjbigi/libjcpuid)
[b6fab82]265+wrapper.java.library.path.1=/usr/lib/jni
266+wrapper.java.library.path.2=/usr/share/java/lib
267 
[035829f3]268 # Java Bits.  On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
269 wrapper.java.additional.auto_bits=TRUE
[fa235d97]270@@ -76,7 +68,7 @@
[b6fab82]271 wrapper.java.additional.1=-DloggerFilenameOverride=logs/log-router-@.txt
272 wrapper.java.additional.2=-Dorg.mortbay.http.Version.paranoid=true
273 wrapper.java.additional.3=-Dorg.mortbay.xml.XmlParser.NotValidating=true
274-wrapper.java.additional.4=-Di2p.dir.base="$INSTALL_PATH"
[035829f3]275+wrapper.java.additional.4=-Di2p.dir.base=/usr/share/i2p
[b6fab82]276 wrapper.java.additional.4.stripquotes=TRUE
[4dc9cfb4]277 
278 # On some IPv6 enabled systems, I2P and other network-enabled java applications
[ab0b493]279@@ -143,11 +135,7 @@
280 # You may wish to change this.
[317aade]281 # NOTE: On Linux/Mac this is overridden in the i2prouter script; changes here will have no effect.
282 # System temp directory:
[b6fab82]283-wrapper.logfile=$SYSTEM_java_io_tmpdir/wrapper.log
[d2d2b1e]284-# PORTABLE installation:
285-# Use the following instead. I2P will find the logfile here,
286-# no need for a wrapper.java.additional line too.
287-#wrapper.logfile=$INSTALL_PATH/wrapper.log
[317aade]288+#wrapper.logfile=/tmp/wrapper.log
[d2d2b1e]289 
290 # Format of output for the log file.
291 # The format consists of the tokens 'L' for log level, 'P' for prefix, 'D' for thread,
[ab0b493]292@@ -217,11 +205,7 @@
[317aade]293 # Linux/Mac users, do not set here, see settings in the i2prouter script.
294 # Directory must exist or the wrapper will fail to start.
295 # System temp directory:
296-#wrapper.java.pidfile=$SYSTEM_java_io_tmpdir/routerjvm.pid
[d2d2b1e]297-# PORTABLE installation:
298-# Use the following instead.
299-#wrapper.java.pidfile=$INSTALL_PATH/routerjvm.pid
[317aade]300-# pid file for the service monitoring the JVM
301+#wrapper.java.pidfile=/tmp/routerjvm.pid
[d2d2b1e]302 #
303 # From i2prouter:
[b6fab82]304 #
[ab0b493]305@@ -235,10 +219,7 @@
[317aade]306 # Linux/Mac users, do not set here, see settings in the i2prouter script.
307 # Directory must exist or the wrapper will fail to start.
308 # System temp directory:
309-#wrapper.pidfile=$SYSTEM_java_io_tmpdir/i2p.pid
[d2d2b1e]310-# PORTABLE installation:
311-# Use the following instead.
312-#wrapper.pidfile=$INSTALL_PATH/i2p.pid
[317aade]313+#wrapper.pidfile=/tmp/i2p.pid
[035829f3]314 
315 #********************************************************************
316 # Wrapper General Properties
[ab0b493]317@@ -255,30 +236,3 @@
[667b6b69]318 wrapper.umask=0022
319 wrapper.java.umask=0022
[79b5d97]320 wrapper.logfile.umask=0077
[d2d2b1e]321-
322-#********************************************************************
323-# Wrapper NT Service Properties
324-#********************************************************************
325-# WARNING - Do not modify any of these properties when an application
326-#  using this configuration file has been installed as a service.
327-#  Please uninstall the service before modifying this section.  The
328-#  service can then be reinstalled.
329-
330-# Name of the service
331-wrapper.ntservice.name=i2p
332-
333-# Display name of the service
334-wrapper.ntservice.displayname=I2P Service
335-
336-# Description of the service
337-wrapper.ntservice.description=The I2P router service
338-
339-# Service dependencies.  Add dependencies as needed starting from 1
340-wrapper.ntservice.dependency.1=
341-
342-# Mode in which the service is installed.  AUTO_START or DEMAND_START
343-wrapper.ntservice.starttype=AUTO_START
344-
345-# Allow the service to interact with the desktop.
[c1c21e5]346-wrapper.ntservice.interactive=false
[d2d2b1e]347-
[2a00272]348--- a/installer/resources/locale/po/messages_de.po
349+++ b/installer/resources/locale/po/messages_de.po
[bfea3e4]350@@ -192,15 +192,15 @@
[2a00272]351 msgstr "Falls gestartet, fordere einen Java Thread dump an"
352 
[bfea3e4]353 #: ../i2prouter:1803
[eb051d6]354-msgid "Please edit i2prouter and set the variable RUN_AS_USER"
355-msgstr "Bitte bearbeite i2prouter und setze die Variable RUN_AS_USER"
[2a00272]356+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
357+msgstr "Bitte bearbeite /etc/default/i2p und setze die Variable RUN_AS_USER"
358 
[bfea3e4]359 #: ../i2prouter:1808
[2a00272]360 msgid "Running I2P as the root user is *not* recommended."
361 msgstr "I2P als root Benutzer auszuführen ist *nicht* empfehlenswert."
362 
[bfea3e4]363 #: ../i2prouter:1811
[eb051d6]364-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
[2a00272]365+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
366 msgstr ""
[bfea3e4]367-"Um I2P trotzdem als root auszuführen bearbeite i2prouter und setze "
368+"Um I2P trotzdem als root auszuführen bearbeite /etc/default/i2p und setze "
369 "ALLOW_ROOT=true."
[2a00272]370--- a/installer/resources/locale/po/messages_en.po
371+++ b/installer/resources/locale/po/messages_en.po
372@@ -185,7 +185,7 @@
373 msgstr ""
374 
[e61e950]375 #: ../i2prouter:1807
[eb051d6]376-msgid "Please edit i2prouter and set the variable RUN_AS_USER"
[cbd2494]377+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
[2a00272]378 msgstr ""
379 
[e61e950]380 #: ../i2prouter:1812
[2a00272]381@@ -193,5 +193,5 @@
382 msgstr ""
383 
[e61e950]384 #: ../i2prouter:1815
[eb051d6]385-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
[2a00272]386+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
387 msgstr ""
388--- a/installer/resources/locale/po/messages_it.po
389+++ b/installer/resources/locale/po/messages_it.po
390@@ -187,7 +187,7 @@
391 msgstr ""
392 
[822ec4a]393 #: ../i2prouter:1807
[eb051d6]394-msgid "Please edit i2prouter and set the variable RUN_AS_USER"
[2a00272]395+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
396 msgstr ""
397 
[822ec4a]398 #: ../i2prouter:1812
[2a00272]399@@ -195,5 +195,5 @@
400 msgstr ""
401 
[822ec4a]402 #: ../i2prouter:1815
[eb051d6]403-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
[2a00272]404+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
405 msgstr ""
[b0b0124]406--- a/installer/resources/locale/po/messages_zh.po
407+++ b/installer/resources/locale/po/messages_zh.po
408@@ -187,13 +187,13 @@
409 msgstr "请求Java转储(如果在运行)。"
410 
[822ec4a]411 #: ../i2prouter:1807
[b0b0124]412-msgid "Please edit i2prouter and set the variable RUN_AS_USER"
413-msgstr "请编辑 i2prouter 设置 RUN_AS_USER 变量"
414+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
415+msgstr "请编辑 /etc/default/i2p 设置 RUN_AS_USER 变量"
416 
[822ec4a]417 #: ../i2prouter:1812
[b0b0124]418 msgid "Running I2P as the root user is *not* recommended."
419 msgstr "推荐 *不要* 以 root 身份运行 I2P 。"
420 
[822ec4a]421 #: ../i2prouter:1815
[b0b0124]422-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
423-msgstr "要以root运行,请编辑 i2prouter 并设置 ALLOW_ROOT=true。"
424+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
425+msgstr "要以root运行,请编辑 /etc/default/i2p 并设置 ALLOW_ROOT=true。"
426--- a/installer/resources/locale/po/messages_tr.po
427+++ b/installer/resources/locale/po/messages_tr.po
428@@ -186,13 +186,13 @@
429 msgstr "Çalışıyorsa Java iş parçacığı dökümü isteyin."
430 
431 #: ../i2prouter:1796
432-msgid "Please edit i2prouter and set the variable RUN_AS_USER"
433-msgstr "i2prouter dosyasını düzenleyin ve RUN_AS_USER değişkenini ayarlayın"
434+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
435+msgstr "/etc/default/i2p dosyasını düzenleyin ve RUN_AS_USER değişkenini ayarlayın"
436 
437 #: ../i2prouter:1801
438 msgid "Running I2P as the root user is *not* recommended."
439 msgstr "I2P yazılımının root olarak çalıştırmanız *önerilmez*."
440 
441 #: ../i2prouter:1804
442-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
443-msgstr "Root olarak çalıştırmak için i2prouter dosyasını düzenleyin ve ALLOW_ROOT=true ayarını yapın."
444+msgid "To run as root anyway, edit /etc/defalt/i2p and set ALLOW_ROOT=true."
445+msgstr "Root olarak çalıştırmak için /etc/default/i2p dosyasını düzenleyin ve ALLOW_ROOT=true ayarını yapın."
[a2bd45fa]446--- a/installer/resources/locale/po/messages_es.po
447+++ b/installer/resources/locale/po/messages_es.po
[822ec4a]448@@ -193,15 +193,15 @@
[a2bd45fa]449 msgstr "Solicitar un volcado del hilo JAVA si se está ejecutando."
450 
[822ec4a]451 #: ../i2prouter:1807
[a2bd45fa]452-msgid "Please edit i2prouter and set the variable RUN_AS_USER"
453-msgstr "Por favor edite i2prouter e introduzca la variable RUN_AS_USER"
454+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
455+msgstr "Por favor edite /etc/default/i2p e introduzca la variable RUN_AS_USER"
456 
[822ec4a]457 #: ../i2prouter:1812
[a2bd45fa]458 msgid "Running I2P as the root user is *not* recommended."
459 msgstr "\"No\" se recomienda ejecutar I2P como root."
460 
[822ec4a]461 #: ../i2prouter:1815
[a2bd45fa]462-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
463+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
[822ec4a]464 msgstr ""
465-"Para ejecutar como root de todos modos, edite i2prouter y ponga la variable "
466+"Para ejecutar como root de todos modos, edite /etc/default/i2p y ponga la variable "
467 "ALLOW_ROOT=true."
[a2bd45fa]468--- a/installer/resources/locale/po/messages_pt.po
469+++ b/installer/resources/locale/po/messages_pt.po
470@@ -189,15 +189,15 @@
471 msgstr "Requisitar o histórico Java se iniciado."
472 
473 #: ../i2prouter:1796
474-msgid "Please edit i2prouter and set the variable RUN_AS_USER"
475-msgstr "Favor editar o arquivo i2prouter e configurar a variável RUN_AS_USER"
476+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
477+msgstr "Favor editar o arquivo /etc/default/i2p e configurar a variável RUN_AS_USER"
478 
479 #: ../i2prouter:1801
480 msgid "Running I2P as the root user is *not* recommended."
481 msgstr "Iniciar I2P como permissões root *não* é recomendado."
482 
483 #: ../i2prouter:1804
484-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
485+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
486 msgstr ""
487-"Para executar como root mesmo assim, editar o i2prouter e configurar a "
488+"Para executar como root mesmo assim, editar o /etc/default/i2p e configurar a "
489 "variável ALLOW_ROOT=true."
[bfea3e4]490--- a/installer/resources/locale/po/messages_fr.po
491+++ b/installer/resources/locale/po/messages_fr.po
[53b0f7b]492@@ -190,8 +190,8 @@
[bfea3e4]493 msgstr "Request a Java thread dump if running."
494 
[822ec4a]495 #: ../i2prouter:1807
[bfea3e4]496-msgid "Please edit i2prouter and set the variable RUN_AS_USER"
497-msgstr "Veuillez éditer i2prouter et paramétrer la variable RUN_AS_USER"
498+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
499+msgstr "Veuillez éditer /etc/default/i2p et paramétrer la variable RUN_AS_USER"
500 
[822ec4a]501 #: ../i2prouter:1812
[bfea3e4]502 msgid "Running I2P as the root user is *not* recommended."
[53b0f7b]503@@ -199,7 +199,7 @@
504 "Faire fonctionner I2P en tant qu'utilisateur root n'est *pas* recommandé."
[bfea3e4]505 
[822ec4a]506 #: ../i2prouter:1815
[bfea3e4]507-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
508+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
[53b0f7b]509 msgstr ""
510-"Pour exécuter en tant que root de toute façon, éditer i2prouter et mettre "
511+"Pour exécuter en tant que root de toute façon, éditer /etc/default/i2p et mettre "
512 "ALLOW_ROOT=true."
[bfea3e4]513--- a/installer/resources/locale/po/messages_ru.po
514+++ b/installer/resources/locale/po/messages_ru.po
[cbd2494]515@@ -190,16 +190,16 @@
[bfea3e4]516 msgstr "Запросить дамп нитей Java, если запущено."
517 
[cbd2494]518 #: ../i2prouter:1803
[bfea3e4]519-msgid "Please edit i2prouter and set the variable RUN_AS_USER"
520+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
[cbd2494]521 msgstr ""
522-"Пожалуйста отредактируйте i2prouter и установите переменную RUN_AS_USER"
523+"Пожалуйста отредактируйте /etc/default/i2p и установите переменную RUN_AS_USER"
[bfea3e4]524 
[cbd2494]525 #: ../i2prouter:1808
[bfea3e4]526 msgid "Running I2P as the root user is *not* recommended."
527 msgstr "Запуск I2P от имени root НЕ рекомендовано."
528 
[cbd2494]529 #: ../i2prouter:1811
[bfea3e4]530-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
531+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
[cbd2494]532 msgstr ""
533-"Чтобы всё равно запустить из-под root, отредактируйте i2prouter и установите "
534+"Чтобы всё равно запустить из-под root, отредактируйте /etc/default/i2p и установите "
535 "ALLOW_ROOT=true."
[bfea3e4]536--- a/installer/resources/locale/po/messages_sv.po
537+++ b/installer/resources/locale/po/messages_sv.po
[cbd2494]538@@ -187,14 +187,14 @@
[bfea3e4]539 msgstr "Fråga efter en Java thread dump vid drift."
540 
[822ec4a]541 #: ../i2prouter:1807
[bfea3e4]542-msgid "Please edit i2prouter and set the variable RUN_AS_USER"
543-msgstr "Var god ändra i2prouter och set variabeln RUN_AS_USER"
544+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
545+msgstr "Var god ändra /etc/default/i2p och set variabeln RUN_AS_USER"
546 
[822ec4a]547 #: ../i2prouter:1812
[bfea3e4]548 msgid "Running I2P as the root user is *not* recommended."
549 msgstr "Att köra I2P som användare root är *inte* rekommenderat."
550 
[822ec4a]551 #: ../i2prouter:1815
[bfea3e4]552-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
553+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
[cbd2494]554 msgstr ""
555-"För att köra som root oavsett, ändra i2prouter och sätt ALLOW_ROOT=true"
556+"För att köra som root oavsett, ändra /etc/default/i2p och sätt ALLOW_ROOT=true"
[244209d]557--- a/installer/resources/locale/po/messages_ro.po
558+++ b/installer/resources/locale/po/messages_ro.po
559@@ -187,15 +187,15 @@
560 msgstr "Solicitarea dump-ului firului Java daca este pornit"
561 
562 #: ../i2prouter:1807
563-msgid "Please edit i2prouter and set the variable RUN_AS_USER"
564-msgstr "Vă rugăm să editați i2prouter și setați variabila RUN_AS_USER "
565+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
566+msgstr "Vă rugăm să editați /etc/default/i2p și setați variabila RUN_AS_USER "
567 
568 #: ../i2prouter:1812
569 msgid "Running I2P as the root user is *not* recommended."
570 msgstr "Rularea I2P ca root *nu* este recomandată."
571 
572 #: ../i2prouter:1815
573-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
574+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
575 msgstr ""
576-"Pentru a rula ca root, oricum, editati i2prouter  și setați ALLOW_ROOT = "
577+"Pentru a rula ca root, oricum, editati /etc/default/i2p și setați ALLOW_ROOT = "
578 "true."
Note: See TracBrowser for help on using the repository browser.