summaryrefslogtreecommitdiff
path: root/debian/control
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-07-17 18:54:18 +0200
committerGuillem Jover <guillem@debian.org>2016-07-19 01:03:36 +0200
commitd959233560317459336d39197f515c2042472762 (patch)
tree3dc1930595db523101de7c6cfc795e0d2ba23de4 /debian/control
parent8f673914ef6bb6fb831f242d1ca0f78cfe451634 (diff)
downloaddpkg-d959233560317459336d39197f515c2042472762.tar.gz
Dpkg::Source::Archive: Add support for reproducible source packages
Clamp the mtime of the source files when building the tarball to the first defined value from the source_date option, SOURCE_DATE_EPOCH environment variable or time(). This makes sure the generated source tarballs always contain the same mtime for files or directories that have been modified during the build.
Diffstat (limited to 'debian/control')
-rw-r--r--debian/control7
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index b2b322c54..c29e07c7a 100644
--- a/debian/control
+++ b/debian/control
@@ -50,7 +50,12 @@ Section: utils
Priority: optional
Architecture: all
Multi-Arch: foreign
-Depends: libdpkg-perl (= ${source:Version}), bzip2, xz-utils,
+Depends:
+ libdpkg-perl (= ${source:Version}),
+# Needed for --clamp-mtime.
+ tar (>= 1.28-1),
+ bzip2,
+ xz-utils,
patch (>= 2.7), make, binutils, base-files (>= 5.0.0), ${misc:Depends}
Recommends: gcc | c-compiler, build-essential, fakeroot,
gnupg | gnupg2, gpgv | gpgv2, libalgorithm-merge-perl