diff options
Diffstat (limited to 'openbsd/3rdparty/htdig')
-rw-r--r-- | openbsd/3rdparty/htdig/Makefile | 40 | ||||
-rw-r--r-- | openbsd/3rdparty/htdig/distinfo | 2 | ||||
-rw-r--r-- | openbsd/3rdparty/htdig/patches/patch-config-xss | 24 | ||||
-rw-r--r-- | openbsd/3rdparty/htdig/patches/patch-htsearch_Collection.h | 14 | ||||
-rw-r--r-- | openbsd/3rdparty/htdig/pkg/DESCR | 11 | ||||
-rw-r--r-- | openbsd/3rdparty/htdig/pkg/PFRAG.shared | 13 | ||||
-rw-r--r-- | openbsd/3rdparty/htdig/pkg/PLIST | 217 |
7 files changed, 321 insertions, 0 deletions
diff --git a/openbsd/3rdparty/htdig/Makefile b/openbsd/3rdparty/htdig/Makefile new file mode 100644 index 000000000..8b2d4ca3b --- /dev/null +++ b/openbsd/3rdparty/htdig/Makefile @@ -0,0 +1,40 @@ +# Created by: Bill Fumerola <[email protected]> +# $FreeBSD$ + +PORTNAME= htdig +PORTVERSION= 3.2.0.b6 +PORTREVISION= 5 +CATEGORIES= textproc www x11/trinity +MASTER_SITES= http://downloads.sourceforge.net/project/htdig/htdig/3.2.0b6/ +DISTNAME= htdig-3.2.0b6 + +MAINTAINER= [email protected] +COMMENT= WWW indexing and searching system + +PERMIT_PACKAGE_CDROM= Yes + +CONFIGURE_STYLE=gnu +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-config-dir=${PREFIX}/etc/htdig \ + --with-default-config-file=${PREFIX}/etc/htdig/htdig.conf \ + --with-common-dir=${PREFIX}/share/htdig/common \ + --with-database-dir=${PREFIX}/share/htdig/database \ + --with-cgi-bin-dir=${PREFIX}/www/cgi-bin \ + --with-search-dir=${PREFIX}/www/data \ + --with-image-dir=${PREFIX}/www/icons/htdig \ + --with-image-url-prefix=/icons/htdig \ + --with-ssl +USES= libtool +USE_LDCONFIG= yes + +OPTIONS_DEFINE= APACHE DOCS +OPTIONS_DEFAULT= APACHE + +APACHE_USE= APACHE=22+ +APACHE_CONFIGURE_ON= --with-apache=${LOCALBASE}/sbin +APACHE_PLIST_DIRSTRY= www/cgi-bin www/data www/icons + +PORTDOCS= * + + +.include <bsd.port.mk> diff --git a/openbsd/3rdparty/htdig/distinfo b/openbsd/3rdparty/htdig/distinfo new file mode 100644 index 000000000..f137bc830 --- /dev/null +++ b/openbsd/3rdparty/htdig/distinfo @@ -0,0 +1,2 @@ +SHA256 (htdig-3.2.0b6.tar.gz) = bang7oYn1TAvVoWhs+XeXx5ujfTAqSwMoAeWvKnlRsg= +SIZE (htdig-3.2.0b6.tar.gz) = 3104936 diff --git a/openbsd/3rdparty/htdig/patches/patch-config-xss b/openbsd/3rdparty/htdig/patches/patch-config-xss new file mode 100644 index 000000000..32a044a7b --- /dev/null +++ b/openbsd/3rdparty/htdig/patches/patch-config-xss @@ -0,0 +1,24 @@ +--- htsearch/htsearch.cc.orig Fri May 28 06:15:24 2004 ++++ htsearch/htsearch.cc Mon Sep 12 23:16:06 2005 +@@ -211,8 +211,7 @@ + } + if (access((char*)configFile, R_OK) < 0) + { +- reportError(form("Unable to read configuration file '%s'", +- configFile.get())); ++ reportError("Unable to read configuration file"); + } + config->Read(configFile); + +--- htsearch/qtest.cc.orig Fri May 28 06:15:25 2004 ++++ htsearch/qtest.cc Mon Sep 12 23:19:49 2005 +@@ -132,8 +132,7 @@ + + if (access((char*)configFile, R_OK) < 0) + { +- reportError(form("Unable to find configuration file '%s'", +- configFile.get())); ++ reportError("Unable to find configuration file"); + } + + config->Read(configFile); diff --git a/openbsd/3rdparty/htdig/patches/patch-htsearch_Collection.h b/openbsd/3rdparty/htdig/patches/patch-htsearch_Collection.h new file mode 100644 index 000000000..d2b25ad32 --- /dev/null +++ b/openbsd/3rdparty/htdig/patches/patch-htsearch_Collection.h @@ -0,0 +1,14 @@ +--- htsearch/Collection.h.orig Fri May 28 06:15:24 2004 ++++ htsearch/Collection.h Mon Dec 18 00:17:56 2006 +@@ -36,9 +36,9 @@ + const char *docExcerpt); + ~Collection(); + +- void Collection::Open(); ++ void Open(); + +- void Collection::Close(); ++ void Close(); + + char *getWordFile() { return wordFile.get(); } + DocumentRef *getDocumentRef(int id); diff --git a/openbsd/3rdparty/htdig/pkg/DESCR b/openbsd/3rdparty/htdig/pkg/DESCR new file mode 100644 index 000000000..55ed9559f --- /dev/null +++ b/openbsd/3rdparty/htdig/pkg/DESCR @@ -0,0 +1,11 @@ + The ht://Dig system is a complete world wide web indexing and +searching system for a domain or intranet. This system is not meant +to replace the need for powerful internet-wide search systems like +Yahoo! or Google. Instead it is meant to cover the needs for a +single company, campus, or even a sub section of a web site. + + As opposed to some WAIS-based or web-server based search engines, +ht://Dig can span many web servers as long as they all understand +the HTTP 1.0 protocol. + +WWW: http://www.htdig.org/ diff --git a/openbsd/3rdparty/htdig/pkg/PFRAG.shared b/openbsd/3rdparty/htdig/pkg/PFRAG.shared new file mode 100644 index 000000000..556b9e326 --- /dev/null +++ b/openbsd/3rdparty/htdig/pkg/PFRAG.shared @@ -0,0 +1,13 @@ +@comment $OpenBSD$ +lib/htdig/libcommon-3.2.0.so +lib/htdig/libcommon.so +lib/htdig/libfuzzy-3.2.0.so +lib/htdig/libfuzzy.so +lib/htdig/libht-3.2.0.so +lib/htdig/libht.so +lib/htdig/libhtnet-3.2.0.so +lib/htdig/libhtnet.so +lib/htdig/libhtword-3.2.0.so +lib/htdig/libhtword.so +lib/htdig_db/libhtdb-3.2.0.so +lib/htdig_db/libhtdb.so diff --git a/openbsd/3rdparty/htdig/pkg/PLIST b/openbsd/3rdparty/htdig/pkg/PLIST new file mode 100644 index 000000000..94438e0bb --- /dev/null +++ b/openbsd/3rdparty/htdig/pkg/PLIST @@ -0,0 +1,217 @@ +@comment $OpenBSD$ +%%SHARED%% +bin/HtFileType +@bin bin/htdb_dump +@bin bin/htdb_load +@bin bin/htdb_stat +@bin bin/htdig +@bin bin/htdump +@bin bin/htfuzzy +@bin bin/htload +@bin bin/htmerge +@bin bin/htnotify +@bin bin/htpurge +@bin bin/htstat +bin/rundig +etc/ +etc/htdig/ +etc/htdig/HtFileType-magic.mime +etc/htdig/cookies.txt +etc/htdig/htdig.conf +etc/htdig/mime.types +include/htdig/ +include/htdig/Configuration.h +include/htdig/Connection.h +include/htdig/DB2_db.h +include/htdig/Database.h +include/htdig/Dictionary.h +include/htdig/HtCodec.h +include/htdig/HtCookie.h +include/htdig/HtCookieInFileJar.h +include/htdig/HtCookieJar.h +include/htdig/HtCookieMemJar.h +include/htdig/HtDateTime.h +include/htdig/HtFTP.h +include/htdig/HtFile.h +include/htdig/HtHTTP.h +include/htdig/HtHTTPBasic.h +include/htdig/HtHTTPSecure.h +include/htdig/HtHeap.h +include/htdig/HtMaxMin.h +include/htdig/HtNNTP.h +include/htdig/HtPack.h +include/htdig/HtRandom.h +include/htdig/HtRegex.h +include/htdig/HtRegexList.h +include/htdig/HtRegexReplace.h +include/htdig/HtRegexReplaceList.h +include/htdig/HtTime.h +include/htdig/HtVector.h +include/htdig/HtVectorGeneric.h +include/htdig/HtVectorGenericCode.h +include/htdig/HtVector_String.h +include/htdig/HtVector_int.h +include/htdig/HtWordCodec.h +include/htdig/HtWordType.h +include/htdig/IntObject.h +include/htdig/List.h +include/htdig/Object.h +include/htdig/ParsedString.h +include/htdig/Queue.h +include/htdig/QuotedStringList.h +include/htdig/SSLConnection.h +include/htdig/Stack.h +include/htdig/StringList.h +include/htdig/StringMatch.h +include/htdig/Transport.h +include/htdig/WordBitCompress.h +include/htdig/WordCaseIsAStatements.h +include/htdig/WordContext.h +include/htdig/WordCursor.h +include/htdig/WordDB.h +include/htdig/WordDBCompress.h +include/htdig/WordDBInfo.h +include/htdig/WordDBPage.h +include/htdig/WordKey.h +include/htdig/WordKeyInfo.h +include/htdig/WordList.h +include/htdig/WordMonitor.h +include/htdig/WordRecord.h +include/htdig/WordRecordInfo.h +include/htdig/WordReference.h +include/htdig/WordStat.h +include/htdig/WordType.h +include/htdig/ber.h +include/htdig/clib.h +include/htdig/good_strtok.h +include/htdig/gregex.h +include/htdig/htString.h +include/htdig/htconfig.h +include/htdig/lib.h +include/htdig/libdefs.h +include/htdig/md5.h +include/htdig/mhash_md5.h +include/htdig/myqsort.h +include/htdig_db/ +include/htdig_db/btree.h +include/htdig_db/btree_auto.h +include/htdig_db/btree_ext.h +include/htdig_db/common_ext.h +include/htdig_db/crdel_auto.h +include/htdig_db/db.h +include/htdig_db/db_am.h +include/htdig_db/db_auto.h +include/htdig_db/db_config.h +include/htdig_db/db_dispatch.h +include/htdig_db/db_ext.h +include/htdig_db/db_int.h +include/htdig_db/db_join.h +include/htdig_db/db_page.h +include/htdig_db/db_shash.h +include/htdig_db/db_swap.h +include/htdig_db/debug.h +include/htdig_db/env_ext.h +include/htdig_db/hash.h +include/htdig_db/hash_auto.h +include/htdig_db/hash_ext.h +include/htdig_db/lock.h +include/htdig_db/lock_ext.h +include/htdig_db/log.h +include/htdig_db/log_auto.h +include/htdig_db/log_ext.h +include/htdig_db/mp.h +include/htdig_db/mp_ext.h +include/htdig_db/mutex.h +include/htdig_db/mutex_ext.h +include/htdig_db/os.h +include/htdig_db/os_ext.h +include/htdig_db/os_jump.h +include/htdig_db/qam.h +include/htdig_db/qam_auto.h +include/htdig_db/qam_ext.h +include/htdig_db/queue.h +include/htdig_db/region.h +include/htdig_db/shqueue.h +include/htdig_db/txn.h +include/htdig_db/txn_auto.h +include/htdig_db/txn_ext.h +include/htdig_db/xa.h +include/htdig_db/xa_ext.h +lib/htdig/ +lib/htdig/libcommon.a +lib/htdig/libcommon.la +lib/htdig/libfuzzy.a +lib/htdig/libfuzzy.la +lib/htdig/libht.a +lib/htdig/libht.la +lib/htdig/libhtnet.a +lib/htdig/libhtnet.la +lib/htdig/libhtword.a +lib/htdig/libhtword.la +lib/htdig_db/ +lib/htdig_db/libhtdb.a +lib/htdig_db/libhtdb.la +@man man/man1/htdig-pdfparser.1 +@man man/man1/htdig.1 +@man man/man1/htdump.1 +@man man/man1/htfuzzy.1 +@man man/man1/htload.1 +@man man/man1/htmerge.1 +@man man/man1/htnotify.1 +@man man/man1/htpurge.1 +@man man/man1/htsearch.1 +@man man/man1/htstat.1 +@man man/man1/rundig.1 +@man man/man8/htdigconfig.8 +share/htdig/ +share/htdig/common/ +share/htdig/common/bad_words +share/htdig/common/english.0 +share/htdig/common/english.aff +share/htdig/common/footer.html +share/htdig/common/header.html +share/htdig/common/long.html +share/htdig/common/nomatch.html +share/htdig/common/short.html +share/htdig/common/synonyms +share/htdig/common/syntax.html +share/htdig/common/wrapper.html +share/htdig/database/ +www/ +www/cgi-bin/ +@bin www/cgi-bin/htsearch +@bin www/cgi-bin/qtest +www/data/ +www/data/search.html +www/icons/ +www/icons/htdig/ +www/icons/htdig/button1.gif +www/icons/htdig/button1.png +www/icons/htdig/button10.gif +www/icons/htdig/button10.png +www/icons/htdig/button2.gif +www/icons/htdig/button2.png +www/icons/htdig/button3.gif +www/icons/htdig/button3.png +www/icons/htdig/button4.gif +www/icons/htdig/button4.png +www/icons/htdig/button5.gif +www/icons/htdig/button5.png +www/icons/htdig/button6.gif +www/icons/htdig/button6.png +www/icons/htdig/button7.gif +www/icons/htdig/button7.png +www/icons/htdig/button8.gif +www/icons/htdig/button8.png +www/icons/htdig/button9.gif +www/icons/htdig/button9.png +www/icons/htdig/buttonl.gif +www/icons/htdig/buttonl.png +www/icons/htdig/buttonr.gif +www/icons/htdig/buttonr.png +www/icons/htdig/htdig.gif +www/icons/htdig/htdig.png +www/icons/htdig/star.gif +www/icons/htdig/star.png +www/icons/htdig/star_blank.gif +www/icons/htdig/star_blank.png |