aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraham Inggs <ginggs@debian.org>2016-04-15 18:23:04 +0200
committerGraham Inggs <ginggs@debian.org>2016-04-15 18:23:04 +0200
commitcef9e7933e5c9704eaa5a6330067967f32e52798 (patch)
tree2bb192171d8d8521d58c39d26bb7deb06da03590
parentf10a553ab8851de17644fc6a31700d8b6dab61d0 (diff)
downloaddebian_htop-cef9e7933e5c9704eaa5a6330067967f32e52798.tar.gz
debian_htop-cef9e7933e5c9704eaa5a6330067967f32e52798.tar.bz2
debian_htop-cef9e7933e5c9704eaa5a6330067967f32e52798.zip
Use SOURCE_DATE_EPOCH instead of current year in copyright message
-rw-r--r--debian/changelog6
-rw-r--r--debian/patches/003-use-source-date-epoch.patch15
-rw-r--r--debian/patches/series1
3 files changed, 22 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index e71e1ad..40864ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+htop (2.0.1-2) UNRELEASED; urgency=medium
+
+ * Use SOURCE_DATE_EPOCH instead of current year in copyright message.
+
+ -- Graham Inggs <ginggs@debian.org> Fri, 15 Apr 2016 18:16:59 +0200
+
htop (2.0.1-1) unstable; urgency=medium
* New upstream release 2.0.1. (Closes: #814401, #783893, #774930)
diff --git a/debian/patches/003-use-source-date-epoch.patch b/debian/patches/003-use-source-date-epoch.patch
new file mode 100644
index 0000000..ce64b32
--- /dev/null
+++ b/debian/patches/003-use-source-date-epoch.patch
@@ -0,0 +1,15 @@
+Description: Use SOURCE_DATE_EPOCH instead of current year in copyright message
+ This should make the build reproducible
+Author: Graham Inggs <ginggs@debian.org>
+Last-Update: 2016-04-15
+--- a/configure.ac
++++ b/configure.ac
+@@ -4,7 +4,7 @@
+ AC_PREREQ(2.65)
+ AC_INIT([htop],[2.0.1],[hisham@gobolinux.org])
+
+-year=$(date +%Y)
++year=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y)
+
+ # The following two lines are required by hwloc scripts
+ AC_USE_SYSTEM_EXTENSIONS
diff --git a/debian/patches/series b/debian/patches/series
index 5a4f7c8..c5db75a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
001-lintian-warning-fix-man-typo.patch
002-lintian-warning-fix-desktop-keywords.patch
+003-use-source-date-epoch.patch
601-openvz-new-ctid-vpid.patch

© 2014-2024 Faster IT GmbH | imprint | privacy policy