commit:     8abedfbc9aa8cb11907e5d6788d3870ba1455a92
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 30 03:55:48 2019 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sun Jun 30 04:06:15 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8abedfbc

net-irc/irssi: Version bump, security bug #688944

Bug: https://bugs.gentoo.org/688944
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>

 net-irc/irssi/Manifest           |  1 +
 net-irc/irssi/irssi-1.2.1.ebuild | 65 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/net-irc/irssi/Manifest b/net-irc/irssi/Manifest
index 115b8db6e44..1b19968bb4c 100644
--- a/net-irc/irssi/Manifest
+++ b/net-irc/irssi/Manifest
@@ -1,2 +1,3 @@
 DIST irssi-1.1.2.tar.xz 1084328 BLAKE2B 
6f4e49097d97a511d0fd679806bfa3d261c26f9160ed66d34e7d314b3f330accf90c5e019c31dafd5418c25d538fcb44fc35fcdf6210370f640ff95743556a9a
 SHA512 
706f811c810b976888101a29bab6ff6b9aa6116678994b3710d6b266bfbc0ae2be1d4fd889aedfbf0a13a2e3da3f1affcce0018346ecc582865eaccd8cc79f84
 DIST irssi-1.2.0.tar.xz 1138984 BLAKE2B 
940b8fb0c6633ea82ccd242241a39b67fa1a356aa58758ca9e0388971ccaabbdfe954140d27abd06d1ca36d0aac14decbb1fd0929d969305abfaa9c9dbeafd24
 SHA512 
343530ca63355dd6683e84f31602c9162e1e3158e52ce81e37519d1e42abbdcb621fb710fcb605fcafd7e7ea3f2c30ed62607d4ea91d8c8dc29bf893e54aee40
+DIST irssi-1.2.1.tar.xz 1140380 BLAKE2B 
11ab48ce6d7efa0a4c33f823dd414660107d94b9f00c863feb8377f4586e6c62043932bdcf35f1f4e9e9ab545ccc3bb0bfd207727e55856243c8494ae6172cf9
 SHA512 
67c4501b5a0055c1b24fa6753305658de809cd66e952e6f9233701a112989fd8721a065b1c681725b82346b40b53a29bd2b6b8b8315ac0ad196235a9e5156d5a

diff --git a/net-irc/irssi/irssi-1.2.1.ebuild b/net-irc/irssi/irssi-1.2.1.ebuild
new file mode 100644
index 00000000000..2d615aee4aa
--- /dev/null
+++ b/net-irc/irssi/irssi-1.2.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+GENTOO_DEPEND_ON_PERL="no"
+
+inherit perl-module
+
+# Keep for _rc compability
+MY_P="${P/_/-}"
+
+DESCRIPTION="A modular textUI IRC client with IPv6 support"
+HOMEPAGE="https://irssi.org/";
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz";
+
+LICENSE="GPL-2"
+SLOT="0"
+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"
+IUSE="otr +perl selinux socks5 +proxy libressl"
+
+COMMON_DEPEND="
+       sys-libs/ncurses:0=
+       >=dev-libs/glib-2.6.0
+       !net-irc/irssi-otr
+       !libressl? ( dev-libs/openssl:= )
+       libressl? ( >=dev-libs/libressl-2.7.4:= )
+       otr? ( >=dev-libs/libgcrypt-1.2.0:0=
+               >=net-libs/libotr-4.1.0 )
+       perl? ( dev-lang/perl:= )
+       socks5? ( >=net-proxy/dante-1.1.18 )"
+
+DEPEND="
+       ${COMMON_DEPEND}
+       virtual/pkgconfig"
+
+RDEPEND="
+       ${COMMON_DEPEND}
+       selinux? ( sec-policy/selinux-irc )
+       perl? ( !net-im/silc-client )"
+
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+       # Disable automagic dependency on dev-libs/libutf8proc (bug #677804)
+       export ac_cv_lib_utf8proc_utf8proc_version=no
+
+       local myeconfargs=(
+               --with-perl-lib=vendor
+               --enable-true-color
+               $(use_with otr)
+               $(use_with proxy)
+               $(use_with perl)
+               $(use_with socks5 socks)
+       )
+       econf "${myeconfargs[@]}"
+}
+
+src_install() {
+       default
+       use perl && perl_delete_localpod
+       rm -f "${ED}"/usr/$(get_libdir)/irssi/modules/*.{a,la}
+}

Reply via email to