diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/connman | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/connman')
-rw-r--r-- | net-misc/connman/Manifest | 7 | ||||
-rw-r--r-- | net-misc/connman/connman-1.21.ebuild | 65 | ||||
-rw-r--r-- | net-misc/connman/connman-1.24.ebuild | 65 | ||||
-rw-r--r-- | net-misc/connman/connman-1.25.ebuild | 65 | ||||
-rw-r--r-- | net-misc/connman/connman-1.26.ebuild | 65 | ||||
-rw-r--r-- | net-misc/connman/connman-1.27.ebuild | 66 | ||||
-rw-r--r-- | net-misc/connman/connman-1.28.ebuild | 71 | ||||
-rw-r--r-- | net-misc/connman/connman-1.29.ebuild | 71 | ||||
-rw-r--r-- | net-misc/connman/files/connman-1.16-execinfo-assumptions.patch | 54 | ||||
-rw-r--r-- | net-misc/connman/files/connman.confd | 15 | ||||
-rw-r--r-- | net-misc/connman/files/connman.initd2 | 23 | ||||
-rw-r--r-- | net-misc/connman/files/connman.service | 11 | ||||
-rw-r--r-- | net-misc/connman/metadata.xml | 26 |
13 files changed, 604 insertions, 0 deletions
diff --git a/net-misc/connman/Manifest b/net-misc/connman/Manifest new file mode 100644 index 000000000000..91af76f2a585 --- /dev/null +++ b/net-misc/connman/Manifest @@ -0,0 +1,7 @@ +DIST connman-1.21.tar.xz 623392 SHA256 e80f4e9c639ef016e9c497c122c349dbc9e6dc78a9976f986134739ee208c08a SHA512 dc26e5cd7dfcdf7e0540af6a092f592df6682ff16d2811cf0cbca73442239bc742d1f80a638a67b3358316ab0858e924b720b53629a412df2bf4487c51a7bc39 WHIRLPOOL e32d1b858725d1aa2c3b48fd12da9702723050404c8dbd71c6ea5a8b66d91c59fe9114bf8065eb56de31e8838cf924c1a953ed65d9e94f3a8de8b83f92e7404a +DIST connman-1.24.tar.xz 629616 SHA256 551df7a5f0c6e4d69523dd2b3aa2c54525b323457d5135f64816215bad3dc24c SHA512 12ed0b476e8b590602eb5eea6175404cb6e377aba3a061fe42a16548325e2ad1ac3e285e92b4e66bd430ba3766c84da884383abaed0c89dca2ca511d83c8d7b4 WHIRLPOOL a1715e7122c835775ddeacb0b21a78b2904ae641fa8ae8b02b487dde7bf9751a893d9b6afc9d01b7adae648baaba4d489821fdd02d2f51df210a825b14087c8b +DIST connman-1.25.tar.xz 638140 SHA256 c1d266d6be18d2f66231f3537a7ed17b57637ca43c27328bc13c508cbeacce6e SHA512 1994240e54b706de604ff278f372ca66e50103cb78f389ccc9c04989ee3abd2ecf7fedb20ebb9c24ff55259b586439db25a622f25e26b01020da3dab6f8a4a8d WHIRLPOOL b7a9777229310ee2636b908423dc55fe2d16daae4b835a645abf8af3a4450ab5f54fc357e1c59330a6bc1a4f97f5c735e8826d31d34a4d206dc0e921321aa8c7 +DIST connman-1.26.tar.xz 645540 SHA256 7184e4b6d954449ee00a30e188924b3e37a20ad2fd9a0b76a2bdd82c863dcf8a SHA512 17a1edf199976f7b32fcf2c5d5d5dcbc8fa8896575d241eeeb66e6183bc115bde3816a7ef0a43831746a603831ade0c5a12fa366e9fc1706068b41b5762c163b WHIRLPOOL e8af9740646cdf80b6c05326788e5e3710645ca775fbc9600fd47536fbf47a851bc9303716ba3490f5814d193febf0a8c47928726ec445d96931bad32e321289 +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 diff --git a/net-misc/connman/connman-1.21.ebuild b/net-misc/connman/connman-1.21.ebuild new file mode 100644 index 000000000000..d72ce4897d9f --- /dev/null +++ b/net-misc/connman/connman-1.21.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 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="http://connman.net" +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 ofono openvpn openconnect policykit tools vpnc +wifi" + +RDEPEND=">=dev-libs/glib-2.16 + >=sys-apps/dbus-1.2.24 + >=net-firewall/iptables-1.4.8 + net-libs/gnutls + bluetooth? ( net-wireless/bluez ) + ofono? ( net-misc/ofono ) + policykit? ( sys-auth/polkit ) + openvpn? ( net-misc/openvpn ) + vpnc? ( net-misc/vpnc ) + wifi? ( >=net-wireless/wpa_supplicant-0.7[dbus] )" + +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 ofono ofono builtin) \ + $(use_enable openconnect openconnect builtin) \ + $(use_enable openvpn openvpn builtin) \ + $(use_enable policykit polkit builtin) \ + $(use_enable vpnc vpnc 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 +} diff --git a/net-misc/connman/connman-1.24.ebuild b/net-misc/connman/connman-1.24.ebuild new file mode 100644 index 000000000000..9b8f8de93b9e --- /dev/null +++ b/net-misc/connman/connman-1.24.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 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="http://connman.net" +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 ofono openvpn openconnect policykit tools vpnc +wifi" + +RDEPEND=">=dev-libs/glib-2.16 + >=sys-apps/dbus-1.2.24 + >=net-firewall/iptables-1.4.8 + net-libs/gnutls + bluetooth? ( net-wireless/bluez ) + ofono? ( net-misc/ofono ) + policykit? ( sys-auth/polkit ) + openvpn? ( net-misc/openvpn ) + vpnc? ( net-misc/vpnc ) + wifi? ( >=net-wireless/wpa_supplicant-2.0[dbus] )" + +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 ofono ofono builtin) \ + $(use_enable openconnect openconnect builtin) \ + $(use_enable openvpn openvpn builtin) \ + $(use_enable policykit polkit builtin) \ + $(use_enable vpnc vpnc 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 +} diff --git a/net-misc/connman/connman-1.25.ebuild b/net-misc/connman/connman-1.25.ebuild new file mode 100644 index 000000000000..9b8f8de93b9e --- /dev/null +++ b/net-misc/connman/connman-1.25.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 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="http://connman.net" +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 ofono openvpn openconnect policykit tools vpnc +wifi" + +RDEPEND=">=dev-libs/glib-2.16 + >=sys-apps/dbus-1.2.24 + >=net-firewall/iptables-1.4.8 + net-libs/gnutls + bluetooth? ( net-wireless/bluez ) + ofono? ( net-misc/ofono ) + policykit? ( sys-auth/polkit ) + openvpn? ( net-misc/openvpn ) + vpnc? ( net-misc/vpnc ) + wifi? ( >=net-wireless/wpa_supplicant-2.0[dbus] )" + +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 ofono ofono builtin) \ + $(use_enable openconnect openconnect builtin) \ + $(use_enable openvpn openvpn builtin) \ + $(use_enable policykit polkit builtin) \ + $(use_enable vpnc vpnc 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 +} diff --git a/net-misc/connman/connman-1.26.ebuild b/net-misc/connman/connman-1.26.ebuild new file mode 100644 index 000000000000..9b8f8de93b9e --- /dev/null +++ b/net-misc/connman/connman-1.26.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 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="http://connman.net" +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 ofono openvpn openconnect policykit tools vpnc +wifi" + +RDEPEND=">=dev-libs/glib-2.16 + >=sys-apps/dbus-1.2.24 + >=net-firewall/iptables-1.4.8 + net-libs/gnutls + bluetooth? ( net-wireless/bluez ) + ofono? ( net-misc/ofono ) + policykit? ( sys-auth/polkit ) + openvpn? ( net-misc/openvpn ) + vpnc? ( net-misc/vpnc ) + wifi? ( >=net-wireless/wpa_supplicant-2.0[dbus] )" + +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 ofono ofono builtin) \ + $(use_enable openconnect openconnect builtin) \ + $(use_enable openvpn openvpn builtin) \ + $(use_enable policykit polkit builtin) \ + $(use_enable vpnc vpnc 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 +} diff --git a/net-misc/connman/connman-1.27.ebuild b/net-misc/connman/connman-1.27.ebuild new file mode 100644 index 000000000000..9deaf041c941 --- /dev/null +++ b/net-misc/connman/connman-1.27.ebuild @@ -0,0 +1,66 @@ +# 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="http://connman.net" +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 ofono openvpn openconnect policykit tools vpnc +wifi" + +RDEPEND=">=dev-libs/glib-2.16 + >=sys-apps/dbus-1.2.24 + >=net-firewall/iptables-1.4.8 + net-libs/gnutls + bluetooth? ( net-wireless/bluez ) + ofono? ( net-misc/ofono ) + policykit? ( sys-auth/polkit ) + openconnect? ( net-misc/openconnect ) + openvpn? ( net-misc/openvpn ) + vpnc? ( net-misc/vpnc ) + wifi? ( >=net-wireless/wpa_supplicant-2.0[dbus] )" + +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 ofono ofono builtin) \ + $(use_enable openconnect openconnect builtin) \ + $(use_enable openvpn openvpn builtin) \ + $(use_enable policykit polkit builtin) \ + $(use_enable vpnc vpnc 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 +} diff --git a/net-misc/connman/connman-1.28.ebuild b/net-misc/connman/connman-1.28.ebuild new file mode 100644 index 000000000000..b1797369ddab --- /dev/null +++ b/net-misc/connman/connman-1.28.ebuild @@ -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 +} diff --git a/net-misc/connman/connman-1.29.ebuild b/net-misc/connman/connman-1.29.ebuild new file mode 100644 index 000000000000..6f2182f7d6d8 --- /dev/null +++ b/net-misc/connman/connman-1.29.ebuild @@ -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 +} diff --git a/net-misc/connman/files/connman-1.16-execinfo-assumptions.patch b/net-misc/connman/files/connman-1.16-execinfo-assumptions.patch new file mode 100644 index 000000000000..5404414fc0ea --- /dev/null +++ b/net-misc/connman/files/connman-1.16-execinfo-assumptions.patch @@ -0,0 +1,54 @@ +diff -uNr a/config.h.in b/config.h.in +--- a/config.h.in 2013-07-02 17:41:03.715261748 +0000 ++++ b/config.h.in 2013-07-02 17:41:21.707260667 +0000 +@@ -3,6 +3,9 @@ + /* Define to 1 if you have the <dlfcn.h> header file. */ + #undef HAVE_DLFCN_H + ++/* Define to 1 if you have the <execinfo.h> header file. */ ++#undef HAVE_EXECINFO_H ++ + /* Define to 1 if you have the <inttypes.h> header file. */ + #undef HAVE_INTTYPES_H + +diff -uNr a/configure.ac b/configure.ac +--- a/configure.ac 2013-07-02 17:41:03.715261748 +0000 ++++ b/configure.ac 2013-07-02 17:41:21.719260666 +0000 +@@ -181,6 +181,8 @@ + AC_CHECK_FUNC(signalfd, dummy=yes, + AC_MSG_ERROR(signalfd support is required)) + ++AC_CHECK_HEADERS([execinfo.h], [], []) ++ + AC_CHECK_LIB(dl, dlopen, dummy=yes, + AC_MSG_ERROR(dynamic linking loader is required)) + +diff -uNr a/src/log.c b/src/log.c +--- a/src/log.c 2013-07-02 17:41:03.727261747 +0000 ++++ b/src/log.c 2013-07-02 17:42:12.717257603 +0000 +@@ -30,7 +30,9 @@ + #include <stdlib.h> + #include <string.h> + #include <syslog.h> ++#ifdef HAVE_EXECINFO_H + #include <execinfo.h> ++#endif + #include <dlfcn.h> + + #include "connman.h" +@@ -112,6 +114,7 @@ + + static void print_backtrace(unsigned int offset) + { ++#ifdef HAVE_EXECINFO_H + void *frames[99]; + size_t n_ptrs; + unsigned int i; +@@ -210,6 +213,7 @@ + + close(outfd[1]); + close(infd[0]); ++#endif + } + + static void signal_handler(int signo) diff --git a/net-misc/connman/files/connman.confd b/net-misc/connman/files/connman.confd new file mode 100644 index 000000000000..6d0c399e544c --- /dev/null +++ b/net-misc/connman/files/connman.confd @@ -0,0 +1,15 @@ +# conf.d file for connman +# +# Please check connmand --help for more information. +# Useful options are: +# -c, --compat: enable NetworkManager compatibility mode. +# -W, --wifi=NAME: select wpa_supplicant wifi driver to use. +# This is useful if your wpa_supplicant is < 0.7 +# since connmand by default gives wpa_supplicant a +# comma separated list of values and < 0.7 does not +# understand or accept it. +# -i, --device=DEV: force use of given interface name. +# -I, --nodevice=DEV: force ignore of given interface name. +# -p, --plugin=NAME: specify plugins to load. +# -P, --noplugin=NAME: specify plugins not to load. +CONNMAN_OPTS="" diff --git a/net-misc/connman/files/connman.initd2 b/net-misc/connman/files/connman.initd2 new file mode 100644 index 000000000000..d65d25998dfa --- /dev/null +++ b/net-misc/connman/files/connman.initd2 @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Purpose License v2 +# $Id$ + +depend() { + need dbus + provide net +} + +start() { + ebegin "Starting Connection Manager" + start-stop-daemon --start --quiet --exec /usr/sbin/connmand -- ${CONNMAN_OPTS} + eend $? +} + +stop() { + ebegin "Stopping Connection Manager" + start-stop-daemon --stop --quiet --exec /usr/sbin/connmand + eend $? +} + +# vim: set ft=gentoo-init-d ts=3 sw=3 et: diff --git a/net-misc/connman/files/connman.service b/net-misc/connman/files/connman.service new file mode 100644 index 000000000000..ece38a716e96 --- /dev/null +++ b/net-misc/connman/files/connman.service @@ -0,0 +1,11 @@ +[Unit] +Description=Network Connection Manager Daemon + +[Service] +Type=dbus +BusName=net.connman +ExecStart=/usr/sbin/connmand --nodaemon + +[Install] +WantedBy=multi-user.target +Alias=net.connman.service diff --git a/net-misc/connman/metadata.xml b/net-misc/connman/metadata.xml new file mode 100644 index 000000000000..1e04da18cf52 --- /dev/null +++ b/net-misc/connman/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>balint@szentedwg.ro</email> + <name>Bálint Szente</name> + <description>Primary Maintainer, Assign bugs</description> + </maintainer> + <maintainer> + <email>dlan@gentoo.org</email> + <name>Yixun Lan</name> + <description>Co Maintainer, CC bugs</description> + </maintainer> + <use> + <flag name="ethernet">Enable ethernet support.</flag> + <flag name="l2tp">Use <pkg>net-dialup/xl2tpd</pkg> for L2TP VPN support.</flag> + <flag name="ofono">Use <pkg>net-misc/ofono</pkg> for telephony support.</flag> + <flag name="openconnect">Use <pkg>net-misc/openconnect</pkg> for VPN support.</flag> + <flag name="openvpn">Use <pkg>net-misc/openvpn</pkg> for openvpn support.</flag> + <flag name="pptp">Use <pkg>net-dialup/pptpclient</pkg> for PPTP VPN support.</flag> + <flag name="tools">Enable testing tools.</flag> + <flag name="vpnc">Use <pkg>net-misc/vpnc</pkg> for cisco VPN support.</flag> + <flag name="wispr">Enable support for WISPr hotspot logins.</flag> + </use> +</pkgmetadata> |