debian/0000755000000000000000000000000012222332320007155 5ustar debian/changelog0000644000000000000000000000231712216357410011044 0ustar node-contextify (0.1.6-1) unstable; urgency=low * New upstream release. * Move to debhelper level 9 for hardening. * Update packaging to node-gyp (closes: #719377). * New maintainer, but leave David in for now. -- Laszlo Boszormenyi (GCS) Mon, 16 Sep 2013 14:13:05 +0200 node-contextify (0.1.2-2) unstable; urgency=low * Fixed reference to local compiled version of the module (Closes: #670312) -- David Paleino Tue, 24 Apr 2012 22:00:23 +0200 node-contextify (0.1.2-1) unstable; urgency=low * New upstream version * Standards-Version bump to 3.9.3, no changes needed * Update debian/copyright * Refreshed patch to fix requirement on node-bindings -- David Paleino Sat, 14 Apr 2012 23:46:33 +0200 node-contextify (0.0.7-1) unstable; urgency=low * New upstream version -- David Paleino Sat, 31 Dec 2011 11:47:46 +0100 node-contextify (0.0.6-2) unstable; urgency=low * Fix installation of contextify -- David Paleino Sun, 06 Nov 2011 21:10:47 +0100 node-contextify (0.0.6-1) unstable; urgency=low * Initial release -- David Paleino Sat, 29 Oct 2011 15:59:32 +0200 debian/compat0000644000000000000000000000000212215606160010363 0ustar 9 debian/control0000644000000000000000000000223212215606170010570 0ustar Source: node-contextify Section: devel Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: Laszlo Boszormenyi (GCS) , David Paleino Build-Depends: debhelper (>= 9) , nodejs-dev , node-gyp , npm , dh-buildinfo Standards-Version: 3.9.4 Homepage: https://github.com/brianmcd/contextify Vcs-Git: git://git.debian.org/collab-maint/node-contextify.git Vcs-Browser: http://git.debian.org/?p=collab-maint/node-contextify.git;a=summary Package: node-contextify Architecture: any Depends: ${shlibs:Depends} , ${misc:Depends} , nodejs Description: turn an object into a persistent execution context Contextify is a NodeJS module that lets you to turn an object into a persistent V8 execution context. . A contextified object acts as the global 'this' when executing scripts in its context. Contextify adds 3 methods to the contextified object: - run(code, filename); - getGlobal(); - dispose(). The main difference between Contextify and Node's vm methods is that Contextify allows asynchronous functions to continue executing in the Contextified object's context. debian/copyright0000644000000000000000000000251212215573077011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Files: * Copyright: © 2011, Brian McDaniel License: MIT Files: debian/* Copyright: © 2013, Laszlo Boszormenyi (GCS) , © 2011-2012, David Paleino License: MIT License: MIT 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/docs0000644000000000000000000000001211745603134010036 0ustar README.md debian/install0000644000000000000000000000016411745603134010564 0ustar build/Release/contextify.node usr/lib/nodejs/contextify/ lib/contextify.js usr/lib/nodejs/contextify/ debian/links0000644000000000000000000000011511745603134010232 0ustar usr/lib/nodejs/contextify/contextifyjs.js usr/lib/nodejs/contextify/index.js debian/patches/0000755000000000000000000000000012222332366010616 5ustar debian/patches/00-fix_require.patch0000644000000000000000000000076112215607050014377 0ustar From: David Paleino Subject: fix requirement of compiled module Origin: vendor Forwarded: no --- lib/contextify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- node-contextify-0.1.6.orig/lib/contextify.js +++ node-contextify-0.1.6/lib/contextify.js @@ -1,4 +1,4 @@ -var binding = require('bindings')('contextify'); +var binding = require('./contextify'); var ContextifyContext = binding.ContextifyContext; var ContextifyScript = binding.ContextifyScript; debian/patches/01-move_to_node-gyp.patch0000644000000000000000000000075212222332366015333 0ustar Description: node-waf is deprecated to node-gyp Execute node-gyp instead of node-waf . Author: Laszlo Boszormenyi (GCS) Last-Update: 2013-09-16 --- --- node-contextify-0.1.6.orig/Makefile +++ node-contextify-0.1.6/Makefile @@ -3,10 +3,10 @@ all: build .PHONY: test clean clean: - node-waf distclean + node-gyp distclean build: src/contextify.cc - node-waf distclean && node-waf configure build + node-gyp distclean && node-gyp configure build test: npm test debian/patches/series0000644000000000000000000000005712215607105012033 0ustar 00-fix_require.patch 01-move_to_node-gyp.patch debian/rules0000755000000000000000000000151312215605712010247 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_configure: node-gyp configure override_dh_auto_build: node-gyp build override_dh_install: dh_install dh_buildinfo mv $(CURDIR)/debian/node-contextify/usr/lib/nodejs/contextify/contextify.js \ $(CURDIR)/debian/node-contextify/usr/lib/nodejs/contextify/contextifyjs.js override_dh_shlibdeps: dpkg-shlibdeps \ -T$(CURDIR)/debian/node-contextify.substvars \ $(CURDIR)/debian/node-contextify/usr/lib/nodejs/contextify/contextify.node override_dh_strip: strip \ --remove-section=.comment \ --remove-section=.note \ --strip-unneeded \ $(CURDIR)/debian/node-contextify/usr/lib/nodejs/contextify/contextify.node override_dh_clean: dh_clean rm -rf build/ .lock-wscript override_dh_auto_test: debian/source/0000755000000000000000000000000012215606667010501 5ustar debian/source/format0000644000000000000000000000001411745603134011700 0ustar 3.0 (quilt) debian/source/include-binaries0000644000000000000000000000017412215606667013643 0ustar build/Release/contextify.node build/Release/obj.target/contextify.node build/Release/obj.target/contextify/src/contextify.o debian/watch0000644000000000000000000000020511745603134010220 0ustar version=3 https://alioth.debian.org/~dapal/npmjs.php?id=contextify \ http://registry.npmjs.org/contextify/-/contextify-(\d+.*)\.tgz