[DebianGIS-dev] Bug#610006: josm: Please enable respecting system proxy settings

Andreas Tille tille at debian.org
Fri Jan 14 20:11:09 UTC 2011


Package: josm
Version: 0.0.svn3751-2
Severity: wishlist
Tags: patch

Hi,

when trying to set proxy to system settings JOSM says that it is
necessary to call JOSM with  -Djava.net.useSystemProxies=true  option.
If this is not set you can not even choose the system proxy setting from
the menu.  I'd regard it reasonable to at least enable using system
proxy if wanted without restarting JOSM manually.  The following patch
would do the trick:

--- josm.orig       2011-01-01 23:50:15.000000000 +0100
+++ josm        2011-01-13 23:22:34.000000000 +0100
@@ -13,7 +13,7 @@
        JAVA_CMDS="$JAVA_HOME/bin/java /usr/lib/jvm/java-6-sun/bin/java"
 fi
 
-JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
+JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true -Djava.net.useSystemProxies=true"
 
 for jcmd in $JAVA_CMDS; do
        if [ "z$ALTERNATIVE_JDK" = "z`readlink -n -f $jcmd`" ] && [ -z "${JAVACMD}" ]; then


Kind regards and thanks for maintaining JOSM

     Andreas.

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (501, 'testing'), (50, 'unstable'), (5, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages josm depends on:
ii  libgettext-commons-java 0.9.6-2          Java classes for internationalizat
ii  libmetadata-extractor-j 2.3.1+dfsg-2     JPEG metadata extraction framework
ii  liboauth-signpost-java  1.2.1.1-1        simple OAuth message signing for J
ii  openjdk-6-jre           6b18-1.8.3-2     OpenJDK Java runtime, using Hotspo
ii  openstreetmap-map-icons 1:0.0.svn20783-1 Collection of map icons (classic s

Versions of packages josm recommends:
ii  josm-plugins              0.0.svn24925-2 Plugins for JOSM
ii  webkit-image-gtk          0.0.svn24632-1 generate images from webpages - GT

josm suggests no packages.

-- no debconf information





More information about the Pkg-grass-devel mailing list