[DebianGIS-dev] Bug#497559: josm: honor $http_proxy
Hi, On Sep 02 10:15, dann frazier wrote: The jre provided by openjdk-6-jre (and possibly others) doesn't honor the http_proxy environment variable. When I'm behind a proxy, that means I need to type something like this: /usr/lib/jvm/java-6-openjdk/bin/java -Dhttp.proxyHost=192.168.1.1 -Dhttp.proxyPort=3128 -jar /usr/share/josm/josm.jar It would be nice if the /usr/bin/josm script detected an http_proxy environment variable and automatically added the necessary arguments to the java command line for me. I don't think this is something we should fix in the josm wrapper script because this problem affects every java application that somehow tries to access the network. But openjdk-6 allows to define system-wide proxy settings in /etc/java6-openjdk/net.properties. There's also a property java.net.useSystemProxies which i was told works with the gnome proxy settings but unfortunately not with $http_proxy. We can probably improve the josm wrapper to use the environment variable $JAVA_OPTS to customize the behaviour of the jvm, like defining proxy or memory settings. Regards, Andreas ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#497559: josm: honor $http_proxy
On Wed, Sep 10, 2008 at 08:53:09PM +0200, Andreas Putzo wrote: Hi, On Sep 02 10:15, dann frazier wrote: The jre provided by openjdk-6-jre (and possibly others) doesn't honor the http_proxy environment variable. When I'm behind a proxy, that means I need to type something like this: /usr/lib/jvm/java-6-openjdk/bin/java -Dhttp.proxyHost=192.168.1.1 -Dhttp.proxyPort=3128 -jar /usr/share/josm/josm.jar It would be nice if the /usr/bin/josm script detected an http_proxy environment variable and automatically added the necessary arguments to the java command line for me. I don't think this is something we should fix in the josm wrapper script because this problem affects every java application that somehow tries to access the network. But openjdk-6 allows to define system-wide proxy settings in /etc/java6-openjdk/net.properties. There's also a property java.net.useSystemProxies which i was told works with the gnome proxy settings but unfortunately not with $http_proxy. We can probably improve the josm wrapper to use the environment variable $JAVA_OPTS to customize the behaviour of the jvm, like defining proxy or memory settings. Ah, that makes sense. Thanks for the suggestions! -- dann frazier ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] r1768 - packages/debian-gis/hooks
Author: nd-guest Date: 2008-09-10 20:34:20 + (Wed, 10 Sep 2008) New Revision: 1768 Modified: packages/debian-gis/hooks/10-default packages/debian-gis/hooks/20-osm Log: always return true in hook scripts Modified: packages/debian-gis/hooks/10-default === --- packages/debian-gis/hooks/10-default2008-09-10 20:31:28 UTC (rev 1767) +++ packages/debian-gis/hooks/10-default2008-09-10 20:34:20 UTC (rev 1768) @@ -7,4 +7,6 @@ aptitude remove --purge $(deborphan) # run updatedb -updatedb +updatedb + +exit 0 Modified: packages/debian-gis/hooks/20-osm === --- packages/debian-gis/hooks/20-osm2008-09-10 20:31:28 UTC (rev 1767) +++ packages/debian-gis/hooks/20-osm2008-09-10 20:34:20 UTC (rev 1768) @@ -7,23 +7,22 @@ if [ ! -f $planet ]; then echo No planet file found! -exit 1 +exit 0 fi if [ ! -x /usr/bin/osm2pgsql ]; then echo osm2pgsql not installed! -exit 1 +exit 0 fi -/etc/init.d/postgresql-8.2 start +/etc/init.d/postgresql-8.3 start sudo -u postgres createuser -Upostgres -S -D -R gis sudo -u postgres createdb -Upostgres -EUNICODE gis echo GRANT ALL ON SCHEMA PUBLIC TO gis | sudo -u postgres psql -Upostgres gis sudo -u postgres createlang -Upostgres plpgsql gis -sudo -u postgres psql gis /usr/share/postgresql-8.2-postgis/lwpostgis.sql +sudo -u postgres psql gis /usr/share/postgresql-8.3-postgis/lwpostgis.sql echo GRANT ALL ON geometry_columns TO gis | sudo -u postgres psql -Upostgres gis echo GRANT ALL ON spatial_ref_sys TO gis | sudo -u postgres psql -Upostgres gis sudo -u postgres /usr/bin/osm2pgsql $planet -/etc/init.d/postgresql-8.2 stop +/etc/init.d/postgresql-8.3 stop rm -f $planet - - +exit 0 ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] r1769 - packages/debian-gis/packages
Author: nd-guest Date: 2008-09-10 20:37:58 + (Wed, 10 Sep 2008) New Revision: 1769 Removed: packages/debian-gis/packages/kde Modified: packages/debian-gis/packages/base packages/debian-gis/packages/debian-gis Log: update packages-lists Modified: packages/debian-gis/packages/base === --- packages/debian-gis/packages/base 2008-09-10 20:34:20 UTC (rev 1768) +++ packages/debian-gis/packages/base 2008-09-10 20:37:58 UTC (rev 1769) @@ -13,3 +13,4 @@ bzr-tools sl openssh-client +locate Modified: packages/debian-gis/packages/debian-gis === --- packages/debian-gis/packages/debian-gis 2008-09-10 20:34:20 UTC (rev 1768) +++ packages/debian-gis/packages/debian-gis 2008-09-10 20:37:58 UTC (rev 1769) @@ -24,7 +24,7 @@ php5-mapscript phppgadmin postgis -postgresql-8.2-postgis +postgresql-8.3-postgis proj python-mapnik qgis Deleted: packages/debian-gis/packages/kde === --- packages/debian-gis/packages/kde2008-09-10 20:34:20 UTC (rev 1768) +++ packages/debian-gis/packages/kde2008-09-10 20:37:58 UTC (rev 1769) @@ -1,6 +0,0 @@ -xorg -xserver-xorg -kde-core -kdm -menu -menu-xdg ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] r1770 - packages/debian-gis
Author: nd-guest Date: 2008-09-10 21:19:05 + (Wed, 10 Sep 2008) New Revision: 1770 Modified: packages/debian-gis/build-gis-live Log: remove --keyring-packages from lh_config because this fails with aptitude. do the other things right. Modified: packages/debian-gis/build-gis-live === --- packages/debian-gis/build-gis-live 2008-09-10 20:37:58 UTC (rev 1769) +++ packages/debian-gis/build-gis-live 2008-09-10 21:19:05 UTC (rev 1770) @@ -39,7 +39,7 @@ # CD boot image #splashpng=foo.png -LH_PACKAGES_LISTS=kde debian-gis +export LH_PACKAGES_LISTS=kde debian-gis base base2 # helper functions msg_info() { @@ -97,11 +97,10 @@ fi # configure live-helper -LH_BOOTAPPEND_LIVE=quiet splash +export LH_BOOTAPPEND_LIVE=quiet splash if /usr/bin/lh_config \ --apt aptitude \ --bootappend quiet splash \ ---keyring-packages debian-archive-keyring \ --mirror-bootstrap $mirror \ --mirror-binary $mirror \ --distribution $dist \ @@ -113,6 +112,8 @@ --username $live_username \ --hostname $live_hostname \ --verbose + +#--keyring-packages debian-archive-keyring \ then msg_info generating configuration succeeded else ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#498547: mapserver: MapServer new release
Package: mapserver Severity: wishlist The MapServer debian package version 5.0.3-3 could be updated to version 5.2.0 for be up to date. Here the patch for building the MapServer package for sid. Let me know if i need to attach other files. I didn't attach them because i suppose that you need to test the patch from scratch. If there is something i misunderstood in the how build a debian package process, please contact me and i will be happy to fix the errors (Hopefully there isn't). -- System Information: Debian Release: lenny/sid APT prefers hardy-updates APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy-backports'), (500, 'hardy') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-18-generic (SMP w/1 CPU core) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#498547: Bug#498547: mapserver: MapServer new release
Alan Boudreault wrote: Package: mapserver Severity: wishlist The MapServer debian package version 5.0.3-3 could be updated to version 5.2.0 for be up to date. Here the patch for building the MapServer package for sid. Let me know if i need to attach other files. I didn't attach them because i suppose that you need to test the patch from scratch. If there is something i misunderstood in the how build a debian package process, please contact me and i will be happy to fix the errors (Hopefully there isn't). -- System Information: Debian Release: lenny/sid APT prefers hardy-updates APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy-backports'), (500, 'hardy') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-18-generic (SMP w/1 CPU core) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel Here is the attachment. -- Alan Boudreault Mapgears http://www.mapgears.com Index: debian/control === --- debian/control (revision 1766) +++ debian/control (working copy) @@ -2,14 +2,14 @@ Section: devel Priority: optional Maintainer: Debian GIS Project pkg-grass-devel@lists.alioth.debian.org -Uploaders: Petter Reinholdtsen [EMAIL PROTECTED], Paul Wise [EMAIL PROTECTED], Fabio Tranchitella [EMAIL PROTECTED], Francesco Paolo Lovergine [EMAIL PROTECTED], Andreas Putzo [EMAIL PROTECTED] +Uploaders: Petter Reinholdtsen [EMAIL PROTECTED], Paul Wise [EMAIL PROTECTED], Fabio Tranchitella [EMAIL PROTECTED], Francesco Paolo Lovergine [EMAIL PROTECTED], Andreas Putzo [EMAIL PROTECTED], Alan Boudreault [EMAIL PROTECTED] Standards-Version: 3.7.3 Build-Depends: debhelper (= 5.0.37.2), dpatch, libcurl4-gnutls-dev, libpng12-dev, zlib1g-dev (= 1.1.4), libgd2-xpm-dev (= 2.0.1-10), libfreetype6-dev (= 2.0.9), libjpeg62-dev, libgdal1-dev (=1.4.0), proj, libpq-dev, php5-dev, swig, python-all, python-all-dev, python-central (= 0.5), libgeos-dev (= 2.2.3-2), ruby1.8, ruby1.8-dev, ruby1.9, ruby1.9-dev, sharutils, libsdl1.2-dev, libfreetype6-dev, libx11-dev, - libfcgi-dev + libfcgi-dev, libxml2, libxml2-dev Build-Depends-Indep: python-docutils Build-Conflicts: libcurl3-openssl-dev XS-Python-Version: all Index: debian/patches/80_gdal_lib.dpatch === --- debian/patches/80_gdal_lib.dpatch (revision 1766) +++ debian/patches/80_gdal_lib.dpatch (working copy) @@ -1,19 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 80_gdal_lib.dpatch by Francesco Paolo Lovergine [EMAIL PROTECTED] -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: No description. - [EMAIL PROTECTED]@ -diff -urNad mapserver-4.10.1~/configure mapserver-4.10.1/configure mapserver-4.10.1~/configure 2007-01-10 23:51:58.0 +0100 -+++ mapserver-4.10.1/configure 2007-04-26 16:22:59.0 +0200 -@@ -9029,7 +9029,7 @@ - - if test -n $GDAL_ENABLED -o $OGR_ENABLED; then - -- GDAL_LIB=`$GDAL_CONFIG --libs`' '`$GDAL_CONFIG --dep-libs` -+ GDAL_LIB=`$GDAL_CONFIG --libs` - GDAL_INC=`$GDAL_CONFIG --cflags` - - fi Index: debian/patches/50_clean.dpatch === --- debian/patches/50_clean.dpatch (revision 1766) +++ debian/patches/50_clean.dpatch (working copy) @@ -1,22 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 50_clean.dpatch by Petter Reinholdtsen [EMAIL PROTECTED] -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Make sure 'make distclean' complete the job even if config.* is -## DP: missing. Remove generated makefiles as well. - - [EMAIL PROTECTED]@ -diff -urNad mapserver.orig/Makefile.in mapserver/Makefile.in mapserver.orig/Makefile.in 2005-07-29 16:13:03.0 +0200 -+++ mapserver/Makefile.in 2005-07-29 20:11:45.357687219 +0200 -@@ -342,7 +342,8 @@ - - distclean: - $(MAKE) clean -- rm config.* -+ $(RM) Makefile mapscript/java/Makefile -+ $(RM) config.log config.status - if test -d autom4te.cache ; then \ - rm -f -r autom4te.cache ; \ - fi Index: debian/patches/00list === --- debian/patches/00list (revision 1766) +++ debian/patches/00list (working copy) @@ -1,3 +0,0 @@ -50_clean -70_ptrreturn -80_gdal_lib Index: debian/patches/70_ptrreturn.dpatch === --- debian/patches/70_ptrreturn.dpatch (revision 1766) +++ debian/patches/70_ptrreturn.dpatch (working copy) @@ -1,19 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 70_ptrreturn.dpatch by Dann Frazier -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Make sure the strptime() return value have the correct type.