debian/0000755000000000000000000000000012216550432007166 5ustar debian/patches/0000755000000000000000000000000012216550345010620 5ustar debian/patches/2001_rename_shebang_to_nodejs.patch0000644000000000000000000000044512136761370017313 0ustar Description: rename shebang from node to nodejs See pkg-javascript policy. Forwarded: not-needed Author: Jérémy Lal Last-Update: 2013-03-25 --- a/bin/node-gyp.js +++ b/bin/node-gyp.js @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env nodejs /** * Set the title. debian/patches/2002_set_default_nodedir.patch0000644000000000000000000000152112203475665016315 0ustar Description: set nodejs-dev headers path for default --nodedir Expected behavior: node-gyp does not install remote headers when configuring a module targeted at current nodejs version. Forwarded: not-needed Author: Jérémy Lal Last-Update: 2013-03-25 --- a/lib/configure.js +++ b/lib/configure.js @@ -213,6 +213,13 @@ log.verbose('get node dir', 'no --target version specified, falling back to host node version: %s', versionStr) } + if (versionStr == process.version) { + // do not install remote headers when configuring a module targeted at current nodejs version - use nodejs-dev headers instead + nodeDir = "/usr/include/nodejs"; + createBuildDir() + return + } + // make sure we have a valid version try { version = semver.parse(versionStr) debian/patches/series0000644000000000000000000000013412216546526012041 0ustar 2001_rename_shebang_to_nodejs.patch 2002_set_default_nodedir.patch 1001_kfreebsd_make.patch debian/patches/1001_kfreebsd_make.patch0000644000000000000000000000140212216550345015061 0ustar Description: kfreebsd is using make, not gmake See https://buildd.debian.org/status/fetch.php?pkg=node-srs&arch=kfreebsd-amd64&ver=0.3.2%2Bds1-1&stamp=1378120679 Forwarded: https://github.com/TooTallNate/node-gyp/pull/331 Author: Jérémy Lal Last-Update: 2013-09-19 --- a/lib/build.js +++ b/lib/build.js @@ -20,7 +20,7 @@ function build (gyp, argv, callback) { var makeCommand = gyp.opts.make || process.env.MAKE - || (process.platform.indexOf('bsd') != -1 ? 'gmake' : 'make') + || (process.platform.indexOf('bsd') != -1 && process.platform.indexOf('kfreebsd') == -1 ? 'gmake' : 'make') , command = win ? 'msbuild' : makeCommand , buildDir = path.resolve('build') , configPath = path.resolve(buildDir, 'config.gypi') debian/docs0000644000000000000000000000001212136761370010040 0ustar README.md debian/manpages0000644000000000000000000000002412136761370010706 0ustar ./debian/node-gyp.1 debian/watch0000644000000000000000000000027712203473236010227 0ustar version=3 opts=downloadurlmangle=s|.*/v?([\d.-]+)\.tar\.gz|http://registry.npmjs.org/node-gyp/-/node-gyp-$1.tgz| \ https://github.com/TooTallNate/node-gyp/tags .*/archive/v?([\d.-]+).tar.gz debian/control0000644000000000000000000000237612215716140010600 0ustar Source: node-gyp Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: Jérémy Lal Build-Depends: debhelper (>= 8.0.0) , dh-buildinfo Standards-Version: 3.9.4 Homepage: https://github.com/TooTallNate/node-gyp Vcs-Git: git://anonscm.debian.org/collab-maint/node-gyp.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/node-gyp.git Package: node-gyp Architecture: all Depends: ${misc:Depends} , nodejs , nodejs-dev , gyp , node-fstream , node-glob , node-graceful-fs (>= 2) , node-minimatch , node-mkdirp , node-nopt (>= 2) , node-npmlog , node-osenv , node-request , node-rimraf , node-semver (>= 2.1) , node-tar , node-which Recommends: build-essential Description: Native addon build tool for Node.js node-gyp is a cross-platform command-line tool written in Node.js for compiling native addon modules for Node.js. . It features : * Easy to use, consistent interface * Same commands to build a module on every platform * Support of multiple target versions of Node.js . node-gyp replaces node-waf program which was deprecated in Node.js 0.8 and removed since Node.js 0.10. . Node.js is an event-based server-side javascript engine. debian/copyright0000644000000000000000000000765312203475434011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: node-gyp Upstream-Contact: https://github.com/TooTallNate/node-gyp/issues Source: http://registry.npmjs.org/node-gyp/-/node-gyp-0.10.9.tgz because the github tarball contains node_modules, and we don't need it. Files: * Copyright: 2012-2013, Nathan Rajlich License: Expat Files: gyp/* Copyright: 2009-2013 Google Inc. License: BSD-3-clause~Google Files: gyp/pylib/gyp/ninja_syntax.py Comment: upstream https://github.com/martine/ninja Copyright: 2011 Google Inc. License: Apache-2.0 Files: gyp/tools/emacs/testdata/media.gyp* Comment: upstream http://src.chromium.org/svn/trunk/src/media/ Copyright: 2012 The Chromium Authors License: BSD-3-clause~Google 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. . On Debian systems, the complete text of the Apache version 2.0 license can be found in `/usr/share/common-licenses/Apache-2.0'. License: BSD-3-clause~Google 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 of Google Inc. 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 OWNER 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. License: Expat 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. . 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. debian/node-gyp.10000644000000000000000000000311012136761370010773 0ustar .\" Generated with Ronnjs 0.4.0 .\" http://github.com/kapouer/ronnjs . .TH "NODE\-GYP" "1" "March 2013" "" "" . .SH "NAME" \fBnode-gyp\fR \-\- native addon build tool for node . .SH "SYNOPSIS" . .nf node\-gyp [args] . .fi . .SH "DESCRIPTION" \fBnode\-gyp\fR is a cross\-platform command\-line tool for compiling native addon modules for Node\.js, taking away the pain of dealing with the various differences in build platforms\. It is the replacement to the \fBnode\-waf\fR program, which is removed since node 0\.8\. Native addons still using a \fBwscript\fR file should definitely add a \fBbinding\.gyp\fR file to support the latest versions of node\. . .P Multiple target versions of node are supported (from node 0\.6 to the next released version), regardless of what version of node is actually installed on your system; \fBnode\-gyp\fR downloads the necessary development files for the target version\. . .SH "COMMANDS" . .IP "\(bu" 4 \fBbuild\fR Invokes \fBmake\fR/\fBmsbuild\.exe\fR and builds the native addon . .IP "\(bu" 4 \fBclean\fR Removes any the \fBbuild\fR dir if it exists . .IP "\(bu" 4 \fBconfigure\fR Generates project build files for the current platform . .IP "\(bu" 4 \fBrebuild\fR Runs \fBclean\fR, \fBconfigure\fR and \fBbuild\fR all in a row . .IP "\(bu" 4 \fBinstall\fR Installs node development header files for the given version . .IP "\(bu" 4 \fBlist\fR Lists the currently installed node development file versions . .IP "\(bu" 4 \fBremove\fR Removes the node development header files for the given version . .IP "" 0 . .SH "SEE ALSO" README\.md debian/links0000644000000000000000000000013312215715577010242 0ustar usr/share/node-gyp/bin/node-gyp.js usr/bin/node-gyp usr/bin/gyp usr/share/node-gyp/gyp/gyp debian/install0000644000000000000000000000015412215715577010573 0ustar lib usr/share/node-gyp bin usr/share/node-gyp addon.gypi usr/share/node-gyp package.json usr/share/node-gyp debian/source/0000755000000000000000000000000012136761370010474 5ustar debian/source/format0000644000000000000000000000001412136761370011702 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212136761370010372 0ustar 8 debian/rules0000755000000000000000000000016112136761370010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ debian/changelog0000644000000000000000000000313412216550432011041 0ustar node-gyp (0.10.10-2) unstable; urgency=low * 1001 patch: use make on kfreebsd, not gmake -- Jérémy Lal Thu, 19 Sep 2013 12:25:29 +0200 node-gyp (0.10.10-1) unstable; urgency=low * Upstream update * Revert all 0.10.9-2 changes, were wrongly working around gyp bug #722678. -- Jérémy Lal Tue, 17 Sep 2013 02:07:35 +0200 node-gyp (0.10.9-2) unstable; urgency=low * Install gyp launcher instead of using usr/bin/gyp (gyp now ships a bash script, not a python script) * Depends on python -- Jérémy Lal Wed, 04 Sep 2013 14:20:14 +0200 node-gyp (0.10.9-1) unstable; urgency=low * Upstream update * Refresh 2002 patch * control: + remove dependency on node-inherits + add dependency on node-osenv + tighten dependencies on node-graceful-fs, node-semver + canonicalize Vcs fields -- Jérémy Lal Fri, 16 Aug 2013 21:25:56 +0200 node-gyp (0.9.5-2) experimental; urgency=low * Losen dependency on nodejs and nodejs-dev. * Recommends: build-essential instead of depending on g++, make. Related to #681356. * Install package.json * Symlinks usr/bin/gyp to usr/share/node-gyp/gyp/gyp. -- Jérémy Lal Sun, 28 Apr 2013 19:19:46 +0200 node-gyp (0.9.5-1) experimental; urgency=low * Upstream update. * Add dependency on nodejs. -- Jérémy Lal Sat, 27 Apr 2013 16:41:06 +0200 node-gyp (0.9.2-1) experimental; urgency=low * Initial release (Closes: #664836) -- Jérémy Lal Mon, 25 Mar 2013 17:03:25 +0100