Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,924
    • Issues 3,924
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Merge requests
  • !7447

CPack: support CPACK_PACKAGE_FILE_NAME in FreeBSD pkg generator

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Adriaan de Groot requested to merge adridg/cmake:freebsd-cpack-update into master Jul 05, 2022
  • Overview 2
  • Commits 4
  • Pipelines 2
  • Changes 2

The underlying pkg library always produces a <name>-<version>.pkg file, so to follow CPACK_PACKAGE_FILE_NAME we need to detect that and rename appropriately.

While here:

  • All supported FreeBSD versions are now using 1.17 or later, which produces .pkg files. Drop support for older versions.
  • Fix up some documentation where variables were listed in the wrong place as fallback.

Fixes #23034 (closed)

Edited Jul 05, 2022 by Adriaan de Groot
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: freebsd-cpack-update