[Pkg-javascript-commits] [node-require-main-filename] 02/02: Imported Debian patch 1.0.1-1
Thorsten Alteholz
alteholz at moszumanska.debian.org
Sun Apr 3 14:47:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
alteholz pushed a commit to branch master
in repository node-require-main-filename.
commit 25e43a5e08ef1ef024f998b424713e61b1a1dd29
Author: Thorsten Alteholz <debian at alteholz.de>
Date: Tue Mar 29 15:01:50 2016 +0200
Imported Debian patch 1.0.1-1
---
debian/changelog | 6 ++++++
debian/compat | 1 +
debian/control | 30 ++++++++++++++++++++++++++++++
debian/copyright | 26 ++++++++++++++++++++++++++
debian/docs | 1 +
debian/install | 2 ++
debian/rules | 15 +++++++++++++++
debian/source/format | 1 +
debian/tests/control | 2 ++
debian/tests/require | 3 +++
debian/watch | 5 +++++
11 files changed, 92 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6ba99c8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-require-main-filename (1.0.1-1) unstable; urgency=medium
+
+ * Initial release
+
+ -- Thorsten Alteholz <debian at alteholz.de> Tue, 29 Mar 2016 15:01:50 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9effa9d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: node-require-main-filename
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Thorsten Alteholz <debian at alteholz.de>
+Build-Depends:
+ debhelper (>= 9)
+ , dh-buildinfo
+ , nodejs
+Standards-Version: 3.9.7
+Homepage: https://github.com/yargs/require-main-filename#readme
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-require-main-filename.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-require-main-filename.git
+
+Package: node-require-main-filename
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+Description: shim for require.main.filename() that works in as many environments as possible
+ require.main.filename is great for figuring out the entry point for the
+ current application. This can be combined with a module like pkg-conf
+ to, as if by magic, load top-level configuration.
+ .
+ Unfortunately, require.main.filename sometimes fails when an application
+ is executed with an alternative process manager, e.g., iisnode.
+ .
+ require-main-filename is a shim that addresses this problem.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..40cfa25
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: require-main-filename
+Upstream-Contact: https://github.com/yargs/require-main-filename/issues
+Source: https://github.com/yargs/require-main-filename#readme
+
+Files: *
+Copyright: 2016 Ben Coe <ben at npmjs.com>
+License: ISC
+
+Files: debian/*
+Copyright: 2016 Thorsten Alteholz <debian at alteholz.de>
+License: ISC
+
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..747ed92
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+package.json usr/lib/nodejs/require-main-filename/
+index.js usr/lib/nodejs/require-main-filename/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..de57af0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@
+
+#override_dh_auto_build:
+
+#override_dh_auto_test:
+
+
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..4d54da5
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-require-main-filename
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..86b7727
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('require-main-filename');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c4f76ae
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-require-main-filename-$1.tar.gz/ \
+ https://github.com/yargs/require-main-filename/tags .*/archive/v?([\d\.]+).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-require-main-filename.git
More information about the Pkg-javascript-commits
mailing list