1 |
commit: e0accd6fa4392ef7982a8de12973dfc766a98df1 |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 3 21:35:28 2017 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 3 21:36:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0accd6f |
7 |
|
8 |
net-misc/connman: version bump 1.34 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
net-misc/connman/Manifest | 1 + |
13 |
net-misc/connman/connman-1.34.ebuild | 89 ++++++++++++++++++++++++++++++++++++ |
14 |
net-misc/connman/metadata.xml | 2 + |
15 |
3 files changed, 92 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/connman/Manifest b/net-misc/connman/Manifest |
18 |
index d8652b5e631..c75b175503b 100644 |
19 |
--- a/net-misc/connman/Manifest |
20 |
+++ b/net-misc/connman/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST connman-1.29.tar.xz 653324 SHA256 2a5a69693566f7fd59b2e677fa89356ada6d709998aa665caef8707b1e7a8594 SHA512 19f623dd23c6312f29bbd570dcb22d31154ffcd16ee66ed2280df3d9d844301f18538418363222d99eabdc33da0021488ed66ba2e4f88df30646004b724538ee WHIRLPOOL 9439cadeb20b72c922b1426da213f8567fe7b0da45f9a4abf270c38687a9d9161a8ee14250623344864d612e130e6f28926918468aaf4346a9e5ff41e6ad22bb |
23 |
DIST connman-1.33.tar.xz 669800 SHA256 bc8946036fa70124d663136f9f6b6238d897ca482782df907b07a428b09df5a0 SHA512 5670124d2e17ffde4bd5fb878198843b712a31f5840e8523e8247373c8547619e32a4d6dda9cf993eebd5c65bdd256cfc570708a79da1d10f969662b5b750566 WHIRLPOOL eda8176d0d6137b0b94581c9ace23367d7af5722b7d7ea53e173e9466b555f26c9a18a05a07c1533ab11e3197e4303c6c77685a214c3dec2de926d7924f019f2 |
24 |
+DIST connman-1.34.tar.xz 684992 SHA256 a9a0808c729c1f348fc36d8cecb52d19b72bc34cb411c502608cb0e0190fc71e SHA512 732669648936630ae5895cba8bcccc69757ab594bc31ee8e4925b0e402d190939891fac61136f3f086ce708b8d576136f0947914c0cc07427c170cbf9b85a308 WHIRLPOOL bf349ff1f8709e2325d0c316cef922358115c1e9b340b27866d19e03dad98a563f20405ef8290610960b8a33b6de6fbdc717bf958322553fa02da0fba76b3a3a |
25 |
|
26 |
diff --git a/net-misc/connman/connman-1.34.ebuild b/net-misc/connman/connman-1.34.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4b9db5502e7 |
29 |
--- /dev/null |
30 |
+++ b/net-misc/connman/connman-1.34.ebuild |
31 |
@@ -0,0 +1,89 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="6" |
36 |
+inherit autotools systemd |
37 |
+ |
38 |
+DESCRIPTION="Provides a daemon for managing internet connections" |
39 |
+HOMEPAGE="https://01.org/connman" |
40 |
+SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
45 |
+ |
46 |
+IUSE="${IUSE} bluetooth debug doc examples +ethernet iptables l2tp nftables" |
47 |
+IUSE="${IUSE} ofono openvpn openconnect pptp policykit tools vpnc +wifi wispr" |
48 |
+ |
49 |
+REQUIRED_USE="|| ( iptables nftables )" |
50 |
+RDEPEND=">=dev-libs/glib-2.16 |
51 |
+ >=sys-apps/dbus-1.2.24 |
52 |
+ iptables? ( >=net-firewall/iptables-1.4.8 ) |
53 |
+ bluetooth? ( net-wireless/bluez ) |
54 |
+ l2tp? ( net-dialup/xl2tpd ) |
55 |
+ nftables? ( |
56 |
+ >=net-libs/libnftnl-1.0.4 |
57 |
+ >=net-libs/libmnl-1.0.0 ) |
58 |
+ ofono? ( net-misc/ofono ) |
59 |
+ openconnect? ( net-vpn/openconnect ) |
60 |
+ openvpn? ( net-vpn/openvpn ) |
61 |
+ policykit? ( sys-auth/polkit ) |
62 |
+ pptp? ( net-dialup/pptpclient ) |
63 |
+ vpnc? ( net-vpn/vpnc ) |
64 |
+ wifi? ( >=net-wireless/wpa_supplicant-2.0[dbus] ) |
65 |
+ wispr? ( net-libs/gnutls )" |
66 |
+ |
67 |
+DEPEND="${RDEPEND} |
68 |
+ >=sys-kernel/linux-headers-2.6.39 |
69 |
+ virtual/pkgconfig" |
70 |
+ |
71 |
+PATCHES=( |
72 |
+ "${FILESDIR}/${PN}-1.33-polkit-configure-check-fix.patch" |
73 |
+ "${FILESDIR}/${PN}-1.33-resolv-conf-overwrite.patch" |
74 |
+) |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ default |
78 |
+ eautoreconf |
79 |
+} |
80 |
+ |
81 |
+src_configure() { |
82 |
+ econf \ |
83 |
+ --localstatedir=/var \ |
84 |
+ --with-systemdunitdir=$(systemd_get_systemunitdir) \ |
85 |
+ --with-tmpfilesdir=${EPRIFEX}/usr/lib/tmpfiles.d \ |
86 |
+ --enable-client \ |
87 |
+ --enable-datafiles \ |
88 |
+ --enable-loopback=builtin \ |
89 |
+ --enable-iwd \ |
90 |
+ $(use_enable examples test) \ |
91 |
+ $(use_enable ethernet ethernet builtin) \ |
92 |
+ $(use_enable wifi wifi builtin) \ |
93 |
+ $(use_enable bluetooth bluetooth builtin) \ |
94 |
+ $(use_enable l2tp l2tp builtin) \ |
95 |
+ $(use_enable ofono ofono builtin) \ |
96 |
+ $(use_enable openconnect openconnect builtin) \ |
97 |
+ $(use_enable openvpn openvpn builtin) \ |
98 |
+ $(use_enable policykit polkit builtin) \ |
99 |
+ $(use_enable pptp pptp builtin) \ |
100 |
+ $(use_enable vpnc vpnc builtin) \ |
101 |
+ $(use_enable wispr wispr builtin) \ |
102 |
+ $(use_enable debug) \ |
103 |
+ $(use_enable tools) \ |
104 |
+ --with-firewall=$(usex iptables "iptables" "nftables" ) \ |
105 |
+ --disable-iospm \ |
106 |
+ --disable-hh2serial-gps |
107 |
+} |
108 |
+ |
109 |
+src_install() { |
110 |
+ default |
111 |
+ dobin client/connmanctl |
112 |
+ |
113 |
+ if use doc; then |
114 |
+ dodoc doc/*.txt |
115 |
+ fi |
116 |
+ keepdir /usr/lib/${PN}/scripts |
117 |
+ keepdir /var/lib/${PN} |
118 |
+ newinitd "${FILESDIR}"/${PN}.initd2 ${PN} |
119 |
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} |
120 |
+} |
121 |
|
122 |
diff --git a/net-misc/connman/metadata.xml b/net-misc/connman/metadata.xml |
123 |
index 195ba7c0cfe..a4bbe92fa34 100644 |
124 |
--- a/net-misc/connman/metadata.xml |
125 |
+++ b/net-misc/connman/metadata.xml |
126 |
@@ -8,6 +8,8 @@ |
127 |
<use> |
128 |
<flag name="ethernet">Enable ethernet support.</flag> |
129 |
<flag name="l2tp">Use <pkg>net-dialup/xl2tpd</pkg> for L2TP VPN support.</flag> |
130 |
+ <flag name="iptables">Use <pkg>net-firewall/iptables</pkg> as firewall.</flag> |
131 |
+ <flag name="nftables">Use <pkg>net-firewall/nftables</pkg> as firewall.</flag> |
132 |
<flag name="ofono">Use <pkg>net-misc/ofono</pkg> for telephony support.</flag> |
133 |
<flag name="openconnect">Use <pkg>net-vpn/openconnect</pkg> for VPN support.</flag> |
134 |
<flag name="openvpn">Use <pkg>net-vpn/openvpn</pkg> for openvpn support.</flag> |