head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.8 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.6 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.4 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.2 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.4.0.4 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.2 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.2.0.2 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.1.0.8 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.6 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.4 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.2 cube-native-xorg-base:1.1; locks; strict; comment @# @; 1.5 date 2010.02.16.14.53.13; author wiz; state dead; branches; next 1.4; 1.4 date 2009.09.10.18.54.29; author schmonz; state Exp; branches; next 1.3; 1.3 date 2009.07.18.22.28.28; author schmonz; state Exp; branches; next 1.2; 1.2 date 2009.04.20.22.25.38; author schmonz; state Exp; branches; next 1.1; 1.1 date 2008.07.27.04.06.00; author schmonz; state Exp; branches; next ; desc @@ 1.5 log @Update to 1.0.18. The rlimit issue adressed in patches ac,ad,ae was already addressed in release 1.0.11, so remove them. Omega 1.0.18 (2010-02-14): indexers: * Make the default charset "utf-8" not "UTF-8" as we lower case explicitly specified character sets to compare to see if we need to reparse. Previously XML documents which explicitly specified their character set as UTF-8 would cause needless restart or the parser. * omindex: + Increase the wdf boost for the document title from 2 to 5, since 2 isn't really enough. * scriptindex: + Don't abort with "Unknown Exception" if indexing is disallowed or we hit for a document which had an overridden character set. Fixes ticket#410. Omega 1.0.17 (2009-11-18): indexers: * omindex: + On Linux, change the memory limit on external filters to use _SC_PHYS_PAGES since _SC_AVPHYS_PAGES excludes pages used by the OS cache and so will often report a really low value. Fixes Debian bug#548987 and ticket#358. + Fix likely crash when reading output from external filter program if read() is interrupted by a signal. + Fix potential crash when indexing PostScript files (fixed by using delete[] (not delete) for array allocated by new[]). testsuite: * utf8converttest: Charset "8859_1" isn't understood by Solaris libiconv, and isn't a standard charset name, so just test it when using our built-in converter and GNU libc. portability: * Fix build failure on Mac OS X 10.6. * Also check for socketpair() in -lxnet if it isn't found without, which enables resource limits on external filter programs called by omindex on Solaris, and possibly some other platforms. Fixes ticket#412. @ text @$NetBSD: patch-ae,v 1.4 2009/09/10 18:54:29 schmonz Exp $ --- configure.orig 2009-09-10 02:42:54.000000000 -0400 +++ configure @@@@ -15846,6 +15846,62 @@@@ fi done +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + #include + #include + #include + +int +main () +{ + + struct rlimit r; + getrlimit(RLIMIT_AS, &r); + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + + +cat >>confdefs.h <<\_ACEOF +#define HAVE_RLIMIT_AS /**/ +_ACEOF + + +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + { $as_echo "$as_me:$LINENO: checking for working ISO C90 conforming snprintf" >&5 $as_echo_n "checking for working ISO C90 conforming snprintf... " >&6; } ac_cv_func_snprintf_noniso=no @@@@ -17520,6 +17576,8 @@@@ do case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + : Avoid regenerating within pkgsrc + exit 0 ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; @ 1.4 log @Update to 1.0.16. From the changelog: * Fix cross-site scripting vulnerability in reporting of exceptions (CVE-2009-2947). @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.3 2009/07/18 22:28:28 schmonz Exp $ @ 1.3 log @Update to 1.0.13. From the changelog: * omindex: + If the filter program needed for a file format isn't installed, report this explicitly when skipping subsequent files with the extension instead of misleadingly reporting "Unknown extension". + Make -s actually work as a short-form for --stemmer (as documented by "omindex --help" and "man omindex"). + Drop the copyright info from the output of --version as it's perennially out of date and we don't report it for any other Xapian programs. * scriptindex: + Add new "valuenumeric" action to add a document value using Xapian::sortable_serialise() to allow numeric sorting (ticket#260). @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.2 2009/04/20 22:25:38 schmonz Exp $ d3 1 a3 1 --- configure.orig 2009-05-24 08:15:12.000000000 -0400 d68 1 a68 1 @@@@ -17518,6 +17574,8 @@@@ do @ 1.2 log @Update to 1.0.12. From the changelog: * $log now retries a partial write, or one interrupted by a system call. * cgiparams.html: Note the technique of using a stub database file to allow a default of searching over multiple databases. * omindex: + Add support for indexing Microsoft Office 2007 formats and XPS files (bug#290). + Fix the extraction of metadata from OpenDocument formats. + Fix "-l" which would previously always cause a segmentation fault if used ("--depth-limit" wasn't affected). * Fix to compile when RLIMIT_AS isn't available (as on NetBSD and OpenBSD). Instead use RLIMIT_VMEM or RLIMIT_DATA if either is available, else don't try to limit the memory the filter process can use. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.1 2008/07/27 04:06:00 schmonz Exp $ d3 1 a3 1 --- configure.orig 2009-04-19 08:33:22.000000000 -0400 d68 1 a68 1 @@@@ -17514,6 +17570,8 @@@@ do @ 1.1 log @Fix build on NetBSD (4.0, at least): include and avoid RLIMIT_AS on systems without it. Also fix path to Perl interpreter in installed scripts, and as a result, bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.orig 2008-07-26 23:26:32.000000000 -0400 d5 1 a5 1 @@@@ -15850,6 +15850,62 @@@@ fi d68 1 a68 1 @@@@ -17492,6 +17548,8 @@@@ do @