[Pkg-ofed-commits] r309 - in branches/ofed-1.4.1upgrade/libmlx4/trunk: . debian fixes fixes/.pc

Guy Coates gmpc-guest at alioth.debian.org
Sat May 30 01:52:58 UTC 2009


Author: gmpc-guest
Date: 2009-05-30 13:52:57 +0000 (Sat, 30 May 2009)
New Revision: 309

Added:
   branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/control
   branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/dirs
   branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/docs
   branches/ofed-1.4.1upgrade/libmlx4/trunk/fixes/.pc/
   branches/ofed-1.4.1upgrade/libmlx4/trunk/fixes/.pc/.version
Removed:
   branches/ofed-1.4.1upgrade/libmlx4/trunk/autom4te.cache/
Modified:
   branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/changelog
   branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/compat
   branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/libmlx4-1.install
   branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/rules
Log:
[svn-inject] Applying Debian modifications to trunk

Modified: branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/changelog
===================================================================
--- branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/changelog	2009-05-30 13:52:53 UTC (rev 308)
+++ branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/changelog	2009-05-30 13:52:57 UTC (rev 309)
@@ -1,8 +1,8 @@
-libmlx4 (1.0-2) unstable; urgency=low
+libmlx4 (1.0-1+OFED) unstable; urgency=low
 
-  * Add debian/watch file
+  * OFED 1.4.1 release
 
- -- Roland Dreier <rolandd at cisco.com>  Wed, 12 Mar 2008 10:40:19 -0700
+ -- Guy Coates <gmpc at sanger.ac.uk>  Sat, 30 May 2009 14:25:28 +0100
 
 libmlx4 (1.0-1) unstable; urgency=low
 

Modified: branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/compat
===================================================================
--- branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/compat	2009-05-30 13:52:53 UTC (rev 308)
+++ branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/compat	2009-05-30 13:52:57 UTC (rev 309)
@@ -1 +1 @@
-5
+7

Added: branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/control
===================================================================
--- branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/control	                        (rev 0)
+++ branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/control	2009-05-30 13:52:57 UTC (rev 309)
@@ -0,0 +1,47 @@
+Source: libmlx4
+Priority: extra
+Maintainer: Roland Dreier <rolandd at cisco.com>
+Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 5), libtool, libibverbs-dev (>= 1.1.2-1+OFED)
+Standards-Version: 3.7.3
+Section: libs
+Homepage: http://www.openfabrics.org/
+
+Package: libmlx4-1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A userspace driver for Mellanox ConnectX InfiniBand HCAs
+ libmlx4 is a device-specific driver for Mellanox ConnectX InfiniBand
+ host channel adapters (HCAs) for the libibverbs library.  This allows
+ userspace processes to access Mellanox HCA hardware directly with
+ low latency and low overhead.
+ .
+ This package contains the loadable plug-in.
+
+Package: libmlx4-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, libmlx4-1 (= ${binary:Version})
+Description: Development files for the libmlx4 driver
+ libmlx4 is a device-specific driver for Mellanox ConnectX InfiniBand
+ host channel adapters (HCAs) for the libibverbs library.  This allows
+ userspace processes to access Mellanox HCA hardware directly with
+ low latency and low overhead.
+ .
+ This package contains static versions of libmlx4 that may be linked
+ directly to an application, which may be useful for debugging.
+
+Package: libmlx4-1-dbg
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: ${misc:Depends}, libmlx4-1 (= ${binary:Version})
+Description: Debugging symbols for the libmlx4 driver
+ libmlx4 is a device-specific driver for Mellanox ConnectX InfiniBand
+ host channel adapters (HCAs) for the libibverbs library.  This allows
+ userspace processes to access Mellanox HCA hardware directly with
+ low latency and low overhead.
+ .
+ This package contains the debugging symbols associated with
+ libmlx4-1. They will automatically be used by gdb for debugging
+ libmlx4-related issues.

Added: branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/dirs
===================================================================
--- branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/dirs	                        (rev 0)
+++ branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/dirs	2009-05-30 13:52:57 UTC (rev 309)
@@ -0,0 +1,3 @@
+usr/bin
+usr/sbin
+etc/

Added: branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/docs
===================================================================
--- branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/docs	                        (rev 0)
+++ branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/docs	2009-05-30 13:52:57 UTC (rev 309)
@@ -0,0 +1 @@
+README

Modified: branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/libmlx4-1.install
===================================================================
--- branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/libmlx4-1.install	2009-05-30 13:52:53 UTC (rev 308)
+++ branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/libmlx4-1.install	2009-05-30 13:52:57 UTC (rev 309)
@@ -1,2 +1,3 @@
 usr/lib/libmlx4-rdmav2.so
-etc/libibverbs.d/mlx4.driver
+etc/
+

Modified: branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/rules
===================================================================
--- branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/rules	2009-05-30 13:52:53 UTC (rev 308)
+++ branches/ofed-1.4.1upgrade/libmlx4/trunk/debian/rules	2009-05-30 13:52:57 UTC (rev 309)
@@ -1,8 +1,114 @@
 #!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
+# -*- 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.
 
-DEB_DH_INSTALL_SOURCEDIR := debian/tmp
-DEB_AUTO_UPDATE_LIBTOOL := post
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
+
+# 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 -lpthread" \
+	--sysconfdir=/etc
+
+
+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  --exclude ./src/cq.c.orig --exclude ./src/qp.c.orig --exclude ./src/verbs.c.orig
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep   --exclude ./src/cq.c.orig --exclude ./src/qp.c.orig --exclude ./src/verbs.c.orig
+	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 
+	dh_installdocs
+	dh_installexamples
+	dh_install --list-missing
+#	dh_installmenu
+#	dh_installdebconf
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+	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 

Added: branches/ofed-1.4.1upgrade/libmlx4/trunk/fixes/.pc/.version
===================================================================
--- branches/ofed-1.4.1upgrade/libmlx4/trunk/fixes/.pc/.version	                        (rev 0)
+++ branches/ofed-1.4.1upgrade/libmlx4/trunk/fixes/.pc/.version	2009-05-30 13:52:57 UTC (rev 309)
@@ -0,0 +1 @@
+2




More information about the Pkg-ofed-commits mailing list