From 11cbb815a74173376b9241a9683766567b579801 Mon Sep 17 00:00:00 2001 From: Plamen Dimitrov Date: Mon, 24 Sep 2018 00:45:39 +0800 Subject: [PATCH] Add GPLv2 licensing headers to all migrated utilities --- src/arnied_wrapper.py | 20 ++++++++++++++++++++ src/cnfline/build_cnfvar.py | 21 +++++++++++++++++++++ src/cnfline/build_group.py | 20 ++++++++++++++++++++ src/cnfline/build_intraclient.py | 20 ++++++++++++++++++++ src/cnfline/build_key.py | 20 ++++++++++++++++++++ src/cnfline/build_nic.py | 20 ++++++++++++++++++++ src/cnfline/build_provider.py | 20 ++++++++++++++++++++ src/cnfline/build_proxy_accesslist.py | 20 ++++++++++++++++++++ src/cnfline/build_proxy_profile.py | 20 ++++++++++++++++++++ src/cnfline/build_user.py | 20 ++++++++++++++++++++ src/cnfline/build_vpnconn.py | 20 ++++++++++++++++++++ src/cnfline/cnfline.py | 20 ++++++++++++++++++++ src/cnfline/configure_proxy_antivirus.py | 20 ++++++++++++++++++++ src/cnfline/configure_webfilter.py | 20 ++++++++++++++++++++ src/connd_state.py | 20 ++++++++++++++++++++ src/dial.py | 21 +++++++++++++++++++++ src/mail_utils.py | 21 +++++++++++++++++++++ src/mk_config.py | 20 ++++++++++++++++++++ src/simple_cnf.py | 20 ++++++++++++++++++++ src/sysmisc.py | 20 ++++++++++++++++++++ src/test_data_sync.py | 20 ++++++++++++++++++++ src/v4_addr_range.py | 20 ++++++++++++++++++++ src/web_interface.py | 20 ++++++++++++++++++++ test/test_arnied_wrapper.py | 20 ++++++++++++++++++++ test/test_build_cnfvar.py | 20 ++++++++++++++++++++ test/test_cnfline.py | 20 ++++++++++++++++++++ test/test_mail_utils.py | 20 ++++++++++++++++++++ test/test_simple_cnf.py | 20 ++++++++++++++++++++ test/test_v4_addr_range.py | 19 +++++++++++++++++++ 29 files changed, 582 insertions(+), 0 deletions(-) diff --git a/src/arnied_wrapper.py b/src/arnied_wrapper.py index a282498..34c7cf3 100644 --- a/src/arnied_wrapper.py +++ b/src/arnied_wrapper.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ SUMMARY diff --git a/src/cnfline/build_cnfvar.py b/src/cnfline/build_cnfvar.py index 087a2e4..d57ad99 100644 --- a/src/cnfline/build_cnfvar.py +++ b/src/cnfline/build_cnfvar.py @@ -1,4 +1,25 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """Basic functions for on-the-fly arnied cnf-var generator""" + from .cnfline import CnfLine import os import tempfile diff --git a/src/cnfline/build_group.py b/src/cnfline/build_group.py index f206493..5d6f1f2 100644 --- a/src/cnfline/build_group.py +++ b/src/cnfline/build_group.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + from .build_cnfvar import BuildCnfVar """Class to create group objects on the fly""" diff --git a/src/cnfline/build_intraclient.py b/src/cnfline/build_intraclient.py index cc5f562..8e0c308 100644 --- a/src/cnfline/build_intraclient.py +++ b/src/cnfline/build_intraclient.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ Create intraclients. """ diff --git a/src/cnfline/build_key.py b/src/cnfline/build_key.py index c57a1e1..65bcd1c 100644 --- a/src/cnfline/build_key.py +++ b/src/cnfline/build_key.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + from .build_cnfvar import BuildCnfVar """Class to create own keys cnfvar on the fly """ diff --git a/src/cnfline/build_nic.py b/src/cnfline/build_nic.py index fbf55e2..9fea9c1 100644 --- a/src/cnfline/build_nic.py +++ b/src/cnfline/build_nic.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + from .build_cnfvar import BuildCnfVar """Class to create user cnfvar objects on the fly""" diff --git a/src/cnfline/build_provider.py b/src/cnfline/build_provider.py index 1c432d0..83d0378 100644 --- a/src/cnfline/build_provider.py +++ b/src/cnfline/build_provider.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ Create provider profiles. """ diff --git a/src/cnfline/build_proxy_accesslist.py b/src/cnfline/build_proxy_accesslist.py index b4ee4c5..c73a5d3 100644 --- a/src/cnfline/build_proxy_accesslist.py +++ b/src/cnfline/build_proxy_accesslist.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + from .build_cnfvar import BuildCnfVar """Class to create proxy accesslists on the fly""" diff --git a/src/cnfline/build_proxy_profile.py b/src/cnfline/build_proxy_profile.py index 5d8bede..7a821a2 100644 --- a/src/cnfline/build_proxy_profile.py +++ b/src/cnfline/build_proxy_profile.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + from .build_cnfvar import BuildCnfVar """Class to create proxy profiles on the fly""" diff --git a/src/cnfline/build_user.py b/src/cnfline/build_user.py index 98cb985..d4910d1 100644 --- a/src/cnfline/build_user.py +++ b/src/cnfline/build_user.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + from .build_cnfvar import BuildCnfVar """Class to create user cnfvar objects on the fly""" diff --git a/src/cnfline/build_vpnconn.py b/src/cnfline/build_vpnconn.py index baee26b..376e4d1 100644 --- a/src/cnfline/build_vpnconn.py +++ b/src/cnfline/build_vpnconn.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ Create vpn connections. """ diff --git a/src/cnfline/cnfline.py b/src/cnfline/cnfline.py index 4a92551..8dda1fb 100644 --- a/src/cnfline/cnfline.py +++ b/src/cnfline/cnfline.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + class CnfLine(object): """Represents an arnied cnfline""" diff --git a/src/cnfline/configure_proxy_antivirus.py b/src/cnfline/configure_proxy_antivirus.py index 0f4d7fc..7f5e95c 100644 --- a/src/cnfline/configure_proxy_antivirus.py +++ b/src/cnfline/configure_proxy_antivirus.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + from .build_cnfvar import BuildCnfVar """Class to configure the proxy antivirus cnfvars on the fly""" diff --git a/src/cnfline/configure_webfilter.py b/src/cnfline/configure_webfilter.py index 4ceb63b..905039f 100644 --- a/src/cnfline/configure_webfilter.py +++ b/src/cnfline/configure_webfilter.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + from .build_cnfvar import BuildCnfVar """Class to configure the webfilter cnfvars on the fly""" diff --git a/src/connd_state.py b/src/connd_state.py index f89f36a..6b2b3a4 100755 --- a/src/connd_state.py +++ b/src/connd_state.py @@ -1,5 +1,25 @@ #!/usr/bin/env python +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ SUMMARY diff --git a/src/dial.py b/src/dial.py index 5d1656c..5b778de 100644 --- a/src/dial.py +++ b/src/dial.py @@ -1,4 +1,25 @@ # This Python file uses the following encoding: utf-8 + +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ SUMMARY diff --git a/src/mail_utils.py b/src/mail_utils.py index e3dd453..a813931 100644 --- a/src/mail_utils.py +++ b/src/mail_utils.py @@ -1,4 +1,25 @@ # This Python file uses the following encoding: utf-8 + +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ SUMMARY diff --git a/src/mk_config.py b/src/mk_config.py index 2fc9396..58a4d86 100644 --- a/src/mk_config.py +++ b/src/mk_config.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ SUMMARY diff --git a/src/simple_cnf.py b/src/simple_cnf.py index 79fb70f..6cd24d8 100644 --- a/src/simple_cnf.py +++ b/src/simple_cnf.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ SUMMARY diff --git a/src/sysmisc.py b/src/sysmisc.py index 625cc40..aff9a3d 100644 --- a/src/sysmisc.py +++ b/src/sysmisc.py @@ -1,5 +1,25 @@ # This Python file uses the following encoding: utf-8 +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ SUMMARY diff --git a/src/test_data_sync.py b/src/test_data_sync.py index a117db0..9ab6fd7 100644 --- a/src/test_data_sync.py +++ b/src/test_data_sync.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ SUMMARY diff --git a/src/v4_addr_range.py b/src/v4_addr_range.py index 73cd5f9..53493f8 100644 --- a/src/v4_addr_range.py +++ b/src/v4_addr_range.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ SUMMARY diff --git a/src/web_interface.py b/src/web_interface.py index 80f3ee1..abcdd6f 100644 --- a/src/web_interface.py +++ b/src/web_interface.py @@ -1,3 +1,23 @@ +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ SUMMARY diff --git a/test/test_arnied_wrapper.py b/test/test_arnied_wrapper.py index e4e7eb7..f0f5c99 100755 --- a/test/test_arnied_wrapper.py +++ b/test/test_arnied_wrapper.py @@ -1,5 +1,25 @@ #!/usr/bin/env python +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """ .. note:: This unit tests cannot be run as a standalone module from the command line because it has internal autotest dependencies. It can however be easilty run diff --git a/test/test_build_cnfvar.py b/test/test_build_cnfvar.py index 19812d2..b63b30c 100755 --- a/test/test_build_cnfvar.py +++ b/test/test_build_cnfvar.py @@ -1,5 +1,25 @@ #!/usr/bin/env python +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + """Unit test for build_cnfvar.py""" import unittest import os diff --git a/test/test_cnfline.py b/test/test_cnfline.py index de2860d..212b5df 100755 --- a/test/test_cnfline.py +++ b/test/test_cnfline.py @@ -1,5 +1,25 @@ #!/usr/bin/env python +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + import unittest from src.cnfline.cnfline import CnfLine diff --git a/test/test_mail_utils.py b/test/test_mail_utils.py index e9344ca..772ff7e 100644 --- a/test/test_mail_utils.py +++ b/test/test_mail_utils.py @@ -1,5 +1,25 @@ #!/usr/bin/env python +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + import unittest import os diff --git a/test/test_simple_cnf.py b/test/test_simple_cnf.py index e70c82b..60951ea 100755 --- a/test/test_simple_cnf.py +++ b/test/test_simple_cnf.py @@ -1,6 +1,26 @@ #!/usr/bin/env python # This Python file uses the following encoding: utf-8 +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG + import unittest from traceback import print_exc from tempfile import mkstemp diff --git a/test/test_v4_addr_range.py b/test/test_v4_addr_range.py index bb41bfc..3fc107c 100644 --- a/test/test_v4_addr_range.py +++ b/test/test_v4_addr_range.py @@ -1,4 +1,23 @@ #!/usr/bin/env python +# The software in this package is distributed under the GNU General +# Public License version 2 (with a special exception described below). +# +# A copy of GNU General Public License (GPL) is included in this distribution, +# in the file COPYING.GPL. +# +# As a special exception, if other files instantiate templates or use macros +# or inline functions from this file, or you compile this file and link it +# with other works to produce a work based on this file, this file +# does not by itself cause the resulting work to be covered +# by the GNU General Public License. +# +# However the source code for this file must still be made available +# in accordance with section (3) of the GNU General Public License. +# +# This exception does not invalidate any other reasons why a work based +# on this file might be covered by the GNU General Public License. +# +# Copyright (c) 2016-2018 Intra2net AG from __future__ import absolute_import -- 1.7.1