Commit Graph

8 Commits

Author SHA1 Message Date
Mengna Li
f14179a5d2
[openvpn3] Export cmake target (#24955)
* Add Config.cmake.in

* export cmake targets

* update namespace
2022-05-31 16:16:07 -07:00
Thomas1664
e66dded96c
[openvpn3] update to 3.7 (#24360)
* [openvpn3] update to 3.7

* version
2022-04-25 16:15:56 -07:00
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
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
Robert Schumacher
59b28867dc
[vcpkg-baseline] Fixes for vtk, libarchive, xalan-c, and openvpn3 on Linux (#9411)
* [libarchive] Fix cpu_set_t missing

* [xalan-c] Fix flakiness in presense of ICU

* [openvpn3] Add missing bits/endian.h include

* [vcpkg-baseline] Mark vtk as no longer failing
2019-12-21 11:34:24 -08:00
Lev Stipakov
ad34a65684 openvpn3: bump version (#8851)
This bumps openvpn3 version to latest stable release
and adds missing libraries.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
2019-11-01 14:45:42 -07:00
Robert Schumacher
3fadafface
[many ports] Updates 2019.05.24 (#6618)
* [many ports] Updates 2019.05.24

* Update SHA512 and resolve conflict for ebml and matroska

* [avro-c]Fix build error caused by jansson upgrades.

* [xxhash]Update to the next version to fix build error.(xxhash issue:#179)

* Fix failures and undo asio

* [libyaml, grpc, miniz, paho-mqtt, sqlitecpp] Update patches

* Update REF

* Undo nvtt flann itk libtins aws-sdk-cpp openvdb vlpp xmsh changes

* [flann, fastcdr] Fix old patches and build error.

* [flann, fastcdr] Fix build error.

* Fix ensmallen uvatlas cppcms libplist failures and undo aws-c-common libopusenc arb taglib changes

* [dcmtk, draco, flatbuffers, forge, ftgl, mosquitto,nmslib, ogre] Update old patches and fix build error.

* fix libusbmuxd failures and undo xxhash paho-mqtt mongo-c-driver flann libffi

* fix libimobiledevice and undo qhull harfbuzz lcm libbson draco flatbuffers

* undo libmupdf forge kd-soap qca

* [mosquitto] Fix installation of import libs

* [arb][asio][aws-c-common][collada-dom][concurrentqueue][cryptopp][ebml] Revert trivial/undesired changes

* [fastcdr] Minimize patch

* [many ports] Revert trivial changes

* [libyaml] Switch to non-dist tag

* [sqlite-modern-cpp] Track master due to infrequent release

* [nano-signal-slot] Revert downgrade

* [openvpn3] Bump control version to account for portfile change

* [sqlite-modern-cpp] Fixup wrong hash

* [mosquitto] Commit missing patch
2019-06-10 17:01:54 -07:00
Robert Schumacher
da9c2e79a5 [openvpn3][tap-windows6] Initial commit 2018-03-21 09:50:10 -07:00