--- tvflash-0.9.0.orig/debian/rules +++ tvflash-0.9.0/debian/rules @@ -0,0 +1,93 @@ +#!/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 + + + +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) + #docbook-to-man debian/tvflash.sgml > tvflash.1 + + 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/tvflash. + $(MAKE) DESTDIR=$(CURDIR)/debian/tvflash 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 + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- tvflash-0.9.0.orig/debian/compat +++ tvflash-0.9.0/debian/compat @@ -0,0 +1 @@ +7 --- tvflash-0.9.0.orig/debian/changelog +++ tvflash-0.9.0/debian/changelog @@ -0,0 +1,8 @@ +tvflash (0.9.0-1) unstable; urgency=low + + [Guy Coates] + * Initial release (Closes: #539838) + * Ofed 1.4 release. + * Add manpage. + + -- Benoit Mortier Mon, 29 Mar 2010 18:15:00 +0100 --- tvflash-0.9.0.orig/debian/control +++ tvflash-0.9.0/debian/control @@ -0,0 +1,16 @@ +Source: tvflash +Section: net +Priority: extra +Maintainer: OFED and Debian Developement and Discussion +Uploaders: Benoit Mortier , Guy Coates , Mario Lang +Build-Depends: debhelper (>= 7), autotools-dev, pciutils-dev +Standards-Version: 3.8.4 +Homepage: http://www.openfabrics.org +DM-Upload-Allowed: yes + +Package: tvflash +Architecture: i386 ia64 amd64 powerpc +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Mellanox firmware update utility + tvflash is used to query and update the firmware flash memory attached + to Mellanox Infiniband cards. --- tvflash-0.9.0.orig/debian/docs +++ tvflash-0.9.0/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- tvflash-0.9.0.orig/debian/tvflash-doc.docs +++ tvflash-0.9.0/debian/tvflash-doc.docs @@ -0,0 +1 @@ +#DOCS# --- tvflash-0.9.0.orig/debian/tvflash.manpages +++ tvflash-0.9.0/debian/tvflash.manpages @@ -0,0 +1 @@ +debian/tvflash.8 --- tvflash-0.9.0.orig/debian/copyright +++ tvflash-0.9.0/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Guy Coates on +Thu, 08 Jan 2009 20:01:59 +0000. + +It was downloaded from http://www.openfabrics.org/downloads/OFED/ofed-1.4/OFED-1.4.tgz + +Upstream Author: + + Mellanox Technologies + +Copyright: + + Copyright (c) 2004 Topspin Communications. All rights reserved. + Copyright (c) 2007 Cisco, Inc. All rights reserved. + + +License: + +This software is distributed under the terms of the GNU General +Public License version 2, as published by the Free Software Foundation. +On Debian systems you can find a copy of this license in +/usr/share/common-licenses/GPL-2. + + +The Debian packaging is Copyright (C) 2009, Genome Research Ltd and +is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. + --- tvflash-0.9.0.orig/debian/tvflash.8 +++ tvflash-0.9.0/debian/tvflash.8 @@ -0,0 +1,23 @@ +.TH tvflash 8 "TVFLASH" + +.SH NAME +tvflash \- Tool to flash Mellanox HVAs + +.SH SYNOPSIS +.B tvflash + +.SH DESCRIPTION +WARNING! This program may corrupt the flash and render your HCA +useless. Please be careful and use at your own risk. + +This program does not currently have a manpage. +Please see the package documentation in +/usr/share/doc/tvflash + +.SH AUTHOR +.TP +Guy Coates < gmpc@sanger.ac.uk > + + + + --- tvflash-0.9.0.orig/debian/tvflash-doc.install +++ tvflash-0.9.0/debian/tvflash-doc.install @@ -0,0 +1 @@ +#DOCS#