Added licence things default tip
authorft
Tue, 04 Nov 2014 14:17:12 +0100
changeset 10b9c9cee655d
parent 0 9f2855a83dae
Added licence things
Apache License, Version 2.0.txt
src/ClamAVScanner.py
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Apache License, Version 2.0.txt	Tue Nov 04 14:17:12 2014 +0100
     1.3 @@ -0,0 +1,202 @@
     1.4 +
     1.5 +                                 Apache License
     1.6 +                           Version 2.0, January 2004
     1.7 +                        http://www.apache.org/licenses/
     1.8 +
     1.9 +   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
    1.10 +
    1.11 +   1. Definitions.
    1.12 +
    1.13 +      "License" shall mean the terms and conditions for use, reproduction,
    1.14 +      and distribution as defined by Sections 1 through 9 of this document.
    1.15 +
    1.16 +      "Licensor" shall mean the copyright owner or entity authorized by
    1.17 +      the copyright owner that is granting the License.
    1.18 +
    1.19 +      "Legal Entity" shall mean the union of the acting entity and all
    1.20 +      other entities that control, are controlled by, or are under common
    1.21 +      control with that entity. For the purposes of this definition,
    1.22 +      "control" means (i) the power, direct or indirect, to cause the
    1.23 +      direction or management of such entity, whether by contract or
    1.24 +      otherwise, or (ii) ownership of fifty percent (50%) or more of the
    1.25 +      outstanding shares, or (iii) beneficial ownership of such entity.
    1.26 +
    1.27 +      "You" (or "Your") shall mean an individual or Legal Entity
    1.28 +      exercising permissions granted by this License.
    1.29 +
    1.30 +      "Source" form shall mean the preferred form for making modifications,
    1.31 +      including but not limited to software source code, documentation
    1.32 +      source, and configuration files.
    1.33 +
    1.34 +      "Object" form shall mean any form resulting from mechanical
    1.35 +      transformation or translation of a Source form, including but
    1.36 +      not limited to compiled object code, generated documentation,
    1.37 +      and conversions to other media types.
    1.38 +
    1.39 +      "Work" shall mean the work of authorship, whether in Source or
    1.40 +      Object form, made available under the License, as indicated by a
    1.41 +      copyright notice that is included in or attached to the work
    1.42 +      (an example is provided in the Appendix below).
    1.43 +
    1.44 +      "Derivative Works" shall mean any work, whether in Source or Object
    1.45 +      form, that is based on (or derived from) the Work and for which the
    1.46 +      editorial revisions, annotations, elaborations, or other modifications
    1.47 +      represent, as a whole, an original work of authorship. For the purposes
    1.48 +      of this License, Derivative Works shall not include works that remain
    1.49 +      separable from, or merely link (or bind by name) to the interfaces of,
    1.50 +      the Work and Derivative Works thereof.
    1.51 +
    1.52 +      "Contribution" shall mean any work of authorship, including
    1.53 +      the original version of the Work and any modifications or additions
    1.54 +      to that Work or Derivative Works thereof, that is intentionally
    1.55 +      submitted to Licensor for inclusion in the Work by the copyright owner
    1.56 +      or by an individual or Legal Entity authorized to submit on behalf of
    1.57 +      the copyright owner. For the purposes of this definition, "submitted"
    1.58 +      means any form of electronic, verbal, or written communication sent
    1.59 +      to the Licensor or its representatives, including but not limited to
    1.60 +      communication on electronic mailing lists, source code control systems,
    1.61 +      and issue tracking systems that are managed by, or on behalf of, the
    1.62 +      Licensor for the purpose of discussing and improving the Work, but
    1.63 +      excluding communication that is conspicuously marked or otherwise
    1.64 +      designated in writing by the copyright owner as "Not a Contribution."
    1.65 +
    1.66 +      "Contributor" shall mean Licensor and any individual or Legal Entity
    1.67 +      on behalf of whom a Contribution has been received by Licensor and
    1.68 +      subsequently incorporated within the Work.
    1.69 +
    1.70 +   2. Grant of Copyright License. Subject to the terms and conditions of
    1.71 +      this License, each Contributor hereby grants to You a perpetual,
    1.72 +      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
    1.73 +      copyright license to reproduce, prepare Derivative Works of,
    1.74 +      publicly display, publicly perform, sublicense, and distribute the
    1.75 +      Work and such Derivative Works in Source or Object form.
    1.76 +
    1.77 +   3. Grant of Patent License. Subject to the terms and conditions of
    1.78 +      this License, each Contributor hereby grants to You a perpetual,
    1.79 +      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
    1.80 +      (except as stated in this section) patent license to make, have made,
    1.81 +      use, offer to sell, sell, import, and otherwise transfer the Work,
    1.82 +      where such license applies only to those patent claims licensable
    1.83 +      by such Contributor that are necessarily infringed by their
    1.84 +      Contribution(s) alone or by combination of their Contribution(s)
    1.85 +      with the Work to which such Contribution(s) was submitted. If You
    1.86 +      institute patent litigation against any entity (including a
    1.87 +      cross-claim or counterclaim in a lawsuit) alleging that the Work
    1.88 +      or a Contribution incorporated within the Work constitutes direct
    1.89 +      or contributory patent infringement, then any patent licenses
    1.90 +      granted to You under this License for that Work shall terminate
    1.91 +      as of the date such litigation is filed.
    1.92 +
    1.93 +   4. Redistribution. You may reproduce and distribute copies of the
    1.94 +      Work or Derivative Works thereof in any medium, with or without
    1.95 +      modifications, and in Source or Object form, provided that You
    1.96 +      meet the following conditions:
    1.97 +
    1.98 +      (a) You must give any other recipients of the Work or
    1.99 +          Derivative Works a copy of this License; and
   1.100 +
   1.101 +      (b) You must cause any modified files to carry prominent notices
   1.102 +          stating that You changed the files; and
   1.103 +
   1.104 +      (c) You must retain, in the Source form of any Derivative Works
   1.105 +          that You distribute, all copyright, patent, trademark, and
   1.106 +          attribution notices from the Source form of the Work,
   1.107 +          excluding those notices that do not pertain to any part of
   1.108 +          the Derivative Works; and
   1.109 +
   1.110 +      (d) If the Work includes a "NOTICE" text file as part of its
   1.111 +          distribution, then any Derivative Works that You distribute must
   1.112 +          include a readable copy of the attribution notices contained
   1.113 +          within such NOTICE file, excluding those notices that do not
   1.114 +          pertain to any part of the Derivative Works, in at least one
   1.115 +          of the following places: within a NOTICE text file distributed
   1.116 +          as part of the Derivative Works; within the Source form or
   1.117 +          documentation, if provided along with the Derivative Works; or,
   1.118 +          within a display generated by the Derivative Works, if and
   1.119 +          wherever such third-party notices normally appear. The contents
   1.120 +          of the NOTICE file are for informational purposes only and
   1.121 +          do not modify the License. You may add Your own attribution
   1.122 +          notices within Derivative Works that You distribute, alongside
   1.123 +          or as an addendum to the NOTICE text from the Work, provided
   1.124 +          that such additional attribution notices cannot be construed
   1.125 +          as modifying the License.
   1.126 +
   1.127 +      You may add Your own copyright statement to Your modifications and
   1.128 +      may provide additional or different license terms and conditions
   1.129 +      for use, reproduction, or distribution of Your modifications, or
   1.130 +      for any such Derivative Works as a whole, provided Your use,
   1.131 +      reproduction, and distribution of the Work otherwise complies with
   1.132 +      the conditions stated in this License.
   1.133 +
   1.134 +   5. Submission of Contributions. Unless You explicitly state otherwise,
   1.135 +      any Contribution intentionally submitted for inclusion in the Work
   1.136 +      by You to the Licensor shall be under the terms and conditions of
   1.137 +      this License, without any additional terms or conditions.
   1.138 +      Notwithstanding the above, nothing herein shall supersede or modify
   1.139 +      the terms of any separate license agreement you may have executed
   1.140 +      with Licensor regarding such Contributions.
   1.141 +
   1.142 +   6. Trademarks. This License does not grant permission to use the trade
   1.143 +      names, trademarks, service marks, or product names of the Licensor,
   1.144 +      except as required for reasonable and customary use in describing the
   1.145 +      origin of the Work and reproducing the content of the NOTICE file.
   1.146 +
   1.147 +   7. Disclaimer of Warranty. Unless required by applicable law or
   1.148 +      agreed to in writing, Licensor provides the Work (and each
   1.149 +      Contributor provides its Contributions) on an "AS IS" BASIS,
   1.150 +      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
   1.151 +      implied, including, without limitation, any warranties or conditions
   1.152 +      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
   1.153 +      PARTICULAR PURPOSE. You are solely responsible for determining the
   1.154 +      appropriateness of using or redistributing the Work and assume any
   1.155 +      risks associated with Your exercise of permissions under this License.
   1.156 +
   1.157 +   8. Limitation of Liability. In no event and under no legal theory,
   1.158 +      whether in tort (including negligence), contract, or otherwise,
   1.159 +      unless required by applicable law (such as deliberate and grossly
   1.160 +      negligent acts) or agreed to in writing, shall any Contributor be
   1.161 +      liable to You for damages, including any direct, indirect, special,
   1.162 +      incidental, or consequential damages of any character arising as a
   1.163 +      result of this License or out of the use or inability to use the
   1.164 +      Work (including but not limited to damages for loss of goodwill,
   1.165 +      work stoppage, computer failure or malfunction, or any and all
   1.166 +      other commercial damages or losses), even if such Contributor
   1.167 +      has been advised of the possibility of such damages.
   1.168 +
   1.169 +   9. Accepting Warranty or Additional Liability. While redistributing
   1.170 +      the Work or Derivative Works thereof, You may choose to offer,
   1.171 +      and charge a fee for, acceptance of support, warranty, indemnity,
   1.172 +      or other liability obligations and/or rights consistent with this
   1.173 +      License. However, in accepting such obligations, You may act only
   1.174 +      on Your own behalf and on Your sole responsibility, not on behalf
   1.175 +      of any other Contributor, and only if You agree to indemnify,
   1.176 +      defend, and hold each Contributor harmless for any liability
   1.177 +      incurred by, or claims asserted against, such Contributor by reason
   1.178 +      of your accepting any such warranty or additional liability.
   1.179 +
   1.180 +   END OF TERMS AND CONDITIONS
   1.181 +
   1.182 +   APPENDIX: How to apply the Apache License to your work.
   1.183 +
   1.184 +      To apply the Apache License to your work, attach the following
   1.185 +      boilerplate notice, with the fields enclosed by brackets "[]"
   1.186 +      replaced with your own identifying information. (Don't include
   1.187 +      the brackets!)  The text should be enclosed in the appropriate
   1.188 +      comment syntax for the file format. We also recommend that a
   1.189 +      file or class name and description of purpose be included on the
   1.190 +      same "printed page" as the copyright notice for easier
   1.191 +      identification within third-party archives.
   1.192 +
   1.193 +   Copyright [yyyy] [name of copyright owner]
   1.194 +
   1.195 +   Licensed under the Apache License, Version 2.0 (the "License");
   1.196 +   you may not use this file except in compliance with the License.
   1.197 +   You may obtain a copy of the License at
   1.198 +
   1.199 +       http://www.apache.org/licenses/LICENSE-2.0
   1.200 +
   1.201 +   Unless required by applicable law or agreed to in writing, software
   1.202 +   distributed under the License is distributed on an "AS IS" BASIS,
   1.203 +   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   1.204 +   See the License for the specific language governing permissions and
   1.205 +   limitations under the License.
     2.1 --- a/src/ClamAVScanner.py	Tue Feb 18 15:39:30 2014 +0100
     2.2 +++ b/src/ClamAVScanner.py	Tue Nov 04 14:17:12 2014 +0100
     2.3 @@ -1,5 +1,39 @@
     2.4  #!/usr/bin/python
     2.5  
     2.6 +# ------------------------------------------------------------
     2.7 +# opensecurity package file
     2.8 +#
     2.9 +# Autor: X-Net Services GmbH <office@x-net.at>
    2.10 +#
    2.11 +# Copyright 2013-2014 X-Net and AIT Austrian Institute of Technology
    2.12 +#
    2.13 +#
    2.14 +#     X-Net Technologies GmbH
    2.15 +#     Elisabethstrasse 1
    2.16 +#     4020 Linz
    2.17 +#     AUSTRIA
    2.18 +#     https://www.x-net.at
    2.19 +#
    2.20 +#     AIT Austrian Institute of Technology
    2.21 +#     Donau City Strasse 1
    2.22 +#     1220 Wien
    2.23 +#     AUSTRIA
    2.24 +#     http://www.ait.ac.at
    2.25 +#
    2.26 +#
    2.27 +# Licensed under the Apache License, Version 2.0 (the "License");
    2.28 +# you may not use this file except in compliance with the License.
    2.29 +# You may obtain a copy of the License at
    2.30 +#
    2.31 +#    http://www.apache.org/licenses/LICENSE-2.0
    2.32 +#
    2.33 +# Unless required by applicable law or agreed to in writing, software
    2.34 +# distributed under the License is distributed on an "AS IS" BASIS,
    2.35 +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    2.36 +# See the License for the specific language governing permissions and
    2.37 +# limitations under the License.
    2.38 +# ------------------------------------------------------------
    2.39 +
    2.40  import ConfigParser
    2.41  
    2.42  import sys