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: Thu, 10 Jun 2021 11:34:56
Message-Id: 1623324871.ac59da57086f45ad426889f31b78cfccc6de6848.bkohler@gentoo
1 commit: ac59da57086f45ad426889f31b78cfccc6de6848
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 10 11:34:05 2021 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 10 11:34:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac59da57
7
8 net-misc/connman: bump to 1.40
9
10 Bug: https://bugs.gentoo.org/795084
11 Package-Manager: Portage-3.0.19, Repoman-3.0.3
12 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
13
14 net-misc/connman/Manifest | 1 +
15 net-misc/connman/connman-1.40.ebuild | 101 +++++++++++++++++++++++++++++++++++
16 2 files changed, 102 insertions(+)
17
18 diff --git a/net-misc/connman/Manifest b/net-misc/connman/Manifest
19 index b8593f46bcc..f2c60eaeeaf 100644
20 --- a/net-misc/connman/Manifest
21 +++ b/net-misc/connman/Manifest
22 @@ -1 +1,2 @@
23 DIST connman-1.39.tar.xz 755688 BLAKE2B f18018a0c2b58a89e613dba70672c27631ecbb0c0e44c84fe4c9097753aaeb7b278cd3ab0bef9b5e1928c34ee90b287754356e525cc318ecb6347370ee3043b4 SHA512 5bec2830971e34966a7a3a40c505b8a14cf6fa639262d4f1eaeb38f5e602d7a234f7d4f2c4919517b0832664382389e20a59fdb027753cd20059a23589de1764
24 +DIST connman-1.40.tar.xz 758516 BLAKE2B 66834032f82e80a6f950d7ff823dc5f1f45090f3444b5a0241cabd0346cf9749b8780b624ce6a8e505305cc1a75423e5a95a7b1f77a282d231845bc33389924a SHA512 33df90814b7499aeafcd51fca4f8ffbc07efacfa29dda46d3b9bcd3ff26264dc53c3991e7e53a8563ca403015c345e59c7ad29427c38ee3d88dd282479db7a0f
25
26 diff --git a/net-misc/connman/connman-1.40.ebuild b/net-misc/connman/connman-1.40.ebuild
27 new file mode 100644
28 index 00000000000..9f5662b9ab4
29 --- /dev/null
30 +++ b/net-misc/connman/connman-1.40.ebuild
31 @@ -0,0 +1,101 @@
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 +
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://www.kernel.org/pub/linux/network/${PN}/${P}.tar.xz"
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 +src_prepare() {
82 + default
83 + eautoreconf
84 +}
85 +
86 +src_configure() {
87 + econf \
88 + --localstatedir=/var \
89 + --runstatedir=/run \
90 + --with-systemdunitdir=$(systemd_get_systemunitdir) \
91 + --with-tmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d \
92 + --enable-client \
93 + --enable-datafiles \
94 + --enable-loopback=builtin \
95 + $(use_enable bluetooth bluetooth builtin) \
96 + $(use_enable debug) \
97 + $(use_enable ethernet ethernet builtin) \
98 + $(use_enable examples test) \
99 + $(use_enable iwd) \
100 + $(use_enable l2tp l2tp builtin) \
101 + $(use_enable networkmanager nmcompat) \
102 + $(use_enable ofono ofono builtin) \
103 + $(use_enable openconnect openconnect builtin) \
104 + $(use_enable openvpn openvpn builtin) \
105 + $(use_enable policykit polkit builtin) \
106 + $(use_enable pptp pptp builtin) \
107 + $(use_enable tools) \
108 + $(use_enable vpnc vpnc builtin) \
109 + $(use_enable wifi wifi builtin) \
110 + $(use_enable wireguard) \
111 + $(use_enable wispr wispr builtin) \
112 + --with-firewall=$(usex iptables "iptables" "nftables" ) \
113 + --disable-iospm \
114 + --disable-hh2serial-gps
115 +}
116 +
117 +src_install() {
118 + default
119 + dobin client/connmanctl
120 +
121 + if use doc; then
122 + dodoc doc/*.txt
123 + fi
124 + keepdir /usr/lib/${PN}/scripts
125 + keepdir /var/lib/${PN}
126 + newinitd "${FILESDIR}"/${PN}.initd2 ${PN}
127 + newconfd "${FILESDIR}"/${PN}.confd ${PN}
128 +}
129 +
130 +pkg_postinst() {
131 + tmpfiles_process /usr/lib/tmpfiles.d/connman_resolvconf.conf
132 +}