[ovs-dev] [Debian-non-root v3 1/4] Debian: require libcap-ng library for building packages
Andy Zhou
azhou at nicira.com
Mon Oct 26 23:15:38 UTC 2015
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 <azhou at nicira.com>
Acked-by: Ansis Atteka <aatteka at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>
---
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)))
--
1.9.1
More information about the dev
mailing list