Update to base64-bytestring-1.2.0.1

1.2.0.1
* Package update: support for bytestring >=0.11

1.2.0.0
* Security fix: reject non-canonical base64 encoded values - (#38)
  fixing issue #24.
* Security fix: reject bytestrings with improper padding that can be
  "completed" by the unpadded-Base64url workflow, and homogenize error
  messages (#33)
* Test coverage expanded to 98% of the library. All critical paths
  covered.

1.1.0.0
* joinWith has been removed (#32)
* Bugfix: decode formerly allowed for padding chars to be interspersed
  in a valid base64-encoded string. This is now not the case, and it
  is fully spec-compliant as of #31
* The default behavior for Base64url decode is now to support
  arbitrary padding. If you need strict padded or unpadded decode
  semantics, use decodePadded or decodeUnpadded.
* Added strict unpadded and padded decode functions for Base64url
  (#30)
* Added unpadded encode for Base64url (#26).

1.0.0.3
* Made performance more robust (#27).
* Improved documentation (#23).
* Improved the performance of decodeLenient a bit (#21).
This commit is contained in:
pho 2021-04-23 08:54:21 +00:00
parent bc3872542a
commit 0d0623c8d0
4 changed files with 43 additions and 43 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.2 2019/12/29 23:26:43 pho Exp $
# $NetBSD: Makefile,v 1.3 2021/04/23 08:54:21 pho Exp $
DISTNAME= base64-bytestring-1.0.0.2
DISTNAME= base64-bytestring-1.2.0.1
CATEGORIES= converters
MAINTAINER= pho@cielonegro.org

View file

@ -1,34 +1,34 @@
@comment $NetBSD: PLIST,v 1.3 2020/05/11 17:51:58 rillig Exp $
${HS_INTF}/package-description
${HS_INTF}/package-id
${HS_IMPL}/Data/ByteString/Base64.dyn_hi
${HS_IMPL}/Data/ByteString/Base64.hi
${HS_IMPL}/Data/ByteString/Base64.p_hi
${HS_IMPL}/Data/ByteString/Base64/Internal.dyn_hi
${HS_IMPL}/Data/ByteString/Base64/Internal.hi
${HS_IMPL}/Data/ByteString/Base64/Internal.p_hi
${HS_IMPL}/Data/ByteString/Base64/Lazy.dyn_hi
${HS_IMPL}/Data/ByteString/Base64/Lazy.hi
${HS_IMPL}/Data/ByteString/Base64/Lazy.p_hi
${HS_IMPL}/Data/ByteString/Base64/URL.dyn_hi
${HS_IMPL}/Data/ByteString/Base64/URL.hi
${HS_IMPL}/Data/ByteString/Base64/URL.p_hi
${HS_IMPL}/Data/ByteString/Base64/URL/Lazy.dyn_hi
${HS_IMPL}/Data/ByteString/Base64/URL/Lazy.hi
${HS_IMPL}/Data/ByteString/Base64/URL/Lazy.p_hi
${HS_IMPL}/libHS${HS_PKGID}.a
${HS_IMPL}/libHS${HS_PKGID}_p.a
@comment $NetBSD: PLIST,v 1.4 2021/04/23 08:54:21 pho Exp $
lib/base64-bytestring-${PKGVERSION}/${HS_VERSION}/package-description
lib/base64-bytestring-${PKGVERSION}/${HS_VERSION}/package-id
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64/Internal.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64/Internal.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64/Internal.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64/Lazy.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64/Lazy.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64/Lazy.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64/URL.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64/URL.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64/URL.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64/URL/Lazy.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64/URL/Lazy.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base64/URL/Lazy.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
${HS_DOCS}/LICENSE
${HS_DOCS}/html/Data-ByteString-Base64-Lazy.html
${HS_DOCS}/html/Data-ByteString-Base64-URL-Lazy.html
${HS_DOCS}/html/Data-ByteString-Base64-URL.html
${HS_DOCS}/html/Data-ByteString-Base64.html
${HS_DOCS}/html/base64-bytestring.haddock
${HS_DOCS}/html/doc-index.html
${HS_DOCS}/html/haddock-bundle.min.js
${HS_DOCS}/html/index.html
${HS_DOCS}/html/linuwial.css
${HS_DOCS}/html/meta.json
${HS_DOCS}/html/quick-jump.css
${HS_DOCS}/html/synopsis.png
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/LICENSE
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/html/Data-ByteString-Base64-Lazy.html
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/html/Data-ByteString-Base64-URL-Lazy.html
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/html/Data-ByteString-Base64-URL.html
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/html/Data-ByteString-Base64.html
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/html/base64-bytestring.haddock
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/html/doc-index.html
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/html/haddock-bundle.min.js
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/html/index.html
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/html/linuwial.css
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/html/meta.json
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/html/quick-jump.css
share/doc/${HS_PLATFORM}/base64-bytestring-${PKGVERSION}/html/synopsis.png

View file

@ -1,12 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.3 2019/12/29 23:26:43 pho Exp $
# $NetBSD: buildlink3.mk,v 1.4 2021/04/23 08:54:21 pho Exp $
BUILDLINK_TREE+= hs-base64-bytestring
.if !defined(HS_BASE64_BYTESTRING_BUILDLINK3_MK)
HS_BASE64_BYTESTRING_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hs-base64-bytestring+= hs-base64-bytestring>=1.0.0
BUILDLINK_ABI_DEPENDS.hs-base64-bytestring+= hs-base64-bytestring>=1.0.0.2
BUILDLINK_API_DEPENDS.hs-base64-bytestring+= hs-base64-bytestring>=1.2.0
BUILDLINK_ABI_DEPENDS.hs-base64-bytestring+= hs-base64-bytestring>=1.2.0.1
BUILDLINK_PKGSRCDIR.hs-base64-bytestring?= ../../converters/hs-base64-bytestring
.endif # HS_BASE64_BYTESTRING_BUILDLINK3_MK

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.3 2019/12/29 23:26:43 pho Exp $
$NetBSD: distinfo,v 1.4 2021/04/23 08:54:21 pho Exp $
SHA1 (base64-bytestring-1.0.0.2.tar.gz) = 64108bf146df5e0cd0c9c082cba0ac4fe419cf00
RMD160 (base64-bytestring-1.0.0.2.tar.gz) = 9333a4a0f1df7e29ead2f3b4f1a30da4e542eafc
SHA512 (base64-bytestring-1.0.0.2.tar.gz) = 8d8880cf806aa3932068e0a6faecde084829e72e73cf0a6b4eac99ae852dffbd85f968918546e18920044dd34c65b67bed1c62b6fe71f48b118bc337d86030e4
Size (base64-bytestring-1.0.0.2.tar.gz) = 9830 bytes
SHA1 (base64-bytestring-1.2.0.1.tar.gz) = 1d10924396cae7fca9461338cda6b624ab4bc0e0
RMD160 (base64-bytestring-1.2.0.1.tar.gz) = 7cfa5a21a3e770178654c5b8bf40500ce96d5f66
SHA512 (base64-bytestring-1.2.0.1.tar.gz) = 1137e4fdc9b197ca7136fe2e080ba13db8c94f141914ea6412cc1dd17be1e843c0dbac226e729a18f6f3cbb4bb13a98e45727fea471c451b9940539eec6dae9c
Size (base64-bytestring-1.2.0.1.tar.gz) = 13650 bytes