diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-01 22:14:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-01 22:14:12 +0000 |
commit | 2a8a0863884e197cd898cc543447487f80928b61 (patch) | |
tree | 60d7eec1d83a6f9f9023c5b5b10d6c1f8c3be4f9 /net-im | |
parent | arm KEYWORDS (diff) | |
download | historical-2a8a0863884e197cd898cc543447487f80928b61.tar.gz historical-2a8a0863884e197cd898cc543447487f80928b61.tar.bz2 historical-2a8a0863884e197cd898cc543447487f80928b61.zip |
Add patch from upstream cvs #74705.
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/linpopup/ChangeLog | 11 | ||||
-rw-r--r-- | net-im/linpopup/Manifest | 15 | ||||
-rw-r--r-- | net-im/linpopup/files/2.0.4-overflow.patch | 39 | ||||
-rw-r--r-- | net-im/linpopup/files/digest-linpopup-2.0.4-r1 (renamed from net-im/linpopup/files/digest-linpopup-2.0.4) | 0 | ||||
-rw-r--r-- | net-im/linpopup/linpopup-2.0.2.ebuild | 4 | ||||
-rw-r--r-- | net-im/linpopup/linpopup-2.0.4-r1.ebuild (renamed from net-im/linpopup/linpopup-2.0.4.ebuild) | 12 |
6 files changed, 67 insertions, 14 deletions
diff --git a/net-im/linpopup/ChangeLog b/net-im/linpopup/ChangeLog index d94971807478..c8e0fe3fc3dc 100644 --- a/net-im/linpopup/ChangeLog +++ b/net-im/linpopup/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-im/linpopup -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/linpopup/ChangeLog,v 1.11 2004/12/30 21:16:17 vapier Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/linpopup/ChangeLog,v 1.12 2005/01/01 22:14:12 vapier Exp $ + +*linpopup-2.0.4-r1 (01 Jan 2005) + + 01 Jan 2005; Mike Frysinger <vapier@gentoo.org> + +files/2.0.4-overflow.patch, +linpopup-2.0.4-r1.ebuild, + -linpopup-2.0.4.ebuild: + Add patch from upstream cvs #74705. *linpopup-2.0.4 (30 Dec 2004) diff --git a/net-im/linpopup/Manifest b/net-im/linpopup/Manifest index 2f73751d38e7..33dca0a60ca6 100644 --- a/net-im/linpopup/Manifest +++ b/net-im/linpopup/Manifest @@ -1,16 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 92fb8abaf7f77f6f55fc2da275e16f45 ChangeLog 1269 -MD5 26b0e988fcd5ded30f665b46f4f1bbe5 linpopup-2.0.2.ebuild 1522 -MD5 7b4618179b4113fc65089a9ee13dbaed linpopup-2.0.4.ebuild 1491 +MD5 48ef497c6193964d906bae7314aa5095 ChangeLog 1476 +MD5 9ead3179060cb377805546495dba637f linpopup-2.0.4-r1.ebuild 1582 +MD5 a3fcae3408f094817d2ad03286f02d1f linpopup-2.0.2.ebuild 1520 +MD5 52071c5040fa5348d84e3afe928ea50b files/digest-linpopup-2.0.4-r1 67 MD5 cc6067f86d972179bff61a52dbec66fa files/digest-linpopup-2.0.2 67 MD5 64959795c47be33ab1bf172f96c02371 files/linpopup.desktop 188 -MD5 52071c5040fa5348d84e3afe928ea50b files/digest-linpopup-2.0.4 67 +MD5 1bbbe64c9e5268b1b46a7989561a20d2 files/2.0.4-overflow.patch 1336 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.10 (GNU/Linux) -iD8DBQFB1HAsroRuSHgZdywRAntEAJ9XwOYQ+HN7IQ8a3NZbi1DAkByoegCggljx -+0+bqU24JPFv5RkxpJ+kQbM= -=nrpL +iD8DBQFB1yDBroRuSHgZdywRAq1hAJ47puxzddaIGHD7bDCsm8xA6lRYMQCdH9DY +iZkZZiKwVofOJC6RlhDBOcU= +=QMz0 -----END PGP SIGNATURE----- diff --git a/net-im/linpopup/files/2.0.4-overflow.patch b/net-im/linpopup/files/2.0.4-overflow.patch new file mode 100644 index 000000000000..c038d303d598 --- /dev/null +++ b/net-im/linpopup/files/2.0.4-overflow.patch @@ -0,0 +1,39 @@ +--- src/string.c.orig 2000-03-14 03:45:05.000000000 +0100 ++++ src/string.c 2004-12-23 22:43:12.000000000 +0100 +@@ -29,20 +29,30 @@ + { + int string_index = 0, sub_index, string_len; + char sub_string[50], new_string[2048]; ++ int new_len; + + string_len = strlen (string); +- strcpy (new_string, ""); ++ new_string[0] = 0; ++ new_len = 0; + do + { + sub_index = 0; +- strcpy (sub_string, ""); +- while ((string[string_index]) && (string[string_index] != 32)) ++ while ((sub_index < sizeof(sub_string)-1) && (string[string_index]) && (string[string_index] != 32)) + sub_string[sub_index++] = string[string_index++]; + sub_string[sub_index] = 0; + if (!strcmp (sub_string, search_string)) +- strcpy (sub_string, replace_string); +- strcat (new_string, sub_string); +- strcat (new_string, " "); ++ strncpy (sub_string, replace_string, 50); ++ sub_string[49] = 0; ++ if (new_len + sub_index >= sizeof(new_string)) ++ sub_index = sizeof(new_string) - new_len - 1; ++ strncpy (new_string+new_len, sub_string, sub_index); ++ new_len += sub_index; ++ if (new_len >= sizeof(new_string)-1) { ++ new_string[sizeof(new_string)-1] = 0; ++ break; ++ } ++ new_string[new_len++] = ' '; ++ new_string[new_len] = 0; + } + while (++string_index < string_len); + diff --git a/net-im/linpopup/files/digest-linpopup-2.0.4 b/net-im/linpopup/files/digest-linpopup-2.0.4-r1 index b0ef7a658d38..b0ef7a658d38 100644 --- a/net-im/linpopup/files/digest-linpopup-2.0.4 +++ b/net-im/linpopup/files/digest-linpopup-2.0.4-r1 diff --git a/net-im/linpopup/linpopup-2.0.2.ebuild b/net-im/linpopup/linpopup-2.0.2.ebuild index 8cf7e5fd9b9d..4bc48cc6ab24 100644 --- a/net-im/linpopup/linpopup-2.0.2.ebuild +++ b/net-im/linpopup/linpopup-2.0.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/linpopup/linpopup-2.0.2.ebuild,v 1.5 2004/07/15 00:16:56 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/linpopup/linpopup-2.0.2.ebuild,v 1.6 2005/01/01 22:14:12 vapier Exp $ inherit gnome2 diff --git a/net-im/linpopup/linpopup-2.0.4.ebuild b/net-im/linpopup/linpopup-2.0.4-r1.ebuild index 8f7da2f2810f..b09eec8ae8b9 100644 --- a/net-im/linpopup/linpopup-2.0.4.ebuild +++ b/net-im/linpopup/linpopup-2.0.4-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/linpopup/linpopup-2.0.4.ebuild,v 1.1 2004/12/30 21:16:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/linpopup/linpopup-2.0.4-r1.ebuild,v 1.1 2005/01/01 22:14:12 vapier Exp $ -inherit gnome2 +inherit gnome2 eutils DESCRIPTION="GTK2 port of the LinPopUp messaging client for Samba (including Samba 3)" HOMEPAGE="http://linpopup2.sourceforge.net/" @@ -21,6 +21,12 @@ DEPEND="${RDEPEND} DOCS="AUTHORS BUGS ChangeLog INSTALL MANUAL NEWS README THANKS TODO" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-overflow.patch +} + src_install() { # Install icon and .desktop for menu entry if use gnome ; then |