1 |
commit: 7ecfe4b4ecc73be67b134f91e431d83e308c8376 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 29 15:02:09 2019 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 29 15:02:22 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ecfe4b4 |
7 |
|
8 |
net-misc/connman: bump to 1.37 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
12 |
|
13 |
net-misc/connman/Manifest | 1 + |
14 |
net-misc/connman/connman-1.37.ebuild | 95 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 96 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/connman/Manifest b/net-misc/connman/Manifest |
18 |
index 22144a8bb4b..01fbb6e4ffb 100644 |
19 |
--- a/net-misc/connman/Manifest |
20 |
+++ b/net-misc/connman/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST connman-1.35.tar.xz 686092 BLAKE2B 706d8333dc2fcbee8d0ef3849325c4975dfe312a7a542ee96859a1724e05b1302c244a0108ab70033b398301c235fb13cb9509e9147dc2bb049e900f3799cd98 SHA512 2234b4d18b038f9a33939035cddebd31c74ce962e5616c2c30b2912476612ef3f7d5b9edca64bf6e69fa358252ed432124e036ac3516b291b86695cb9a96c6a8 |
23 |
DIST connman-1.36.tar.xz 692616 BLAKE2B 7d8cea55365fbfe78cd897b5b65d8edf475a737220732c46c95dda4c6b12badddca38150dbedddcc95c29bce486d86fe130a9d65043c6e18ed6b1eba3fe5aec0 SHA512 c0b9e924a28d58539d44c314168ae7aa46dfea8ce9d125198f525a6d6ef95ca77fd0357c4c4c7548b362b9de8e6f85c7915b1a4cf89b65116c4cbc4df75318e1 |
24 |
+DIST connman-1.37.tar.xz 707752 BLAKE2B ad8993764a444d205b0a8cf1ad38acc249a1a28014e6f4e5a89c8662194ad2e2ee6091b51445b88a885808461413b3aaf88eeb7b75a32f417b578d2da80a2e9f SHA512 5d5363105aedd0c9d609dd5c64eb832d9ff80923a944d9d3738337a61f180ded227f2ae1ff7912bed8826b35f0cfd20488e3ffd3801f0e53e90f98498e19efb6 |
25 |
|
26 |
diff --git a/net-misc/connman/connman-1.37.ebuild b/net-misc/connman/connman-1.37.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..3114fde3465 |
29 |
--- /dev/null |
30 |
+++ b/net-misc/connman/connman-1.37.ebuild |
31 |
@@ -0,0 +1,95 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="6" |
36 |
+inherit autotools systemd tmpfiles |
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 ~arm64 ~ppc ~ppc64 ~x86" |
45 |
+ |
46 |
+IUSE="${IUSE} bluetooth debug doc examples +ethernet iptables iwd l2tp nftables" |
47 |
+IUSE="${IUSE} ofono openvpn openconnect pptp policykit tools vpnc +wifi wispr networkmanager" |
48 |
+ |
49 |
+REQUIRED_USE="|| ( iptables nftables )" |
50 |
+RDEPEND=">=dev-libs/glib-2.16 |
51 |
+ >=sys-apps/dbus-1.2.24 |
52 |
+ sys-libs/readline:0= |
53 |
+ iptables? ( >=net-firewall/iptables-1.4.8 ) |
54 |
+ bluetooth? ( net-wireless/bluez ) |
55 |
+ iwd? ( net-wireless/iwd ) |
56 |
+ l2tp? ( net-dialup/xl2tpd ) |
57 |
+ nftables? ( |
58 |
+ >=net-libs/libnftnl-1.0.4:0= |
59 |
+ >=net-libs/libmnl-1.0.0:0= ) |
60 |
+ ofono? ( net-misc/ofono ) |
61 |
+ openconnect? ( net-vpn/openconnect ) |
62 |
+ openvpn? ( net-vpn/openvpn ) |
63 |
+ policykit? ( sys-auth/polkit ) |
64 |
+ pptp? ( net-dialup/pptpclient ) |
65 |
+ vpnc? ( net-vpn/vpnc ) |
66 |
+ wifi? ( >=net-wireless/wpa_supplicant-2.0[dbus] ) |
67 |
+ wispr? ( net-libs/gnutls )" |
68 |
+ |
69 |
+DEPEND="${RDEPEND} |
70 |
+ >=sys-kernel/linux-headers-2.6.39 |
71 |
+ virtual/pkgconfig" |
72 |
+ |
73 |
+#PATCHES=( |
74 |
+# "${FILESDIR}/${PN}-1.33-polkit-configure-check-fix.patch" |
75 |
+#) |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ default |
79 |
+ eautoreconf |
80 |
+} |
81 |
+ |
82 |
+src_configure() { |
83 |
+ econf \ |
84 |
+ --localstatedir=/var \ |
85 |
+ --with-systemdunitdir=$(systemd_get_systemunitdir) \ |
86 |
+ --with-tmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d \ |
87 |
+ --enable-client \ |
88 |
+ --enable-datafiles \ |
89 |
+ --enable-loopback=builtin \ |
90 |
+ $(use_enable examples test) \ |
91 |
+ $(use_enable ethernet ethernet builtin) \ |
92 |
+ $(use_enable wifi wifi builtin) \ |
93 |
+ $(use_enable iwd) \ |
94 |
+ $(use_enable bluetooth bluetooth builtin) \ |
95 |
+ $(use_enable l2tp l2tp builtin) \ |
96 |
+ $(use_enable ofono ofono builtin) \ |
97 |
+ $(use_enable openconnect openconnect builtin) \ |
98 |
+ $(use_enable openvpn openvpn builtin) \ |
99 |
+ $(use_enable policykit polkit builtin) \ |
100 |
+ $(use_enable pptp pptp builtin) \ |
101 |
+ $(use_enable vpnc vpnc builtin) \ |
102 |
+ $(use_enable wispr wispr builtin) \ |
103 |
+ $(use_enable debug) \ |
104 |
+ $(use_enable tools) \ |
105 |
+ $(use_enable networkmanager nmcompat) \ |
106 |
+ --with-firewall=$(usex iptables "iptables" "nftables" ) \ |
107 |
+ --disable-iospm \ |
108 |
+ --disable-hh2serial-gps |
109 |
+} |
110 |
+ |
111 |
+src_install() { |
112 |
+ default |
113 |
+ dobin client/connmanctl |
114 |
+ |
115 |
+ if use doc; then |
116 |
+ dodoc doc/*.txt |
117 |
+ fi |
118 |
+ keepdir /usr/lib/${PN}/scripts |
119 |
+ keepdir /var/lib/${PN} |
120 |
+ newinitd "${FILESDIR}"/${PN}.initd2 ${PN} |
121 |
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} |
122 |
+} |
123 |
+ |
124 |
+pkg_postinst() { |
125 |
+ tmpfiles_process /usr/lib/tmpfiles.d/connman_resolvconf.conf |
126 |
+} |