[Pkg-ofed-commits] [libibumad] 01/07: Imported Debian patch 1.2.3-20090314-1

Ana Beatriz Guerrero López ana at moszumanska.debian.org
Tue Jul 1 07:19:29 UTC 2014


This is an automated email from the git hooks/post-receive script.

ana pushed a commit to branch master
in repository libibumad.

commit d4c0fff2c9a240ecd961f9d5ef9bd5a20d28c2b4
Author: Benoit Mortier <benoit.mortier at opensides.be>
Date:   Wed Oct 21 11:25:00 2009 +0100

    Imported Debian patch 1.2.3-20090314-1
---
 debian/README.source                 |   1 +
 debian/changelog                     |   5 ++
 debian/compat                        |   1 +
 debian/control                       |  35 +++++++++++
 debian/copyright                     |  45 ++++++++++++++
 debian/dirs                          |   2 +
 debian/libibumad-dev.dirs            |   2 +
 debian/libibumad-dev.install         |   5 ++
 debian/libibumad1.dirs               |   1 +
 debian/libibumad1.install            |   1 +
 debian/patches/00list                |   2 +
 debian/patches/01_Makefile-am.dpatch |  19 ++++++
 debian/rules                         | 117 +++++++++++++++++++++++++++++++++++
 13 files changed, 236 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..1c919f0
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1 @@
+/usr/share/doc/dpatch/README.source.gz
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..aab55c1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libibumad (1.2.3-20090314-1) unstable; urgency=low
+
+  * Initial release (Closes: #516096)
+
+ -- Benoit Mortier <benoit.mortier at opensides.be>  Wed, 21 Oct 2009 11:25:00 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..72c4006
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: libibumad
+Priority: extra
+Maintainer: OFED and Debian Developement and Discussion <pkg-ofed-devel at lists.alioth.debian.org>
+Uploaders: Benoit Mortier <benoit.mortier at opensides.be>, Guy Coates <gmpc at sanger.ac.uk>, Mario Lang <mlang at debian.org>
+Build-Depends: debhelper (>= 7), autotools-dev, automake, libtool, libibcommon-dev, dpatch
+Standards-Version: 3.8.3
+Section: libs
+Homepage: http://openfabrics.org/
+
+Package: libibumad-dev
+Section: libdevel
+Architecture: any
+Depends: libibumad1 (= ${binary:Version})
+Description: Development files for libibumad
+ libibumad provides userspace Infiniband Management Datagram (uMAD) 
+ functions which sit on top of the uMAD modules in the kernel. 
+ These are used by InfiniBand diagnostic and management tools.
+ .
+ This package is needed to compile programs against libumad1.
+ It contains the header files and static libraries (optionally)
+ needed for compiling.
+ 
+
+
+
+Package: libibumad1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: InfiniBand Userspace Management Datagram (uMAD) library
+ libibumad provides userspace Infiniband Management Datagram (uMAD)
+ functions which sit on top of the uMAD modules in the kernel.
+ These are used by InfiniBand diagnostic and management tools.
+ .
+ This package contains the shared library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4cfbc33
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,45 @@
+This package was debianized by Guy Coates <gmpc at sanger.ac.uk> on
+Thu, 27 Nov 2008 15:16:59 +0000.
+
+It was downloaded from http://www.openfabrics.org/downloads/OFED/ofed-1.4/OFED-1.4.tgz
+
+Upstream Authors:
+
+Sasha Khapyorsky        <sashak at voltaire.com>
+Shahar Frank            <shahar at voltaire.com>
+Hal Rosenstock          <halr at voltaire.com>
+
+
+Copyright (c) 2004-2008 Voltaire, Inc.  All rights reserved.
+
+libibumad 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 from 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 2008, Genome Research Ltd and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..ca882bb
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/debian/libibumad-dev.dirs b/debian/libibumad-dev.dirs
new file mode 100644
index 0000000..4418816
--- /dev/null
+++ b/debian/libibumad-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/libibumad-dev.install b/debian/libibumad-dev.install
new file mode 100644
index 0000000..6653165
--- /dev/null
+++ b/debian/libibumad-dev.install
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/lib*.la
+usr/share/man/man3
diff --git a/debian/libibumad1.dirs b/debian/libibumad1.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libibumad1.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libibumad1.install b/debian/libibumad1.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libibumad1.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..2c36db7
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1,2 @@
+# Remove man page install twice
+01_Makefile-am
diff --git a/debian/patches/01_Makefile-am.dpatch b/debian/patches/01_Makefile-am.dpatch
new file mode 100644
index 0000000..ba382c0
--- /dev/null
+++ b/debian/patches/01_Makefile-am.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_Makefile.dpatch by  <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: twice man/umad_get_mad.3 in Makefile.am
+
+ at DPATCH@
+
+--- trunk/Makefile.am.orig	2009-10-23 22:24:33.000000000 +0200
++++ trunk/Makefile.am	2009-10-23 22:25:30.000000000 +0200
+@@ -9,7 +9,7 @@
+ 	   man/umad_open_port.3 man/umad_close_port.3 man/umad_size.3 \
+ 	   man/umad_status.3 man/umad_alloc.3 man/umad_free.3 \
+ 	   man/umad_dump.3 man/umad_addr_dump.3 man/umad_get_fd.3 \
+-	   man/umad_get_mad.3 man/umad_get_mad_addr.3 \
++	   man/umad_get_mad_addr.3 \
+ 	   man/umad_set_grh_net.3 man/umad_set_grh.3 \
+ 	   man/umad_set_addr_net.3 man/umad_set_addr.3 man/umad_set_pkey.3 \
+ 	   man/umad_get_pkey.3 \
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a2ec8f1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,117 @@
+#!/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
+	libtoolize --force --copy
+	aclocal
+	autoconf
+	touch NEWS README
+	automake --copy --add-missing
+	./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --sysconfdir=/etc
+
+
+build: patch build-stamp
+build-stamp:  config.status 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch $@
+
+clean:  clean-patched unpatch
+clean-patched:
+	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 
+
+patch: patch-stamp
+patch-stamp:
+	dpatch apply-all
+	dpatch cat-all >patch-stamp
+
+unpatch:
+	dpatch deapply-all
+	rm -rf patch-stamp debian/patched
+
+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 ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_install --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 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/libibumad.git



More information about the Pkg-ofed-commits mailing list