aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-01-28 18:33:12 +0800
committerache <ache@FreeBSD.org>2001-01-28 18:33:12 +0800
commitce76ac51828d34cfb51c66da281fa9331eb7d12b (patch)
tree2d48906173755160181fa60e4ce71b57fd37f9f9
parent8224c5364ab82ed2855bc874ec1ab8dc6820e6fd (diff)
downloadfreebsd-ports-graphics-ce76ac51828d34cfb51c66da281fa9331eb7d12b.tar.gz
freebsd-ports-graphics-ce76ac51828d34cfb51c66da281fa9331eb7d12b.tar.zst
freebsd-ports-graphics-ce76ac51828d34cfb51c66da281fa9331eb7d12b.zip
Former udmsearch, development branch
-rw-r--r--www/Makefile1
-rw-r--r--www/mnoGoSearch/Makefile66
-rw-r--r--www/mnoGoSearch/distinfo1
-rw-r--r--www/mnoGoSearch/files/patch-aa16
-rw-r--r--www/mnoGoSearch/files/patch-ab13
-rw-r--r--www/mnoGoSearch/files/patch-ac11
-rw-r--r--www/mnoGoSearch/pkg-comment1
-rw-r--r--www/mnoGoSearch/pkg-descr7
-rw-r--r--www/mnoGoSearch/pkg-message6
-rw-r--r--www/mnoGoSearch/pkg-plist162
10 files changed, 284 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index d58dcf0410a..c0970e3d29b 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -98,6 +98,7 @@
SUBDIR += mathopd
SUBDIR += mhonarc
SUBDIR += mmosaic
+ SUBDIR += mnoGoSearch
SUBDIR += mod_access_referer
SUBDIR += mod_auth_mysql
SUBDIR += mod_auth_pgsql
diff --git a/www/mnoGoSearch/Makefile b/www/mnoGoSearch/Makefile
new file mode 100644
index 00000000000..ab8efefd0ee
--- /dev/null
+++ b/www/mnoGoSearch/Makefile
@@ -0,0 +1,66 @@
+# New ports collection makefile for: mnoGoSearch
+# Date created: 27.01.2001
+# Whom: ache
+#
+# $FreeBSD$
+#
+
+PORTNAME= mnogosearch
+PORTVERSION= 3.1.9
+CATEGORIES= www databases
+MASTER_SITES= http://search.mnogo.ru/Download/
+
+MAINTAINER= ache@FreeBSD.org
+
+MAN1= indexer.1
+MAN5= indexer.conf.5
+
+NO_LATEST_LINK= yes
+
+INSTALLS_SHLIB= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-shared \
+ --enable-charset-guesser \
+ --sysconfdir=${PREFIX}/etc/mnogosearch \
+ --localstatedir=/var/mnogosearch
+
+.if defined(WITH_MNOGO_PGSQL)
+LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
+CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE}/pgsql
+
+.elif defined(WITH_MNOGO_MSQL)
+LIB_DEPENDS= msql.1:${PORTSDIR}/databases/msql
+CONFIGURE_ARGS+= --with-msql=${LOCALBASE}
+
+.else
+# default to mysql
+
+LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
+CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
+
+.if !defined(WITH_MNOGO_MYSQL)
+pre-fetch:
+ @${ECHO}
+ @${ECHO} "Defaulting to mnoGoSearch with mysql support."
+ @${ECHO}
+ @${ECHO} "You may alternately build mnoGoSearch with either msql or"
+ @${ECHO} "postgresql support by invoking make with WITH_MNOGO_MSQL=yes or"
+ @${ECHO} "WITH_MNOGO_PGSQL=yes respectively."
+ @${ECHO}
+.endif
+
+.endif
+
+pre-install:
+ @${MKDIR} ${PREFIX}/share/mnogosearch
+
+post-install:
+ @cp -R ${WRKSRC}/create ${PREFIX}/share/mnogosearch
+ @${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/mnogosearch
+ @strip ${PREFIX}/sbin/indexer
+ @strip ${PREFIX}/share/mnogosearch/search.cgi
+ @${ECHO}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/mnoGoSearch/distinfo b/www/mnoGoSearch/distinfo
new file mode 100644
index 00000000000..3a5d3bf31c6
--- /dev/null
+++ b/www/mnoGoSearch/distinfo
@@ -0,0 +1 @@
+MD5 (mnogosearch-3.1.9.tar.gz) = 016ba2b97e08a6dfb7a59af565dbe3aa
diff --git a/www/mnoGoSearch/files/patch-aa b/www/mnoGoSearch/files/patch-aa
new file mode 100644
index 00000000000..a68fa1fdd9b
--- /dev/null
+++ b/www/mnoGoSearch/files/patch-aa
@@ -0,0 +1,16 @@
+diff -ru ../udmsearch-3.0.19/doc/Makefile.in ./doc/Makefile.in
+--- ../udmsearch-3.0.19/doc/Makefile.in Thu Jun 15 10:27:15 2000
++++ ./doc/Makefile.in Sat Jul 8 15:09:00 2000
+@@ -273,9 +273,9 @@
+
+
+ install-data-local:
+- $(mkinstalldirs) $(prefix)/doc
+- echo ${INSTALL_DATA} docs $(DESTDIR)$(prefix)/doc/
+- ${INSTALL_DATA} ${txt_DOCS} $(DESTDIR)$(prefix)/doc/
++ $(mkinstalldirs) $(prefix)/share/doc/mnogosearch
++ echo ${INSTALL_DATA} docs $(DESTDIR)$(prefix)/share/doc/mnogosearch
++ ${INSTALL_DATA} ${txt_DOCS} $(DESTDIR)$(prefix)/share/doc/mnogosearch
+
+ dist-hook:
+ cp -rf samples $(distdir)
diff --git a/www/mnoGoSearch/files/patch-ab b/www/mnoGoSearch/files/patch-ab
new file mode 100644
index 00000000000..47b44dcb36d
--- /dev/null
+++ b/www/mnoGoSearch/files/patch-ab
@@ -0,0 +1,13 @@
+--- src/Makefile.in.orig Wed Jan 24 19:08:48 2001
++++ src/Makefile.in Sat Jan 27 19:43:13 2001
+@@ -261,8 +261,8 @@
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
+ if test -f $$p; then \
+- echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
+- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
++ echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(prefix)/share/mnogosearch/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
++ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(prefix)/share/mnogosearch/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+ else :; fi; \
+ done
+
diff --git a/www/mnoGoSearch/files/patch-ac b/www/mnoGoSearch/files/patch-ac
new file mode 100644
index 00000000000..f8965e801ef
--- /dev/null
+++ b/www/mnoGoSearch/files/patch-ac
@@ -0,0 +1,11 @@
+--- run-splitter.in.bak Wed Jan 10 15:25:43 2001
++++ run-splitter.in Sun Jan 28 12:06:37 2001
+@@ -2,7 +2,7 @@
+
+ PREFIX=@prefix@
+
+-VAR=$PREFIX/var
++VAR=/var/mnogosearch
+ SBIN=$PREFIX/sbin
+ PID=$VAR/cachelogd.pid
+ SPLITTER=$SBIN/splitter
diff --git a/www/mnoGoSearch/pkg-comment b/www/mnoGoSearch/pkg-comment
new file mode 100644
index 00000000000..16cd6e026f5
--- /dev/null
+++ b/www/mnoGoSearch/pkg-comment
@@ -0,0 +1 @@
+Full featured SQL-based hypertext search engine
diff --git a/www/mnoGoSearch/pkg-descr b/www/mnoGoSearch/pkg-descr
new file mode 100644
index 00000000000..66b00bef753
--- /dev/null
+++ b/www/mnoGoSearch/pkg-descr
@@ -0,0 +1,7 @@
+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 frontends in C (via CGI) and PHP.
+
+WWW: http://search.mnoGo.ru/
diff --git a/www/mnoGoSearch/pkg-message b/www/mnoGoSearch/pkg-message
new file mode 100644
index 00000000000..8be3bc3b687
--- /dev/null
+++ b/www/mnoGoSearch/pkg-message
@@ -0,0 +1,6 @@
+mnoGoSearch is successfully installed.
+Now, to use mnoGoSearch you need to create the appropriate *sql database
+manually: Please read INSTALL file located in ${PREFIX}/share/doc/mnogosearch.
+
+For more information on how to use udmsearch, please refer to their
+web site at http://search.mnoGo.ru/
diff --git a/www/mnoGoSearch/pkg-plist b/www/mnoGoSearch/pkg-plist
new file mode 100644
index 00000000000..36c5b122663
--- /dev/null
+++ b/www/mnoGoSearch/pkg-plist
@@ -0,0 +1,162 @@
+etc/mnogosearch/indexer.conf-dist
+etc/mnogosearch/search.htm-dist
+include/udm_agent.h
+include/udm_alias.h
+include/udm_boolean.h
+include/udm_cache.h
+include/udm_charset.h
+include/udm_common.h
+include/udm_conf.h
+include/udm_config.h
+include/udm_crc32.h
+include/udm_db.h
+include/udm_env.h
+include/udm_execget.h
+include/udm_filter.h
+include/udm_ftp.h
+include/udm_host.h
+include/udm_hrefs.h
+include/udm_http.h
+include/udm_id3.h
+include/udm_indexer.h
+include/udm_log.h
+include/udm_mimetype.h
+include/udm_mutex.h
+include/udm_os.h
+include/udm_parsehtml.h
+include/udm_parser.h
+include/udm_parseurl.h
+include/udm_proto.h
+include/udm_robots.h
+include/udm_search_tl.h
+include/udm_searchtool.h
+include/udm_server.h
+include/udm_signals.h
+include/udm_socket.h
+include/udm_spell.h
+include/udm_stopwords.h
+include/udm_utils.h
+include/udm_word.h
+include/udm_xmalloc.h
+include/udmsearch.h
+lib/libudmsearch.a
+lib/libudmsearch.la
+lib/libudmsearch-3.1.so
+@exec ln -sf %f %B/libudmsearch.so
+@unexec rm -f %B/libudmsearch.so
+sbin/cachelogd
+sbin/indexer
+sbin/run-splitter
+sbin/splitter
+bin/udm-config
+share/doc/mnogosearch/HTDB.txt
+share/doc/mnogosearch/HTTP-codes.txt
+share/doc/mnogosearch/INSTALL
+share/doc/mnogosearch/NEWS.html
+share/doc/mnogosearch/alias.txt
+share/doc/mnogosearch/bugs.txt
+share/doc/mnogosearch/cache.txt
+share/doc/mnogosearch/cachemode.txt
+share/doc/mnogosearch/categories.txt
+share/doc/mnogosearch/charset.txt
+share/doc/mnogosearch/follow.txt
+share/doc/mnogosearch/hrefonly.txt
+share/doc/mnogosearch/html.txt
+share/doc/mnogosearch/ispell.txt
+share/doc/mnogosearch/lib.txt
+share/doc/mnogosearch/mnoGoSearch-Oracle8.html
+share/doc/mnogosearch/mp3.txt
+share/doc/mnogosearch/negotiation.txt
+share/doc/mnogosearch/parsers.txt
+share/doc/mnogosearch/performance.txt
+share/doc/mnogosearch/search.txt
+share/doc/mnogosearch/srv_table.txt
+share/doc/mnogosearch/storage.txt
+share/doc/mnogosearch/syslog.txt
+share/doc/mnogosearch/tags.txt
+share/doc/mnogosearch/templates.txt
+share/doc/mnogosearch/tracking.txt
+share/doc/mnogosearch/usage.txt
+share/mnogosearch/create/ibase/create.sql
+share/mnogosearch/create/msql/crc-multi.txt
+share/mnogosearch/create/msql/crc.txt
+share/mnogosearch/create/msql/create.txt
+share/mnogosearch/create/msql/multi.txt
+share/mnogosearch/create/mssql/create.sql
+share/mnogosearch/create/mysql/categories.txt
+share/mnogosearch/create/mysql/crc-multi.txt
+share/mnogosearch/create/mysql/crc.txt
+share/mnogosearch/create/mysql/create.txt
+share/mnogosearch/create/mysql/ispell.txt
+share/mnogosearch/create/mysql/multi.txt
+share/mnogosearch/create/mysql/servers.txt
+share/mnogosearch/create/mysql/track.txt
+share/mnogosearch/create/mysql/url-raid.txt
+share/mnogosearch/create/oracle/categories.sql
+share/mnogosearch/create/oracle/crc-multi.sql
+share/mnogosearch/create/oracle/crc.sql
+share/mnogosearch/create/oracle/create.sql
+share/mnogosearch/create/oracle/multi.sql
+share/mnogosearch/create/oracle/servers.sql
+share/mnogosearch/create/oracle/track.sql
+share/mnogosearch/create/pgsql/categories.txt
+share/mnogosearch/create/pgsql/crc-multi.txt
+share/mnogosearch/create/pgsql/crc.txt
+share/mnogosearch/create/pgsql/create.txt
+share/mnogosearch/create/pgsql/grant.txt
+share/mnogosearch/create/pgsql/multi.txt
+share/mnogosearch/create/pgsql/news-extension.txt
+share/mnogosearch/create/pgsql/server.txt
+share/mnogosearch/create/pgsql/track.txt
+share/mnogosearch/create/sapdb/README
+share/mnogosearch/create/sapdb/categories.ins
+share/mnogosearch/create/sapdb/crc-multi.ins
+share/mnogosearch/create/sapdb/crc.ins
+share/mnogosearch/create/sapdb/create-all.ins
+share/mnogosearch/create/sapdb/create.ins
+share/mnogosearch/create/sapdb/create.sh
+share/mnogosearch/create/sapdb/drop.ins
+share/mnogosearch/create/sapdb/multi.ins
+share/mnogosearch/create/sapdb/track.ins
+share/mnogosearch/create/solid/README
+share/mnogosearch/create/solid/create.txt
+share/mnogosearch/create/solid/multi.txt
+share/mnogosearch/create/stopwords/stop.cz.txt
+share/mnogosearch/create/stopwords/stop.de.txt
+share/mnogosearch/create/stopwords/stop.dk.txt
+share/mnogosearch/create/stopwords/stop.en.big
+share/mnogosearch/create/stopwords/stop.en.huge
+share/mnogosearch/create/stopwords/stop.en.txt
+share/mnogosearch/create/stopwords/stop.es.txt
+share/mnogosearch/create/stopwords/stop.fr.txt
+share/mnogosearch/create/stopwords/stop.it.txt
+share/mnogosearch/create/stopwords/stop.nl.txt
+share/mnogosearch/create/stopwords/stop.no.txt
+share/mnogosearch/create/stopwords/stop.pl.txt
+share/mnogosearch/create/stopwords/stop.pt.txt
+share/mnogosearch/create/stopwords/stop.ru.txt
+share/mnogosearch/create/stopwords/stop.sk.txt
+share/mnogosearch/create/stopwords/stop.tr.txt
+share/mnogosearch/create/stopwords/stop.ua.txt
+share/mnogosearch/create/stopwords/stopword.pl
+share/mnogosearch/create/sybase/README
+share/mnogosearch/create/sybase/create.sql
+share/mnogosearch/create/virtuoso/crc.txt
+share/mnogosearch/create/virtuoso/create.txt
+share/mnogosearch/create/virtuoso/multi.txt
+share/mnogosearch/search.cgi
+@dirrm share/doc/mnogosearch
+@dirrm share/mnogosearch/create/ibase
+@dirrm share/mnogosearch/create/msql
+@dirrm share/mnogosearch/create/mssql
+@dirrm share/mnogosearch/create/mysql
+@dirrm share/mnogosearch/create/oracle
+@dirrm share/mnogosearch/create/pgsql
+@dirrm share/mnogosearch/create/sapdb
+@dirrm share/mnogosearch/create/solid
+@dirrm share/mnogosearch/create/stopwords
+@dirrm share/mnogosearch/create/sybase
+@dirrm share/mnogosearch/create/virtuoso
+@dirrm share/mnogosearch/create
+@dirrm share/mnogosearch
+@dirrm etc/mnogosearch