From bfd2e106ac14ed0b70dff08dfcef4afd512a637b Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Mon, 20 Mar 2017 15:30:33 -0700 Subject: [PATCH] build: choco: update package as per chocolatey review instructions --- build/choco/LICENSE.txt | 4 +++ build/choco/VERIFICATION.txt | 15 ++++++++++ build/choco/winfsp.nuspec | 56 ++++++++++++++++++++++++++++++++++-- tools/build.bat | 2 ++ 4 files changed, 74 insertions(+), 3 deletions(-) create mode 100644 build/choco/LICENSE.txt create mode 100644 build/choco/VERIFICATION.txt diff --git a/build/choco/LICENSE.txt b/build/choco/LICENSE.txt new file mode 100644 index 00000000..2738585d --- /dev/null +++ b/build/choco/LICENSE.txt @@ -0,0 +1,4 @@ +From: https://github.com/billziss-gh/winfsp/blob/master/License.txt + +LICENSE + diff --git a/build/choco/VERIFICATION.txt b/build/choco/VERIFICATION.txt new file mode 100644 index 00000000..12637f9c --- /dev/null +++ b/build/choco/VERIFICATION.txt @@ -0,0 +1,15 @@ +VERIFICATION +Verification is intended to assist the Chocolatey moderators and community +in verifying that this package's contents are trustworthy. + +WinFsp GitHub repository: https://github.com/billziss-gh/winfsp +WinFsp MSI releases : https://github.com/billziss-gh/winfsp/releases + +You may use the Windows certutil utility to confirm the hash of the MSI +included in this package against the WinFsp MSI release of the same version. +For example, for WinFsp version 1.0.17072 the command line to use is: + + certutil -hashfile winfsp-1.0.17072.msi SHA256 + +The certutil output of the MSI in this package is included below. + diff --git a/build/choco/winfsp.nuspec b/build/choco/winfsp.nuspec index 64558733..66dd35b5 100644 --- a/build/choco/winfsp.nuspec +++ b/build/choco/winfsp.nuspec @@ -1,13 +1,13 @@ - + winfsp $version$ https://github.com/billziss-gh/winfsp/tree/master/build/choco - Bill Zissimopoulos <billziss at navimatics.com> + Bill Zissimopoulos WinFsp - Bill Zissimopoulos <billziss at navimatics.com> + Bill Zissimopoulos https://github.com/billziss-gh/winfsp https://github.com/billziss-gh/winfsp/raw/master/art/winfsp-solid.png Bill Zissimopoulos @@ -31,6 +31,54 @@ Some of the benefits of using WinFsp are listed below: * FUSE compatibility layer for native Windows and Cygwin. * Signed drivers provided on every release. * Available under the GPLv3 license with a special exception for Free/Libre and Open Source Software. + +To verify installation try a variation of the following: + + C:\...>net use m: \\memfs64\share + The command completed successfully. + + + C:\...>net use + New connections will not be remembered. + + + Status Local Remote Network + + ------------------------------------------------------------------------------- + M: \\memfs64\share WinFsp.Np + ... + The command completed successfully. + + + C:\...>m: + + M:\>echo hello >world + + M:\>dir m: + Volume in drive M is MEMFS + Volume Serial Number is 0EE0-E0E2 + + Directory of M:\ + + 03/20/2017 02:56 PM 8 world + 1 File(s) 8 bytes + 0 Dir(s) 4,397,912,293,376 bytes free + + M:\>type world + hello + + M:\>c: + + C:\...>net use m: /delete + m: was deleted successfully. + + + C:\...>m: + The system cannot find the drive specified. + +If you are on 32-bit Windows use `\\memfs32\share`. If you are on Cygwin make sure to use single quotes like so: + + net use m: '\\memfs64\share' https://github.com/billziss-gh/winfsp/blob/master/Changelog.asciidoc @@ -40,6 +88,8 @@ Some of the benefits of using WinFsp are listed below: + + diff --git a/tools/build.bat b/tools/build.bat index 3be5fe87..f621bffb 100755 --- a/tools/build.bat +++ b/tools/build.bat @@ -89,6 +89,8 @@ if %ERRORLEVEL% equ 0 ( set Version=!Version:winfsp-=! copy ..\choco\* build\%Configuration% + copy ..\choco\LICENSE.TXT /B + ..\..\License.txt /B build\%Configuration%\LICENSE.txt /B + certutil -hashfile build\%Configuration%\winfsp-!Version!.msi SHA256 >>build\%Configuration%\VERIFICATION.txt choco pack build\%Configuration%\winfsp.nuspec --version=!Version! --outputdirectory=build\%Configuration% if errorlevel 1 goto fail )