net-misc/connman: version bump 1.30
authorYixun Lan <dlan@gentoo.org>
Wed, 2 Sep 2015 17:19:17 +0000 (01:19 +0800)
committerYixun Lan <dlan@gentoo.org>
Wed, 2 Sep 2015 17:27:11 +0000 (01:27 +0800)
Package-Manager: portage-2.2.20.1

net-misc/connman/Manifest
net-misc/connman/connman-1.30.ebuild [new file with mode: 0644]

index 91af76f2a585816df47e199d0d387219ef144fba..17c7a4f6cfa43ac57416f99f4d6d08c1e423f32e 100644 (file)
@@ -5,3 +5,4 @@ DIST connman-1.26.tar.xz 645540 SHA256 7184e4b6d954449ee00a30e188924b3e37a20ad2f
 DIST connman-1.27.tar.xz 646520 SHA256 13997824c076af150c68d6d79e48277216e8192278a5c6615cfd4905d65600f5 SHA512 a904d280e16093574b955a23396395fd80640ff5ba767849f5ebae7cea3b10897fb13521376bcd8963cfed091bb0600134205e286d3935a292fcd81be1d2a886 WHIRLPOOL 257b7e38fc773353a905044d7f0540bd2d2b1f3a154daba90e22cd9f8339cf4624f8fa8f4eafbc92bc6e895afeb9b4129ca1a533387828e1746508573a6018e1
 DIST connman-1.28.tar.xz 643744 SHA256 b1d5e7dd2652725906e220a8b0206477e97080e835272971e3b2fd10943c5c94 SHA512 cd0e7da5bf20782c6a1798078ab4669d4bf0aeee2b7a66de5029082324745380bfdc835d52021c6eff30843d63911373d17273c5956b10c2586fe71c0bd37e06 WHIRLPOOL 927fd476e74ef410bf502dc1e7233192bc9c94958ca62200255eead825e2b74a4544ba173f0567d91f4cb0f10f82c8e71baa711f3d8fb4654b5ded309ec88d50
 DIST connman-1.29.tar.xz 653324 SHA256 2a5a69693566f7fd59b2e677fa89356ada6d709998aa665caef8707b1e7a8594 SHA512 19f623dd23c6312f29bbd570dcb22d31154ffcd16ee66ed2280df3d9d844301f18538418363222d99eabdc33da0021488ed66ba2e4f88df30646004b724538ee WHIRLPOOL 9439cadeb20b72c922b1426da213f8567fe7b0da45f9a4abf270c38687a9d9161a8ee14250623344864d612e130e6f28926918468aaf4346a9e5ff41e6ad22bb
+DIST connman-1.30.tar.xz 660952 SHA256 5c5e464bacc9c27ed4e7269fb9b5059f07947f5be26433b59212133663ffa991 SHA512 cc51c9d5ea1732e2408c1e1dfbbab8fc31250df1a584b6a16ac890c80dbb81636b6d62490088ea3090919f1bfa37f33532f404310bd0932e93b21af5f330af44 WHIRLPOOL a485caeba4b74037ca5746df27e6d26c9f34de56a0c8471220d1e40fd7c04ba96e3bd9dbf5ac20772f12af1900b4341f3cdf2aef39adc200adaee8b36eb75888
diff --git a/net-misc/connman/connman-1.30.ebuild b/net-misc/connman/connman-1.30.ebuild
new file mode 100644 (file)
index 0000000..b179736
--- /dev/null
@@ -0,0 +1,71 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+inherit base systemd
+
+DESCRIPTION="Provides a daemon for managing internet connections"
+HOMEPAGE="https://01.org/connman"
+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"
+
+RDEPEND=">=dev-libs/glib-2.16
+       >=sys-apps/dbus-1.2.24
+       >=net-firewall/iptables-1.4.8
+       bluetooth? ( net-wireless/bluez )
+       l2tp? ( net-dialup/xl2tpd )
+       ofono? ( net-misc/ofono )
+       openconnect? ( net-misc/openconnect )
+       openvpn? ( net-misc/openvpn )
+       policykit? ( sys-auth/polkit )
+       pptp? ( net-dialup/pptpclient )
+       vpnc? ( net-misc/vpnc )
+       wifi? ( >=net-wireless/wpa_supplicant-2.0[dbus] )
+       wispr? ( net-libs/gnutls )"
+
+DEPEND="${RDEPEND}
+       >=sys-kernel/linux-headers-2.6.39"
+
+PATCHES=( "${FILESDIR}/${PN}-1.16-execinfo-assumptions.patch" )
+
+src_configure() {
+       econf \
+               --localstatedir=/var \
+               --enable-client \
+               --enable-datafiles \
+               --enable-loopback=builtin \
+               $(use_enable examples test) \
+               $(use_enable ethernet ethernet builtin) \
+               $(use_enable wifi wifi builtin) \
+               $(use_enable bluetooth bluetooth builtin) \
+               $(use_enable l2tp l2tp builtin) \
+               $(use_enable ofono ofono builtin) \
+               $(use_enable openconnect openconnect builtin) \
+               $(use_enable openvpn openvpn builtin) \
+               $(use_enable policykit polkit builtin) \
+               $(use_enable pptp pptp builtin) \
+               $(use_enable vpnc vpnc builtin) \
+               $(use_enable wispr wispr builtin) \
+               $(use_enable debug) \
+               $(use_enable tools) \
+               --disable-iospm \
+               --disable-hh2serial-gps
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       dobin client/connmanctl || die "client installation failed"
+
+       if use doc; then
+               dodoc doc/*.txt
+       fi
+       keepdir /var/lib/${PN}
+       newinitd "${FILESDIR}"/${PN}.initd2 ${PN}
+       newconfd "${FILESDIR}"/${PN}.confd ${PN}
+       systemd_dounit "${FILESDIR}"/connman.service
+}