410d26d738
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 </body> 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.
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2010/02/16 14:53:13 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= xapian-omega-1.0.18
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://oligarchy.co.uk/xapian/1.0.18/
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://xapian.org/docs/omega/overview.html
|
|
COMMENT= Search engine application for websites using Xapian
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
USE_LIBTOOL= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= perl:run
|
|
|
|
TEST_TARGET= check
|
|
|
|
REPLACE_PERL= dbi2omega htdig2omega mbox2omega
|
|
|
|
SUBST_CLASSES+= files
|
|
SUBST_STAGE.files= do-configure
|
|
SUBST_FILES.files= omega.conf
|
|
SUBST_SED.files= -e "s|@VARBASE@|${VARBASE}|g"
|
|
SUBST_MESSAGE.files= Fixing configuration files.
|
|
|
|
OWN_DIRS+= ${VARBASE}/log/${PKGBASE}
|
|
OWN_DIRS+= ${VARBASE}/${PKGBASE}/cdb
|
|
OWN_DIRS+= ${VARBASE}/${PKGBASE}/data
|
|
OWN_DIRS+= ${VARBASE}/${PKGBASE}/templates
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
CONF_FILES+= ${EGDIR}/omega.conf ${PKG_SYSCONFDIR}/omega.conf
|
|
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
|
|
INSTALL_TARGET= install install-dist_sysconfDATA
|
|
INSTALL_MAKE_FLAGS+= ${MAKE_FLAGS} sysconfdir=${EGDIR:Q}
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
.include "../../textproc/xapian/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|