Billy O'Neal
b295670e4b
Bulk convert control files. ( #19986 )
...
```
function Convert-Control {
Param($full)
.\vcpkg.exe format-manifest $full
$root = $full.Substring(0, $full.Length - 7) # CONTROL
$new = $root + 'vcpkg.json'
$content = Get-Content -Raw $new
$asJson = ConvertFrom-Json $content -AsHashtable -Depth 100
$oldVersion = $asJson['port-version']
if ($null -eq $oldVersion) {
$oldVersionFull = $asJson['version-string']
Write-Host "Got version $oldVersionFull"
$match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$')
if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) {
$newFullVersion = [string]$match.Groups[1].Value
$oldVersion = [int]$match.Groups[2].Value
Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion"
$newVersion = $oldVersion + 1
$asJson['version-string'] = $newFullVersion
Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion"
} else {
Write-Host "No previous version for $full -- setting 1"
$newVersion = 1
}
} else {
$newVersion = [int]$oldVersion + 1
Write-Host "New version for $full : $newVersion"
}
$asJson['port-version'] = $newVersion
$content = ConvertTo-Json $asJson -Depth 100
Set-Content -Path $new -Value $content
.\vcpkg.exe format-manifest $new
}
Get-ChildItem ports\CONTROL -Recurse | Foreach-Object {
Convert-Control $_.FullName
}
git commit -am "this message"
.\vcpkg.exe x-add-version -all
git commit -a --amend
```
2021-09-09 01:24:04 -07:00
Phoebe
ca93b65ade
[winpcap] Remove the keyword 'inline' macro ( #12542 )
...
* [winpcap] Remove the keyword 'inline' macro
* Restrict the keyword macro in C
2020-07-30 22:45:15 -07:00
Silvio Traversaro
310f4df34f
[libpcap] Enable compilation of libpcap port on x86-windows and x64-windows ( #10731 )
...
* Enable compilation of libpcap port on x86-windows and x64-windows
As winpcap and libpcap install the same headers, this two
port have been marked as not not compatible, and cannot be
installed together.
* Update ci.baseline.txt
* Add libcrafter failing ports to ci.baseline.txt
2020-06-11 23:13:23 -07:00
pravic
18b029a5e3
[WIP] Add a Homepage URL entry for vcpkg ports ( #2933 )
...
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
JackBoosY
3881ade159
[winpcap]fix build in x86-windows-static and x64-windows-static: use correct library. ( #5478 )
2019-02-27 23:50:52 -08:00
Robert Schumacher
59c6669b41
[winpcap] Clean build slightly
2018-10-25 10:28:09 -07:00
Robert Schumacher
f9ee8fd6b5
[soundtouch][winpcap] Clear sources between builds to improve reliability
2018-03-08 11:12:22 -08:00
Alexander Karatarakis
147cde8bfd
[fetchDependency] Use Expand-Archive if it exists, otherwise fallback to cmd
2017-10-17 13:23:22 -07:00
Tsukasa Sugiura
d0c33b4aa6
Add install pcap_stdinc.h file
...
Add install pcap_stdinc.h file.
2017-09-22 23:57:54 +09:00
Tsukasa Sugiura
6c995f7396
Add support to change linkage of CRT and library
...
Add support to change linkage of CRT and library.
2017-08-28 01:03:32 +09:00
Tsukasa Sugiura
74f6077ec3
Build WinPCAP libraries from source code
...
Build WinPCAP libraries from source code.
2017-08-26 02:00:40 +09:00
Tsukasa Sugiura
aa97800422
Add WinPCAP Developer's Pack
...
Add WinPCAP Developer's Pack
2017-08-25 15:02:15 +09:00