Gentoo Archives: gentoo-commits

From: Sven Wegener <swegener@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/irssi/
Date: Sun, 30 Jun 2019 04:06:48
Message-Id: 1561867575.8abedfbc9aa8cb11907e5d6788d3870ba1455a92.swegener@gentoo
1 commit: 8abedfbc9aa8cb11907e5d6788d3870ba1455a92
2 Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 30 03:55:48 2019 +0000
4 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 30 04:06:15 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8abedfbc
7
8 net-irc/irssi: Version bump, security bug #688944
9
10 Bug: https://bugs.gentoo.org/688944
11 Package-Manager: Portage-2.3.66, Repoman-2.3.11
12 Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
13
14 net-irc/irssi/Manifest | 1 +
15 net-irc/irssi/irssi-1.2.1.ebuild | 65 ++++++++++++++++++++++++++++++++++++++++
16 2 files changed, 66 insertions(+)
17
18 diff --git a/net-irc/irssi/Manifest b/net-irc/irssi/Manifest
19 index 115b8db6e44..1b19968bb4c 100644
20 --- a/net-irc/irssi/Manifest
21 +++ b/net-irc/irssi/Manifest
22 @@ -1,2 +1,3 @@
23 DIST irssi-1.1.2.tar.xz 1084328 BLAKE2B 6f4e49097d97a511d0fd679806bfa3d261c26f9160ed66d34e7d314b3f330accf90c5e019c31dafd5418c25d538fcb44fc35fcdf6210370f640ff95743556a9a SHA512 706f811c810b976888101a29bab6ff6b9aa6116678994b3710d6b266bfbc0ae2be1d4fd889aedfbf0a13a2e3da3f1affcce0018346ecc582865eaccd8cc79f84
24 DIST irssi-1.2.0.tar.xz 1138984 BLAKE2B 940b8fb0c6633ea82ccd242241a39b67fa1a356aa58758ca9e0388971ccaabbdfe954140d27abd06d1ca36d0aac14decbb1fd0929d969305abfaa9c9dbeafd24 SHA512 343530ca63355dd6683e84f31602c9162e1e3158e52ce81e37519d1e42abbdcb621fb710fcb605fcafd7e7ea3f2c30ed62607d4ea91d8c8dc29bf893e54aee40
25 +DIST irssi-1.2.1.tar.xz 1140380 BLAKE2B 11ab48ce6d7efa0a4c33f823dd414660107d94b9f00c863feb8377f4586e6c62043932bdcf35f1f4e9e9ab545ccc3bb0bfd207727e55856243c8494ae6172cf9 SHA512 67c4501b5a0055c1b24fa6753305658de809cd66e952e6f9233701a112989fd8721a065b1c681725b82346b40b53a29bd2b6b8b8315ac0ad196235a9e5156d5a
26
27 diff --git a/net-irc/irssi/irssi-1.2.1.ebuild b/net-irc/irssi/irssi-1.2.1.ebuild
28 new file mode 100644
29 index 00000000000..2d615aee4aa
30 --- /dev/null
31 +++ b/net-irc/irssi/irssi-1.2.1.ebuild
32 @@ -0,0 +1,65 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +GENTOO_DEPEND_ON_PERL="no"
39 +
40 +inherit perl-module
41 +
42 +# Keep for _rc compability
43 +MY_P="${P/_/-}"
44 +
45 +DESCRIPTION="A modular textUI IRC client with IPv6 support"
46 +HOMEPAGE="https://irssi.org/"
47 +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
52 +IUSE="otr +perl selinux socks5 +proxy libressl"
53 +
54 +COMMON_DEPEND="
55 + sys-libs/ncurses:0=
56 + >=dev-libs/glib-2.6.0
57 + !net-irc/irssi-otr
58 + !libressl? ( dev-libs/openssl:= )
59 + libressl? ( >=dev-libs/libressl-2.7.4:= )
60 + otr? ( >=dev-libs/libgcrypt-1.2.0:0=
61 + >=net-libs/libotr-4.1.0 )
62 + perl? ( dev-lang/perl:= )
63 + socks5? ( >=net-proxy/dante-1.1.18 )"
64 +
65 +DEPEND="
66 + ${COMMON_DEPEND}
67 + virtual/pkgconfig"
68 +
69 +RDEPEND="
70 + ${COMMON_DEPEND}
71 + selinux? ( sec-policy/selinux-irc )
72 + perl? ( !net-im/silc-client )"
73 +
74 +RESTRICT="test"
75 +
76 +S="${WORKDIR}/${MY_P}"
77 +
78 +src_configure() {
79 + # Disable automagic dependency on dev-libs/libutf8proc (bug #677804)
80 + export ac_cv_lib_utf8proc_utf8proc_version=no
81 +
82 + local myeconfargs=(
83 + --with-perl-lib=vendor
84 + --enable-true-color
85 + $(use_with otr)
86 + $(use_with proxy)
87 + $(use_with perl)
88 + $(use_with socks5 socks)
89 + )
90 + econf "${myeconfargs[@]}"
91 +}
92 +
93 +src_install() {
94 + default
95 + use perl && perl_delete_localpod
96 + rm -f "${ED}"/usr/$(get_libdir)/irssi/modules/*.{a,la}
97 +}