Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/modemmanager/
Date: Sun, 03 Jul 2016 11:42:18
Message-Id: 1467546104.f972e0a6d19ef4c6110d367d60c44c348e29ab49.pacho@gentoo
1 commit: f972e0a6d19ef4c6110d367d60c44c348e29ab49
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 3 11:02:40 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 3 11:41:44 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f972e0a6
7
8 net-misc/modemmanager: Drop old
9
10 Package-Manager: portage-2.3.0_rc1
11
12 net-misc/modemmanager/Manifest | 2 -
13 net-misc/modemmanager/modemmanager-1.4.10.ebuild | 108 -----------------------
14 net-misc/modemmanager/modemmanager-1.4.8.ebuild | 108 -----------------------
15 3 files changed, 218 deletions(-)
16
17 diff --git a/net-misc/modemmanager/Manifest b/net-misc/modemmanager/Manifest
18 index 6171ec4..b0fc1f5 100644
19 --- a/net-misc/modemmanager/Manifest
20 +++ b/net-misc/modemmanager/Manifest
21 @@ -1,3 +1 @@
22 -DIST ModemManager-1.4.10.tar.xz 1408036 SHA256 107ba0b4d0749aebb0347691a39f60891cc6004aeca8b2128d69c50557049a63 SHA512 b76d0cf5ece5c711fec183f5d2297ea5c35e61bee3f0e1165cf5ff5b52ee6d8d749266cc9232a214cc9141fb736973055959593f03a18e0389d41de01a4857d3 WHIRLPOOL d44afd0e61f4ec94f4ecd53093a613fade19eac204acb1c7e2ab17ee98ade6e201f8b3aa96642ed607c9727cdea2d46c637b5b6e568b565035669ef89fd253a8
23 DIST ModemManager-1.4.12.tar.xz 1407168 SHA256 7ef5035375a953b285a742591df0a65fd442f4641ce4d8f4392a41d6d6bc70b3 SHA512 f3d8bfdfc5df14c866a4fd2c0ef125c818fc5b2464d166dee2ad2b8df3d9ee22667f521313e664b2a6d8e7f72a965929cb815ad4f7a6a1ecbd17957bfde720ee WHIRLPOOL d8b2cbeb08fbdf5cdee6b7a44b49b415ee31c5e78651e7e6c12a5c8f0aa9d828ab4ce0db40bc4b87592944a221ed815bea9243debb8b6647a687a85e93362626
24 -DIST ModemManager-1.4.8.tar.xz 1397444 SHA256 d951eaffbe513bcde54f90602c6c423a49593f656d6485ba95f6fcb4bc1e8003 SHA512 6dfbdbf579d1b7dd624836877d6556cdb15eec73c60c329d1d6200563495f8943d90f55e2d4e98b7741c05a19f11ac2de61dcabb4aec16a2ae61db453eafc3b5 WHIRLPOOL 47ff7cc8a1f89996110eb0932274fdeceb940f63b2991cf7a1b96541b30e8c39e52cf7f30b4947c8670ca787e10698093cf4e0401aed3ec2564228e9cfdcb8c8
25
26 diff --git a/net-misc/modemmanager/modemmanager-1.4.10.ebuild b/net-misc/modemmanager/modemmanager-1.4.10.ebuild
27 deleted file mode 100644
28 index c100911..0000000
29 --- a/net-misc/modemmanager/modemmanager-1.4.10.ebuild
30 +++ /dev/null
31 @@ -1,108 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI="5"
37 -GCONF_DEBUG="no"
38 -GNOME2_LA_PUNT="yes"
39 -VALA_USE_DEPEND="vapigen"
40 -
41 -inherit gnome2 user readme.gentoo udev vala
42 -
43 -DESCRIPTION="Modem and mobile broadband management libraries"
44 -HOMEPAGE="https://cgit.freedesktop.org/ModemManager/ModemManager/"
45 -SRC_URI="https://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz"
46 -
47 -LICENSE="GPL-2+"
48 -SLOT="0/1" # subslot = dbus interface version, i.e. N in org.freedesktop.ModemManager${N}
49 -KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ppc64 ~sparc x86"
50 -IUSE="+introspection mbim policykit +qmi qmi-newest vala"
51 -REQUIRED_USE="
52 - qmi-newest? ( qmi )
53 - vala? ( introspection )
54 -"
55 -
56 -RDEPEND="
57 - >=dev-libs/glib-2.32:2
58 - virtual/libgudev:=
59 - introspection? ( >=dev-libs/gobject-introspection-0.9.6 )
60 - mbim? ( >=net-libs/libmbim-1.10 )
61 - policykit? ( >=sys-auth/polkit-0.106[introspection] )
62 - qmi? ( >=net-libs/libqmi-1.12.4:= )
63 -"
64 -DEPEND="${RDEPEND}
65 - dev-util/gdbus-codegen
66 - >=dev-util/intltool-0.40
67 - sys-devel/gettext
68 - virtual/pkgconfig
69 - vala? ( $(vala_depend) )
70 -"
71 -
72 -S="${WORKDIR}/ModemManager-${PV}"
73 -
74 -src_prepare() {
75 - DOC_CONTENTS="If your USB modem shows up as a Flash drive when you plug it in,
76 - You should install sys-apps/usb_modeswitch which will automatically
77 - switch it over to USB modem mode whenever you plug it in.\n"
78 -
79 - if use policykit; then
80 - DOC_CONTENTS+="\nTo control your modem without needing to enter the root password,
81 - add your user account to the 'plugdev' group."
82 - fi
83 -
84 - use vala && vala_src_prepare
85 - gnome2_src_prepare
86 -}
87 -
88 -src_configure() {
89 - gnome2_src_configure \
90 - --disable-more-warnings \
91 - --with-udev-base-dir="$(get_udevdir)" \
92 - --disable-static \
93 - --with-dist-version=${PVR} \
94 - $(use_enable introspection) \
95 - $(use_with mbim) \
96 - $(use_with policykit polkit) \
97 - $(use_with qmi) \
98 - $(use_with qmi-newest newest-qmi-commands) \
99 - $(use_enable vala)
100 -}
101 -
102 -src_install() {
103 - gnome2_src_install
104 -
105 - # Allow users in plugdev group full control over their modem
106 - if use policykit; then
107 - insinto /usr/share/polkit-1/rules.d/
108 - doins "${FILESDIR}"/01-org.freedesktop.ModemManager1.rules
109 - fi
110 -
111 - readme.gentoo_create_doc
112 -}
113 -
114 -pkg_postinst() {
115 - gnome2_pkg_postinst
116 -
117 - use policykit && enewgroup plugdev
118 -
119 - # The polkit rules file moved to /usr/share
120 - old_rules="${EROOT}etc/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules"
121 - if [[ -f "${old_rules}" ]]; then
122 - case "$(md5sum ${old_rules})" in
123 - c5ff02532cb1da2c7545c3069e5d0992* | 5c50f0dc603c0a56e2851a5ce9389335* )
124 - # Automatically delete the old rules.d file if the user did not change it
125 - elog
126 - elog "Removing old ${old_rules} ..."
127 - rm -f "${old_rules}" || eerror "Failed, please remove ${old_rules} manually"
128 - ;;
129 - * )
130 - elog "The ${old_rules}"
131 - elog "file moved to /usr/share/polkit-1/rules.d/ in >=modemmanager-0.5.2.0-r2"
132 - elog "If you edited ${old_rules}"
133 - elog "without changing its behavior, you may want to remove it."
134 - ;;
135 - esac
136 - fi
137 -
138 - readme.gentoo_print_elog
139 -}
140
141 diff --git a/net-misc/modemmanager/modemmanager-1.4.8.ebuild b/net-misc/modemmanager/modemmanager-1.4.8.ebuild
142 deleted file mode 100644
143 index 7b06d44..0000000
144 --- a/net-misc/modemmanager/modemmanager-1.4.8.ebuild
145 +++ /dev/null
146 @@ -1,108 +0,0 @@
147 -# Copyright 1999-2015 Gentoo Foundation
148 -# Distributed under the terms of the GNU General Public License v2
149 -# $Id$
150 -
151 -EAPI="5"
152 -GCONF_DEBUG="no"
153 -GNOME2_LA_PUNT="yes"
154 -VALA_USE_DEPEND="vapigen"
155 -
156 -inherit gnome2 user readme.gentoo udev vala
157 -
158 -DESCRIPTION="Modem and mobile broadband management libraries"
159 -HOMEPAGE="https://cgit.freedesktop.org/ModemManager/ModemManager/"
160 -SRC_URI="https://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz"
161 -
162 -LICENSE="GPL-2+"
163 -SLOT="0/1" # subslot = dbus interface version, i.e. N in org.freedesktop.ModemManager${N}
164 -KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 ~sparc x86"
165 -IUSE="+introspection mbim policykit +qmi qmi-newest vala"
166 -REQUIRED_USE="
167 - qmi-newest? ( qmi )
168 - vala? ( introspection )
169 -"
170 -
171 -RDEPEND="
172 - >=dev-libs/glib-2.32:2
173 - virtual/libgudev:=
174 - introspection? ( >=dev-libs/gobject-introspection-0.9.6 )
175 - mbim? ( >=net-libs/libmbim-1.10 )
176 - policykit? ( >=sys-auth/polkit-0.106[introspection] )
177 - qmi? ( >=net-libs/libqmi-1.12.4:= )
178 -"
179 -DEPEND="${RDEPEND}
180 - dev-util/gdbus-codegen
181 - >=dev-util/intltool-0.40
182 - sys-devel/gettext
183 - virtual/pkgconfig
184 - vala? ( $(vala_depend) )
185 -"
186 -
187 -S="${WORKDIR}/ModemManager-${PV}"
188 -
189 -src_prepare() {
190 - DOC_CONTENTS="If your USB modem shows up as a Flash drive when you plug it in,
191 - You should install sys-apps/usb_modeswitch which will automatically
192 - switch it over to USB modem mode whenever you plug it in.\n"
193 -
194 - if use policykit; then
195 - DOC_CONTENTS+="\nTo control your modem without needing to enter the root password,
196 - add your user account to the 'plugdev' group."
197 - fi
198 -
199 - use vala && vala_src_prepare
200 - gnome2_src_prepare
201 -}
202 -
203 -src_configure() {
204 - gnome2_src_configure \
205 - --disable-more-warnings \
206 - --with-udev-base-dir="$(get_udevdir)" \
207 - --disable-static \
208 - --with-dist-version=${PVR} \
209 - $(use_enable introspection) \
210 - $(use_with mbim) \
211 - $(use_with policykit polkit) \
212 - $(use_with qmi) \
213 - $(use_with qmi-newest newest-qmi-commands) \
214 - $(use_enable vala)
215 -}
216 -
217 -src_install() {
218 - gnome2_src_install
219 -
220 - # Allow users in plugdev group full control over their modem
221 - if use policykit; then
222 - insinto /usr/share/polkit-1/rules.d/
223 - doins "${FILESDIR}"/01-org.freedesktop.ModemManager1.rules
224 - fi
225 -
226 - readme.gentoo_create_doc
227 -}
228 -
229 -pkg_postinst() {
230 - gnome2_pkg_postinst
231 -
232 - use policykit && enewgroup plugdev
233 -
234 - # The polkit rules file moved to /usr/share
235 - old_rules="${EROOT}etc/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules"
236 - if [[ -f "${old_rules}" ]]; then
237 - case "$(md5sum ${old_rules})" in
238 - c5ff02532cb1da2c7545c3069e5d0992* | 5c50f0dc603c0a56e2851a5ce9389335* )
239 - # Automatically delete the old rules.d file if the user did not change it
240 - elog
241 - elog "Removing old ${old_rules} ..."
242 - rm -f "${old_rules}" || eerror "Failed, please remove ${old_rules} manually"
243 - ;;
244 - * )
245 - elog "The ${old_rules}"
246 - elog "file moved to /usr/share/polkit-1/rules.d/ in >=modemmanager-0.5.2.0-r2"
247 - elog "If you edited ${old_rules}"
248 - elog "without changing its behavior, you may want to remove it."
249 - ;;
250 - esac
251 - fi
252 -
253 - readme.gentoo_print_elog
254 -}