Commit Graph

8 Commits

Author SHA1 Message Date
reito
8c9416f444
[multiple-ports] Fix missing usage ()
* Fix missing usage

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes
2023-02-09 10:59:04 -08:00
autoantwort
4bc8be1330
[unixodbc] no absolute paths () 2022-05-20 14:37:23 -07:00
Thomas1664
b25a13c578
[freetds, unixodbc] Update ()
* [freetds] Update to 1.3.10

* version

* Add dependence on mysql

* version

* mysql patch

* version

* Add warning for required system libs

* version

* Remove mysql dependence

* version

* Fix supports

* version

* Add mysql dependence

* version

* Add feature tools

* version

* Add dependency on unixodbc

* format

* version

* remove mysql

* version

* Update unixodbc

* version

* remove man

* version

* fix cmake

* version

* test

* fix path

* version

* disable wide characters on UNIX

* add to ci baseline

* version

* don't check for UWP

* version

* remove unixodbc from ci baseline

* Fix deprecated license

* version

* Unsupported on unix

* version
2022-05-13 15:46:37 -07:00
autoantwort
abf52dd1ad
[unixodbc] no absolute paths ()
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-01-03 14:57:47 -08:00
Michal Cepek
ee3429481b
[unixodbc] update to v2.3.9 ()
* [unixODBC] update to 2.3.9

* [unixodbc] convenience update for dynamic/static linking of ltdl and Iconv

* [unixodbc] update to 2.3.9 - review findings
2021-11-18 20:53:45 -08:00
autoantwort
a53fec713b
[unixodbc] no absolute paths () 2021-11-08 20:41:14 -08:00
Billy O'Neal
b295670e4b
Bulk convert control files. ()
```
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
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions () 2021-01-21 09:53:22 -08:00