Skip to content

Fix CVE-2019-12900#5

Open
hasufell wants to merge 8 commits into
hackage-trustees:masterfrom
hasufell:CVE-2019-12900
Open

Fix CVE-2019-12900#5
hasufell wants to merge 8 commits into
hackage-trustees:masterfrom
hasufell:CVE-2019-12900

Conversation

@hasufell

@hasufell hasufell commented Mar 8, 2024

Copy link
Copy Markdown
Contributor

@hasufell

hasufell commented Mar 8, 2024

Copy link
Copy Markdown
Contributor Author

This unfortunately requires windows users to set -f-system-bzlib to get the bundled sources, because we don't have pkg-config stanza, which cabal could use to change automatic flags.

I'm contemplating what to do about it.

@hasufell

hasufell commented Mar 8, 2024

Copy link
Copy Markdown
Contributor Author

Well, given that bzip2 is available via msys2 and system libs are to be preferred, I think the current circumstances make sense: https://packages.msys2.org/package/mingw-w64-x86_64-bzip2

@hasufell

hasufell commented Mar 8, 2024

Copy link
Copy Markdown
Contributor Author

My idea is actually to provide one single project independent bzip2-clib library: https://github.com/hasufell/bzip2-clib

Unfortunately, we're stuck thanks to Haskell tooling again: haskell/hackage-server#1294

Unless we want to lie about the actual license.

@gbaz

gbaz commented Mar 8, 2024

Copy link
Copy Markdown

"we don't have pkg-config stanza, which cabal could use to change automatic flags" ?

@hasufell

hasufell commented Mar 9, 2024

Copy link
Copy Markdown
Contributor Author

"we don't have pkg-config stanza, which cabal could use to change automatic flags" ?

haskell/cabal#7621

@gbaz

gbaz commented Mar 9, 2024

Copy link
Copy Markdown

Right, and that pr was merged, so if thats the feature you're referring to, it exists.

@hasufell

hasufell commented Mar 9, 2024

Copy link
Copy Markdown
Contributor Author

Right, and that pr was merged, so if thats the feature you're referring to, it exists.

Ah. bzip2 has no .pc file. So we can't use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants