mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 07:19:00 +08:00
[krb5] Add osx (#38943)
Add osx Take elements from here: https://github.com/microsoft/vcpkg/pull/38685 - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
This commit is contained in:
parent
bb8654acb1
commit
eb142b6a7d
@ -74,11 +74,16 @@ if (VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
|||||||
endforeach()
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
if(VCPKG_TARGET_IS_OSX AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||||
|
vcpkg_replace_string("${SOURCE_PATH}/src/build-tools/mit-krb5.pc.in" "@COM_ERR_LIB@" "@COM_ERR_LIB@ -framework Kerberos")
|
||||||
|
set(OPTIONS_OSX "LDFLAGS=-framework Kerberos \$LDFLAGS")
|
||||||
|
endif()
|
||||||
vcpkg_configure_make(
|
vcpkg_configure_make(
|
||||||
SOURCE_PATH "${SOURCE_PATH}/src"
|
SOURCE_PATH "${SOURCE_PATH}/src"
|
||||||
AUTOCONFIG
|
AUTOCONFIG
|
||||||
OPTIONS
|
OPTIONS
|
||||||
"CFLAGS=-fcommon \$CFLAGS"
|
"CFLAGS=-fcommon \$CFLAGS"
|
||||||
|
${OPTIONS_OSX}
|
||||||
)
|
)
|
||||||
vcpkg_install_make()
|
vcpkg_install_make()
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||||
"name": "krb5",
|
"name": "krb5",
|
||||||
"version": "1.21.2",
|
"version": "1.21.2",
|
||||||
"port-version": 2,
|
"port-version": 3,
|
||||||
"description": [
|
"description": [
|
||||||
"Kerberos is a network authentication protocol.",
|
"Kerberos is a network authentication protocol.",
|
||||||
"It is designed to provide strong authentication for client/server applications by using secret-key cryptography.",
|
"It is designed to provide strong authentication for client/server applications by using secret-key cryptography.",
|
||||||
@ -11,5 +11,5 @@
|
|||||||
],
|
],
|
||||||
"homepage": "https://web.mit.edu/kerberos/",
|
"homepage": "https://web.mit.edu/kerberos/",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"supports": "linux | (x64 & !static & !uwp & windows)"
|
"supports": "linux | (x64 & !static & !uwp & windows) | osx"
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
"features": [
|
"features": [
|
||||||
"gssapi"
|
"gssapi"
|
||||||
],
|
],
|
||||||
"platform": "linux"
|
"platform": "linux | osx"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -4054,7 +4054,7 @@
|
|||||||
},
|
},
|
||||||
"krb5": {
|
"krb5": {
|
||||||
"baseline": "1.21.2",
|
"baseline": "1.21.2",
|
||||||
"port-version": 2
|
"port-version": 3
|
||||||
},
|
},
|
||||||
"ktx": {
|
"ktx": {
|
||||||
"baseline": "4.3.1",
|
"baseline": "4.3.1",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "9a1fcab10fa739ff109f086e7e24b689294e3edc",
|
||||||
|
"version": "1.21.2",
|
||||||
|
"port-version": 3
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "6ab073c854c5580092585186e6a7fef808c91e6b",
|
"git-tree": "6ab073c854c5580092585186e6a7fef808c91e6b",
|
||||||
"version": "1.21.2",
|
"version": "1.21.2",
|
||||||
|
Loading…
Reference in New Issue
Block a user