Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg: add ability to disable SecureTransport #7191

Merged
merged 1 commit into from Nov 25, 2016

Conversation

saghul
Copy link
Contributor

@saghul saghul commented Nov 23, 2016

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

It uses private APIs which Apple doesn't allow on AppStore releases.

It uses private APIs which Apple doesn't allow on AppStore releases.
@zmwangx
Copy link
Contributor

zmwangx commented Nov 24, 2016

Might be worth checking whether /usr/lib/libssl.0.9.8.dylib is linked when --disable-securetransport is specified. If it is, we might want to add --disable-openssl unless --with-openssl is specified.

@saghul
Copy link
Contributor Author

saghul commented Nov 24, 2016

@zmwangx TBH I don't know what ffmpeg needs those for. Also, AFAIK --with-openssl is not the default, so why would it link with the system OpenSSL? Also, its header have not been exported for the past 2 macOS releases...

@zmwangx
Copy link
Contributor

zmwangx commented Nov 24, 2016

TBH I don't know what ffmpeg needs those for.

FFmpeg supports a bunch of streaming protocols — RTMP and RTSP for instance — that may require TLS, among other things.

Also, AFAIK --with-openssl is not the default, so why would it link with the system OpenSSL?

FFmpeg's configure autodetects many optional dependencies. However, I just checked and --enable-openssl defaults to no, so no need to worry about it.

@saghul
Copy link
Contributor Author

saghul commented Nov 24, 2016

@zmwangx Ok. So, is there anything else I would need to do here?

@zmwangx
Copy link
Contributor

zmwangx commented Nov 24, 2016

I'm 👍 on this.

@MikeMcQuaid MikeMcQuaid merged commit d564bca into Homebrew:master Nov 25, 2016
@MikeMcQuaid
Copy link
Member

Thanks again for your contribution to Homebrew! Without people like you submitting PRs we couldn't run this project. Thanks for the help here too @zmwangx. You rock!

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants