--- libibcm-1.0.4.orig/debian/libibcm-dev.install
+++ libibcm-1.0.4/debian/libibcm-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+
--- libibcm-1.0.4.orig/debian/dirs
+++ libibcm-1.0.4/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
--- libibcm-1.0.4.orig/debian/libibcm-dev.dirs
+++ libibcm-1.0.4/debian/libibcm-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
--- libibcm-1.0.4.orig/debian/rules
+++ libibcm-1.0.4/debian/rules
@@ -0,0 +1,102 @@
+#!/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
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+
+
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+	./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+build-stamp:  config.status 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.sub config.guess
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep  
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs --exclude=ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_install -X.la --fail-missing
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	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 
--- libibcm-1.0.4.orig/debian/compat
+++ libibcm-1.0.4/debian/compat
@@ -0,0 +1 @@
+7
--- libibcm-1.0.4.orig/debian/control
+++ libibcm-1.0.4/debian/control
@@ -0,0 +1,33 @@
+Source: libibcm
+Priority: extra
+Maintainer: OFED and Debian Developement and Discussion <pkg-ofed-devel@lists.alioth.debian.org>
+Uploaders: Benoit Mortier <benoit.mortier@opensides.be>, Guy Coates <gmpc@sanger.ac.uk>, Mario Lang <mlang@debian.org>
+Build-Depends: debhelper (>= 7), autotools-dev, libibverbs-dev (>=1.1.2), automake1.9
+Standards-Version: 3.8.3
+Section: libs
+Homepage: http://www.openfabrics.org
+
+Package: libibcm-dev
+Section: libdevel
+Architecture: i386 ia64 amd64 powerpc
+Depends: libibcm1 (= ${binary:Version})
+Description: Development files for the libibcm library
+ libibcm provides a userspace implementation of an InfiniBand 
+ Communication Manager (CM). The CM handles both connection
+ establishment as well as service ID resolution.
+ .
+ This package is needed to compile programs against libibcm1.
+ It contains the header files and static libraries (optionally)
+ needed for compiling.
+
+
+Package: libibcm1
+Section: libs
+Architecture: i386 ia64 amd64 powerpc
+Depends: ${shlibs:Depends}, ${misc:Depends}, libibverbs1 (>=1.1.2)
+Description: InfiniBand Communication Manager (CM) library
+ libibcm provides a userspace implementation of an InfiniBand
+ Communication Manager (CM). The CM handles both connection
+ establishment as well as service ID resolution.
+ .
+ This package contains the shared library.
--- libibcm-1.0.4.orig/debian/docs
+++ libibcm-1.0.4/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- libibcm-1.0.4.orig/debian/changelog
+++ libibcm-1.0.4/debian/changelog
@@ -0,0 +1,26 @@
+libibcm (1.0.4-1.5.201411011904) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. The following patches have been applied to the original source package
+    0001-bump-version-for-ucs400
+
+ -- Univention builddaemon <buildd@univention.de>  Sat, 01 Nov 2014 19:04:30 +0100
+
+libibcm (1.0.4-1) unstable; urgency=low
+
+  * Bump version, otherwise the build stamp in UCS 3.2 is higher than the 4.0
+    build (Bug #35387)
+
+ -- Sönke Schwardt-Krummrich <schwardt@univention.de>  Fri, 30 Oct 2014 14:43:23 +0200
+
+libibcm (1.0.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Don't ship .la files (Closes: #621513).
+
+ -- Luk Claes <luk@debian.org>  Sat, 18 Jun 2011 19:52:26 +0200
+
+libibcm (1.0.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #516094)
+
+ -- Benoit Mortier <benoit.mortier@opensides.be>  Wed, 21 Oct 2009 11:24:00 +0000
--- libibcm-1.0.4.orig/debian/copyright
+++ libibcm-1.0.4/debian/copyright
@@ -0,0 +1,51 @@
+This package was debianized by Guy Coates <gmpc@sanger.ac.uk> on
+Mon, 15 Dec 2008 12:24:02 +0000.
+
+It was downloaded from http://www.openfabrics.org/downloads/OFED/ofed-1.4/OFED-1.4.tgz
+
+Upstream Authors:
+
+Sean Hefty              <sean.hefty@intel.com>
+Libor Michalek          <libor@topspin.com>
+
+Copyright:
+
+Copyright (c) 2004 Topspin Communications.  All rights reserved.
+Copyright (c) 2004 Voltaire Corporation.  All rights reserved.
+Copyright (c) 2005-2006 Intel Corporation.  All rights reserved.
+
+
+License:
+
+This software is licensed under a choice of one of two licenses.  You may
+choose to be licensed under the terms of the GNU General Public
+License (GPL) Version 2, available in  the file
+/usr/share/common-licenses/GPL-2 on your Debian system, or the
+OpenIB.org BSD license below:
+
+    Redistribution and use in source and binary forms, with or
+    without modification, are permitted provided that the following
+    conditions are met:
+
+     - Redistributions of source code must retain the above
+       copyright notice, this list of conditions and the following
+       disclaimer.
+
+     - Redistributions in binary form must reproduce the above
+       copyright notice, this list of conditions and the following
+       disclaimer in the documentation and/or other materials
+       provided with the distribution.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+The Debian packaging is Copyright (C) 2008, Genome Research Ltd and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
--- libibcm-1.0.4.orig/debian/libibcm1.install
+++ libibcm-1.0.4/debian/libibcm1.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
