8 Commits

Author SHA1 Message Date
Jia Yue Hua
ac541816b1
[openscap]: fix not install oscap util (#31982)
* [openscap] update to 1.3.6

* update version

* update evrsion

* Fix conflict

* update evrsion

* CI [skip actions]

* fix xmlsec dependency

* fix deps

* fix deps

* fix deps

* fix deps

* fix deps

* CI

* version 1.3.7

* update to 1.3.7

* world

* CI

* fix deps

* fix deps

* CI

* fix deps

* CI

* [openscap]: fix not install util

* [openscap]: fix not install util

* [openscap]: fix not install util

* [openscap]: fix not install util

* [openscap]: fix not install util

* [openscap]: fix not install util

---------

Co-authored-by: Jonliu1993 <13720414433@163.com>
2023-06-16 20:56:11 -07:00
Chuck Walbourn
5d2a0a9814
Update xbox supports expressions for failing ports with copyleft licenses (#31770)
* Xbox triplets should not support ports with only copyleft licenses

* Reverted ports that build with xbox currently

* Fix conflict and rebase

* Update baseline

* Update baseline
2023-06-15 14:49:00 -07:00
Jia Yue Hua
27d2b9a4c3
[openscap] update to 1.3.7 (#31917)
* [openscap] update to 1.3.6

* update version

* update evrsion

* Fix conflict

* update evrsion

* CI [skip actions]

* fix xmlsec dependency

* fix deps

* fix deps

* fix deps

* fix deps

* fix deps

* CI

* version 1.3.7

* update to 1.3.7

* world

* CI

* fix deps

* fix deps

* CI

* fix deps

* CI

---------

Co-authored-by: Jonliu1993 <13720414433@163.com>
2023-06-13 19:10:09 -07:00
Ice0
a44174524e
[openscap] Fix build (#27312)
* [openscap] fix build

* [openscap] bump port-version
2022-10-20 12:50:46 -07:00
autoantwort
7fe8b4a85d
[openscap] no absolute paths (#25838)
* [openscap] no absolute paths

* format

* x-add-version

* format

* x-add-version

Co-authored-by: LilyWangLL <v-lilywang@microsoft.com>
2022-07-20 15:29:47 -07:00
Kai Pastor
5a8ff0088a
[libxml2,libxslt] Revise dependency handling (#24935)
* Update mingw support expressions

* Update versions

* Use pkg-config for complete libgcrypt dependencies

* Remove crypto from default features

Align with CMake build system defaults.

* Drop unused liblzma dependency

* Update versions

* Skip installation of docs

* Update versions

* Restructure patches

* Update versions

* CI [skip actions]

* Revise libxml2 wrapper

* Omit CONFIG from find_package(LibXml2)

* Test libxml2 with, and fix for, CMake 3.7

* Update versions

* More libxml2 wrapper changes

* libxslt gcrypt variable name changes

* Install usage

* Trim portfile

* [openscap] Use vcpkg pkg-config database

* [openscap] Unbreak find_package(Threads)

* Update versions

* Update CI baseline

* REQUIRED is a literal

* Update versions

* Always load libxml2 config instead of find module [skip actions]

* [libxmlmm] Fix linking to libxml2

libxml2 needs iconv include dir on Windows.

* [libxmlmm] License field and processing

* [libxmlmm] Export unofficial CMake config

* [libxmlmm] Change target prefix, not global default

* Revert cmake-user changes

* Set LIBXML2_FOUND

* Update versions

* Fix xslt-config

* Update versions

* Adjust tidy-html5

* Update versions

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-07-06 14:30:42 -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
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00