1 |
commit: ddc576becadd5836a67a739633b9a0bf5b42b6d3 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 15 15:00:45 2019 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 15 15:01:11 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddc576be |
7 |
|
8 |
net-misc/connman: add missing readline dep |
9 |
|
10 |
Package-Manager: Portage-2.3.56, Repoman-2.3.12 |
11 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
12 |
|
13 |
net-misc/connman/connman-1.36-r1.ebuild | 95 +++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 95 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/connman/connman-1.36-r1.ebuild b/net-misc/connman/connman-1.36-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..376b73082b7 |
19 |
--- /dev/null |
20 |
+++ b/net-misc/connman/connman-1.36-r1.ebuild |
21 |
@@ -0,0 +1,95 @@ |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI="6" |
26 |
+inherit autotools systemd tmpfiles |
27 |
+ |
28 |
+DESCRIPTION="Provides a daemon for managing internet connections" |
29 |
+HOMEPAGE="https://01.org/connman" |
30 |
+SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.xz" |
31 |
+ |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
35 |
+ |
36 |
+IUSE="${IUSE} bluetooth debug doc examples +ethernet iptables iwd l2tp nftables" |
37 |
+IUSE="${IUSE} ofono openvpn openconnect pptp policykit tools vpnc +wifi wispr networkmanager" |
38 |
+ |
39 |
+REQUIRED_USE="|| ( iptables nftables )" |
40 |
+RDEPEND=">=dev-libs/glib-2.16 |
41 |
+ >=sys-apps/dbus-1.2.24 |
42 |
+ sys-libs/readline:0= |
43 |
+ iptables? ( >=net-firewall/iptables-1.4.8 ) |
44 |
+ bluetooth? ( net-wireless/bluez ) |
45 |
+ iwd? ( net-wireless/iwd ) |
46 |
+ l2tp? ( net-dialup/xl2tpd ) |
47 |
+ nftables? ( |
48 |
+ >=net-libs/libnftnl-1.0.4:0= |
49 |
+ >=net-libs/libmnl-1.0.0:0= ) |
50 |
+ ofono? ( net-misc/ofono ) |
51 |
+ openconnect? ( net-vpn/openconnect ) |
52 |
+ openvpn? ( net-vpn/openvpn ) |
53 |
+ policykit? ( sys-auth/polkit ) |
54 |
+ pptp? ( net-dialup/pptpclient ) |
55 |
+ vpnc? ( net-vpn/vpnc ) |
56 |
+ wifi? ( >=net-wireless/wpa_supplicant-2.0[dbus] ) |
57 |
+ wispr? ( net-libs/gnutls )" |
58 |
+ |
59 |
+DEPEND="${RDEPEND} |
60 |
+ >=sys-kernel/linux-headers-2.6.39 |
61 |
+ virtual/pkgconfig" |
62 |
+ |
63 |
+PATCHES=( |
64 |
+ "${FILESDIR}/${PN}-1.33-polkit-configure-check-fix.patch" |
65 |
+) |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ eautoreconf |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ econf \ |
74 |
+ --localstatedir=/var \ |
75 |
+ --with-systemdunitdir=$(systemd_get_systemunitdir) \ |
76 |
+ --with-tmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d \ |
77 |
+ --enable-client \ |
78 |
+ --enable-datafiles \ |
79 |
+ --enable-loopback=builtin \ |
80 |
+ $(use_enable examples test) \ |
81 |
+ $(use_enable ethernet ethernet builtin) \ |
82 |
+ $(use_enable wifi wifi builtin) \ |
83 |
+ $(use_enable iwd) \ |
84 |
+ $(use_enable bluetooth bluetooth builtin) \ |
85 |
+ $(use_enable l2tp l2tp builtin) \ |
86 |
+ $(use_enable ofono ofono builtin) \ |
87 |
+ $(use_enable openconnect openconnect builtin) \ |
88 |
+ $(use_enable openvpn openvpn builtin) \ |
89 |
+ $(use_enable policykit polkit builtin) \ |
90 |
+ $(use_enable pptp pptp builtin) \ |
91 |
+ $(use_enable vpnc vpnc builtin) \ |
92 |
+ $(use_enable wispr wispr builtin) \ |
93 |
+ $(use_enable debug) \ |
94 |
+ $(use_enable tools) \ |
95 |
+ $(use_enable networkmanager nmcompat) \ |
96 |
+ --with-firewall=$(usex iptables "iptables" "nftables" ) \ |
97 |
+ --disable-iospm \ |
98 |
+ --disable-hh2serial-gps |
99 |
+} |
100 |
+ |
101 |
+src_install() { |
102 |
+ default |
103 |
+ dobin client/connmanctl |
104 |
+ |
105 |
+ if use doc; then |
106 |
+ dodoc doc/*.txt |
107 |
+ fi |
108 |
+ keepdir /usr/lib/${PN}/scripts |
109 |
+ keepdir /var/lib/${PN} |
110 |
+ newinitd "${FILESDIR}"/${PN}.initd2 ${PN} |
111 |
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} |
112 |
+} |
113 |
+ |
114 |
+pkg_postinst() { |
115 |
+ tmpfiles_process /usr/lib/tmpfiles.d/connman_resolvconf.conf |
116 |
+} |