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

* Re: brotli packages: security update
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Ken Brown @ 2020-10-08 21:31 UTC (permalink / raw)
  To: cygwin-apps

The maintainer is Yaakov.  Do you want to adopt it and do the update?

Ken

On 10/8/2020 11:59 AM, Lemures Lemniscati via Cygwin-apps wrote:
> 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
> 

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

* Re: brotli packages: security update
  2020-10-08 21:31 ` Ken Brown
@ 2020-10-09  8:49   ` Lemures Lemniscati
  2020-10-09 18:59     ` Ken Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Lemures Lemniscati @ 2020-10-09  8:49 UTC (permalink / raw)
  To: cygwin-apps

> On 10/8/2020 11:59 AM, Lemures Lemniscati via Cygwin-apps wrote:
> > 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
> > 


On Thu, 8 Oct 2020 17:31:15 -0400, Ken Brown via Cygwin-apps
> The maintainer is Yaakov.  Do you want to adopt it and do the update?
> 
> Ken

Alright, I'd like to adopt brotli and to update it.

Regards, 

Lem

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

* Re: brotli packages: security update
  2020-10-09  8:49   ` Lemures Lemniscati
@ 2020-10-09 18:59     ` Ken Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Ken Brown @ 2020-10-09 18:59 UTC (permalink / raw)
  To: cygwin-apps



On 10/9/2020 4:49 AM, Lemures Lemniscati via Cygwin-apps wrote:
>> On 10/8/2020 11:59 AM, Lemures Lemniscati via Cygwin-apps wrote:
>>> 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
>>>
> 
> 
> On Thu, 8 Oct 2020 17:31:15 -0400, Ken Brown via Cygwin-apps
>> The maintainer is Yaakov.  Do you want to adopt it and do the update?
>>
>> Ken
> 
> Alright, I'd like to adopt brotli and to update it.

OK, it's yours.

Ken

^ 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).