From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-voip/telepathy-salut/Manifest | 7 ++ .../telepathy-salut-0.5.0-uninitialized.patch | 13 ++++ net-voip/telepathy-salut/metadata.xml | 15 +++++ .../telepathy-salut-0.8.1-r1.ebuild | 78 ++++++++++++++++++++++ .../telepathy-salut/telepathy-salut-0.8.1.ebuild | 62 +++++++++++++++++ 5 files changed, 175 insertions(+) create mode 100644 net-voip/telepathy-salut/Manifest create mode 100644 net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch create mode 100644 net-voip/telepathy-salut/metadata.xml create mode 100644 net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild create mode 100644 net-voip/telepathy-salut/telepathy-salut-0.8.1.ebuild (limited to 'net-voip/telepathy-salut') diff --git a/net-voip/telepathy-salut/Manifest b/net-voip/telepathy-salut/Manifest new file mode 100644 index 000000000000..1ce03e075cdc --- /dev/null +++ b/net-voip/telepathy-salut/Manifest @@ -0,0 +1,7 @@ +AUX telepathy-salut-0.5.0-uninitialized.patch 496 SHA256 9f5c77d889880a070d7fee99c6177632f183a38a8b27c32b4761f6f0736ab3e5 SHA512 a6365b18b5c1f876c990ec4bbf522b2c8708ca73c201e9bac9447e3fc8d8979b3882c977e9393e34031ca2659b0519c841645280a03d11b4bac8e907db816ce9 WHIRLPOOL d5a6d35c95e1711328e799d0bb280dd4837804620a8227f865640ca25b1a5645d34915f870e1f83b8297197ad0f80e2acc4996a2c611c190b554f805e51408ef +DIST telepathy-salut-0.8.1.tar.gz 1823482 SHA256 70b9108ac8b511b7688e1b580de4ddb8981603c3cbde01f287ef8f9cb708618e SHA512 34537ac9ce0b78015e184963ea79beaa7332ac11803f9683ff34577d9f0a14f7ed287aacb2c00059f2ff2f300c325a09a78a320e83d0a0031ad976da2c197a90 WHIRLPOOL 5f7124c5ffb870c12dd93e752f32a6382d28503e235cae7032b2ef35635bc50d992717bc924e009c4bcca944ca26a02950d37ebc95258dd7d47574375a12503a +EBUILD telepathy-salut-0.8.1-r1.ebuild 1835 SHA256 e7c309e80426efc2c29d05264e749410e756ebdf667860fd6e4d2c5f5aec8916 SHA512 456f5068b7b70e89bdd00be8dda05e6b4103fe0fd7af75a502ee237cde7e5faf4c039acc678e66103fedb0191a8baa596725ab0d5f951bf9d8e9f5510bcc36de WHIRLPOOL b45af4885b8e93375863a94b6cfaf27325d54be229ad72384bd210c84988e0a70c0da8ecaec12aee83152a076f1d9c374d03c789f1a6f64dc58227c1649ab36f +EBUILD telepathy-salut-0.8.1.ebuild 1503 SHA256 aefc95785a02b10aa8d060acf2e6863091fef897d1033aba1f996762cc5c806a SHA512 3090476a726d41a10546efe18c39d4425ba460bf1adf2efc7de523bb0d1ff01fca7712e2f8e77dd95263f0fd92dee05c91d30c40383b3eb969a21cad298037a0 WHIRLPOOL 2694e744bdf1778b608077a98743dd6c389f484ea24d7a69744ddab9a12a6ac3716adac6a3fd41cf443e54e28fe501c45c61a984467c6b9ccd8fad9064e05835 +MISC ChangeLog 3747 SHA256 f90bfc4fa39401927df715c5396071358009dac8d65e7d34548e32c76d3779f3 SHA512 9110fd295b47f605ad2e0f3d15dcf7419aea66921fa4f2fec62a6b253ec04331b85a71b3b092d276c751c8b3cc5cdd05947b7c11246a12394330d721a2cc2aac WHIRLPOOL db52921c7c521b96a4649aaf23b27921138dfd341737ef53183af9e233dfbe44ccb532c1ef3d03013bf59b2863a3aed92c3b09e84ff2718a93e081470b1679fd +MISC ChangeLog-2015 8308 SHA256 3b8895a3bac3e9b0c7303a881e30fefa2f27686e844ea6bd7fd94c268ba10075 SHA512 c8d266801785279d44ce17410eab2dcb9bc6ef13ff6c3e5196dd2d8464e6e5d5e07748244c422d6b307cd28c843c6f90f29a90cc510f1b38dff0ebe612f072cd WHIRLPOOL ae45d3845c154e896d1bc67efdc928ef916ade653e9462c446b217bec387f95a9072ba8fbf651d283b99057a77cb0e2e1a170bd2b35ce53c3f0435381e13fad8 +MISC metadata.xml 468 SHA256 684d759ef91ffa0086037ed7ec82b21b230eaad2fd17ecf0f119ed809dbc257e SHA512 937c35bb0de62fd4a47e937123a16622806383ddc34e3ff1296791942a23fd81db4874c1b37cf2bbc69ece84ad37f9d36cebed328b55a633579712424eea2da0 WHIRLPOOL dc5e95cc8be1fb63b8b1d68a92ca007c705440b7113152da1a9f6d799af85243afece9ba5fafbfa8b4919f217f61115708e98a4975a89d42cdd57a91a51c3fa2 diff --git a/net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch b/net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch new file mode 100644 index 000000000000..83723612dfc4 --- /dev/null +++ b/net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch @@ -0,0 +1,13 @@ +diff --git a/lib/ext/wocky/wocky/wocky-sasl-scram.c b/lib/ext/wocky/wocky/wocky-sasl-scram.c +index 7261956..c508196 100644 +--- a/lib/ext/wocky/wocky/wocky-sasl-scram.c ++++ b/lib/ext/wocky/wocky/wocky-sasl-scram.c +@@ -523,7 +523,7 @@ scram_handle_server_final_message (WockySaslScram *self, + gchar *message, + GError **error) + { +- gchar attr, *value = NULL; ++ gchar attr = 0, *value = NULL; + + if (!scram_get_next_attr_value (&message, &attr, &value) && attr != 'v') + goto invalid; diff --git a/net-voip/telepathy-salut/metadata.xml b/net-voip/telepathy-salut/metadata.xml new file mode 100644 index 000000000000..c35aa8bef778 --- /dev/null +++ b/net-voip/telepathy-salut/metadata.xml @@ -0,0 +1,15 @@ + + + + + eva@gentoo.org + Gilles Dartiguelongue + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + A link-local XMPP connection manager for Telepathy. + + diff --git a/net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild b/net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild new file mode 100644 index 000000000000..10baef9097d1 --- /dev/null +++ b/net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit python-any-r1 + +DESCRIPTION="A link-local XMPP connection manager for Telepathy" +HOMEPAGE="https://telepathy.freedesktop.org/" +SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux" +IUSE="gnutls test" + +RDEPEND=" + >=dev-libs/dbus-glib-0.61 + dev-libs/libxml2 + >=dev-libs/glib-2.28:2 + >=sys-apps/dbus-1.1.0 + >=net-libs/telepathy-glib-0.17.1 + >=net-dns/avahi-0.6.22[dbus] + net-libs/libsoup:2.4 + sys-apps/util-linux + dev-db/sqlite:3 + gnutls? ( >=net-libs/gnutls-2.10.2 ) + !gnutls? ( >=dev-libs/openssl-0.9.8g:0[-bindist] ) +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + dev-libs/libxslt + virtual/pkgconfig + test? ( + >=dev-libs/check-0.9.4 + net-libs/libgsasl + || ( + $(python_gen_any_dep 'dev-python/twisted[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/twisted-words[${PYTHON_USEDEP}]') + ) + ) +" +# FIXME: needs xmppstream python module +# >=net-dns/avahi-0.6.22[python] + +PATCHES=( + # Fix uninitialized variable, upstream bug #37701 + "${FILESDIR}"/${PN}-0.5.0-uninitialized.patch +) + +python_check_deps() { + if use test ; then + has_version "dev-python/twisted[${PYTHON_USEDEP}]" \ + || has_version "dev-python/twisted-words[${PYTHON_USEDEP}]" + fi +} + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_configure() { + econf \ + --disable-coding-style-checks \ + --disable-plugins \ + --disable-Werror \ + --disable-static \ + --disable-avahi-tests \ + --docdir=/usr/share/doc/${PF} \ + --with-tls=$(usex gnutls gnutls openssl) + #$(use_enable test avahi-tests) +} + +src_install() { + MAKEOPTS+=" -j1" default # bug 413581 + find "${D}" -name '*.la' -delete || die +} diff --git a/net-voip/telepathy-salut/telepathy-salut-0.8.1.ebuild b/net-voip/telepathy-salut/telepathy-salut-0.8.1.ebuild new file mode 100644 index 000000000000..99d3cba79ec7 --- /dev/null +++ b/net-voip/telepathy-salut/telepathy-salut-0.8.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-any-r1 + +DESCRIPTION="A link-local XMPP connection manager for Telepathy" +HOMEPAGE="https://telepathy.freedesktop.org/wiki/CategorySalut" +SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ia64 ppc ~ppc64 sparc x86 ~x86-linux" +IUSE="gnutls test" + +RDEPEND=" + >=dev-libs/dbus-glib-0.61 + dev-libs/libxml2 + >=dev-libs/glib-2.28:2 + >=sys-apps/dbus-1.1.0 + >=net-libs/telepathy-glib-0.17.1 + >=net-dns/avahi-0.6.22[dbus] + net-libs/libsoup:2.4 + sys-apps/util-linux + gnutls? ( >=net-libs/gnutls-2.10.2 ) + !gnutls? ( >=dev-libs/openssl-0.9.8g:0[-bindist] ) +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + dev-libs/libxslt + virtual/pkgconfig + test? ( + >=dev-libs/check-0.9.4 + net-libs/libgsasl + dev-python/twisted-words ) +" +# FIXME: needs xmppstream python module +# >=net-dns/avahi-0.6.22[python] + +src_prepare() { + # Fix uninitialized variable, upstream bug #37701 + epatch "${FILESDIR}/${PN}-0.5.0-uninitialized.patch" +} + +src_configure() { + econf \ + --disable-coding-style-checks \ + --disable-plugins \ + --disable-Werror \ + --disable-static \ + --disable-avahi-tests \ + --docdir=/usr/share/doc/${PF} \ + --with-tls=$(usex gnutls gnutls openssl) + #$(use_enable test avahi-tests) +} + +src_install() { + MAKEOPTS+=" -j1" default # bug 413581 + prune_libtool_files +} -- cgit v1.2.3