diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000000..28e2b4c8e8 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,4 @@ +Copyright 2005 2006 Pascal DANEK +Copyright 2006 2007 Gonéri LE BOUDER + Copyright (C) + + 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 + (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, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000000..cd89817c06 --- /dev/null +++ b/MANIFEST @@ -0,0 +1,76 @@ +lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Network/IPv4.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/Debian.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/Fedora.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/Knoppix.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/Mandrake.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/Redhat.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/Slackware.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/SuSE.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/Trustix.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Controllers.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/CPU.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Domains.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Mem.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Modems.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Sounds.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Sys.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Uptime.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Videos.pm +lib/Ocsinventory/Agent/Backend/OS/Linux/Drivers.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/CPU.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Mem.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Hardware.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Slots.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Modems.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Controller.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Memory.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Domains.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Drives.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Hostname.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Users.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/IPv4.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Sounds.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm +lib/Ocsinventory/Agent/Backend/OS/AIX/Videos.pm +lib/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode/Memory.pm +lib/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode/Bios.pm +lib/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode/Ports.pm +lib/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode/Slots.pm +lib/Ocsinventory/Agent/Backend/OS/Generic/Hostname.pm +lib/Ocsinventory/Agent/Backend/OS/Generic/Users.pm +lib/Ocsinventory/Agent/Backend/OS/Generic/Xorg.pm +lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Gentoo.pm +lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm +lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/RPM.pm +lib/Ocsinventory/Agent/Backend/OS/AIX.pm +lib/Ocsinventory/Agent/Backend/OS/Linux.pm +lib/Ocsinventory/Agent/Backend/OS/MacOS.pm +lib/Ocsinventory/Agent/Backend/OS/Solaris.pm +lib/Ocsinventory/Agent/Backend/OS/Generic.pm +lib/Ocsinventory/Agent/Backend/AccessLog.pm +lib/Ocsinventory/Agent/Backend/DeviceID.pm +lib/Ocsinventory/Agent/XML/Inventory.pm +lib/Ocsinventory/Agent/XML/Prolog.pm +lib/Ocsinventory/Agent/AccountInfo.pm +lib/Ocsinventory/Agent/Backend.pm +lib/Ocsinventory/Agent/Config.pm +lib/Ocsinventory/Agent/Network.pm +lib/Ocsinventory/Agent/Option.pm +lib/Ocsinventory/Agent/CompatibilityLayer.pm +lib/Ocsinventory/Agent/Option/Download.pm +lib/Ocsinventory/Agent/Option/Update.pm +lib/Ocsinventory/Agent/Option/Ipdiscover.pm +lib/Ocsinventory/Agent/Common.pm +lib/Ocsinventory/LoggerBackend/File.pm +lib/Ocsinventory/LoggerBackend/Stderr.pm +lib/Ocsinventory/LoggerBackend/Syslog.pm +lib/Ocsinventory/Compress.pm +lib/Ocsinventory/Logger.pm +AUTHORS +LICENSE +Makefile.PL +modules.conf +ocs-agent diff --git a/Makefile.PL b/Makefile.PL index 925f923efe..6e2ec1fc8e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,9 +1,33 @@ use ExtUtils::MakeMaker; WriteMakefile( - 'NAME' => 'Ocsinventory', - 'DISTNAME' => 'Ocsinventory', - 'EXE_FILES' => ["ocs-agent"], - 'VERSION_FROM' => 'ocs-agent', - ); + 'NAME' => 'Ocsinventory-Agent', + 'DISTNAME' => 'Ocsinventory-Agent', + 'EXE_FILES' => ["ocs-agent"], + 'VERSION_FROM' => 'ocs-agent', + 'dist' => {COMPRESS=> 'gzip -9f', SUFFIX=>'gz', + POSTOP => 'mv $(NAME)-$(VERSION).tar.gz ../' + }, + + ( + $ENV{SKIP_FOR_CORE} + ? (MAN3PODS => {}) + : (PREREQ_PM => { + 'Compress::Zlib' => 0, + 'Digest::MD5' => 0, + 'XML::Simple' => 0, + 'Net::IP' => 0, + } + ) +), + +( + $] >= 5.005 + ? ( + AUTHOR => 'Gonéri Le Bouder ') + : () +), + + +);