diff options
Diffstat (limited to 'textproc/htdig')
-rw-r--r-- | textproc/htdig/Makefile | 59 | ||||
-rw-r--r-- | textproc/htdig/distinfo | 2 | ||||
-rw-r--r-- | textproc/htdig/files/patch-config-xss | 24 | ||||
-rw-r--r-- | textproc/htdig/files/patch-db_mut__pthread.c | 15 | ||||
-rw-r--r-- | textproc/htdig/files/patch-htsearch_Collection.h | 14 | ||||
-rw-r--r-- | textproc/htdig/files/patch-htsearch_Display.cc | 20 | ||||
-rw-r--r-- | textproc/htdig/pkg-descr | 9 | ||||
-rw-r--r-- | textproc/htdig/pkg-plist | 208 |
8 files changed, 0 insertions, 351 deletions
diff --git a/textproc/htdig/Makefile b/textproc/htdig/Makefile deleted file mode 100644 index 214d934a4a88..000000000000 --- a/textproc/htdig/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -PORTNAME= htdig -PORTVERSION= 3.2.0.b6 -PORTREVISION= 8 -CATEGORIES= textproc www -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/3.2.0b6 -DISTNAME= htdig-3.2.0b6 - -MAINTAINER= ports@FreeBSD.org -COMMENT= WWW indexing and searching system -WWW= https://sourceforge.net/projects/htdig/ - -LICENSE= LGPL20+ -LICENSE_FILE= ${WRKSRC}/COPYING - -DEPRECATED= Abandonware, multiple unresolved bugs and no unicode support etc -EXPIRATION_DATE=2025-04-30 - -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -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= alias cpe libtool ssl -CPE_VENDOR= ${PORTNAME}_project -USE_CXXSTD= c++98 -USE_LDCONFIG= yes -INSTALL_TARGET= install-strip -LDFLAGS+= -L${OPENSSLLIB} -CFLAGS+= -I${OPENSSLINC} - -CONFLICTS_INSTALL= htdump mifluz # bin/htdb_dump bin/htdb_load bin/htdb_stat bin/htdump - -OPTIONS_DEFINE= APACHE DOCS -OPTIONS_DEFAULT= APACHE - -APACHE_USES= apache -APACHE_CONFIGURE_ON= --with-apache=${LOCALBASE}/sbin - -PORTDOCS= * - -post-install: - @${MV} ${STAGEDIR}${PREFIX}/etc/htdig/htdig.conf ${STAGEDIR}${PREFIX}/etc/htdig/htdig.conf.sample - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR}/html -.for f in ChangeLog ChangeLog.0 README STATUS - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} -.endfor -.for f in *.html *.gif - ${INSTALL_DATA} ${WRKSRC}/htdoc/${f} ${STAGEDIR}${DOCSDIR}/html -.endfor - -.include <bsd.port.mk> diff --git a/textproc/htdig/distinfo b/textproc/htdig/distinfo deleted file mode 100644 index a8ab799c74f6..000000000000 --- a/textproc/htdig/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (htdig-3.2.0b6.tar.gz) = 6da9e0ee8627d5302f5685a1b3e5de5f1e6e8df4c0a92c0ca00796bca9e546c8 -SIZE (htdig-3.2.0b6.tar.gz) = 3104936 diff --git a/textproc/htdig/files/patch-config-xss b/textproc/htdig/files/patch-config-xss deleted file mode 100644 index 32a044a7b3f1..000000000000 --- a/textproc/htdig/files/patch-config-xss +++ /dev/null @@ -1,24 +0,0 @@ ---- 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/textproc/htdig/files/patch-db_mut__pthread.c b/textproc/htdig/files/patch-db_mut__pthread.c deleted file mode 100644 index 1deafc8940ba..000000000000 --- a/textproc/htdig/files/patch-db_mut__pthread.c +++ /dev/null @@ -1,15 +0,0 @@ ---- db/mut_pthread.c.orig 2002-02-02 18:18:05 UTC -+++ db/mut_pthread.c -@@ -201,7 +201,11 @@ CDB___db_pthread_mutex_lock(mutexp) - * call, and Solaris delivers the signal to the wrong - * LWP. - */ -- if (ret != 0 && ret != ETIME && ret != ETIMEDOUT) -+ if (ret != 0 && -+#ifndef __FreeBSD__ -+ ret != ETIME && -+#endif -+ ret != ETIMEDOUT) - return (ret); - } - diff --git a/textproc/htdig/files/patch-htsearch_Collection.h b/textproc/htdig/files/patch-htsearch_Collection.h deleted file mode 100644 index d2b25ad32897..000000000000 --- a/textproc/htdig/files/patch-htsearch_Collection.h +++ /dev/null @@ -1,14 +0,0 @@ ---- 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/textproc/htdig/files/patch-htsearch_Display.cc b/textproc/htdig/files/patch-htsearch_Display.cc deleted file mode 100644 index 4ecb7c6fdd02..000000000000 --- a/textproc/htdig/files/patch-htsearch_Display.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- htsearch/Display.cc.orig 2023-04-10 13:24:24 UTC -+++ htsearch/Display.cc -@@ -42,7 +42,7 @@ using namespace std; - #endif /* HAVE_STD */ - - #include <stdio.h> --#include <stdlib.h> // for abs -+#include <math.h> // for fabs - #include <ctype.h> - - #ifndef _MSC_VER /* _WIN32 */ -@@ -1541,7 +1541,7 @@ Display::buildMatchList() - // seconds in a 365 days year). The formula gives less weight - // as the distance between the date document and the current time - // increases (the absolute value is for documents with future date) --#define DATE_FACTOR(df, n, dd) ((df) * 100 / (1+(double)(abs((n) - (dd)) / 31536000))) -+#define DATE_FACTOR(df, n, dd) ((df) * 100 / (1+(double)(fabs((n) - (dd)) / 31536000))) - date_score = DATE_FACTOR(date_factor, now, thisRef->DocTime()); - score += date_score; - } diff --git a/textproc/htdig/pkg-descr b/textproc/htdig/pkg-descr deleted file mode 100644 index fd7b60179738..000000000000 --- a/textproc/htdig/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ - 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. diff --git a/textproc/htdig/pkg-plist b/textproc/htdig/pkg-plist deleted file mode 100644 index e03a8668a49e..000000000000 --- a/textproc/htdig/pkg-plist +++ /dev/null @@ -1,208 +0,0 @@ -bin/HtFileType -bin/htdb_dump -bin/htdb_load -bin/htdb_stat -bin/htdig -bin/htdump -bin/htfuzzy -bin/htload -bin/htmerge -bin/htnotify -bin/htpurge -bin/htstat -bin/rundig -%%ETCDIR%%/HtFileType-magic.mime -%%ETCDIR%%/cookies.txt -@sample %%ETCDIR%%/htdig.conf.sample -%%ETCDIR%%/mime.types -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/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/libcommon-3.2.0.so -lib/htdig/libcommon.a -lib/htdig/libcommon.so -lib/htdig/libfuzzy-3.2.0.so -lib/htdig/libfuzzy.a -lib/htdig/libfuzzy.so -lib/htdig/libht-3.2.0.so -lib/htdig/libht.a -lib/htdig/libht.so -lib/htdig/libhtnet-3.2.0.so -lib/htdig/libhtnet.a -lib/htdig/libhtnet.so -lib/htdig/libhtword-3.2.0.so -lib/htdig/libhtword.a -lib/htdig/libhtword.so -lib/htdig_db/libhtdb-3.2.0.so -lib/htdig_db/libhtdb.a -lib/htdig_db/libhtdb.so -share/man/man1/htdig-pdfparser.1.gz -share/man/man1/htdig.1.gz -share/man/man1/htdump.1.gz -share/man/man1/htfuzzy.1.gz -share/man/man1/htload.1.gz -share/man/man1/htmerge.1.gz -share/man/man1/htnotify.1.gz -share/man/man1/htpurge.1.gz -share/man/man1/htsearch.1.gz -share/man/man1/htstat.1.gz -share/man/man1/rundig.1.gz -share/man/man8/htdigconfig.8.gz -%%DATADIR%%/common/bad_words -%%DATADIR%%/common/english.0 -%%DATADIR%%/common/english.aff -%%DATADIR%%/common/footer.html -%%DATADIR%%/common/header.html -%%DATADIR%%/common/long.html -%%DATADIR%%/common/nomatch.html -%%DATADIR%%/common/short.html -%%DATADIR%%/common/synonyms -%%DATADIR%%/common/syntax.html -%%DATADIR%%/common/wrapper.html -www/cgi-bin/htsearch -www/cgi-bin/qtest -www/data/search.html -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 -@dir %%DATADIR%%/database |