From bc7fc6a17ef86b1264683ec34654ba97cf4a08b0 Mon Sep 17 00:00:00 2001 From: Yan Date: Mon, 8 Jul 2013 17:33:28 +0700 Subject: [PATCH] Added license. --- LICENSE | 30 +++++++++++++++++++++ serverauditor_sshconfig/core/api.py | 7 +++++ serverauditor_sshconfig/core/application.py | 7 +++++ serverauditor_sshconfig/core/cryptor.py | 5 ++++ serverauditor_sshconfig/core/logger.py | 7 +++++ serverauditor_sshconfig/core/ssh_config.py | 7 +++++ serverauditor_sshconfig/core/utils.py | 7 +++++ serverauditor_sshconfig/sa_export.py | 8 ++++-- serverauditor_sshconfig/sa_import.py | 8 ++++-- serverauditor_sshconfig/serverauditor | 6 +++++ 10 files changed, 88 insertions(+), 4 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a573d5b --- /dev/null +++ b/LICENSE @@ -0,0 +1,30 @@ +Copyright (c) 2013, Crystalnix. + +Redistribution and use in source and binary forms of the software as well +as documentation, 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. + +* The names of the contributors may not be used to endorse or + promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE AND DOCUMENTATION 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 OWNER +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 AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. \ No newline at end of file diff --git a/serverauditor_sshconfig/core/api.py b/serverauditor_sshconfig/core/api.py index 14c5d86..39f3723 100644 --- a/serverauditor_sshconfig/core/api.py +++ b/serverauditor_sshconfig/core/api.py @@ -1,3 +1,10 @@ +# coding: utf-8 + +""" +Copyright (c) 2013 Crystalnix. +License BSD, see LICENSE for more details. +""" + import base64 import json import urllib2 diff --git a/serverauditor_sshconfig/core/application.py b/serverauditor_sshconfig/core/application.py index 1ca48b4..2ee9308 100644 --- a/serverauditor_sshconfig/core/application.py +++ b/serverauditor_sshconfig/core/application.py @@ -1,3 +1,10 @@ +# coding: utf-8 + +""" +Copyright (c) 2013 Crystalnix. +License BSD, see LICENSE for more details. +""" + import abc import base64 import ConfigParser diff --git a/serverauditor_sshconfig/core/cryptor.py b/serverauditor_sshconfig/core/cryptor.py index d09a380..ce22a18 100644 --- a/serverauditor_sshconfig/core/cryptor.py +++ b/serverauditor_sshconfig/core/cryptor.py @@ -1,6 +1,11 @@ #!/usr/bin/env python # coding: utf-8 +""" +Copyright (c) 2013 Crystalnix. +License BSD, see LICENSE for more details. +""" + from __future__ import print_function import abc diff --git a/serverauditor_sshconfig/core/logger.py b/serverauditor_sshconfig/core/logger.py index 8ee8acd..614bdb0 100644 --- a/serverauditor_sshconfig/core/logger.py +++ b/serverauditor_sshconfig/core/logger.py @@ -1,3 +1,10 @@ +# coding: utf-8 + +""" +Copyright (c) 2013 Crystalnix. +License BSD, see LICENSE for more details. +""" + from __future__ import print_function import abc diff --git a/serverauditor_sshconfig/core/ssh_config.py b/serverauditor_sshconfig/core/ssh_config.py index 3428cd0..de4cdaf 100644 --- a/serverauditor_sshconfig/core/ssh_config.py +++ b/serverauditor_sshconfig/core/ssh_config.py @@ -1,3 +1,10 @@ +# coding: utf-8 + +""" +Copyright (c) 2013 Crystalnix. +License BSD, see LICENSE for more details. +""" + import getpass import os import re diff --git a/serverauditor_sshconfig/core/utils.py b/serverauditor_sshconfig/core/utils.py index 812e748..fb871d1 100644 --- a/serverauditor_sshconfig/core/utils.py +++ b/serverauditor_sshconfig/core/utils.py @@ -1,3 +1,10 @@ +# coding: utf-8 + +""" +Copyright (c) 2013 Crystalnix. +License BSD, see LICENSE for more details. +""" + from itertools import izip from multiprocessing import Pipe, Process diff --git a/serverauditor_sshconfig/sa_export.py b/serverauditor_sshconfig/sa_export.py index 78d426c..40bc41b 100644 --- a/serverauditor_sshconfig/sa_export.py +++ b/serverauditor_sshconfig/sa_export.py @@ -1,6 +1,10 @@ #!/usr/bin/env python -# -# Copyright 2013 Crystalnix +# coding: utf-8 + +""" +Copyright (c) 2013 Crystalnix. +License BSD, see LICENSE for more details. +""" import sys diff --git a/serverauditor_sshconfig/sa_import.py b/serverauditor_sshconfig/sa_import.py index af19a0d..df81e62 100644 --- a/serverauditor_sshconfig/sa_import.py +++ b/serverauditor_sshconfig/sa_import.py @@ -1,6 +1,10 @@ #!/usr/bin/env python -# -# Copyright 2013 Crystalnix +# coding: utf-8 + +""" +Copyright (c) 2013 Crystalnix. +License BSD, see LICENSE for more details. +""" import os import stat diff --git a/serverauditor_sshconfig/serverauditor b/serverauditor_sshconfig/serverauditor index b81d9ce..19a09e5 100755 --- a/serverauditor_sshconfig/serverauditor +++ b/serverauditor_sshconfig/serverauditor @@ -1,4 +1,10 @@ #!/usr/bin/env python +# coding: utf-8 + +""" +Copyright (c) 2013 Crystalnix. +License BSD, see LICENSE for more details. +""" import sys