public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-im/gajim/files/, net-im/gajim/
@ 2016-01-20 15:36 Justin Lecher
  0 siblings, 0 replies; 6+ messages in thread
From: Justin Lecher @ 2016-01-20 15:36 UTC (permalink / raw
  To: gentoo-commits

commit:     d571facf6645dd65748dd1712a4705958a3431ee
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 20 15:35:05 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 15:36:43 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d571facf

net-im/gajim: Drop version vulnerable to CVE-2015-8688

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=569936

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 net-im/gajim/Manifest                       |   1 -
 net-im/gajim/files/gajim-0.16-desktop.patch |  16 ----
 net-im/gajim/gajim-0.16.4.ebuild            | 127 ----------------------------
 3 files changed, 144 deletions(-)

diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest
index 59a12f7..abeb817 100644
--- a/net-im/gajim/Manifest
+++ b/net-im/gajim/Manifest
@@ -1,2 +1 @@
-DIST gajim-0.16.4.tar.bz2 4593307 SHA256 2116ad3a5635c54b575ff53eed72fe4651fc50582f5094bfc6113d1cf0d1ce7f SHA512 e8c046aa711207d71080c83d4827400392354eaadb4b431a474fcd94d56bb0fac9f163606a6f7e8abd68c7509158f8e8101b0cc2ecb439443e2966deb707bfdb WHIRLPOOL c6a496f9c02fabbaf76b52e930e5d79f6fad2557e8b458654c538c82041b8ba65bb6f8d75f18438fbabb8aa0e52493494a5847833cc49b70444720b15d6d86a5
 DIST gajim-0.16.5.tar.bz2 4562971 SHA256 a5c015b3b140ec5e47d3842cbe701c9948af5a0cce36314248f0793c2d66d091 SHA512 d69613f9e119f128adc9e81ace2475d3e3e41b47c153ea6ae5a9fcb5be390ec900893e1ab9ce694260898ebced00cd631a3ec4271ac27ed735d3f18dd1e1b6d4 WHIRLPOOL d1405dedd29e867d9a05ca1678f3568acfb53baf7047294af66561a5542f70a02d9b8f22e42abae670e17e6f00461b423e01748ee31b8ada7be7d352af4bb344

diff --git a/net-im/gajim/files/gajim-0.16-desktop.patch b/net-im/gajim/files/gajim-0.16-desktop.patch
deleted file mode 100644
index 142c989..0000000
--- a/net-im/gajim/files/gajim-0.16-desktop.patch
+++ /dev/null
@@ -1,16 +0,0 @@
- data/gajim.desktop.in.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/data/gajim.desktop.in.in b/data/gajim.desktop.in.in
-index 8a93ee8..ea0b1da 100644
---- a/data/gajim.desktop.in.in
-+++ b/data/gajim.desktop.in.in
-@@ -3,7 +3,7 @@ Categories=Network;InstantMessaging;GTK;GNOME;
- _Name=Gajim
- _GenericName=Jabber IM Client
- _Comment=A GTK+ Jabber client
--_Keywords=chat;messaging;im;jabber;xmpp;bonjour;voip
-+_Keywords=chat;messaging;im;jabber;xmpp;bonjour;voip;
- Version=1.0
- Exec=gajim
- Icon=gajim

diff --git a/net-im/gajim/gajim-0.16.4.ebuild b/net-im/gajim/gajim-0.16.4.ebuild
deleted file mode 100644
index aa4a073..0000000
--- a/net-im/gajim/gajim-0.16.4.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="sqlite,xml"
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils python-r1 versionator
-
-MY_PV=${PV/_/-}
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Jabber client written in PyGTK"
-HOMEPAGE="http://www.gajim.org/"
-SRC_URI="
-	http://www.gajim.org/downloads/$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
-#	test? ( https://dev.gentoo.org/~jlec/distfiles/${PN}-tests-${PV}.tar.xz )"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 arm ppc ppc64 x86 ~x86-fbsd"
-IUSE="avahi crypt dbus gnome gnome-keyring kde idle jingle libnotify networkmanager nls spell +srv test X xhtml"
-
-REQUIRED_USE="
-	${PYTHON_REQUIRED_USE}
-	libnotify? ( dbus )
-	avahi? ( dbus )
-	gnome? ( gnome-keyring )"
-
-COMMON_DEPEND="
-	${PYTHON_DEPS}
-	dev-python/pygtk:2[${PYTHON_USEDEP}]
-	x11-libs/gtk+:2"
-DEPEND="${COMMON_DEPEND}
-	>=dev-util/intltool-0.40.1
-	virtual/pkgconfig
-	>=sys-devel/gettext-0.17-r1"
-RDEPEND="${COMMON_DEPEND}
-	dev-python/pyasn1[${PYTHON_USEDEP}]
-	>=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
-	>=dev-python/python-nbxmpp-0.5.3[${PYTHON_USEDEP}]
-	crypt? (
-		app-crypt/gnupg
-		dev-python/pycrypto[${PYTHON_USEDEP}]
-		)
-	dbus? (
-		dev-python/dbus-python[${PYTHON_USEDEP}]
-		dev-libs/dbus-glib
-		libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )
-		avahi? ( net-dns/avahi[dbus,gtk,python,${PYTHON_USEDEP}] )
-		)
-	gnome? (
-		dev-python/libgnome-python[${PYTHON_USEDEP}]
-		dev-python/egg-python[${PYTHON_USEDEP}]
-		)
-	gnome-keyring? ( dev-python/gnome-keyring-python[${PYTHON_USEDEP}] )
-	idle? ( x11-libs/libXScrnSaver )
-	jingle? ( net-libs/farstream:0.1[python,${PYTHON_USEDEP}] )
-	kde? ( kde-apps/kwalletmanager )
-	networkmanager? (
-			dev-python/dbus-python[${PYTHON_USEDEP}]
-			net-misc/networkmanager
-		)
-	spell? ( app-text/gtkspell:2 )
-	srv? (
-		|| (
-			dev-python/libasyncns-python[${PYTHON_USEDEP}]
-			net-dns/bind-tools
-			)
-		)
-	xhtml? ( dev-python/docutils[${PYTHON_USEDEP}] )"
-
-RESTRICT="test"
-
-S="${WORKDIR}"/${MY_P}
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-0.16-desktop.patch
-	)
-
-src_prepare() {
-	autotools-utils_src_prepare
-	python_copy_sources
-}
-
-src_configure() {
-	configuration() {
-		local myeconfargs=(
-			$(use_enable nls)
-			$(use_with X x)
-			--docdir="/usr/share/doc/${PF}"
-			--libdir="$(python_get_sitedir)"
-			--enable-site-packages
-		)
-		run_in_build_dir autotools-utils_src_configure
-	}
-	python_foreach_impl configuration
-}
-
-src_compile() {
-	compilation() {
-		run_in_build_dir autotools-utils_src_compile
-	}
-	python_foreach_impl compilation
-}
-
-src_test() {
-	testing() {
-		run_in_build_dir ${PYTHON} test/runtests.py --verbose 3 || die
-	}
-	python_foreach_impl testing
-}
-
-src_install() {
-	installation() {
-		run_in_build_dir autotools-utils_src_install
-		python_optimize
-	}
-	python_foreach_impl installation
-
-	rm "${ED}/usr/share/doc/${PF}/README.html" || die
-	dohtml README.html
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/gajim/files/, net-im/gajim/
@ 2016-11-11 22:19 Amadeusz Piotr Żołnowski
  0 siblings, 0 replies; 6+ messages in thread
From: Amadeusz Piotr Żołnowski @ 2016-11-11 22:19 UTC (permalink / raw
  To: gentoo-commits

commit:     58063b87243ca240d80c94f0564833a5d5e8b0ad
Author:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  6 15:07:15 2016 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Fri Nov 11 22:19:01 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58063b87

net-im/gajim: Apply fix for OTR plugin cleartext leak (CVE-2016-9107)

Gentoo-Bug: 598774

 .../gajim-0.16.6-otr-cleartext-leak-fix.patch      |   0
 net-im/gajim/gajim-0.16.6-r1.ebuild                | 126 +++++++++++++++++++++
 2 files changed, 126 insertions(+)

diff --git a/net-im/gajim/files/gajim-0.16.6-otr-cleartext-leak-fix.patch b/net-im/gajim/files/gajim-0.16.6-otr-cleartext-leak-fix.patch
new file mode 100644
index 00000000..e69de29

diff --git a/net-im/gajim/gajim-0.16.6-r1.ebuild b/net-im/gajim/gajim-0.16.6-r1.ebuild
new file mode 100644
index 00000000..f09f8d4
--- /dev/null
+++ b/net-im/gajim/gajim-0.16.6-r1.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite,xml"
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils python-r1 versionator
+
+MY_PV=${PV/_/-}
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Jabber client written in PyGTK"
+HOMEPAGE="http://www.gajim.org/"
+SRC_URI="
+	http://www.gajim.org/downloads/$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
+#	test? ( https://dev.gentoo.org/~jlec/distfiles/${PN}-tests-${PV}.tar.xz )"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="avahi crypt dbus gnome gnome-keyring kde idle jingle libnotify networkmanager nls spell +srv test X xhtml"
+
+REQUIRED_USE="
+	${PYTHON_REQUIRED_USE}
+	libnotify? ( dbus )
+	avahi? ( dbus )
+	gnome? ( gnome-keyring )"
+
+COMMON_DEPEND="
+	${PYTHON_DEPS}
+	dev-python/pygtk:2[${PYTHON_USEDEP}]
+	x11-libs/gtk+:2"
+DEPEND="${COMMON_DEPEND}
+	>=dev-util/intltool-0.40.1
+	virtual/pkgconfig
+	>=sys-devel/gettext-0.17-r1"
+RDEPEND="${COMMON_DEPEND}
+	dev-python/pyasn1[${PYTHON_USEDEP}]
+	>=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
+	>=dev-python/python-nbxmpp-0.5.3[${PYTHON_USEDEP}]
+	crypt? (
+		app-crypt/gnupg
+		dev-python/pycrypto[${PYTHON_USEDEP}]
+		)
+	dbus? (
+		dev-python/dbus-python[${PYTHON_USEDEP}]
+		dev-libs/dbus-glib
+		libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )
+		avahi? ( net-dns/avahi[dbus,gtk,python,${PYTHON_USEDEP}] )
+		)
+	gnome? (
+		dev-python/libgnome-python[${PYTHON_USEDEP}]
+		dev-python/egg-python[${PYTHON_USEDEP}]
+		)
+	gnome-keyring? ( dev-python/gnome-keyring-python[${PYTHON_USEDEP}] )
+	idle? ( x11-libs/libXScrnSaver )
+	jingle? ( net-libs/farstream:0.1[python,${PYTHON_USEDEP}] )
+	kde? ( kde-apps/kwalletmanager )
+	networkmanager? (
+			dev-python/dbus-python[${PYTHON_USEDEP}]
+			net-misc/networkmanager
+		)
+	spell? ( app-text/gtkspell:2 )
+	srv? (
+		|| (
+			dev-python/libasyncns-python[${PYTHON_USEDEP}]
+			net-dns/bind-tools
+			)
+		)
+	xhtml? ( dev-python/docutils[${PYTHON_USEDEP}] )"
+
+RESTRICT="test"
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${P}-otr-cleartext-leak-fix.patch )
+
+
+src_prepare() {
+	autotools-utils_src_prepare
+	python_copy_sources
+}
+
+src_configure() {
+	configuration() {
+		local myeconfargs=(
+			$(use_enable nls)
+			$(use_with X x)
+			--docdir="/usr/share/doc/${PF}"
+			--libdir="$(python_get_sitedir)"
+			--enable-site-packages
+		)
+		run_in_build_dir autotools-utils_src_configure
+	}
+	python_foreach_impl configuration
+}
+
+src_compile() {
+	compilation() {
+		run_in_build_dir autotools-utils_src_compile
+	}
+	python_foreach_impl compilation
+}
+
+src_test() {
+	testing() {
+		run_in_build_dir ${PYTHON} test/runtests.py --verbose 3 || die
+	}
+	python_foreach_impl testing
+}
+
+src_install() {
+	installation() {
+		run_in_build_dir autotools-utils_src_install
+		python_optimize
+	}
+	python_foreach_impl installation
+
+	rm "${ED}/usr/share/doc/${PF}/README.html" || die
+	dohtml README.html
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/gajim/files/, net-im/gajim/
@ 2017-01-17 15:17 Amadeusz Piotr Żołnowski
  0 siblings, 0 replies; 6+ messages in thread
From: Amadeusz Piotr Żołnowski @ 2017-01-17 15:17 UTC (permalink / raw
  To: gentoo-commits

commit:     b30c1b7f96abd5419ef26ad1af3b8336c05abc39
Author:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 17 15:17:36 2017 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Tue Jan 17 15:17:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b30c1b7f

net-im/gajim: Remove older version not compatible with new gnupg

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-im/gajim/Manifest                              |   1 -
 net-im/gajim/files/gajim-0.16.5-desktop.patch      |  29 -----
 ...gajim-0.16.5-protobuf-3.0.0-compatibility.patch |  12 --
 net-im/gajim/gajim-0.16.5.ebuild                   | 127 ---------------------
 4 files changed, 169 deletions(-)

diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest
index fdff1e8..cfacdd4 100644
--- a/net-im/gajim/Manifest
+++ b/net-im/gajim/Manifest
@@ -1,2 +1 @@
-DIST gajim-0.16.5.tar.bz2 4562971 SHA256 a5c015b3b140ec5e47d3842cbe701c9948af5a0cce36314248f0793c2d66d091 SHA512 d69613f9e119f128adc9e81ace2475d3e3e41b47c153ea6ae5a9fcb5be390ec900893e1ab9ce694260898ebced00cd631a3ec4271ac27ed735d3f18dd1e1b6d4 WHIRLPOOL d1405dedd29e867d9a05ca1678f3568acfb53baf7047294af66561a5542f70a02d9b8f22e42abae670e17e6f00461b423e01748ee31b8ada7be7d352af4bb344
 DIST gajim-0.16.6.tar.bz2 4564505 SHA256 1357ed178ce497d28fc2d48960b999821e1370f42ffaa4669c1cb803fce778dc SHA512 6c8c2a38429468a1e6f02aae730ff947c649960e8cc672457c1e1733ab2dad6534b1e5ac2e1c0c385e331a6ba817c6e67c1a27443632b9fd43e7ab76ad66c935 WHIRLPOOL c0b3bdd60405123e1d0d004eac1a606dcbf485a8adf500f2c97ede45ebaf727f0c6c29d91066a7172ac459d473d1dc7703537950d8bfd31f1dbac857b734f4cf

diff --git a/net-im/gajim/files/gajim-0.16.5-desktop.patch b/net-im/gajim/files/gajim-0.16.5-desktop.patch
deleted file mode 100644
index 5dd087b..00000000
--- a/net-im/gajim/files/gajim-0.16.5-desktop.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -r ecfc76d21658 data/gajim-remote.desktop.in.in
---- a/data/gajim-remote.desktop.in.in	Wed Dec 23 22:40:53 2015 +0100
-+++ b/data/gajim-remote.desktop.in.in	Mon Dec 28 17:38:15 2015 +0100
-@@ -1,11 +1,11 @@
- [Desktop Entry]
- Categories=Network;InstantMessaging;RemoteAccess;ConsoleOnly;
- _Name=Gajim Remote
--_Keywords=chat;messaging;im;jabber;xmpp;bonjour;voip
-+_Keywords=chat;messaging;im;jabber;xmpp;bonjour;voip;
- Version=1.0
- Exec=gajim-remote handle_uri %u
- TryExec=gajim-remote
- StartupNotify=false
- Terminal=false
- Type=Application
--MimeType=x-scheme-handler/xmpp
-+MimeType=x-scheme-handler/xmpp;
-diff -r ecfc76d21658 data/gajim.desktop.in.in
---- a/data/gajim.desktop.in.in	Wed Dec 23 22:40:53 2015 +0100
-+++ b/data/gajim.desktop.in.in	Mon Dec 28 17:38:15 2015 +0100
-@@ -3,7 +3,7 @@
- _Name=Gajim
- _GenericName=Jabber IM Client
- _Comment=A GTK+ Jabber client
--_Keywords=chat;messaging;im;jabber;xmpp;bonjour;voip
-+_Keywords=chat;messaging;im;jabber;xmpp;bonjour;voip;
- Version=1.0
- Exec=gajim
- Icon=gajim

diff --git a/net-im/gajim/files/gajim-0.16.5-protobuf-3.0.0-compatibility.patch b/net-im/gajim/files/gajim-0.16.5-protobuf-3.0.0-compatibility.patch
deleted file mode 100644
index 59d4e29..00000000
--- a/net-im/gajim/files/gajim-0.16.5-protobuf-3.0.0-compatibility.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur a/src/gajim.py b/src/gajim.py
---- a/src/gajim.py	2015-12-28 13:38:51.000000000 +0100
-+++ b/src/gajim.py	2016-08-29 10:17:27.585715629 +0200
-@@ -96,7 +96,7 @@
-     'logging.NullHandler', 'dbus.service', 'OpenSSL.SSL', 'OpenSSL.crypto',
-     'common.sleepy', 'DLFCN', 'dl', 'xml.sax', 'xml.sax.handler', 'ic',
-     'Crypto.PublicKey', 'IPython', 'contextlib', 'imp', 'gst.interfaces',
--    'libxml2', 'libxml2mod', 'monotonic', 'gtkexcepthook']
-+    'libxml2', 'libxml2mod', 'monotonic', 'gtkexcepthook', 'google.protobuf']
- 
- if os.name == 'nt':
-     import locale

