From patchwork Tue Oct 6 01:38:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Zhou X-Patchwork-Id: 526610 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (unknown [IPv6:2600:3c00::f03c:91ff:fe6e:bdf7]) by ozlabs.org (Postfix) with ESMTP id 5546A140D6A for ; Tue, 6 Oct 2015 12:39:09 +1100 (AEDT) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id 9E418108FB; Mon, 5 Oct 2015 18:38:58 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx1e4.cudamail.com (mx1.cudamail.com [69.90.118.67]) by archives.nicira.com (Postfix) with ESMTPS id 913B91060D for ; Mon, 5 Oct 2015 18:38:57 -0700 (PDT) Received: from bar5.cudamail.com (unknown [192.168.21.12]) by mx1e4.cudamail.com (Postfix) with ESMTPS id 661451E0373 for ; Mon, 5 Oct 2015 19:38:55 -0600 (MDT) X-ASG-Debug-ID: 1444095534-09eadd14172e7b30001-byXFYA Received: from mx1-pf1.cudamail.com ([192.168.24.1]) by bar5.cudamail.com with ESMTP id xJOUTtzGvprbdv6B (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 05 Oct 2015 19:38:54 -0600 (MDT) X-Barracuda-Envelope-From: azhou@nicira.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.24.1 Received: from unknown (HELO mail-pa0-f41.google.com) (209.85.220.41) by mx1-pf1.cudamail.com with ESMTPS (RC4-SHA encrypted); 6 Oct 2015 01:38:54 -0000 Received-SPF: unknown (mx1-pf1.cudamail.com: Multiple SPF records returned) X-Barracuda-RBL-Trusted-Forwarder: 209.85.220.41 Received: by pablk4 with SMTP id lk4so192177428pab.3 for ; Mon, 05 Oct 2015 18:38:53 -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; bh=hy0m8I9rEF2yY9jo24HgEq1mIpDPozpSwBdjHzzfzIg=; b=IsGNivY3wOz7gusfz4d/vmqjI4IgXFokr89OqS6IAn3y91cE5BBpLBVzGJdv9A6Cwb OKoa/HfQODaDSkrbFmYFpbQV1GMGmNTMZCXexkpOLMyVSxJ12KKqYfQT63K088AmEWxi PeXd6+DOP45pZHnij2mOH+d5YY8prAvpBGOpHxWi2W9tNfn3HkFQkXzR4IN1/z+nOaMF OmxfRJIsXTvYKytrTkeEqo0TLkf0BBpYqCU/TpASWAqiHQs9rT4JIBeheknlqaWABlem U0XQ6v8e3EPw13AxwX98+r9scQEbxyEqV9cKCsRpyz9E8iPu0TmODuTqpJ5Z7cQGpQxM QsSg== X-Gm-Message-State: ALoCoQlLpjCW+arXdS150O7LqAsecCZILamMzppAAdKJzdWE6dyrDGemLGH1YVfpWGGaCCOb/8+x X-Received: by 10.66.161.7 with SMTP id xo7mr42740306pab.57.1444095533349; Mon, 05 Oct 2015 18:38:53 -0700 (PDT) Received: from ubuntu.localdomain ([208.91.1.34]) by smtp.gmail.com with ESMTPSA id pq1sm29914469pbb.91.2015.10.05.18.38.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Oct 2015 18:38:52 -0700 (PDT) X-CudaMail-Envelope-Sender: azhou@nicira.com X-Barracuda-Apparent-Source-IP: 208.91.1.34 From: Andy Zhou To: dev@openvswitch.org X-CudaMail-Whitelist-To: dev@openvswitch.org X-CudaMail-MID: CM-E1-1004107864 X-CudaMail-DTE: 100515 X-CudaMail-Originating-IP: 209.85.220.41 Date: Mon, 5 Oct 2015 18:38:41 -0700 X-ASG-Orig-Subj: [##CM-E1-1004107864##][Debian-non-root 1/4] Debian: require libcap-ng library for building packages Message-Id: <1444095524-11357-1-git-send-email-azhou@nicira.com> X-Mailer: git-send-email 1.9.1 X-Barracuda-Connect: UNKNOWN[192.168.24.1] X-Barracuda-Start-Time: 1444095534 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-ASG-Whitelist: Header =?UTF-8?B?eFwtY3VkYW1haWxcLXdoaXRlbGlzdFwtdG8=?= X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 Subject: [ovs-dev] [Debian-non-root 1/4] Debian: require libcap-ng library for building packages 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" libcap-ng is going to be required to build Debian packages. Daemons will run as the ovs user and group, instead of root, to improve security. Signed-off-by: Andy Zhou Acked-by: Ansis Atteka --- debian/control | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 49d6f5f..3eac644 100644 --- a/debian/control +++ b/debian/control @@ -9,6 +9,7 @@ Build-Depends: graphviz, bzip2, debhelper (>= 8), dh-autoreconf, + libcap-ng-dev, libssl-dev, libtool, openssl, diff --git a/debian/rules b/debian/rules index d8e90c7..91621d3 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-libcapng=yes $(DATAPATH_CONFIGURE_OPTS) override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))