-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[libsrtp] Add Exported CMake Targets for LibSRTP #20720
Conversation
4a5ab62
to
a989bf4
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Waiting for the response form upstream . cisco/libsrtp#573 |
I should point out that at least part of this pull request will no longer be necessary if the changes to upstream are accepted. If that happens, I'll update this request and #20722 accordingly. |
@SE2Dev The upstream PR has been merged. Could you please merge fix on upstream to this PR. |
@LilyWangLL Yes, although there's still no actual LibSRTP release that includes the merged changes. Should I selectively pull CMake files from a more current snapshot during the configuration process, or wait until there's a release that includes them? |
You can download patch file from https://patch-diff.githubusercontent.com/raw/cisco/libsrtp/pull/573.diff at runtime by |
e65a196
to
03adef5
Compare
I just pushed the requested changes. Since the path was never corrected in the original pull request before it was merged, I had to explicitly define the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/libsrtp/vcpkg.json
Valid values for the license field can be found in the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I note upstream has already merged this.
I'm not sure why CLA bot is unhappy; have you signed a Microsoft CLA before? |
It looks like CLA bot is wedged in many places :( |
It seems to be complaining about the fact that there's no license field in |
That's a different bot; a suggestion but not a requirement. CLA is a requirement though. I have seen that wedged in other repos too; will keep you posted |
Tried merging to see if that kicks the bot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/libsrtp/vcpkg.json
Valid values for the license field can be found in the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/libsrtp/vcpkg.json
Valid values for the license field can be found in the documentation
@SE2Dev Can you try manually visiting https://cla.opensource.microsoft.com/microsoft/vcpkg?pullRequest=20720 ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/libsrtp/vcpkg.json
Valid values for the license field can be found in the documentation
Closing and reopening the PR kicked the bot to be green :) |
Haha, nice! Apparently, I already signed the CLA at some point, so that shouldn't have been the problem. |
Thanks for the fix! |
Describe the pull request
This pull request adds
libsrtp-config.cmake
to thelibsrtp
port, which allows users to do the following in CMake:Additionally, I've updated the deprecated helper function usage for the
libsrtp
port.What does your PR fix?
Fixes the lack of CMake exports for
libsrtp
, and serves as a prerequisite for [libdatachannel] Fix LibDataChannel Broken SRTP Feature #20722.Which triplets are supported/not supported? Have you updated the CI baseline?
unchanged, No
Does your PR follow the maintainer guide?
I believe so.
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?Yes
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/