summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2005-07-20 18:36:00 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2005-07-20 18:36:00 +0000
commit558ee699fade8afd3f01c1bd7acd7aba8644540b (patch)
tree8d8356fb2e117400c0fd4dccb2cd0036cb4f01c5 /net-im/kadu
parentstable on x86 (diff)
downloadgentoo-2-558ee699fade8afd3f01c1bd7acd7aba8644540b.tar.gz
gentoo-2-558ee699fade8afd3f01c1bd7acd7aba8644540b.tar.bz2
gentoo-2-558ee699fade8afd3f01c1bd7acd7aba8644540b.zip
Version bump due security bug, bug #99583
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-im/kadu')
-rw-r--r--net-im/kadu/ChangeLog7
-rw-r--r--net-im/kadu/files/digest-kadu-0.4.125
-rw-r--r--net-im/kadu/kadu-0.4.1.ebuild247
3 files changed, 278 insertions, 1 deletions
diff --git a/net-im/kadu/ChangeLog b/net-im/kadu/ChangeLog
index e65b60d05f85..f3c1a8c4f8b7 100644
--- a/net-im/kadu/ChangeLog
+++ b/net-im/kadu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/kadu
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.27 2005/07/07 04:58:28 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.28 2005/07/20 18:36:00 sekretarz Exp $
+
+*kadu-0.4.1 (20 Jul 2005)
+
+ 20 Jul 2005; <sekretarz@gentoo.org> +kadu-0.4.1.ebuild:
+ Version bump due security bug, bug #99583
07 Jul 2005; Caleb Tennis <caleb@gentoo.org> kadu-0.3.8.ebuild,
kadu-0.4.0.ebuild:
diff --git a/net-im/kadu/files/digest-kadu-0.4.1 b/net-im/kadu/files/digest-kadu-0.4.1
new file mode 100644
index 000000000000..51c05298d35b
--- /dev/null
+++ b/net-im/kadu/files/digest-kadu-0.4.1
@@ -0,0 +1,25 @@
+MD5 52c582fcc175b2af534c7ddab24e0b6b kadu-0.4.1.tar.bz2 1218351
+MD5 1cec6670d6441d1251b3f430525564a3 tabs-r34.tar.bz2 11981
+MD5 539afdd2295ec462022f5e10d80a816c amarok-1.13.tar.gz 9201
+MD5 b17becaee7bfd0eeae4b7e22eef9b3bd tcl_scripting-20050403.tar.gz 617946
+MD5 2ef812084512cc14a95c1737535cbbdb kadu-theme-alt_cryst.tar.bz2 121877
+MD5 023085edabaf6a1b844fe6b5fc9315f9 kadu-theme-crystal-16.tar.bz2 45993
+MD5 57852ff3d3fd0063a642fcc173f7fa29 kadu-theme-crystal-22.tar.bz2 48895
+MD5 f0b33b0d42b9dc1de5c6b19097600a9e kadu-theme-gg3d.tar.bz2 78353
+MD5 5ec5ec33849c35ae8d2b114250b664b3 kadu-theme-noia-16.tar.bz2 109294
+MD5 586cc6ff9ba62f0fdd7c7c1adf229efb kadu-theme-nuvola-16.tar.gz 119276
+MD5 7a17b4881141b346c6268ef25c284613 kadu-theme-nuvola-22.tar.gz 147311
+MD5 766e4841651364d032b68b8321f153ef kadu-theme-old_default.tar.bz2 85997
+MD5 a8d5d60e062255e77b732a37ea2e5e7c kadu-theme-piolnet.tar.bz2 79831
+MD5 cbd97ea8302ac4ad9507f104597da0c4 kadu-theme-real_gg.tar.bz2 131697
+MD5 640acacc8f5b33da6e1eb379eb3177dc weather-2.01.tar.bz2 46297
+MD5 001deaa1ebd6beaf104b77fce9aeff2e ext_info-1.2.tar.bz2 17868
+MD5 2f884c06b7fc540e46323d9a4cee6487 spy-0.0.7-test.tar.gz 17594
+MD5 77b0b8da0723ef23caaf1c75125d0fa4 firewall-20050308.tar.bz2 6858
+MD5 4a424362ba3a10ddbce0fb1a4ff4d649 KaduChess-0.3-Calista.tar.bz2 24892
+MD5 7bf1890bc208897e407189e3b504682f led_notify-0.2.tar.bz2 2838
+MD5 51fbec1b3605bf2eab3309065e848def screenshot-0.2.0.tar.gz 4044
+MD5 4a6e4d52b8efa3d182e2a55e02cc3383 xmms-1.25.tar.gz 14992
+MD5 506d8fc409f228b7feba4b3b7b14f412 xosd_notify-050322.tar.bz2 12454
+MD5 e63393922738bea7a9d1be675c826608 mail-0.2.0.tar.bz2 93363
+MD5 0e427d25f69f5f5d10e303f8d2e79e70 spellchecker-0.13.tar.gz 9121
diff --git a/net-im/kadu/kadu-0.4.1.ebuild b/net-im/kadu/kadu-0.4.1.ebuild
new file mode 100644
index 000000000000..27557c93c879
--- /dev/null
+++ b/net-im/kadu/kadu-0.4.1.ebuild
@@ -0,0 +1,247 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.4.1.ebuild,v 1.1 2005/07/20 18:36:00 sekretarz Exp $
+
+inherit flag-o-matic eutils
+
+VTCL="20050403"
+VTABS="r34"
+VAMAROK="1.13"
+WEATHER="2.01"
+EXT_INFO="1.2"
+XMMS="1.25"
+XOSD_NOTIFY="050322"
+MAIL="0.2.0"
+SPELLCHECKER="0.13"
+SPY="0.0.7-test"
+CHESS="0.3-Calista"
+FIREWALL="20050308"
+LED_NOTIFY="0.2"
+SSVER="0.2.0"
+
+THEMES="kadu-theme-crystal-16
+ kadu-theme-crystal-22
+ kadu-theme-gg3d
+ kadu-theme-noia-16
+ kadu-theme-nuvola-16
+ kadu-theme-nuvola-22
+ kadu-theme-old_default
+ kadu-theme-piolnet
+ kadu-theme-real_gg
+ alt_cryst"
+
+DESCRIPTION="QT client for popular in Poland Gadu-Gadu IM network"
+HOMEPAGE="http://kadu.net/"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="X debug alsa arts esd voice speech nas oss spell ssl tcltk xmms xosd amarok extraicons extramodules mail"
+
+DEPEND="=x11-libs/qt-3*
+ media-libs/libsndfile
+ alsa? ( media-libs/alsa-lib virtual/alsa )
+ arts? ( kde-base/arts )
+ amarok? ( media-sound/amarok )
+ esd? ( media-sound/esound )
+ nas? ( media-libs/nas )
+ spell? ( app-dicts/aspell-pl )
+ ssl? ( dev-libs/openssl )
+ speech? ( app-accessibility/powiedz )
+ tcltk? ( >=dev-lang/tcl-8.4.0 >=dev-lang/tk-8.4.0 )
+ xmms? ( media-sound/xmms )
+ xosd? ( x11-libs/xosd )
+ X? ( virtual/x11 )"
+
+SRC_URI="http://kadu.net/download/stable/${P}.tar.bz2
+ http://biprowod.wroclaw.pl/kadu/smieci/tabs-${VTABS}.tar.bz2
+ amarok? ( http://scripts.one.pl/amarok/stable/0.4.0/amarok-${VAMAROK}.tar.gz )
+ tcltk? ( http://scripts.one.pl/tcl4kadu/files/snapshots/tcl_scripting-${VTCL}.tar.gz )
+ extraicons? (
+ http://biprowod.wroclaw.pl/kadu/kadu-theme-alt_cryst.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-crystal-16.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-crystal-22.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-gg3d.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-noia-16.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-nuvola-16.tar.gz
+ http://www.kadu.net/download/additions/kadu-theme-nuvola-22.tar.gz
+ http://www.kadu.net/download/additions/kadu-theme-old_default.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-piolnet.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-real_gg.tar.bz2 )
+ extramodules? (
+ http://pcb45.tech.us.edu.pl/~blysk/weather/weather-${WEATHER}.tar.bz2
+ http://nkg.republika.pl/files/ext_info-${EXT_INFO}.tar.bz2
+ http://biprowod.wroclaw.pl/kadu/inne/spy-${SPY}.tar.gz
+ http://users.skorpion.wroc.pl/arturmat/firewall/files/firewall-${FIREWALL}.tar.bz2
+ http://biprowod.wroclaw.pl/kadu/KaduChess-${CHESS}.tar.bz2
+ http://pcb45.tech.us.edu.pl/~blysk/led_notify/led_notify-${LED_NOTIFY}.tar.bz2
+ http://scripts.one.pl/screenshot/stable/0.4.0/screenshot-${SSVER}.tar.gz )
+ xmms? ( http://scripts.one.pl/xmms/devel/0.4.0/xmms-${XMMS}.tar.gz )
+ xosd? ( http://www.kadu.net/~joi/xosd_notify/xosd_notify-${XOSD_NOTIFY}.tar.bz2 )
+ mail? ( http://michal.kernel-panic.cjb.net/mail/tars/release/mail-${MAIL}.tar.bz2 )
+ spell? (
+ http://scripts.one.pl/spellchecker/devel/0.4.0/spellchecker-${SPELLCHECKER}.tar.gz
+ )"
+
+
+S=${WORKDIR}/${PN}
+
+enable_module() {
+ if use ${1}; then
+ mv ${WORKDIR}/${2} ${WORKDIR}/kadu/modules/
+ module_config ${2} m
+ fi
+}
+
+module_config() {
+ sed -i -r "s/(^module_${1}\\s*=\\s*).*/\\1${2}/" .config
+}
+
+spec_config() {
+ sed -i -r "s/(^${2}\\s*=\\s*).*//" modules/${1}/spec
+ echo "${2}=${3}" >> modules/${1}/spec
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Disabling autodownload for modules
+ rm -f ${WORKDIR}/kadu/modules/*.web
+
+ # Disabling autodownload for icons
+ rm -f ${WORKDIR}/kadu/varia/themes/icons/*.web
+
+ # Disabling all modules and iconsets for further activation via USE flags
+ sed .config -i -e 's/=m/=n/g'
+ sed .config -i -e 's/=y/=n/g'
+
+ # Enable default icon theme
+ sed .config -i -e 's/icons_default=n/icons_default=y/'
+
+ enable_module amarok amarok
+ enable_module spell spellchecker
+ enable_module xmms xmms
+ enable_module xosd xosd_notify
+ enable_module mail mail
+ enable_module tcltk "tcl_scripting"
+
+ enable_module extramodules weather
+ enable_module extramodules ext_info
+ enable_module extramodules spy
+ enable_module extramodules led_notify
+ enable_module extramodules tabs
+ enable_module extramodules screenshot
+
+ # put some patches
+ epatch ${FILESDIR}/kadu-toolbar_toggle-gentoo.diff
+ use xosd && epatch ${FILESDIR}/xosd-gentoo.patch
+}
+
+src_compile() {
+ filter-flags -fno-rtti
+
+ # Enabling default iconset
+ module_config icons_default y
+
+ # Enabling dependencies that are needed by other modules
+ module_config account_management m
+ module_config autoaway m
+ module_config autoresponder m
+ module_config config_wizard m
+ module_config dcc m
+ module_config default_sms m
+ module_config docking m
+ module_config filedesc m
+ module_config hints m
+ module_config notify m
+ module_config sms m
+ module_config sound m
+ module_config desktop_docking m
+
+ if use extramodules; then
+ if use !tcltk; then
+ ewarn "script_chess depends on module_tcl_scripting;"
+ ewarn "It won't be installed."
+ fi
+ fi
+
+ # Firewall
+ if use extramodules; then
+ if use !tcltk; then
+ ewarn "script_firewall depends on module_tcl_scripting;"
+ ewarn "It won't be installed."
+ fi
+ fi
+
+ use speech && module_config speech m
+ use extramodules && module_config autoresponder
+
+ # static modules (disable only, do not compile as .so)
+ use ssl && module_config encryption y
+
+ # dynamic modules
+ use alsa && module_config alsa_sound m
+ use arts && module_config arts_sound m
+ use esd && module_config esd_sound m
+ use nas && module_config nas_sound m
+ use voice && module_config voice m
+ use X && module_config x11_docking m
+ use X && module_config wmaker_docking m
+
+ # Some fixes
+ einfo "Fixing modules spec files"
+ if use arts; then
+ spec_config arts_sound MODULE_INCLUDES_PATH "\"$(kde-config --prefix)/include $(kde-config --prefix)/include/artsc\""
+ spec_config arts_sound MODULE_LIBS_PATH $(kde-config --prefix)/lib
+ fi
+ if use amarok; then
+ spec_config amarok MODULE_INCLUDES_PATH $(kde-config --prefix)/include
+ spec_config amarok MODULE_LIBS_PATH $(kde-config --prefix)/lib
+ fi
+
+ if use extramodules; then
+ einfo "Changing default firewall log location to user's homedir/.gg/firewall.log"
+ sed ${WORKDIR}/firewall.tcl -i -e 's%$module(scriptpath)/firewall.log%$env(HOME)/.gg/firewall.log%g'
+ fi
+
+ local myconf
+ myconf="${myconf} --enable-modules --enable-dist-info=Gentoo"
+
+ use voice && myconf="${myconf} --enable-dependency-tracing"
+ use debug && myconf="${myconf} --enable-debug"
+
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ # Installing additional scripts and plugins
+ # Chess and Firewall
+ if use extramodules; then
+ if use tcltk; then
+ einfo "Installing Chess script"
+ insinto /usr/share/kadu/modules/data/tcl_scripting/scripts
+ doins ${WORKDIR}/KaduChess/{data,pics,KaduChess.tcl}
+ # small fix form author's site
+ sed ${D}/usr/share/kadu/modules/data/tcl_scripting/scripts/KaduChess.tcl -i -e 's/on chat0 KC_recv KC_recv/on chat0 KC_recv/g'
+
+ einfo "Installing Firewall module"
+ doins ${WORKDIR}/firewall{.tcl,.png}
+ fi
+ fi
+
+ if use extraicons; then
+ einfo "Installing extra icons"
+ for theme in ${THEMES}; do
+ insinto /usr/share/kadu/themes/icons/${theme}
+ doins ${WORKDIR}/${theme}/{icons.conf,*.png}
+ done
+ fi
+}