summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Glagolev2009-07-02 19:25:47 +0400
committerVlad Glagolev2009-07-02 19:25:47 +0400
commit154f5feb29b97eeb6c6f47f6c2f8cd0eebf22dc9 (patch)
tree113e636e7dea61366f353f8f932f96de393dd3ae
parent2cba607915b17983b887540cc0f9b4870996a488 (diff)
mnogosearch: full featured SQL-based hypertext search engine
-rw-r--r--ChangeLog5
-rwxr-xr-xutils/mnogosearch/BUILD6
-rwxr-xr-xutils/mnogosearch/CONFIGURE6
-rwxr-xr-xutils/mnogosearch/DEPENDS36
-rwxr-xr-xutils/mnogosearch/DETAILS17
-rw-r--r--utils/mnogosearch/HISTORY2
-rwxr-xr-xutils/mnogosearch/PRE_BUILD4
-rw-r--r--utils/mnogosearch/doc.patch25
8 files changed, 100 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 29c5ce731a..7548c3c05c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2009-07-02 Vlad Glagolev <stealth@sourcemage.org>
+ * utils/mnogosearch: full featured SQL-based hypertext search engine
+
2009-07-02 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* audio-creation/aeolus: new spell, a pipe organ emulator
@@ -37,7 +40,7 @@
submitted by Bor Kraljic <pyrobor@ver.si>
2009-06-18 Treeve Jelbert <treeve@sourcemage.org>
- * perl-cpan/dbd-pglite: new spell, PostgreSQL emulation mode for SQLite
+ * perl-cpan/dbd-pglite: new spell, PostgreSQL emulation mode for SQLite
2009-06-17 Ladislav Hagara <hgr@vabo.cz>
* video/minitube: new spell, a native YouTube client
diff --git a/utils/mnogosearch/BUILD b/utils/mnogosearch/BUILD
new file mode 100755
index 0000000000..1a861d3cea
--- /dev/null
+++ b/utils/mnogosearch/BUILD
@@ -0,0 +1,6 @@
+OPTS="--sysconfdir=$INSTALL_ROOT/etc/mnogosearch \
+ --localstatedir=$INSTALL_ROOT/var/spool/mnogosearch \
+ --datadir=$INSTALL_ROOT/usr/share/mnogosearch \
+ $MNOGOSEARCH_OPTS $OPTS" &&
+
+default_build
diff --git a/utils/mnogosearch/CONFIGURE b/utils/mnogosearch/CONFIGURE
new file mode 100755
index 0000000000..5f80fcaf11
--- /dev/null
+++ b/utils/mnogosearch/CONFIGURE
@@ -0,0 +1,6 @@
+config_query_option MNOGOSEARCH_OPTS "Enable POSIX pthreads?" y \
+ "--enable-pthreads" \
+ "--disable-pthreads" &&
+
+config_query_option MNOGOSEARCH_OPTS "Build the documentation?" n \
+ "--with-docs" ""
diff --git a/utils/mnogosearch/DEPENDS b/utils/mnogosearch/DEPENDS
new file mode 100755
index 0000000000..822b07ccab
--- /dev/null
+++ b/utils/mnogosearch/DEPENDS
@@ -0,0 +1,36 @@
+optional_depends SYSTEM-LOGGER \
+ "--enable-syslog" \
+ "--disable-syslog" \
+ "for syslog support"
+
+optional_depends openssl \
+ "--with-openssl" "" \
+ "to include OpenSSL support" &&
+
+optional_depends zlib \
+ "--with-zlib" "" \
+ "for HTTP Content-Encoding support" &&
+
+optional_depends readline \
+ "--with-readline" "" \
+ "for readline support for SQL monitor" &&
+
+optional_depends mysql \
+ "--with-mysql" "" \
+ "to include MySQL support" &&
+
+optional_depends postgresql \
+ "--with-pgsql" "" \
+ "to include PostgreSQL support" &&
+
+optional_depends libiodbc \
+ "--with-iodbc" "" \
+ "to include iODBC support" &&
+
+optional_depends unixodbc \
+ "--with-unixODBC" "" \
+ "to include unixODBC support" &&
+
+optional_depends sqlite \
+ "--with-sqlite3" "" \
+ "to include SQLite3 support"
diff --git a/utils/mnogosearch/DETAILS b/utils/mnogosearch/DETAILS
new file mode 100755
index 0000000000..440f15eacf
--- /dev/null
+++ b/utils/mnogosearch/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=mnogosearch
+ VERSION=3.3.9
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=http://www.mnogosearch.org/Download/$SOURCE
+ SOURCE_HASH=sha512:9033a1a981c2d71a600c18022156c8421ac2c02302f46bb8f34418233dc691576ab38dc2c81b3bd359936847e1149688b6ae20e6ccd7c34668460c29bb36dd53
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://www.mnogosearch.org/
+ LICENSE[0]=GPL
+ ENTERED=20090702
+ SHORT="full featured SQL-based hypertext search engine"
+cat << EOF
+mnoGoSearch is a full featured SQL-based search engine for intranet or small
+domain Internet web servers. You can also use it to build specialized search
+engines such as cooking recipies or searching newspaper articles.
+
+Provides pre-built web search frontend in C (via CGI).
+EOF
diff --git a/utils/mnogosearch/HISTORY b/utils/mnogosearch/HISTORY
new file mode 100644
index 0000000000..3e6cff363c
--- /dev/null
+++ b/utils/mnogosearch/HISTORY
@@ -0,0 +1,2 @@
+2009-07-02 Vlad Glagolev <stealth@sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, CONFIGURE, PRE_BUILD, doc.patch: spell created
diff --git a/utils/mnogosearch/PRE_BUILD b/utils/mnogosearch/PRE_BUILD
new file mode 100755
index 0000000000..7468284be8
--- /dev/null
+++ b/utils/mnogosearch/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/doc.patch"
diff --git a/utils/mnogosearch/doc.patch b/utils/mnogosearch/doc.patch
new file mode 100644
index 0000000000..a6958ed82b
--- /dev/null
+++ b/utils/mnogosearch/doc.patch
@@ -0,0 +1,25 @@
+--- doc/Makefile.in.orig Mon Mar 28 23:59:54 2005
++++ doc/Makefile.in Fri Jun 10 15:32:00 2005
+@@ -174,7 +174,7 @@
+ build_vendor = @build_vendor@
+ datadir = @datadir@
+ db_PROGS = @db_PROGS@
+-doc_FILES = ${@doc_FILES@}
++doc_FILES = ${HTML_ALL}
+ efOBJ = @efOBJ@
+ exec_prefix = @exec_prefix@
+ host = @host@
+@@ -687,11 +687,11 @@
+
+
+ install-data-local: $(doc_FILES)
+- $(mkinstalldirs) $(DESTDIR)$(prefix)/doc
++ $(mkinstalldirs) $(DESTDIR)$(prefix)/share/doc/mnogosearch
+ echo ${INSTALL_DATA} docs $(DESTDIR)$(prefix)/doc/
+ list='${doc_FILES}'; \
+ for p in $$list; do \
+- ${INSTALL_DATA} $(srcdir)/$$p $(DESTDIR)$(prefix)/doc/ ; \
++ ${INSTALL_DATA} $(srcdir)/$$p $(DESTDIR)$(prefix)/share/doc/mnogosearch ; \
+ done
+
+ uninstall-local: