[Git][debian-gis-team/pgrouting][master] Add patches by Vagrant Cascadian for reproducible builds. (closes: #1021799, #1021800)
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sat Oct 15 06:36:57 BST 2022
Bas Couwenberg pushed to branch master at Debian GIS Project / pgrouting
Commits:
192c8ce8 by Bas Couwenberg at 2022-10-15T07:36:39+02:00
Add patches by Vagrant Cascadian for reproducible builds. (closes: #1021799, #1021800)
- - - - -
4 changed files:
- debian/changelog
- + debian/patches/0001-CMakeLists.txt-Specify-UTC-for-TIMESTAMP.patch
- + debian/patches/0002-src-version-version.h.in-Use-CMAKE_SYSTEM_NAME-to-av.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+pgrouting (3.4.1-2) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Add patches by Vagrant Cascadian for reproducible builds.
+ (closes: #1021799, #1021800)
+
+ -- Bas Couwenberg <sebastic at debian.org> Sat, 15 Oct 2022 07:28:35 +0200
+
pgrouting (3.4.1-1) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/0001-CMakeLists.txt-Specify-UTC-for-TIMESTAMP.patch
=====================================
@@ -0,0 +1,17 @@
+Desription: CMakeLists.txt: Specify UTC for TIMESTAMP.
+ https://tests.reproducible-builds.org/debian/issues/bookworm/timestamps_in_cmake_issue.html
+Author: Vagrant Cascadian <vagrant at reproducible-builds.org>
+Bug-Debian: https://bugs.debian.org/1021799
+Forwarded: https://github.com/pgRouting/pgrouting/pull/2414
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -29,7 +29,7 @@ include(pgr/Version)
+ add_definitions(-DPROJECT_VERSION="${PROJECT_VERSION}${PROJECT_VERSION_DEV}")
+ set(PROJECT_LIB_NAME "${PROJECT_NAME_LOWER}-${PROJECT_LIB_VERSION}")
+
+-string(TIMESTAMP COMPILATION_DATE "%Y/%m/%d")
++string(TIMESTAMP COMPILATION_DATE "%Y/%m/%d" UTC)
+
+ set(MINORS 3.4 3.3 3.2 3.1 3.0 2.6)
+ set(OLD_SIGNATURES
=====================================
debian/patches/0002-src-version-version.h.in-Use-CMAKE_SYSTEM_NAME-to-av.patch
=====================================
@@ -0,0 +1,16 @@
+Description: src/version/version.h.in: Use CMAKE_SYSTEM_NAME to avoid embedding running kernel version.
+ https://tests.reproducible-builds.org/debian/issues/bookworm/captures_kernel_version_via_CMAKE_SYSTEM_issue.html
+Author: Vagrant Cascadian <vagrant at reproducible-builds.org>
+Bug-Debian: https://bugs.debian.org/1021800
+Forwarded: https://github.com/pgRouting/pgrouting/pull/2414
+
+--- a/src/version/version.h.in
++++ b/src/version/version.h.in
+@@ -30,6 +30,6 @@ Foundation, Inc., 51 Franklin Street, Fi
+ #define COMPILATION_DATE "@COMPILATION_DATE@";
+ #define PROJECT_GIT_HASH "@PROJECT_GIT_HASH@";
+ #define PROJECT_LIB_NAME "@PROJECT_NAME_LOWER at -@PROJECT_VERSION@";
+-#define CMAKE_SYSTEM_NAME "@CMAKE_SYSTEM@";
++#define CMAKE_SYSTEM_NAME "@CMAKE_SYSTEM_NAME@";
+ #define POSTGRES_VERSION "@POSTGRESQL_VERSION_STRING@";
+
=====================================
debian/patches/series
=====================================
@@ -1,3 +1,5 @@
privacy-breach-uses-embedded-file.patch
extension-no-version
sphinx-version
+0001-CMakeLists.txt-Specify-UTC-for-TIMESTAMP.patch
+0002-src-version-version.h.in-Use-CMAKE_SYSTEM_NAME-to-av.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/pgrouting/-/commit/192c8ce8eabfb44bcb64e3740d284f27da97b85f
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pgrouting/-/commit/192c8ce8eabfb44bcb64e3740d284f27da97b85f
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/pkg-grass-devel/attachments/20221015/9f379ba7/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list