From: Michael Tremer Date: Sun, 26 Dec 2010 17:34:25 +0000 (+0100) Subject: Add license information. X-Git-Tag: v2.0.0~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b5ed4e14e0cacf525dd036631e645e2737d43be;p=oddments%2Ffireinfo.git Add license information. --- diff --git a/fireinfo/__init__.py b/fireinfo/__init__.py index b924af0..650a572 100644 --- a/fireinfo/__init__.py +++ b/fireinfo/__init__.py @@ -1,4 +1,23 @@ #!/usr/bin/python +############################################################################### +# # +# Fireinfo # +# Copyright (C) 2010, 2011 IPFire Team (www.ipfire.org) # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### __version__ = "0.13.1" diff --git a/fireinfo/cpu.py b/fireinfo/cpu.py index e479f99..1fbe055 100644 --- a/fireinfo/cpu.py +++ b/fireinfo/cpu.py @@ -1,4 +1,23 @@ #!/usr/bin/python +############################################################################### +# # +# Fireinfo # +# Copyright (C) 2010, 2011 IPFire Team (www.ipfire.org) # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### import os diff --git a/fireinfo/device.py b/fireinfo/device.py index 4502711..64d5e5f 100644 --- a/fireinfo/device.py +++ b/fireinfo/device.py @@ -1,3 +1,24 @@ +#!/usr/bin/python +############################################################################### +# # +# Fireinfo # +# Copyright (C) 2010, 2011 IPFire Team (www.ipfire.org) # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + import os import string diff --git a/fireinfo/hypervisor.py b/fireinfo/hypervisor.py index 5a075f7..cdc9efd 100644 --- a/fireinfo/hypervisor.py +++ b/fireinfo/hypervisor.py @@ -1,4 +1,23 @@ #!/usr/bin/python +############################################################################### +# # +# Fireinfo # +# Copyright (C) 2010, 2011 IPFire Team (www.ipfire.org) # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### import _fireinfo import system diff --git a/fireinfo/system.py b/fireinfo/system.py index 7e9a6a4..dce1b64 100644 --- a/fireinfo/system.py +++ b/fireinfo/system.py @@ -1,4 +1,23 @@ #!/usr/bin/python +############################################################################### +# # +# Fireinfo # +# Copyright (C) 2010, 2011 IPFire Team (www.ipfire.org) # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### import hashlib import json diff --git a/sendprofile b/sendprofile index adae61d..de43c99 100644 --- a/sendprofile +++ b/sendprofile @@ -1,4 +1,23 @@ #!/usr/bin/python +############################################################################### +# # +# Fireinfo # +# Copyright (C) 2010, 2011 IPFire Team (www.ipfire.org) # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### import json import logging diff --git a/setup.py b/setup.py index 3f69a04..162bf86 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,23 @@ +#!/usr/bin/python +############################################################################### +# # +# Fireinfo # +# Copyright (C) 2010, 2011 IPFire Team (www.ipfire.org) # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### from distutils.core import setup, Extension @@ -5,6 +25,7 @@ setup( name = "fireinfo", version = "0.13.1", description = "Hardware information gathering library.", + license = "GPLv3", author = "IPFire.org Team", author_email = "info@ipfire.org", url = "http://redmine.ipfire.org/projects/fireinfo", diff --git a/src/fireinfo.c b/src/fireinfo.c index 03317e1..5310c06 100644 --- a/src/fireinfo.c +++ b/src/fireinfo.c @@ -1,11 +1,10 @@ /* - * fireinfo.c - * - * Copyright (C) 2010 IPFire. All rights reserved. + * Fireinfo + * Copyright (C) 2010, 2011 IPFire Team (www.ipfire.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful,