From patchwork Thu Jan 15 08:54:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 43152 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f69.google.com (mail-ee0-f69.google.com [74.125.83.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7E431240BA for ; Thu, 15 Jan 2015 08:55:59 +0000 (UTC) Received: by mail-ee0-f69.google.com with SMTP id d49sf7433399eek.0 for ; Thu, 15 Jan 2015 00:55:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=It1lw7kQAaYsel364V0Rii0Tx+v0oxxX/RUzVQZaSZM=; b=LOGBjprSOmBt3Q9STF40SRCJa7DJMKd/XOVlgnEM7sjhyt/869X4yKlHUqVDL3kRRp Ox/AdhVRQl9KP1dBi3pmqpTyJ7MI66FfUg85EW5TtyLAt4tUSB/EkL0grpNO0+OTiY8Y 846tEihJb3aHsG2aMAJIdlBigIYjs2CmGYy4HBapXpUP1eoj8mOdAmqazP3iOtsZElr4 /sG8FWVlJs3jiYfW2bJwysJ1CWdFcrNoQn4jQG0tFwIm/SCXl/4wIu/24KN1InDW9IZb 3ZuSjWHc4IpjAwwifxEuQws8IHOKFjq/9+CMZ0dl3Z8GyW25cKAZCa8FHk9qmFblo2MY VCXA== X-Gm-Message-State: ALoCoQm/fmK+TLMaugIYBAJJNZ/OeutWyFfdENoVtUQe29075k2hSmR23CYcPPrSGN2KjNzVYOOL X-Received: by 10.180.19.42 with SMTP id b10mr4172045wie.0.1421312158748; Thu, 15 Jan 2015 00:55:58 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.200 with SMTP id d8ls177183lah.18.gmail; Thu, 15 Jan 2015 00:55:58 -0800 (PST) X-Received: by 10.112.162.4 with SMTP id xw4mr8235745lbb.89.1421312158438; Thu, 15 Jan 2015 00:55:58 -0800 (PST) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id jl3si817974lbc.36.2015.01.15.00.55.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Jan 2015 00:55:58 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id 10so12137950lbg.5 for ; Thu, 15 Jan 2015 00:55:58 -0800 (PST) X-Received: by 10.112.170.36 with SMTP id aj4mr8382807lbc.3.1421312158280; Thu, 15 Jan 2015 00:55:58 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp1962528lbb; Thu, 15 Jan 2015 00:55:57 -0800 (PST) X-Received: by 10.224.99.3 with SMTP id s3mr2722750qan.79.1421312155639; Thu, 15 Jan 2015 00:55:55 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id y10si1220516qcy.13.2015.01.15.00.55.54 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 15 Jan 2015 00:55:55 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YBgDY-0006yX-VF; Thu, 15 Jan 2015 08:55:52 +0000 Received: from mail-la0-f54.google.com ([209.85.215.54]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YBgDA-0006ra-AD for lng-odp@lists.linaro.org; Thu, 15 Jan 2015 08:55:28 +0000 Received: by mail-la0-f54.google.com with SMTP id pv20so12385796lab.13 for ; Thu, 15 Jan 2015 00:55:22 -0800 (PST) X-Received: by 10.112.104.4 with SMTP id ga4mr531247lbb.24.1421312122689; Thu, 15 Jan 2015 00:55:22 -0800 (PST) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id zo3sm354917lbb.10.2015.01.15.00.55.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jan 2015 00:55:22 -0800 (PST) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Thu, 15 Jan 2015 09:54:43 +0100 Message-Id: <1421312084-12881-8-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1421312084-12881-1-git-send-email-anders.roxell@linaro.org> References: <1421312084-12881-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 7/8] debian: add debian packaging framework X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anders.roxell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Anders Roxell --- debian/README.Debian | 12 ++++++++++++ debian/README.source | 8 ++++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 42 ++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 31 +++++++++++++++++++++++++++++++ debian/docs | 1 + debian/libodp0-dev.dirs | 2 ++ debian/libodp0-dev.install | 4 ++++ debian/libodp0.dirs | 1 + debian/libodp0.install | 1 + debian/odp0-bin.dirs | 1 + debian/odp0-bin.install | 1 + debian/rules | 16 ++++++++++++++++ debian/source/format | 1 + 15 files changed, 127 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/README.source create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/libodp0-dev.dirs create mode 100644 debian/libodp0-dev.install create mode 100644 debian/libodp0.dirs create mode 100644 debian/libodp0.install create mode 100644 debian/odp0-bin.dirs create mode 100644 debian/odp0-bin.install create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..b8e47e4 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,12 @@ +opendataplane for Debian +------------------------ + +For up to date information please visit http://www.opendataplane.org +The OpenDataPlane (ODP) project has been established to produce an open-source, +cross-platform set of application programming interfaces (APIs) for the +networking data plane. + +It provides a library such as openvswitch with a portable API that facilitates +platform independence and access to hardware acceleration. + + -- Anders Roxell Mon, 22 Dec 2014 19:07:06 +0100 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..310a583 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,8 @@ +opendataplane for Debian +------------------------ + +Uses standard autotools. + + + -- Anders Roxell Mon, 22 Dec 2014 19:07:06 +0100 + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..645697c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +opendataplane (0.7.0-1) unstable; urgency=low + + * Initial release + + -- Anders Roxell Mon, 22 Dec 2014 19:07:06 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3affb1f --- /dev/null +++ b/debian/control @@ -0,0 +1,42 @@ +Source: opendataplane +Priority: optional +Maintainer: Anders Roxell +Build-Depends: debhelper (>= 9), autotools-dev +Standards-Version: 3.9.6 +Section: libs +Homepage: http://www.opendataplane.org/ +Vcs-Git: git://git.linaro.org/lng/odp.git +Vcs-Browser: https://git.linaro.org/lng/odp.git + +Package: odp0-bin +Section: libdevel +Architecture: any +Multi-Arch: allowed +Depends: libodp0 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Description: Example binaries for OpenDataPlane + These are the executable examples from the reference implementation. + +Package: libodp0-dbg +Priority: extra +Section: debug +Architecture: any +Multi-Arch: same +Depends: libodp0 (= ${binary:Version}), ${misc:Depends} +Description: Debug symbols for OpenDataPlane + This is the OpenDataPlane library from the reference implementation + with debug turned on. + +Package: libodp0-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: libodp0 (= ${binary:Version}), ${misc:Depends}, libssl-dev +Description: Development files for OpenDataPlane + These are the source file for the OpenDataPlane reference implementation. + +Package: libodp0 +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Library for OpenDataPlane + This is the OpenDataPlane library from the reference implementation. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..46f7597 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: OpenDataPlane +Source: + +Files: * +Copyright: 2013, Linaro Limited All rights reserved. +License: BSD-3-clause + 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. + . + Neither the name of Linaro Limited nor the names of its contributors may be + used to endorse or promote products derived from this software without specific + prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/libodp0-dev.dirs b/debian/libodp0-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/libodp0-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libodp0-dev.install b/debian/libodp0-dev.install new file mode 100644 index 0000000..b973af4 --- /dev/null +++ b/debian/libodp0-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*/lib*.so +usr/lib/*/lib*.a +usr/lib/*/pkgconfig/* diff --git a/debian/libodp0.dirs b/debian/libodp0.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/libodp0.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian/libodp0.install b/debian/libodp0.install new file mode 100644 index 0000000..3ddde58 --- /dev/null +++ b/debian/libodp0.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* diff --git a/debian/odp0-bin.dirs b/debian/odp0-bin.dirs new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/odp0-bin.dirs @@ -0,0 +1 @@ +usr/bin diff --git a/debian/odp0-bin.install b/debian/odp0-bin.install new file mode 100644 index 0000000..1df36c6 --- /dev/null +++ b/debian/odp0-bin.install @@ -0,0 +1 @@ +usr/bin/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b96345e --- /dev/null +++ b/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +DPKG_EXPORT_BUILDFLAGS = 0 +include /usr/share/dpkg/default.mk + +# main packaging script based on dh7 syntax +%: + dh $@ --with autotools-dev + +override_dh_auto_configure: + dh_auto_configure -- --enable-static + +.PHONY: override_dh_strip +override_dh_strip: + dh_strip --dbg-package=libodp0-dbg diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)