Skip to content

Commit

Permalink
[librdkafka] add new feature librdkafka[sasl] (microsoft#39894)
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine authored Aug 2, 2024
1 parent 4e38060 commit 906d928
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
5 changes: 3 additions & 2 deletions ports/librdkafka/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" RDKAFKA_BUILD_STATIC)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
curl WITH_CURL
sasl WITH_SASL
sasl WITH_SASL_CYRUS
ssl WITH_SSL
ssl WITH_SASL_OAUTHBEARER
ssl WITH_SASL_SCRAM
zlib WITH_ZLIB
zstd WITH_ZSTD
snappy WITH_SNAPPY
curl WITH_CURL
)

vcpkg_cmake_configure(
Expand Down
9 changes: 6 additions & 3 deletions ports/librdkafka/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "librdkafka",
"version": "2.3.0",
"port-version": 4,
"port-version": 5,
"description": "The Apache Kafka C/C++ library",
"homepage": "https://github.com/confluentinc/librdkafka",
"license": null,
Expand All @@ -24,8 +24,11 @@
"curl"
]
},
"snappy": {
"description": "Build with snappy"
"sasl": {
"description": "Build with sasl/gssapi",
"dependencies": [
"cyrus-sasl"
]
},
"ssl": {
"description": "Build with OpenSSL",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4934,7 +4934,7 @@
},
"librdkafka": {
"baseline": "2.3.0",
"port-version": 4
"port-version": 5
},
"libredwg": {
"baseline": "0.13.3",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/librdkafka.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "cbdf7001549e463198efc7dc8d157a15aadb8f7d",
"version": "2.3.0",
"port-version": 5
},
{
"git-tree": "fbdd447367d1830499368d2c005ce991e7a52fa4",
"version": "2.3.0",
Expand Down

0 comments on commit 906d928

Please sign in to comment.