Bacula licensing brings us much new joy
Bacula is (AGPL-3.0-only WITH New-Exception-1 AND New-Exception-2 AND New-Exception-3 AND New-Exception-4 AND New-Exception-5) AND BSD-2-Clause AND BSD-3-Clause AND New-License-1 AND New-License-2 AND LicenseRef-Fedora-Public-Domain
There is also one tiny file in there with no clear licensing (src/tools/bsmtp.c), but it is not used in the Fedora bacula package, so it does not affect the binary license string.
A copy of the AGPL-3.0 license + exceptions is here, but I will break them out in this issue as well. It is plausible that it may be easier to treat Bacula's AGPL+amendments as a unique license for SPDX, but I leave that to you.
First, the AGPL-3.0-only exceptions:
New-Exception-1 The name Bacula is a registered trademark of Kern Sibbald, and Kern Sibbald hereby declines to grant a trademark license to "Bacula" pursuant to AGPLv3, Section 7(e) without a separate agreement with Kern Sibbald.
New-Exception-2 Pursuant to AGPLv3, Section 7(a), in addition to the warranty and liability disclaimers already found in AGPLv3, the copyright holders specifically disclaim any liability for accusations of patent infringement by any third party.
New-Exception-3 Pursuant to AGPLv3, Section 7(b), the portions of the file AUTHORS that are deemed to be specified reasonable legal notices and/or author attributions shall be preserved in redistribution of source code and/or modifications thereof. Furthermore, when the following notice appears in a source code file, it must be preserved when source code is conveyed and/or propagated:
Bacula(R) - The Network Backup Solution
Copyright (C) 2000-2015 Kern Sibbald
The original author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS.
You may use this file and others of this release according to the license defined in the LICENSE file, which includes the Affero General Public License, v3.0 ("AGPLv3") and some additional permissions and terms pursuant to its AGPLv3 Section 7.
This notice must be preserved when any source code is conveyed and/or propagated.
Bacula(R) is a registered trademark of Kern Sibbald.
New-Exception-4 (this one is close to the https://spdx.org/licenses/openvpn-openssl-exception.html, but close ain't good enough anymore) . As a special exception to the AGPLv3, the copyright holders give permission to link the code of its release of Bacula with the OpenSSL project's "OpenSSL" library (or with modified versions of it that use the same license as the "OpenSSL" library), and distribute the linked executables. You must follow the requirements of AGPLv3 in all respects for all of the code used other than "OpenSSL".
New-Exception-5 As a special exception to the AGPLv3, the copyright holders give permission to link the code of its release of the Bacula Win32 File daemon with the Microsoft supplied Volume Shadow Copy (VSS) libraries and distribute the linked executables. You must follow the requirements of the AGPLv3 in all respects for all of the code used other than for the Microsoft VSS code.
Oh yes, there were two new licenses too:
New-License-1 (note the "sell", but the lack of formal warranty disclaimer)
- Author: Tatu Ylonen ylo@ngs.fi
- Copyright (c) 1991 Tatu Ylonen, Espoo, Finland
- Permission to use, copy, modify, distribute, and sell this software
- and its documentation for any purpose is hereby granted without
- fee, provided that the above copyright notice appear in all copies.
- This software is provided "as is" without express or implied
- warranty.
New-License-2 (lack of any warranty disclaimer)
- OSSP var - Variable Expansion
- Copyright (c) 2001-2002 Ralf S. Engelschall rse@engelschall.com
- Copyright (c) 2001-2002 The OSSP Project (http://www.ossp.org/)
- Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/)
- This file is part of OSSP var, a variable expansion
- library which can be found at http://www.ossp.org/pkg/lib/var/.
- Permission to use, copy, modify, and distribute this software for
- any purpose with or without fee is hereby granted, provided that
- the above copyright notice and this permission notice appear in all
- copies.