--- fusioninventory-agent-2.1.9.orig/debian/compat +++ fusioninventory-agent-2.1.9/debian/compat @@ -0,0 +1 @@ +5 --- fusioninventory-agent-2.1.9.orig/debian/rules +++ fusioninventory-agent-2.1.9/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +DEB_DH_INSTALL_CRON_ARGS=--name=fusioninventory-agent + +DESTDIR=debian/fusioninventory-agent + +configure: configure-stamp +configure-stamp: + dh_testdir + + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + PERL_AUTOINSTALL=--skip perl Makefile.PL INSTALLDIRS=vendor + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) clean + rm -f Makefile.old + + QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/fusioninventory-agent install + + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs Changes + dh_installdocs + dh_installexamples + dh_install +# dh_installdebconf + dh_installlogrotate + dh_installinit + dh_installcron $(DEB_DH_INSTALL_CRON_ARGS) +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- fusioninventory-agent-2.1.9.orig/debian/control +++ fusioninventory-agent-2.1.9/debian/control @@ -0,0 +1,27 @@ +Source: fusioninventory-agent +Section: net +Priority: extra +Maintainer: Gonéri Le Bouder +Uploaders: Benoit Mortier +Build-Depends: debhelper (>= 5), libxml-simple-perl, + libnet-ip-perl, libcompress-zlib-perl, libwww-perl, + libnet-ssleay-perl, perl, quilt +Standards-Version: 3.7.3 +Homepage: http://fusioninventory.org/ +Vcs-Browser: http://git.debian.org/?p=users/goneri/fusioninventory-agent.git;a=summary +Vcs-Git: git://git.debian.org/users/goneri/fusioninventory-agent.git + +Package: fusioninventory-agent +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, + ucf, libxml-simple-perl, + libnet-ip-perl, libcompress-zlib-perl, libwww-perl, libnet-ssleay-perl, + libproc-daemon-perl, dmidecode +Suggests: pciutils, nmap, smartmontools, read-edid +Description: Hardware and software inventory tool (client) + FusionInventory Agent is an application designed to help a network + or system administrator to keep track of the hardware and software + configurations of computers that are installed on the network. + This agent can send information about the computer to a OCS Inventory + or GLPI server with the FusionInventory for GLPI plugin. + --- fusioninventory-agent-2.1.9.orig/debian/fusioninventory-agent.dirs +++ fusioninventory-agent-2.1.9/debian/fusioninventory-agent.dirs @@ -0,0 +1,2 @@ +var/lib/fusioninventory-agent +etc/fusioninventory --- fusioninventory-agent-2.1.9.orig/debian/init.d +++ fusioninventory-agent-2.1.9/debian/init.d @@ -0,0 +1,66 @@ +#! /bin/sh + +### BEGIN INIT INFO +# Provides: fusioninventory-agent +# Required-Start: $local_fs $remote_fs $network $syslog +# Required-Stop: $local_fs $remote_fs $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: starts FusionInventory Agent +# Description: starts FusionInventory Agent using start-stop-daemon +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/bin/fusioninventory-agent +DAEMON_OPTS=-d +NAME=fusioninventory-agent +DESC=fusioninventory-agent + +test -x $DAEMON || exit 0 + +# Include fusioninventory-_agent defaults if available +if [ -f /etc/default/fusioninventory-agent ] ; then + . /etc/default/fusioninventory-agent +fi + +. /lib/lsb/init-functions + + +if [ ! "$MODE" = "daemon" ]; then + echo "Daemon mode disabled in /etc/default/fusioninventory-agent" + exit 0 +fi + + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON -- $DAEMON_OPTS || true + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \ + --exec /usr/bin/perl || true + echo "$NAME." + ;; + restart|force-reload) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON || true + sleep 1 + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS || true + echo "$NAME." + ;; + status) + status_of_proc -p /var/run/$NAME.pid "$DAEMON" fusioninventory-agent && exit 0 || exit $? + ;; + *) + echo "Usage: $NAME {start|stop|restart|status}" >&2 + exit 1 + ;; +esac + +exit 0 --- fusioninventory-agent-2.1.9.orig/debian/changelog +++ fusioninventory-agent-2.1.9/debian/changelog @@ -0,0 +1,171 @@ +fusioninventory-agent (2.1.9-3~hardy1) hardy; urgency=low + + * New upstream release and new backport + + -- Anthony Mercatante Tue, 12 Jul 2011 15:21:11 +0200 + +fusioninventory-agent (2.1.9-3) unstable; urgency=low + + * Remplace cfg.diff with fix-sharedir + * Really remove inactive upload + + -- Gonéri Le Bouder Thu, 30 Jun 2011 10:57:32 +0200 + +fusioninventory-agent (2.1.9-2) unstable; urgency=low + + * Fix the test-suite: + -add 0001-Fix-ignore-REST-build-in-the-test-suite.patch + * Remove inactive maintainer from the uploader + + -- Gonéri Le Bouder Tue, 21 Jun 2011 10:09:59 +0200 + +fusioninventory-agent (2.1.9-1) unstable; urgency=low + + * New upstream release + * Standard-Version: 3.9.2 + + -- Gonéri Le Bouder Tue, 14 Jun 2011 21:35:30 +0200 + +fusioninventory-agent (2.1.8-2) unstable; urgency=low + + * Add the dependency on libproc-pid-file-perl + * Add a B-D on libhttp-daemon-perl and a recommends on this dependency + Closes: #620414 + + -- Gonéri Le Bouder Fri, 08 Apr 2011 12:31:03 +0200 + +fusioninventory-agent (2.1.8-1) unstable; urgency=low + + * New upstream release + * Remove Benoit Mortier from Uploaders + + -- Gonéri Le Bouder Sun, 27 Mar 2011 14:52:46 +0200 + +fusioninventory-agent (2.1.8~rc1-1) experimental; urgency=low + + * New upstream release + + -- Gonéri Le Bouder Sun, 20 Mar 2011 14:43:24 +0100 + +fusioninventory-agent (2.1.7stable-2) experimental; urgency=low + + * Recommends hdparm + + -- Gonéri Le Bouder Thu, 13 Jan 2011 14:09:59 +0100 + +fusioninventory-agent (2.1.7stable-1) experimental; urgency=low + + * New upstream release + + -- Gonéri Le Bouder Sun, 12 Dec 2010 20:37:27 +0100 + +fusioninventory-agent (2.1.7beta1-1) experimental; urgency=low + + * New upstream release + * Remove fix-pod.diff + * Add BD: libtest-compile-perl + + -- Gonéri Le Bouder Fri, 19 Nov 2010 15:30:41 +0100 + +fusioninventory-agent (2.1.6-1) experimental; urgency=low + + * New upstream release + * add fix-pod.diff to fix a syntax error in fusioninventory-agent + + -- Gonéri Le Bouder Sun, 10 Oct 2010 00:59:51 +0200 + +fusioninventory-agent (2.1.5-1) experimental; urgency=low + + * New upstream release + * refresh debian/patches/cfg.diff + + -- Gonéri Le Bouder Thu, 16 Sep 2010 00:06:56 +0200 + +fusioninventory-agent (2.1.3-1) experimental; urgency=low + + * New upstream release + + -- Gonéri Le Bouder Wed, 01 Sep 2010 22:08:08 +0200 + +fusioninventory-agent (2.1.2-1) experimental; urgency=low + + * New upstream release + * remove debian-changes-2.1.1-1 + * Install README.html as documentation + + -- Gonéri Le Bouder Tue, 31 Aug 2010 00:06:49 +0200 + +fusioninventory-agent (2.1.1-1) experimental; urgency=low + + * New upstream release + * Remove pod.diff, merged upstream + + -- Gonéri Le Bouder Wed, 18 Aug 2010 21:55:04 +0200 + +fusioninventory-agent (2.1-1) experimental; urgency=low + + * New upstream release + * Upload in experimental because of the Squeeze freeze. + * Add dependency on libuniversal-require-perl + * Standard version 3.9.1 + * fix various minor POD error + * Use upstream agent.cfg + * Add fix-share-dir-loc.diff to fix share-dir loc + * Disable daemon mode in agent.cfg + + -- Gonéri Le Bouder Sun, 15 Aug 2010 23:13:13 +0200 + +fusioninventory-agent (2.0.6-2) unstable; urgency=low + + * Fix the init.d script so it can stop the service, thanks + David Hannequin + * Standard version 3.9.0 + * remove the set -e from the init.d script + + -- Gonéri Le Bouder Mon, 12 Jul 2010 15:26:47 +0200 + +fusioninventory-agent (2.0.6-1) unstable; urgency=low + + * New upstream release + + -- Gonéri Le Bouder Fri, 28 May 2010 16:24:54 +0200 + +fusioninventory-agent (2.0.5-2) unstable; urgency=low + + * Add an optional daemon mode + + -- Gonéri Le Bouder Tue, 18 May 2010 00:28:22 +0200 + +fusioninventory-agent (2.0.5-1) unstable; urgency=low + + * New upstream release + * Drop debian/patches/debian-changes-2.0.3-2 + + -- Gonéri Le Bouder Fri, 14 May 2010 02:29:27 +0200 + +fusioninventory-agent (2.0.3-2) unstable; urgency=low + + * control: drop two duplicated spaces in description, thank you Rhonda. + * remove debian/patches/debian-changes-2.0-1 + * changes Architecture: from all to any since dmidecode conditional + dependency is eval during build process, thanks Kibi :) + * remove tools/build-perl-tree.sh MANIFEST.SKIP from the git repository + * Create /etc/fusioninventory, thanks Fabrice Flore-Thebault + (Closes: #578400) + * drop the debconf menu and template + * install a template agent.cfg in /etc/fusioninventory + + -- Gonéri Le Bouder Thu, 22 Apr 2010 10:31:15 +0200 + +fusioninventory-agent (2.0.3-1) unstable; urgency=low + + * New upstream release + * Fix the Vcs-Git URL and add a Vcs-Browser link + + -- Gonéri Le Bouder Sun, 11 Apr 2010 00:19:27 +0200 + +fusioninventory-agent (2.0-1) unstable; urgency=low + + * Initial release (Closes: #570768) + + -- Gonéri Le Bouder Sat, 20 Mar 2010 23:34:03 +0100 --- fusioninventory-agent-2.1.9.orig/debian/fusioninventory-agent.postrm +++ fusioninventory-agent-2.1.9/debian/fusioninventory-agent.postrm @@ -0,0 +1,44 @@ +#!/bin/sh +# postrm script for fusioninventory-agent +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + ucf --purge /etc/fusioninventory/agent.cfg + rm -rf /var/lib/fusioninventory-agent + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- fusioninventory-agent-2.1.9.orig/debian/agent.cfg +++ fusioninventory-agent-2.1.9/debian/agent.cfg @@ -0,0 +1,6 @@ +#OCS Inventory server +#server=http://yourserver/ocsinventory +server= + +# Store inventory in a local directory +#local=/tmp --- fusioninventory-agent-2.1.9.orig/debian/fusioninventory-agent.docs +++ fusioninventory-agent-2.1.9/debian/fusioninventory-agent.docs @@ -0,0 +1 @@ +README --- fusioninventory-agent-2.1.9.orig/debian/fusioninventory-agent.cron.daily +++ fusioninventory-agent-2.1.9/debian/fusioninventory-agent.cron.daily @@ -0,0 +1,18 @@ +#!/bin/sh + +PROG=/usr/bin/fusioninventory-agent + +if [ -f /etc/default/fusioninventory-agent ] ; then + . /etc/default/fusioninventory-agent +fi + +if [ ! -x "$PROG" ]; then + exit 0 +fi + +if [ ! "$MODE" = "cron" ]; then + exit 0 +fi + +$PROG > /dev/null 2>&1 + --- fusioninventory-agent-2.1.9.orig/debian/copyright +++ fusioninventory-agent-2.1.9/debian/copyright @@ -0,0 +1,44 @@ +It was downloaded from http://search.cpan.org/dist/FusionInventory-Agent/ + +Upstream maintainer: Gonéri Le Bouder + +Copyright 2006-2010 OCS Inventory contributors +Copyright 2010 FusionInventory Team +Copyright 2005 Mandriva +Copyright 2007 Gonéri Le Bouder +Copyright 2008 Jean Parpaillon + + +License: + +lib/FusionInventory/Agent/Task/Inventory/OS/Generic/Screen.pm +and memconf are released under this license: + 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. + +The rest of the files are released under this license: + 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. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + +The Debian packaging is Copyright (C) 2007-2010,Pierre Chifflier, + Benoit Mortier and Gonéri Le Bouder and is licensed under the +GPLv2, see `/usr/share/common-licenses/GPL-2'. + --- fusioninventory-agent-2.1.9.orig/debian/fusioninventory-agent.install +++ fusioninventory-agent-2.1.9/debian/fusioninventory-agent.install @@ -0,0 +1,2 @@ +debian/agent.cfg etc/fusioninventory +debian/default/fusioninventory-agent etc/default --- fusioninventory-agent-2.1.9.orig/debian/default/fusioninventory-agent +++ fusioninventory-agent-2.1.9/debian/default/fusioninventory-agent @@ -0,0 +1,6 @@ +# FusionInventory Agent Options +# +# MODE can be either "daemon" or "cron" +MODE=cron +# You need to set the server in +# /etc/fusioninventory/agent.cfg --- fusioninventory-agent-2.1.9.orig/debian/patches/series +++ fusioninventory-agent-2.1.9/debian/patches/series @@ -0,0 +1 @@ +fusioninventory-agent-config-packager-mode --- fusioninventory-agent-2.1.9.orig/debian/patches/fusioninventory-agent-config-packager-mode +++ fusioninventory-agent-2.1.9/debian/patches/fusioninventory-agent-config-packager-mode @@ -0,0 +1,11 @@ +--- debian.orig/fusioninventory-agent-config ++++ debian/fusioninventory-agent-config +@@ -9,7 +9,7 @@ + + + # DEB/RPM/... maintainers, turn this to '1' +-my $packaged = 0; ++my $packaged = 1; + + my $config; + my @cacert; --- fusioninventory-agent-2.1.9.orig/.pc/.quilt_patches +++ fusioninventory-agent-2.1.9/.pc/.quilt_patches @@ -0,0 +1 @@ +debian/patches --- fusioninventory-agent-2.1.9.orig/.pc/.version +++ fusioninventory-agent-2.1.9/.pc/.version @@ -0,0 +1 @@ +2 --- fusioninventory-agent-2.1.9.orig/.pc/.quilt_series +++ fusioninventory-agent-2.1.9/.pc/.quilt_series @@ -0,0 +1 @@ +series