From patchwork Mon Mar 21 18:58:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ben@skyportsystems.com X-Patchwork-Id: 600282 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (archives.nicira.com [96.126.127.54]) by ozlabs.org (Postfix) with ESMTP id 3qTQCV6l3pz9ryW for ; Tue, 22 Mar 2016 06:01:10 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=skyportsystems.com header.i=@skyportsystems.com header.b=L/Hut1En; dkim-atps=neutral Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id 5D80A105AD; Mon, 21 Mar 2016 11:59:05 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx3v3.cudamail.com (mx3.cudamail.com [64.34.241.5]) by archives.nicira.com (Postfix) with ESMTPS id 137D110569 for ; Mon, 21 Mar 2016 11:59:00 -0700 (PDT) Received: from bar6.cudamail.com (localhost [127.0.0.1]) by mx3v3.cudamail.com (Postfix) with ESMTPS id 32A3D1624FE for ; Mon, 21 Mar 2016 12:58:59 -0600 (MDT) X-ASG-Debug-ID: 1458586737-0b323727606b4c80001-byXFYA Received: from mx1-pf2.cudamail.com ([192.168.24.2]) by bar6.cudamail.com with ESMTP id BDsTAOJDdQJezqEE (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 21 Mar 2016 12:58:57 -0600 (MDT) X-Barracuda-Envelope-From: ben@skyportsystems.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.24.2 Received: from unknown (HELO mail-pf0-f174.google.com) (209.85.192.174) by mx1-pf2.cudamail.com with ESMTPS (RC4-SHA encrypted); 21 Mar 2016 18:58:57 -0000 Received-SPF: pass (mx1-pf2.cudamail.com: SPF record at _netblocks.google.com designates 209.85.192.174 as permitted sender) X-Barracuda-RBL-Trusted-Forwarder: 209.85.192.174 Received: by mail-pf0-f174.google.com with SMTP id n5so275144645pfn.2 for ; Mon, 21 Mar 2016 11:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skyportsystems.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=BVk8a2dOVXm6ovI2hWgJLoPFmKW5kROcfVvdrJiWPSE=; b=L/Hut1En/IwDdJI0wPQblkH/7FZU8us5jbTedUCzxJq1k/uD25TJCpg27qebCGjTix goRQqJKmz2adn9Nf56548r7cJ9BWcUFi5rr9jVJUA8YdS5dD5Azpw8o7rIXv0TNNqrlm rUOWn7CmMc/ubDq/ojq1Wy9r48qCI3//I6iLo= 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:in-reply-to:references; bh=BVk8a2dOVXm6ovI2hWgJLoPFmKW5kROcfVvdrJiWPSE=; b=jLfD7VPoORqd5IDdzKX3xasf047dNjZf4pw75IbnBzrJ9fTIVPyM4cZZVatPNe9uh4 f3s6c644j77JAivXyDNmcnoqe2ukqp1Nh5kz4T274bCl/avgEVxeN4Ip5aYqp3WRoKjf A5V+wSRHWqB9GoWABg+3e2VewqKY0RBT5hCQJ63D8odPqynbPbUfA6my6QmStyae4BIo 1IdNs4feiOeW69EQGbJZSS0hY2WS+I+9+4gNk6oww4ci6wxYYEaXMtFi+av/p40cOfy0 S4DjkMYEXKyg4SwWxNYXixPve089jYQCFs/9RyhBM2Mws7r92H8BsO+nLENrJ+2fvLoK 05eg== X-Gm-Message-State: AD7BkJI3hWIzi3B5i7a/ikmm+f6VbtTsU/a12I7ebPw5EewfyA1j63yUq7nUmL5v8YYRc4i3 X-Received: by 10.98.44.70 with SMTP id s67mr35518283pfs.59.1458586736428; Mon, 21 Mar 2016 11:58:56 -0700 (PDT) Received: from Arrow.corp.skyportsystems.com (67-207-112-138.static.wiline.com. [67.207.112.138]) by smtp.gmail.com with ESMTPSA id a22sm42472831pfj.2.2016.03.21.11.58.55 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 21 Mar 2016 11:58:55 -0700 (PDT) X-CudaMail-Envelope-Sender: ben@skyportsystems.com X-Barracuda-Apparent-Source-IP: 67.207.112.138 From: ben@skyportsystems.com To: dev@openvswitch.org X-CudaMail-MID: CM-E2-320059274 X-CudaMail-DTE: 032116 X-CudaMail-Originating-IP: 209.85.192.174 Date: Mon, 21 Mar 2016 11:58:27 -0700 X-ASG-Orig-Subj: [##CM-E2-320059274##][PATCH v3 19/21] Debian: build openvswitch as shared libraries Message-Id: X-Mailer: git-send-email 2.5.4 (Apple Git-61) In-Reply-To: References: In-Reply-To: References: X-GBUdb-Analysis: 0, 209.85.192.174, Ugly c=0.420191 p=-0.389831 Source Normal X-MessageSniffer-Rules: 0-0-0-5521-c X-Barracuda-Connect: UNKNOWN[192.168.24.2] X-Barracuda-Start-Time: 1458586737 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.60 X-Barracuda-Spam-Status: No, SCORE=0.60 using per-user scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.0 tests=BSF_SC5_MJ1963, DKIM_SIGNED, NO_REAL_NAME, RDNS_NONE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.28028 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 NO_REAL_NAME From: does not include a real name 0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature 0.10 RDNS_NONE Delivered to trusted network by a host with no rDNS 0.50 BSF_SC5_MJ1963 Custom Rule MJ1963 Cc: Ben Warren Subject: [ovs-dev] [PATCH v3 19/21] Debian: build openvswitch as shared libraries X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dev-bounces@openvswitch.org Sender: "dev" From: Ben Warren Signed-off-by: Ben Warren --- debian/openvswitch-common.install | 3 +++ debian/rules | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/openvswitch-common.install b/debian/openvswitch-common.install index 3264ea5..73c8fc9 100644 --- a/debian/openvswitch-common.install +++ b/debian/openvswitch-common.install @@ -9,3 +9,6 @@ usr/sbin/ovs-bugtool usr/share/openvswitch/bugtool-plugins usr/share/openvswitch/scripts/ovs-bugtool-* usr/share/openvswitch/scripts/ovs-lib +usr/lib/*.a +usr/lib/*.so +usr/lib/*.so.* diff --git a/debian/rules b/debian/rules index 2a70bd6..a66bead 100755 --- a/debian/rules +++ b/debian/rules @@ -30,7 +30,7 @@ override_dh_autoreconf: dh_autoreconf $(DH_AS_NEEDED) override_dh_auto_configure: - dh_auto_configure -- --enable-ssl $(DATAPATH_CONFIGURE_OPTS) + dh_auto_configure -- --enable-ssl --enable-shared $(DATAPATH_CONFIGURE_OPTS) override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) @@ -91,3 +91,6 @@ override_dh_installinit: override_dh_strip: dh_strip --dbg-package=openvswitch-dbg + +override_dh_shlibdeps: + dh_shlibdeps -l$(shell pwd)/debian/tmp/usr/lib -O--parallel --dpkg-shlibdeps-params=--ignore-missing-info