mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
[libcap] Update to 2.71 (#41852)
This commit is contained in:
parent
6e90218dcd
commit
4f746bc664
1
ports/libcap/configure
vendored
1
ports/libcap/configure
vendored
@ -21,6 +21,7 @@ BUILD_OPTIONS = \
|
|||||||
"AR=$AR" \
|
"AR=$AR" \
|
||||||
"BUILD_CC=$CC" \
|
"BUILD_CC=$CC" \
|
||||||
"CC=$CC" \
|
"CC=$CC" \
|
||||||
|
"OBJCOPY=$OBJCOPY" \
|
||||||
"RANLIB=$RANLIB" \
|
"RANLIB=$RANLIB" \
|
||||||
"lib=lib" \
|
"lib=lib" \
|
||||||
"prefix=$prefix"
|
"prefix=$prefix"
|
||||||
|
@ -2,7 +2,7 @@ vcpkg_download_distfile(ARCHIVE
|
|||||||
URLS "https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${VERSION}.tar.xz"
|
URLS "https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${VERSION}.tar.xz"
|
||||||
"https://www.mirrorservice.org/sites/ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${VERSION}.tar.xz"
|
"https://www.mirrorservice.org/sites/ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${VERSION}.tar.xz"
|
||||||
FILENAME "libcap-${VERSION}.tar.xz"
|
FILENAME "libcap-${VERSION}.tar.xz"
|
||||||
SHA512 4e0bf0efeccb654c409afe9727b2b53c1d4da8190d7a0a9848fc52550ff3e13502add3eacde04a68a5b7bec09e91df487f64c5746ba987f873236a9e53b3d4e8
|
SHA512 59bb6781d96776595ad3df890f4e5188380634eabbb6128f3a5307946b01cf3bd19dee8a29d3e501de1d9e1c6ed0092c4cd5adc91da227a1260c1f4356cc0bf3
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_extract_source_archive(SOURCE_PATH
|
vcpkg_extract_source_archive(SOURCE_PATH
|
||||||
@ -18,6 +18,13 @@ if(VCPKG_CROSSCOMPILING)
|
|||||||
file(TOUCH "${SOURCE_PATH}/libcap/cap_names.h")
|
file(TOUCH "${SOURCE_PATH}/libcap/cap_names.h")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
block(SCOPE_FOR VARIABLES)
|
||||||
|
set(VCPKG_CMAKE_CONFIGURE_OPTIONS "-DVCPKG_VARS_TO_CHECK=CMAKE_OBJCOPY")
|
||||||
|
vcpkg_cmake_get_vars(cmake_vars_file)
|
||||||
|
include("${cmake_vars_file}")
|
||||||
|
set(ENV{OBJCOPY} "${VCPKG_DETECTED_CMAKE_OBJCOPY}")
|
||||||
|
endblock()
|
||||||
|
|
||||||
vcpkg_configure_make(
|
vcpkg_configure_make(
|
||||||
SOURCE_PATH "${SOURCE_PATH}"
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
COPY_SOURCE
|
COPY_SOURCE
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "libcap",
|
"name": "libcap",
|
||||||
"version": "2.70",
|
"version": "2.71",
|
||||||
"description": "A library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities.",
|
"description": "A library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities.",
|
||||||
"homepage": "https://sites.google.com/site/fullycapable/",
|
"homepage": "https://sites.google.com/site/fullycapable/",
|
||||||
"license": "BSD-3-Clause OR GPL-2.0-only",
|
"license": "BSD-3-Clause OR GPL-2.0-only",
|
||||||
@ -9,6 +9,10 @@
|
|||||||
{
|
{
|
||||||
"name": "libcap",
|
"name": "libcap",
|
||||||
"host": true
|
"host": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake-get-vars",
|
||||||
|
"host": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -4337,7 +4337,7 @@
|
|||||||
"port-version": 4
|
"port-version": 4
|
||||||
},
|
},
|
||||||
"libcap": {
|
"libcap": {
|
||||||
"baseline": "2.70",
|
"baseline": "2.71",
|
||||||
"port-version": 0
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"libcbor": {
|
"libcbor": {
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "624965e04fa91928fc26f8a061527d30ed58bf98",
|
||||||
|
"version": "2.71",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "c7a0cc03982a375c59205880aea11305d37464c0",
|
"git-tree": "c7a0cc03982a375c59205880aea11305d37464c0",
|
||||||
"version": "2.70",
|
"version": "2.70",
|
||||||
|
Loading…
Reference in New Issue
Block a user