[Pkg-javascript-commits] [node-log-driver] 04/15: First debian version

Bastien Roucariès rouca at moszumanska.debian.org
Wed Sep 6 09:49:10 UTC 2017


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

rouca pushed a commit to branch master
in repository node-log-driver.

commit 9e1c01fe37c082ffb56255a5be4c4096a40237ad
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Thu Aug 24 21:48:18 2017 +0200

    First debian version
---
 debian/changelog     |  8 ++++++++
 debian/compat        |  1 +
 debian/control       | 32 ++++++++++++++++++++++++++++++++
 debian/copyright     |  2 ++
 debian/docs          |  1 +
 debian/install       |  2 ++
 debian/rules         | 15 +++++++++++++++
 debian/tests/control |  2 ++
 debian/tests/require |  3 +++
 debian/watch         |  9 +++++++++
 10 files changed, 75 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e97aa63
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,8 @@
+node-log-driver (1.2.5+2017301git8cfc1bf3f8f2fa38a3+dsfg-1) unstable; urgency=low
+
+  * Initial release (Closes: #873135).
+  * Get git revision in order to get a LICENSE file.
+  * Repack in order to avoid screen capture without copyright file.
+
+ -- Bastien Roucariès <rouca at debian.org>  Thu, 24 Aug 2017 21:12:06 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d9db848
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: node-log-driver
+Section: javascript
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Bastien Roucariès <rouca at debian.org>
+Build-Depends:
+ debhelper (>= 10)
+ , dh-buildinfo
+ , nodejs (>=6)
+Standards-Version: 4.1.0
+Homepage: https://github.com/cainus/logdriver
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-log-driver.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-log-driver.git
+
+Package: node-log-driver
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+Description: simple logging framework in pure javascript
+ This module implement logging to stdout and concatenate before
+ every message the log level severity (configurable)
+ date, time and local time zone. This modules allows ones
+ to easily trace log event even.
+ .
+ In all the cases logs are redirected to stdout in order to allows one
+ to pipe output to irc or logger  program
+ .
+ This modules is needed by tools like coveralls, a coverage tools
+ for javascript program.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
index 31760a1..90ff87f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,8 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: log-driver
 Upstream-Contact: https://github.com/cainus/logdriver/issues
 Source: https://github.com/cainus/logdriver
+Files-Excluded: waltz.jpg
+Comment: screen capture
 
 Files: *
 Copyright: 2014-2017, Gregg Caines <gregg at caines.ca>
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..8ffa125
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+index.js usr/lib/nodejs/log-driver/
+package.json usr/lib/nodejs/log-driver/
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/tests/control b/debian/tests/control
new file mode 100644
index 0000000..929b7d5
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-log-driver
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..51a3e7e
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('log-driver');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..038e8ea
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,9 @@
+version=4
+# It is not recommended use fakeupstream. Please investigate more.
+# Origin url: https://github.com/cainus/logdriver
+# Take a look at https://wiki.debian.org/debian/watch/
+# See also fakeupstream: http://anonscm.debian.org/viewvc/qa/trunk/cgi-bin/fakeupstream.cgi?view=markup
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*=// \
+ http://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=npmjs/log-driver .*=log-driver-(\d.*)\.(?:tgz|tar\.(?:gz|bz2|xz))

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



More information about the Pkg-javascript-commits mailing list