debian/0000755000000000000000000000000011605635735007201 5ustar debian/install0000644000000000000000000000004711605635712010566 0ustar usr/lib/cmpi/*.so usr/share/OpenDRIM/* debian/prerm0000644000000000000000000000244311605635712010247 0ustar #!/bin/sh -e # prerm script for opendrim-lmp-baseserver # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|deconfigure) CIMNAMESPACE=root/cimv2 CIMSERVER=sfcb INTEROPNAMESPACE=root/interop APP_NAME=opendrim-lmp-physicalasset VERSION=`cat /usr/share/doc/opendrim-lmp-physicalasset/VERSION` OPENDRIM_REG_DIR=/usr/share/OpenDRIM PROVIDER_SCRIPT_POST=PhysicalAsset $OPENDRIM_REG_DIR/$APP_NAME/registration/$PROVIDER_SCRIPT_POST-remove.sh $CIMNAMESPACE $CIMSERVER $INTEROPNAMESPACE $OPENDRIM_REG_DIR/$APP_NAME ;; failed-upgrade) ;; *) echo "prerm 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 debian/source/0000755000000000000000000000000011605635735010501 5ustar debian/source/format0000644000000000000000000000001411605635712011702 0ustar 3.0 (quilt) debian/postrm0000644000000000000000000000510511605635712010444 0ustar #!/bin/bash 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) rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_PhysicalComponent rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_ConnectedTo rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_PhysicalFrame rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_ComputerSystemPackage rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_Realizes rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_PhysicalPackageCapacity rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_ConfigurationCapacity rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_PhysicalPackage rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_PhysicalMemory rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_PhysicalAssetCapabilities rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_PhysicalElementInConnector rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_SystemPackaging rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_Chip rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_PhysicalAssetCapabilitiesToPhysicalElement rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_PhysicalAssetRegisteredProfile rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_Chassis rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_PhysicalAssetConformsToProfile rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_PhysicalElementPackage rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_PhysicalConnector rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_Rack rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_Card rm -rf /var/{lib,cache}/OpenDRIM/root/cimv2/OpenDRIM_Slot ;; 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 debian/changelog0000644000000000000000000000124511605635732011052 0ustar opendrim-lmp-physicalasset (0.1.2-0ubuntu2) oneiric; urgency=low * debian/patches/01-ftbfs-add-opendrim-lib.patch: Added library opendrim to LIBS variable in check routine of acinclude.m4 to build with ld --as-needed (LP: #756140) -- Sebastian Carneiro Fri, 08 Jul 2011 19:18:18 +0200 opendrim-lmp-physicalasset (0.1.2-0ubuntu1) maverick; urgency=low * New upstream version -- Guillaume BOTTEX Fri, 11 Jun 2010 11:20:00 +0900 opendrim-lmp-physicalasset (0.1.1-0ubuntu1) karmic; urgency=low * Initial release -- Guillaume BOTTEX Wed, 19 Aug 2009 16:14:02 +0900 debian/control0000644000000000000000000000131011605635712010572 0ustar Source: opendrim-lmp-physicalasset Priority: optional Section: libs Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Guillaume BOTTEX Build-Depends: debhelper (>= 5), automake, autoconf, libtool, sfcb, libopendrim0-dev (>= 1.1.3), libxml2-dev Standards-Version: 3.8.4 Homepage: http://opendrim.sourceforge.net/ Package: opendrim-lmp-physicalasset Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, sfcb, libopendrim0 (>= 1.1.3) Description: OpenDRIM Physical Asset provider Provides information about the computer system's physical asset capabilities. . Compliant with the DMTF Physical Asset Profile v1.0.2 (DSP1011). debian/postinst0000644000000000000000000000262011605635712011002 0ustar #!/bin/sh -e # postinst script for opendrim-lmp-baseserver # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) CIMNAMESPACE=root/cimv2 VENDOR=OpenDRIM CIMSERVER=sfcb INTEROPNAMESPACE=root/interop APP_NAME=opendrim-lmp-physicalasset VERSION=`cat /usr/share/doc/opendrim-lmp-physicalasset/VERSION` OPENDRIM_REG_DIR=/usr/share/OpenDRIM PROVIDER_SCRIPT_POST=PhysicalAsset $OPENDRIM_REG_DIR/$APP_NAME/registration/$PROVIDER_SCRIPT_POST.sh $CIMNAMESPACE $VENDOR $CIMSERVER $INTEROPNAMESPACE $VERSION $OPENDRIM_REG_DIR/$APP_NAME ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst 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 debian/copyright0000644000000000000000000000267011605635712011134 0ustar This package was debianized by Guillaume BOTTEX on Wed, 19 Aug 2009 16:14:02 +0900. It was downloaded from http://opendrim.sourceforge.net/ Upstream Author: Guillaume BOTTEX Copyright: Copyright (C) 2009 ETRI Guillaume BOTTEX License: Linux Management Providers (LMP), Physical Asset provider package This program is being developed under the "OpenDRIM" project. The "OpenDRIM" project web page: http://opendrim.sourceforge.net The "OpenDRIM" project mailing list: opendrim@googlegroups.com 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; version 2 of the License. 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. The Debian packaging is copyright 2009, Guillaume BOTTEX and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. debian/rules0000755000000000000000000000357111605635712010262 0ustar #!/usr/bin/make -f INSTALL = /usr/bin/install -c CONFIGURE_OPTIONS := CIMSERVER=sfcb --prefix=/usr INTEROPNAMESPACE=root/interop COMMONLIBDIR=/usr/lib/cmpi DESTDIR = $(CURDIR)/debian/tmp VERSION = $(shell cat ./VERSION) APP_NAME = opendrim-lmp-physicalasset OPENDRIM_REG_DIR = /usr/share/OpenDRIM OPENDRIM_MOF_DIR = /usr/share/OpenDRIM/$(APP_NAME)/mof configure: configure-stamp configure-stamp: dh_testdir autoreconf -i --force ./configure $(CONFIGURE_OPTIONS) touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) #docbook-to-man debian/opendrim-lmp-physicalasset.sgml > opendrim-lmp-physicalasset.1 touch $@ clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp [ ! -f Makefile ] || $(MAKE) clean dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) DESTDIR=$(DESTDIR) install $(INSTALL) -d -m 744 $(DESTDIR)$(OPENDRIM_REG_DIR)/$(APP_NAME)/registration $(INSTALL) -p -m 744 registration/*.sh $(DESTDIR)$(OPENDRIM_REG_DIR)/$(APP_NAME)/registration $(INSTALL) -d -m 744 $(DESTDIR)$(OPENDRIM_MOF_DIR) $(INSTALL) -p -m 644 mof/*.mof $(DESTDIR)$(OPENDRIM_MOF_DIR) # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples dh_install --sourcedir=$(DESTDIR) # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_python # dh_installinit # dh_installcron # 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 debian/docs0000644000000000000000000000003111605635712010041 0ustar NEWS README TODO VERSION debian/patches/0000755000000000000000000000000011605635735010630 5ustar debian/patches/01-ftbfs-add-opendrim-lib.patch0000644000000000000000000000155211605635727016304 0ustar Description: To fix FTBFS because of changes in defaults for toolchain (binutils) it is necessary to include library opendrim at linking time. This patch modifies acinclude.m4 adding such library to the LIBS variable. . Forwarded: http://sourceforge.net/apps/trac/opendrim/ticket/1 Author: Sebastian Carneiro Last-Update: 2011-07-07 Index: opendrim-lmp-physicalasset/acinclude.m4 =================================================================== --- opendrim-lmp-physicalasset.orig/acinclude.m4 2011-07-07 21:07:23.657179001 -0300 +++ opendrim-lmp-physicalasset/acinclude.m4 2011-07-07 21:07:46.317178249 -0300 @@ -261,6 +261,7 @@ if test -e $OPENDRIMCOMMONLIBDIR/libopendrim.so then AC_MSG_RESULT(yes) + LIBS="${LIBS} -lopendrim" else AC_MSG_ERROR([[no. The OpenDRIM Common library could not be found (libopendrim.so)]]) fi debian/patches/series0000644000000000000000000000004011605635727012040 0ustar 01-ftbfs-add-opendrim-lib.patch debian/compat0000644000000000000000000000000211605635712010372 0ustar 5