[Pkg-javascript-commits] [SCM] high-level HTTP client for NodeJS branch, master, updated. debian/1.1.5+ds1-1-2-g0b83154

Andrew Harvey andrew.harvey4 at gmail.com
Mon Aug 27 12:35:31 UTC 2012


The following commit has been merged in the master branch:
commit 0b831542eb5f704f64c3bca6e35a20e69591a321
Author: Andrew Harvey <andrew.harvey4 at gmail.com>
Date:   Mon Aug 27 22:33:29 2012 +1000

    add patch to use system path within example script

diff --git a/debian/changelog b/debian/changelog
index 29dbe6d..a0d963f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ node-get (1.1.5+ds1-2) UNRELEASED; urgency=low
 
   * Non-maintainer upload
   * Add new patch to use nodejs binary as per CTTE #614907
+  * Add new patch to use system path within example script
 
  -- Andrew Harvey <andrew.harvey4 at gmail.com>  Mon, 27 Aug 2012 21:44:40 +1000
 
diff --git a/debian/patches/02-use-system-path-for-example.patch b/debian/patches/02-use-system-path-for-example.patch
new file mode 100644
index 0000000..f215ac6
--- /dev/null
+++ b/debian/patches/02-use-system-path-for-example.patch
@@ -0,0 +1,19 @@
+Description: Use system path for node-get library
+ The relative path which is used in the source package won't work when
+ this package is installed. This patch uses the full system path
+ instead.
+Origin: vendor
+Forwarded: not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- node-get.orig/bin/node-get-file.js
++++ node-get/bin/node-get-file.js
+@@ -3,7 +3,7 @@
+ var path = require('path'),
+     url = require('url'),
+     util = require('util'),
+-    get = require('../lib/node-get/index.js');
++    get = require('/usr/lib/nodejs/get/index.js');
+ 
+ var usage = 'usage:\n' +
+     '\ndownload to a file:' +
diff --git a/debian/patches/series b/debian/patches/series
index 6cc8370..cf15036 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-use-nodejs-binary-per-ctte-614907.patch
+02-use-system-path-for-example.patch

-- 
high-level HTTP client for NodeJS



More information about the Pkg-javascript-commits mailing list