How do I insert copyright info into nuget's SPDX license expressions? - nuget

As detailed here, nuget has deprecated the licenseUrl tag in favor of the license tag, which can either specify the path to a license file or a Software Packaging Data Exchange (SPDX) expression; for example, you can specify that your package is distributed with an MIT license as follows:
<license type="expression">MIT</license>
This is very nice, but after running nuget pack (with nuget 5.4) and examining the resulting package in either Visual Studio 2019 or NuGet Package Explorer, for the license I am linked to https://licenses.nuget.org/MIT and see this:
SPDX identifier
MIT
License text
MIT License
Copyright (c) _____
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.
So the copyright isn't filled in. Is there an SPDX expression to fill in the copyright? Or is the nuget client just supposed to be smart and fill that in from the copyright field of the nuget package itself?

Related

Do I need to include the Install4J license text in my distribution?

Do I need to include the Install4J license text (see here) in full or in parts when I distribute my commercial software whose installation is based on Install4J?
Neither could I find a LICENSE.txt file or something similar in the installation directory, nor did the installer GUI show any Install4J-related license texts.
The Install4J license does not seem to require an explicit listing of the license text but I'm wondering if I should still include some license info on Install4J in my attribution statement which comes with the software.
No, all generated installers and the runtime are freely redistributable, no attribution is required.
Source: https://www.ej-technologies.com/buy/install4j/licensing.html

Can I redistribute MailKit.dll and MimeKit.dll with my PowerShell Script?

Can I redistribute only MailKit.dll and MimeKit.dll that are included in package(installer)?
I know the MailKit is under the MIT License but I don't understand whether I can redistribute only the dlls.
I write a PowerShell Script that uses the MailKit.dll and MimeKit.dll and I want to distribute them as a package. Is it OK?
Yes, you can redistribute the dll's.

Can GprBuild be used with GNAT to make non-GPL software?

I want to use GprBuild to create a product not licensed under the GPL. Is this possible, and what variant of it and GNAT would I need to use for this to be legal?
I read that in order to make an application not licensed under the GPL with GNAT, I would need to use the FSF distributed version, because that version is released with a linking exception (supposedly; the FSF library directory doesn't actually state that it is licensed under such an exception, but Wikipedia does).
That said, I am struggling to find any similar information for GprBuild. Is it possible that GprBuild doesn't need this exception in order to be used as such? I get the impression that if the latter is true, then it is for a technical reason that I don't fully understand.
The reason why the GCC runtimes need the exception is that the runtimes are included in a delivered product, either as object code or as source (in the case of e.g. the Bison parser generator).
The GCC compiler itself is licensed under pure GPL, because no part of the compiler ends up in the delivered product; and the same applies to tools like gprbuild.
So, FSF compiler/runtime and gprbuild => OK to deliver under proprietary licence.

Adding GlassFish Server 4.1 to NetBeans IDE 7.4

I have installed NetBeans IDE. Also downloaded GlassFish Server and extracted it, when I'm adding the installation location on NB it says "Not a valid GlassFish Server installation."
Probably the simplest solution would be to create a new folder, select it. Click the check-box on the 'Accept License ...' and download it again within the Add Server dialog, that way it has to be where Netbeans put it.
To check why the previous download didn't work. The file it checks for should be in the following subdirectory of the directory you specify.
./glassfish/config/glassfish.container
That is if I specify /opt/glassfish4 then /opt/glassfish4/glassfish/config/glassfish.container should exist.
The file should look like this:
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
#
# The contents of this file are subject to the terms of either the GNU
# General Public License Version 2 only ("GPL") or the Common Development
# and Distribution License("CDDL") (collectively, the "License"). You
# may not use this file except in compliance with the License. You can
# obtain a copy of the License at
# https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
# or packager/legal/LICENSE.txt. See the License for the specific
# language governing permissions and limitations under the License.
#
# When distributing the software, include this License Header Notice in each
# file and include the License file at packager/legal/LICENSE.txt.
#
# GPL Classpath Exception:
# Oracle designates this particular file as subject to the "Classpath"
# exception as provided by Oracle in the GPL Version 2 section of the License
# file that accompanied this code.
#
# Modifications:
# If applicable, add the following below the License Header, with the fields
# enclosed by brackets [] replaced by your own identifying information:
# "Portions Copyright [year] [name of copyright owner]"
#
# Contributor(s):
# If you wish your version of this file to be governed by only the CDDL or
# only the GPL Version 2, indicate your decision by adding "[Contributor]
# elects to include this software in this distribution under the [CDDL or GPL
# Version 2] license." If you don't indicate a single choice of license, a
# recipient has the option to distribute your version of this file under
# either the CDDL, the GPL Version 2 or to extend the choice of license to
# its licensees as provided above. However, if you add GPL Version 2 code
# and therefore, elected the GPL Version 2 license, then the option applies
# only if the new code is made subject to such option by the copyright
# holder.
#
containers=jruby, web, php
jruby.application=app/controllers/application.rb
web.application=WEB-INF/web.xml
php.urlpattern=.*php$
Update
I missed the version number for your Netbeans. For Netbeans 7.4, it looks like you need to use Glassfish 4.0 so either upgrade your Netbeans to 8.02 or download the older version of Glassfish.

winzip cli how to suppress evaluation warning?

In my product we are using winzipCLI to zip packages. After a long time i seeing an issue not able to resolve it. A evaluation acceptance message is thrown in CLI which is causing my build system to fail. I found the issue by manually running the winzip cli and below the evalution question asked ....How to suppress it? Any options? or any script? or...etc?
C:\Program Files\WinZip>WZZIP.EXE -a test.zip *.txt
WinZip(R) Command Line Support Add-On Version 4.0 32-bit (Build 10480)
Copyright (c) 1991-2013 WinZip International LLC - All Rights Reserved
THANK YOU FOR TRYING WINZIP COMMAND LINE ADD-ON
This is a fully functional version for EVALUATION USE ONLY
This notice is not displayed with registered Standard and Pro editions of
WinZip.
Please go to www.winzip.com to order WinZip.
(press any key to continue (Ctrl-C to quit))
Yes, buy a license for WinZip.
(Stack Overflow is not the place to ask questions like "How can I avoid paying for this piece of commercial software?" If in fact you have bought a license and you're still getting that message then I apologise for misjudging you and you should take it up with WinZip tech support.)