Index: trunk/debs/nodejs/debian/control |
— | — | @@ -0,0 +1,23 @@ |
| 2 | +Source: npm |
| 3 | +Section: web |
| 4 | +Priority: extra |
| 5 | +Maintainer: Gias Kay Lee <gsklee.of.planet.earth@gmail.com> |
| 6 | +XSBC-Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>, Capistrano deployment user <deploy@ip-10-212-94-201.ec2.internal> |
| 7 | +Uploaders: Jérémy Lal <kapouer@melix.org>, Jonas Smedegaard <dr@jones.dk> |
| 8 | +Build-Depends: cdbs (>= 0.4.62), debhelper (>= 7.0.1), dh-buildinfo, bash-completion, nodejs (>= 0.4.9) |
| 9 | +Standards-Version: 3.9.2 |
| 10 | +Homepage: http://github.com/isaacs/npm |
| 11 | +Vcs-Git: git://git.debian.org/collab-maint/npm.git |
| 12 | +Vcs-Browser: http://git.debian.org/?p=collab-maint/npm.git;a=summary |
| 13 | + |
| 14 | +Package: npm |
| 15 | +Architecture: all |
| 16 | +Depends: nodejs (>= 0.4.9), nodejs-dev (>= 0.4.9), ${misc:Depends} |
| 17 | +Description: Package manager for Node.js |
| 18 | + NPM is the package manager for the Node JavaScript platform. It puts |
| 19 | + modules in place so that Node can find them, and manages dependency |
| 20 | + conflicts intelligently. |
| 21 | + . |
| 22 | + It is extremely configurable to support a wide variety of use cases. |
| 23 | + Most commonly, it is used to publish, discover, install, and develop |
| 24 | + Node programs. |
Index: trunk/debs/nodejs/debian/compat |
— | — | @@ -0,0 +1 @@ |
| 2 | +7 |
Index: trunk/debs/nodejs/debian/control.in |
— | — | @@ -0,0 +1,26 @@ |
| 2 | +Source: npm |
| 3 | +Section: web |
| 4 | +Priority: extra |
| 5 | +Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> |
| 6 | +Uploaders: Jérémy Lal <kapouer@melix.org>, |
| 7 | + Jonas Smedegaard <dr@jones.dk> |
| 8 | +Build-Depends: @cdbs@, |
| 9 | + bash-completion |
| 10 | +Standards-Version: 3.9.2 |
| 11 | +Homepage: http://github.com/isaacs/npm |
| 12 | +Vcs-Git: git://git.debian.org/collab-maint/npm.git |
| 13 | +Vcs-Browser: http://git.debian.org/?p=collab-maint/npm.git;a=summary |
| 14 | + |
| 15 | +Package: npm |
| 16 | +Architecture: all |
| 17 | +Depends: nodejs (>= 0.2.6), |
| 18 | + nodejs-dev (>= 0.2.6), |
| 19 | + ${misc:Depends} |
| 20 | +Description: package manager for nodejs |
| 21 | + npm is the package manager for the Node JavaScript platform. It puts |
| 22 | + modules in place so that node can find them, and manages dependency |
| 23 | + conflicts intelligently. |
| 24 | + . |
| 25 | + It is extremely configurable to support a wide variety of use cases. |
| 26 | + Most commonly, it is used to publish, discover, install, and develop |
| 27 | + node programs. |
Index: trunk/debs/nodejs/debian/changelog |
— | — | @@ -0,0 +1,60 @@ |
| 2 | +npm (1.0.93-0wm1) lucid-wikimedia; urgency=low |
| 3 | + |
| 4 | + * backported to lucid-wikimedia |
| 5 | + |
| 6 | + -- John Du Hart <john@johnduhart.me> Wed, 02 Nov 2011 23:29:00 -0400 |
| 7 | + |
| 8 | +npm (1.0.93-0ubuntu1ppa1) natty; urgency=high |
| 9 | + |
| 10 | + [ Gias Kay Lee ] |
| 11 | + * Import v1.0.93 from Github. |
| 12 | + * Update rules file. |
| 13 | + |
| 14 | + -- Gias Kay Lee <gsklee.of.planet.earth@gmail.com> Mon, 19 Sep 2011 16:05:50 +0800 |
| 15 | + |
| 16 | +npm (1.0.29-0ubuntu1ppa1) natty; urgency=low |
| 17 | + |
| 18 | + [ Gias Kay Lee ] |
| 19 | + * Import v1.0.29 from Github. |
| 20 | + * Update nodejs dependency version (>= 0.4.12). |
| 21 | + |
| 22 | + -- Gias Kay Lee <gsklee.of.planet.earth@gmail.com> Mon, 19 Sep 2011 16:05:50 +0800 |
| 23 | + |
| 24 | +npm (1.0.27-0ubuntu1ppa2) natty; urgency=low |
| 25 | + |
| 26 | + [ Gias Kay Lee ] |
| 27 | + * Fix Package Structure. |
| 28 | + |
| 29 | + -- Gias Kay Lee <gsklee.of.planet.earth@gmail.com> Fri, 16 Sep 2011 04:12:03 +0800 |
| 30 | + |
| 31 | +npm (1.0.27-0ubuntu1ppa1) natty; urgency=low |
| 32 | + |
| 33 | + [ Gias Kay Lee ] |
| 34 | + * Import new upstream version from Github. |
| 35 | + |
| 36 | + -- Gias Kay Lee <gsklee.of.planet.earth@gmail.com> Thu, 15 Sep 2011 01:59:19 +0800 |
| 37 | + |
| 38 | +npm (1.0.13-0ubuntu1) natty; urgency=low |
| 39 | + |
| 40 | + * New upstream release |
| 41 | + |
| 42 | + -- Capistrano deployment user <deploy@ip-10-212-94-201.ec2.internal> Fri, 17 Jun 2011 19:01:57 +0000 |
| 43 | + |
| 44 | +npm (0.2.19-1) unstable; urgency=low |
| 45 | + |
| 46 | + * New upstream release. |
| 47 | + |
| 48 | + [ Jonas Smedegaard ] |
| 49 | + * Bump policy compliance to standards-version 3.9.2. |
| 50 | + * Bump copyright file format to draft 174 of DEP-5. |
| 51 | + * Replace long description with intro from upstream documentation. |
| 52 | + |
| 53 | + -- Jonas Smedegaard <dr@jones.dk> Sat, 16 Apr 2011 11:32:28 +0200 |
| 54 | + |
| 55 | +npm (0.2.16-1) unstable; urgency=low |
| 56 | + |
| 57 | + [ Jérémy Lal ] |
| 58 | + * Initial release. |
| 59 | + Closes: #587525. |
| 60 | + |
| 61 | + -- Jonas Smedegaard <dr@jones.dk> Sat, 29 Jan 2011 15:03:31 +0100 |
Index: trunk/debs/nodejs/debian/patches/2003_fix_completion.patch |
— | — | @@ -0,0 +1,22 @@ |
| 2 | +Description: Fix bash_completion invocation |
| 3 | +Forwarded: not-needed |
| 4 | +Author: Jérémy Lal <kapouer@melix.org> |
| 5 | +Last-Update: 2011-01-23 |
| 6 | +--- a/npm-completion.sh |
| 7 | +@@ -17,7 +17,8 @@ |
| 8 | + COMP_WORDBREAKS=${COMP_WORDBREAKS/=/} |
| 9 | + COMP_WORDBREAKS=${COMP_WORDBREAKS/@/} |
| 10 | + export COMP_WORDBREAKS |
| 11 | +-__npm_completion () { |
| 12 | ++have npm && |
| 13 | ++_npm() { |
| 14 | + COMPREPLY=() |
| 15 | + local cur prev opts logfile |
| 16 | + if [ "${loglevel:-silent}" == "silent" ]; then |
| 17 | +@@ -39,4 +40,4 @@ |
| 18 | + return $? |
| 19 | + } |
| 20 | + |
| 21 | +-complete -o default -F __npm_completion npm |
| 22 | ++complete -o default -F _npm npm |
Index: trunk/debs/nodejs/debian/patches/2002_cli_without_shebang.patch |
— | — | @@ -0,0 +1,9 @@ |
| 2 | +Description: Remove shebang from non-executable file |
| 3 | +Forwarded: not-needed |
| 4 | +Author: Jérémy Lal <kapouer@melix.org> |
| 5 | +Last-Update: 2011-01-23 |
| 6 | +--- a/cli.js |
| 7 | +@@ -1,2 +1 @@ |
| 8 | +-#!/usr/bin/env node |
| 9 | + require("./bin/npm.js") |
Index: trunk/debs/nodejs/debian/patches/2001_npm_without_shebang.patch |
— | — | @@ -0,0 +1,11 @@ |
| 2 | +Description: Remove shebang from non-executable file |
| 3 | +Forwarded: not-needed |
| 4 | +Author: Jérémy Lal <kapouer@melix.org> |
| 5 | +Last-Update: 2011-01-23 |
| 6 | +--- a/bin/npm.js |
| 7 | +@@ -1,4 +1,3 @@ |
| 8 | +-#!/usr/bin/env node |
| 9 | + ;(function () { // wrapper in case we're in module_context mode |
| 10 | + var log = require("../lib/utils/log") |
| 11 | + log.waitForConfig() |
Index: trunk/debs/nodejs/debian/patches/2005_forbid_install_npm.patch |
— | — | @@ -0,0 +1,36 @@ |
| 2 | +Description: forbid `npm install npm` |
| 3 | + It does not break anything per se, but /usr/local/bin/npm then |
| 4 | + takes precedence, so global config path is /usr/etc/npmrc (found |
| 5 | + by npm default config, relative to /usr/bin/node). |
| 6 | + Upstream does not want to patch this. |
| 7 | +Forwarded: not-needed |
| 8 | +Bug-Upstream: https://github.com/isaacs/npm/issues/issue/533 |
| 9 | +Author: Jérémy Lal <kapouer@melix.org> |
| 10 | +Last-Update: 2011-01-27 |
| 11 | +Index: npm-1.0.13/lib/install.js |
| 12 | +=================================================================== |
| 13 | +--- npm-1.0.13.orig/lib/install.js 2011-06-16 00:52:22.000000000 +0000 |
| 14 | +@@ -489,6 +489,7 @@ |
| 15 | + ( [checkEngine, target] |
| 16 | + , [checkCycle, target, previously] |
| 17 | + , [checkGit, targetFolder] |
| 18 | ++ , [checkNPM, target] |
| 19 | + , [write, target, targetFolder, previously] |
| 20 | + , function (er, d) { |
| 21 | + log.verbose(target._id, "installOne cb") |
| 22 | +@@ -500,6 +501,14 @@ |
| 23 | + ) |
| 24 | + } |
| 25 | + |
| 26 | ++function checkNPM (target, cb) { |
| 27 | ++ if (target.name == "npm") { |
| 28 | ++ var er = new Error("'install npm' breaks debian npm package, use aptitude") |
| 29 | ++ return cb(er) |
| 30 | ++ } |
| 31 | ++ return cb() |
| 32 | ++} |
| 33 | ++ |
| 34 | + function checkEngine (target, cb) { |
| 35 | + var npmv = npm.version |
| 36 | + , nodev = npm.config.get("node-version") |
Index: trunk/debs/nodejs/debian/patches/2004_use_fhs_man1.patch |
— | — | @@ -0,0 +1,30 @@ |
| 2 | +Description: Use manpages from /usr/share/man/man1 |
| 3 | +Forwarded: not-needed |
| 4 | +Author: Jérémy Lal <kapouer@melix.org> |
| 5 | +Last-Update: 2011-01-23 |
| 6 | +Index: npm-1.0.13/lib/help.js |
| 7 | +=================================================================== |
| 8 | +--- npm-1.0.13.orig/lib/help.js 2011-06-17 19:34:16.514994010 +0000 |
| 9 | +@@ -26,7 +26,7 @@ |
| 10 | + npm.config.set("loglevel", "silent") |
| 11 | + return output.write(npm.commands[section].usage, cb) |
| 12 | + } |
| 13 | +- var section_path = path.join(__dirname, "../man1/"+section+".1") |
| 14 | ++ var section_path = path.join(__dirname, "../man1/"+section+".1.gz") |
| 15 | + return fs.stat |
| 16 | + ( section_path |
| 17 | + , function (e, o) { |
| 18 | +@@ -91,9 +91,9 @@ |
| 19 | + function getSections(cb) { |
| 20 | + fs.readdir(path.join(__dirname, "../man1/"), function (er, files) { |
| 21 | + if (er) return cb(er) |
| 22 | +- var sectionList = files.concat("help.1") |
| 23 | +- .filter(function (s) { return s.match(/\.1$/) }) |
| 24 | +- .map(function (s) { return s.replace(/\.1$/, '')}) |
| 25 | ++ var sectionList = files.concat("help.1.gz") |
| 26 | ++ .filter(function (s) { return s.match(/\.1\.gz$/) }) |
| 27 | ++ .map(function (s) { return s.replace(/\.1\.gz$/, '')}) |
| 28 | + cb(null, sectionList) |
| 29 | + }) |
| 30 | + } |
Index: trunk/debs/nodejs/debian/docs |
— | — | @@ -0,0 +1 @@ |
| 2 | +README.md |
Index: trunk/debs/nodejs/debian/rules |
— | — | @@ -0,0 +1,30 @@ |
| 2 | +#!/usr/bin/make -f |
| 3 | +# -*- makefile -*- |
| 4 | + |
| 5 | +# Uncomment this to turn on verbose mode. |
| 6 | +# export DH_VERBOSE=1 |
| 7 | + |
| 8 | +-include /usr/share/cdbs/1/rules/upstream-tarball.mk |
| 9 | +include /usr/share/cdbs/1/rules/utils.mk |
| 10 | +include /usr/share/cdbs/1/rules/debhelper.mk |
| 11 | + |
| 12 | +# suppress optional build-dependencies |
| 13 | +CDBS_BUILD_DEPENDS_rules_upstream-tarball = |
| 14 | +CDBS_BUILD_DEPENDS_rules_utils_copyright-check = |
| 15 | + |
| 16 | +DEB_UPSTREAM_URL = http://githubredir.debian.net/github/isaacs/npm |
| 17 | +DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION) |
| 18 | +DEB_UPSTREAM_WGET_OPTS += --no-check-certificate |
| 19 | + |
| 20 | +# Suppress copyright-checking some binaries to not upset dpkg-source |
| 21 | +DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(html/npm-.*\.png|debian/(changelog|copyright(|_hints|_newhints)))$ |
| 22 | + |
| 23 | +update:: |
| 24 | + git submodule update --init --recursive |
| 25 | + |
| 26 | +build/npm:: |
| 27 | + mkdir -p debian/npm/usr |
| 28 | + node cli.js install -g -f --prefix debian/npm/usr |
| 29 | + |
| 30 | +install/npm:: |
| 31 | + dh_bash-completion |
Property changes on: trunk/debs/nodejs/debian/rules |
___________________________________________________________________ |
Added: svn:executable |
1 | 32 | + |
Index: trunk/debs/nodejs/debian/README.source |
— | — | @@ -0,0 +1,8 @@ |
| 2 | +git-buildpackage |
| 3 | +================ |
| 4 | + |
| 5 | +debian/control.in |
| 6 | +----------------- |
| 7 | + |
| 8 | +debian/control is generated from debian/control.in, to update it, run : |
| 9 | +DEB_MAINTAINER_MODE=1 fakeroot debian/rules clean |
Index: trunk/debs/nodejs/debian/source/format |
— | — | @@ -0,0 +1 @@ |
| 2 | +3.0 (quilt) |
Index: trunk/debs/nodejs/debian/userrc |
— | — | @@ -0,0 +1,5 @@ |
| 2 | +; npm configuration for non-root usage |
| 3 | +binroot = ~/bin |
| 4 | +root = ~/.node_libraries |
| 5 | +manroot = false |
| 6 | +loglevel = WARN |
Index: trunk/debs/nodejs/debian/script/npm |
— | — | @@ -0,0 +1,12 @@ |
| 2 | +#!/bin/sh |
| 3 | + |
| 4 | +if [ "0" = "$(id -u)" ]; then |
| 5 | + # root install, global paths |
| 6 | + export npm_config_globalconfig=/etc/npm/rootrc |
| 7 | +else |
| 8 | + # user install |
| 9 | + export npm_config_globalconfig=/etc/npm/userrc |
| 10 | +fi |
| 11 | + |
| 12 | +# run it |
| 13 | +exec node /usr/share/npm/cli.js "$@" |
Index: trunk/debs/nodejs/debian/watch |
— | — | @@ -0,0 +1,3 @@ |
| 2 | +version=3 |
| 3 | +opts=filenamemangle=s/.*v(.*)$/npm-$1\.tar\.gz/ \ |
| 4 | +http://github.com/isaacs/npm/downloads .*/tarball/v(.*) debian uupdate |
Index: trunk/debs/nodejs/debian/copyright |
— | — | @@ -0,0 +1,224 @@ |
| 2 | +Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 |
| 3 | +Upstream-Name: npm |
| 4 | +Upstream-Contact: Isaac Zimmitti Schlueter <i@izs.me> |
| 5 | + https://github.com/isaacs/npm/issues |
| 6 | +Source: http://github.com/isaacs/npm |
| 7 | + |
| 8 | +Files: * |
| 9 | +Copyright: 2009-2010, Isaac Zimmitti Schlueter <i@izs.me> |
| 10 | +License: Expat |
| 11 | + |
| 12 | +Files: lib/utils/uuid.js |
| 13 | +Copyright: 2008, Robert Kieffer |
| 14 | +License: OSL-3 |
| 15 | + This software is made available under the terms of the Open Software |
| 16 | + License v3.0 (available here: |
| 17 | + http://www.opensource.org/licenses/osl-3.0.php ) |
| 18 | + |
| 19 | +Files: debian/* |
| 20 | +Copyright: 2010, Jérémy Lal <kapouer@melix.org> |
| 21 | +License: Expat |
| 22 | + |
| 23 | +License: Expat |
| 24 | + Permission is hereby granted, free of charge, to any person obtaining a |
| 25 | + copy of this software and associated documentation files (the |
| 26 | + "Software"), to deal in the Software without restriction, including |
| 27 | + without limitation the rights to use, copy, modify, merge, publish, |
| 28 | + distribute, sublicense, and/or sell copies of the Software, and to |
| 29 | + permit persons to whom the Software is furnished to do so, subject to |
| 30 | + the following conditions: |
| 31 | + . |
| 32 | + The above copyright notice and this permission notice shall be included |
| 33 | + in all copies or substantial portions of the Software. |
| 34 | + . |
| 35 | + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 36 | + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 37 | + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 38 | + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 39 | + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 40 | + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 41 | + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 42 | + |
| 43 | +License: OSL-3 |
| 44 | + This Open Software License (the "License") applies to any original work |
| 45 | + of authorship (the "Original Work") whose owner (the "Licensor") has |
| 46 | + placed the following licensing notice adjacent to the copyright notice |
| 47 | + for the Original Work: |
| 48 | + . |
| 49 | + Licensed under the Open Software License version 3.0 |
| 50 | + . |
| 51 | + 1) Grant of Copyright License. Licensor grants You a worldwide, |
| 52 | + royalty-free, non-exclusive, sublicensable license, for the duration of |
| 53 | + the copyright, to do the following: |
| 54 | + . |
| 55 | + a) to reproduce the Original Work in copies, either alone or as part of |
| 56 | + a collective work; |
| 57 | + . |
| 58 | + b) to translate, adapt, alter, transform, modify, or arrange the |
| 59 | + Original Work, thereby creating derivative works ("Derivative Works") |
| 60 | + based upon the Original Work; |
| 61 | + . |
| 62 | + c) to distribute or communicate copies of the Original Work and |
| 63 | + Derivative Works to the public, with the proviso that copies of |
| 64 | + Original Work or Derivative Works that You distribute or communicate |
| 65 | + shall be licensed under this Open Software License; |
| 66 | + . |
| 67 | + d) to perform the Original Work publicly; and |
| 68 | + . |
| 69 | + e) to display the Original Work publicly. |
| 70 | + . |
| 71 | + 2) Grant of Patent License. Licensor grants You a worldwide, royalty- |
| 72 | +free, non-exclusive, sublicensable license, under patent claims owned or |
| 73 | + controlled by the Licensor that are embodied in the Original Work as |
| 74 | + furnished by the Licensor, for the duration of the patents, to make, |
| 75 | + use, sell, offer for sale, have made, and import the Original Work and |
| 76 | + Derivative Works. |
| 77 | + . |
| 78 | + 3) Grant of Source Code License. The term "Source Code" means the |
| 79 | + preferred form of the Original Work for making modifications to it and |
| 80 | + all available documentation describing how to modify the Original Work. |
| 81 | + Licensor agrees to provide a machine-readable copy of the Source Code |
| 82 | + of the Original Work along with each copy of the Original Work that |
| 83 | + Licensor distributes. Licensor reserves the right to satisfy this |
| 84 | + obligation by placing a machine-readable copy of the Source Code in an |
| 85 | + information repository reasonably calculated to permit inexpensive and |
| 86 | + convenient access by You for as long as Licensor continues to |
| 87 | + distribute the Original Work. |
| 88 | + . |
| 89 | + 4) Exclusions From License Grant. Neither the names of Licensor, nor |
| 90 | + the names of any contributors to the Original Work, nor any of their |
| 91 | + trademarks or service marks, may be used to endorse or promote products |
| 92 | + derived from this Original Work without express prior permission of the |
| 93 | + Licensor. Except as expressly stated herein, nothing in this License |
| 94 | + grants any license to Licensor's trademarks, copyrights, patents, trade |
| 95 | + secrets or any other intellectual property. No patent license is |
| 96 | + granted to make, use, sell, offer for sale, have made, or import |
| 97 | + embodiments of any patent claims other than the licensed claims defined |
| 98 | + in Section 2. No license is granted to the trademarks of Licensor even |
| 99 | + if such marks are included in the Original Work. Nothing in this |
| 100 | + License shall be interpreted to prohibit Licensor from licensing under |
| 101 | + terms different from this License any Original Work that Licensor |
| 102 | + otherwise would have a right to license. |
| 103 | + . |
| 104 | + 5) External Deployment. The term "External Deployment" means the use, |
| 105 | + distribution, or communication of the Original Work or Derivative Works |
| 106 | + in any way such that the Original Work or Derivative Works may be used |
| 107 | + by anyone other than You, whether those works are distributed or |
| 108 | + communicated to those persons or made available as an application |
| 109 | + intended for use over a network. As an express condition for the grants |
| 110 | + of license hereunder, You must treat any External Deployment by You of |
| 111 | + the Original Work or a Derivative Work as a distribution under section |
| 112 | + 1(c). |
| 113 | + . |
| 114 | + 6) Attribution Rights. You must retain, in the Source Code of any |
| 115 | + Derivative Works that You create, all copyright, patent, or trademark |
| 116 | + notices from the Source Code of the Original Work, as well as any |
| 117 | + notices of licensing and any descriptive text identified therein as an |
| 118 | + "Attribution Notice." You must cause the Source Code for any Derivative |
| 119 | + Works that You create to carry a prominent Attribution Notice |
| 120 | + reasonably calculated to inform recipients that You have modified the |
| 121 | + Original Work. |
| 122 | + . |
| 123 | + 7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants |
| 124 | + that the copyright in and to the Original Work and the patent rights |
| 125 | + granted herein by Licensor are owned by the Licensor or are sublicensed |
| 126 | + to You under the terms of this License with the permission of the |
| 127 | + contributor(s) of those copyrights and patent rights. Except as |
| 128 | + expressly stated in the immediately preceding sentence, the Original |
| 129 | + Work is provided under this License on an "AS IS" BASIS and WITHOUT |
| 130 | + WARRANTY, either express or implied, including, without limitation, the |
| 131 | + warranties of non-infringement, merchantability or fitness for a |
| 132 | + particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL |
| 133 | + WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential |
| 134 | + part of this License. No license to the Original Work is granted by |
| 135 | + this License except under this disclaimer. |
| 136 | + . |
| 137 | + 8) Limitation of Liability. Under no circumstances and under no legal |
| 138 | + theory, whether in tort (including negligence), contract, or otherwise, |
| 139 | + shall the Licensor be liable to anyone for any indirect, special, |
| 140 | + incidental, or consequential damages of any character arising as a |
| 141 | + result of this License or the use of the Original Work including, |
| 142 | + without limitation, damages for loss of goodwill, work stoppage, |
| 143 | + computer failure or malfunction, or any and all other commercial |
| 144 | + damages or losses. This limitation of liability shall not apply to the |
| 145 | + extent applicable law prohibits such limitation. |
| 146 | + . |
| 147 | + 9) Acceptance and Termination. If, at any time, You expressly assented |
| 148 | + to this License, that assent indicates your clear and irrevocable |
| 149 | + acceptance of this License and all of its terms and conditions. If You |
| 150 | + distribute or communicate copies of the Original Work or a Derivative |
| 151 | + Work, You must make a reasonable effort under the circumstances to |
| 152 | + obtain the express assent of recipients to the terms of this License. |
| 153 | + This License conditions your rights to undertake the activities listed |
| 154 | + in Section 1, including your right to create Derivative Works based |
| 155 | + upon the Original Work, and doing so without honoring these terms and |
| 156 | + conditions is prohibited by copyright law and international treaty. |
| 157 | + Nothing in this License is intended to affect copyright exceptions and |
| 158 | + limitations (including "fair use" or "fair dealing"). This License |
| 159 | + shall terminate immediately and You may no longer exercise any of the |
| 160 | + rights granted to You by this License upon your failure to honor the |
| 161 | + conditions in Section 1(c). |
| 162 | + . |
| 163 | + 10) Termination for Patent Action. This License shall terminate |
| 164 | + automatically and You may no longer exercise any of the rights granted |
| 165 | + to You by this License as of the date You commence an action, including |
| 166 | + a cross-claim or counterclaim, against Licensor or any licensee |
| 167 | + alleging that the Original Work infringes a patent. This termination |
| 168 | + provision shall not apply for an action alleging patent infringement by |
| 169 | + combinations of the Original Work with other software or hardware. |
| 170 | + . |
| 171 | + 11) Jurisdiction, Venue and Governing Law. Any action or suit relating |
| 172 | + to this License may be brought only in the courts of a jurisdiction |
| 173 | + wherein the Licensor resides or in which Licensor conducts its primary |
| 174 | + business, and under the laws of that jurisdiction excluding its |
| 175 | + conflict-of-law provisions. The application of the United Nations |
| 176 | + Convention on Contracts for the International Sale of Goods is |
| 177 | + expressly excluded. Any use of the Original Work outside the scope of |
| 178 | + this License or after its termination shall be subject to the |
| 179 | + requirements and penalties of copyright or patent law in the |
| 180 | + appropriate jurisdiction. This section shall survive the termination |
| 181 | + of this License. |
| 182 | + . |
| 183 | + 12) Attorneys' Fees. In any action to enforce the terms of this |
| 184 | + License or seeking damages relating thereto, the prevailing party shall |
| 185 | + be entitled to recover its costs and expenses, including, without |
| 186 | + limitation, reasonable attorneys' fees and costs incurred in connection |
| 187 | + with such action, including any appeal of such action. This section |
| 188 | + shall survive the termination of this License. |
| 189 | + . |
| 190 | + 13) Miscellaneous. If any provision of this License is held to be |
| 191 | + unenforceable, such provision shall be reformed only to the extent |
| 192 | + necessary to make it enforceable. |
| 193 | + . |
| 194 | + 14) Definition of "You" in This License. "You" throughout this License, |
| 195 | + whether in upper or lower case, means an individual or a legal entity |
| 196 | + exercising rights under, and complying with all of the terms of, this |
| 197 | + License. For legal entities, "You" includes any entity that controls, |
| 198 | + is controlled by, or is under common control with you. For purposes of |
| 199 | + this definition, "control" means (i) the power, direct or indirect, to |
| 200 | + cause the direction or management of such entity, whether by contract |
| 201 | + or otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 202 | + outstanding shares, or (iii) beneficial ownership of such entity. |
| 203 | + . |
| 204 | + 15) Right to Use. You may use the Original Work in all ways not |
| 205 | + otherwise restricted or conditioned by this License or by law, and |
| 206 | + Licensor promises not to interfere with or be responsible for such uses |
| 207 | + by You. |
| 208 | + . |
| 209 | + 16) Modification of This License. This License is Copyright © 2005 |
| 210 | + Lawrence Rosen. Permission is granted to copy, distribute, or |
| 211 | + communicate this License without modification. Nothing in this License |
| 212 | + permits You to modify this License as applied to the Original Work or |
| 213 | + to Derivative Works. However, You may modify the text of this License |
| 214 | + and copy, distribute or communicate your modified version (the |
| 215 | + "Modified License") and apply it to other original works of authorship |
| 216 | + subject to the following conditions: (i) You may not indicate in any |
| 217 | + way that your Modified License is the "Open Software License" or "OSL" |
| 218 | + and you may not use those names in the name of your Modified License; |
| 219 | + (ii) You must replace the notice specified in the first paragraph above |
| 220 | + with the notice "Licensed under <insert your license name here>" or |
| 221 | + with a notice of your own that is not confusingly similar to the notice |
| 222 | + in this License; and (iii) You may not claim that your original works |
| 223 | + are open source software unless your Modified License has been approved |
| 224 | + by Open Source Initiative (OSI) and You comply with its license review |
| 225 | + and certification process. |
Index: trunk/debs/nodejs/debian/rootrc |
— | — | @@ -0,0 +1,5 @@ |
| 2 | +; npm configuration for root usage |
| 3 | +binroot = /usr/local/bin |
| 4 | +root = /usr/local/lib/nodejs |
| 5 | +manroot = /usr/local/share/man |
| 6 | +loglevel = WARN |
Index: trunk/debs/nodejs/debian/copyright_hints |
— | — | @@ -0,0 +1,298 @@ |
| 2 | +Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=166 |
| 3 | +Upstream-Name: FIXME |
| 4 | +Upstream-Contact: FIXME |
| 5 | +Source: FIXME |
| 6 | +Disclaimer: Autogenerated by CDBS |
| 7 | + |
| 8 | +Files: Makefile |
| 9 | + README.md |
| 10 | + bin/npm.js |
| 11 | + bin/read-package-json.js |
| 12 | + bin/semver.js |
| 13 | + cli.js |
| 14 | + debian/README.Debian |
| 15 | + debian/README.source |
| 16 | + debian/compat |
| 17 | + debian/control |
| 18 | + debian/control.in |
| 19 | + debian/dirs |
| 20 | + debian/docs |
| 21 | + debian/install |
| 22 | + debian/manpages |
| 23 | + debian/npm.bash-completion |
| 24 | + debian/patches/2001_npm_without_shebang.patch |
| 25 | + debian/patches/2002_cli_without_shebang.patch |
| 26 | + debian/patches/2003_fix_completion.patch |
| 27 | + debian/patches/2004_use_fhs_man1.patch |
| 28 | + debian/patches/2005_forbid_install_npm.patch |
| 29 | + debian/patches/series |
| 30 | + debian/rootrc |
| 31 | + debian/rules |
| 32 | + debian/script/npm |
| 33 | + debian/source/format |
| 34 | + debian/userrc |
| 35 | + debian/watch |
| 36 | + doc/activate.md |
| 37 | + doc/adduser.md |
| 38 | + doc/build.md |
| 39 | + doc/bundle.md |
| 40 | + doc/cache.md |
| 41 | + doc/changelog.md |
| 42 | + doc/coding-style.md |
| 43 | + doc/completion.md |
| 44 | + doc/config.md |
| 45 | + doc/deactivate.md |
| 46 | + doc/deprecate.md |
| 47 | + doc/developers.md |
| 48 | + doc/docs.md |
| 49 | + doc/edit.md |
| 50 | + doc/explore.md |
| 51 | + doc/faq.md |
| 52 | + doc/find.md |
| 53 | + doc/folders.md |
| 54 | + doc/future-ideas/deploy.md |
| 55 | + doc/future-ideas/new-module-system.md |
| 56 | + doc/future-ideas/remote.md |
| 57 | + doc/future-ideas/site.md |
| 58 | + doc/get.md |
| 59 | + doc/init.md |
| 60 | + doc/install.md |
| 61 | + doc/json.md |
| 62 | + doc/link.md |
| 63 | + doc/list.md |
| 64 | + doc/ln.md |
| 65 | + doc/ls.md |
| 66 | + doc/npm.md |
| 67 | + doc/outdated.md |
| 68 | + doc/owner.md |
| 69 | + doc/publish.md |
| 70 | + doc/rebuild.md |
| 71 | + doc/registry.md |
| 72 | + doc/restart.md |
| 73 | + doc/rm.md |
| 74 | + doc/run-script.md |
| 75 | + doc/scripts.md |
| 76 | + doc/search.md |
| 77 | + doc/set.md |
| 78 | + doc/start.md |
| 79 | + doc/stop.md |
| 80 | + doc/tag.md |
| 81 | + doc/test.md |
| 82 | + doc/uninstall.md |
| 83 | + doc/unpublish.md |
| 84 | + doc/update.md |
| 85 | + doc/version.md |
| 86 | + doc/view.md |
| 87 | + html/favicon.ico |
| 88 | + html/index.html |
| 89 | + html/npm.png |
| 90 | + lib/activate.js |
| 91 | + lib/adduser.js |
| 92 | + lib/autoremove.js |
| 93 | + lib/build.js |
| 94 | + lib/cache.js |
| 95 | + lib/completion.js |
| 96 | + lib/config.js |
| 97 | + lib/deactivate.js |
| 98 | + lib/deprecate.js |
| 99 | + lib/docs.js |
| 100 | + lib/edit.js |
| 101 | + lib/explore.js |
| 102 | + lib/faq.js |
| 103 | + lib/get.js |
| 104 | + lib/init.js |
| 105 | + lib/install.js |
| 106 | + lib/link.js |
| 107 | + lib/outdated.js |
| 108 | + lib/owner.js |
| 109 | + lib/publish.js |
| 110 | + lib/rebuild.js |
| 111 | + lib/repl.js |
| 112 | + lib/restart.js |
| 113 | + lib/set.js |
| 114 | + lib/start.js |
| 115 | + lib/stop.js |
| 116 | + lib/tag.js |
| 117 | + lib/test.js |
| 118 | + lib/uninstall.js |
| 119 | + lib/unpublish.js |
| 120 | + lib/update-dependents.js |
| 121 | + lib/update.js |
| 122 | + lib/utils/abbrev.js |
| 123 | + lib/utils/async-map.js |
| 124 | + lib/utils/base64.js |
| 125 | + lib/utils/chain.js |
| 126 | + lib/utils/completion/contains-single-match.js |
| 127 | + lib/utils/completion/get-completions.js |
| 128 | + lib/utils/completion/installed-packages.js |
| 129 | + lib/utils/completion/remote-packages.js |
| 130 | + lib/utils/completion/users.js |
| 131 | + lib/utils/default-config.js |
| 132 | + lib/utils/default.npmignore |
| 133 | + lib/utils/error-handler.js |
| 134 | + lib/utils/exec.js |
| 135 | + lib/utils/fetch.js |
| 136 | + lib/utils/find.js |
| 137 | + lib/utils/get.js |
| 138 | + lib/utils/graceful-fs.js |
| 139 | + lib/utils/ini-parser.js |
| 140 | + lib/utils/ini.js |
| 141 | + lib/utils/lifecycle.js |
| 142 | + lib/utils/link.js |
| 143 | + lib/utils/load-package-defaults.js |
| 144 | + lib/utils/log.js |
| 145 | + lib/utils/mkdir-p.js |
| 146 | + lib/utils/output.js |
| 147 | + lib/utils/parse-args.js |
| 148 | + lib/utils/promise-chain.js |
| 149 | + lib/utils/proto-list.js |
| 150 | + lib/utils/read-installed.js |
| 151 | + lib/utils/read-json.js |
| 152 | + lib/utils/registry.js |
| 153 | + lib/utils/registry/adduser.js |
| 154 | + lib/utils/registry/get.js |
| 155 | + lib/utils/registry/publish.js |
| 156 | + lib/utils/registry/request.js |
| 157 | + lib/utils/registry/tag.js |
| 158 | + lib/utils/registry/unpublish.js |
| 159 | + lib/utils/relativize.js |
| 160 | + lib/utils/rm-rf.js |
| 161 | + lib/utils/set.js |
| 162 | + lib/utils/sha.js |
| 163 | + lib/utils/sys.js |
| 164 | + lib/utils/which.js |
| 165 | + lib/utils/write-shim.js |
| 166 | + lib/version.js |
| 167 | + lib/view.js |
| 168 | + lib/xmas.js |
| 169 | + man1/activate.1 |
| 170 | + man1/adduser.1 |
| 171 | + man1/build.1 |
| 172 | + man1/bundle.1 |
| 173 | + man1/cache.1 |
| 174 | + man1/changelog.1 |
| 175 | + man1/coding-style.1 |
| 176 | + man1/completion.1 |
| 177 | + man1/config.1 |
| 178 | + man1/deactivate.1 |
| 179 | + man1/deprecate.1 |
| 180 | + man1/developers.1 |
| 181 | + man1/docs.1 |
| 182 | + man1/edit.1 |
| 183 | + man1/explore.1 |
| 184 | + man1/faq.1 |
| 185 | + man1/find.1 |
| 186 | + man1/folders.1 |
| 187 | + man1/future-ideas/deploy.1 |
| 188 | + man1/future-ideas/new-module-system.1 |
| 189 | + man1/future-ideas/remote.1 |
| 190 | + man1/future-ideas/site.1 |
| 191 | + man1/get.1 |
| 192 | + man1/init.1 |
| 193 | + man1/install.1 |
| 194 | + man1/json.1 |
| 195 | + man1/link.1 |
| 196 | + man1/list.1 |
| 197 | + man1/ln.1 |
| 198 | + man1/ls.1 |
| 199 | + man1/npm.1 |
| 200 | + man1/outdated.1 |
| 201 | + man1/owner.1 |
| 202 | + man1/publish.1 |
| 203 | + man1/rebuild.1 |
| 204 | + man1/registry.1 |
| 205 | + man1/restart.1 |
| 206 | + man1/rm.1 |
| 207 | + man1/run-script.1 |
| 208 | + man1/scripts.1 |
| 209 | + man1/search.1 |
| 210 | + man1/set.1 |
| 211 | + man1/start.1 |
| 212 | + man1/stop.1 |
| 213 | + man1/tag.1 |
| 214 | + man1/test.1 |
| 215 | + man1/uninstall.1 |
| 216 | + man1/unpublish.1 |
| 217 | + man1/update.1 |
| 218 | + man1/version.1 |
| 219 | + man1/view.1 |
| 220 | + npm-completion.sh |
| 221 | + package.json |
| 222 | + scripts/install-message.sh |
| 223 | + scripts/install.sh |
| 224 | + test/common.js |
| 225 | + test/disabled/bundlerecurs/package.json |
| 226 | + test/disabled/failer/package.json |
| 227 | + test/disabled/fast/package.json |
| 228 | + test/disabled/slow/package.json |
| 229 | + test/packages/bindir/bin/prog.js |
| 230 | + test/packages/bindir/package.json |
| 231 | + test/packages/bindir/test.js |
| 232 | + test/packages/blerg/package.json |
| 233 | + test/packages/blerg/test.js |
| 234 | + test/packages/bundletest/package.json |
| 235 | + test/packages/depends-on-connect/package.json |
| 236 | + test/packages/depends-on-jsdom/package.json |
| 237 | + test/packages/depends-on-jsdom/test.js |
| 238 | + test/packages/depends-on-spark/package.json |
| 239 | + test/packages/env-reader/package.json |
| 240 | + test/packages/env-reader/test.sh |
| 241 | + test/packages/files-array-npmignore/.npmignore |
| 242 | + test/packages/files-array-npmignore/foo/bar |
| 243 | + test/packages/files-array-npmignore/package.json |
| 244 | + test/packages/files-array-npmignore/test.sh |
| 245 | + test/packages/files-array-simple/bar |
| 246 | + test/packages/files-array-simple/foo |
| 247 | + test/packages/files-array-simple/package.json |
| 248 | + test/packages/files-array-simple/test.sh |
| 249 | + test/packages/npmignore/.npmignore |
| 250 | + test/packages/npmignore/foo/bar |
| 251 | + test/packages/npmignore/package.json |
| 252 | + test/packages/npmignore/test.sh |
| 253 | + test/packages/package-config/package.json |
| 254 | + test/packages/package-config/test.js |
| 255 | + test/packages/private/package.json |
| 256 | + test/packages/test-package/package.json |
| 257 | + test/packages/url-dep/package.json |
| 258 | + test/run.sh |
| 259 | + test/update-test.sh |
| 260 | +Copyright: *No copyright* |
| 261 | +License: UNKNOWN |
| 262 | + FIXME |
| 263 | + |
| 264 | +Files: lib/bundle.js |
| 265 | + lib/help.js |
| 266 | + lib/run-script.js |
| 267 | + lib/utils/prompt.js |
| 268 | +Copyright: |
| 269 | +License: UNKNOWN |
| 270 | + FIXME |
| 271 | + |
| 272 | +Files: LICENSE |
| 273 | +Copyright: 2009-2010, Isaac Zimmitti Schlueter. |
| 274 | + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 275 | +License: MIT/X11 (BSD like) |
| 276 | + FIXME |
| 277 | + |
| 278 | +Files: npm.js |
| 279 | +Copyright: !== -1) return c |
| 280 | +License: UNKNOWN |
| 281 | + FIXME |
| 282 | + |
| 283 | +Files: lib/ls.js |
| 284 | +Copyright: !== -1) return false |
| 285 | +License: UNKNOWN |
| 286 | + FIXME |
| 287 | + |
| 288 | +Files: lib/utils/uuid.js |
| 289 | +Copyright: 2008, Robert Kieffer |
| 290 | +License: UNKNOWN |
| 291 | + FIXME |
| 292 | + |
| 293 | +Files: lib/utils/semver.js |
| 294 | +Copyright: { return c.join(" ") }).join("||") |
| 295 | + { return c.length }) |
| 296 | + { return c.match(expressions.validComparator) }) |
| 297 | +License: UNKNOWN |
| 298 | + FIXME |
| 299 | + |
Index: trunk/debs/nodejs/debian/npm.bash-completion |
— | — | @@ -0,0 +1,2 @@ |
| 2 | +# To Be Fixed |
| 3 | +# npm-completion.sh npm |
Index: trunk/debs/nodejs/debian/README.Debian |
— | — | @@ -0,0 +1,52 @@ |
| 2 | +npm for Debian |
| 3 | +============== |
| 4 | + |
| 5 | +npm is invoked through /usr/bin/npm, |
| 6 | +ensuring install paths follow debian policy. |
| 7 | + |
| 8 | + |
| 9 | +WARNING |
| 10 | +------- |
| 11 | + |
| 12 | +* To prevent confusion and breakage, root user can't do : |
| 13 | + `npm install npm` |
| 14 | + However non-root user can still do it. |
| 15 | +* Do not use /usr/share/npm/cli.js directly as root. |
| 16 | + it will break your npm installation, or worse. |
| 17 | + |
| 18 | + |
| 19 | +using npm as root |
| 20 | +----------------- |
| 21 | + |
| 22 | +/etc/npm/rootrc configures the default install paths |
| 23 | +when calling npm as root : |
| 24 | + |
| 25 | +Modules go to /usr/local/lib/nodejs |
| 26 | +Executables go to /usr/local/bin |
| 27 | +Documentation go to /usr/local/share/man |
| 28 | + |
| 29 | +Installed modules must be on node path before calling it : |
| 30 | +export NODE_PATH=/usr/local/lib/nodejs |
| 31 | + |
| 32 | + |
| 33 | +using npm as non-root |
| 34 | +--------------------- |
| 35 | + |
| 36 | +/etc/npm/userrc configures the default install paths |
| 37 | +when calling npm as a non-root user : |
| 38 | + |
| 39 | +Modules go to ~/.node_libraries |
| 40 | +Executables go to ~/bin |
| 41 | +Documentation is not installed |
| 42 | + |
| 43 | +~/.node_libraries is already on the NODE_PATH. |
| 44 | + |
| 45 | + |
| 46 | +do not confuse with /usr/lib/nodejs |
| 47 | +----------------------------------- |
| 48 | + |
| 49 | +/usr/lib/nodejs directory is reserved for modules that are provided by a |
| 50 | +debian package. |
| 51 | + |
| 52 | + |
| 53 | + -- Jérémy Lal <kapouer@melix.org> Fri, 28 Jan 2011 00:33:28 +0200 |