[Pkg-javascript-commits] [node-starttls] 01/01: Import Debian changes 1.0.1-2

Thorsten Alteholz alteholz at moszumanska.debian.org
Sun Sep 17 17:03:17 UTC 2017


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

alteholz pushed a commit to branch master
in repository node-starttls.

commit 8e7f99cfa73e1fda7888b2be0155175d420453b2
Author: Thorsten Alteholz <debian at alteholz.de>
Date:   Fri Sep 15 18:58:32 2017 +0200

    Import Debian changes 1.0.1-2
    
    node-starttls (1.0.1-2) unstable; urgency=medium
    
      * fix tests (Closes: #819715)
      * debian/control: bump standard to 4.1.0 (no changes)
      * debian/control: use dh10
---
 debian/README.Debian              |  6 ++++++
 debian/changelog                  |  8 ++++++++
 debian/compat                     |  2 +-
 debian/control                    |  4 ++--
 debian/patches/disable-test.patch | 14 ++++++++++++++
 debian/patches/series             |  1 +
 debian/rules                      |  7 +++----
 7 files changed, 35 insertions(+), 7 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..5b8f7ed
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,6 @@
+The tests of this package create connections to the real internet,
+especially to:
+  projects.icij.org.s3.amazonaws.com
+which has a broken certificate.
+So I disabled them and run them manually before upload with:
+  make test
diff --git a/debian/changelog b/debian/changelog
index efb4c29..d10ec66 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+node-starttls (1.0.1-2) unstable; urgency=medium
+
+  * fix tests (Closes: #819715)
+  * debian/control: bump standard to 4.1.0 (no changes)
+  * debian/control: use dh10
+
+ -- Thorsten Alteholz <debian at alteholz.de>  Fri, 15 Sep 2017 18:58:32 +0200
+
 node-starttls (1.0.1-1) unstable; urgency=medium
 
   * Initial release
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 a6faa39..a5d8a10 100644
--- a/debian/control
+++ b/debian/control
@@ -4,11 +4,11 @@ Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Thorsten Alteholz <debian at alteholz.de>
 Build-Depends:
- debhelper (>= 9)
+ debhelper (>= 10)
  , dh-buildinfo
  , nodejs
  , mocha
-Standards-Version: 3.9.7
+Standards-Version: 4.1.0
 Homepage: https://github.com/mattcg/starttls
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-starttls.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-starttls.git
diff --git a/debian/patches/disable-test.patch b/debian/patches/disable-test.patch
new file mode 100644
index 0000000..6d5a392
--- /dev/null
+++ b/debian/patches/disable-test.patch
@@ -0,0 +1,14 @@
+Description: do not run test, see README.Debian
+Author: Thorsten Alteholz <debian at alteholz.de>
+Index: node-starttls/Makefile
+===================================================================
+--- node-starttls.orig/Makefile	2017-09-15 14:26:01.331174694 +0200
++++ node-starttls/Makefile	2017-09-15 14:26:37.808797772 +0200
+@@ -1,7 +1,3 @@
+ test: lib/*.js
+-	mocha \
+-		--reporter dot \
+-		--check-leaks \
+-		--ui tdd
+ 
+ .PHONY: test
diff --git a/debian/patches/series b/debian/patches/series
index 43ae241..bbf31a9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 no-npm-install.patch
+disable-test.patch
diff --git a/debian/rules b/debian/rules
index de57af0..b4a8bc9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,6 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	# don't do anythin here, see README.Debian
+	echo "do nothing"

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



More information about the Pkg-javascript-commits mailing list