Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/connman/
Date: Mon, 01 Feb 2016 03:09:00
Message-Id: 1454294056.fac90e73adb58748e835184fdf5a6d6c309341d7.dlan@gentoo
1 commit: fac90e73adb58748e835184fdf5a6d6c309341d7
2 Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 1 02:33:49 2016 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 1 02:34:16 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac90e73
7
8 net-misc/connman: version bump 1.31, bug 572550
9
10 bump EAPI to 6, drop base.eclass,
11 no more customized systemd unit files
12
13 thanks Ben Kohler for contribution
14
15 Package-Manager: portage-2.2.26
16
17 net-misc/connman/Manifest | 1 +
18 net-misc/connman/connman-1.31.ebuild | 70 ++++++++++++++++++++++++++++++++++++
19 2 files changed, 71 insertions(+)
20
21 diff --git a/net-misc/connman/Manifest b/net-misc/connman/Manifest
22 index ea14314..c6e0a32 100644
23 --- a/net-misc/connman/Manifest
24 +++ b/net-misc/connman/Manifest
25 @@ -1,3 +1,4 @@
26 DIST connman-1.27.tar.xz 646520 SHA256 13997824c076af150c68d6d79e48277216e8192278a5c6615cfd4905d65600f5 SHA512 a904d280e16093574b955a23396395fd80640ff5ba767849f5ebae7cea3b10897fb13521376bcd8963cfed091bb0600134205e286d3935a292fcd81be1d2a886 WHIRLPOOL 257b7e38fc773353a905044d7f0540bd2d2b1f3a154daba90e22cd9f8339cf4624f8fa8f4eafbc92bc6e895afeb9b4129ca1a533387828e1746508573a6018e1
27 DIST connman-1.29.tar.xz 653324 SHA256 2a5a69693566f7fd59b2e677fa89356ada6d709998aa665caef8707b1e7a8594 SHA512 19f623dd23c6312f29bbd570dcb22d31154ffcd16ee66ed2280df3d9d844301f18538418363222d99eabdc33da0021488ed66ba2e4f88df30646004b724538ee WHIRLPOOL 9439cadeb20b72c922b1426da213f8567fe7b0da45f9a4abf270c38687a9d9161a8ee14250623344864d612e130e6f28926918468aaf4346a9e5ff41e6ad22bb
28 DIST connman-1.30.tar.xz 660952 SHA256 5c5e464bacc9c27ed4e7269fb9b5059f07947f5be26433b59212133663ffa991 SHA512 cc51c9d5ea1732e2408c1e1dfbbab8fc31250df1a584b6a16ac890c80dbb81636b6d62490088ea3090919f1bfa37f33532f404310bd0932e93b21af5f330af44 WHIRLPOOL a485caeba4b74037ca5746df27e6d26c9f34de56a0c8471220d1e40fd7c04ba96e3bd9dbf5ac20772f12af1900b4341f3cdf2aef39adc200adaee8b36eb75888
29 +DIST connman-1.31.tar.xz 668120 SHA256 88fcf0b6df334796b90e2fd2e434d6f5b36cd6f13b886a119b8c90276b72b8e2 SHA512 f9871ead096ead37d3bc524fb143ec8c88125e9c18b5eb1f451581b9a2061719e90361e5b7f3e09901701707d977c42c630457b0ead8e76e04e964a7542c7bbd WHIRLPOOL 0e7f73e1d83a862fb33d2a3b6983c00b2305fea95803836d5dadbb31a8a55d19e2a21447e5e5654b04b0320929eaef2eba99b5921ab4a6fbf2d89e3befbe81b4
30
31 diff --git a/net-misc/connman/connman-1.31.ebuild b/net-misc/connman/connman-1.31.ebuild
32 new file mode 100644
33 index 0000000..feaa435
34 --- /dev/null
35 +++ b/net-misc/connman/connman-1.31.ebuild
36 @@ -0,0 +1,70 @@
37 +# Copyright 1999-2015 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +# $Id$
40 +
41 +EAPI="6"
42 +inherit systemd
43 +
44 +DESCRIPTION="Provides a daemon for managing internet connections"
45 +HOMEPAGE="https://01.org/connman"
46 +SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.xz"
47 +
48 +LICENSE="GPL-2"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
51 +IUSE="bluetooth debug doc examples +ethernet l2tp ofono openvpn openconnect pptp policykit tools vpnc +wifi wispr"
52 +
53 +RDEPEND=">=dev-libs/glib-2.16
54 + >=sys-apps/dbus-1.2.24
55 + >=net-firewall/iptables-1.4.8
56 + bluetooth? ( net-wireless/bluez )
57 + l2tp? ( net-dialup/xl2tpd )
58 + ofono? ( net-misc/ofono )
59 + openconnect? ( net-misc/openconnect )
60 + openvpn? ( net-misc/openvpn )
61 + policykit? ( sys-auth/polkit )
62 + pptp? ( net-dialup/pptpclient )
63 + vpnc? ( net-misc/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 +
70 +PATCHES=( "${FILESDIR}/${PN}-1.16-execinfo-assumptions.patch" )
71 +
72 +src_configure() {
73 + econf \
74 + --localstatedir=/var \
75 + --enable-client \
76 + --enable-datafiles \
77 + --enable-loopback=builtin \
78 + $(use_enable examples test) \
79 + $(use_enable ethernet ethernet builtin) \
80 + $(use_enable wifi wifi builtin) \
81 + $(use_enable bluetooth bluetooth builtin) \
82 + $(use_enable l2tp l2tp builtin) \
83 + $(use_enable ofono ofono builtin) \
84 + $(use_enable openconnect openconnect builtin) \
85 + $(use_enable openvpn openvpn builtin) \
86 + $(use_enable policykit polkit builtin) \
87 + $(use_enable pptp pptp builtin) \
88 + $(use_enable vpnc vpnc builtin) \
89 + $(use_enable wispr wispr builtin) \
90 + $(use_enable debug) \
91 + $(use_enable tools) \
92 + --disable-iospm \
93 + --disable-hh2serial-gps
94 +}
95 +
96 +src_install() {
97 + default
98 + dobin client/connmanctl
99 +
100 + if use doc; then
101 + dodoc doc/*.txt
102 + fi
103 + keepdir /var/lib/${PN}
104 + newinitd "${FILESDIR}"/${PN}.initd2 ${PN}
105 + newconfd "${FILESDIR}"/${PN}.confd ${PN}
106 +}