[Pkg-ofed-commits] [ibsim] 02/05: Imported Debian patch 0.5-1

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


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

ana pushed a commit to branch master
in repository ibsim.

commit 0d0fd3be747a131c9fea9c024d9b384c1a2f5e43
Author: Benoit Mortier <benoit.mortier at opensides.be>
Date:   Wed Oct 21 19:36:00 2009 +0100

    Imported Debian patch 0.5-1
---
 debian/README.source                        |  2 +
 debian/changelog                            |  5 ++
 debian/compat                               |  1 +
 debian/control                              | 31 ++++++++++
 debian/copyright                            | 46 +++++++++++++++
 debian/ibsim-utils.docs                     |  4 ++
 debian/ibsim-utils.install                  |  1 +
 debian/ibsim-utils.manpages                 |  1 +
 debian/ibsim.1                              | 17 ++++++
 debian/ibsim.substvars                      |  1 +
 debian/libumad2sim0.install                 |  1 +
 debian/patches/00list                       |  1 +
 debian/patches/01_glibc-2.10-scandir.dpatch | 20 +++++++
 debian/rules                                | 89 +++++++++++++++++++++++++++++
 14 files changed, 220 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..48b599a
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,2 @@
+/usr/share/doc/dpatch/README.source.gz
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..aa0a1ea
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ibsim (0.5-1) unstable; urgency=low
+
+  * Initial release (Closes: #539799)
+
+ -- Benoit Mortier <benoit.mortier at opensides.be>  Wed, 21 Oct 2009 19:36: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..6953d96
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: ibsim
+Section: net
+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),  libibumad-dev, libibmad-dev, libibcommon-dev, dpatch
+Standards-Version: 3.8.3
+Homepage: http://www.openfabrics.org
+
+Package: ibsim-utils
+Architecture: i386 ia64 amd64 powerpc
+Depends: ${shlibs:Depends}, ${misc:Depends}, libumad2sim0 (= ${binary:Version})
+Description: InfiniBand fabric simulator utilities
+ ibsim provides a simulation of an InfiniBand fabric,
+ which can be used by the opensm subnet manager and 
+ infiniband diagnostics and management tools. 
+ . 
+ This package provides utilities for use with the
+ simulator.
+
+
+Package: libumad2sim0
+Architecture: i386 ia64 amd64 powerpc
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: An InfiniBand fabric simulator
+ ibsim provides a simulation of an InfiniBand fabric,
+ which can be used by the opensm subnet manager and
+ infiniband diagnostics and management tools.
+ .
+ This package provides an LD_PRELOADable library which
+ will make applications use the simulated fabric.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c3f5926
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+This package was debianized by Guy Coates <gmpc at sanger.ac.uk> on
+Fri, 06 Mar 2009 12:11:55 +0000.
+
+It was downloaded from http://www.openfabrics.org/downloads/OFED/ofed-1.4/OFED-1.4.tgz
+
+Upstream Author:
+ Sasha Khapyorsky, sashak at voltaire.com
+
+Copyright:
+ Copyright (c) 2004-2008 Voltaire, Inc.
+
+License:
+
+This software is available to you under a choice of one of two licenses. 
+You may chose to be licensed under the terms of the the OpenIB.org BSD license or
+the GNU General Public License (GPL) Version 2. A copy of the GPL is available
+on your Debian system in the file /usr/share/common-licenses/GPL-2.
+
+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) 2009, Genome Research Ltd and
+is licensed under the GPLv2, see `/usr/share/common-licenses/GPL'.
+
diff --git a/debian/ibsim-utils.docs b/debian/ibsim-utils.docs
new file mode 100644
index 0000000..c1d89cf
--- /dev/null
+++ b/debian/ibsim-utils.docs
@@ -0,0 +1,4 @@
+README
+TODO
+net-examples
+scripts
diff --git a/debian/ibsim-utils.install b/debian/ibsim-utils.install
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/ibsim-utils.install
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/ibsim-utils.manpages b/debian/ibsim-utils.manpages
new file mode 100644
index 0000000..629fb58
--- /dev/null
+++ b/debian/ibsim-utils.manpages
@@ -0,0 +1 @@
+debian/ibsim.1
diff --git a/debian/ibsim.1 b/debian/ibsim.1
new file mode 100644
index 0000000..99882fa
--- /dev/null
+++ b/debian/ibsim.1
@@ -0,0 +1,17 @@
+.TH ibsim 1 "February 23, 2007" "ibsim" "User Commands"
+
+.SH NAME
+ibsim \- An infiniband Simulator
+
+.SH SYNOPSIS
+.B ibsim
+
+.SH DESCRIPTION
+.PP
+This program does not currently have any documentation. This manpage
+is a placeholder. Please see the package documentation in 
+/usr/share/doc/ibsim-utils
+
+.SH AUTHOR
+.TP
+Guy Coates  < gmpc at sanger.ac.uk >
diff --git a/debian/ibsim.substvars b/debian/ibsim.substvars
new file mode 100644
index 0000000..b127b5f
--- /dev/null
+++ b/debian/ibsim.substvars
@@ -0,0 +1 @@
+shlibs:Depends=libc6 (>= 2.3), libibcommon1, libibmad1, libibumad1
diff --git a/debian/libumad2sim0.install b/debian/libumad2sim0.install
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libumad2sim0.install
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..ed3cf57
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1 @@
+01_glibc-2.10-scandir
diff --git a/debian/patches/01_glibc-2.10-scandir.dpatch b/debian/patches/01_glibc-2.10-scandir.dpatch
new file mode 100644
index 0000000..3c35d39
--- /dev/null
+++ b/debian/patches/01_glibc-2.10-scandir.dpatch
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_glibc-2.10-scandir.dpatch by  <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: patch for glibc 2.10 scandir function
+
+ at DPATCH@
+
+--- trunk/umad2sim/umad2sim.c	2009-07-29 14:58:36.000000000 +0200
++++ trunk/umad2sim/new-umad2sim.c	2009-12-24 12:30:15.000000000 +0100
+@@ -698,7 +698,8 @@
+ 
+ int scandir(const char *path, struct dirent ***namelist,
+ 	    int (*filter) (const struct dirent *),
+-	    int (*compar) (const void *, const void *))
++	    int (*compar)(const struct dirent **,const struct dirent **)) 
++
+ {
+ 	char new_path[4096];
+ 
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2a5b11b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,89 @@
+#!/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
+
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: patch build-stamp
+
+build-stamp: configure-stamp  
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#docbook-to-man debian/ibsim.sgml > ibsim.1
+
+	touch $@
+
+clean: clean-patched unpatch
+clean-patched: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	$(MAKE) clean
+
+	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
+
+	-find $(CURDIR) -type d -name ".svn" -exec rm -rf {} \; >/dev/null 2>&1
+
+	# Add here commands to install the package into debian/ibsim.
+	$(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_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 configure

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



More information about the Pkg-ofed-commits mailing list