[Pkg-javascript-commits] [node-hmac-drbg] 09/12: Finalize debian

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:20:14 UTC 2017


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

rouca pushed a commit to branch master
in repository node-hmac-drbg.

commit b7d8e3b027b734b2e5f5d18c059acb75333be881
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Sat Apr 29 11:48:59 2017 +0200

    Finalize debian
---
 debian/control   | 26 ++++++++++++++++++++++----
 debian/copyright | 10 ++++++++++
 debian/rules     |  9 ++++++++-
 3 files changed, 40 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 8cb4b35..5de90ce 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,12 @@ Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.deb
 Uploaders: Bastien Roucariès <rouca at debian.org>
 Build-Depends:
  debhelper (>= 10)
- , dh-buildinfo
- , nodejs (>= 4.7)
+ , dh-buildinfo , nodejs (>= 4.7)
+ , dpkg-dev (>= 1.17.14)
+ , node-assert (>= 1.0.0) <!nocheck>
+ , node-hash.js (>= 1.0.3) <!nocheck>
+ , node-minimalistic-crypto-utils (>= 1.0.1) <!nocheck>
+ , mocha (>= 1.20) <!nocheck>
 Standards-Version: 3.9.8
 Homepage: https://github.com/indutny/hmac-drbg#readme
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-hmac-drbg.git
@@ -20,7 +24,21 @@ Depends:
  , node-assert (>= 1.0.0)
  , node-hash.js (>= 1.0.3)
  , node-minimalistic-crypto-utils (>= 1.0.1)
-Description: Deterministic random bit generator (hmac)
- FIX_ME long description
+Description: Deterministic random bit generator (hmac) in pure javascript
+ This is a pure javascript implementation of deterministic random bit
+ generators defined in  section 10.1.2 of NIST SP 800-90A.
+ .
+ A  DRBG mechanism uses an algorithm that produces a sequence of bits
+ from an initial value that is determined by a seed that is determined
+ from the entropy input. Once the seed is provided and the initial
+ value is determined, the DRBG is said to be instantiated and may be
+ used to produce output.
+ .
+ Because of the deterministic nature of the process, a DRBG is
+ said to producepseudorandom bits, rather than random bits. The seed
+ used to instantiate the DRBG must contain sufficient entropy to
+ provide an assurance of randomness. If the seed is kept secret,and the
+ algorithm is well designed, the bits output by the DRBG will be
+ unpredictable, up to the instantiated security strength of the DRBG.
  .
  Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
index 84e7831..e41a674 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -7,6 +7,16 @@ Files: *
 Copyright: 2017 Fedor Indutny <fedor at indutny.com>
 License: Expat
 
+Files: test/fixtures/*
+Copyright: 2017 Fedor Indutny <fedor at indutny.com>
+           2003-2007 NIST (National Institute of Standards and Technology)
+License: Expat
+Comment: This are test vectors from NIST (http://www.nsrl.nist.gov/testdata/)
+ adapted by main author.
+ Moreover this a work of US government and moreover merely fact thus not
+ copyrightable. Expat license cover therefore only small parts of these
+ files if any.
+
 Files: debian/*
 Copyright: 2017 Bastien Roucariès <rouca at debian.org>
 License: Expat
diff --git a/debian/rules b/debian/rules
index de57af0..6dd948e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,14 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	mocha --reporter=spec test/*.js
+else
+	@echo '**********************************************************'
+	@echo 'Skip test suite                                           '
+	@echo '**********************************************************'
+endif
 
 
 

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



More information about the Pkg-javascript-commits mailing list