From 0be5359db94e70fcc250c39175dfea517233631e Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 15 Nov 2018 10:08:16 +0100 Subject: [PATCH] sysutils/mail-backup: proper license --- LICENSE | 1 + .../app/library/OPNsense/Backup/Mailer.php | 26 +++++++++++++++++++ .../models/OPNsense/Backup/MailerSettings.php | 26 +++++++++++++++++++ 3 files changed, 53 insertions(+) diff --git a/LICENSE b/LICENSE index 9e33843c4..4ae505e5f 100644 --- a/LICENSE +++ b/LICENSE @@ -14,6 +14,7 @@ Copyright (c) 2017 Giuseppe De Marco Copyright (c) 2016 IT-assistans Sverige AB Copyright (c) 2010 Jim Pingle Copyright (c) 2015 Jos Schellevis +Copyright (c) 2018 João Vilaça Copyright (c) 2003-2006 Manuel Kasper Copyright (c) 2017-2018 Michael Muenz Copyright (c) 2004-2012 Scott Ullrich diff --git a/sysutils/mail-backup/src/opnsense/mvc/app/library/OPNsense/Backup/Mailer.php b/sysutils/mail-backup/src/opnsense/mvc/app/library/OPNsense/Backup/Mailer.php index 19cba45fd..756a8dfb0 100644 --- a/sysutils/mail-backup/src/opnsense/mvc/app/library/OPNsense/Backup/Mailer.php +++ b/sysutils/mail-backup/src/opnsense/mvc/app/library/OPNsense/Backup/Mailer.php @@ -1,5 +1,31 @@ + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. 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. + * + * THIS SOFTWARE IS PROVIDED ``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 + * AUTHOR 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. + */ + namespace OPNsense\Backup; require_once('phpmailer/PHPMailerAutoload.php'); diff --git a/sysutils/mail-backup/src/opnsense/mvc/app/models/OPNsense/Backup/MailerSettings.php b/sysutils/mail-backup/src/opnsense/mvc/app/models/OPNsense/Backup/MailerSettings.php index 5a95e9ee2..fbfd6cd26 100644 --- a/sysutils/mail-backup/src/opnsense/mvc/app/models/OPNsense/Backup/MailerSettings.php +++ b/sysutils/mail-backup/src/opnsense/mvc/app/models/OPNsense/Backup/MailerSettings.php @@ -1,5 +1,31 @@ + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. 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. + * + * THIS SOFTWARE IS PROVIDED ``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 + * AUTHOR 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. + */ + namespace OPNsense\Backup; use OPNsense\Base\BaseModel;