From: Roland Dreier Date: Wed, 2 Sep 2009 19:11:06 +0000 (-0700) Subject: Change Debian build system from cdbs to debhelper 7 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=91f2b41e2e1d31339e6507fe846fbd9bb30c619b;p=~shefty%2Flibibverbs.git Change Debian build system from cdbs to debhelper 7 With debhelper 7 we can get just as simple a rules file without all of the cdbs magic. Signed-off-by: Roland Dreier --- diff --git a/debian/changelog b/debian/changelog index bd240e0..5c6eb6a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,9 @@ libibverbs (1.1.2-2) unstable; urgency=low * Move -dbg package to section debug. * Update to Standards-Version: 3.8.2. + * Change build system from cdbs to debhelper 7. - -- Roland Dreier Thu, 25 Jun 2009 10:26:26 -0700 + -- Roland Dreier Wed, 02 Sep 2009 12:09:23 -0700 libibverbs (1.1.2-1) unstable; urgency=low diff --git a/debian/compat b/debian/compat index 7ed6ff8..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..03696b8 --- /dev/null +++ b/debian/control @@ -0,0 +1,80 @@ +Source: libibverbs +Priority: extra +Maintainer: Roland Dreier +Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.13.19) +Standards-Version: 3.8.2 +Section: libs +Homepage: http://www.openfabrics.org/ + +Package: libibverbs1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser +Description: A library for direct userspace use of RDMA (InfiniBand/iWARP) + libibverbs is a library that allows userspace processes to use RDMA + "verbs" as described in the InfiniBand Architecture Specification and + the RDMA Protocol Verbs Specification. iWARP ethernet NICs support + RDMA over hardware-offloaded TCP/IP, while InfiniBand is a + high-throughput, low-latency networking technology. InfiniBand host + channel adapters (HCAs) and iWARP NICs commonly support direct + hardware access from userspace (kernel bypass), and libibverbs + supports this when available. + . + For this library to be useful, a device-specific plug-in module + should also be installed. + . + This package contains the shared library. + +Package: libibverbs-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, libibverbs1 (= ${binary:Version}) +Description: Development files for the libibverbs library + libibverbs is a library that allows userspace processes to use RDMA + "verbs" as described in the InfiniBand Architecture Specification and + the RDMA Protocol Verbs Specification. iWARP ethernet NICs support + RDMA over hardware-offloaded TCP/IP, while InfiniBand is a + high-throughput, low-latency networking technology. InfiniBand host + channel adapters (HCAs) and iWARP NICs commonly support direct + hardware access from userspace (kernel bypass), and libibverbs + supports this when available. + . + This package is needed to compile programs against libibverbs1. + It contains the header files and static libraries (optionally) + needed for compiling. + +Package: libibverbs1-dbg +Section: debug +Priority: extra +Architecture: any +Depends: ${misc:Depends}, libibverbs1 (= ${binary:Version}) +Description: Debugging symbols for the libibverbs library + libibverbs is a library that allows userspace processes to use RDMA + "verbs" as described in the InfiniBand Architecture Specification and + the RDMA Protocol Verbs Specification. iWARP ethernet NICs support + RDMA over hardware-offloaded TCP/IP, while InfiniBand is a + high-throughput, low-latency networking technology. InfiniBand host + channel adapters (HCAs) and iWARP NICs commonly support direct + hardware access from userspace (kernel bypass), and libibverbs + supports this when available. + . + This package contains the debugging symbols associated with + libibverbs1. They will automatically be used by gdb for debugging + libibverbs-related issues. + +Package: ibverbs-utils +Section: net +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Examples for the libibverbs library + libibverbs is a library that allows userspace processes to use RDMA + "verbs" as described in the InfiniBand Architecture Specification and + the RDMA Protocol Verbs Specification. iWARP ethernet NICs support + RDMA over hardware-offloaded TCP/IP, while InfiniBand is a + high-throughput, low-latency networking technology. InfiniBand host + channel adapters (HCAs) and iWARP NICs commonly support direct + hardware access from userspace (kernel bypass), and libibverbs + supports this when available. + . + This package contains useful libibverbs1 example programs such as + ibv_devinfo, which displays information about InfiniBand devices. diff --git a/debian/control.in b/debian/control.in deleted file mode 100644 index f5d514b..0000000 --- a/debian/control.in +++ /dev/null @@ -1,80 +0,0 @@ -Source: libibverbs -Priority: extra -Maintainer: Roland Dreier -Build-Depends: @cdbs@, dpkg-dev (>= 1.13.19) -Standards-Version: 3.8.2 -Section: libs -Homepage: http://www.openfabrics.org/ - -Package: libibverbs1 -Section: libs -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, adduser -Description: A library for direct userspace use of RDMA (InfiniBand/iWARP) - libibverbs is a library that allows userspace processes to use RDMA - "verbs" as described in the InfiniBand Architecture Specification and - the RDMA Protocol Verbs Specification. iWARP ethernet NICs support - RDMA over hardware-offloaded TCP/IP, while InfiniBand is a - high-throughput, low-latency networking technology. InfiniBand host - channel adapters (HCAs) and iWARP NICs commonly support direct - hardware access from userspace (kernel bypass), and libibverbs - supports this when available. - . - For this library to be useful, a device-specific plug-in module - should also be installed. - . - This package contains the shared library. - -Package: libibverbs-dev -Section: libdevel -Architecture: any -Depends: ${misc:Depends}, libibverbs1 (= ${binary:Version}) -Description: Development files for the libibverbs library - libibverbs is a library that allows userspace processes to use RDMA - "verbs" as described in the InfiniBand Architecture Specification and - the RDMA Protocol Verbs Specification. iWARP ethernet NICs support - RDMA over hardware-offloaded TCP/IP, while InfiniBand is a - high-throughput, low-latency networking technology. InfiniBand host - channel adapters (HCAs) and iWARP NICs commonly support direct - hardware access from userspace (kernel bypass), and libibverbs - supports this when available. - . - This package is needed to compile programs against libibverbs1. - It contains the header files and static libraries (optionally) - needed for compiling. - -Package: libibverbs1-dbg -Section: debug -Priority: extra -Architecture: any -Depends: ${misc:Depends}, libibverbs1 (= ${binary:Version}) -Description: Debugging symbols for the libibverbs library - libibverbs is a library that allows userspace processes to use RDMA - "verbs" as described in the InfiniBand Architecture Specification and - the RDMA Protocol Verbs Specification. iWARP ethernet NICs support - RDMA over hardware-offloaded TCP/IP, while InfiniBand is a - high-throughput, low-latency networking technology. InfiniBand host - channel adapters (HCAs) and iWARP NICs commonly support direct - hardware access from userspace (kernel bypass), and libibverbs - supports this when available. - . - This package contains the debugging symbols associated with - libibverbs1. They will automatically be used by gdb for debugging - libibverbs-related issues. - -Package: ibverbs-utils -Section: net -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: Examples for the libibverbs library - libibverbs is a library that allows userspace processes to use RDMA - "verbs" as described in the InfiniBand Architecture Specification and - the RDMA Protocol Verbs Specification. iWARP ethernet NICs support - RDMA over hardware-offloaded TCP/IP, while InfiniBand is a - high-throughput, low-latency networking technology. InfiniBand host - channel adapters (HCAs) and iWARP NICs commonly support direct - hardware access from userspace (kernel bypass), and libibverbs - supports this when available. - . - This package contains useful libibverbs1 example programs such as - ibv_devinfo, which displays information about InfiniBand devices. diff --git a/debian/rules b/debian/rules index 5b40388..5e894d0 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,8 @@ #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- -DEB_DH_INSTALL_SOURCEDIR := debian/tmp -DEB_AUTO_UPDATE_LIBTOOL := post -DEB_DH_MAKESHLIBS_ARGS_ALL := -V 'libibverbs1 (>= 1.1.2)' +%: + dh $@ -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/autotools.mk +override_dh_makeshlibs: + dh_makeshlibs -V 'libibverbs1 (>= 1.1.2)'