[Pkg-javascript-commits] [node-md5.js] 20/22: Improve packaging

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


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

rouca pushed a commit to branch master
in repository node-md5.js.

commit 425dea28ec1d2ba4f9003f22406df49a847bbcfc
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Sat Aug 26 16:56:24 2017 +0200

    Improve packaging
---
 debian/changelog |  4 ++--
 debian/compat    |  2 +-
 debian/control   | 25 +++++++++++++++++++------
 debian/rules     | 10 ++++++++--
 debian/watch     |  2 +-
 5 files changed, 31 insertions(+), 12 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2ebd84e..81fc6eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
-node-md5.js (1.3.4-1) UNRELEASED; urgency=low
+node-md5.js (1.3.4-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #873317)
 
  -- Bastien Roucariès <rouca at debian.org>  Sat, 26 Aug 2017 16:41:33 +0200
 
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 fdeb6dc..cb8ae0d 100644
--- a/debian/control
+++ b/debian/control
@@ -1,13 +1,17 @@
 Source: node-md5.js
-Section: web
+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 (>= 9)
+ debhelper (>= 10)
  , dh-buildinfo
- , nodejs
-Standards-Version: 3.9.8
+ , nodejs (>= 6)
+ , dpkg-dev (>= 1.17.14)
+ , node-inherits (>= 2.0.1) <!nocheck>
+ , node-hash-base (>= 3.0.0) <!nocheck>
+ , node-hash-test-vectors (>= 1.3.2) <!nocheck>
+Standards-Version: 4.1.0
 Homepage: https://github.com/crypto-browserify/md5.js
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-md5.js.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-md5.js.git
@@ -19,7 +23,16 @@ Depends:
  , nodejs
  , node-inherits (>= 2.0.1)
  , node-hash-base (>= 3.0.0)
-Description: node style md5 on pure JavaScript
- FIX_ME long description
+Description: implementation of MD5 in pure JavaScript
+ This module implement md5 on pure javascript for browserify.
+ .
+ The MD5 algorithm is a widely used hash function producing a 128-bit
+ hash value. Although  MD5 was initially designed to be used as a
+ cryptographic hash function, it has been found to suffer from
+ extensive vulnerabilities. It can still be used as a checksum to
+ verify data integrity,  but only against unintentional corruption.
+ .
+ Browserify is a JavaScript tool that allows developers to write
+ Node.js-style modules that compile for use in the browser.
  .
  Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/rules b/debian/rules
index de57af0..efc2f20 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) $(DEB_BUILD_PROFILES)))
+	node test/*.js
+else
+	@echo '**********************************************************'
+	@echo 'Skip test suite                                           '
+	@echo '**********************************************************'
+endif
 
diff --git a/debian/watch b/debian/watch
index 2c49fcf..1370398 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
-version=3
+version=4
 opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
 filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-md5.js-$1.tar.gz/ \

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



More information about the Pkg-javascript-commits mailing list