r10671 - in packages/trunk/freecol/debian: . wrapper

Vincent Fourmond fourmond at alioth.debian.org
Thu Jan 7 21:56:36 UTC 2010


Author: fourmond
Date: 2010-01-07 21:56:36 +0000 (Thu, 07 Jan 2010)
New Revision: 10671

Modified:
   packages/trunk/freecol/debian/NEWS
   packages/trunk/freecol/debian/changelog
   packages/trunk/freecol/debian/control
   packages/trunk/freecol/debian/wrapper/freecol
Log:
[freecol] Fix the problem with local games, at the cost of a potential discomfort for people playing over IPV6

Modified: packages/trunk/freecol/debian/NEWS
===================================================================
--- packages/trunk/freecol/debian/NEWS	2010-01-07 17:21:05 UTC (rev 10670)
+++ packages/trunk/freecol/debian/NEWS	2010-01-07 21:56:36 UTC (rev 10671)
@@ -1,3 +1,12 @@
+freecol (0.8.4+dfsg-1) unstable; urgency=low
+
+  To work around bug #560056 on openjdk, IPV6 network stack is now
+  disabled by default. If you experience problems connecting to remote
+  servers, you can try enabling it back by passing --enable-ipv6 as 
+  first argument to freecol.
+
+ -- Vincent Fourmond <fourmond at debian.org>  Thu, 07 Jan 2010 22:44:32 +0100
+
 freecol (0.8.1.dfsg-1) unstable; urgency=low
 
   Saved games from version before 0.8 WILL NOT WORK with this version. 

Modified: packages/trunk/freecol/debian/changelog
===================================================================
--- packages/trunk/freecol/debian/changelog	2010-01-07 17:21:05 UTC (rev 10670)
+++ packages/trunk/freecol/debian/changelog	2010-01-07 21:56:36 UTC (rev 10671)
@@ -1,3 +1,12 @@
+freecol (0.8.4+dfsg-2) unstable; urgency=low
+
+  * Disable IPV6 networking stack by default to work around Java bug
+  (see #560056) (closes: #562133)
+  * Already conforms to standards 3.8.3
+  * Update build-deps to reflect changes in TeXLive
+
+ -- Vincent Fourmond <fourmond at debian.org>  Thu, 07 Jan 2010 22:53:26 +0100
+
 freecol (0.8.4+dfsg-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/trunk/freecol/debian/control
===================================================================
--- packages/trunk/freecol/debian/control	2010-01-07 17:21:05 UTC (rev 10670)
+++ packages/trunk/freecol/debian/control	2010-01-07 21:56:36 UTC (rev 10671)
@@ -6,8 +6,9 @@
 Build-Depends: debhelper (>= 5), dpatch, 
  ant, openjdk-6-jdk, cdbs
 Build-Depends-Indep: libhiglayout-java, libwoodstox-java,
-  tex4ht, texlive-base-bin, ant-optional, texlive-latex-recommended
-Standards-Version: 3.8.2
+ tex4ht, texlive-binaries | texlive-base-bin, ant-optional,
+ texlive-latex-recommended
+Standards-Version: 3.8.3
 Homepage: http://www.freecol.org
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/freecol
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-games/packages/trunk/freecol

Modified: packages/trunk/freecol/debian/wrapper/freecol
===================================================================
--- packages/trunk/freecol/debian/wrapper/freecol	2010-01-07 17:21:05 UTC (rev 10670)
+++ packages/trunk/freecol/debian/wrapper/freecol	2010-01-07 21:56:36 UTC (rev 10671)
@@ -14,5 +14,15 @@
     lang_argument="--default-locale=$LC_MESSAGES"
 fi
 
-run_java -Xmx180M net.sf.freecol.FreeCol --freecol-data \
+if [ "$1" = "--enable-ipv6" ]; then
+    shift;
+else
+    echo "Disabling IPV6 network stack to work around bug #560056 on openjdk"
+    echo "If you experience problems with connecting to remote servers, "
+    echo "you can put it back by running Freecol this way:"
+    echo "  freecol --enable-ipv6" "$@"
+    disablenet="-Djava.net.preferIPv4Stack=true"
+fi
+
+run_java $disablenet -Xmx180M net.sf.freecol.FreeCol --freecol-data \
     /usr/share/games/freecol $lang_argument "$@"




More information about the Pkg-games-commits mailing list