Wed Jan 7 22:40:14 2009 UTC ()
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.


(wiz)
diff -r1.3 -r1.4 pkgsrc/textproc/xapian-omega/Makefile
diff -r1.2 -r1.3 pkgsrc/textproc/xapian-omega/distinfo
diff -r1.1 -r1.2 pkgsrc/textproc/xapian-omega/patches/patch-af

cvs diff -r1.3 -r1.4 pkgsrc/textproc/xapian-omega/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/xapian-omega/Makefile 2008/07/31 15:11:31 1.3
+++ pkgsrc/textproc/xapian-omega/Makefile 2009/01/07 22:40:14 1.4
@@ -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
4DISTNAME= xapian-omega-1.0.7 4DISTNAME= xapian-omega-1.0.10
5PKGREVISION= 2 
6CATEGORIES= textproc 5CATEGORIES= textproc
7MASTER_SITES= http://oligarchy.co.uk/xapian/1.0.7/ 6MASTER_SITES= http://oligarchy.co.uk/xapian/1.0.10/
8 7
9MAINTAINER= schmonz@NetBSD.org 8MAINTAINER= schmonz@NetBSD.org
10HOMEPAGE= http://xapian.org/docs/omega/overview.html 9HOMEPAGE= http://xapian.org/docs/omega/overview.html
11COMMENT= Search engine application for websites using Xapian 10COMMENT= Search engine application for websites using Xapian
12 11
13GNU_CONFIGURE= yes 12GNU_CONFIGURE= yes
14CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} 13CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
15USE_LIBTOOL= yes 14USE_LIBTOOL= yes
16USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
17USE_TOOLS+= perl:run 16USE_TOOLS+= perl:run
18 17
19REPLACE_PERL= dbi2omega htdig2omega mbox2omega 18REPLACE_PERL= dbi2omega htdig2omega mbox2omega
20 19

cvs diff -r1.2 -r1.3 pkgsrc/textproc/xapian-omega/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/xapian-omega/distinfo 2008/07/27 04:06:00 1.2
+++ pkgsrc/textproc/xapian-omega/distinfo 2009/01/07 22:40:14 1.3
@@ -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
3SHA1 (xapian-omega-1.0.7.tar.gz) = a765c1d26f82bb25f4d1844757c0dddbc25a9f0d 3SHA1 (xapian-omega-1.0.10.tar.gz) = 135a948efa841ca968ff676b855e834a5e9f6cd8
4RMD160 (xapian-omega-1.0.7.tar.gz) = 28d3171dd426e692b85e0ee4329bb4a7c0d4879e 4RMD160 (xapian-omega-1.0.10.tar.gz) = fd7a3db0b2691b7c32b34b45ecd0e2cb413eccc5
5Size (xapian-omega-1.0.7.tar.gz) = 498784 bytes 5Size (xapian-omega-1.0.10.tar.gz) = 501840 bytes
6SHA1 (patch-aa) = ce457e51d62ecc8833b1f1f7b9aaeddf6f39bf98 6SHA1 (patch-aa) = ce457e51d62ecc8833b1f1f7b9aaeddf6f39bf98
7SHA1 (patch-ab) = 6e845f6a61d7e36715b4a1bde217ff31ea0999e5 7SHA1 (patch-ab) = 6e845f6a61d7e36715b4a1bde217ff31ea0999e5
8SHA1 (patch-ac) = e8c47ba1e3853f54d8fffc90d55318b7d3c2047f 8SHA1 (patch-ac) = e8c47ba1e3853f54d8fffc90d55318b7d3c2047f
9SHA1 (patch-ad) = 1aa0b8d7a3a78d96edd087669ff46b76d1420a19 9SHA1 (patch-ad) = 1aa0b8d7a3a78d96edd087669ff46b76d1420a19
10SHA1 (patch-ae) = 1ebbce6ca463f12575baafef3a1acd3c2640bb5b 10SHA1 (patch-ae) = 1ebbce6ca463f12575baafef3a1acd3c2640bb5b
11SHA1 (patch-af) = 9f7536a6f3eb4001043acf010ba600b1803480c6 11SHA1 (patch-af) = 4091131fc560c2491a613ddce11eba044adbac6c

cvs diff -r1.1 -r1.2 pkgsrc/textproc/xapian-omega/patches/Attic/patch-af (expand / switch to unified diff)

--- pkgsrc/textproc/xapian-omega/patches/Attic/patch-af 2008/07/27 04:06:00 1.1
+++ pkgsrc/textproc/xapian-omega/patches/Attic/patch-af 2009/01/07 22:40:14 1.2
@@ -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);