summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Seiler <rizzo@gentoo.org>2004-03-25 21:49:43 +0000
committerDon Seiler <rizzo@gentoo.org>2004-03-25 21:49:43 +0000
commit3a81293c7e17bfe215b4aa1fbf133ea316792f86 (patch)
treeb2cc92c42a090589adfa914cce7d470644cba368 /app-misc/abook
parentAdded fix for bug #45716. (diff)
downloadhistorical-3a81293c7e17bfe215b4aa1fbf133ea316792f86.tar.gz
historical-3a81293c7e17bfe215b4aa1fbf133ea316792f86.tar.bz2
historical-3a81293c7e17bfe215b4aa1fbf133ea316792f86.zip
Revision bump. Adding trancate bug patch to filter.c
Diffstat (limited to 'app-misc/abook')
-rw-r--r--app-misc/abook/ChangeLog8
-rw-r--r--app-misc/abook/Manifest5
-rw-r--r--app-misc/abook/abook-0.5.2-r1.ebuild33
-rw-r--r--app-misc/abook/files/abook-0.5.2-filter.diff43
-rw-r--r--app-misc/abook/files/digest-abook-0.5.2-r11
5 files changed, 88 insertions, 2 deletions
diff --git a/app-misc/abook/ChangeLog b/app-misc/abook/ChangeLog
index 105725622bbb..c6811f58cc48 100644
--- a/app-misc/abook/ChangeLog
+++ b/app-misc/abook/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/abook
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/abook/ChangeLog,v 1.9 2004/03/08 16:21:56 rizzo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/abook/ChangeLog,v 1.10 2004/03/25 21:49:43 rizzo Exp $
+
+*abook-0.5.2-r1 (25 Mar 2004)
+
+ 25 Mar 2004; Don Seiler <rizzo@gentoo.org>; abook-0.5.2-r1.ebuild,
+ files/abook-0.5.2-filter.diff:
+ Adding trancate bug patch to filter.c
08 Mar 2004; Don Seiler <rizzo@gentoo.org>; abook-0.4.17.ebuild:
Removing obsolete ebuilds
diff --git a/app-misc/abook/Manifest b/app-misc/abook/Manifest
index e3db8bef838d..dc5e180413a6 100644
--- a/app-misc/abook/Manifest
+++ b/app-misc/abook/Manifest
@@ -1,6 +1,7 @@
MD5 2e7b27c98b9b611a7bb8e68123fd5968 abook-0.5.0.ebuild 736
MD5 61e211b88ff8f06434807145ff8bd6a9 abook-0.5.2.ebuild 788
-MD5 ad34826cb3480796eccbbbf81f9229d9 ChangeLog 1233
+MD5 51c7de685e801b721adb2c81f7e9a18a abook-0.5.2-r1.ebuild 872
+MD5 c790bc58e1de4c5a0ca2c988dc0db56c ChangeLog 1408
MD5 838ab371973d52a741378b9dced70f87 metadata.xml 434
MD5 a9a20e478e3323d05eaa11cbfeb0334d abook-0.5.1-r1.ebuild 955
MD5 4ee2d4d21ad4b060cfa2a4451edcebf3 abook-0.5.1.ebuild 853
@@ -8,4 +9,6 @@ MD5 e6c4d56c01bce9e8a8512ca3ec50ee79 files/digest-abook-0.5.0 63
MD5 6dc9d5e8a060c78c1b1943b27296b7af files/digest-abook-0.5.1 63
MD5 882e53be58a3a05f24a7c29f49e998cb files/digest-abook-0.5.2 63
MD5 6dc9d5e8a060c78c1b1943b27296b7af files/digest-abook-0.5.1-r1 63
+MD5 882e53be58a3a05f24a7c29f49e998cb files/digest-abook-0.5.2-r1 63
+MD5 57683803307c12852566a0373212ba6d files/abook-0.5.2-filter.diff 1155
MD5 3b62ad1d9ad437a4dfc2c8ad9c96a2e4 files/0.5.1-01_mutt-filter 281
diff --git a/app-misc/abook/abook-0.5.2-r1.ebuild b/app-misc/abook/abook-0.5.2-r1.ebuild
new file mode 100644
index 000000000000..b0dd411b2b90
--- /dev/null
+++ b/app-misc/abook/abook-0.5.2-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/abook/abook-0.5.2-r1.ebuild,v 1.1 2004/03/25 21:49:43 rizzo Exp $
+
+DESCRIPTION="Abook is a text-based addressbook program designed to use with mutt mail client."
+HOMEPAGE="http://abook.sourceforge.net/"
+SRC_URI="mirror://sourceforge/abook/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+DEPEND="sys-libs/ncurses
+ sys-libs/readline"
+
+#S="${WORKDIR}/${P}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/abook-0.5.2-filter.diff
+}
+
+src_compile() {
+ cd ${S}
+ econf || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "install died"
+ dodoc ANNOUNCE AUTHORS BUGS COPYING ChangeLog FAQ INSTALL NEWS README THANKS TODO
+ dodoc sample.abookrc
+}
+
diff --git a/app-misc/abook/files/abook-0.5.2-filter.diff b/app-misc/abook/files/abook-0.5.2-filter.diff
new file mode 100644
index 000000000000..59f5727793b5
--- /dev/null
+++ b/app-misc/abook/files/abook-0.5.2-filter.diff
@@ -0,0 +1,43 @@
+===================================================================
+RCS file: /cvsroot/abook/abook/filter.c,v
+retrieving revision 1.29
+retrieving revision 1.30
+diff -u -r1.29 -r1.30
+--- abook/abook/filter.c 2004/01/23 07:14:32 1.29
++++ abook/abook/filter.c 2004/03/25 18:19:38 1.30
+@@ -1,6 +1,6 @@
+
+ /*
+- * $Id: abook-0.5.2-filter.diff,v 1.1 2004/03/25 21:49:43 rizzo Exp $
++ * $Id: abook-0.5.2-filter.diff,v 1.1 2004/03/25 21:49:43 rizzo Exp $
+ *
+ * by JH <jheinonen@users.sourceforge.net>
+ *
+@@ -618,6 +618,7 @@
+ mutt_read_line(FILE *in, char **alias, char **rest)
+ {
+ char *line, *ptr, *tmp;
++ size_t alias_len;
+
+ if( !(line = ptr = getaline(in)) )
+ return 1; /* error / EOF */
+@@ -640,13 +641,16 @@
+ while( ! ISSPACE(*ptr) )
+ ptr++;
+
+- if( (*alias = (char *)malloc(ptr - tmp)) == NULL) {
++ /* includes also the trailing zero */
++ alias_len = (size_t)(ptr - tmp + 1);
++
++ if( (*alias = (char *)malloc(alias_len)) == NULL) {
+ free(line);
+ return 1;
+ }
+
+- strncpy(*alias, tmp, ptr - tmp - 1);
+- *(*alias + (ptr - tmp - 1)) = 0;
++ strncpy(*alias, tmp, alias_len - 1);
++ *(*alias + alias_len - 1) = 0;
+
+ while(ISSPACE(*ptr))
+ ptr++;
diff --git a/app-misc/abook/files/digest-abook-0.5.2-r1 b/app-misc/abook/files/digest-abook-0.5.2-r1
new file mode 100644
index 000000000000..8c8fa0b813fb
--- /dev/null
+++ b/app-misc/abook/files/digest-abook-0.5.2-r1
@@ -0,0 +1 @@
+MD5 1b6ef00c860cb3ac5ad61cc79a49c87f abook-0.5.2.tar.gz 183852