From patchwork Mon Oct 26 23:15:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Zhou X-Patchwork-Id: 536363 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 302A31412FD for ; Tue, 27 Oct 2015 10:15:50 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nicira_com.20150623.gappssmtp.com header.i=@nicira_com.20150623.gappssmtp.com header.b=v9SLtHuE; dkim-atps=neutral Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id 6F85010527; Mon, 26 Oct 2015 16:15:48 -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 328B21051F for ; Mon, 26 Oct 2015 16:15:47 -0700 (PDT) Received: from bar4.cudamail.com (localhost [127.0.0.1]) by mx3v3.cudamail.com (Postfix) with ESMTPS id EDB8F162FCC for ; Mon, 26 Oct 2015 17:15:45 -0600 (MDT) X-ASG-Debug-ID: 1445901345-03dc210f7a2b5250001-byXFYA Received: from mx3-pf3.cudamail.com ([192.168.14.3]) by bar4.cudamail.com with ESMTP id 5BF2k9AGrLH3b45o (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 26 Oct 2015 17:15:45 -0600 (MDT) X-Barracuda-Envelope-From: azhou@nicira.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.14.3 Received: from unknown (HELO mail-pa0-f47.google.com) (209.85.220.47) by mx3-pf3.cudamail.com with ESMTPS (RC4-SHA encrypted); 26 Oct 2015 23:15:45 -0000 Received-SPF: unknown (mx3-pf3.cudamail.com: Multiple SPF records returned) X-Barracuda-RBL-Trusted-Forwarder: 209.85.220.47 Received: by padhk11 with SMTP id hk11so201733253pad.1 for ; Mon, 26 Oct 2015 16:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nicira_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=QqE6P4m1FZ+XfFq02u1K6D2wObF4UyFtutqWJCJmb60=; b=v9SLtHuE05Rl7OHRPW7W3P+BYIcjmrK34SGqFL3hCJNFuZNluVIwXbmL6R2yeDVSh8 zi5E53OuI9OgbtIN3USYMas8pOF/wuzznltdlEzKOFFb+IIi84Jmu5ZG7Pmegm7zrdEf vHHDtIXxsHsJI6Y57XRfbbbP9Aj02HrpStMSyfmBdKqdpCMsB02EpgoAnSnw4zotdVYt LcDcXbBIb9xCWzAmMMf+HOxglqsiRBcGplnb5lu6sQPbLR73RDb6GrRNXNUR98X/y/Rj VKh8UsLKt6nXBE57+yFw4tW9/C9s5S6xoEeH8rk52drGqlGrWdzOd9VZKOy0S8mZiERg OL6g== 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=QqE6P4m1FZ+XfFq02u1K6D2wObF4UyFtutqWJCJmb60=; b=NO+5qIpH5s3G/KVbfgjss84SEOir5Fogdq2K+41YUq+miDjMGKgF8Af7BINxs/IgSO O8mUCCb+xDsYa+Et59VhteBNs3LOlThElOWTBFWIywCAV1ieJpkzJcsOtx/egeEJX5Ra P4d60fiwfLNm+evCbzVn/T6AC+1PvMEHqF9ht70r2d4E5xGdCPZUULIMx49bY32ubVIS yaJuvIkGsU/kgQaHjhgIPASgmZWMRR6dSvydnrOTZTmx8doFKPNNs/xe7vTFt8GbS1YK LeBnO6WVH1ZKxaULCoS+me7ZRo68fUPx1p3C2ByMAIKOT4UCYrA4Gei2d45wJOB03lVb XTOg== X-Gm-Message-State: ALoCoQkK7L6jXnyscsgRiIc01uGBUblD5nYbbDeJoH+82OffVzuubJlnmJW19I536SXKV+cq3RE5 X-Received: by 10.66.132.9 with SMTP id oq9mr24296023pab.101.1445901344620; Mon, 26 Oct 2015 16:15:44 -0700 (PDT) Received: from ubuntu.localdomain ([208.91.1.34]) by smtp.gmail.com with ESMTPSA id pj10sm35853672pbc.59.2015.10.26.16.15.43 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 26 Oct 2015 16:15:43 -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-V3-1025064413 X-CudaMail-DTE: 102615 X-CudaMail-Originating-IP: 209.85.220.47 Date: Mon, 26 Oct 2015 16:15:38 -0700 X-ASG-Orig-Subj: [##CM-V3-1025064413##][Debian-non-root v3 1/4] Debian: require libcap-ng library for building packages Message-Id: <1445901341-7182-1-git-send-email-azhou@nicira.com> X-Mailer: git-send-email 1.9.1 X-Barracuda-Connect: UNKNOWN[192.168.14.3] X-Barracuda-Start-Time: 1445901345 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 v3 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 Acked-by: Ben Pfaff --- 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)))