Package: gpsprune
Version: 13.4-1
Severity: normal

Dear maintainer,

Current version works fine for me. But I've prepared a patch for
gpsprune (versioned as 13.4-1.1). This fixes the issue reported
by deb...@activityworkshop.net, parsing the http_proxy variable
correctly.

Regards.
diff -Nru gpsprune-13.4/debian/changelog gpsprune-13.4/debian/changelog
--- gpsprune-13.4/debian/changelog	2012-06-17 21:47:04.000000000 +0200
+++ gpsprune-13.4/debian/changelog	2013-04-14 20:51:59.000000000 +0200
@@ -1,3 +1,11 @@
+gpsprune (13.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/scripts/gpsprune: fix sed commands, when there is no host/port,
+    proxyhost/proxyport variables must be empty
+
+ -- Simó Albert i Beltran <s...@probeta.net>  Sun, 14 Apr 2013 20:47:34 +0200
+
 gpsprune (13.4-1) unstable; urgency=low
 
   * New upstream version
diff -Nru gpsprune-13.4/debian/scripts/gpsprune gpsprune-13.4/debian/scripts/gpsprune
--- gpsprune-13.4/debian/scripts/gpsprune	2011-06-16 23:41:06.000000000 +0200
+++ gpsprune-13.4/debian/scripts/gpsprune	2013-04-14 20:16:39.000000000 +0200
@@ -2,8 +2,8 @@
 PRUNEJAR=/usr/share/gpsprune/gpsprune.jar
 JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
 
-proxyhost=$(echo $http_proxy | sed 's?http://\([^:]\+\).*?\1?')
-proxyport=$(echo $http_proxy | sed 's?http://[^:]\+:\([0-9]\+\)?\1?')
+proxyhost=$(echo $http_proxy | sed -n 's?http://\([^:]\+\).*?\1?p')
+proxyport=$(echo $http_proxy | sed -n 's?http://[^:]\+:\([0-9]\+\)?\1?p')
 
 if [ -z $proxyport ] ; then
     if [ -z $proxyhost ] ; then

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to