[med-svn] [Git][med-team/sprai][master] 5 commits: Make the build reproducible

Andreas Tille gitlab at salsa.debian.org
Wed Apr 15 16:05:45 BST 2020



Andreas Tille pushed to branch master at Debian Med / sprai


Commits:
a2764a98 by Andreas Tille at 2020-04-15T16:51:44+02:00
Make the build reproducible

- - - - -
03cec2df by Andreas Tille at 2020-04-15T16:54:49+02:00
Remove unused license paragraph

- - - - -
27cd15a0 by Andreas Tille at 2020-04-15T16:56:37+02:00
Refresh lintian-overrides

- - - - -
73e2ec11 by Andreas Tille at 2020-04-15T17:01:35+02:00
Silence lintian about dversionmangle

- - - - -
94e521fd by Andreas Tille at 2020-04-15T17:02:47+02:00
Upload to unstable

- - - - -


7 changed files:

- debian/changelog
- debian/copyright
- + debian/patches/cflags.patch
- debian/patches/series
- debian/rules
- debian/source/lintian-overrides
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-sprai (0.9.9.23+dfsg1-1) UNRELEASED; urgency=medium
+sprai (0.9.9.23+dfsg1-1) unstable; urgency=medium
 
   [ Adrian Bunk ]  
   * Use CURDIR instead of PWD
@@ -11,7 +11,11 @@ sprai (0.9.9.23+dfsg1-1) UNRELEASED; urgency=medium
   * Remove debian/repack-waf since unused
   * Update debian/README.source
 
- -- Andreas Tille <tille at debian.org>  Wed, 15 Apr 2020 16:21:43 +0200
+  [ Chris Lamb ]
+  * Make the build reproducible
+    Closes: #956473
+
+ -- Andreas Tille <tille at debian.org>  Wed, 15 Apr 2020 17:01:52 +0200
 
 sprai (0.9.9.23+dfsg-3) unstable; urgency=medium
 


=====================================
debian/copyright
=====================================
@@ -48,29 +48,6 @@ License: MIT
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-License: BSD-3-Clause
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
-    notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
-    notice, this list of conditions and the following disclaimer in the
-    documentation and/or other materials provided with the distribution.
- 3. The name of the author may not be used to endorse or promote products
-    derived from this software without specific prior written permission.
- THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
- IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
- IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-
 License: BSD-3-Clause/PacBio
  Redistribution and use in source and binary forms, with or without
  modification, are permitted (subject to the limitations in the


=====================================
debian/patches/cflags.patch
=====================================
@@ -0,0 +1,28 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Bug-Debian: https://bugs.debian.org/956473
+Last-Update: 2020-04-11
+
+--- a/makefile
++++ b/makefile
+@@ -38,16 +38,16 @@ check_circularity.pl \
+ all: $(COMPILED)
+ 
+ bfmt72s: bfmt72s.c
+-	$(CC) -Wall -O3 -g -o $@ $<
++	$(CC) -Wall -O3 -g $(CFLAGS) -o $@ $<
+ 
+ nss2v_v3: nss2v_v3.c
+-	$(CC) -Wall -O3 -g -o $@ $<
++	$(CC) -Wall -O3 -g $(CFLAGS) -o $@ $<
+ 
+ myrealigner: myrealigner.c
+-	$(CC) -Wall -O3 -g -o $@ $^
++	$(CC) -Wall -O3 -g $(CFLAGS) -o $@ $^
+ 
+ m52bfmt7: m52bfmt7.c
+-	$(CC) -Wall -O3 -g -o $@ $<
++	$(CC) -Wall -O3 -g $(CFLAGS) -o $@ $<
+ 
+ 
+ install: $(COMPILED) $(SCRIPTS)


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ libexec.patch
 example-specs.patch
 makefile.patch
 no-pwd.patch
+cflags.patch


=====================================
debian/rules
=====================================
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 %:
 	dh $@
 


=====================================
debian/source/lintian-overrides
=====================================
@@ -1,3 +1,3 @@
-# It does; lintian probably didn't detect it because
-# I have listed each opt on its own line.
-debian-watch-file-should-mangle-version line 10
+# There is not even an upstream site any more - so suppress this noise
+sprai source: upstream-metadata-missing-bug-tracking
+sprai source: upstream-metadata-missing-repository


=====================================
debian/watch
=====================================
@@ -1,6 +1,6 @@
 version=4
 
-opts=dversionmangle=s/.*/0.No-Site/ \
+opts="dversionmangle=s/.*/0.No-Site/;auto" \
   https://people.debian.org/~eriberto/ FakeWatchNoUpstreamSiteForThisPackage-(\d\S+)\.gz
 
 # Upstream site vanished and parsing web.archive does not sound sensible (not even possible)



View it on GitLab: https://salsa.debian.org/med-team/sprai/-/compare/7f9ff9f0ecc8c4d66cce704edfb4c780daf61a4f...94e521fd353d60b8816c9623787585a7a399c0ad

-- 
View it on GitLab: https://salsa.debian.org/med-team/sprai/-/compare/7f9ff9f0ecc8c4d66cce704edfb4c780daf61a4f...94e521fd353d60b8816c9623787585a7a399c0ad
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200415/f595f617/attachment-0001.html>


More information about the debian-med-commit mailing list