debian/0000755000000000000000000000000012203001521007150 5ustar debian/copyright_hints0000644000000000000000000000620612203001127012316 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: README.md debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/install debian/patches/1001_lazy_load_modules.patch debian/patches/series debian/source/format debian/watch package.json tests/run.js tests/server.js tests/squid.conf tests/ssl/ca/ca.cnf tests/ssl/ca/ca.crt tests/ssl/ca/ca.csr tests/ssl/ca/ca.key tests/ssl/ca/ca.srl tests/ssl/ca/server.cnf tests/ssl/ca/server.crt tests/ssl/ca/server.csr tests/ssl/ca/server.js tests/ssl/ca/server.key tests/ssl/npm-ca.crt tests/ssl/test.crt tests/ssl/test.key tests/test-agentOptions.js tests/test-basic-auth.js tests/test-body.js tests/test-defaults.js tests/test-digest-auth.js tests/test-emptyBody.js tests/test-errors.js tests/test-follow-all-303.js tests/test-follow-all.js tests/test-form.js tests/test-hawk.js tests/test-headers.js tests/test-http-signature.js tests/test-httpModule.js tests/test-https-strict.js tests/test-https.js tests/test-isUrl.js tests/test-localAddress.js tests/test-oauth.js tests/test-onelineproxy.js tests/test-params.js tests/test-piped-redirect.js tests/test-pipes.js tests/test-pool.js tests/test-protocol-changing-redirect.js tests/test-proxy.js tests/test-qs.js tests/test-redirect.js tests/test-s3.js tests/test-timeout.js tests/test-toJSON.js Copyright: *No copyright* License: UNKNOWN FIXME Files: index.js Copyright: 2010-2012, Mikeal Rogers License: Apache-2.0 FIXME Files: debian/rules Copyright: 2013, Jonas Smedegaard License: GPL-3+ FIXME Files: tests/test-tunnel.js Copyright: License: UNKNOWN FIXME Files: LICENSE Copyright: License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form owner or by an individual or Legal Entity authorized to submit on behalf of the owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the owner as "Not a Contribution." owner or entity authorized by the owner that is granting the License statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License License: UNKNOWN FIXME debian/patches/0000755000000000000000000000000012202772060010613 5ustar debian/patches/1001_lazy_load_modules.patch0000644000000000000000000000231712202772060016006 0ustar Description: lazy load auth modules - they can be optional Forwarded: https://github.com/mikeal/request/pull/628 Author: Jérémy Lal Last-Update: 2013-08-14 --- a/index.js +++ b/index.js @@ -22,10 +22,10 @@ , querystring = require('querystring') , crypto = require('crypto') - , oauth = require('oauth-sign') - , hawk = require('hawk') - , aws = require('aws-sign') - , httpSignature = require('http-signature') + , oauth // lazy load + , hawk // lazy load + , aws // lazy load + , httpSignature // lazy load , uuid = require('node-uuid') , mime = require('mime') , tunnel = require('tunnel-agent') @@ -287,18 +287,22 @@ // Auth must happen last in case signing is dependent on other headers if (options.oauth) { + if (!oauth) oauth = require('oauth-sign'); self.oauth(options.oauth) } if (options.aws) { + if (!aws) aws = require('aws-sign'); self.aws(options.aws) } if (options.hawk) { + if (!hawk) hawk = require('hawk'); self.hawk(options.hawk) } if (options.httpSignature) { + if (!httpSignature) httpSignature = require('http-signature'); self.httpSignature(options.httpSignature) } debian/patches/series0000644000000000000000000000003512202767450012035 0ustar 1001_lazy_load_modules.patch debian/control.in0000644000000000000000000000212612202770700011174 0ustar Source: node-request Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: Jérémy Lal , Jonas Smedegaard Build-Depends: @cdbs@ Standards-Version: 3.9.4 Homepage: https://github.com/mikeal/request Vcs-Git: git://anonscm.debian.org/collab-maint/node-request.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/node-request.git Package: node-request Architecture: all Depends: ${misc:Depends}, ${cdbs:Depends}, nodejs, node-form-data, node-node-uuid, node-mime, node-forever-agent, node-tunnel-agent, node-json-stringify-safe, node-qs, node-cookie-jar Suggests: node-hawk, node-aws-sign, node-oauth-sign, node-http-signature Description: simplified HTTP request client module for Node.js node-request is an HTTP client with a simple API and a lot of features: * streaming response * multipart form upload * HTTP auth * OAuth signing * Proxy Some features are available as suggested Node.js modules. . Node.js is an event-based server-side javascript engine. debian/README.source0000644000000000000000000000056312202755745011362 0ustar CDBS+git-buildpackage --------------------- This source package uses CDBS and git-buildpackage. NMUs need not (but are encouraged to) make special use of these tools. In particular, the debian/control.in file can be completely ignored. More info here: http://wiki.debian.org/CDBS+git-buildpackage -- Jonas Smedegaard Mon, 18 Feb 2013 12:55:37 +0100 debian/watch0000644000000000000000000000023112202755745010224 0ustar version=3 opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-request-$1.tar.gz/ \ https://github.com/mikeal/request/tags .*/archive/v?([\d\.]+).tar.gz debian/control0000644000000000000000000000217412202770654010602 0ustar Source: node-request Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: Jérémy Lal , Jonas Smedegaard Build-Depends: cdbs, devscripts, debhelper, dh-buildinfo Standards-Version: 3.9.4 Homepage: https://github.com/mikeal/request Vcs-Git: git://anonscm.debian.org/collab-maint/node-request.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/node-request.git Package: node-request Architecture: all Depends: ${misc:Depends}, ${cdbs:Depends}, nodejs, node-form-data, node-node-uuid, node-mime, node-forever-agent, node-tunnel-agent, node-json-stringify-safe, node-qs, node-cookie-jar Suggests: node-hawk, node-aws-sign, node-oauth-sign, node-http-signature Description: simplified HTTP request client module for Node.js node-request is an HTTP client with a simple API and a lot of features: * streaming response * multipart form upload * HTTP auth * OAuth signing * Proxy Some features are available as suggested Node.js modules. . Node.js is an event-based server-side javascript engine. debian/gbp.conf0000644000000000000000000000021512202755745010614 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True [git-import-orig] filter = .gitignore debian/copyright0000644000000000000000000000347412202755745011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: request Upstream-Contact: https://github.com/mikeal/request/issues Source: https://github.com/mikeal/request Files: * Copyright: 2010-2013 Mikeal Rogers License: Apache-2.0 Files: debian/* Copyright: 2011-2012, David Paleino 2013, Jonas Smedegaard License: GPL-3+ License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . Comment: . On Debian systems the 'Apache' license version 2.0 is located in '/usr/share/common-licenses/Apache-2.0'. License: GPL-3+ This program 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 3, or (at your option) any later version. . This program 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. . Comment: . On Debian systems the 'GNU General Public License' version 3 is located in '/usr/share/common-licenses/GPL-3'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/install0000644000000000000000000000004112202755745010563 0ustar index.js usr/lib/nodejs/request/ debian/source/0000755000000000000000000000000012202755745010477 5ustar debian/source/format0000644000000000000000000000001412202755745011705 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212202755745010375 0ustar 8 debian/rules0000755000000000000000000000255012202767165010260 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2013 Jonas Smedegaard # Description: Main Debian packaging script for Request # # This program 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 3, or (at your option) # any later version. # # This program 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 . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_UPSTREAM_URL = https://github.com/mikeal/request/archive # FIXME: when tagged upstream change to v$(DEB_UPSTREAM_TARBALL_VERSION) DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION) # suppress checking binary files, to not upset dpkg-source DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^tests/.*\.jpg|debian/(changelog|copyright(|_hints|_newhints))$ binary-post-install/node-request:: chmod 644 debian/node-request/usr/lib/nodejs/request/index.js debian/changelog0000644000000000000000000000301112203001521011015 0ustar node-request (2.26.1-1) unstable; urgency=low * Upstream update. * control: + canonicalize Vcs fields + upstream has split request in several submodules, depend on them + auth modules should be optional, suggest them. + Standards-Version bumped to 3.9.4, no changes needed * copyright: + rename MIT license to Expat license + add Upstream-Contact field * 1001 patch : lazy load auth modules, forwarded upstream [ Jonas Smedegaard ] * Repackage using CDBS. -- Jérémy Lal Thu, 15 Aug 2013 00:23:10 +0200 node-request (2.9.153-1) unstable; urgency=low [ Jérémy Lal ] * New upstream version [ David Paleino ] * Standards-Version bumped to 3.9.3, no changes needed * Updated debian/copyright * Added Jérémy to Uploaders -- David Paleino Sat, 17 Mar 2012 23:23:44 +0100 node-request (2.9.3-1) unstable; urgency=low * New upstream version -- David Paleino Sat, 31 Dec 2011 12:23:35 +0100 node-request (2.2.5-2) unstable; urgency=low * Install missing vendor/ directory, and update copyright to include it. -- David Paleino Wed, 23 Nov 2011 20:16:38 +0100 node-request (2.2.5-1) unstable; urgency=low * New upstream release * Also install oauth.js and uuid.js -- David Paleino Thu, 17 Nov 2011 17:13:38 +0100 node-request (2.1.1-1) unstable; urgency=low * Initial release (Closes: #645520) -- David Paleino Sun, 16 Oct 2011 18:02:08 +0200