-
Notifications
You must be signed in to change notification settings - Fork 7.3k
[cyrus-sasl] new port #39892
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
Merged
Merged
[cyrus-sasl] new port #39892
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| # NOTE: We don't use vcpkg_from_github as it does not | ||
| # include all the necessary source files | ||
| vcpkg_download_distfile(ARCHIVE | ||
| URLS "https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-${VERSION}/cyrus-sasl-${VERSION}.tar.gz" | ||
| FILENAME "cyrus-sasl-${VERSION}.tar.gz" | ||
| SHA512 db15af9079758a9f385457a79390c8a7cd7ea666573dace8bf4fb01bb4b49037538d67285727d6a70ad799d2e2318f265c9372e2427de9371d626a1959dd6f78 | ||
| ) | ||
| vcpkg_extract_source_archive(SOURCE_PATH | ||
| ARCHIVE "${ARCHIVE}" | ||
| ) | ||
|
|
||
| if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW) | ||
| file(REMOVE "${SOURCE_PATH}/include/md5global.h") | ||
| file(COPY "${SOURCE_PATH}/win32/include/md5global.h" DESTINATION "${SOURCE_PATH}/include/md5global.h") | ||
| vcpkg_install_nmake( | ||
| SOURCE_PATH "${SOURCE_PATH}" | ||
| DETERMINE_BUILD_TRIPLET | ||
| PROJECT_NAME "NTMakefile" | ||
| OPTIONS | ||
| GSSAPI=MITKerberos | ||
| "DB_INCLUDE=${CURRENT_INSTALLED_DIR}/include" | ||
| "DB_LIB=libdb48.lib" | ||
| OPTIONS_RELEASE | ||
| CFG=Release | ||
| "prefix=${CURRENT_PACKAGES_DIR}" | ||
| "OPENSSL_LIBPATH=${CURRENT_INSTALLED_DIR}/lib" | ||
| "DB_LIBPATH=${CURRENT_INSTALLED_DIR}/lib" | ||
| OPTIONS_DEBUG | ||
| CFG=Debug | ||
| "prefix=${CURRENT_PACKAGES_DIR}/debug" | ||
| "OPENSSL_LIBPATH=${CURRENT_INSTALLED_DIR}/lib/debug" | ||
| "DB_LIBPATH=${CURRENT_INSTALLED_DIR}/lib/debug" | ||
| ) | ||
| else() | ||
| vcpkg_configure_make( | ||
| SOURCE_PATH "${SOURCE_PATH}" | ||
| DETERMINE_BUILD_TRIPLET | ||
| OPTIONS | ||
| "--with-gssapi" | ||
| "--disable-macos-framework" | ||
| ) | ||
| vcpkg_install_make() | ||
| endif() | ||
|
|
||
| vcpkg_fixup_pkgconfig() | ||
|
|
||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin") | ||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin") | ||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") | ||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
|
|
||
| vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
| "name": "cyrus-sasl", | ||
| "version": "2.1.28", | ||
| "description": "Cyrus SASL is an implementation of SASL that makes it easy for application developers to integrate authentication mechanisms into their application in a generic way.", | ||
| "homepage": "https://github.com/cyrusimap/cyrus-sasl", | ||
| "license": "BSD-3-Clause-Attribution", | ||
| "supports": "linux | osx | (x64 & windows & !static & !uwp)", | ||
| "dependencies": [ | ||
| { | ||
| "name": "berkeleydb", | ||
| "platform": "windows" | ||
| }, | ||
| "krb5", | ||
| "openssl" | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "versions": [ | ||
| { | ||
| "git-tree": "1577585f5eff556f1f478ffb103713e066caf4dc", | ||
| "version": "2.1.28", | ||
| "port-version": 0 | ||
| } | ||
| ] | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.