debian/0000755000000000000000000000000012026565156007176 5ustar debian/install0000644000000000000000000000004312026565156010564 0ustar lib/node-get/* usr/lib/nodejs/get/ debian/rules0000755000000000000000000000147312026565156010263 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 ifndef UPVER UPVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\ -f2 | cut -d- -f1 | cut -d+ -f1) endif %: dh $@ override_dh_install: dh_install dh_buildinfo override_dh_auto_build: override_dh_auto_test: # do nothing override_dh_installchangelogs: dh_installchangelogs -- CHANGELOG.md get-orig-source: uscan \ --verbose \ --force-download \ --download-version $(UPVER) \ --destdir . \ --rename tar xvf node-get_$(UPVER).orig.tar.gz # remove embedded third-party modules rm -rf package/modules/ # remove unused big test data rm -rf package/test_data/ tar cf node-get_$(UPVER)+ds1.orig.tar package/ gzip -9 node-get_$(UPVER)+ds1.orig.tar rm -rf package/ node-get_$(UPVER).orig.tar.gz debian/docs0000644000000000000000000000001212026565156010042 0ustar README.md debian/watch0000644000000000000000000000022112026565156010222 0ustar version=3 opts=dversionmangle=s/\+ds\d// \ https://alioth.debian.org/~dapal/npmjs.php?id=get \ http://registry.npmjs.org/get/-/get-(\d+.*)\.tgz debian/control0000644000000000000000000000116412026565156010603 0ustar Source: node-get Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: David Paleino Build-Depends: debhelper (>= 8~) , dh-buildinfo Standards-Version: 3.9.4 Homepage: http://search.npmjs.org/#/get Vcs-Git: git://git.debian.org/collab-maint/node-get.git Vcs-Browser: http://git.debian.org/?p=collab-maint/node-get.git;a=summary Package: node-get Architecture: all Depends: ${misc:Depends} , nodejs (>= 0.6.19~dfsg1-3) Description: high-level HTTP client for NodeJS node-get is a high-level HTTP client for the NodeJS framework. debian/changelog0000644000000000000000000000203312026565156011046 0ustar node-get (1.1.5+ds1-2) unstable; urgency=low [ Andrew Harvey ] * Add new patch to use nodejs binary as per CTTE #614907 (Closes: #686898) * Add new patch to use system path within example script [ David Paleino ] * Standards-Version bump to 3.9.4, no changes needed -- David Paleino Thu, 20 Sep 2012 12:05:27 +0200 node-get (1.1.5+ds1-1) unstable; urgency=low * New upstream version -- David Paleino Sun, 08 Apr 2012 22:17:17 +0200 node-get (1.1.4+ds1-1) unstable; urgency=low * New upstream version * Standards-Version bump to 3.9.3, no changes needed * Update debian/copyright -- David Paleino Thu, 22 Mar 2012 21:40:34 +0100 node-get (1.1.2+ds1-1) unstable; urgency=low * New upstream version * Fixed debian/watch to mangle Debian version -- David Paleino Sat, 31 Dec 2011 11:55:38 +0100 node-get (1.1.0+ds1-1) unstable; urgency=low * Initial release -- David Paleino Fri, 28 Oct 2011 00:01:36 +0200 debian/copyright0000644000000000000000000000473712026565156011144 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Files: * Copyright: ©, Development Seed License: BSD-3 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name "Development Seed" nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Comment: https://github.com/tmcw/node-get/commit/3a6a110ea8d1bc914dd3b35ebe407177e990761d Files: debian/* Copyright: © 2011-2012, David Paleino License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/examples0000644000000000000000000000002512026565156010734 0ustar bin/node-get-file.js debian/source/0000755000000000000000000000000012026565156010476 5ustar debian/source/format0000644000000000000000000000001412026565156011704 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012026565156010625 5ustar debian/patches/01-use-nodejs-binary-per-ctte-614907.patch0000644000000000000000000000056112026565156017715 0ustar Description: fix script to use nodejs binary in #! as per CTTE #614907 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 @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env nodejs var path = require('path'), url = require('url'), debian/patches/02-use-system-path-for-example.patch0000644000000000000000000000117412026565156017355 0ustar 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:' + debian/patches/series0000644000000000000000000000012012026565156012033 0ustar 01-use-nodejs-binary-per-ctte-614907.patch 02-use-system-path-for-example.patch debian/compat0000644000000000000000000000000212026565156010374 0ustar 8