summaryrefslogtreecommitdiff
path: root/mail/ifile
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-02-25 11:34:37 +0000
committersalo <salo@pkgsrc.org>2003-02-25 11:34:37 +0000
commit6ffac5721144e665daabd57684a8ceaea61bc942 (patch)
treebbfe687549356d350b202cc1e3830375b45d91a4 /mail/ifile
parent0810b5551c1950a23fff9503908ad40b5ff75726 (diff)
downloadpkgsrc-6ffac5721144e665daabd57684a8ceaea61bc942.tar.gz
Updated to version 1.3.0.
Changes: - add local patch for configure generated with new autoconf, the old one doesn't accept CFLAGS & the like. (already fixed in ifile cvs) 1.3.0: ====== - include/extendable_array.h: Fixed bug in EXT_ARRAY_INIT_N_SET() macro. Fixes bug 2516, where new folders caused the database to be garbled. - Performance improvements: On a Sun SPARC-based system running Solaris 10, with a database of about 16500 words, got a 40% improvement in words processed per second when reading the database, using the changes listed here. - include/ifile.h: Changed prototypes for readline(), ifile_read_header() and ifile_read_word_frequencies() to reflect new calling conventions. - include/extendable_array.h: New macro EXT_ARRAY_INIT_N_SET() combines the effects of EXT_ARRAY_INIT() and multiple calls to EXT_ARRAY_SET() in a smarter way, saving many realloc() calls and many manipulations of the array metadata. - utils.c: Rewrote readline to take a char-- bufp and use the data within -bufp to parse a line, and update -bufp to point beyond the first line. This avoids at least one copy of the data. - primes.c: Cast values returned by ifile_realloc() correctly. - int4str.c: Cast argument to free() to void - in ifile_int4str_free_contents(), to fix compiler complaints. - hash.c: Added an include of <string.h> to fix compiler complaints. - database.c: Made ifile_read_db() read the whole database in one fell swoop and modified callers of readline() to just pass in a pointer to the buffered database. Also made ifile_read_word_entry() call a new macro EXT_ARRAY_INIT_N_SET() in place of EXT_ARRAY_INIT() and multiple calls to EXT_ARRAY_SET(), saving many calls to realloc() and many manipulations of the extendable array metadata.
Diffstat (limited to 'mail/ifile')
-rw-r--r--mail/ifile/Makefile9
-rw-r--r--mail/ifile/distinfo8
2 files changed, 11 insertions, 6 deletions
diff --git a/mail/ifile/Makefile b/mail/ifile/Makefile
index e3c8a321129..441d5da426a 100644
--- a/mail/ifile/Makefile
+++ b/mail/ifile/Makefile
@@ -1,9 +1,12 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/12/13 09:39:15 salo Exp $
+# $NetBSD: Makefile,v 1.2 2003/02/25 11:34:37 salo Exp $
#
-DISTNAME= ifile-1.2.1
+DISTNAME= ifile-1.3.0
CATEGORIES= mail
-MASTER_SITES= http://savannah.nongnu.org/download/ifile/default.pkg/${DISTNAME:S/ifile-//}/
+MASTER_SITES= http://savannah.nongnu.org/download/ifile/default.pkg/${PKGVERSION}/
+
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+PATCHFILES= ifile-${PKGVERSION}.argp_configure.patch.gz
MAINTAINER= salo@netbsd.org
HOMEPAGE= http://www.nongnu.org/ifile/
diff --git a/mail/ifile/distinfo b/mail/ifile/distinfo
index b07d598a19f..6bdb4eedcb7 100644
--- a/mail/ifile/distinfo
+++ b/mail/ifile/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/12/13 09:39:15 salo Exp $
+$NetBSD: distinfo,v 1.2 2003/02/25 11:34:37 salo Exp $
-SHA1 (ifile-1.2.1.tar.gz) = 36abc5c509b458e710b87d2754c4e3ae629d709f
-Size (ifile-1.2.1.tar.gz) = 153554 bytes
+SHA1 (ifile-1.3.0.tar.gz) = c72b53dc73d1cf2ad63a2d616d57f0361cc312ae
+Size (ifile-1.3.0.tar.gz) = 167901 bytes
+SHA1 (ifile-1.3.0.argp_configure.patch.gz) = 714992159b6711240fb9fe0320272c61730b68a1
+Size (ifile-1.3.0.argp_configure.patch.gz) = 37078 bytes
SHA1 (patch-aa) = 077a6e175358745092a4318e9a1c56783299bbab