[arch-commits] Commit in postorius/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Sun Nov 8 10:47:28 UTC 2020


    Date: Sunday, November 8, 2020 @ 10:47:28
  Author: dvzrv
Revision: 746465

upgpkg: postorius 1.3.3-5: Rebuild to devendor calls to cloudflare for javascript.

Add upstream patch to devendor popper.js from cloudflare and use a local version instead.

Modified:
  postorius/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-08 10:40:45 UTC (rev 746464)
+++ PKGBUILD	2020-11-08 10:47:28 UTC (rev 746465)
@@ -2,7 +2,7 @@
 
 pkgname=postorius
 pkgver=1.3.3
-pkgrel=4
+pkgrel=5
 pkgdesc="The New Mailman Web UI"
 arch=('any')
 url="https://gitlab.com/mailman/postorius"
@@ -21,26 +21,32 @@
 )
 install="${pkgname}.install"
 source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
+        "${pkgname}-1.3.3-devendor_js.patch::https://gitlab.com/mailman/postorius/-/commit/9c2d612a7f0aed6189f078f2d384a0f987aeaa2b.patch"
+        "${pkgname}-1.3.2-settings.patch"
         "${pkgname}.sysusers"
         "${pkgname}.tmpfiles"
         "${pkgname}.uwsgi"
-        "${pkgname}-1.3.2-settings.patch")
+)
 sha512sums=('31d6d6d0dbbe8a57251c81cf8f7d8b80d17dd4aab9f31be684fef26637a4ba81a196d4ab63e7389bd4173a60778a00c83ee440c24f83a1f60b094ccab8cf345a'
             'SKIP'
+            '8ec0472490a2d2803b5273a7bd65c595d4ff7997c2b30931f32198565893154c1ce7fb70c9647685e4e265ed90a442369db6a6b2f5f5fec3f4394dab58212766'
+            '53713874043e368c71543966e878ff7a49f03088b7ebcff9487935bef2c20a57a561a122dd6b4cbde126c25b935871288dadd7693b831a94b8f27da52afeaa0c'
             '3884b818da2deb148279e50316f720c95f0aaa529777b1b3662d8ab253cda823a90682a9eb47e941ca5ba80eefcb9a2d4afacd29f0340d7f9828b36ebcee23b3'
             '44925c7ce6d1c13bd5bdd2cb449fa978b8eaadaac7ecff74075c23a13478decc4acd1f2cd0399bf55c312d6a08985a3e80f6e7a6e85be9e3dcb93ffb526ca9fb'
-            'c042f00d0d8dc72dadd19023152e55246c4d7a4b9d53bca3a05e7b8cb38cac5116417440d4ae82350820c7cb0cd414dcce45fa6af9be19296c4ebd0862dba896'
-            '53713874043e368c71543966e878ff7a49f03088b7ebcff9487935bef2c20a57a561a122dd6b4cbde126c25b935871288dadd7693b831a94b8f27da52afeaa0c')
+            'c042f00d0d8dc72dadd19023152e55246c4d7a4b9d53bca3a05e7b8cb38cac5116417440d4ae82350820c7cb0cd414dcce45fa6af9be19296c4ebd0862dba896')
 b2sums=('0ae5a7b3ace1ad7f64eae53156592d0c76a09e358d08edfe1b506717e87df67c669bfab356c203e28c03006f46461a67b4c7222e0e305100e15511a93e3e6a59'
         'SKIP'
+        'b7ee3f93d503f4b2eaee8ceeb76021262dabd427c7ebd71d644cdf2957ae59f796564e046e21643855d7cc4a39ba732948bcd1b8d3dc945592df09d4e712410a'
+        'c4017fe87b8743ae516e360be97efd767d726b043733a6dd880503e796e28f65c9ad5924b0fef53281e4fa73a1a329e818baedbe5dbbc0dc07db2af0cf25f1b7'
         '1ef6dc98c6751e6d65e49812d08d813879b791a7f13622ea31ecadae6dd1859a918761d7723732ed2e4872b9cae61b84c8dbfec2dd2522de9f0929a1ee1cec24'
         '502d59cb0009b7cdf108a1611d17470d1a73c2d06bf6d9509799b63d4bbb4bb0a2cb71a39eddb0dc5990ee6489625174de6ce2d7e04e77a601c90a6da6d69c84'
-        '4b80d60c88d46edd0e6e61ad2ff37ba3568c6c56a2abd449f903f7302aeec4a3bc91bbd3ee846731513fa1906df2e3d7d1c52b75a55214051fb96b048f9b4999'
-        'c4017fe87b8743ae516e360be97efd767d726b043733a6dd880503e796e28f65c9ad5924b0fef53281e4fa73a1a329e818baedbe5dbbc0dc07db2af0cf25f1b7')
+        '4b80d60c88d46edd0e6e61ad2ff37ba3568c6c56a2abd449f903f7302aeec4a3bc91bbd3ee846731513fa1906df2e3d7d1c52b75a55214051fb96b048f9b4999')
 validpgpkeys=('541EA0448453394FF77A0ECC9D9B2BA061D0A67C') # Abhilash Raj <raj.abhilash1 at gmail.com>
 
 prepare() {
   cd "$pkgname-$pkgver"
+  # devendor cloudflare javascript
+  patch -Np1 -i "../${pkgname}-1.3.3-devendor_js.patch"
   # patch global paths into settings.py
   patch -Np1 -i "../${pkgname}-1.3.2-settings.patch"
   touch settings_local.py



More information about the arch-commits mailing list