Update to 1.0.10: Omega 1.0.10 (2008-12-23): build system: * This release now uses newer versions of the autotools (autoconf 2.62 -> 2.63; automake 1.10.1 -> 1.10.2). The newer autoconf fixes a regression in autoconf 2.62 (and so Omega 1.0.7) with detecting the endian-ness of some platforms. Omega 1.0.9 (2008-10-31): documentation: * docs/overview.html: Document HTML parsing a bit, including robots meta and htdig_noindex. omega: * omega: Catch std::exception and report what its what() method returns. * omega: Remove undocumented and non-functional support for numeric sorting via CGI parameter SORT=#<slot> (SORT=<slot> works as before). build system: * configure: Sync warning flag handling changes from xapian-core to eliminate many warnings from GCC 4.3. Omega 1.0.8 (2008-09-04): documentation: * Fix a few typos and improve wording in a few places. indexers: * omindex: + If the character encoding is specified using <meta http-equiv=...> in an HTML document then reparse the document if it isn't the encoding we're already using so that any preceding <title> is converted correctly (bug#292). + Convert text from meta tag parameters to UTF-8 (bug#293). + Handle <meta charset="..."> (new in HTML 5). + Fix bug in HTML tag parameter parsing which was probably just a small performance penalty in real world cases, but could perhaps result in parsing bogus extra parameters in carefully contrived situations. portability: * Add missing <signal.h>, noted on FreeBSD by Henrik Brix Andersen.diff -r1.3 -r1.4 pkgsrc/textproc/xapian-omega/Makefile
(wiz)
@@ -1,20 +1,19 @@ | @@ -1,20 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2008/07/31 15:11:31 schmonz Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2009/01/07 22:40:14 wiz Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= xapian-omega-1.0.7 | 4 | DISTNAME= xapian-omega-1.0.10 | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= textproc | 5 | CATEGORIES= textproc | |
7 | MASTER_SITES= http://oligarchy.co.uk/xapian/1.0.7/ | 6 | MASTER_SITES= http://oligarchy.co.uk/xapian/1.0.10/ | |
8 | 7 | |||
9 | MAINTAINER= schmonz@NetBSD.org | 8 | MAINTAINER= schmonz@NetBSD.org | |
10 | HOMEPAGE= http://xapian.org/docs/omega/overview.html | 9 | HOMEPAGE= http://xapian.org/docs/omega/overview.html | |
11 | COMMENT= Search engine application for websites using Xapian | 10 | COMMENT= Search engine application for websites using Xapian | |
12 | 11 | |||
13 | GNU_CONFIGURE= yes | 12 | GNU_CONFIGURE= yes | |
14 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | 13 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | |
15 | USE_LIBTOOL= yes | 14 | USE_LIBTOOL= yes | |
16 | USE_LANGUAGES= c c++ | 15 | USE_LANGUAGES= c c++ | |
17 | USE_TOOLS+= perl:run | 16 | USE_TOOLS+= perl:run | |
18 | 17 | |||
19 | REPLACE_PERL= dbi2omega htdig2omega mbox2omega | 18 | REPLACE_PERL= dbi2omega htdig2omega mbox2omega | |
20 | 19 |
@@ -1,11 +1,11 @@ | @@ -1,11 +1,11 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2008/07/27 04:06:00 schmonz Exp $ | 1 | $NetBSD: distinfo,v 1.3 2009/01/07 22:40:14 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (xapian-omega-1.0.7.tar.gz) = a765c1d26f82bb25f4d1844757c0dddbc25a9f0d | 3 | SHA1 (xapian-omega-1.0.10.tar.gz) = 135a948efa841ca968ff676b855e834a5e9f6cd8 | |
4 | RMD160 (xapian-omega-1.0.7.tar.gz) = 28d3171dd426e692b85e0ee4329bb4a7c0d4879e | 4 | RMD160 (xapian-omega-1.0.10.tar.gz) = fd7a3db0b2691b7c32b34b45ecd0e2cb413eccc5 | |
5 | Size (xapian-omega-1.0.7.tar.gz) = 498784 bytes | 5 | Size (xapian-omega-1.0.10.tar.gz) = 501840 bytes | |
6 | SHA1 (patch-aa) = ce457e51d62ecc8833b1f1f7b9aaeddf6f39bf98 | 6 | SHA1 (patch-aa) = ce457e51d62ecc8833b1f1f7b9aaeddf6f39bf98 | |
7 | SHA1 (patch-ab) = 6e845f6a61d7e36715b4a1bde217ff31ea0999e5 | 7 | SHA1 (patch-ab) = 6e845f6a61d7e36715b4a1bde217ff31ea0999e5 | |
8 | SHA1 (patch-ac) = e8c47ba1e3853f54d8fffc90d55318b7d3c2047f | 8 | SHA1 (patch-ac) = e8c47ba1e3853f54d8fffc90d55318b7d3c2047f | |
9 | SHA1 (patch-ad) = 1aa0b8d7a3a78d96edd087669ff46b76d1420a19 | 9 | SHA1 (patch-ad) = 1aa0b8d7a3a78d96edd087669ff46b76d1420a19 | |
10 | SHA1 (patch-ae) = 1ebbce6ca463f12575baafef3a1acd3c2640bb5b | 10 | SHA1 (patch-ae) = 1ebbce6ca463f12575baafef3a1acd3c2640bb5b | |
11 | SHA1 (patch-af) = 9f7536a6f3eb4001043acf010ba600b1803480c6 | 11 | SHA1 (patch-af) = 4091131fc560c2491a613ddce11eba044adbac6c |
@@ -1,22 +1,14 @@ | @@ -1,22 +1,14 @@ | |||
1 | $NetBSD: patch-af,v 1.1 2008/07/27 04:06:00 schmonz Exp $ | 1 | $NetBSD: patch-af,v 1.2 2009/01/07 22:40:14 wiz Exp $ | |
2 | 2 | |||
3 | --- runfilter.cc.orig 2008-07-16 00:42:17.000000000 -0400 | 3 | --- runfilter.cc.orig 2008-12-23 08:55:31.000000000 +0100 | |
4 | +++ runfilter.cc | 4 | +++ runfilter.cc | |
5 | @@ -39,6 +39,7 @@ | 5 | @@ -97,7 +98,9 @@ stdout_to_string(const string &cmd) | |
6 | #ifdef HAVE_SYS_SOCKET_H | |||
7 | # include <sys/socket.h> | |||
8 | #endif | |||
9 | +#include <signal.h> | |||
10 | #include "safeunistd.h" | |||
11 | ||||
12 | #include "freemem.h" | |||
13 | @@ -94,7 +95,9 @@ stdout_to_string(const string &cmd) | |||
14 | if (mem > 0) { | 6 | if (mem > 0) { | |
15 | mem = (mem / 8) * 7; | 7 | mem = (mem / 8) * 7; | |
16 | struct rlimit ram_limit = { mem, RLIM_INFINITY } ; | 8 | struct rlimit ram_limit = { mem, RLIM_INFINITY } ; | |
17 | +#ifdef HAVE_RLIMIT_AS | 9 | +#ifdef HAVE_RLIMIT_AS | |
18 | setrlimit(RLIMIT_AS, &ram_limit); | 10 | setrlimit(RLIMIT_AS, &ram_limit); | |
19 | +#endif | 11 | +#endif | |
20 | } | 12 | } | |
21 | 13 | |||
22 | execl("/bin/sh", "/bin/sh", "-c", cmd.c_str(), (void*)NULL); | 14 | execl("/bin/sh", "/bin/sh", "-c", cmd.c_str(), (void*)NULL); |