Skip to content

Commit

Permalink
Added nuspecs for MongoDB packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ioancrisan committed Apr 8, 2021
1 parent a2f7540 commit 68a2467
Show file tree
Hide file tree
Showing 17 changed files with 419 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -231,6 +231,8 @@ _Pvt_Extensions
/src/.idea/
/src/Deployment/SetNuGetApiKey.bat
/externals/local-package-source
!/externals/nugets/**/*.signed.targets
!/externals/nugets/**/*.dll
!/TestAdapter/NUnit3TestAdapter.3.10.0/**/*.*
*.snk
*.snupkg
@@ -1,4 +1,4 @@
/* Copyright 2010present MongoDB Inc.
/* Copyright 2010-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -0,0 +1,41 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>MongoDB.Bson.signed</id>
<version>2.12.2</version>
<title>MongoDB.Bson.signed (Unofficial)</title>
<authors>MongoDB Inc.,Kephas Framework</authors>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="file">License.txt</license>
<icon>packageIcon.png</icon>
<projectUrl>https://docs.mongodb.com/drivers/csharp/</projectUrl>
<description>(Unofficial) Signed MongoDB's Bson Library. The containing assembly was generated by signing the officially published MongoDB.Bson.dll.</description>
<language>en-US</language>
<tags>mongodb mongo nosql bson signed unofficial</tags>
<dependencies>
<group targetFramework=".NETFramework4.5.2">
<dependency id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard1.5">
<dependency id="NETStandard.Library" version="1.6.1" exclude="Build,Analyzers" />
<dependency id="System.Collections.NonGeneric" version="4.0.1" exclude="Build,Analyzers" />
<dependency id="System.Diagnostics.Process" version="4.1.0" exclude="Build,Analyzers" />
<dependency id="System.Dynamic.Runtime" version="4.0.11" exclude="Build,Analyzers" />
<dependency id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" exclude="Build,Analyzers" />
<dependency id="System.Runtime.Serialization.Formatters" version="4.3.0" exclude="Build,Analyzers" />
<dependency id="System.Threading.Thread" version="4.3.0" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard2.0">
<dependency id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard2.1">
<dependency id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
<files>
<file src="License.txt" target="License.txt"/>
<file src="packageIcon.png" target="packageIcon.png"/>
<file src="lib\**\*.*" target="lib"/>
</files>
</package>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions externals/nugets/MongoDB.Driver.Core.signed.2.12.2/License.txt
@@ -0,0 +1,14 @@
/* Copyright 2010-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@@ -0,0 +1,80 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>MongoDB.Driver.Core.signed</id>
<version>2.12.2</version>
<title>MongoDB.Driver.Core.signed (Unofficial)</title>
<authors>MongoDB Inc.,Kephas Framework</authors>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="file">License.txt</license>
<icon>packageIcon.png</icon>
<projectUrl>https://docs.mongodb.com/drivers/csharp/</projectUrl>
<description>(Unofficial) Signed Core Component of the MongoDB .NET Driver. The containing assembly was generated by signing the officially published MongoDB.Driver.Core.dll.</description>
<language>en-US</language>
<tags>mongodb mongo nosql signed unofficial</tags>
<dependencies>
<group targetFramework=".NETFramework4.5.2">
<dependency id="MongoDB.Bson.signed" version="2.12.2" exclude="Build,Analyzers" />
<dependency id="DnsClient" version="1.4.0" exclude="Build,Analyzers" />
<dependency id="MongoDB.Libmongocrypt.signed" version="1.2.1.1" exclude="Build,Analyzers" />
<dependency id="SharpCompress" version="0.23.0" exclude="Build,Analyzers" />
<dependency id="System.Buffers" version="4.5.1" exclude="Build,Analyzers" />
<dependency id="System.Net.Http" version="4.3.4" exclude="Build,Analyzers" />
<dependency id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard1.5">
<dependency id="MongoDB.Bson.signed" version="2.12.2" exclude="Build,Analyzers" />
<dependency id="DnsClient" version="1.4.0" exclude="Build,Analyzers" />
<dependency id="MongoDB.Libmongocrypt.signed" version="1.2.1.1" exclude="Build,Analyzers" />
<dependency id="NETStandard.Library" version="1.6.1" exclude="Build,Analyzers" />
<dependency id="SharpCompress" version="0.23.0" exclude="Build,Analyzers" />
<dependency id="System.Buffers" version="4.5.1" exclude="Build,Analyzers" />
<dependency id="System.Collections.Specialized" version="4.0.1" exclude="Build,Analyzers" />
<dependency id="System.Diagnostics.TextWriterTraceListener" version="4.0.0" exclude="Build,Analyzers" />
<dependency id="System.Diagnostics.TraceSource" version="4.3.0" exclude="Build,Analyzers" />
<dependency id="System.Net.NameResolution" version="4.3.0" exclude="Build,Analyzers" />
<dependency id="System.Net.Security" version="4.3.2" exclude="Build,Analyzers" />
<dependency id="System.Security.SecureString" version="4.0.0" exclude="Build,Analyzers" />
<dependency id="System.Threading.Thread" version="4.3.0" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard2.0">
<dependency id="MongoDB.Bson.signed" version="2.12.2" exclude="Build,Analyzers" />
<dependency id="DnsClient" version="1.4.0" exclude="Build,Analyzers" />
<dependency id="MongoDB.Libmongocrypt.signed" version="1.2.1.1" exclude="Build,Analyzers" />
<dependency id="SharpCompress" version="0.23.0" exclude="Build,Analyzers" />
<dependency id="System.Buffers" version="4.5.1" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard2.1">
<dependency id="MongoDB.Bson.signed" version="2.12.2" exclude="Build,Analyzers" />
<dependency id="DnsClient" version="1.4.0" exclude="Build,Analyzers" />
<dependency id="MongoDB.Libmongocrypt.signed" version="1.2.1.1" exclude="Build,Analyzers" />
<dependency id="SharpCompress" version="0.23.0" exclude="Build,Analyzers" />
<dependency id="System.Buffers" version="4.5.1" exclude="Build,Analyzers" />
</group>
</dependencies>
<contentFiles>
<files include="any/net452/Core/Compression/Snappy/lib/win/snappy32.dll" buildAction="Content" />
<files include="any/netstandard1.5/Core/Compression/Snappy/lib/win/snappy32.dll" buildAction="Content" />
<files include="any/netstandard2.0/Core/Compression/Snappy/lib/win/snappy32.dll" buildAction="Content" />
<files include="any/netstandard2.1/Core/Compression/Snappy/lib/win/snappy32.dll" buildAction="Content" />
<files include="any/net452/Core/Compression/Snappy/lib/win/snappy64.dll" buildAction="Content" />
<files include="any/netstandard1.5/Core/Compression/Snappy/lib/win/snappy64.dll" buildAction="Content" />
<files include="any/netstandard2.0/Core/Compression/Snappy/lib/win/snappy64.dll" buildAction="Content" />
<files include="any/netstandard2.1/Core/Compression/Snappy/lib/win/snappy64.dll" buildAction="Content" />
<files include="any/net452/Core/Compression/Zstandard/lib/win/libzstd.dll" buildAction="Content" />
<files include="any/netstandard1.5/Core/Compression/Zstandard/lib/win/libzstd.dll" buildAction="Content" />
<files include="any/netstandard2.0/Core/Compression/Zstandard/lib/win/libzstd.dll" buildAction="Content" />
<files include="any/netstandard2.1/Core/Compression/Zstandard/lib/win/libzstd.dll" buildAction="Content" />
</contentFiles>
</metadata>
<files>
<file src="License.txt" target="License.txt"/>
<file src="packageIcon.png" target="packageIcon.png"/>
<file src="build\*.*" target="build"/>
<file src="content\**\*.*" target="content"/>
<file src="contentFiles\**\*.*" target="contentFiles"/>
<file src="lib\**\*.*" target="lib"/>
<file src="runtimes\**\*.*" target="runtimes"/>
<file src="THIRD-PARTY-NOTICES" target="THIRD-PARTY-NOTICES"/>
</files>
</package>
163 changes: 163 additions & 0 deletions externals/nugets/MongoDB.Driver.Core.signed.2.12.2/THIRD-PARTY-NOTICES
@@ -0,0 +1,163 @@
The MongoDB .NET Driver uses third-party libraries or other resources that may
be distributed under licenses different than the MongoDB .NET Driver software.

In the event that we accidentally failed to list a required notice,
please bring it to our attention through any of the ways detailed here:

mongodb-dev@googlegroups.com

The attached notices are provided for information only.

For any licenses that require disclosure of source, sources are available at
https://github.com/mongodb/mongo-csharp-driver.


1. The following files: CryptographyHelpers.cs, HashAlgorithmName.cs, Rfc2898DeriveBytes.cs

Original work:
Copyright (c) 2016–2017 .NET Foundation and Contributors
The MIT License (MIT)

Copyright (c) .NET Foundation and Contributors

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Modified work:
Copyright (c) 2018–present MongoDB Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

2. SaslPrepHelper.cs

Original work:
Copyright (c) 2017 Tom Bentley

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Modified work:
Copyright (c) 2018–present MongoDB Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

3. The following files: Snappy32NativeMethods.cs, Snappy64NativeMethods.cs, SnappyCodec.cs, SnappyStatus.cs, SnappyNativeTests.cs

Original work:
Copyright (c) 2016 - David Rouyer rouyer.david@gmail.com Copyright (c) 2011 - 2014 Robert Važan, Google Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution.

* Neither the name of Robert Važan nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Modified work:
Copyright 2020–present MongoDB Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

4. The following files: NativeBufferInfo.cs, Zstandard64NativeMethods.cs, ZstandardNativeWrapper.cs, ZstandardStream.cs

Original work:
Copyright (c) 2016-present, Facebook, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name Facebook nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Modified work:
Copyright 2020–present MongoDB Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 14 additions & 0 deletions externals/nugets/MongoDB.Driver.GridFS.signed.2.12.2/License.txt
@@ -0,0 +1,14 @@
/* Copyright 2010-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

0 comments on commit 68a2467

Please sign in to comment.