summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Seiler <rizzo@gentoo.org>2004-04-08 15:29:20 +0000
committerDon Seiler <rizzo@gentoo.org>2004-04-08 15:29:20 +0000
commitcffcab0a2ec22cce4645aa4eeec42ec598b42296 (patch)
tree59ba5baabe502ac9468fa5e14ef259e3daee7b06
parentStable on AMD64 (diff)
downloadhistorical-cffcab0a2ec22cce4645aa4eeec42ec598b42296.tar.gz
historical-cffcab0a2ec22cce4645aa4eeec42ec598b42296.tar.bz2
historical-cffcab0a2ec22cce4645aa4eeec42ec598b42296.zip
Rev bump for yahoo security fix
-rw-r--r--net-im/gaim/ChangeLog8
-rw-r--r--net-im/gaim/Manifest25
-rw-r--r--net-im/gaim/files/digest-gaim-0.76-r11
-rw-r--r--net-im/gaim/files/gaim-0.76-yahoo-decode.diff28
-rw-r--r--net-im/gaim/gaim-0.76-r1.ebuild116
5 files changed, 166 insertions, 12 deletions
diff --git a/net-im/gaim/ChangeLog b/net-im/gaim/ChangeLog
index 773ccd889353..a7340f11a35e 100644
--- a/net-im/gaim/ChangeLog
+++ b/net-im/gaim/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-im/gaim
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/gaim/ChangeLog,v 1.160 2004/04/07 22:53:24 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/gaim/ChangeLog,v 1.161 2004/04/08 15:29:19 rizzo Exp $
+
+*gaim-0.76-r1 (08 Apr 2004)
+
+ 08 Apr 2004; Don Seiler <rizzo@gentoo.org>; gaim-0.76-r1.ebuild,
+ files/gaim-0.76-yahoo-decode.diff:
+ Patch for yahoo security fix, bumping rev
07 Apr 2004; Guy Martin <gmsoft@gentoo.org> gaim-0.76.ebuild:
Added ~hppa to KEYWORDS.
diff --git a/net-im/gaim/Manifest b/net-im/gaim/Manifest
index d26ad2b8e2a5..730fb9a04e06 100644
--- a/net-im/gaim/Manifest
+++ b/net-im/gaim/Manifest
@@ -1,17 +1,20 @@
-MD5 7916a3b665d9e9fcb370b17ed7d3c995 ChangeLog 26396
+MD5 397b78a6b462d0d0833042da04364981 gaim-0.76.ebuild 3563
+MD5 272e0892309f0c55d48734bb891ffb71 gaim-0.76-r1.ebuild 3613
MD5 fe7d01f4a3b4a72b7b6cf57f286728ed gaim-0.75-r10.ebuild 3678
-MD5 ff7da91fdc2d63cb9ade430cbedeac98 gaim-0.75-r8.ebuild 3498
+MD5 862255f1de298d187b7cf8a735aad5b8 ChangeLog 26573
MD5 19b3cafbbe380403d46cccc45a984b80 metadata.xml 481
-MD5 397b78a6b462d0d0833042da04364981 gaim-0.76.ebuild 3563
-MD5 8b152d59a54ab95627c4c0cd52758d75 files/digest-gaim-0.75-r10 63
-MD5 8b152d59a54ab95627c4c0cd52758d75 files/digest-gaim-0.75-r8 63
+MD5 ff7da91fdc2d63cb9ade430cbedeac98 gaim-0.75-r8.ebuild 3498
+MD5 4989dc76d941288934c783f52931762d files/gaim-0.75-static-prpls.patch 3710
MD5 3f77b441979d00929ef77b64d4b4725c files/digest-gaim-0.76 63
+MD5 227bbaed75eb1c3130c70dfd919bd148 files/gaim-0.76-spellchk.diff 694
+MD5 a714a5babbb4387f5a5516f75548528a files/gaim-0.76cvs-yahoo-misc-fixes-1.diff 3105
MD5 68525b8389e356a5d05d531b84fb1ada files/gaim-0.74-gnome-url-handler.patch 1854
-MD5 53302cc68bb7bef9803723e977010339 files/gaim-0.74_cjk_gtkconv.patch 1128
-MD5 4989dc76d941288934c783f52931762d files/gaim-0.75-static-prpls.patch 3710
-MD5 e16439188287325963107a14ccddf668 files/gaim-0.75-yahoo-security.diff 3863
+MD5 8e59c66d91c79a3323e350a9c41d4ecb files/gevolution.h 2745
+MD5 8b152d59a54ab95627c4c0cd52758d75 files/digest-gaim-0.75-r8 63
+MD5 3f77b441979d00929ef77b64d4b4725c files/digest-gaim-0.76-r1 63
MD5 a4f3b00a7aa80e7fbc1e315b8c9306c8 files/gaim-0.76cvs-signals-varargs.diff 1753
+MD5 53302cc68bb7bef9803723e977010339 files/gaim-0.74_cjk_gtkconv.patch 1128
MD5 e58ee6f06747da85a60cb9c13b91f805 files/gaim-0.76cvs-yahoo-login-fix.diff 4618
-MD5 a714a5babbb4387f5a5516f75548528a files/gaim-0.76cvs-yahoo-misc-fixes-1.diff 3105
-MD5 8e59c66d91c79a3323e350a9c41d4ecb files/gevolution.h 2745
-MD5 227bbaed75eb1c3130c70dfd919bd148 files/gaim-0.76-spellchk.diff 694
+MD5 de4038d9bda8257d951659533ea67976 files/gaim-0.76-yahoo-decode.diff 717
+MD5 e16439188287325963107a14ccddf668 files/gaim-0.75-yahoo-security.diff 3863
+MD5 8b152d59a54ab95627c4c0cd52758d75 files/digest-gaim-0.75-r10 63
diff --git a/net-im/gaim/files/digest-gaim-0.76-r1 b/net-im/gaim/files/digest-gaim-0.76-r1
new file mode 100644
index 000000000000..4bc316b65e50
--- /dev/null
+++ b/net-im/gaim/files/digest-gaim-0.76-r1
@@ -0,0 +1 @@
+MD5 832126135930b4a13537d1270088c2dc gaim-0.76.tar.bz2 3543882
diff --git a/net-im/gaim/files/gaim-0.76-yahoo-decode.diff b/net-im/gaim/files/gaim-0.76-yahoo-decode.diff
new file mode 100644
index 000000000000..ec01f49cf170
--- /dev/null
+++ b/net-im/gaim/files/gaim-0.76-yahoo-decode.diff
@@ -0,0 +1,28 @@
+===================================================================
+RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoo.c,v
+retrieving revision 1.216
+retrieving revision 1.219
+diff -u -r1.216 -r1.219
+--- gaim/gaim/src/protocols/yahoo/yahoo.c 2004/04/06 02:28:01 1.216
++++ gaim/gaim/src/protocols/yahoo/yahoo.c 2004/04/08 14:03:17 1.219
+@@ -902,16 +902,17 @@
+ char *converted;
+ char *n, *new;
+ const char *end, *p;
+- int i;
++ int i, k;
+
+ n = new = g_malloc(strlen (text) + 1);
+ end = text + strlen(text);
+
+ for (p = text; p < end; p++, n++) {
+ if (*p == '\\') {
+- sscanf(p + 1, "%3o\n", &i);
++ k = 0;
++ sscanf(p + 1, "%3o%n\n", &i, &k);
+ *n = i;
+- p += 3;
++ p += k;
+ }
+ else
+ *n = *p;
diff --git a/net-im/gaim/gaim-0.76-r1.ebuild b/net-im/gaim/gaim-0.76-r1.ebuild
new file mode 100644
index 000000000000..a99ecc347d9f
--- /dev/null
+++ b/net-im/gaim/gaim-0.76-r1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/gaim/gaim-0.76-r1.ebuild,v 1.1 2004/04/08 15:29:19 rizzo Exp $
+
+inherit flag-o-matic eutils gcc
+use debug && inherit debug
+
+IUSE="nls perl spell nas debug crypt"
+
+DESCRIPTION="GTK Instant Messenger client"
+HOMEPAGE="http://gaim.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gaim/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc ~amd64 ~ppc ~alpha ~ia64 ~mips ~hppa"
+
+DEPEND=">=x11-libs/gtk+-2.0
+ >=dev-libs/glib-2.0
+ nas? ( >=media-libs/nas-1.4.1-r1 )
+ sys-devel/gettext
+ media-libs/libao
+ >=media-libs/audiofile-0.2.0
+ perl? ( >=dev-lang/perl-5.8.2 )
+ spell? ( >=app-text/gtkspell-2.0.2 )
+ || ( dev-libs/nss net-www/mozilla )"
+PDEPEND="crypt? ( net-im/gaim-encryption )"
+
+pkg_setup() {
+ ewarn
+ ewarn "If you experience problems with gaim, file them as bugs with"
+ ewarn "Gentoo's bugzilla, http://bugs.gentoo.org. DO NOT report them"
+ ewarn "as bugs with gaim's sourceforge tracker, and by all means DO NOT"
+ ewarn "seek help in #gaim."
+ ewarn
+ ewarn "Be sure to include a backtrace for any seg faults, see"
+ ewarn "http://gaim.sourceforge.net/gdb.php for details on backtraces."
+ ewarn
+ for TICKER in 1 2 3 4 5; do
+ # Double beep here.
+ echo -ne "\a" ; sleep 0.1 &>/dev/null ; sleep 0,1 &>/dev/null
+ echo -ne "\a" ; sleep 1
+ done
+ sleep 8
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp ${FILESDIR}/gevolution.h plugins/gevolution/
+ epatch ${FILESDIR}/gaim-0.76-spellchk.diff
+ epatch ${FILESDIR}/gaim-0.76-yahoo-decode.diff
+}
+
+src_compile() {
+ einfo "Replacing -Os CFLAG with -O2"
+ replace-flags -Os -O2
+
+ # -msse2 doesn't play nice on gcc 3.2
+ [ "`gcc-version`" == "3.2" ] && filter-flags -msse2
+
+ local myconf
+ use perl || myconf="${myconf} --disable-perl"
+ use spell || myconf="${myconf} --disable-gtkspell"
+ use nls || myconf="${myconf} --disable-nls"
+ use nas && myconf="${myconf} --enable-nas" || myconf="${myconf} --disable-nas"
+
+ NSS_LIB=/usr/lib
+ NSS_INC=/usr/include
+ has_version dev-libs/nss && {
+ # Only need to specify this if no pkgconfig from mozilla
+ myconf="${myconf} --with-nspr-includes=${NSS_INC}/nspr"
+ myconf="${myconf} --with-nss-includes=${NSS_INC}/nss"
+ myconf="${myconf} --with-nspr-libs=${NSS_LIB}"
+ myconf="${myconf} --with-nss-libs=${NSS_LIB}"
+ }
+
+ econf ${myconf} || die "Configuration failed"
+
+ emake || MAKEOPTS="${MAKEOPTS} -j1" emake || die "Make failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "Install failed"
+ dodoc ABOUT-NLS AUTHORS COPYING HACKING INSTALL NEWS PROGRAMMING_NOTES README ChangeLog VERSION
+
+ # Copy header files for gaim plugin use
+ dodir /usr/include/gaim/src
+ cp config.h ${D}/usr/include/gaim/
+ cd ${S}/src
+ tar cf - *.h | (cd ${D}/usr/include/gaim/src ; tar xvf -)
+ assert "Failed to install header files to /usr/include/gaim"
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "If you are merging ${P} from an earlier version, you will need"
+ ewarn "to re-merge any plugins like gaim-encryption or gaim-snpp."
+ ewarn
+
+ ewarn
+ ewarn "If you experience problems with gaim, file them as bugs with"
+ ewarn "Gentoo's bugzilla, http://bugs.gentoo.org. DO NOT report them"
+ ewarn "as bugs with gaim's sourceforge tracker, and by all means DO NOT"
+ ewarn "seek help in #gaim."
+ ewarn
+ ewarn "Be sure to include a backtrace for any seg faults, see"
+ ewarn "http://gaim.sourceforge.net/gdb.php for details on backtraces."
+ ewarn
+ for TICKER in 1 2 3 4 5; do
+ # Double beep here.
+ echo -ne "\a" ; sleep 0.1 &>/dev/null ; sleep 0,1 &>/dev/null
+ echo -ne "\a" ; sleep 1
+ done
+ sleep 8
+}