[winpcap] Avoid downloading unstable license (#23138)

This commit is contained in:
Robert Schumacher 2022-02-16 13:47:57 -08:00 committed by GitHub
parent 582b265bf7
commit 49a30e9db1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View File

@ -10,12 +10,6 @@ vcpkg_download_distfile(ARCHIVE
SHA512 89a5109ed17f8069f7a43497f6fec817c58620dbc5fa506e52069b9113c5bc13f69c307affe611281cb727cfa0f8529d07044d41427e350b24468ccc89a87f33
)
vcpkg_download_distfile(COPYRIGHT
URLS "https://www.winpcap.org/misc/copyright.htm"
FILENAME "Wpcap_license.htm"
SHA512 bb2519e8f3d02c408fa3f2ef339adda1cc31338d05d2fa4ce25d5369427243fd3e2abc4b21aa654b2be5791f53c2281847a4a15778ffcb90576fd166140c7d2e
)
# MSBuild performs in-source builds, so to ensure reliability we must clear them each time
file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/src)
@ -174,4 +168,5 @@ endif()
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/pcap-stdinc.h" "#define inline __inline" "#ifndef __cplusplus\n#define inline __inline\n#endif")
configure_file(${COPYRIGHT} "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
file(WRITE "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" "The latest license is available in https://www.winpcap.org/misc/copyright.htm and in the header files.
")

View File

@ -1,7 +1,7 @@
{
"name": "winpcap",
"version": "4.1.3",
"port-version": 7,
"port-version": 8,
"description": "WinPcap is the industry-standard tool for link-layer network access in Windows environments.",
"homepage": "https://www.winpcap.org",
"supports": "windows"

View File

@ -7326,7 +7326,7 @@
},
"winpcap": {
"baseline": "4.1.3",
"port-version": 7
"port-version": 8
},
"winpty": {
"baseline": "0.4.3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "85d70a721afa26cf8ff26aec62fd04a16f8e6f7b",
"version": "4.1.3",
"port-version": 8
},
{
"git-tree": "8b3f6f5a5e85be5df29d86d4e8e1621a9f3369f4",
"version": "4.1.3",