[testu01] 01/01: Imported Debian patch 1.2.3+ds-2 (refreshment)

Jerome Benoit calculus-guest at moszumanska.debian.org
Wed May 18 23:05:10 UTC 2016


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

calculus-guest pushed a commit to branch master
in repository testu01.

commit 8fd9dbe815d085abeb07dfb0f30e655851cb3ef4
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Wed May 18 23:38:04 2016 +0100

    Imported Debian patch 1.2.3+ds-2 (refreshment)
---
 debian/changelog            | 15 +++++++++++++++
 debian/control              | 33 +++------------------------------
 debian/copyright            |  4 ++--
 debian/rules                |  5 ++---
 debian/tests/build-examples | 13 +++++++++++++
 debian/tests/control        |  2 ++
 6 files changed, 37 insertions(+), 35 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d5df630..83790aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+testu01 (1.2.3+ds-2) unstable; urgency=medium
+
+  * Debianization:
+    - debian/copyright, refresh;
+    - debian/control:
+      - Standards Version, bump to 3.9.8 (no change);
+      - Vcs-*, secure;
+      - debug symbol package, drop off in favour of automatic generation;
+    - debian/rules:
+      - dpkg-buildflags, add hardening=+all;
+      - debug symbol package, drop off (see above);
+    - debian/tests/*, introduce.
+
+ -- Jerome Benoit <calculus at rezozer.net>  Wed, 18 May 2016 22:23:39 +0000
+
 testu01 (1.2.3+ds-1) unstable; urgency=medium
 
   * Initial release. (Closes: #596005)
diff --git a/debian/control b/debian/control
index 756e256..58ea2e1 100644
--- a/debian/control
+++ b/debian/control
@@ -9,10 +9,10 @@ Build-Depends:
  libgmp-dev
 Build-Depends-Indep:
  texlive-latex-base, texlive-latex-recommended, texlive-latex-extra
-Standards-Version: 3.9.6
+Standards-Version: 3.9.8
 Homepage: http://simul.iro.umontreal.ca/testu01/tu01.html
-Vcs-Git: git://anonscm.debian.org/debian-science/packages/testu01.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/testu01.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/testu01.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/testu01.git
 XS-Autobuild: yes
 
 Package: libtestu01-0
@@ -122,33 +122,6 @@ Description: testing suite for uniform random number generators -- headers
  This package contains the header files that developers using the TestU01
  libraries will need.
 
-Package: libtestu01-0-dbg
-Provides: libtestu01-dbg
-Section: non-free/debug
-Priority: extra
-Architecture: any
-Depends: libtestu01-0 (=${binary:Version}), ${misc:Depends}
-Conflicts: libtestu01-dbg
-Multi-Arch: same
-Description: testing suite for uniform random number generators -- debug
- TestU01 is a software library, implemented in the ANSI C language, and
- offering a collection of utilities for the empirical statistical testing
- of uniform random number generators.
- .
- TestU01 implements several types of random number generators in generic
- form, as well as many specific generators proposed in the literature or
- found in widely-used software. It provides general implementations of the
- classical statistical tests for random number generators, as well as several
- others proposed in the literature, and some original ones. These tests can
- be applied to the generators predefined in the library and to user-defined
- generators. Specific tests suites for either sequences of uniform random
- numbers in [0,1] or bit sequences are also provided, as well as basic tools
- for plotting vectors of points produced by generators and more advanced
- tools for more involved tests and usage.
- .
- This package provides debugging symbols for the libraries from the
- libtestu01-0-dev package.
-
 Package: testu01-doc
 Section: non-free/doc
 Architecture: all
diff --git a/debian/copyright b/debian/copyright
index a972e25..387a363 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -52,7 +52,7 @@ Files-Excluded:
 
 Files: *
 Copyright:
- 2002-2015 Pierre L'Ecuyer <lecuyer at iro.umontreal.ca>
+ 2002-2016 Pierre L'Ecuyer <lecuyer at iro.umontreal.ca>
 License: PLE-adhoc
 Comment:
  According to Pierre l"Ecuyer, the license under which his hosting University
@@ -61,7 +61,7 @@ Comment:
 
 Files: debian/*
 Copyright:
- 2015 Jerome Benoit <calculus at rezozer.net>
+ 2015-2016 Jerome Benoit <calculus at rezozer.net>
 License: GPL-3+
 
 Files: debian/adhoc/examples/RandomOrg.bin
diff --git a/debian/rules b/debian/rules
index 4651f11..dd660b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 export ACLOCAL_PATH=/usr/share/gnulib/m4
@@ -49,9 +51,6 @@ override_dh_installchangelogs:
 override_dh_compress-indep:
 	dh_compress -X.pdf -Xexamples
 
-override_dh_strip:
-	dh_strip --dbg-package=libtestu01-0-dbg
-
 override_dh_autoreconf_clean:
 	dh_autoreconf_clean
 	rm -f include/Makefile.def
diff --git a/debian/tests/build-examples b/debian/tests/build-examples
new file mode 100755
index 0000000..33c3b24
--- /dev/null
+++ b/debian/tests/build-examples
@@ -0,0 +1,13 @@
+#!/bin/sh
+# autopkgtest check: build and launch program examples
+set -ue
+cd $ADTTMP
+
+cp -prd /usr/share/doc/testu01-doc/examples .
+cd examples
+
+make check
+
+##make pdf
+
+exit 0
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..4127cb4
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: build-examples
+Depends: testu01-doc, libtestu01-0-dev, build-essential

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/testu01.git



More information about the debian-science-commits mailing list