From 59ea647265425710bfb805b98d393030444c5abb Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Fri, 23 Jan 2009 15:36:13 -0800 Subject: [PATCH] Adds example debian package directory to help maintainers This one uses cdbs to make debian/rules smaller. Signed-off-by: Luis R. Rodriguez --- debian-example/changelog | 5 +++++ debian-example/compat | 1 + debian-example/control | 17 +++++++++++++++++ debian-example/copyright | 21 +++++++++++++++++++++ debian-example/docs | 1 + debian-example/rules | 8 ++++++++ 6 files changed, 53 insertions(+) create mode 100644 debian-example/changelog create mode 100644 debian-example/compat create mode 100644 debian-example/control create mode 100644 debian-example/copyright create mode 100644 debian-example/docs create mode 100755 debian-example/rules diff --git a/debian-example/changelog b/debian-example/changelog new file mode 100644 index 0000000..a27a343 --- /dev/null +++ b/debian-example/changelog @@ -0,0 +1,5 @@ +crda (1.0.0-1) unstable; urgency=low + + * Initial release + + -- Luis R. Rodriguez Fri, 23 Jan 2009 16:00:00 +0100 diff --git a/debian-example/compat b/debian-example/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian-example/compat @@ -0,0 +1 @@ +5 diff --git a/debian-example/control b/debian-example/control new file mode 100644 index 0000000..eba7c0c --- /dev/null +++ b/debian-example/control @@ -0,0 +1,17 @@ +Source: crda +Section: admin +Priority: optional +Maintainer: Luis R. Rodriguez +Build-Depends: cdbs, debhelper (>= 5), gcc, wireless-regdb, libgcrypt11-dev, python-m2crypto, libnl1 +Standards-Version: 3.7.3 + +Package: crda +Architecture: all +Depends: udev, libgcrypt11, libnl1 +Suggests: iw +Description: Linux wireless central regulatory domain agent + This package provides CRDA to be used by the new Linux kernel wireless + subsystem to query from userspace regulatory domains. For more information + see: + . + http://wireless.kernel.org/en/developers/Regulatory/ diff --git a/debian-example/copyright b/debian-example/copyright new file mode 100644 index 0000000..85d6068 --- /dev/null +++ b/debian-example/copyright @@ -0,0 +1,21 @@ +This package was debianized by Luis Rodriguez on +Thu, 22 Jan 2009 16:00:00 +0100. + +The crda packages was downloaded from + +Copyright (c) 2008, Luis R. Rodriguez +Copyright (c) 2008, Johannes Berg +Copyright (c) 2008, Michael Green + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + diff --git a/debian-example/docs b/debian-example/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian-example/docs @@ -0,0 +1 @@ +README diff --git a/debian-example/rules b/debian-example/rules new file mode 100755 index 0000000..bc42902 --- /dev/null +++ b/debian-example/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk + +DEB_MAKE_BUILD_TARGET := all +DEB_MAKE_ENVVARS := DESTDIR=debian/$(cdbs_curpkg)/ +DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR) -- 2.7.4