[Pkg-javascript-commits] [node-hash-test-vectors] 03/05: First debianization

Bastien Roucariès rouca at moszumanska.debian.org
Thu Apr 20 19:28:46 UTC 2017


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

rouca pushed a commit to branch master
in repository node-hash-test-vectors.

commit b722b5bdc9641fced91df354cf59d34879902a4b
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Wed Apr 19 10:04:56 2017 +0200

    First debianization
---
 debian/changelog     |  5 +++++
 debian/clean         |  2 ++
 debian/compat        |  1 +
 debian/control       | 31 +++++++++++++++++++++++++++++++
 debian/copyright     | 35 +++++++++++++++++++++++++++++++++++
 debian/docs          |  1 +
 debian/install       |  3 +++
 debian/rules         |  9 +++++++++
 debian/tests/control |  2 ++
 debian/tests/require |  3 +++
 debian/watch         | 11 +++++++++++
 11 files changed, 103 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c76ead4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-hash-test-vectors (1.3.2+dfsg-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)
+
+ -- Bastien Roucariès <rouca at debian.org>  Wed, 19 Apr 2017 09:33:07 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..c3c70c4
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+index.json
+hmac.json
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..a0a3c54
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: node-hash-test-vectors
+Section: web
+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
+Standards-Version: 3.9.8
+Homepage: https://github.com/crypto-browserify/hash-test-vectors
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-hash-test-vectors.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-hash-test-vectors.git
+
+Package: node-hash-test-vectors
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+Description: test vectors for hashes
+ This module includes test vectors for various hash and
+ cryptographic function. This test vectors are ready to use
+ and packaged as JSON data.
+ .
+ This package is used for testsuite of another Node.js modules.
+ .
+ JavaScript Object Notation or JSON is an open-standard format that uses
+ human-readable text to transmit data objects consisting of
+ attribute–value pair.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..084922c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: hash-test-vectors
+Upstream-Contact: https://github.com/crypto-browserify/hash-test-vectors/issues
+Source: https://github.com/crypto-browserify/hash-test-vectors
+Files-Excluded: rfc*
+Comment: remove rfc
+
+Files: *
+Copyright: 2015-2017 Dominic Tarr <dominic.tarr at gmail.com> (http://dominictarr.com)
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Bastien Roucariès <rouca at debian.org>
+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/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..0029d40
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+*.json usr/lib/nodejs/hash-test-vectors/
+*.js usr/lib/nodejs/hash-test-vectors/
+vectors usr/lib/nodejs/hash-test-vectors/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0c06312
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d58aed4
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-hash-test-vectors
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..855e1d6
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('hash-test-vectors');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..4e9eb78
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,11 @@
+version=4
+# It is not recommended use fakeupstream. Please investigate more.
+# Origin url: https://github.com/crypto-browserify/hash-test-vectors
+# 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/.*=//,\
+repacksuffix=+dfsg, \
+repack,compression=xz" \
+ http://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=npmjs/hash-test-vectors .*=hash-test-vectors-(\d.*)\.(?:tgz|tar\.(?:gz|bz2|xz))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-hash-test-vectors.git



More information about the Pkg-javascript-commits mailing list