From patchwork Fri Mar 18 12:59:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 64064 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1049270lbc; Fri, 18 Mar 2016 06:14:14 -0700 (PDT) X-Received: by 10.55.17.164 with SMTP id 36mr21531864qkr.54.1458306853953; Fri, 18 Mar 2016 06:14:13 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 189si12162697qhy.63.2016.03.18.06.14.13; Fri, 18 Mar 2016 06:14:13 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 894A3669BF; Fri, 18 Mar 2016 13:14:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 2BF4A669D6; Fri, 18 Mar 2016 13:07:35 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id C868D61B6D; Fri, 18 Mar 2016 13:07:24 +0000 (UTC) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by lists.linaro.org (Postfix) with ESMTPS id 83AA8669BA for ; Fri, 18 Mar 2016 13:06:28 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id bc4so88206675lbc.2 for ; Fri, 18 Mar 2016 06:06:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nyHNJeikWwoycP2Ioo/gXCKyHCRrdnGY5R2lZuYfBB8=; b=LXf7O3LWjmO1Ie70Hv8iZe4f2Zp9l33TSLMqO3dCur1F5MrdDQA+/E4e5aIxBaXEb2 vUsW39ULUplzBHdVZ1PhaH0hcyt6JYUZM1wmgxgE5OWeLqAB3hpv8zbucPUqpWvBPAS1 9gew+/wYADAWIhKbV5bEdUY6KrUkGGL6MTQrowzQhIGsTD7WheuNEsqN4kE8H9BC/634 Be9PJiTVqTQOX6T5DOE/MrZsQZFulpXw/rQuxx3jZsSYly2gL381T8vtABCI5LnP6CIE DDTLkS9BTWPxBrJEEwMrSKXyT8YVQuvzXq4VlHHBT1QWo6mWrOuIIHM9+WnR7pX0mjvF DsQA== X-Gm-Message-State: AD7BkJLoeMxZtO0GMrYhV63yNAgHbwtrhPE2rsWV5EkXpaXwwYTwSeIU1F+soPNPQRJBtB8wqxI= X-Received: by 10.112.161.198 with SMTP id xu6mr5669574lbb.131.1458306387329; Fri, 18 Mar 2016 06:06:27 -0700 (PDT) Received: from localhost (c-932171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.147]) by smtp.gmail.com with ESMTPSA id sv6sm772946lbb.29.2016.03.18.06.06.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Mar 2016 06:06:26 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Fri, 18 Mar 2016 13:59:17 +0100 Message-Id: <1458305959-26825-8-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1458305959-26825-1-git-send-email-anders.roxell@linaro.org> References: <1458305959-26825-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 07/11] dbg/debian: add libodphelper-linux* packages X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" 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" Signed-off-by: Anders Roxell Reviewed-by: Ricardo Salveti --- pkg/debian/control | 27 ++++++++++++++++++++++++++- pkg/debian/rules | 3 ++- scripts/builddeb | 4 ++-- 3 files changed, 30 insertions(+), 4 deletions(-) diff --git a/pkg/debian/control b/pkg/debian/control index 8a1f679..0c5821b 100644 --- a/pkg/debian/control +++ b/pkg/debian/control @@ -14,7 +14,7 @@ Package: odp-linux-bin Section: libdevel Architecture: any Multi-Arch: allowed -Depends: libodp-linux (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} Description: Example binaries for OpenDataPlane These are the executable examples from the reference implementation. @@ -42,3 +42,28 @@ Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends} Description: Library for OpenDataPlane This is the OpenDataPlane library from the reference implementation. + +Package: libodphelper-linux-dbg +Priority: extra +Section: debug +Architecture: any +Multi-Arch: same +Depends: libodphelper-linux (= ${binary:Version}), ${misc:Depends} +Description: Debug symbols for OpenDataPlane + This is the OpenDataPlane helper library from the reference implementation + with debug turned on. + +Package: libodphelper-linux-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, ${shlibs:Depends}, libssl-dev +Description: Helper development files for OpenDataPlane + These are the helper source file for the OpenDataPlane reference implementation. + +Package: libodphelper-linux +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Helper library for OpenDataPlane + This is the OpenDataPlane helper library from the reference implementation. diff --git a/pkg/debian/rules b/pkg/debian/rules index be8a2ae..4f7a057 100755 --- a/pkg/debian/rules +++ b/pkg/debian/rules @@ -18,4 +18,5 @@ override_dh_auto_configure: .PHONY: override_dh_strip override_dh_strip: - dh_strip --dbg-package=libodp-linux-dbg + dh_strip -p libodp-linux --dbg-package=libodp-linux-dbg + dh_strip -p libodphelper-linux --dbg-package=libodphelper-linux-dbg diff --git a/scripts/builddeb b/scripts/builddeb index 988cb5d..8bde7cf 100755 --- a/scripts/builddeb +++ b/scripts/builddeb @@ -23,8 +23,8 @@ cp -r ${ROOT_DIR}/pkg/debian . current=$(echo ${version} | awk -F . '{printf("%d\n", (($1 * 100) + $2))}') rename 's,(.*linux)(.*),${1}'"${current}"'${2},' debian/*odp*-linux.install -sed -i "s:\(.*odp-linux\)\(-dbg\|$\| \):\1${current}\2:g" debian/control -sed -i "s:\(.*odp-linux\)\(.*\):\1${current}\2:g" debian/rules +sed -i "s:\(libodp[a-zA-Z\-]\+linux\)\(-dbg\|$\| \):\1${current}\2:g" debian/control +sed -i "s:\(libodp[a-zA-Z\-]\+linux\)\(-dbg\| \):\1${current}\2:g" debian/rules if [ $(egrep "\.([a-z0-9]{8}\>|dirty)" .scmversion |wc -l) -gt 0 ]; then export DEBFULLNAME="Donald Duck"