public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* brotli packages: security update
@ 2020-10-08 15:59 Lemures Lemniscati
  2020-10-08 21:31 ` Ken Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Lemures Lemniscati @ 2020-10-08 15:59 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 625 bytes --]

Hi!

Brotli 1.0.9 contains a security update, which fixes an "integer overflow" problem [1].

Please update it.


A cygport file for updating is placed at
  https://github.com/cygwin-lem/brotli-cygport/tree/n_1.0.9-1 .


Test packages generated from it are placed at
  https://cygwin-lem.github.io/brotli-cygport/ ,
or
  https://github.com/cygwin-lem/brotli-cygport/tree/n_1.0.9-1_gh-pages .


But the cygport file is not tested under Cygwin CI AppVeyor, yet.
So BUILD_REQUIRES in brotli.cygport might be insufficient. 


[1]: https://github.com/google/brotli/blob/master/README.md


Regards,

Lem

[-- Attachment #2: 0001-brotli-1.0.9-cygport.patch --]
[-- Type: application/octet-stream, Size: 1564 bytes --]

From 268329511865425ee93ccaad7bffedc89b295ec0 Mon Sep 17 00:00:00 2001
From: Lemures Lemniscati <lemures.lemniscati@gmail.com>
Date: Thu, 8 Oct 2020 23:08:09 +0900
Subject: [PATCH] brotli 1.0.9


diff --git a/brotli.cygport b/brotli.cygport
index fc2ccb7..df68c1b 100644
--- a/brotli.cygport
+++ b/brotli.cygport
@@ -1,8 +1,9 @@
 CYGCMAKE_GENERATOR="Ninja"
+PYTHON_WHEEL_VERSIONS="2.7:3.6:3.7:3.8"
 inherit cmake python-wheel
 
 NAME="brotli"
-VERSION=1.0.7
+VERSION=1.0.9
 RELEASE=1
 CATEGORY="Libs"
 SUMMARY="Brotli compression format library"
@@ -14,8 +15,10 @@ It is similar in speed with deflate but offers more dense compression."
 HOMEPAGE="https://github.com/google/brotli"
 SRC_URI="${HOMEPAGE}/archive/v${VERSION}/brotli-v${VERSION}.tar.gz"
 
+BUILD_REQUIRES="cmake ninja python27 python36 python37 python38"
+
 PKG_NAMES="brotli libbrotlicommon1 libbrotlidec1 libbrotlienc1 libbrotli-devel
-	   python27-brotli python36-brotli python37-brotli"
+	   python27-brotli python36-brotli python37-brotli python38-brotli"
 brotli_CATEGORY="Archive"
 brotli_CONTENTS="
 	usr/bin/brotli.exe
@@ -59,6 +62,13 @@ python37_brotli_CONTENTS="
 	usr/lib/python3.7/site-packages/brotli.py
 	usr/lib/python3.7/site-packages/__pycache__/brotli.*.pyc
 "
+python38_brotli_CATEGORY="Python"
+python38_brotli_CONTENTS="
+	usr/lib/python3.8/site-packages/Brotli-${VERSION}.dist-info/
+	usr/lib/python3.8/site-packages/_brotli.*.dll
+	usr/lib/python3.8/site-packages/brotli.py
+	usr/lib/python3.8/site-packages/__pycache__/brotli.*.pyc
+"
 
 src_compile() {
 	lndirs
-- 
2.28.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-09 18:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08 15:59 brotli packages: security update Lemures Lemniscati
2020-10-08 21:31 ` Ken Brown
2020-10-09  8:49   ` Lemures Lemniscati
2020-10-09 18:59     ` Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).