diff options
Diffstat (limited to 'textproc/mifluz')
-rw-r--r-- | textproc/mifluz/Makefile | 40 | ||||
-rw-r--r-- | textproc/mifluz/distinfo | 2 | ||||
-rw-r--r-- | textproc/mifluz/files/patch-Makefile.in | 20 | ||||
-rw-r--r-- | textproc/mifluz/files/patch-clib-strcasestr2.c | 15 | ||||
-rw-r--r-- | textproc/mifluz/files/patch-db-db_int.h | 11 | ||||
-rw-r--r-- | textproc/mifluz/files/patch-db__mut_pthread.c | 13 | ||||
-rw-r--r-- | textproc/mifluz/files/patch-mifluz-Makefile.in | 11 | ||||
-rw-r--r-- | textproc/mifluz/files/patch-search-WordResults.cc | 20 | ||||
-rw-r--r-- | textproc/mifluz/files/pkg-message.in | 11 | ||||
-rw-r--r-- | textproc/mifluz/pkg-descr | 14 | ||||
-rw-r--r-- | textproc/mifluz/pkg-plist | 120 |
11 files changed, 0 insertions, 277 deletions
diff --git a/textproc/mifluz/Makefile b/textproc/mifluz/Makefile deleted file mode 100644 index b1c9c017ba8f..000000000000 --- a/textproc/mifluz/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -PORTNAME= mifluz -PORTVERSION= 0.26.0 -PORTREVISION= 2 -CATEGORIES= textproc -MASTER_SITES= GNU - -MAINTAINER= ports@FreeBSD.org -COMMENT= C++ library to build and query a full text inverted index -WWW= https://www.gnu.org/software/mifluz/ - -LICENSE= GPLv3 - -DEPRECATED= Obsolete, no activity upstream since 2014 and unmaintained in tree for years -EXPIRATION_DATE=2025-04-30 - -USES= bison compiler iconv libtool localbase:ldflags pathfix -USE_LDCONFIG= yes - -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -CONFIGURE_ARGS= --enable-posixmutexes \ - --localstatedir="${PREFIX}/var" \ - --without-unac - -INSTALL_TARGET= install-strip - -CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} -CXXFLAGS_clang= -Wno-c++11-narrowing - -CONFLICTS_INSTALL= htdig # bin/htdb_dump bin/htdb_load bin/htdb_stat - -SUB_FILES= pkg-message - -INFO= mifluz - -post-patch: - @${REINPLACE_CMD} -e \ - '/^#ifndef HAVE_ALLOCA/s|_H||' ${WRKSRC}/clib/strncoll2.c - -.include <bsd.port.mk> diff --git a/textproc/mifluz/distinfo b/textproc/mifluz/distinfo deleted file mode 100644 index fbd15e1f780f..000000000000 --- a/textproc/mifluz/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (mifluz-0.26.0.tar.gz) = e220ad4a23a972acfffedb05d63e8c7b13a422f9008bd6af95fdb4339f94b6a4 -SIZE (mifluz-0.26.0.tar.gz) = 1648324 diff --git a/textproc/mifluz/files/patch-Makefile.in b/textproc/mifluz/files/patch-Makefile.in deleted file mode 100644 index 7679808b0693..000000000000 --- a/textproc/mifluz/files/patch-Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- ./Makefile.in.orig 2013-01-16 13:41:40.786389684 +0800 -+++ ./Makefile.in 2013-01-16 13:51:11.373721235 +0800 -@@ -363,7 +363,7 @@ - # or the GNU General Public License version 2 or later - # <http://www.gnu.org/copyleft/gpl.html> - # --SUBDIRS = clib db mifluz htdb search man doc test examples -+SUBDIRS = clib db mifluz htdb search man doc test - DISTCLEANFILES = autom4te.cache - EXTRA_DIST = .version acconfig.h Makefile.config mifluz.conf acinclude.m4 - bin_SCRIPTS = mifluz-config -@@ -956,7 +956,7 @@ - mkdir -p ${DESTDIR}${localstatedir}/cache/mifluz - @if [ ! -d ${DESTDIR}${sysconfdir} ] ; then mkdir -p ${DESTDIR}${sysconfdir} ; fi - @if [ ! -f ${DESTDIR}${sysconfdir}/mifluz.conf ] ; \ -- then a="cp ${srcdir}/mifluz.conf ${DESTDIR}${sysconfdir}/mifluz.conf" ; echo $$a ; $$a ; \ -+ then a="cp ${srcdir}/mifluz.conf ${DESTDIR}${sysconfdir}/mifluz.conf.sample" ; echo $$a ; $$a ; \ - else echo "${DESTDIR}${sysconfdir}/mifluz.conf exists, not overwritten" ; \ - fi - diff --git a/textproc/mifluz/files/patch-clib-strcasestr2.c b/textproc/mifluz/files/patch-clib-strcasestr2.c deleted file mode 100644 index 921449169729..000000000000 --- a/textproc/mifluz/files/patch-clib-strcasestr2.c +++ /dev/null @@ -1,15 +0,0 @@ ---- ./clib/strcasestr2.c.orig 2013-01-16 13:42:43.213865659 +0800 -+++ ./clib/strcasestr2.c 2013-01-16 13:50:06.277425451 +0800 -@@ -12,6 +12,7 @@ - #include "config.h" - #endif /* HAVE_CONFIG_H */ - -+#ifndef HAVE_STRCASESTR - #include <ctype.h> - #include <string.h> - -@@ -32,3 +33,4 @@ - } - return 0; - } -+#endif /* HAVE_STRCASESTR */ diff --git a/textproc/mifluz/files/patch-db-db_int.h b/textproc/mifluz/files/patch-db-db_int.h deleted file mode 100644 index 5df5bd529e27..000000000000 --- a/textproc/mifluz/files/patch-db-db_int.h +++ /dev/null @@ -1,11 +0,0 @@ ---- ./db/db_int.h.orig 2013-01-16 13:43:03.627123979 +0800 -+++ ./db/db_int.h 2013-01-16 13:49:17.653734397 +0800 -@@ -108,7 +108,7 @@ - * an array. - */ - #undef SSZ --#define SSZ(name, field) ((int)&(((name *)0)->field)) -+#define SSZ(name, field) ((size_t)&(((name *)0)->field)) - - #undef SSZA - #define SSZA(name, field) ((long)&(((name *)0)->field[0])) diff --git a/textproc/mifluz/files/patch-db__mut_pthread.c b/textproc/mifluz/files/patch-db__mut_pthread.c deleted file mode 100644 index 322b6b22187e..000000000000 --- a/textproc/mifluz/files/patch-db__mut_pthread.c +++ /dev/null @@ -1,13 +0,0 @@ ---- db/mut_pthread.c.orig -+++ db/mut_pthread.c -@@ -50,6 +50,10 @@ - #define pthread_self thr_self - #endif - -+#ifndef ETIME -+#define ETIME ETIMEDOUT -+#endif -+ - /* - * __db_pthread_mutex_init -- - * Initialize a MUTEX. diff --git a/textproc/mifluz/files/patch-mifluz-Makefile.in b/textproc/mifluz/files/patch-mifluz-Makefile.in deleted file mode 100644 index 87d315133c7f..000000000000 --- a/textproc/mifluz/files/patch-mifluz-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- ./mifluz/Makefile.in.orig 2013-01-16 13:43:17.443734240 +0800 -+++ ./mifluz/Makefile.in 2013-01-16 13:47:04.575242382 +0800 -@@ -361,7 +361,7 @@ - WordType.cc - - libmifluz_la_LDFLAGS = -version-info $(MAJOR_VERSION):$(MINOR_VERSION):$(MICRO_VERSION) --libmifluz_la_LIBADD = ../db/libdb.la ../clib/libclib.la -+libmifluz_la_LIBADD = ../db/libdb.la ../clib/libclib.la $(LIBICONV) - include_HEADERS = \ - mifluz.h - diff --git a/textproc/mifluz/files/patch-search-WordResults.cc b/textproc/mifluz/files/patch-search-WordResults.cc deleted file mode 100644 index 7c122040b4a5..000000000000 --- a/textproc/mifluz/files/patch-search-WordResults.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- ./search/WordResults.cc.orig 2013-01-16 13:44:02.283818270 +0800 -+++ ./search/WordResults.cc 2013-01-16 13:45:27.643665365 +0800 -@@ -29,7 +29,7 @@ - - WordKeyNum* a_values = (WordKeyNum*)a->data; - WordKeyNum* b_values = (WordKeyNum*)b->data; -- for(int i = 0; i < length; i++) { -+ for(long i = 0; i < length; i++) { - if(a_values[i] != b_values[i]) { - return a_values[i] > b_values[i] ? 1 : -1; - } -@@ -198,7 +198,7 @@ - } - - if((error = ranked->set_re_len(ranked, sizeof(WordKeyNum) * document_length)) != 0) { -- fprintf(stderr, "WordResults::Open ranked->set_re_len(%d) failed: %s\n", sizeof(WordKeyNum) * document_length, CDB_db_strerror(error)); -+ fprintf(stderr, "WordResults::Open ranked->set_re_len(%lu) failed: %s\n", sizeof(WordKeyNum) * document_length, CDB_db_strerror(error)); - return NOTOK; - } - diff --git a/textproc/mifluz/files/pkg-message.in b/textproc/mifluz/files/pkg-message.in deleted file mode 100644 index e1a4534d3169..000000000000 --- a/textproc/mifluz/files/pkg-message.in +++ /dev/null @@ -1,11 +0,0 @@ -[ -{ type: install - message: <<EOM -A sample configuration file has been written in -%%PREFIX%%/etc/mifluz.conf.sample - -You will have to copy this file to %%PREFIX%%/etc/mifluz.conf -and edit it before using mifluz. -EOM -} -] diff --git a/textproc/mifluz/pkg-descr b/textproc/mifluz/pkg-descr deleted file mode 100644 index 1bfed0b2bd96..000000000000 --- a/textproc/mifluz/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -GNU mifluz has two main characteristics : it is very -simple (one might say stupid :-) and uses 50% of the size of the -indexed text for the index. It is simple because it provides only -a few basic functionalities. It does not contain document parsers -(HTML, PDF etc...). It does not contain a full text query parser. -It does not provide result display functions or other user friendly -stuff. It only provides functions to store word occurrences and retrieve -them. The fact that it uses 50% of the size of the indexed text is -rather atypical. Most well known full text indexing systems only use -30%. The advantage GNU mifluz has over most full text indexing systems -is that it is fully dynamic (update, delete, insert), uses only a -controlled amount of memory while resolving a query, has higher upper -limits and has a simple storage scheme. Consuming more disk space -allows all this. diff --git a/textproc/mifluz/pkg-plist b/textproc/mifluz/pkg-plist deleted file mode 100644 index 7d7cd625dc2d..000000000000 --- a/textproc/mifluz/pkg-plist +++ /dev/null @@ -1,120 +0,0 @@ -bin/htdb_dump -bin/htdb_load -bin/htdb_stat -bin/mifluz-config -bin/mifluzdict -bin/mifluzdump -bin/mifluzload -bin/mifluzsearch -@sample etc/mifluz.conf.sample -include/mifluz.h -include/mifluz/Configuration.h -include/mifluz/Dictionary.h -include/mifluz/HtMaxMin.h -include/mifluz/HtTime.h -include/mifluz/List.h -include/mifluz/Object.h -include/mifluz/ParsedString.h -include/mifluz/StringList.h -include/mifluz/WordBitCompress.h -include/mifluz/WordContext.h -include/mifluz/WordCursor.h -include/mifluz/WordCursorOne.h -include/mifluz/WordDB.h -include/mifluz/WordDBCache.h -include/mifluz/WordDBCompress.h -include/mifluz/WordDBInfo.h -include/mifluz/WordDead.h -include/mifluz/WordDict.h -include/mifluz/WordKey.h -include/mifluz/WordKeyInfo.h -include/mifluz/WordList.h -include/mifluz/WordListMulti.h -include/mifluz/WordListOne.h -include/mifluz/WordMeta.h -include/mifluz/WordMonitor.h -include/mifluz/WordRecord.h -include/mifluz/WordRecordInfo.h -include/mifluz/WordReference.h -include/mifluz/WordType.h -include/mifluz/ber.h -include/mifluz/btree.h -include/mifluz/btree_auto.h -include/mifluz/btree_ext.h -include/mifluz/clib.h -include/mifluz/common_ext.h -include/mifluz/config.h -include/mifluz/crdel_auto.h -include/mifluz/db.h -include/mifluz/db_am.h -include/mifluz/db_auto.h -include/mifluz/db_dispatch.h -include/mifluz/db_ext.h -include/mifluz/db_int.h -include/mifluz/db_join.h -include/mifluz/db_page.h -include/mifluz/db_shash.h -include/mifluz/db_swap.h -include/mifluz/db_upgrade.h -include/mifluz/db_verify.h -include/mifluz/debug.h -include/mifluz/env_ext.h -include/mifluz/hash.h -include/mifluz/hash_auto.h -include/mifluz/hash_ext.h -include/mifluz/htString.h -include/mifluz/lib.h -include/mifluz/lock.h -include/mifluz/lock_ext.h -include/mifluz/log.h -include/mifluz/log_auto.h -include/mifluz/log_ext.h -include/mifluz/mp.h -include/mifluz/mp_ext.h -include/mifluz/mutex.h -include/mifluz/mutex_ext.h -include/mifluz/myqsort.h -include/mifluz/os.h -include/mifluz/os_ext.h -include/mifluz/os_jump.h -include/mifluz/qam.h -include/mifluz/qam_auto.h -include/mifluz/qam_ext.h -include/mifluz/queue.h -include/mifluz/region.h -include/mifluz/shqueue.h -include/mifluz/txn.h -include/mifluz/txn_auto.h -include/mifluz/txn_ext.h -include/mifluz/unac.h -include/mifluz/xa.h -include/mifluz/xa_ext.h -lib/libmifluz.a -lib/libmifluz.so -lib/libmifluz.so.0 -lib/libmifluz.so.0.0.26 -share/man/man1/htdb_dump.1.gz -share/man/man1/htdb_load.1.gz -share/man/man1/htdb_stat.1.gz -share/man/man1/mifluz-config.1.gz -share/man/man1/mifluzdict.1.gz -share/man/man1/mifluzdump.1.gz -share/man/man1/mifluzload.1.gz -share/man/man1/mifluzsearch.1.gz -share/man/man3/Configuration.3.gz -share/man/man3/WordContext.3.gz -share/man/man3/WordCursor.3.gz -share/man/man3/WordCursorOne.3.gz -share/man/man3/WordDBInfo.3.gz -share/man/man3/WordDict.3.gz -share/man/man3/WordKey.3.gz -share/man/man3/WordKeyInfo.3.gz -share/man/man3/WordList.3.gz -share/man/man3/WordListOne.3.gz -share/man/man3/WordMonitor.3.gz -share/man/man3/WordRecord.3.gz -share/man/man3/WordRecordInfo.3.gz -share/man/man3/WordReference.3.gz -share/man/man3/WordType.3.gz -share/man/man3/mifluz.3.gz -@dir var/cache/mifluz |