Your message dated Sat, 14 Mar 2020 19:26:51 +0000
with message-id <[email protected]>
and subject line Bug#939422: Removed package(s) from unstable
has caused the Debian Bug report #786927,
regarding flowscan: please make the build reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
786927: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786927
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: flowscan
Version: 1.006-13.2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
Hi!
While working on the “reproducible builds” effort [1], we have noticed
that flowscan could not be built reproducibly.
The attached patch removes extra timestamps from the gzipped docs and
fixes the files mtime before building the binary packages. Once applied,
flowscan can be built reproducibly in our current experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
--
Dhole
diff --git a/flowscan-1.006/debian/rules b/flowscan-1.006/debian/rules
index feb2edb..d5b1ead 100755
--- a/flowscan-1.006/debian/rules
+++ b/flowscan-1.006/debian/rules
@@ -6,6 +6,7 @@
CF = "-g -Wall -D_REENTRANT -fPIC"
TMP =$(CURDIR)/debian/$(PACKAGE)
+BUILD_DATE=$(shell dpkg-parsechangelog --show-field Date)
binary: binary-arch binary-indep
@@ -25,7 +26,7 @@ binary-indep: build
install -d -m 755 debian/tmp/usr/share/man/man1
install -p -m 644 man/*.1 debian/tmp/usr/share/man/man1
- gzip -9 debian/tmp/usr/share/man/man1/*.1
+ gzip -9n debian/tmp/usr/share/man/man1/*.1
install -d -m 755 debian/tmp/usr/share/doc/flowscan
install -p -m 644 Changes debian/tmp/usr/share/doc/flowscan/changelog
@@ -33,7 +34,7 @@ binary-indep: build
install -p -m 644 INSTALL debian/tmp/usr/share/doc/flowscan/UserManual
install -p -m 644 debian/changelog
debian/tmp/usr/share/doc/flowscan/changelog.Debian
install -p -m 644 debian/README.Debian debian/tmp/usr/share/doc/flowscan
- gzip -9 debian/tmp/usr/share/doc/flowscan/*
+ gzip -9n debian/tmp/usr/share/doc/flowscan/*
install -d -m 755 debian/tmp/usr/share/doc/flowscan/html
install -d -m 755 debian/tmp/usr/share/doc/flowscan/pod
install -p -m 644 CampusIO.html README.html SubNetIO.html
debian/tmp/usr/share/doc/flowscan/html
@@ -47,7 +48,7 @@ binary-indep: build
install -p -m 644 cf/* debian/tmp/etc/flowscan
install -p -m 644 cf/* debian/tmp/usr/share/doc/flowscan/examples/cf
install -p -m 644 rc/linux/*
debian/tmp/usr/share/doc/flowscan/examples/rc
- gzip -r9 debian/tmp/usr/share/doc/flowscan/examples/*
+ gzip -r9n debian/tmp/usr/share/doc/flowscan/examples/*
install -p -m 644 debian/conffiles debian/tmp/DEBIAN
# install -p -m 755 debian/config debian/preinst debian/tmp/DEBIAN
@@ -59,6 +60,8 @@ binary-indep: build
dpkg-shlibdeps debian/tmp/usr/bin/*
dpkg-gencontrol -isp
+ find debian/tmp -depth -newermt '$(BUILD_DATE)' -print0 | \
+ xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
dpkg --build debian/tmp ..
build:
--- End Message ---
--- Begin Message ---
Version: 1.006-13.2+rm
Dear submitter,
as the package flowscan has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/939422
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---