From 12c09f10b6c6b1c5c829da955f8b61229066bbad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Sat, 22 Aug 2015 05:18:22 +0200 Subject: [PATCH] Ajoute la licence sur les scripts de hptools2 --- gestion/hptools2/__init__.py | 14 ++++++++++++++ gestion/hptools2/defaults.py | 14 ++++++++++++++ gestion/hptools2/mac.py | 14 ++++++++++++++ gestion/hptools2/port.py | 14 ++++++++++++++ gestion/hptools2/snmp.py | 14 ++++++++++++++ gestion/hptools2/switch.py | 14 ++++++++++++++ gestion/hptools2/tools.py | 14 ++++++++++++++ 7 files changed, 98 insertions(+) diff --git a/gestion/hptools2/__init__.py b/gestion/hptools2/__init__.py index a77b79f7..16133d07 100644 --- a/gestion/hptools2/__init__.py +++ b/gestion/hptools2/__init__.py @@ -1,5 +1,19 @@ #!/usr/bin/env python2.7 # -*- coding: utf-8 -*- +# +# This file 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 +# (at your option) any later version. +# +# This file 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, write to the Free Software +# Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. import os diff --git a/gestion/hptools2/defaults.py b/gestion/hptools2/defaults.py index e75384de..3b71ec99 100644 --- a/gestion/hptools2/defaults.py +++ b/gestion/hptools2/defaults.py @@ -1,5 +1,19 @@ #!/bin/bash /usr/scripts/python.sh # -*- coding: utf-8 -*- +# +# This file 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 +# (at your option) any later version. +# +# This file 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, write to the Free Software +# Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. """Ce sont les variables utiles pour les autres scripts du module""" diff --git a/gestion/hptools2/mac.py b/gestion/hptools2/mac.py index 9100d044..c0873cbd 100644 --- a/gestion/hptools2/mac.py +++ b/gestion/hptools2/mac.py @@ -1,5 +1,19 @@ #!/bin/bash /usr/scripts/python.sh # -*- coding: utf-8 -*- +# +# This file 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 +# (at your option) any later version. +# +# This file 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, write to the Free Software +# Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. """Contient les outils pour manipuler des adresses MAC dans le module hptools""" diff --git a/gestion/hptools2/port.py b/gestion/hptools2/port.py index 26b26cbb..910dc1f9 100644 --- a/gestion/hptools2/port.py +++ b/gestion/hptools2/port.py @@ -1,5 +1,19 @@ #!/bin/bash /usr/scripts/python.sh # -*- coding: utf-8 -*- +# +# This file 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 +# (at your option) any later version. +# +# This file 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, write to the Free Software +# Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. """Contient la définition et les outils pour bosser avec les ports. diff --git a/gestion/hptools2/snmp.py b/gestion/hptools2/snmp.py index 00a10ef8..95d93070 100644 --- a/gestion/hptools2/snmp.py +++ b/gestion/hptools2/snmp.py @@ -1,5 +1,19 @@ #!/bin/bash /usr/scripts/python.sh # -*- coding: utf-8 -*- +# +# This file 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 +# (at your option) any later version. +# +# This file 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, write to the Free Software +# Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. """Ce fichier propose un client snmp basique""" import netsnmp diff --git a/gestion/hptools2/switch.py b/gestion/hptools2/switch.py index 95e99d6f..3d97f2f5 100644 --- a/gestion/hptools2/switch.py +++ b/gestion/hptools2/switch.py @@ -1,5 +1,19 @@ #!/bin/bash /usr/scripts/python.sh # -*- coding: utf-8 -*- +# +# This file 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 +# (at your option) any later version. +# +# This file 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, write to the Free Software +# Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. """Outils principaux pour la description d'un switch""" import socket diff --git a/gestion/hptools2/tools.py b/gestion/hptools2/tools.py index 9bdae7bd..18efa318 100644 --- a/gestion/hptools2/tools.py +++ b/gestion/hptools2/tools.py @@ -1,5 +1,19 @@ #!/bin/bash /usr/scripts/python.sh # -*- coding: utf-8 -*- +# +# This file 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 +# (at your option) any later version. +# +# This file 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, write to the Free Software +# Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. """Fournit des outils et fonctions appelables au besoin""" from gestion import annuaires_pg