Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/hexchat/
Date: Sun, 05 Feb 2017 17:27:31
Message-Id: 1486315641.27ff1000382449f4d75ff876985ae4a3d6d4957e.polynomial-c@gentoo
1 commit: 27ff1000382449f4d75ff876985ae4a3d6d4957e
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 5 17:27:07 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 5 17:27:21 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27ff1000
7
8 net-irc/hexchat: Security cleanup (bug #606496).
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 net-irc/hexchat/Manifest | 2 -
13 net-irc/hexchat/hexchat-2.10.2.ebuild | 171 -------------------------------
14 net-irc/hexchat/hexchat-2.12.2-r1.ebuild | 147 --------------------------
15 net-irc/hexchat/metadata.xml | 4 -
16 4 files changed, 324 deletions(-)
17
18 diff --git a/net-irc/hexchat/Manifest b/net-irc/hexchat/Manifest
19 index f9d2ae0..ee65720 100644
20 --- a/net-irc/hexchat/Manifest
21 +++ b/net-irc/hexchat/Manifest
22 @@ -1,3 +1 @@
23 -DIST hexchat-2.10.2.tar.xz 1529732 SHA256 87ebf365c576656fa3f23f51d319b3a6d279e4a932f2f8961d891dd5a5e1b52c SHA512 799be6ca02d4f7bad98c005e0fb7dba151717b52841d7f2dd3ed86b80a20de934825a1e58aab4621ac751a605103e68e368a95e9709c48f52b9e5333e5e290ab WHIRLPOOL 5d8dcd59941a145544bbde2e761db092e801036d6879a0eb3a8b48ece43c02c78df88c889304ac1b4594e89cd68fccc02cd1239d6b60b4a0c13a5156f28154a7
24 -DIST hexchat-2.12.2.tar.xz 1600156 SHA256 6dad783f37aac32a8301a12d498af7a74900f011aec4e77bb378ae9797a3ccf6 SHA512 848ce16423e84ce3b019d4f0308eee0593a250a6441c7487ddafdff0b92d95e38de1b9edbcf8710522eef3016ec549a8c338bbe82d1f649523b56f4e81059417 WHIRLPOOL ee0c1ac39f57600a2bb4d08b00d996a0bae12c99e5a1f9a0aa9b02122226d4af35215ab2b4d9f4038afd9b876589331e2e05123b1e9fbf0a2ea29b9a1fd0e667
25 DIST hexchat-2.12.4.tar.xz 1451468 SHA256 fa35913158bbc7d0d99de79371b6df3e8d21802f1d2c7c92f0e5db694acf2c3a SHA512 48d30c23973a19efc7a8e6d00a3e9675e8556a6fa9da046175b3d87bdab0bebbc6caf58970d654e270421d0d49c2cd9f498b425b7e3a49dd81670dc4825fca40 WHIRLPOOL f0e48900c9cf048ad6238338630788197865bf649d4d373a3905b7dffd0076cbdeffc6bd14602fdb5924f6da5bb422739cde7f05b844482735157bb0ba39e712
26
27 diff --git a/net-irc/hexchat/hexchat-2.10.2.ebuild b/net-irc/hexchat/hexchat-2.10.2.ebuild
28 deleted file mode 100644
29 index efc5be9..00000000
30 --- a/net-irc/hexchat/hexchat-2.10.2.ebuild
31 +++ /dev/null
32 @@ -1,171 +0,0 @@
33 -# Copyright 1999-2015 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
38 -
39 -PYTHON_COMPAT=( python2_7 python3_4 )
40 -inherit eutils fdo-mime gnome2-utils mono-env multilib python-single-r1
41 -
42 -DESCRIPTION="Graphical IRC client based on XChat"
43 -HOMEPAGE="http://hexchat.github.io/"
44 -SRC_URI="https://dl.hexchat.net/hexchat/${P}.tar.xz"
45 -
46 -LICENSE="GPL-2 plugin-fishlim? ( MIT )"
47 -SLOT="0"
48 -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux"
49 -IUSE="dbus +gtk ipv6 libcanberra libnotify libproxy nls ntlm perl +plugins plugin-checksum plugin-doat plugin-fishlim plugin-sysinfo python spell ssl theme-manager"
50 -REQUIRED_USE="plugins? ( python? ( ${PYTHON_REQUIRED_USE} ) )"
51 -
52 -DEPEND="dev-libs/glib:2
53 - dbus? ( >=dev-libs/dbus-glib-0.98 )
54 - gtk? ( x11-libs/gtk+:2 )
55 - libcanberra? ( media-libs/libcanberra )
56 - libproxy? ( net-libs/libproxy )
57 - libnotify? ( x11-libs/libnotify )
58 - nls? ( virtual/libintl )
59 - ntlm? ( net-libs/libntlm )
60 - plugins? (
61 - perl? ( >=dev-lang/perl-5.8.0 )
62 - plugin-sysinfo? ( sys-apps/pciutils )
63 - python? ( ${PYTHON_DEPS} )
64 - )
65 - spell? ( app-text/iso-codes )
66 - ssl? ( dev-libs/openssl:0 )
67 - theme-manager? ( dev-lang/mono )"
68 -RDEPEND="${DEPEND}
69 - spell? ( app-text/enchant )"
70 -DEPEND="${DEPEND}
71 - app-arch/xz-utils
72 - virtual/pkgconfig
73 - nls? ( dev-util/intltool )
74 - theme-manager? ( dev-util/monodevelop )"
75 -
76 -pkg_setup() {
77 - use plugins && use python && python-single-r1_pkg_setup
78 - if use theme-manager ; then
79 - mono-env_pkg_setup
80 - export XDG_CACHE_HOME="${T}/.cache"
81 - fi
82 -
83 - if use !plugins ; then
84 - local myplugins
85 -
86 - use perl && myplugins+="perl\n"
87 - use python && myplugins+="python\n"
88 - use plugin-checksum && myplugins+="plugin-checksum\n"
89 - use plugin-doat && myplugins+="plugin-doat\n"
90 - use plugin-fishlim && myplugins+="plugin-fishlim\n"
91 - use plugin-sysinfo && myplugins+="plugin-sysinfo\n"
92 -
93 - if [[ ${myplugins} ]] ; then
94 - ewarn "The following plugins/interfaces have been disabled, because"
95 - ewarn "\"plugins\" USE flag is disabled. Check metadata.xml"
96 - ewarn "to get more information or run \"equery u hexchat\"."
97 - ewarn "\n${myplugins}"
98 - fi
99 - fi
100 -}
101 -
102 -src_prepare() {
103 - epatch_user
104 -}
105 -
106 -src_configure() {
107 - econf \
108 - $(use_enable nls) \
109 - $(use_enable libproxy socks) \
110 - $(use_enable ipv6) \
111 - $(use_enable ssl openssl) \
112 - $(use_enable gtk gtkfe) \
113 - $(use_enable !gtk textfe) \
114 - $(usex plugins \
115 - "$(usex python "--enable-python=${EPYTHON}" "--disable-python")" \
116 - "--disable-python" \
117 - ) \
118 - $(usex plugins \
119 - "$(use_enable perl)" \
120 - "--disable-perl" \
121 - ) \
122 - $(use_enable plugins plugin) \
123 - $(usex plugins \
124 - "$(use_enable plugin-checksum checksum)" \
125 - "--disable-checksum" \
126 - ) \
127 - $(usex plugins \
128 - "$(use_enable plugin-doat doat)" \
129 - "--disable-doat" \
130 - ) \
131 - $(usex plugins \
132 - "$(use_enable plugin-fishlim fishlim)" \
133 - "--disable-fishlim" \
134 - ) \
135 - $(usex plugins \
136 - "$(use_enable plugin-sysinfo sysinfo)" \
137 - "--disable-sysinfo" \
138 - ) \
139 - $(use_enable dbus) \
140 - $(use_enable libnotify) \
141 - $(use_enable libcanberra) \
142 - $(use_enable ntlm) \
143 - $(use_enable libproxy) \
144 - $(use_enable spell isocodes) \
145 - --enable-minimal-flags \
146 - $(use_with theme-manager)
147 -}
148 -
149 -src_install() {
150 - emake DESTDIR="${D}" \
151 - UPDATE_ICON_CACHE=true \
152 - UPDATE_MIME_DATABASE=true \
153 - UPDATE_DESKTOP_DATABASE=true \
154 - install
155 - dodoc readme.md
156 - prune_libtool_files --all
157 -}
158 -
159 -pkg_preinst() {
160 - if use gtk ; then
161 - gnome2_icon_savelist
162 - fi
163 -}
164 -
165 -pkg_postinst() {
166 - if use gtk ; then
167 - gnome2_icon_cache_update
168 - einfo
169 - else
170 - einfo
171 - elog "You have disabled the gtk USE flag. This means you don't have"
172 - elog "the GTK-GUI for HexChat but only a text interface called \"hexchat-text\"."
173 - elog
174 - fi
175 -
176 - if use theme-manager ; then
177 - fdo-mime_desktop_database_update
178 - fdo-mime_mime_database_update
179 - elog "Themes are available at:"
180 - elog " http://hexchat.org/themes.html"
181 - elog
182 - fi
183 -
184 - einfo
185 - elog "optional dependencies:"
186 - elog " media-sound/sox (sound playback if you don't have libcanberra"
187 - elog " enabled)"
188 - elog " x11-plugins/hexchat-javascript (javascript support)"
189 - elog " x11-themes/sound-theme-freedesktop (default BEEP sound,"
190 - elog " needs libcanberra enabled)"
191 - einfo
192 -}
193 -
194 -pkg_postrm() {
195 - if use gtk ; then
196 - gnome2_icon_cache_update
197 - fi
198 -
199 - if use theme-manager ; then
200 - fdo-mime_desktop_database_update
201 - fdo-mime_mime_database_update
202 - fi
203 -}
204
205 diff --git a/net-irc/hexchat/hexchat-2.12.2-r1.ebuild b/net-irc/hexchat/hexchat-2.12.2-r1.ebuild
206 deleted file mode 100644
207 index 0b74edb..00000000
208 --- a/net-irc/hexchat/hexchat-2.12.2-r1.ebuild
209 +++ /dev/null
210 @@ -1,147 +0,0 @@
211 -# Copyright 1999-2016 Gentoo Foundation
212 -# Distributed under the terms of the GNU General Public License v2
213 -# $Id$
214 -
215 -EAPI=6
216 -
217 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
218 -inherit autotools fdo-mime gnome2-utils mono-env python-single-r1
219 -
220 -DESCRIPTION="Graphical IRC client based on XChat"
221 -HOMEPAGE="https://hexchat.github.io/"
222 -
223 -if [[ "${PV}" == "9999" ]] ; then
224 - inherit git-r3
225 - SRC_URI=""
226 - EGIT_REPO_URI="git://github.com/hexchat/hexchat.git"
227 -else
228 - SRC_URI="https://dl.hexchat.net/hexchat/${P}.tar.xz"
229 - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
230 -fi
231 -
232 -LICENSE="GPL-2 plugin-fishlim? ( MIT )"
233 -SLOT="0"
234 -IUSE="dbus debug +gtk libcanberra libnotify libproxy libressl lua nls perl plugin-checksum plugin-doat plugin-fishlim plugin-sysinfo python spell ssl theme-manager"
235 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
236 -
237 -COMMON_DEPEND="dev-libs/glib:2
238 - dbus? ( sys-apps/dbus )
239 - gtk? ( x11-libs/gtk+:2 )
240 - libcanberra? ( media-libs/libcanberra )
241 - libproxy? ( net-libs/libproxy )
242 - libnotify? ( x11-libs/libnotify )
243 - lua? ( dev-lang/lua:= )
244 - nls? ( virtual/libintl )
245 - perl? ( dev-lang/perl )
246 - plugin-sysinfo? ( sys-apps/pciutils )
247 - python? ( ${PYTHON_DEPS} )
248 - spell? ( app-text/iso-codes )
249 - ssl? (
250 - !libressl? ( dev-libs/openssl:0= )
251 - libressl? ( dev-libs/libressl:0= )
252 - )
253 - theme-manager? (
254 - || (
255 - ( dev-lang/mono[minimal] dev-dotnet/libgdiplus )
256 - dev-lang/mono[-minimal]
257 - )
258 - )"
259 -
260 -RDEPEND="${COMMON_DEPEND}
261 - spell? ( app-text/enchant )"
262 -DEPEND="${COMMON_DEPEND}
263 - app-arch/xz-utils
264 - virtual/pkgconfig
265 - dev-util/intltool
266 - theme-manager? ( dev-util/monodevelop )"
267 -
268 -PATCHES=(
269 - "${FILESDIR}/hexchat-2.12.2-configure.ac-remove-werror.patch"
270 -)
271 -
272 -src_prepare() {
273 - default
274 - eautoreconf
275 -}
276 -
277 -pkg_setup() {
278 - use python && python-single-r1_pkg_setup
279 - if use theme-manager ; then
280 - mono-env_pkg_setup
281 - export XDG_CACHE_HOME="${T}/.cache"
282 - fi
283 -}
284 -
285 -src_configure() {
286 - econf \
287 - --enable-plugin \
288 - $(use_enable nls) \
289 - $(use_enable ssl openssl) \
290 - $(use_enable gtk gtkfe) \
291 - $(use_enable !gtk textfe) \
292 - $(use_enable python python "${EPYTHON}") \
293 - $(use_enable perl) \
294 - $(use_enable plugin-checksum checksum) \
295 - $(use_enable plugin-doat doat) \
296 - $(use_enable plugin-fishlim fishlim) \
297 - $(use_enable plugin-sysinfo sysinfo) \
298 - $(use_enable dbus) \
299 - $(use_enable lua) \
300 - $(use_enable libnotify) \
301 - $(use_enable libcanberra) \
302 - $(use_enable libproxy) \
303 - $(use_enable spell isocodes) \
304 - $(use_enable debug) \
305 - $(use_with theme-manager)
306 -}
307 -
308 -src_install() {
309 - emake DESTDIR="${D}" \
310 - UPDATE_ICON_CACHE=true \
311 - UPDATE_MIME_DATABASE=true \
312 - UPDATE_DESKTOP_DATABASE=true \
313 - install
314 - dodoc readme.md
315 - find "${D}" -name '*.la' -delete || die
316 -}
317 -
318 -pkg_preinst() {
319 - if use gtk ; then
320 - gnome2_icon_savelist
321 - fi
322 -}
323 -
324 -pkg_postinst() {
325 - if use gtk ; then
326 - gnome2_icon_cache_update
327 - else
328 - elog "You have disabled the gtk USE flag. This means you don't have"
329 - elog "the GTK-GUI for HexChat but only a text interface called \"hexchat-text\"."
330 - fi
331 -
332 - if use theme-manager ; then
333 - fdo-mime_desktop_database_update
334 - fdo-mime_mime_database_update
335 - elog "Themes are available at:"
336 - elog " https://hexchat.github.io/themes.html"
337 - fi
338 -
339 - elog
340 - elog "optional dependencies:"
341 - elog " media-sound/sox (sound playback if you don't have libcanberra"
342 - elog " enabled)"
343 - elog " x11-plugins/hexchat-javascript (javascript support)"
344 - elog " x11-themes/sound-theme-freedesktop (default BEEP sound,"
345 - elog " needs libcanberra enabled)"
346 -}
347 -
348 -pkg_postrm() {
349 - if use gtk ; then
350 - gnome2_icon_cache_update
351 - fi
352 -
353 - if use theme-manager ; then
354 - fdo-mime_desktop_database_update
355 - fdo-mime_mime_database_update
356 - fi
357 -}
358
359 diff --git a/net-irc/hexchat/metadata.xml b/net-irc/hexchat/metadata.xml
360 index c058b0b..93c94f8 100644
361 --- a/net-irc/hexchat/metadata.xml
362 +++ b/net-irc/hexchat/metadata.xml
363 @@ -21,15 +21,11 @@
364 <description>Proxy maintainer for Nicholas and Anthony</description>
365 </maintainer>
366 <use>
367 - <flag name="ntlm">Enable NTLM authentication</flag>
368 <flag name="libcanberra">Enable sound event support using
369 <pkg>media-libs/libcanberra</pkg></flag>
370 <flag name="libproxy">Enable proxy support.</flag>
371 - <flag name="plugins">Enable plugin support and installs some
372 - built-in plugins</flag>
373 <flag name="plugin-checksum">Build Checksum plugin
374 (needs plugins)</flag>
375 - <flag name="plugin-doat">Build Do At plugin (needs plugins)</flag>
376 <flag name="plugin-fishlim">Build FiSHLiM plugin (needs plugins
377 )</flag>
378 <flag name="plugin-sysinfo">Build SysInfo plugin (needs plugins)