summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2012-10-21 15:07:10 +0100
committerRussell King <rmk@arm.linux.org.uk>2012-10-22 14:54:23 +0100
commit5970bb5987be04dbc3498b264d14c7ef28194ad6 (patch)
treef539ec5bf67a1c1ee704474ce15848d3c23ae651 /debian
Initial libbmm git checkin
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog64
-rw-r--r--debian/compat1
-rw-r--r--debian/control35
-rw-r--r--debian/copyright26
-rw-r--r--debian/libbmm-dev.install4
-rw-r--r--debian/libbmm0u.install3
-rw-r--r--debian/libbmm0u.postinst46
-rw-r--r--debian/libbmm0u.postinst.debhelper5
-rw-r--r--debian/libbmm0u.postrm38
-rw-r--r--debian/libbmm0u.postrm.debhelper5
-rwxr-xr-xdebian/rules34
11 files changed, 261 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..761bb02
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,64 @@
+marvell-libbmm (0.2.0-0ubuntu1~ppa8.rmk1) precise; urgency=low
+
+ * Convert to autotools
+
+ -- Russell King <rmk@arm.linux.org.uk> Sun, 21 Oct 2012 14:39:54 +0100
+
+marvell-libbmm (0.2.0-0ubuntu1~ppa8) karmic; urgency=low
+
+ * Add symbol bmm_flush_user in libbmm0u.symbols
+
+ -- jun <jun@junj@marvell.com> Sat, 05 Mar 2011 01:39:06 +0800
+
+marvell-libbmm (0.2.0-0ubuntu1~ppa7) lucid; urgency=low
+
+ * Support HIGHMEM in module
+
+ -- Li Li <lea.li@marvell.com> Sat, 04 Sep 2010 14:02:54 +0800
+
+marvell-libbmm (0.2.0-0ubuntu1~ppa6) lucid; urgency=low
+
+ * Import code to LP/BZR lp:~adana-team/adana/marvell-libbmm
+
+ -- Li Li <lea.li@marvell.com> Wed, 28 Jul 2010 11:34:33 +0800
+
+marvell-libbmm (0.2.0-0ubuntu1~ppa5) lucid; urgency=low
+
+ * Fix ioctl magic number
+ * Fix incompatible obsolete attributes
+
+ -- Li Li <lea.li@marvell.com> Fri, 04 Jun 2010 15:21:44 +0800
+
+marvell-libbmm (0.2.0-0ubuntu1~ppa4) lucid; urgency=low
+
+ * Properly fix udev rule installation so bmm gets proper permissions
+
+ -- Michael Casadevall <mcasadevall@ubuntu.com> Fri, 26 Mar 2010 14:00:53 -0400
+
+marvell-libbmm (0.2.0-0ubuntu1~ppa3) lucid; urgency=low
+
+ * Fix init.d scripts to properly install and remove.
+
+ -- Michael Casadevall <mcasadevall@ubuntu.com> Thu, 25 Mar 2010 13:06:43 -0400
+
+marvell-libbmm (0.2.0-0ubuntu1~ppa2) lucid; urgency=low
+
+ * versionify soname - we are at libbmm.so.0u.1 now
+ + change binary package to libbmm0u and libbmm-dev
+ + fix depends of -dev package in control
+ + add API_VERSION and API_REVISION variables to Makefile_general
+ + produce proper versioned soname lib and links using API_VERSION
+ and API_REVISION from above in Makefile_general
+ + install _all_ libbmm.so* in the libbmm0u package as we need the
+ unversioned .so link for compatibility reasons with legacy upstream
+ dependencies that look for that soname
+ + use libbmm0u.symbols file to track API/ABI; use -c4 for
+ dpkg-gensymbols to fail if symbols are out of sync
+
+ -- Alexander Sack <asac@ubuntu.com> Sun, 21 Mar 2010 03:13:12 +0100
+
+marvell-libbmm (0.2.0-0ubuntu1~ppa1) lucid; urgency=low
+
+ * Initial Release (LP: #XXXXXX)
+
+ -- Michael Casadevall <mcasadevall@ubuntu.com> Thu, 18 Mar 2010 12:40:16 -0400
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..6d0eabd
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: marvell-libbmm
+Priority: extra
+Maintainer: Michael Casadevall <mcasadevall@ubuntu.com>
+XSBC-Original-Maintainer: Li Li <lea.li@marvell.com>
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.9.1
+Section: libs
+Vcs-Bzr: https://code.launchpad.net/~adana-team/adana/marvell-libbmm
+
+Package: libbmm-dev
+Section: libdevel
+Architecture: armel armhf
+Depends: libbmm0u (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: Block/buffer memory management
+ Header files, static library and unit test case for BMM
+
+Package: libbmm0u
+Section: libs
+Architecture: armel armhf
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Block/buffer memory management
+ Allocate, manage and share large block of physical continuous memory
+
+Package: libbmm0u-dbg
+Section: debug
+Priority: extra
+Architecture: linux-any
+Depends:
+ libbmm0u (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Multi-Arch: same
+Description: Block/buffer memory management
+ .
+ This package provides debugging symbols for the libbmm0u package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..525a0de
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Lea Li <lea.li@marvell.com> on
+Tue, 01 Sep 2009 12:22:13 +0800.
+
+Upstream Author(s):
+
+ Zhangfei Gao
+
+Copyright:
+
+ <Copyright (C) 2009 Marvell Ltd.>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 2.1 of the License.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+On Debian systems, the complete text of the GNU Lesser General Public License
+can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
diff --git a/debian/libbmm-dev.install b/debian/libbmm-dev.install
new file mode 100644
index 0000000..417c3c1
--- /dev/null
+++ b/debian/libbmm-dev.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/include/*.h
+debian/tmp/usr/lib/*.a
+debian/tmp/usr/lib/pkgconfig/*.pc
+debian/tmp/usr/bin/bmm_test
diff --git a/debian/libbmm0u.install b/debian/libbmm0u.install
new file mode 100644
index 0000000..00c88de
--- /dev/null
+++ b/debian/libbmm0u.install
@@ -0,0 +1,3 @@
+debian/tmp/etc/init.d/bmm
+debian/tmp/lib/udev/rules.d
+debian/tmp/usr/lib/*.so*
diff --git a/debian/libbmm0u.postinst b/debian/libbmm0u.postinst
new file mode 100644
index 0000000..327c102
--- /dev/null
+++ b/debian/libbmm0u.postinst
@@ -0,0 +1,46 @@
+#!/bin/sh
+# postinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ configure)
+ if [ -x /etc/init.d/bmm ]; then
+ update-rc.d bmm defaults >/dev/null
+ fi
+
+ if [ -x /usr/sbin/invoke-rc.d ] ; then
+ invoke-rc.d bmm start || true
+ fi
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/libbmm0u.postinst.debhelper b/debian/libbmm0u.postinst.debhelper
new file mode 100644
index 0000000..3d89d3e
--- /dev/null
+++ b/debian/libbmm0u.postinst.debhelper
@@ -0,0 +1,5 @@
+# Automatically added by dh_makeshlibs
+if [ "$1" = "configure" ]; then
+ ldconfig
+fi
+# End automatically added section
diff --git a/debian/libbmm0u.postrm b/debian/libbmm0u.postrm
new file mode 100644
index 0000000..a0a15df
--- /dev/null
+++ b/debian/libbmm0u.postrm
@@ -0,0 +1,38 @@
+#!/bin/sh
+# postrm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ update-rc.d -f bmm remove >/dev/null
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/libbmm0u.postrm.debhelper b/debian/libbmm0u.postrm.debhelper
new file mode 100644
index 0000000..7f44047
--- /dev/null
+++ b/debian/libbmm0u.postrm.debhelper
@@ -0,0 +1,5 @@
+# Automatically added by dh_makeshlibs
+if [ "$1" = "remove" ]; then
+ ldconfig
+fi
+# End automatically added section
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..87cc2ca
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,34 @@
+#!/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
+
+# Debian build system is horrid - hack around it to ensure that the autoconf
+# stuff is properly up to date
+build: configure Makefile.in
+
+Makefile.in: Makefile.am
+ ./autogen.sh
+
+configure: autogen.sh configure.ac
+ ./autogen.sh
+
+override_dh_auto_install:
+ dh_auto_install --destdir=debian/tmp
+
+override_dh_install:
+ find debian/tmp -name '*.la' -delete
+ dh_install --fail-missing
+
+override_dh_strip:
+ dh_strip -plibbmm0u --dbg-package=libbmm0u-dbg
+ dh_strip -s --remaining-packages
+
+%:
+ dh $@