diff --git a/net-im/gajim/gajim-0.16.5.ebuild b/net-im/gajim/gajim-0.16.5.ebuild
deleted file mode 100644
index b65ba8e..00000000
--- a/net-im/gajim/gajim-0.16.5.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="sqlite,xml"
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils python-r1 versionator
-
-MY_PV=${PV/_/-}
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Jabber client written in PyGTK"
-HOMEPAGE="http://www.gajim.org/"
-SRC_URI="
-	http://www.gajim.org/downloads/$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
-#	test? ( https://dev.gentoo.org/~jlec/distfiles/${PN}-tests-${PV}.tar.xz )"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 arm ppc ppc64 x86 ~x86-fbsd"
-IUSE="avahi crypt dbus gnome gnome-keyring kde idle jingle libnotify networkmanager nls spell +srv test X xhtml"
-
-REQUIRED_USE="
-	${PYTHON_REQUIRED_USE}
-	libnotify? ( dbus )
-	avahi? ( dbus )
-	gnome? ( gnome-keyring )"
-
-COMMON_DEPEND="
-	${PYTHON_DEPS}
-	dev-python/pygtk:2[${PYTHON_USEDEP}]
-	x11-libs/gtk+:2"
-DEPEND="${COMMON_DEPEND}
-	>=dev-util/intltool-0.40.1
-	virtual/pkgconfig
-	>=sys-devel/gettext-0.17-r1"
-RDEPEND="${COMMON_DEPEND}
-	dev-python/pyasn1[${PYTHON_USEDEP}]
-	>=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
-	>=dev-python/python-nbxmpp-0.5.3[${PYTHON_USEDEP}]
-	crypt? (
-		app-crypt/gnupg
-		dev-python/pycrypto[${PYTHON_USEDEP}]
-		)
-	dbus? (
-		dev-python/dbus-python[${PYTHON_USEDEP}]
-		dev-libs/dbus-glib
-		libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )
-		avahi? ( net-dns/avahi[dbus,gtk,python,${PYTHON_USEDEP}] )
-		)
-	gnome? (
-		dev-python/libgnome-python[${PYTHON_USEDEP}]
-		dev-python/egg-python[${PYTHON_USEDEP}]
-		)
-	gnome-keyring? ( dev-python/gnome-keyring-python[${PYTHON_USEDEP}] )
-	idle? ( x11-libs/libXScrnSaver )
-	jingle? ( net-libs/farstream:0.1[python,${PYTHON_USEDEP}] )
-	kde? ( kde-apps/kwalletmanager )
-	networkmanager? (
-			dev-python/dbus-python[${PYTHON_USEDEP}]
-			net-misc/networkmanager
-		)
-	spell? ( app-text/gtkspell:2 )
-	srv? (
-		|| (
-			dev-python/libasyncns-python[${PYTHON_USEDEP}]
-			net-dns/bind-tools
-			)
-		)
-	xhtml? ( dev-python/docutils[${PYTHON_USEDEP}] )"
-
-RESTRICT="test"
-
-S="${WORKDIR}"/${MY_P}
-
-PATCHES=(
-	"${FILESDIR}"/${P}-desktop.patch
-	)
-
-src_prepare() {
-	autotools-utils_src_prepare
-	python_copy_sources
-}
-
-src_configure() {
-	configuration() {
-		local myeconfargs=(
-			$(use_enable nls)
-			$(use_with X x)
-			--docdir="/usr/share/doc/${PF}"
-			--libdir="$(python_get_sitedir)"
-			--enable-site-packages
-		)
-		run_in_build_dir autotools-utils_src_configure
-	}
-	python_foreach_impl configuration
-}
-
-src_compile() {
-	compilation() {
-		run_in_build_dir autotools-utils_src_compile
-	}
-	python_foreach_impl compilation
-}
-
-src_test() {
-	testing() {
-		run_in_build_dir ${PYTHON} test/runtests.py --verbose 3 || die
-	}
-	python_foreach_impl testing
-}
-
-src_install() {
-	installation() {
-		run_in_build_dir autotools-utils_src_install
-		python_optimize
-	}
-	python_foreach_impl installation
-
-	rm "${ED}/usr/share/doc/${PF}/README.html" || die
-	dohtml README.html
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/gajim/files/, net-im/gajim/
@ 2017-05-29 16:24 Amadeusz Piotr Żołnowski
  0 siblings, 0 replies; 6+ messages in thread
From: Amadeusz Piotr Żołnowski @ 2017-05-29 16:24 UTC (permalink / raw
  To: gentoo-commits

commit:     24bd054fa98b2a95f355ab3471470bbb000c488a
Author:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Mon May 29 16:24:07 2017 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Mon May 29 16:24:30 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24bd054f

net-im/gajim: Fix CVE-2016-10376

Gentoo-Bug: 620146
Package-Manager: Portage-2.3.5, Repoman-2.3.2

 ...01-Add-config-option-to-activate-XEP-0146.patch |  45 ++++++++
 net-im/gajim/gajim-0.16.6-r1.ebuild                | 125 +++++++++++++++++++++
 2 files changed, 170 insertions(+)

diff --git a/net-im/gajim/files/0.16.6-0001-Add-config-option-to-activate-XEP-0146.patch b/net-im/gajim/files/0.16.6-0001-Add-config-option-to-activate-XEP-0146.patch
new file mode 100644
index 00000000000..046c72c0ca2
--- /dev/null
+++ b/net-im/gajim/files/0.16.6-0001-Add-config-option-to-activate-XEP-0146.patch
@@ -0,0 +1,45 @@
+From 285392b27db7cb01b0566b4bda3920e6559b75e4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Philipp=20H=C3=B6rist?= <forenjunkie@chello.at>
+Date: Fri, 26 May 2017 23:10:05 +0200
+Subject: [PATCH] Add config option to activate XEP-0146 commands
+
+Some of the Commands have security implications, thats why we disable them per default
+Fixes #8378
+---
+ src/common/commands.py | 7 ++++---
+ src/common/config.py   | 1 +
+ 2 files changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/src/common/commands.py b/src/common/commands.py
+index 40d700710..46d6947f8 100644
+--- a/src/common/commands.py
++++ b/src/common/commands.py
+@@ -345,9 +345,10 @@ class ConnectionCommands:
+     def __init__(self):
+         # a list of all commands exposed: node -> command class
+         self.__commands = {}
+-        for cmdobj in (ChangeStatusCommand, ForwardMessagesCommand,
+-        LeaveGroupchatsCommand, FwdMsgThenDisconnectCommand):
+-            self.__commands[cmdobj.commandnode] = cmdobj
++        if gajim.config.get('remote_commands'):
++            for cmdobj in (ChangeStatusCommand, ForwardMessagesCommand,
++            LeaveGroupchatsCommand, FwdMsgThenDisconnectCommand):
++                self.__commands[cmdobj.commandnode] = cmdobj
+ 
+         # a list of sessions; keys are tuples (jid, sessionid, node)
+         self.__sessions = {}
+diff --git a/src/common/config.py b/src/common/config.py
+index 3884d9e1d..7c1313fc4 100644
+--- a/src/common/config.py
++++ b/src/common/config.py
+@@ -313,6 +313,7 @@ class Config:
+             'ignore_incoming_attention': [opt_bool, False, _('If True, Gajim will ignore incoming attention requestd ("wizz").')],
+             'remember_opened_chat_controls': [ opt_bool, True, _('If enabled, Gajim will reopen chat windows that were opened last time Gajim was closed.')],
+             'positive_184_ack': [ opt_bool, False, _('If enabled, Gajim will show an icon to show that sent message has been received by your contact')],
++            'remote_commands': [opt_bool, False, _('If True, Gajim will execute XEP-0146 Commands.')],
+     }, {})
+ 
+     __options_per_key = {
+-- 
+2.12.2
+

diff --git a/net-im/gajim/gajim-0.16.6-r1.ebuild b/net-im/gajim/gajim-0.16.6-r1.ebuild
new file mode 100644
index 00000000000..7fc7796b975
--- /dev/null
+++ b/net-im/gajim/gajim-0.16.6-r1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite,xml"
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils python-r1 versionator
+
+MY_PV=${PV/_/-}
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Jabber client written in PyGTK"
+HOMEPAGE="http://www.gajim.org/"
+SRC_URI="
+	http://www.gajim.org/downloads/$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
+#	test? ( https://dev.gentoo.org/~jlec/distfiles/${PN}-tests-${PV}.tar.xz )"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="crypt dbus gnome gnome-keyring kde idle jingle libnotify networkmanager nls spell +srv test X xhtml zeroconf"
+
+REQUIRED_USE="
+	${PYTHON_REQUIRED_USE}
+	libnotify? ( dbus )
+	gnome? ( gnome-keyring )
+	zeroconf? ( dbus )"
+
+COMMON_DEPEND="
+	${PYTHON_DEPS}
+	dev-python/pygtk:2[${PYTHON_USEDEP}]
+	x11-libs/gtk+:2"
+DEPEND="${COMMON_DEPEND}
+	>=dev-util/intltool-0.40.1
+	virtual/pkgconfig
+	>=sys-devel/gettext-0.17-r1"
+RDEPEND="${COMMON_DEPEND}
+	dev-python/pyasn1[${PYTHON_USEDEP}]
+	>=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
+	>=dev-python/python-nbxmpp-0.5.3[${PYTHON_USEDEP}]
+	crypt? (
+		app-crypt/gnupg
+		dev-python/pycrypto[${PYTHON_USEDEP}]
+		)
+	dbus? (
+		dev-python/dbus-python[${PYTHON_USEDEP}]
+		dev-libs/dbus-glib
+		libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )
+		zeroconf? ( net-dns/avahi[dbus,gtk,python,${PYTHON_USEDEP}] )
+		)
+	gnome? (
+		dev-python/libgnome-python[${PYTHON_USEDEP}]
+		dev-python/egg-python[${PYTHON_USEDEP}]
+		)
+	gnome-keyring? ( dev-python/gnome-keyring-python[${PYTHON_USEDEP}] )
+	idle? ( x11-libs/libXScrnSaver )
+	jingle? ( net-libs/farstream:0.1[python,${PYTHON_USEDEP}] )
+	kde? ( kde-apps/kwalletmanager )
+	networkmanager? (
+			dev-python/dbus-python[${PYTHON_USEDEP}]
+			net-misc/networkmanager
+		)
+	spell? ( app-text/gtkspell:2 )
+	srv? (
+		|| (
+			dev-python/libasyncns-python[${PYTHON_USEDEP}]
+			net-dns/bind-tools
+			)
+		)
+	xhtml? ( dev-python/docutils[${PYTHON_USEDEP}] )"
+
+RESTRICT="test"
+
+PATCHES=(
+	"${FILESDIR}/${PV}-0001-Add-config-option-to-activate-XEP-0146.patch" )
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+	autotools-utils_src_prepare
+	python_copy_sources
+}
+
+src_configure() {
+	configuration() {
+		local myeconfargs=(
+			$(use_enable nls)
+			$(use_with X x)
+			--docdir="/usr/share/doc/${PF}"
+			--libdir="$(python_get_sitedir)"
+			--enable-site-packages
+		)
+		run_in_build_dir autotools-utils_src_configure
+	}
+	python_foreach_impl configuration
+}
+
+src_compile() {
+	compilation() {
+		run_in_build_dir autotools-utils_src_compile
+	}
+	python_foreach_impl compilation
+}
+
+src_test() {
+	testing() {
+		run_in_build_dir ${PYTHON} test/runtests.py --verbose 3 || die
+	}
+	python_foreach_impl testing
+}
+
+src_install() {
+	installation() {
+		run_in_build_dir autotools-utils_src_install
+		python_optimize
+	}
+	python_foreach_impl installation
+
+	rm "${ED}/usr/share/doc/${PF}/README.html" || die
+	dohtml README.html
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/gajim/files/, net-im/gajim/
@ 2019-03-24 22:10 Amadeusz Piotr Żołnowski
  0 siblings, 0 replies; 6+ messages in thread
From: Amadeusz Piotr Żołnowski @ 2019-03-24 22:10 UTC (permalink / raw
  To: gentoo-commits

commit:     8b1a498ff7872a284408f58634ccb4a75368935a
Author:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 22:07:20 2019 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 22:10:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1a498f

net-im/gajim: Bump version

Drop x86-fbsd keyword because new deps are missing those keyword.

Bug: https://bugs.gentoo.org/651616
Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo.org>

 net-im/gajim/Manifest                              |  1 +
 net-im/gajim/files/1.0.3-0001-disable-gspell.patch | 23 ++++++
 net-im/gajim/gajim-1.0.3.ebuild                    | 84 ++++++++++++++++++++++
 net-im/gajim/metadata.xml                          | 12 ++++
 4 files changed, 120 insertions(+)

diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest
index 7a27b1740ec..8055cbb9a9d 100644
--- a/net-im/gajim/Manifest
+++ b/net-im/gajim/Manifest
@@ -1,2 +1,3 @@
 DIST gajim-0.16.6.tar.bz2 4564505 BLAKE2B 0446d826afc782ceba4fe67d6c7173d60264ec1b5a227f0da62285ea1d083143b4895e4472c2df499de419f9a34c59d9afa1ac2348052defb100438782a3df46 SHA512 6c8c2a38429468a1e6f02aae730ff947c649960e8cc672457c1e1733ab2dad6534b1e5ac2e1c0c385e331a6ba817c6e67c1a27443632b9fd43e7ab76ad66c935
 DIST gajim-0.16.9.tar.bz2 4469275 BLAKE2B 451f09cde9d177932429b9ece900e09c58ac43b5f97cd64cf70e75d13f2261ab52ee35e02e8680c83a5d81d7574bca561532dd1327f1109b0cc872956b1a05f7 SHA512 d8ddae3826bbcd4458b016b3cf6b0472b41db4b9026b300b058d9cef403195e38423ff950fcbf6fed0cdbbb485a274905a9a5945028c4cbb24d1a38c72bf4cbb
+DIST gajim-1.0.3.tar.bz2 5964743 BLAKE2B af4bf2206a962eb68c4df09359fa3a0ccaca1e886d4fad67d9839f5fd4c1fd359c7ee7933d39d8c1ae7dcbde6b72548fef3564a467653064d4d37aa1db234c04 SHA512 a6d7f92a22a9dddc8a4b07eda0aae0b6fb4db57c73133ee19937f7e2a2a82c5351051d1f3627c94a44434276ed001b83d375f708f177962125af66cda8579ec8

diff --git a/net-im/gajim/files/1.0.3-0001-disable-gspell.patch b/net-im/gajim/files/1.0.3-0001-disable-gspell.patch
new file mode 100644
index 00000000000..fbffa112334
--- /dev/null
+++ b/net-im/gajim/files/1.0.3-0001-disable-gspell.patch
@@ -0,0 +1,23 @@
+--- a/gajim/common/app.py	2018-05-16 05:59:40.278703415 +0300
++++ b/gajim/common/app.py	2018-05-16 06:00:14.520423471 +0300
+@@ -265,20 +265,6 @@
+     HAVE_IDLE = False
+ 
+ HAVE_SPELL = False
+-try:
+-    spell_log = logging.getLogger('gajim.speller')
+-    gi.require_version('Gspell', '1')
+-    from gi.repository import Gspell
+-    langs = Gspell.language_get_available()
+-    for lang in langs:
+-        spell_log.info('%s (%s) dict available',
+-                       lang.get_name(), lang.get_code())
+-    if langs:
+-        HAVE_SPELL = True
+-    else:
+-        spell_log.info('No dicts available')
+-except (ImportError, ValueError):
+-    pass
+ 
+ gajim_identity = {'type': 'pc', 'category': 'client', 'name': 'Gajim'}
+ gajim_common_features = [nbxmpp.NS_BYTESTREAM, nbxmpp.NS_SI, nbxmpp.NS_FILE,

diff --git a/net-im/gajim/gajim-1.0.3.ebuild b/net-im/gajim/gajim-1.0.3.ebuild
new file mode 100644
index 00000000000..5b8cac2d108
--- /dev/null
+++ b/net-im/gajim/gajim-1.0.3.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{5,6} )
+PYTHON_REQ_USE="sqlite,xml"
+DISTUTILS_SINGLE_IMPL=1
+
+inherit gnome2-utils distutils-r1 versionator xdg-utils
+
+DESCRIPTION="Jabber client written in PyGTK"
+HOMEPAGE="https://www.gajim.org/"
+SRC_URI="https://www.gajim.org/downloads/$(get_version_component_range 1-2)/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+#KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~x86"
+IUSE="+crypt geolocation jingle keyring networkmanager remote rst +spell upnp
+	+webp"
+
+COMMON_DEPEND="
+	dev-libs/gobject-introspection[cairo,${PYTHON_USEDEP}]
+	>=x11-libs/gtk+-3.22:3[introspection]"
+DEPEND="${COMMON_DEPEND}
+	app-arch/unzip
+	>=dev-util/intltool-0.40.1
+	virtual/pkgconfig
+	>=sys-devel/gettext-0.17-r1"
+RDEPEND="${COMMON_DEPEND}
+	dev-python/idna[${PYTHON_USEDEP}]
+	dev-python/precis-i18n[${PYTHON_USEDEP}]
+	dev-python/pyasn1[${PYTHON_USEDEP}]
+	dev-python/pycairo[${PYTHON_USEDEP}]
+	dev-python/pycurl[${PYTHON_USEDEP}]
+	dev-python/pygobject[cairo,${PYTHON_USEDEP}]
+	>=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
+	>=dev-python/python-nbxmpp-0.6.6[${PYTHON_USEDEP}]
+	x11-libs/libXScrnSaver
+	crypt? (
+		dev-python/pycryptodome[${PYTHON_USEDEP}]
+		>=dev-python/python-gnupg-0.4.0[${PYTHON_USEDEP}] )
+	geolocation? ( app-misc/geoclue[introspection] )
+	jingle? (
+		net-libs/farstream:0.2[introspection]
+		media-libs/gstreamer:1.0[introspection]
+		media-libs/gst-plugins-base:1.0[introspection]
+		media-libs/gst-plugins-ugly:1.0
+	)
+	keyring? (
+		app-crypt/libsecret[crypt,introspection]
+		dev-python/keyring[${PYTHON_USEDEP}]
+	)
+	networkmanager? ( net-misc/networkmanager[introspection] )
+	remote? (
+		>=dev-python/dbus-python-1.2.0[${PYTHON_USEDEP}]
+		sys-apps/dbus[X]
+	)
+	rst? ( dev-python/docutils[${PYTHON_USEDEP}] )
+	spell? (
+		app-text/gspell[introspection]
+		app-text/hunspell
+	)
+	upnp? ( net-libs/gupnp-igd[introspection] )
+	webp? ( dev-python/pillow[${PYTHON_USEDEP}] )"
+
+RESTRICT="test"
+
+src_prepare() {
+	default
+
+	use spell || eapply "${FILESDIR}/${PV}-0001-disable-gspell.patch"
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}

diff --git a/net-im/gajim/metadata.xml b/net-im/gajim/metadata.xml
index 4ed46fbbf67..007a414c6fa 100644
--- a/net-im/gajim/metadata.xml
+++ b/net-im/gajim/metadata.xml
@@ -8,6 +8,18 @@
     A fully featured and easy to use GTK+ Jabber client written in PyGTK.
   </longdescription>
   <use>
+    <flag name="crypt">End to end encryption and GPG encryption</flag>
+    <flag name="geolocation">Sharing your location</flag>
+    <flag name="jingle">Audio and video calls</flag>
+    <flag name="keyring">Saving your password to your system keyring</flag>
+    <flag name="networkmanager">Network lose detection using NetworkManager</flag>
+    <flag name="remote">Controling Gajim instance from command line with gajim-remote</flag>
+    <flag name="rst">Generating XHTML output from RST code</flag>
+    <flag name="spell">Spellchecking of composed messages</flag>
+    <flag name="upnp">Ability to request your router to forward port for file transfer</flag>
+    <flag name="webp">Support WebP avatars</flag>
+    <flag name="zeroconf">Serverless chatting with autodetected clients in a local network</flag>
+
     <flag name="idle">Enable idle module</flag>
     <flag name="srv">SRV capabilities</flag>
     <flag name="xhtml">Enable XHTML support</flag>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/gajim/files/, net-im/gajim/
@ 2019-04-14 15:42 Amadeusz Piotr Żołnowski
  0 siblings, 0 replies; 6+ messages in thread
From: Amadeusz Piotr Żołnowski @ 2019-04-14 15:42 UTC (permalink / raw
  To: gentoo-commits

commit:     fcd9e8e0b9118645c7fe0277d5a5048e3cbf5fe0
Author:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 15:31:19 2019 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Sun Apr 14 15:42:00 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd9e8e0

net-im/gajim: Remove patch disabling spell checker

Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo.org>

 net-im/gajim/files/1.0.3-0001-disable-gspell.patch | 23 ----------------------
 net-im/gajim/gajim-1.0.3.ebuild                    |  6 ------
 2 files changed, 29 deletions(-)

diff --git a/net-im/gajim/files/1.0.3-0001-disable-gspell.patch b/net-im/gajim/files/1.0.3-0001-disable-gspell.patch
deleted file mode 100644
index fbffa112334..00000000000
--- a/net-im/gajim/files/1.0.3-0001-disable-gspell.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/gajim/common/app.py	2018-05-16 05:59:40.278703415 +0300
-+++ b/gajim/common/app.py	2018-05-16 06:00:14.520423471 +0300
-@@ -265,20 +265,6 @@
-     HAVE_IDLE = False
- 
- HAVE_SPELL = False
--try:
--    spell_log = logging.getLogger('gajim.speller')
--    gi.require_version('Gspell', '1')
--    from gi.repository import Gspell
--    langs = Gspell.language_get_available()
--    for lang in langs:
--        spell_log.info('%s (%s) dict available',
--                       lang.get_name(), lang.get_code())
--    if langs:
--        HAVE_SPELL = True
--    else:
--        spell_log.info('No dicts available')
--except (ImportError, ValueError):
--    pass
- 
- gajim_identity = {'type': 'pc', 'category': 'client', 'name': 'Gajim'}
- gajim_common_features = [nbxmpp.NS_BYTESTREAM, nbxmpp.NS_SI, nbxmpp.NS_FILE,

diff --git a/net-im/gajim/gajim-1.0.3.ebuild b/net-im/gajim/gajim-1.0.3.ebuild
index 25b4890f157..719d5ddebbd 100644
--- a/net-im/gajim/gajim-1.0.3.ebuild
+++ b/net-im/gajim/gajim-1.0.3.ebuild
@@ -67,12 +67,6 @@ RDEPEND="${COMMON_DEPEND}
 
 RESTRICT="test"
 
-src_prepare() {
-	default
-
-	use spell || eapply "${FILESDIR}/${PV}-0001-disable-gspell.patch"
-}
-
 pkg_postinst() {
 	gnome2_icon_cache_update
 	xdg_desktop_database_update


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-04-14 15:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-11 22:19 [gentoo-commits] repo/gentoo:master commit in: net-im/gajim/files/, net-im/gajim/ Amadeusz Piotr Żołnowski
  -- strict thread matches above, loose matches on Subject: below --
2019-04-14 15:42 Amadeusz Piotr Żołnowski
2019-03-24 22:10 Amadeusz Piotr Żołnowski
2017-05-29 16:24 Amadeusz Piotr Żołnowski
2017-01-17 15:17 Amadeusz Piotr Żołnowski
2016-01-20 15:36 Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox