summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2017-05-23 23:10:48 +0800
committerYixun Lan <dlan@gentoo.org>2017-05-23 23:12:23 +0800
commitc36c63c2558c27e796f4acfa869463f7e443dc21 (patch)
treeb87280e559e9540ab60635e2a16970c72164a5a2 /net-misc/connman
parentmedia-libs/libsamplerate: Remove vulnerable version. (diff)
downloadgentoo-c36c63c2558c27e796f4acfa869463f7e443dc21.tar.gz
gentoo-c36c63c2558c27e796f4acfa869463f7e443dc21.tar.bz2
gentoo-c36c63c2558c27e796f4acfa869463f7e443dc21.zip
net-misc/connman: add NetworkManager compatible API support
thanks "Samantha McVey" for reporting & providing patch Gentoo-Bug: 619408 Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-misc/connman')
-rw-r--r--net-misc/connman/connman-1.33-r1.ebuild5
-rw-r--r--net-misc/connman/connman-1.34.ebuild5
2 files changed, 6 insertions, 4 deletions
diff --git a/net-misc/connman/connman-1.33-r1.ebuild b/net-misc/connman/connman-1.33-r1.ebuild
index 54b05b9ca1ba..b3c1d52bbc4c 100644
--- a/net-misc/connman/connman-1.33-r1.ebuild
+++ b/net-misc/connman/connman-1.33-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="bluetooth debug doc examples +ethernet l2tp ofono openvpn openconnect pptp policykit tools vpnc +wifi wispr"
+IUSE="bluetooth debug doc examples +ethernet l2tp ofono openvpn openconnect pptp policykit tools vpnc +wifi wispr networkmanager"
RDEPEND=">=dev-libs/glib-2.16
>=sys-apps/dbus-1.2.24
@@ -46,7 +46,7 @@ src_configure() {
econf \
--localstatedir=/var \
--with-systemdunitdir=$(systemd_get_systemunitdir) \
- --with-tmpfilesdir=${EPREFIX}/usr/lib/tmpfiles.d \
+ --with-tmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d \
--enable-client \
--enable-datafiles \
--enable-loopback=builtin \
@@ -64,6 +64,7 @@ src_configure() {
$(use_enable wispr wispr builtin) \
$(use_enable debug) \
$(use_enable tools) \
+ $(use_enable networkmanager nmcompat) \
--disable-iospm \
--disable-hh2serial-gps
}
diff --git a/net-misc/connman/connman-1.34.ebuild b/net-misc/connman/connman-1.34.ebuild
index b67c65d2b222..185f523b2a7b 100644
--- a/net-misc/connman/connman-1.34.ebuild
+++ b/net-misc/connman/connman-1.34.ebuild
@@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="${IUSE} bluetooth debug doc examples +ethernet iptables l2tp nftables"
-IUSE="${IUSE} ofono openvpn openconnect pptp policykit tools vpnc +wifi wispr"
+IUSE="${IUSE} ofono openvpn openconnect pptp policykit tools vpnc +wifi wispr networkmanager"
REQUIRED_USE="|| ( iptables nftables )"
RDEPEND=">=dev-libs/glib-2.16
@@ -51,7 +51,7 @@ src_configure() {
econf \
--localstatedir=/var \
--with-systemdunitdir=$(systemd_get_systemunitdir) \
- --with-tmpfilesdir=${EPREFIX}/usr/lib/tmpfiles.d \
+ --with-tmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d \
--enable-client \
--enable-datafiles \
--enable-loopback=builtin \
@@ -69,6 +69,7 @@ src_configure() {
$(use_enable wispr wispr builtin) \
$(use_enable debug) \
$(use_enable tools) \
+ $(use_enable networkmanager nmcompat) \
--with-firewall=$(usex iptables "iptables" "nftables" ) \
--disable-iospm \
--disable-iwd \