--- npm-1.1.62.orig/debian/changelog +++ npm-1.1.62/debian/changelog @@ -0,0 +1,150 @@ +npm (1.1.62-1chl1~natty1) natty; urgency=low + + * Update to 1.1.62 + + -- Chris Lea Wed, 26 Sep 2012 00:11:24 +0000 + +npm (1.1.59-1chl1~natty1) natty; urgency=low + + * Update to 1.1.59 + + -- Chris Lea Wed, 22 Aug 2012 19:19:34 +0000 + +npm (1.1.49-2chl1~natty1) natty; urgency=low + + * Bump version so Launchpad will accept it + + -- Chris Lea Fri, 17 Aug 2012 18:25:59 +0000 + +npm (1.1.49-1chl1~natty1) natty; urgency=low + + * Update to 1.1.49 + + -- Chris Lea Thu, 16 Aug 2012 05:18:13 +0000 + +npm (1.1.48-1chl1~natty1) natty; urgency=low + + * Update to 1.1.48 + + -- Chris Lea Tue, 07 Aug 2012 19:33:38 +0000 + +npm (1.1.46-1chl1~natty1) natty; urgency=low + + * Update to 1.1.46 + + -- Chris Lea Thu, 02 Aug 2012 22:02:59 +0000 + +npm (1.1.45-1chl1~natty1) natty; urgency=low + + * Update to 1.1.45 + + -- Chris Lea Thu, 26 Jul 2012 19:28:22 +0000 + +npm (1.1.44-1chl1~natty1) natty; urgency=low + + * Update to 1.1.44 + + -- Chris Lea Thu, 19 Jul 2012 23:36:59 +0000 + +npm (1.1.39-1chl1~natty1) natty; urgency=low + + * Update to 1.1.39 + + -- Chris Lea Thu, 12 Jul 2012 18:23:24 +0000 + +npm (1.1.36-1chl1~natty1) natty; urgency=low + + * Update to 1.1.36 + + -- Chris Lea Mon, 09 Jul 2012 18:53:33 +0000 + +npm (1.1.34-1chl1~natty1) natty; urgency=low + + * Update to 1.1.34 + + -- Chris Lea Fri, 29 Jun 2012 19:20:23 +0000 + +npm (1.1.32-1chl1~natty1) natty; urgency=low + + * Update to 1.1.32 + + -- Chris Lea Wed, 27 Jun 2012 22:20:10 +0000 + +npm (1.1.24-1chl1~natty1) natty; urgency=low + + * Update to 1.1.24 + + -- Chris Lea Mon, 11 Jun 2012 06:36:18 +0000 + +npm (1.1.21-1chl1~natty1) natty; urgency=low + + * Update to 1.1.21 + + -- Chris Lea Fri, 04 May 2012 20:31:57 +0000 + +npm (1.1.19-1chl1~natty1) natty; urgency=low + + * Update to 1.1.19 + + -- Chris Lea Mon, 30 Apr 2012 23:59:24 +0000 + +npm (1.1.18-1chl1~natty1) natty; urgency=low + + * Update to 1.1.18 + + -- Chris Lea Mon, 30 Apr 2012 18:38:32 +0000 + +npm (1.1.16-1chl1~natty1) natty; urgency=low + + * Update to 1.1.16 + + -- Chris Lea Mon, 09 Apr 2012 20:25:24 +0000 + +npm (1.1.14-1chl1~natty1) natty; urgency=low + + * Update to 1.1.14 + + -- Chris Lea Fri, 30 Mar 2012 02:26:35 +0000 + +npm (1.1.4-1chl1~natty1) natty; urgency=low + + * Update to 1.1.4 + + -- Chris Lea Sun, 04 Mar 2012 01:44:57 +0000 + +npm (1.1.2-1chl1~natty1) natty; urgency=low + + * Update to 1.1.2 + + -- Chris Lea Sat, 03 Mar 2012 23:25:49 +0000 + +npm (1.1.0-2~natty1) natty; urgency=low + + * Update to 1.1.0-2 + + -- Chris Lea Sat, 21 Jan 2012 19:50:14 +0000 + +npm (1.0.105-4chl1~natty1) natty; urgency=low + + * Add dependency on nodejs-dev + + -- Chris Lea Fri, 18 Nov 2011 20:15:02 +0000 + +npm (1.0.105-3chl1~natty1) natty; urgency=low + + * Take out the /etc/profile.d script (moving it to nodejs package) + + -- Chris Lea Mon, 14 Nov 2011 02:39:17 +0000 + +npm (1.0.105-2chl1~natty1) natty; urgency=low + + * Put everything in /usr/lib/nodejs to be consistent with other + node libs. + + -- Chris Lea Mon, 14 Nov 2011 02:22:42 +0000 + +npm (1.0.105-1chl1~natty1) natty; urgency=low + + * Package 1.0.105 for natty + + -- Chris Lea Sun, 13 Nov 2011 22:59:26 +0000 --- npm-1.1.62.orig/debian/compat +++ npm-1.1.62/debian/compat @@ -0,0 +1 @@ +7 --- npm-1.1.62.orig/debian/rules +++ npm-1.1.62/debian/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +D:= $(CURDIR)/debian/npm + +build: + dh_testdir + dh_quilt_patch + +clean: + dh_testdir + dh_testroot + dh_quilt_unpatch + dh_clean + +# rm -rf man +# rm -rf html/doc/*.html +# rm -rf html/api/*.html + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +# make doc + + mkdir -p $D/usr/lib/nodejs/npm + cp -a AUTHORS bin cli.js configure doc \ + lib man LICENSE Makefile node_modules package.json \ + README.md scripts test $D/usr/lib/nodejs/npm + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-indep + +.PHONY: build clean binary-indep binary-arch binary install --- npm-1.1.62.orig/debian/npm.dirs +++ npm-1.1.62/debian/npm.dirs @@ -0,0 +1,4 @@ +usr/ +usr/lib/ +usr/lib/nodejs +usr/lib/nodejs/npm --- npm-1.1.62.orig/debian/npm.postinst +++ npm-1.1.62/debian/npm.postinst @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + update-alternatives --quiet --install /usr/bin/npm npm \ + /usr/lib/nodejs/npm/cli.js 50 \ + --slave /usr/bin/npm_g npm_g \ + /usr/lib/nodejs/npm/cli.js \ + --slave /usr/bin/npm-g npm-g \ + /usr/lib/nodejs/npm/cli.js + + ;; + *) +esac + +exit 0 + --- npm-1.1.62.orig/debian/npm.prerm +++ npm-1.1.62/debian/npm.prerm @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +case "$1" in + remove|deconfigure) + update-alternatives --quiet --remove npm /usr/bin/npm + ;; + *) +esac + +exit 0 + --- npm-1.1.62.orig/debian/control +++ npm-1.1.62/debian/control @@ -0,0 +1,19 @@ +Source: npm +Section: web +Priority: extra +Maintainer: Chris Lea +Build-Depends: debhelper (>= 7), autotools-dev, nodejs (>= 0.4), quilt (>= 0.46-7~) +Standards-Version: 3.8.3 +Homepage: http://github.com/isaacs/npm + +Package: npm +Architecture: all +Depends: ${misc:Depends}, nodejs-dev (>= 0.4) +Description: package manager for nodejs + npm is the package manager for the Node JavaScript platform. It puts + modules in place so that node can find them, and manages dependency + conflicts intelligently. + . + It is extremely configurable to support a wide variety of use cases. + Most commonly, it is used to publish, discover, install, and develop + node programs. --- npm-1.1.62.orig/debian/copyright +++ npm-1.1.62/debian/copyright @@ -0,0 +1,61 @@ +Copyright 2009, 2010, 2011 Isaac Z. Schlueter (the "Author") +All rights reserved. + +MIT +no-false-attribs License + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +Distributions of all or part of the Software intended to be used +by the recipients as they would use the unmodified Software, +containing modifications that substantially alter, remove, or +disable functionality of the Software, outside of the documented +configuration mechanisms provided by the Software, shall be +modified such that the Author's bug reporting email addresses and +urls are either replaced with the contact information of the +parties responsible for the changes, or removed entirely. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +Except where noted, this license applies to any and all software +programs and associated documentation files created by the +Author, when distributed with the Software. + +"Node.js" and "node" trademark Joyent, Inc. npm is not officially +part of the Node.js project, and is neither owned by nor +officially affiliated with Joyent, Inc. + +Packages published in the npm registry are not part of npm +itself, are the sole property of their respective maintainers, +and are not covered by this license. + +"npm Logo" created by Mathias Pettersson and Brian Hammond, +used with permission. + +This program includes a BSDTar/LibArchive version 2.8.3-1 binary, +originally distributed as part of the MinGW suite, compiled for +Win32, according to the terms of the BSD license. +See deps/basic-bsdtar-2.8.3-1-ming32-bin/basic-bsdtar.LICENSE. + +This program uses "node-uuid", Copyright (c) 2010 Robert Kieffer, +according to the terms of the MIT license. + +This program uses "request", Copyright (c) 2011 Mikeal Rogers, +according to the terms of the Apache license. --- npm-1.1.62.orig/debian/docs +++ npm-1.1.62/debian/docs @@ -0,0 +1 @@ +README.md --- npm-1.1.62.orig/debian/npm.manpages +++ npm-1.1.62/debian/npm.manpages @@ -0,0 +1 @@ +man/man1/* --- npm-1.1.62.orig/debian/npm.docs +++ npm-1.1.62/debian/npm.docs @@ -0,0 +1 @@ +html/* --- npm-1.1.62.orig/debian/patches/nodejs-shebang.patch +++ npm-1.1.62/debian/patches/nodejs-shebang.patch @@ -0,0 +1,75 @@ +diff -urN npm-1.1.32.orig/bin/npm-cli.js npm-1.1.32/bin/npm-cli.js +--- npm-1.1.32.orig/bin/npm-cli.js 2012-06-19 00:03:01.000000000 +0000 ++++ npm-1.1.32/bin/npm-cli.js 2012-06-27 22:22:15.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env node ++#!/usr/bin/env nodejs + ;(function () { // wrapper in case we're in module_context mode + + // windows: running "npm blah" in this folder will invoke WSH, not node. +diff -urN npm-1.1.32.orig/cli.js npm-1.1.32/cli.js +--- npm-1.1.32.orig/cli.js 2012-06-19 00:03:01.000000000 +0000 ++++ npm-1.1.32/cli.js 2012-06-27 22:22:15.000000000 +0000 +@@ -1,2 +1,2 @@ +-#!/usr/bin/env node ++#!/usr/bin/env nodejs + require("./bin/npm-cli.js") +diff -urN npm-1.1.32.orig/node_modules/node-gyp/bin/node-gyp.js npm-1.1.32/node_modules/node-gyp/bin/node-gyp.js +--- npm-1.1.32.orig/node_modules/node-gyp/bin/node-gyp.js 2012-06-19 00:03:01.000000000 +0000 ++++ npm-1.1.32/node_modules/node-gyp/bin/node-gyp.js 2012-06-27 22:22:15.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env node ++#!/usr/bin/env nodejs + + /** + * Set the title. +diff -urN npm-1.1.32.orig/node_modules/nopt/bin/nopt.js npm-1.1.32/node_modules/nopt/bin/nopt.js +--- npm-1.1.32.orig/node_modules/nopt/bin/nopt.js 2012-06-19 00:03:01.000000000 +0000 ++++ npm-1.1.32/node_modules/nopt/bin/nopt.js 2012-06-27 22:22:15.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env node ++#!/usr/bin/env nodejs + var nopt = require("../lib/nopt") + , types = { num: Number + , bool: Boolean +diff -urN npm-1.1.32.orig/node_modules/semver/bin/semver npm-1.1.32/node_modules/semver/bin/semver +--- npm-1.1.32.orig/node_modules/semver/bin/semver 2012-06-19 00:03:02.000000000 +0000 ++++ npm-1.1.32/node_modules/semver/bin/semver 2012-06-27 22:22:15.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env node ++#!/usr/bin/env nodejs + // Standalone semver comparison program. + // Exits successfully and prints matching version(s) if + // any supplied version is valid and passes all tests. +diff -urN npm-1.1.32.orig/node_modules/which/bin/which npm-1.1.32/node_modules/which/bin/which +--- npm-1.1.32.orig/node_modules/which/bin/which 2012-06-19 00:03:02.000000000 +0000 ++++ npm-1.1.32/node_modules/which/bin/which 2012-06-27 22:22:15.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env node ++#!/usr/bin/env nodejs + var which = require("../") + if (process.argv.length < 3) { + console.error("Usage: which ") +diff -urN npm-1.1.32.orig/scripts/index-build.js npm-1.1.32/scripts/index-build.js +--- npm-1.1.32.orig/scripts/index-build.js 2012-06-19 00:03:02.000000000 +0000 ++++ npm-1.1.32/scripts/index-build.js 2012-06-27 22:22:15.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env node ++#!/usr/bin/env nodejs + var fs = require("fs") + , path = require("path") + , cli = path.resolve(__dirname, "..", "doc", "cli") +diff -urN npm-1.1.32.orig/test/packages/npm-test-array-bin/bin/array-bin npm-1.1.32/test/packages/npm-test-array-bin/bin/array-bin +--- npm-1.1.32.orig/test/packages/npm-test-array-bin/bin/array-bin 2012-06-19 00:03:02.000000000 +0000 ++++ npm-1.1.32/test/packages/npm-test-array-bin/bin/array-bin 2012-06-27 22:22:16.000000000 +0000 +@@ -1,2 +1,2 @@ +-#!/usr/bin/env node ++#!/usr/bin/env nodejs + console.log('ok') +diff -urN npm-1.1.32.orig/test/packages/npm-test-dir-bin/bin/dir-bin npm-1.1.32/test/packages/npm-test-dir-bin/bin/dir-bin +--- npm-1.1.32.orig/test/packages/npm-test-dir-bin/bin/dir-bin 2012-06-19 00:03:02.000000000 +0000 ++++ npm-1.1.32/test/packages/npm-test-dir-bin/bin/dir-bin 2012-06-27 22:22:16.000000000 +0000 +@@ -1,2 +1,2 @@ +-#!/usr/bin/env node ++#!/usr/bin/env nodejs + console.log('ok') --- npm-1.1.62.orig/debian/patches/series +++ npm-1.1.62/debian/patches/series @@ -0,0 +1 @@ +nodejs-shebang.patch