pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/xapian-omega Initial import of Omega, which o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2560f8569adf
branches:  trunk
changeset: 545111:2560f8569adf
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Jul 26 23:37:29 2008 +0000

description:
Initial import of Omega, which operates on a set of Xapian databases.
Each database is created and updated separately using either omindex
or scriptindex. You can search these databases (or any other Xapian
database with suitable contents) via a web front-end provided by
omega, a CGI application.  A search can also be done over more than
one database at once.

diffstat:

 textproc/xapian-omega/DESCR            |   5 ++++
 textproc/xapian-omega/Makefile         |  40 ++++++++++++++++++++++++++++++++++
 textproc/xapian-omega/PLIST            |  22 ++++++++++++++++++
 textproc/xapian-omega/distinfo         |   7 +++++
 textproc/xapian-omega/patches/patch-aa |  37 +++++++++++++++++++++++++++++++
 textproc/xapian-omega/patches/patch-ab |  20 +++++++++++++++++
 6 files changed, 131 insertions(+), 0 deletions(-)

diffs (155 lines):

diff -r 6c03337bcfae -r 2560f8569adf textproc/xapian-omega/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xapian-omega/DESCR       Sat Jul 26 23:37:29 2008 +0000
@@ -0,0 +1,5 @@
+Omega operates on a set of databases. Each database is created and
+updated separately using either omindex or scriptindex. You can
+search these databases (or any other Xapian database with suitable
+contents) via a web front-end provided by omega, a CGI application.
+A search can also be done over more than one database at once.
diff -r 6c03337bcfae -r 2560f8569adf textproc/xapian-omega/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xapian-omega/Makefile    Sat Jul 26 23:37:29 2008 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/26 23:37:29 schmonz Exp $
+#
+
+DISTNAME=              xapian-omega-1.0.7
+CATEGORIES=            textproc
+MASTER_SITES=          http://oligarchy.co.uk/xapian/1.0.7/
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              http://xapian.org/docs/omega/overview.html
+COMMENT=               Search engine application for websites using Xapian
+
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
+USE_LIBTOOL=           yes
+USE_LANGUAGES=         c c++
+
+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 "../../mk/bsd.pkg.mk"
diff -r 6c03337bcfae -r 2560f8569adf textproc/xapian-omega/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xapian-omega/PLIST       Sat Jul 26 23:37:29 2008 +0000
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/07/26 23:37:29 schmonz Exp $
+bin/dbi2omega
+bin/htdig2omega
+bin/mbox2omega
+bin/omindex
+bin/scriptindex
+libexec/cgi-bin/xapian-omega
+man/man1/omindex.1
+man/man1/scriptindex.1
+share/doc/xapian-omega/cgiparams.html
+share/doc/xapian-omega/omegascript.html
+share/doc/xapian-omega/overview.html
+share/doc/xapian-omega/quickstart.html
+share/doc/xapian-omega/scriptindex.html
+share/doc/xapian-omega/termprefixes.html
+share/examples/xapian-omega/omega.conf
+share/xapian-omega/htdig2omega.script
+share/xapian-omega/mbox2omega.script
+@unexec ${RMDIR} %D/libexec/cgi-bin 2>/dev/null || ${TRUE}
+@dirrm share/xapian-omega
+@dirrm share/examples/xapian-omega
+@dirrm share/doc/xapian-omega
diff -r 6c03337bcfae -r 2560f8569adf textproc/xapian-omega/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xapian-omega/distinfo    Sat Jul 26 23:37:29 2008 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/07/26 23:37:29 schmonz Exp $
+
+SHA1 (xapian-omega-1.0.7.tar.gz) = a765c1d26f82bb25f4d1844757c0dddbc25a9f0d
+RMD160 (xapian-omega-1.0.7.tar.gz) = 28d3171dd426e692b85e0ee4329bb4a7c0d4879e
+Size (xapian-omega-1.0.7.tar.gz) = 498784 bytes
+SHA1 (patch-aa) = ce457e51d62ecc8833b1f1f7b9aaeddf6f39bf98
+SHA1 (patch-ab) = 6e845f6a61d7e36715b4a1bde217ff31ea0999e5
diff -r 6c03337bcfae -r 2560f8569adf textproc/xapian-omega/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xapian-omega/patches/patch-aa    Sat Jul 26 23:37:29 2008 +0000
@@ -0,0 +1,37 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/07/26 23:37:29 schmonz Exp $
+
+--- Makefile.in.orig   2008-07-16 00:46:59.000000000 -0400
++++ Makefile.in
+@@ -35,7 +35,7 @@ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+-pkglibbin_PROGRAMS = omega$(EXEEXT)
++pkglibbin_PROGRAMS = xapian-omega$(EXEEXT)
+ bin_PROGRAMS = omindex$(EXEEXT) scriptindex$(EXEEXT)
+ check_PROGRAMS = htmlparsetest$(EXEEXT) md5test$(EXEEXT) \
+       utf8converttest$(EXEEXT)
+@@ -332,10 +332,10 @@ EXTRA_DIST = \
+       xapian-omega.spec
+ 
+ AM_CPPFLAGS = -DCONFIGFILE_SYSTEM=\"$(sysconfdir)/omega.conf\"
+-pkglibbindir = $(pkglibdir)/bin
++pkglibbindir = $(libexecdir)/cgi-bin
+ dist_bin_SCRIPTS = dbi2omega htdig2omega mbox2omega
+ TESTS = htmlparsetest$(EXEEXT) md5test$(EXEEXT) utf8converttest$(EXEEXT)
+-omegadatadir = $(datadir)/omega
++omegadatadir = $(datadir)/xapian-omega
+ dist_omegadata_DATA = htdig2omega.script mbox2omega.script
+ dist_sysconf_DATA = omega.conf
+ 
+@@ -506,8 +506,8 @@ htmlparsetest$(EXEEXT): $(htmlparsetest_
+ md5test$(EXEEXT): $(md5test_OBJECTS) $(md5test_DEPENDENCIES) 
+       @rm -f md5test$(EXEEXT)
+       $(CXXLINK) $(md5test_OBJECTS) $(md5test_LDADD) $(LIBS)
+-omega$(EXEEXT): $(omega_OBJECTS) $(omega_DEPENDENCIES) 
+-      @rm -f omega$(EXEEXT)
++xapian-omega$(EXEEXT): $(omega_OBJECTS) $(omega_DEPENDENCIES) 
++      @rm -f xapian-omega$(EXEEXT)
+       $(CXXLINK) $(omega_OBJECTS) $(omega_LDADD) $(LIBS)
+ omindex$(EXEEXT): $(omindex_OBJECTS) $(omindex_DEPENDENCIES) 
+       @rm -f omindex$(EXEEXT)
diff -r 6c03337bcfae -r 2560f8569adf textproc/xapian-omega/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xapian-omega/patches/patch-ab    Sat Jul 26 23:37:29 2008 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/07/26 23:37:29 schmonz Exp $
+
+--- omega.conf.orig    2008-07-16 00:42:17.000000000 -0400
++++ omega.conf
+@@ -1,11 +1,11 @@
+ # Directory containing Xapian databases:
+-database_dir /var/lib/omega/data
++database_dir @VARBASE@/xapian-omega/data
+ 
+ # Directory containing OmegaScript templates:
+-template_dir /var/lib/omega/templates
++template_dir @VARBASE@/xapian-omega/templates
+ 
+ # Directory to write Omega logs to:
+-log_dir /var/log/omega
++log_dir @VARBASE@/log/xapian-omega
+ 
+ # Directory containing any cdb files for the $lookup OmegaScript command:
+-cdb_dir /var/lib/omega/cdb
++cdb_dir @VARBASE@/xapian-omega/cdb



Home | Main Index | Thread Index | Old Index