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

Felix Yan felixonmars at archlinux.org
Wed Jan 22 15:45:02 UTC 2020


    Date: Wednesday, January 22, 2020 @ 15:45:02
  Author: felixonmars
Revision: 554019

upgpkg: haskell-hopenpgp 2.9-17: rebuild with ghc 8.8.1, cabal-doctest 1.0.7, polyparse 1.13, primitive 0.7.0.0, regex-base 0.94.0.0, regex-pcre 0.95.0.0, regex-posix 0.96.0.0, regex-tdfa 1.3.1.0, easytest 0.3, unexceptionalio 0.5.0, gtk2hs-buildtools 0.13.8.0, ghc-typelits-natnormalise 0.7, resolv 0.1.1.3, ghc-typelits-knownnat 0.7.1, memory 0.15.0, RSA 2.4.1, foldl 1.4.6, lens 4.18, postgresql-binary 0.12.2, tls 1.5.0, safecopy 0.10.2, singletons 2.6, clash-prelude 1.0.1, store 0.7.1, hackage-security 0.6.0.0, pantry 0.2.0.0, mustache 2.3.1

Modified:
  haskell-hopenpgp/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-22 15:45:01 UTC (rev 554018)
+++ PKGBUILD	2020-01-22 15:45:02 UTC (rev 554019)
@@ -3,7 +3,7 @@
 _hkgname=hOpenPGP
 pkgname=haskell-hopenpgp
 pkgver=2.9
-pkgrel=16
+pkgrel=17
 pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
 url="http://floss.scru.org/hOpenPGP/"
 license=('MIT')
@@ -18,11 +18,18 @@
          'haskell-time-locale-compat' 'haskell-unliftio-core' 'haskell-unordered-containers'
          'haskell-wl-pprint-extras' 'haskell-zlib')
 makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('751c325eb7c33ad64a5cd20d13c414d1bd59fccd4f703871d029237431b4966998056360aa236e0bf3c3379245a9a610aa3ad9f3f3b83961918212bb1d7e315c')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+        hopenpgp-ghc-8.8.patch::https://salsa.debian.org/clint/hOpenPGP/commit/2c26a2e061178c08684b06f839066df05473da8c.patch)
+sha512sums=('751c325eb7c33ad64a5cd20d13c414d1bd59fccd4f703871d029237431b4966998056360aa236e0bf3c3379245a9a610aa3ad9f3f3b83961918212bb1d7e315c'
+            '0751b3a893335df5a267f05672dbac1f5bb48daeded9f3e2278568b7a5df30077c0cd5ccff4714b5743389f8db1e64b366d37595952b1f5f6a922d59c8a7a4a8')
 
 prepare() {
     cd $_hkgname-$pkgver
+    patch -p1 -i ../hopenpgp-ghc-8.8.patch
+    sed -i -e 's/ fail "partial body length support needed"/ error "partial body length support needed"/' \
+           -e 's/ fail ("too/ error ("too/' Codec/Encryption/OpenPGP/Serialize.hs
+    sed -i -e 's/ fail$/ error/' -e 's/fail "Non-V4/error "Non-V4/' -e 's/fail "This should/error "This should/' Codec/Encryption/OpenPGP/SerializeForSigs.hs
+    sed -i -e 's/fail "I think/error "I think/' -e 's/fail "MDC with/error "MDC with/' -e 's/fail \$/error $/' Data/Conduit/OpenPGP/Decrypt.hs
     sed -i '/semigroups/d' $_hkgname.cabal
 }
 



More information about the arch-commits mailing list