Gentoo Archives: gentoo-commits

From: Sam Jorna <wraeth@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/connman/, net-misc/connman/files/
Date: Fri, 29 Apr 2016 07:30:13
Message-Id: 1461914978.f600ad8e74a53e37d8e1657789959523a2c6e84d.wraeth@gentoo
1 commit: f600ad8e74a53e37d8e1657789959523a2c6e84d
2 Author: Nicholas Vinson <nvinson234 <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 27 14:00:42 2016 +0000
4 Commit: Sam Jorna <wraeth <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 29 07:29:38 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f600ad8e
7
8 net-misc/connman remove outdated versions
9
10 Closes: https://github.com/gentoo/gentoo/pull/1373
11
12 net-misc/connman/connman-1.31-r1.ebuild | 74 ----------------------
13 .../files/connman-1.31-iptables-1.6.0.patch | 36 -----------
14 2 files changed, 110 deletions(-)
15
16 diff --git a/net-misc/connman/connman-1.31-r1.ebuild b/net-misc/connman/connman-1.31-r1.ebuild
17 deleted file mode 100644
18 index 2b1ee46..0000000
19 --- a/net-misc/connman/connman-1.31-r1.ebuild
20 +++ /dev/null
21 @@ -1,74 +0,0 @@
22 -# Copyright 1999-2016 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI="6"
27 -inherit systemd
28 -
29 -DESCRIPTION="Provides a daemon for managing internet connections"
30 -HOMEPAGE="https://01.org/connman"
31 -SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.xz"
32 -
33 -LICENSE="GPL-2"
34 -SLOT="0"
35 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
36 -IUSE="bluetooth debug doc examples +ethernet l2tp ofono openvpn openconnect pptp policykit tools vpnc +wifi wispr"
37 -
38 -RDEPEND=">=dev-libs/glib-2.16
39 - >=sys-apps/dbus-1.2.24
40 - >=net-firewall/iptables-1.4.8
41 - bluetooth? ( net-wireless/bluez )
42 - l2tp? ( net-dialup/xl2tpd )
43 - ofono? ( net-misc/ofono )
44 - openconnect? ( net-misc/openconnect )
45 - openvpn? ( net-misc/openvpn )
46 - policykit? ( sys-auth/polkit )
47 - pptp? ( net-dialup/pptpclient )
48 - vpnc? ( net-misc/vpnc )
49 - wifi? ( >=net-wireless/wpa_supplicant-2.0[dbus] )
50 - wispr? ( net-libs/gnutls )"
51 -
52 -DEPEND="${RDEPEND}
53 - >=sys-kernel/linux-headers-2.6.39"
54 -
55 -PATCHES=(
56 - "${FILESDIR}/${PN}-1.16-execinfo-assumptions.patch"
57 - "${FILESDIR}/${PN}-1.31-iptables-1.6.0.patch"
58 - "${FILESDIR}/${PN}-1.31-xtables.patch"
59 -)
60 -
61 -src_configure() {
62 - econf \
63 - --localstatedir=/var \
64 - --enable-client \
65 - --enable-datafiles \
66 - --enable-loopback=builtin \
67 - $(use_enable examples test) \
68 - $(use_enable ethernet ethernet builtin) \
69 - $(use_enable wifi wifi builtin) \
70 - $(use_enable bluetooth bluetooth builtin) \
71 - $(use_enable l2tp l2tp builtin) \
72 - $(use_enable ofono ofono builtin) \
73 - $(use_enable openconnect openconnect builtin) \
74 - $(use_enable openvpn openvpn builtin) \
75 - $(use_enable policykit polkit builtin) \
76 - $(use_enable pptp pptp builtin) \
77 - $(use_enable vpnc vpnc builtin) \
78 - $(use_enable wispr wispr builtin) \
79 - $(use_enable debug) \
80 - $(use_enable tools) \
81 - --disable-iospm \
82 - --disable-hh2serial-gps
83 -}
84 -
85 -src_install() {
86 - default
87 - dobin client/connmanctl
88 -
89 - if use doc; then
90 - dodoc doc/*.txt
91 - fi
92 - keepdir /var/lib/${PN}
93 - newinitd "${FILESDIR}"/${PN}.initd2 ${PN}
94 - newconfd "${FILESDIR}"/${PN}.confd ${PN}
95 -}
96
97 diff --git a/net-misc/connman/files/connman-1.31-iptables-1.6.0.patch b/net-misc/connman/files/connman-1.31-iptables-1.6.0.patch
98 deleted file mode 100644
99 index 30131e6..0000000
100 --- a/net-misc/connman/files/connman-1.31-iptables-1.6.0.patch
101 +++ /dev/null
102 @@ -1,36 +0,0 @@
103 -From acea08a0e4234a4c1a87bedc087c73ff36de0c7b Mon Sep 17 00:00:00 2001
104 -From: Wu Zheng <wu.zheng@×××××.com>
105 -Date: Thu, 28 Jan 2016 18:04:17 +0800
106 -Subject: iptables: Add missing function item of xtables to match iptables 1.6
107 -
108 -The struct of xtables_globals has been modified in iptables 1.6.
109 -If connman runs with iptables 1.6, it can crash.
110 -
111 -Program received signal SIGSEGV, Segmentation fault.
112 -0x00000000 in ?? ()
113 -0xb7dea89c in xtables_find_target () from /usr/lib/libxtables.so.11
114 -0xb7deac1c in ?? () from /usr/lib/libxtables.so.11
115 -0xb7dea793 in xtables_find_target () from /usr/lib/libxtables.so.11
116 -
117 -The the missing function item of xtables is added to xtables_globals.
118 ----
119 - src/iptables.c | 3 +++
120 - 1 file changed, 3 insertions(+)
121 -
122 -diff --git a/src/iptables.c b/src/iptables.c
123 -index bc0c763..5ef757a 100644
124 ---- a/src/iptables.c
125 -+++ b/src/iptables.c
126 -@@ -1566,6 +1566,9 @@ struct xtables_globals iptables_globals = {
127 - .option_offset = 0,
128 - .opts = iptables_opts,
129 - .orig_opts = iptables_opts,
130 -+#if XTABLES_VERSION_CODE > 10
131 -+ .compat_rev = xtables_compatible_revision,
132 -+#endif
133 - };
134 -
135 - static struct xtables_target *prepare_target(struct connman_iptables *table,
136 ---
137 -cgit v0.12
138 -