[Pkg-javascript-commits] [node-express-generator] 02/02: first debian files commit

Leo Iannacone l3on-guest at moszumanska.debian.org
Tue Apr 29 08:50:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

l3on-guest pushed a commit to branch master
in repository node-express-generator.

commit 44b8f5a95fb6aba62d1284dece361119cf8a610d
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Tue Apr 29 10:50:01 2014 +0200

    first debian files commit
---
 debian/changelog                           |  5 +++++
 debian/compat                              |  1 +
 debian/control                             | 33 +++++++++++++++++++++++++++++
 debian/copyright                           | 33 +++++++++++++++++++++++++++++
 debian/dirs                                |  1 +
 debian/docs                                |  1 +
 debian/express.1                           | 34 ++++++++++++++++++++++++++++++
 debian/install                             |  3 +++
 debian/links                               |  1 +
 debian/manpages                            |  1 +
 debian/patches/01-fix_nodejs_shebang.patch | 34 ++++++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 debian/rules                               | 15 +++++++++++++
 debian/source/format                       |  1 +
 debian/watch                               |  3 +++
 15 files changed, 167 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4f95b7e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-express-generator (4.0.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #746281)
+
+ -- Leo Iannacone <l3on at ubuntu.com>  Mon, 28 Apr 2014 18:46:37 +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..2cf079f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: node-express-generator
+Section: web
+Priority: extra
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Leo Iannacone <l3on at ubuntu.com>
+Build-Depends:
+ debhelper (>= 9)
+ , dh-buildinfo
+ , nodejs
+Standards-Version: 3.9.5
+Homepage: https://github.com/expressjs/generator
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-express-generator.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-express-generator.git
+
+Package: node-express-generator
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+ , node-mkdirp
+ , node-commander
+Recommends:
+ node-express (>= 4.1.1-1)
+Replaces: node-express (<< 4.1.1-1)
+Breaks: node-express (<< 4.1.1-1)
+Description: express applications generator
+ This package provides the binary `express` which
+ helps you to generate your first web application in express
+ starting from common templates.
+ .
+ This is the quickest way to start using express framework.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0ddf0f9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: express-generator
+Upstream-Contact: https://github.com/expressjs/generator/issues
+Source: https://github.com/expressjs/generator
+
+Files: *
+Copyright: 2014 TJ Holowaychuk <tj at vision-media.ca>
+License: Expat
+
+Files: debian/*
+Copyright: 2014 Leo Iannacone <l3on at ubuntu.com>
+License: Expat
+
+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.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..1e881ed
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
\ No newline at end of file
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/express.1 b/debian/express.1
new file mode 100644
index 0000000..5dd993c
--- /dev/null
+++ b/debian/express.1
@@ -0,0 +1,34 @@
+.TH SkyTG24 1
+.SH NAME
+.B express
+- the quickest way to start using express framework
+
+.SH DESCRIPTION
+Applications generator for
+.B express
+framework. Generate your first web application in express
+starting from common templates.
+
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+output usage information
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+output the version number
+.TP
+\fB\-e\fR, \fB\-\-ejs\fR
+add ejs engine support (defaults to jade)
+.TP
+\fB\-H\fR, \fB\-\-hogan\fR
+add hogan.js engine support
+.TP
+\fB\-c\fR, \fB\-\-css\fR <engine>
+add stylesheet <engine> support (less|stylus|compass) (defaults to plain css)
+.TP
+\fB\-f\fR, \fB\-\-force\fR
+force on non\-empty directory
+
+.SH AUTHOR
+This manual page was written by Leo Iannacone <l3on at ubuntu.com> for
+the Debian system (but may be used by others).
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..f0346f3
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+package.json usr/lib/nodejs/express-generator/
+bin usr/lib/nodejs/express-generator/
+templates usr/lib/nodejs/express-generator/
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..3f4aa8f
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/lib/nodejs/express-generator/bin/express usr/bin/express
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..fd29734
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/express.1
diff --git a/debian/patches/01-fix_nodejs_shebang.patch b/debian/patches/01-fix_nodejs_shebang.patch
new file mode 100644
index 0000000..d454d61
--- /dev/null
+++ b/debian/patches/01-fix_nodejs_shebang.patch
@@ -0,0 +1,34 @@
+Description: Fix nodejs shebang.
+Author: Leo Iannacone <l3on at ubuntu.com>
+Forwarded: no-needed
+
+---
+ bin/express      |    4 ++--
+ templates/js/www |    2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+--- a/bin/express
++++ b/bin/express
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/nodejs
+ 
+ var program = require('commander');
+ var mkdirp = require('mkdirp');
+@@ -156,7 +156,7 @@
+         name: 'application-name'
+       , version: '0.0.1'
+       , private: true
+-      , scripts: { start: 'node ./bin/www' }
++      , scripts: { start: 'nodejs ./bin/www' }
+       , dependencies: {
+           'express': '~4.0.0',
+           'static-favicon': '~1.0.0',
+--- a/templates/js/www
++++ b/templates/js/www
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/nodejs
+ var debug = require('debug')('my-application');
+ var app = require('../app');
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7d632c8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-fix_nodejs_shebang.patch
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/watch b/debian/watch
new file mode 100644
index 0000000..fab25f7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-express-generator-$1.tar.gz/ \
+ https://github.com/expressjs/generator/tags .*/archive/v?([\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-express-generator.git



More information about the Pkg-javascript-commits mailing list