Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/connman/
Date: Mon, 08 Feb 2021 13:36:24
Message-Id: 1612791371.300b4180d98af2f92b3f678c60d35d0d00ca699e.bkohler@gentoo
1 commit: 300b4180d98af2f92b3f678c60d35d0d00ca699e
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 8 13:35:52 2021 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 8 13:36:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=300b4180
7
8 net-misc/connman: new snapshot
9
10 Bug: https://bugs.gentoo.org/769491
11 Package-Manager: Portage-3.0.14, Repoman-3.0.2
12 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
13
14 net-misc/connman/Manifest | 1 +
15 net-misc/connman/connman-1.38_p20210205.ebuild | 102 +++++++++++++++++++++++++
16 2 files changed, 103 insertions(+)
17
18 diff --git a/net-misc/connman/Manifest b/net-misc/connman/Manifest
19 index dda3fee7303..8c2137e5e9f 100644
20 --- a/net-misc/connman/Manifest
21 +++ b/net-misc/connman/Manifest
22 @@ -1 +1,2 @@
23 +DIST connman-0e270034a00f070e04497e6f085a25d290c0f637.tar.gz 721100 BLAKE2B 7c22ea7677da292f863fa96e272178b30e410e7d00068e4735622114f6d28d2b20c93394c24f0980e8894f65e149ae4be8b6a0717e58fa0f92cdcfe3d4c556e2 SHA512 cd369e539d713154e3e5774317a2038c6235b8fbc9a56a5222e4d6320ce665934fd304016f96bd8a12bd9fc76aac522cfd16c3c595f0bc42c836a8b8c32eee67
24 DIST connman-1.38.tar.xz 749288 BLAKE2B 3f0ec95c87d9b3bf4f188e2523cb8ed97f462953ed95180fadf98bfe0d01c67a3b73e18e39d616e9299fa0251b9a86afea6161b9e280ae6999eb66e6bd5c4406 SHA512 9c8f77c4dd62763ccb9ea5cc5d285a8a1c51bb09a82eafc73246231557a4f627ae1e5e4a9df5e104457390ebba643349d7d67800a4ee4c17c6dceff192afe8d4
25
26 diff --git a/net-misc/connman/connman-1.38_p20210205.ebuild b/net-misc/connman/connman-1.38_p20210205.ebuild
27 new file mode 100644
28 index 00000000000..a212602b721
29 --- /dev/null
30 +++ b/net-misc/connman/connman-1.38_p20210205.ebuild
31 @@ -0,0 +1,102 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="7"
36 +inherit autotools systemd tmpfiles
37 +COMMIT=0e270034a00f070e04497e6f085a25d290c0f637
38 +if [[ ${PV} == *9999* ]]; then
39 + inherit git-r3
40 + EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/connman/connman.git"
41 +else
42 + SRC_URI="https://git.kernel.org/pub/scm/network/connman/connman.git/snapshot/connman-${COMMIT}.tar.gz"
43 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
44 +fi
45 +
46 +DESCRIPTION="Provides a daemon for managing internet connections"
47 +HOMEPAGE="https://01.org/connman"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +
52 +IUSE="bluetooth debug doc +ethernet examples iptables iwd l2tp networkmanager
53 ++nftables ofono openconnect openvpn policykit pptp tools vpnc +wifi wireguard
54 +wispr"
55 +
56 +REQUIRED_USE="^^ ( iptables nftables )"
57 +BDEPEND="virtual/pkgconfig"
58 +RDEPEND=">=dev-libs/glib-2.16
59 + >=sys-apps/dbus-1.2.24
60 + sys-libs/readline:0=
61 + bluetooth? ( net-wireless/bluez )
62 + iptables? ( >=net-firewall/iptables-1.4.8 )
63 + iwd? ( net-wireless/iwd )
64 + l2tp? ( net-dialup/xl2tpd )
65 + nftables? (
66 + >=net-libs/libnftnl-1.0.4:0=
67 + >=net-libs/libmnl-1.0.0:0= )
68 + ofono? ( net-misc/ofono )
69 + openconnect? ( net-vpn/openconnect )
70 + openvpn? ( net-vpn/openvpn )
71 + policykit? ( sys-auth/polkit )
72 + pptp? ( net-dialup/pptpclient )
73 + vpnc? ( net-vpn/vpnc )
74 + wifi? ( >=net-wireless/wpa_supplicant-2.0[dbus] )
75 + wireguard? ( >=net-libs/libmnl-1.0.0:0= )
76 + wispr? ( net-libs/gnutls )"
77 +
78 +DEPEND="${RDEPEND}
79 + >=sys-kernel/linux-headers-2.6.39"
80 +
81 +S="${WORKDIR}/${PN}-${COMMIT}"
82 +
83 +src_prepare() {
84 + default
85 + eautoreconf
86 +}
87 +
88 +src_configure() {
89 + econf \
90 + --localstatedir=/var \
91 + --with-systemdunitdir=$(systemd_get_systemunitdir) \
92 + --with-tmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d \
93 + --enable-client \
94 + --enable-datafiles \
95 + --enable-loopback=builtin \
96 + $(use_enable bluetooth bluetooth builtin) \
97 + $(use_enable debug) \
98 + $(use_enable ethernet ethernet builtin) \
99 + $(use_enable examples test) \
100 + $(use_enable iwd) \
101 + $(use_enable l2tp l2tp builtin) \
102 + $(use_enable networkmanager nmcompat) \
103 + $(use_enable ofono ofono builtin) \
104 + $(use_enable openconnect openconnect builtin) \
105 + $(use_enable openvpn openvpn builtin) \
106 + $(use_enable policykit polkit builtin) \
107 + $(use_enable pptp pptp builtin) \
108 + $(use_enable tools) \
109 + $(use_enable vpnc vpnc builtin) \
110 + $(use_enable wifi wifi builtin) \
111 + $(use_enable wireguard) \
112 + $(use_enable wispr wispr builtin) \
113 + --with-firewall=$(usex iptables "iptables" "nftables" ) \
114 + --disable-iospm \
115 + --disable-hh2serial-gps
116 +}
117 +
118 +src_install() {
119 + default
120 + dobin client/connmanctl
121 +
122 + if use doc; then
123 + dodoc doc/*.txt
124 + fi
125 + keepdir /usr/lib/${PN}/scripts
126 + keepdir /var/lib/${PN}
127 + newinitd "${FILESDIR}"/${PN}.initd2 ${PN}
128 + newconfd "${FILESDIR}"/${PN}.confd ${PN}
129 +}
130 +
131 +pkg_postinst() {
132 + tmpfiles_process /usr/lib/tmpfiles.d/connman_resolvconf.conf
133 +}