|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- Read this before creating packages: https://docs.chocolatey.org/en-us/create/create-packages --> |
| 3 | +<!-- It is especially important to read the above link to understand additional requirements when publishing packages to the community feed aka dot org (https://community.chocolatey.org/packages). --> |
| 4 | + |
| 5 | +<!-- Test your packages in a test environment: https://github.com/chocolatey/chocolatey-test-environment --> |
| 6 | + |
| 7 | +<!-- |
| 8 | +This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Reference. Chocolatey uses a special version of NuGet.Core that allows us to do more than was initially possible. As such there are certain things to be aware of: |
| 9 | +
|
| 10 | +* the package xmlns schema url may cause issues with nuget.exe |
| 11 | +* Any of the following elements can ONLY be used by choco tools - projectSourceUrl, docsUrl, mailingListUrl, bugTrackerUrl, packageSourceUrl, provides, conflicts, replaces |
| 12 | +* nuget.exe can still install packages with those elements but they are ignored. Any authoring tools or commands will error on those elements |
| 13 | +--> |
| 14 | + |
| 15 | +<!-- You can embed software files directly into packages, as long as you are not bound by distribution rights. --> |
| 16 | +<!-- * If you are an organization making private packages, you probably have no issues here --> |
| 17 | +<!-- * If you are releasing to the community feed, you need to consider distribution rights. --> |
| 18 | +<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. --> |
| 19 | +<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd"> |
| 20 | + <metadata> |
| 21 | + <!-- == PACKAGE SPECIFIC SECTION == --> |
| 22 | + <!-- This section is about this package, although id and version have ties back to the software --> |
| 23 | + <!-- id is lowercase and if you want a good separator for words, use '-', not '.'. Dots are only acceptable as suffixes for certain types of packages, e.g. .install, .portable, .extension, .template --> |
| 24 | + <!-- If the software is cross-platform, attempt to use the same id as the debian/rpm package(s) if possible. --> |
| 25 | + <id>defguard</id> |
| 26 | + <!-- version should MATCH as closely as possible with the underlying software --> |
| 27 | + <!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages --> |
| 28 | + <!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. --> |
| 29 | + <version>1.6.5</version> |
| 30 | + <packageSourceUrl>https://github.com/DefGuard/client/releases/download/v1.6.5/Defguard_1.6.5_x64_en-US.msi</packageSourceUrl> |
| 31 | + <!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. --> |
| 32 | + <!--<owners>Defguard</owners>--> |
| 33 | + <!-- ============================== --> |
| 34 | + |
| 35 | + <!-- == SOFTWARE SPECIFIC SECTION == --> |
| 36 | + <!-- This section is about the software itself --> |
| 37 | + <title>Defguard</title> |
| 38 | + <authors>Defguard</authors> |
| 39 | + <!-- projectUrl is required for the community feed --> |
| 40 | + <projectUrl>https://defguard.net</projectUrl> |
| 41 | + <!-- There are a number of CDN Services that can be used for hosting the Icon for a package. More information can be found here: https://docs.chocolatey.org/en-us/create/create-packages#package-icon-guidelines --> |
| 42 | + <!-- Here is an example using Githack --> |
| 43 | + <iconUrl>http://rawcdn.githack.com/defguard/client/main/src/shared/images/png/logo_256-256.png</iconUrl> |
| 44 | + <copyright>2026</copyright> |
| 45 | + <!-- If there is a license Url available, it is required for the community feed --> |
| 46 | + <licenseUrl>https://github.com/DefGuard/client/blob/main/LICENSE.md</licenseUrl> |
| 47 | + <requireLicenseAcceptance>true</requireLicenseAcceptance> |
| 48 | + <projectSourceUrl>https://github.com/DefGuard/client</projectSourceUrl> |
| 49 | + <docsUrl>https://docs.defguard.net/</docsUrl> |
| 50 | + <!--<mailingListUrl></mailingListUrl>--> |
| 51 | + <bugTrackerUrl>https://github.com/DefGuard/client/issues</bugTrackerUrl> |
| 52 | + <tags>defguard vpn wireguard sso mfa</tags> |
| 53 | + <summary>Desktop client for Defguard - Wireguard VPN with MFA</summary> |
| 54 | + <description>Desktop client provides an easy way to access VPN locations of multiple Defguard instances via user-friendly UI.</description> |
| 55 | + <releaseNotes>https://github.com/DefGuard/client/releases</releaseNotes> |
| 56 | + <!-- =============================== --> |
| 57 | + |
| 58 | + <!-- Specifying dependencies and version ranges? https://docs.nuget.org/create/versioning#specifying-version-ranges-in-.nuspec-files --> |
| 59 | + <!--<dependencies> |
| 60 | + <dependency id="" version="__MINIMUM_VERSION__" /> |
| 61 | + <dependency id="" version="[__EXACT_VERSION__]" /> |
| 62 | + <dependency id="" version="[_MIN_VERSION_INCLUSIVE, MAX_VERSION_INCLUSIVE]" /> |
| 63 | + <dependency id="" version="[_MIN_VERSION_INCLUSIVE, MAX_VERSION_EXCLUSIVE)" /> |
| 64 | + <dependency id="" /> |
| 65 | + <dependency id="chocolatey-core.extension" version="1.1.0" /> |
| 66 | + </dependencies>--> |
| 67 | + <!-- chocolatey-core.extension - https://community.chocolatey.org/packages/chocolatey-core.extension --> |
| 68 | + |
| 69 | + <!--<provides>NOT YET IMPLEMENTED</provides>--> |
| 70 | + <!--<conflicts>NOT YET IMPLEMENTED</conflicts>--> |
| 71 | + <!--<replaces>NOT YET IMPLEMENTED</replaces>--> |
| 72 | + </metadata> |
| 73 | + <files> |
| 74 | + <!-- this section controls what actually gets packaged into the Chocolatey package --> |
| 75 | + <file src="tools\**" target="tools" /> |
| 76 | + </files> |
| 77 | +</package> |
0 commit comments