[arch-commits] Commit in thunderbird-extension-enigmail/trunk (PKGBUILD)

Jonas Witschel diabonas at archlinux.org
Fri Jul 10 12:43:58 UTC 2020


    Date: Friday, July 10, 2020 @ 12:43:57
  Author: diabonas
Revision: 663093

upgpkg: thunderbird-extension-enigmail 2.1.7-2: make XPI timestamps reproducible

Modified:
  thunderbird-extension-enigmail/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-10 12:43:29 UTC (rev 663092)
+++ PKGBUILD	2020-07-10 12:43:57 UTC (rev 663093)
@@ -10,7 +10,7 @@
 
 pkgname=thunderbird-extension-enigmail
 pkgver=2.1.7
-pkgrel=1
+pkgrel=2
 pkgdesc="OpenPGP message encryption and authentication for Thunderbird"
 arch=('any')
 url="https://www.enigmail.net/"
@@ -19,15 +19,18 @@
 replaces=('thunderbird-enigmail')
 source=("https://www.enigmail.net/download/source/enigmail-${pkgver}.tar.gz"{,.asc}
         "0001-preferences-disable-pEpAutoDownload-by-default.patch"
-        "0001-Disable-Thunderbird-78-upgrade-warning-message.patch")
+        "0001-Disable-Thunderbird-78-upgrade-warning-message.patch"
+        "enigmail-reprodible-xpi-timestamps.patch::https://gitlab.com/enigmail/enigmail/-/commit/e905796792feff11ec92d3757e0c54dea0d605d3.patch")
 sha512sums=('1b57091c8ab9aaa086f327b78d904d688c850b6d39e37e2dac82e0629c0279723eae4608ecd08a24efe9ed1bdc86fbc497e97cd800c7349a70612a42b98f3e41'
             'SKIP'
             'baebd963400574db89be747a4419534f945bdc64136d4014656ff98a9615a23984bca724da3f3840670979aab08ce441eee067921e21d0cb216938a20ed785b2'
-            '4ddf887765e4296b3c639748d875b179d1e2a5fb38ad16e2918f115a9ff9a05e2f9c66218544f7ab8189f096908df761d4047fd5d23972c02737e46c4a0c843c')
+            '4ddf887765e4296b3c639748d875b179d1e2a5fb38ad16e2918f115a9ff9a05e2f9c66218544f7ab8189f096908df761d4047fd5d23972c02737e46c4a0c843c'
+            '1ba5b64fb93737899d61d1f6755822eb6de5ac29a5016cc1a6260c480904c347b656b9e37c6476bc3c07058d750ff90ff04b5ebe65844f88975b98ec3064eaac')
 b2sums=('8f6d1ec16b48219c75c6dbcddf4807ed57965eeec29776e7c757d5aa34da6bfdbbb58964ee3d7de2efcb65ab69fa5b020f1a8ec01cd8eee662d8195a217cdc69'
         'SKIP'
         'c593ed7b094d9feecb2f14624cf0628ab390c96f0fb0212ab0069333508b59057ef4b0518da1bf59eb8aaf0942303c4c45afab76d0b8e77a93763eab975cb4c0'
-        'a2ba38e56f14a87834023076a75a6c59bc17488104227d8db3e31072f2dcc6488808a980b4073111dec4cf4661349c3e995b8226808c3038d96f2cab666eb90b')
+        'a2ba38e56f14a87834023076a75a6c59bc17488104227d8db3e31072f2dcc6488808a980b4073111dec4cf4661349c3e995b8226808c3038d96f2cab666eb90b'
+        '906c099f4d01a5d265cc96172ad00e44fca7c043eaad9827f5f319b294134e522d615100027ddbb89638d0b553a64451f4f116ddef5549081ba888217cb8c252')
 validpgpkeys=('4F9F89F5505AC1D1A260631CDB1187B9DD5F693B') # Patrick Brunschwig <patrick at enigmail.net>
 
 prepare() {
@@ -39,6 +42,10 @@
 
     # Disable warning message in favour of a versioned dependency to discourage partial upgrades
     patch -p1 -i ../0001-Disable-Thunderbird-78-upgrade-warning-message.patch
+
+    # Make timestamps in the generated XPI file respect SOURCE_DATE_EPOCH
+    # (https://gitlab.com/enigmail/enigmail/-/merge_requests/45)
+    patch -p1 -i ../enigmail-reprodible-xpi-timestamps.patch
 }
 
 build() {



More information about the arch-commits mailing list