From: Lemures Lemniscati <lemures.lemniscati@gmail.com>
To: cygwin-apps@cygwin.com
Subject: brotli packages: security update
Date: Fri, 09 Oct 2020 00:59:11 +0900 [thread overview]
Message-ID: <20201009005909.A944.50F79699@gmail.com> (raw)
[-- 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
next reply other threads:[~2020-10-08 15:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-08 15:59 Lemures Lemniscati [this message]
2020-10-08 21:31 ` Ken Brown
2020-10-09 8:49 ` Lemures Lemniscati
2020-10-09 18:59 ` Ken Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201009005909.A944.50F79699@gmail.com \
--to=lemures.lemniscati@gmail.com \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).