[Pkg-javascript-commits] [node-evp-bytestokey] 04/07: Fix debian package

Bastien Roucariès rouca at moszumanska.debian.org
Sat May 27 14:09:29 UTC 2017


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

rouca pushed a commit to branch master
in repository node-evp-bytestokey.

commit 5375528deea5ef0661417acbabae3c70252fce2f
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Thu May 11 15:19:22 2017 +0200

    Fix debian package
---
 debian/compat    |  2 +-
 debian/control   | 20 +++++++++++++++-----
 debian/copyright |  2 +-
 debian/rules     | 10 ++++++++--
 4 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index 0a243ff..daac3ff 100644
--- a/debian/control
+++ b/debian/control
@@ -4,9 +4,11 @@ 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 (>= 9)
+ debhelper (>= 10)
  , dh-buildinfo
- , nodejs
+ , nodejs (>= 4.7)
+ , dpkg-dev (>= 1.17.14)
+ , node-create-hash (>= 1.1.1) <!nocheck>
 Standards-Version: 3.9.8
 Homepage: https://github.com/crypto-browserify/EVP_BytesToKey
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-evp-bytestokey.git
@@ -16,9 +18,17 @@ Package: node-evp-bytestokey
 Architecture: all
 Depends:
  ${misc:Depends}
- , nodejs
+ , nodejs  (>= 4.7)
  , node-create-hash (>= 1.1.1)
-Description: he super secure key derivation algorithm from openssl
- FIX_ME long description
+Description: secure key derivation algorithm in pure javascript
+ This package derives a key and IV using well known
+ cipher and message digest algorithm, thus creating secure IV and
+ keys from salt. This package is a clean room implementation
+ of openssl algorithm.
+ .
+ In cryptography, an initialization vector (IV) or starting variable
+ is a fixed-size input to a cryptographic primitive that is typically
+ required to be random or pseudorandom.
  .
  Node.js is an event-based server-side JavaScript engine.
+
diff --git a/debian/copyright b/debian/copyright
index e7a517a..1f8a336 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,7 +4,7 @@ Upstream-Contact: https://github.com/crypto-browserify/EVP_BytesToKey/issues
 Source: https://github.com/crypto-browserify/EVP_BytesToKey
 
 Files: *
-Copyright: 2017 Calvin Metcalf <calvin.metcalf at gmail.com>
+Copyright: 2015 Calvin Metcalf <calvin.metcalf at gmail.com>
 License: Expat
 
 Files: debian/*
diff --git a/debian/rules b/debian/rules
index de57af0..9a7c6a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,13 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	nodejs 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-evp-bytestokey.git



More information about the Pkg-javascript-commits mailing list