debian/0000755000000000000000000000000012320262231007157 5ustar debian/libestraier-dev.manpages0000644000000000000000000000003012022245711013751 0ustar man/estconfig.1 man/*.3 debian/hyperestraier.init0000644000000000000000000000554212022245711012743 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: hyperestraier # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon ### END INIT INFO # # skeleton example file to build /etc/init.d/ scripts. # This file should be used to construct scripts for /etc/init.d. # # Written by Miquel van Smoorenburg . # Modified for Debian # by Ian Murdock . # # Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl # PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/estmaster NAME=estmaster DESC=hyperestraier test -x $DAEMON || exit 0 VERBOSE=yes # Include hyperestraier defaults if available if [ -f /etc/default/hyperestraier ] ; then . /etc/default/hyperestraier fi set -e if [ "$NO_START" != "0" ]; then case "$1" in stop) exit 0;; start|restart|force-reload|status) if [ "$VERBOSE" != no ]; then echo "Not starting estmaster - edit /etc/default/hyperestraier and change NO_START to be 0."; fi if [ ! -d "$ROOTDIR" ]; then [ "$VERBOSE" != no ] && echo "hyperestraier: ROOTDIR ($ROOTDIR) not found." exit 1 fi if [ ! -f "$ROOTDIR/_conf" ]; then [ "$VERBOSE" != no ] && echo "hyperestraier: broken ROOTDIR ($ROOTDIR)?. _conf not found." exit 1 fi # do nothing exit 0;; esac fi check_pidfile() { pidfile=$ROOTDIR/_pid if [ -f $pidfile ]; then if [ "$(pidof estmaster)" != "$(cat $pidfile)" ]; then # pid mismatch rm -f $pidfile fi fi } case "$1" in start) echo -n "Starting $DESC: " check_pidfile start-stop-daemon --start --quiet --chuid $USER \ --exec $DAEMON -- start -bg $ROOTDIR echo "$NAME." ;; stop) echo -n "Stopping $DESC: " check_pidfile estmaster stop $ROOTDIR || true echo "$NAME." ;; #reload) # # If the daemon can reload its config files on the fly # for example by sending it SIGHUP, do it here. # # If the daemon responds to changes in its config file # directly anyway, make this a do-nothing entry. # # echo "Reloading $DESC configuration files." # start-stop-daemon --stop --signal 1 --quiet --pidfile \ # /var/run/$NAME.pid --exec $DAEMON #;; restart|force-reload) # # If the "reload" option is implemented, move the "force-reload" # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # echo -n "Restarting $DESC: " estmaster stop $ROOTDIR || true sleep 1 start-stop-daemon --start --quiet --chuid $USER \ --exec $DAEMON -- start -bg $ROOTDIR echo "$NAME." ;; *) N=/etc/init.d/$NAME # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0 debian/hyperestraier.doc-base0000644000000000000000000000040512022245711013446 0ustar Document: hyperestraier Title: HyperEstraier User Manual Author: Mikio Hirabayashi Abstract: This manual describes the usage of HyperEstraier Section: Text Format: HTML Index: /usr/share/doc/hyperestraier/index.html Files: /usr/share/doc/hyperestraier/*.html debian/libestraier8.symbols0000644000000000000000000002113012022245711013166 0ustar libestraier.so.8 libestraier8 #MINVER# est_accept_conn@Base 1.4.9 est_border_str@Base 1.4.9 est_break_text@Base 1.4.9 est_break_text_chrcat@Base 1.4.9 est_break_text_perfng@Base 1.4.9 est_bzdecode@Base 1.4.9 est_bzencode@Base 1.4.9 est_cond_add_attr@Base 1.4.9 est_cond_attrs@Base 1.4.9 est_cond_auxiliary@Base 1.4.9 est_cond_auxiliary_word@Base 1.4.9 est_cond_delete@Base 1.4.9 est_cond_distinct@Base 1.4.9 est_cond_dup@Base 1.4.9 est_cond_mask@Base 1.4.9 est_cond_max@Base 1.4.9 est_cond_new@Base 1.4.9 est_cond_options@Base 1.4.9 est_cond_order@Base 1.4.9 est_cond_phrase@Base 1.4.9 est_cond_score@Base 1.4.9 est_cond_scores@Base 1.4.13 est_cond_set_auxiliary@Base 1.4.9 est_cond_set_distinct@Base 1.4.9 est_cond_set_eclipse@Base 1.4.9 est_cond_set_expander@Base 1.4.9 est_cond_set_mask@Base 1.4.9 est_cond_set_max@Base 1.4.9 est_cond_set_narrowing_scores@Base 1.4.13 est_cond_set_options@Base 1.4.9 est_cond_set_order@Base 1.4.9 est_cond_set_phrase@Base 1.4.9 est_cond_set_skip@Base 1.4.9 est_cond_shadows@Base 1.4.9 est_cond_skip@Base 1.4.9 #MISSING: 1.4.13# est_datum_printf@Base 1.4.9 est_db_add_attr_index@Base 1.4.9 est_db_add_meta@Base 1.4.9 est_db_add_pseudo_index@Base 1.4.9 est_db_attr_index_exprs@Base 1.4.9 est_db_cache_num@Base 1.4.9 est_db_charge_rescc@Base 1.4.9 est_db_check_option@Base 1.4.9 est_db_close@Base 1.4.9 est_db_doc_num@Base 1.4.9 est_db_edit_doc@Base 1.4.9 est_db_error@Base 1.4.9 est_db_etch_doc@Base 1.4.9 est_db_fatal@Base 1.4.9 est_db_fill_key_cache@Base 1.4.9 est_db_flush@Base 1.4.9 est_db_get_doc@Base 1.4.9 est_db_get_doc_attr@Base 1.4.9 est_db_get_doc_entity@Base 1.4.9 est_db_get_keywords@Base 1.4.9 est_db_inode@Base 1.4.9 est_db_interrupt@Base 1.4.9 est_db_iter_init@Base 1.4.9 est_db_iter_next@Base 1.4.9 est_db_keyword_iter_init@Base 1.4.9 est_db_keyword_iter_next@Base 1.4.9 est_db_keyword_num@Base 1.4.9 est_db_keyword_rec_size@Base 1.4.9 est_db_keyword_search@Base 1.4.9 est_db_list_rescc@Base 1.4.9 est_db_measure_doc@Base 1.4.9 est_db_merge@Base 1.4.9 est_db_meta@Base 1.4.9 est_db_meta_names@Base 1.4.9 est_db_name@Base 1.4.9 est_db_open@Base 1.4.9 est_db_optimize@Base 1.4.9 est_db_out_doc@Base 1.4.9 est_db_out_keywords@Base 1.4.9 est_db_pseudo_doc_num@Base 1.4.9 est_db_put_doc@Base 1.4.9 est_db_put_keywords@Base 1.4.9 est_db_refresh_rescc@Base 1.4.9 est_db_repair@Base 1.4.9 est_db_scan_doc@Base 1.4.9 est_db_search@Base 1.4.9 est_db_search_meta@Base 1.4.9 est_db_set_cache_size@Base 1.4.9 est_db_set_dfdb@Base 1.4.9 est_db_set_doc_entity@Base 1.4.9 est_db_set_ecode@Base 1.4.9 est_db_set_informer@Base 1.4.9 est_db_set_special_cache@Base 1.4.9 est_db_set_wildmax@Base 1.4.9 est_db_size@Base 1.4.9 est_db_sync@Base 1.4.9 est_db_uri_to_id@Base 1.4.9 est_db_used_cache_size@Base 1.4.9 est_db_word_iter_init@Base 1.4.9 est_db_word_iter_next@Base 1.4.9 est_db_word_num@Base 1.4.9 est_db_word_rec_size@Base 1.4.9 est_deflate@Base 1.4.9 est_doc_add_attr@Base 1.4.9 est_doc_add_hidden_text@Base 1.4.9 est_doc_add_text@Base 1.4.9 est_doc_attr@Base 1.4.9 est_doc_attr_names@Base 1.4.9 est_doc_cat_texts@Base 1.4.9 est_doc_delete@Base 1.4.9 est_doc_dump_draft@Base 1.4.9 est_doc_dup@Base 1.4.9 est_doc_hidden_texts@Base 1.4.9 est_doc_id@Base 1.4.9 est_doc_is_empty@Base 1.4.9 est_doc_keywords@Base 1.4.9 est_doc_make_snippet@Base 1.4.9 est_doc_new@Base 1.4.9 est_doc_new_from_draft@Base 1.4.9 est_doc_score@Base 1.4.9 est_doc_set_id@Base 1.4.9 est_doc_set_keywords@Base 1.4.9 est_doc_set_score@Base 1.4.9 est_doc_slim@Base 1.4.9 est_doc_texts@Base 1.4.9 est_enc_name@Base 1.4.9 est_err_msg@Base 1.4.9 est_ext_type@Base 1.4.9 est_free_net_env@Base 1.4.9 est_get_client_sock@Base 1.4.9 est_get_host_addr@Base 1.4.9 est_get_host_name@Base 1.4.9 est_get_server_sock@Base 1.4.9 est_gettimeofday@Base 1.4.9 est_global_db_names@Base 1.4.9 est_global_mutex@Base 1.4.9 est_hints_to_words@Base 1.4.9 est_host_addrs@Base 1.4.9 est_host_addrs_mutex@Base 1.4.9 est_host_attrs_cnt@Base 1.4.9 est_iconv@Base 1.4.9 est_inflate@Base 1.4.9 est_init_net_env@Base 1.4.9 est_inode@Base 1.4.9 est_inodes@Base 1.4.9 est_kill@Base 1.4.9 est_lzodecode@Base 1.4.9 est_lzoencode@Base 1.4.9 est_make_crypt@Base 1.4.9 est_match_crypt@Base 1.4.9 est_memory_usage@Base 1.4.9 est_mkdir@Base 1.4.9 est_mtdb_add_attr_index@Base 1.4.9 est_mtdb_add_meta@Base 1.4.9 est_mtdb_add_pseudo_index@Base 1.4.9 est_mtdb_attr_index_exprs@Base 1.4.9 est_mtdb_cache_num@Base 1.4.9 est_mtdb_cache_usage@Base 1.4.9 est_mtdb_charge_rescc@Base 1.4.9 est_mtdb_check_option@Base 1.4.9 est_mtdb_close@Base 1.4.9 est_mtdb_doc_num@Base 1.4.9 est_mtdb_edit_doc@Base 1.4.9 est_mtdb_error@Base 1.4.9 est_mtdb_etch_doc@Base 1.4.9 est_mtdb_fatal@Base 1.4.9 est_mtdb_fill_key_cache@Base 1.4.9 est_mtdb_flush@Base 1.4.9 est_mtdb_get_doc@Base 1.4.9 est_mtdb_get_doc_attr@Base 1.4.9 est_mtdb_get_doc_entity@Base 1.4.9 est_mtdb_get_keywords@Base 1.4.9 est_mtdb_inode@Base 1.4.9 est_mtdb_interrupt@Base 1.4.9 est_mtdb_iter_init@Base 1.4.9 est_mtdb_iter_next@Base 1.4.9 est_mtdb_keyword_iter_init@Base 1.4.9 est_mtdb_keyword_iter_next@Base 1.4.9 est_mtdb_keyword_num@Base 1.4.9 est_mtdb_keyword_rec_size@Base 1.4.9 est_mtdb_keyword_search@Base 1.4.9 est_mtdb_list_rescc@Base 1.4.9 est_mtdb_measure_doc@Base 1.4.9 est_mtdb_merge@Base 1.4.9 est_mtdb_meta@Base 1.4.9 est_mtdb_meta_names@Base 1.4.9 est_mtdb_name@Base 1.4.9 est_mtdb_open@Base 1.4.9 est_mtdb_optimize@Base 1.4.9 est_mtdb_out_doc@Base 1.4.9 est_mtdb_out_keywords@Base 1.4.9 est_mtdb_pseudo_doc_num@Base 1.4.9 est_mtdb_put_doc@Base 1.4.9 est_mtdb_put_keywords@Base 1.4.9 est_mtdb_refresh_rescc@Base 1.4.9 est_mtdb_scan_doc@Base 1.4.9 est_mtdb_search@Base 1.4.9 est_mtdb_search_meta@Base 1.4.9 est_mtdb_set_cache_size@Base 1.4.9 est_mtdb_set_dfdb@Base 1.4.9 est_mtdb_set_doc_entity@Base 1.4.9 est_mtdb_set_ecode@Base 1.4.9 est_mtdb_set_informer@Base 1.4.9 est_mtdb_set_special_cache@Base 1.4.9 est_mtdb_set_wildmax@Base 1.4.9 est_mtdb_size@Base 1.4.9 est_mtdb_sync@Base 1.4.9 est_mtdb_uri_to_id@Base 1.4.9 est_mtdb_used_cache_size@Base 1.4.9 est_mtdb_word_iter_init@Base 1.4.9 est_mtdb_word_iter_next@Base 1.4.9 est_mtdb_word_num@Base 1.4.9 est_mtdb_word_rec_size@Base 1.4.9 est_node_add_header@Base 1.4.9 est_node_admins@Base 1.4.9 est_node_cache_usage@Base 1.4.9 est_node_delete@Base 1.4.9 est_node_doc_num@Base 1.4.9 est_node_edit_doc@Base 1.4.9 est_node_etch_doc@Base 1.4.9 est_node_etch_doc_by_uri@Base 1.4.9 est_node_get_doc@Base 1.4.9 est_node_get_doc_attr@Base 1.4.9 est_node_get_doc_attr_by_uri@Base 1.4.9 est_node_get_doc_by_uri@Base 1.4.9 est_node_iter_init@Base 1.4.9 est_node_iter_next@Base 1.4.9 est_node_label@Base 1.4.9 est_node_links@Base 1.4.9 est_node_name@Base 1.4.9 est_node_new@Base 1.4.9 est_node_optimize@Base 1.4.9 est_node_out_doc@Base 1.4.9 est_node_out_doc_by_uri@Base 1.4.9 est_node_put_doc@Base 1.4.9 est_node_search@Base 1.4.9 est_node_set_auth@Base 1.4.9 est_node_set_link@Base 1.4.9 est_node_set_proxy@Base 1.4.9 est_node_set_snippet_width@Base 1.4.9 est_node_set_timeout@Base 1.4.9 est_node_set_user@Base 1.4.9 est_node_size@Base 1.4.9 est_node_status@Base 1.4.9 est_node_sync@Base 1.4.9 est_node_uri_to_id@Base 1.4.9 est_node_users@Base 1.4.9 est_node_word_num@Base 1.4.9 est_noderes_add_doc@Base 1.4.9 est_noderes_delete@Base 1.4.9 est_noderes_doc_num@Base 1.4.9 est_noderes_eclipse@Base 1.4.9 est_noderes_get_doc@Base 1.4.9 est_noderes_hints@Base 1.4.9 est_noderes_mdate@Base 1.4.9 est_noderes_new@Base 1.4.9 est_noderes_shift_doc@Base 1.4.9 est_proc_env_reset@Base 1.4.9 est_random@Base 1.4.9 est_random_ifp@Base 1.4.9 est_random_nd@Base 1.4.9 est_realpath@Base 1.4.9 est_regex_delete@Base 1.4.9 est_regex_match@Base 1.4.9 est_regex_match_str@Base 1.4.9 est_regex_new@Base 1.4.9 est_regex_replace@Base 1.4.9 est_resdoc_attr@Base 1.4.9 est_resdoc_attr_names@Base 1.4.9 est_resdoc_keywords@Base 1.4.9 est_resdoc_shadows@Base 1.4.9 est_resdoc_similarity@Base 1.4.9 est_resdoc_snippet@Base 1.4.9 est_resdoc_uri@Base 1.4.9 est_resmap_add@Base 1.4.13 est_resmap_dump@Base 1.4.13 est_rmdir_rec@Base 1.4.9 est_signal@Base 1.4.9 est_signal_handlers@Base 1.4.9 est_sock_down@Base 1.4.9 est_sock_recv_all@Base 1.4.9 est_sock_recv_line@Base 1.4.9 est_sock_recv_void@Base 1.4.9 est_sock_send_all@Base 1.4.9 est_str_make_snippet@Base 1.4.9 est_uconv_in@Base 1.4.9 est_uconv_out@Base 1.4.9 est_url_shuttle@Base 1.4.9 est_usleep@Base 1.4.9 est_utime@Base 1.4.13 est_vector_cosine@Base 1.4.9 est_vector_set_seed@Base 1.4.9 est_vector_set_target@Base 1.4.9 est_version@Base 1.4.9 md5_append@Base 1.4.9 md5_finish@Base 1.4.9 md5_init@Base 1.4.9 debian/docs0000644000000000000000000000005512022245711010035 0ustar README doc/*.html doc/*.css doc/*.pnd THANKS debian/ruby-hyperestraier-doc.docs0000644000000000000000000000001212022245711014435 0ustar doc/ruby* debian/ruby-hyperestraier-doc.doc-base.pure0000644000000000000000000000052312022245711016143 0ustar Document: ruby-hyperestraier-pure Title: ruby-hyperestraier pure API document Author: Mikio Hirabayashi Abstract: This manual describes the pure APIs of ruby-hyperestraier Section: Programming Format: HTML Index: /usr/share/doc/ruby-hyperestraier-doc/rubypureapi/index.html Files: /usr/share/doc/ruby-hyperestraier-doc/rubypureapi/*.html debian/libestraier-java.lintian-overrides0000644000000000000000000000051412022245711015766 0ustar libestraier-java binary: duplicate-files usr/share/doc/libestraier-java/javanativeapi/resources/inherit.gif usr/share/doc/libestraier-java/javapureapi/resources/inherit.gif libestraier-java binary: duplicate-files usr/share/doc/libestraier-java/javanativeapi/stylesheet.css usr/share/doc/libestraier-java/javapureapi/stylesheet.css debian/libestraier-perl.lintian-overrides0000644000000000000000000000021512022245711016005 0ustar libestraier-perl binary: binary-without-manpage usr/bin/estcmd.pl libestraier-perl binary: script-with-language-extension usr/bin/estcmd.pl debian/copyright0000644000000000000000000000713512064600617011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: hyperestraier Source: http://fallabs.com/hyperestraier/hyperestraier-1.4.13.tar.gz Files: * Copyright: 2004-2007 Mikio Hirabayashi License: LGPL-2.1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License or any later version. . On Debian systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in `/usr/share/common-licenses/GPL-2.1'. Files: md5.* Copyright: 1999, 2000, 2002 Aladdin Enterprises License: This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Files: javapure/* rubypure/* Copyright: 2004-2007 Mikio Hirabayashi License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Mikio Hirabayashi nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2005, Fumitoshi Ukai 2010-2012, KURASHIKI Satoru License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/hyperestraier.postinst0000644000000000000000000001150412022245711013656 0ustar #! /bin/sh # postinst script for hyperestraier # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # update_conf() { if ! grep -q '^bindaddr:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # binding address of TCP (0.0.0.0 means every address) bindaddr: 0.0.0.0 EOF fi if ! grep -q '^idleflush:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # idle time to start flushing (in seconds) idleflush: 30 EOF fi if ! grep -q '^idlesync:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # idle time to start synchronizing (in seconds) idlesync: 300 EOF fi if ! grep -q '^logfile:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # path of the log file (relative path or absolute path) logfile: _log EOF fi if ! grep -q '^mergemethod:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # merge method (1:score, 2:score and rank, 3:rank) mergemethod: 2 EOF fi if ! grep -q '^publicurl:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # public URL (absolute URL) publicurl: EOF fi if ! grep -q '^searchmax:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # maximum number of documents to send searchmax: 1000 EOF fi if ! grep -q '^adminemail:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # e-mail address of the administrator adminemail: webmaster@$(cat /etc/mailname) EOF fi if ! grep -q '^backupcmd:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # command for backup (absolute path of a command) backupcmd: EOF fi if ! grep -q '^attrindex:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # attribute indexes (attribute name and data type) attrindex: @mdate{{!}}seq attrindex: @title{{!}}str EOF fi if ! grep -q '^wildmax:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # maximum number of expansion of wild cards wildmax: 256 EOF fi if ! grep -q '^limittextsize:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # text size limitation of indexing documents (in kilo bytes) limittextsize: 128 EOF fi if ! grep -q '^uismlrtune:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # tuning parameters for similarity search uismlrtune: 16 1024 4096 EOF fi if ! grep -q '^recvmax:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # maximum length of data to receive (in kilobytes) recvmax: 1024 EOF fi if ! grep -q '^scalepred:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # scale prediction (1:small, 2:medium, 3:large, 4:huge) scalepred: 2 EOF fi if ! grep -q '^scoreexpr:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # score expression (1:void, 2:char, 3:int, 4:asis) scoreexpr: 2 EOF fi if ! grep -q '^uiphraseform:' $ROOTDIR/_conf; then cat <> $ROOTDIR/_conf # mode of phrase form (1:usual, 2:simplified, 3:rough, 4:union: 5:intersection) uiphraseform: 2 EOF fi } update_kwd() { tempdb=$(mktemp -d /tmp/estmaster.XXXXXX) estcmd gather $tempdb - < /dev/null > /dev/null for node in $ROOTDIR/_node/* do test -d "$node" || continue if ! test -d "$node/_kwd"; then cp -a $tempdb/_attr $node/_kwd fi done rm -rf $tempdb } case "$1" in configure) . /etc/default/hyperestraier if [ -d "$ROOTDIR" ] && [ -f "$ROOTDIR/_conf" ]; then if test -d "$ROOTDIR.dpkg-tmp" && \ [ "$2" = "$(cat $ROOTDIR.dpkg-tmp/_pkg_version)" ]; then cp -a $ROOTDIR $ROOTDIR.$2 echo -n "node database restoring..." for nodedir in $ROOTDIR/_node/* do test -d $nodedir || continue nodename=$(basename $nodedir) rm -rf $nodedir echo -n "node/$nodename" nodetmp=$ROOTDIR.dpkg-tmp/_node/$nodename # XXX: estcmd gather? for id in $nodetmp/* do test -f $id || continue estcmd put $nodedir $id > /dev/null done done echo "done." fi update_conf update_kwd chown -R $USER $ROOTDIR else # no db found. create now [ -d /var/lib/hyperestraier ] || mkdir -p /var/lib/hyperestraier echo -n "Creating initial node database in $ROOTDIR..." estmaster init $ROOTDIR > /dev/null chown -R $USER $ROOTDIR echo "done." fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/libestraier-java.doc-base.native0000644000000000000000000000051412022245711015272 0ustar Document: libestraier-java-native Title: libestraier-java native API document Author: Mikio Hirabayashi Abstract: This manual describes the native APIs of libestraier-java Section: Programming Format: HTML Index: /usr/share/doc/libestraier-java/javanativeapi/index.html Files: /usr/share/doc/libestraier-java/javanativeapi/*.html debian/hyperestraier.NEWS0000644000000000000000000000112212022245711012542 0ustar hyperestraier (0.5.7-1) unstable; urgency=low database is incompatible with older version. this version of estcmd can't handle node database created by older version and older version of estcmd can't handle node database created by this version. hyperestraier package will try to dump/restore node database at $ROOTDIR specified in /etc/default/hyperestraier, but not for other databases if you created. you may use /var/lib/hyperestraier/estcmd.$version to access database created by older version. -- Fumitoshi UKAI Sat, 17 Sep 2005 02:15:05 +0900 debian/estload.10000644000000000000000000000314712022245711010704 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH ESTLOAD 1 "2005-06-04" "Man Page" "HyperEstraier" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME estload \- stresser for web applications .SH SYNOPSIS .B estload .RI "[-t " num "] [-l " num "] [-i " num "] [-p] [-q] [" file|url ] .SH DESCRIPTION This manual page documents briefly the .B estload commands. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBestload\fP is a program that stress web applications on \fIurl\fP. .SH OPTIONS A summary of options is included below. .TP .B \-t number of threads. .TP .B \-l number of loops. .TP .B \-i interval time in msec. .TP .B \-p print out the response. .TP .B \-q quiet. .SH SEE ALSO .BR estcmd (1), .BR estmaster (1), .BR estconfig (1). .SH AUTHOR estraier was written by Mikio Hirabayashi . .PP This manual page was written by Fumitoshi UKAI , for the Debian project (but may be used by others). debian/changelog0000644000000000000000000003745312320262171011050 0ustar hyperestraier (1.4.13-12ubuntu1) trusty; urgency=medium * Merge with Debian; remaining changes: - Transition package to use default Java implementation: + d/control: BD on default-jdk instead of openjdk-7-jdk. * Build on every architecture. -- Matthias Klose Sun, 06 Apr 2014 16:22:24 +0200 hyperestraier (1.4.13-12) unstable; urgency=low * Remove transitional packages. * Drop ruby1.8 support. * Fix build rules for ruby bindings. (Closes: #735475) Thanks for Jonas Genannt -- KURASHIKI Satoru Thu, 26 Dec 2013 09:10:10 +0900 hyperestraier (1.4.13-11ubuntu1) trusty; urgency=low * Resynchronise with Debian. Remaining changes: - Transition package to use default Java implementation: + d/control: BD on default-jdk instead of openjdk-6-jdk. -- Colin Watson Thu, 24 Oct 2013 13:36:53 +0100 hyperestraier (1.4.13-11) unstable; urgency=low * Fix powerpcspe-port controls. (Closes: #702180) -- KURASHIKI Satoru Thu, 27 Jun 2013 20:30:51 +0900 hyperestraier (1.4.13-10ubuntu2) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Tue, 22 Oct 2013 15:12:09 +0100 hyperestraier (1.4.13-10ubuntu1) saucy; urgency=low * Merge from Debian unstable. Remaining changes: - Transition package to use default Java implementation: + d/control: BD on default-jdk instead of openjdk-6-jdk. -- Logan Rosen Sun, 23 Jun 2013 00:38:53 -0400 hyperestraier (1.4.13-10) unstable; urgency=low * Transition from openjdk-6 to openjdk-7. (Closes: #683537) - applies reported patch partially. Thanks for Ubuntu folks. * Replace hurd compatibility patch. (Closes: #558586) * Add powerpcspe to build target. (Closes: #702180) * New Standards-Version: 3.9.4 -- KURASHIKI Satoru Wed, 12 Jun 2013 19:37:36 +0900 hyperestraier (1.4.13-9ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining changes: - Transition package to use default java implementation: + d/control: BD on default-jdk instead of openjdk-6-jdk. + d/java7-compat.patch: Ensure compiled bytecode is backwards compatible with Java 1.5+. -- Logan Rosen Mon, 21 Jan 2013 17:55:15 -0500 hyperestraier (1.4.13-9) unstable; urgency=medium * debian/copyright: - add BSD license for javapure and rubypure. (Closes: #695455) * debian/control: - remove DMUA field. - make architectures of openjdk depends explicit list. (Suggested by Thorsten Glaser ) -- KURASHIKI Satoru Thu, 17 Jan 2013 21:32:35 +0900 hyperestraier (1.4.13-8ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining changes: - Transition package to use default java implementation: + d/control: BD on default-jdk instead of openjdk-6-jdk. + d/java7-compat.patch: Ensure compiled bytecode is backwards compatible with Java 1.5+. -- Logan Rosen Mon, 10 Dec 2012 14:41:11 -0500 hyperestraier (1.4.13-8) unstable; urgency=medium * debian/rules: - (Ubuntu BTS) fix binary-indep target to not be a no-op, so that documentation packages are generated. (Closes: #692419) * debian/control: - change architectures from any to explicitly named to drop s390x. (Closes: #684535) -- KURASHIKI Satoru Thu, 01 Nov 2012 21:13:29 +0900 hyperestraier (1.4.13-7ubuntu2) quantal; urgency=low * Fix binary-indep target to not be a no-op, so that documentation packages are generated. -- Colin Watson Fri, 12 Oct 2012 12:13:21 +0100 hyperestraier (1.4.13-7ubuntu1) quantal; urgency=low * Merge from Debian unstable, remaining changes: - Transition package to use default java implementation: - d/control: BD on default-jdk instead of openjdk-6-jdk. - d/java7-compat.patch: Ensure compiled bytecode is backwards compatible with Java 1.5+. -- Felix Geyer Wed, 08 Aug 2012 19:53:51 +0200 hyperestraier (1.4.13-7) unstable; urgency=medium * debian/rules: - fix FTBFS of mipsel and s390x, which is gleaning of closed #673164. * debian/control: - DM-Upload-Allowed. -- KURASHIKI Satoru Thu, 26 Jul 2012 20:17:05 +0900 hyperestraier (1.4.13-6) unstable; urgency=medium * debian/rules: fix FTBFSs: - fix perl XS configuration parameter. (Closes: #680345) - merge all *-indeps into *-archs. (Closes: #680344) -- KURASHIKI Satoru Fri, 06 Jul 2012 19:24:16 +0900 hyperestraier (1.4.13-5ubuntu1) quantal; urgency=low * Transition package to use default java implementation: - d/control: BD on default-jdk instead of openjdk-6-jdk. - d/java7-compat.patch: Ensure compiled bytecode is backwards compatible with Java 1.5+. -- James Page Wed, 01 Aug 2012 15:25:45 +0100 hyperestraier (1.4.13-5) unstable; urgency=medium * Stop building Java binding in some archs as FTBFS workaround. This will be reverted when openjdk be available. (Closes: #673164) * Apply hardening build flags. * debian/compat: Bump to 9. -- KURASHIKI Satoru Tue, 05 Jun 2012 19:35:05 +0900 hyperestraier (1.4.13-4) unstable; urgency=low * New Standards-Version: 3.9.3 * update ruby packaging for wheezy * debian/copyright: migrate DEP-5 format * fix unconditional PATH_MAX issue on hurd (Closes: #558586) * debian/rules: rewrite binary-{arch,indep}. (Closes: #666332) -- KURASHIKI Satoru Tue, 17 Apr 2012 20:10:30 +0900 hyperestraier (1.4.13-3) unstable; urgency=low * Upstream homepage moved. * exclude building java for mips. (Closes: #599982) -- KURASHIKI Satoru Tue, 01 Mar 2011 21:39:34 +0900 hyperestraier (1.4.13-2) unstable; urgency=low * New Standards-Version: 3.9.1 * remove needless gsub! from ruby script. (Closes: #591399, #593030) * fix preinst to check directory existence. (Closes: #592443) * libestraier-ruby*: est{cmd|call}.rb moves from /usr/bin to doc/example. (Closes: #592245) * libestraier-java: drop native interface build for hppa, kfreebsd. (Closes: #591401) * libestraier-ruby-doc: new package. split ruby api documentation. -- KURASHIKI Satoru Sat, 18 Sep 2010 13:21:45 +0900 hyperestraier (1.4.13-1) unstable; urgency=low * Imported Upstream version 1.4.13 (by Taku YASUI ) * New Standards-Version: 3.9.0 * Add depends to libestraier-dev. (Closes: #441844) * build perl binding. (Closes: #381336) * New Maintainer. (Closes: #506790) * README.Debian: Fix typo. (Closes: #460257, #428956) -- KURASHIKI Satoru Wed, 21 Jul 2010 20:04:22 +0900 hyperestraier (1.4.9-1.4) unstable; urgency=high * Non-maintainer upload. * Really don't try to build libestraier-java on alpha, arm. -- Frank Lichtenheld Tue, 15 Jul 2008 03:05:18 +0200 hyperestraier (1.4.9-1.3) unstable; urgency=low * Non-maintainer upload. * Don't build libestraier-java on alpha, arm. Closes: #477864. -- Matthias Klose Sun, 11 May 2008 08:02:50 +0200 hyperestraier (1.4.9-1.2) unstable; urgency=low * Non-maintainer upload to solve release goal. * Add LSB dependency header to init.d scripts (Closes: #462713). -- Petter Reinholdtsen Tue, 25 Mar 2008 22:48:04 +0100 hyperestraier (1.4.9-1.1) unstable; urgency=high * Non-maintainer upload. * High-urgency upload for RC bugfix. * Set HOME=$(CURDIR)/junkhome when building, otherwise the package build will incorrectly look for headers there -- and fail when the directory exists and is unreadable, as happens sometimes on sudo-using autobuilders! -- Steve Langasek Tue, 14 Nov 2006 05:28:32 -0800 hyperestraier (1.4.9-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Sun, 12 Nov 2006 23:32:15 +0900 hyperestraier (1.4.8-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Fri, 3 Nov 2006 17:21:05 +0900 hyperestraier (1.4.7-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Tue, 31 Oct 2006 01:25:10 +0900 hyperestraier (1.4.6-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Fri, 20 Oct 2006 02:40:40 +0900 hyperestraier (1.4.5-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Tue, 3 Oct 2006 01:03:53 +0900 hyperestraier (1.4.4-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Tue, 19 Sep 2006 00:33:42 +0900 hyperestraier (1.4.3-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Tue, 12 Sep 2006 00:22:06 +0900 hyperestraier (1.4.2-1) unstable; urgency=low * New upstream release * debian/control: libestraier-dev section libdevel * debian/hyperestraier.init: check_pidfile closes: Bug#386355 -- Fumitoshi UKAI Thu, 7 Sep 2006 23:32:48 +0900 hyperestraier (1.4.1-2) unstable; urgency=low * it actually build-depends on libqdbm-dev (>= 1.8.68), which provides QDBM_LIBVER 1404 or more. closes: Bug#385991 -- Fumitoshi UKAI Tue, 5 Sep 2006 22:40:04 +0900 hyperestraier (1.4.1-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Mon, 4 Sep 2006 00:00:26 +0900 hyperestraier (1.4.0-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Tue, 29 Aug 2006 22:13:08 +0900 hyperestraier (1.3.9-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Wed, 23 Aug 2006 13:32:45 +0900 hyperestraier (1.3.8-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Thu, 17 Aug 2006 14:47:40 +0900 hyperestraier (1.3.6-1) unstable; urgency=low * New upstream release * debian/shlibs; add version dependency -- Fumitoshi UKAI Sun, 6 Aug 2006 04:17:00 +0900 hyperestraier (1.3.5-1) unstable; urgency=low * New upstream release * debian/control: add ppthtml to Recommends: (pphtml was typo) -- Fumitoshi UKAI Mon, 31 Jul 2006 07:04:19 +0900 hyperestraier (1.3.3-1) unstable; urgency=high * New upstream release fix CVE-2006-3671: cross-site request forgery closes: Bug#379060 new bindaddr configuration parameter in _conf closes: Bug#368906 * debian/hyperestraier.init: fix to exit successfully when NO_START=1 closes: Bug#367374, Bug#377743 * debia/control: remove pphtml from Recommends, since it is not available any more. closes: Bug#376897 -- Fumitoshi UKAI Sun, 23 Jul 2006 08:27:40 +0900 hyperestraier (1.2.5-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Wed, 10 May 2006 00:31:07 +0900 hyperestraier (1.2.3-1) unstable; urgency=low * New upstream release * exclude kfreebsd-amd64 from build-depends for java as kfreebsd-i386 closes: Bug#361463 * remove build-depends on libgcj-dev closes: Bug#359728 * fix typo in description closes: Bug#363950 -- Fumitoshi UKAI Thu, 27 Apr 2006 00:35:27 +0900 hyperestraier (1.0.6-1) unstable; urgency=low * New upstream release * bump up shlib version debian/control: libestraier6 -> libestraier7 debian/rules: libestraier6 -> libestraier7 debian/shlibs.local: libestraier6 -> libestraier7 debian/libestraier6.files -> debian/libestraier7.files -- Fumitoshi UKAI Mon, 21 Nov 2005 01:06:01 +0900 hyperestraier (1.0.5-1) unstable; urgency=low * New upstream release * bump up shlib version debian/control: libestraier5 -> libestraier6 debian/rules: libestraier5 -> libestraier6 debian/shlibs.local: libestraier5 -> libestraier6 debian/libestraier5.files -> debian/libestraier6.files -- Fumitoshi UKAI Tue, 15 Nov 2005 02:09:37 +0900 hyperestraier (0.9.0-1) unstable; urgency=low * New upstream release * debian/control: build-depends: ruby closes: Bug#328918 * debian/estcmd.1: update * debian/estcall.1: update -- Fumitoshi UKAI Sat, 24 Sep 2005 23:43:35 +0900 hyperestraier (0.5.7-1) unstable; urgency=low * New upstream release - bump up shlib version debian/control: libestraier3 -> libestraier5 debian/rules: libestraier3 -> libestraier5 debian/shlibs.local: libestraier3 -> libestraier5 debian/libestraier3.files -> debian/libestraier5.files - ruby1.8 package contains rubynative and rubypure - java package contains javanative and javapure * modify build-depends to fix FTBFS in debuild -B closes: Bug#324100 -- Fumitoshi UKAI Fri, 16 Sep 2005 01:52:43 +0900 hyperestraier (0.5.4-2) unstable; urgency=low * debian/rules: move filter programs into usr/bin closes: Bug#323272 * debian/estfxfilter.1: added * debian/control: add zlib1g-dev to build-depends closes: Bug#323501 * debian/control: add pkg-config to build-depends closes: Bug#323519 * add short notes about difference from estraier closes: Bug#323273 * add http://hyperestraier.sourceforge.net/ closes: Bug#321268 -- Fumitoshi UKAI Thu, 18 Aug 2005 01:25:11 +0900 hyperestraier (0.5.4-1) unstable; urgency=low * New upstream release bump up shlib version debian/control: libestraier2 -> libestraier3 debian/rules: libestraier2 -> libestraier3 debian/shlibs.local: libestraier2 -> libestraier3 debian/libestraier2.files -> debian/libestraier3.files -- Fumitoshi UKAI Sun, 14 Aug 2005 23:01:33 +0900 hyperestraier (0.5.4-0sarge1) unstable; urgency=low * New upstream release bump up shlib version debian/control: libestraier2 -> libestraier3 debian/rules: libestraier2 -> libestraier3 debian/shlibs.local: libestraier2 -> libestraier3 debian/libestraier2.files -> debian/libestraier3.files -- Fumitoshi UKAI Sun, 14 Aug 2005 22:44:21 +0900 hyperestraier (0.5.3-1) unstable; urgency=low * New upstream release add libestraier-ruby1.8 for Node API in ruby. -- Fumitoshi UKAI Tue, 2 Aug 2005 02:21:33 +0900 hyperestraier (0.5.3-0sarge1) unstable; urgency=low * New upstream release add libestraier-ruby1.8 for Node API in ruby. -- Fumitoshi UKAI Tue, 2 Aug 2005 01:13:12 +0900 hyperestraier (0.5.2-1) unstable; urgency=low * New upstream release add libestraier-java for Node API in Java. -- Fumitoshi UKAI Tue, 26 Jul 2005 01:11:07 +0900 hyperestraier (0.5.2-0sarge1) unstable; urgency=low * New upstream release add libestraier-java for Node API in Java. -- Fumitoshi UKAI Tue, 26 Jul 2005 00:42:03 +0900 hyperestraier (0.5.1-1) unstable; urgency=low * Initial release Closes: #310530 -- Fumitoshi UKAI Sat, 23 Jul 2005 01:47:15 +0900 hyperestraier (0.5.1-0sarge1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Sat, 23 Jul 2005 01:21:06 +0900 hyperestraier (0.5.0-0sarge1) unstable; urgency=low * New upstream release (for sarge) * soname version up: rename to libestraier2 -- Fumitoshi UKAI Thu, 21 Jul 2005 01:27:50 +0900 hyperestraier (0.3.13-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Sat, 11 Jun 2005 02:52:02 +0900 hyperestraier (0.3.12-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Fri, 10 Jun 2005 02:44:00 +0900 hyperestraier (0.3.11-1) unstable; urgency=low * Initial release Closes: #310530 -- Fumitoshi UKAI Sat, 4 Jun 2005 04:06:03 +0900 debian/ruby-hyperestraier-doc.doc-base.native0000644000000000000000000000053512022245711016461 0ustar Document: ruby-hyperestraier-native Title: ruby-hyperestraier native API document Author: Mikio Hirabayashi Abstract: This manual describes the native APIs of ruby-hyperestraier Section: Programming Format: HTML Index: /usr/share/doc/ruby-hyperestraier-doc/rubynativeapi/index.html Files: /usr/share/doc/ruby-hyperestraier-doc/rubynativeapi/*.html debian/libestraier-java.dirs0000644000000000000000000000006712022245711013274 0ustar usr/share/hyperestraier/lib usr/lib/jni usr/share/java debian/libestraier8.files0000644000000000000000000000002212022245711012575 0ustar usr/lib/lib*.so.* debian/libestraier-java.docs0000644000000000000000000000001412022245711013253 0ustar doc/java* debian/libestraier-dev.examples0000644000000000000000000000001312022245711013775 0ustar example/* debian/libestraier-dev.files0000644000000000000000000000021612022245711013266 0ustar usr/bin/estconfig usr/lib/lib*.a usr/lib/lib*.so usr/lib/pkgconfig usr/share/man/man1/estconfig.1 usr/share/man/man3/*.3 usr/include/estraier debian/hyperestraier.links0000644000000000000000000000041612022245711013113 0ustar usr/share/man/man1/estfxfilter.1 usr/share/man/man1/estfxasis.1 usr/share/man/man1/estfxfilter.1 usr/share/man/man1/estfxmantotxt.1 usr/share/man/man1/estfxfilter.1 usr/share/man/man1/estfxmsotohtml.1 usr/share/man/man1/estfxfilter.1 usr/share/man/man1/estfxpdftohtml.1 debian/hyperestraier.manpages0000644000000000000000000000016512022245711013567 0ustar man/estcall.1 man/estcmd.1 man/estmaster.1 man/estwaver.1 debian/estfxfilter.1 debian/estwolefind.1 debian/estload.1 debian/TODO0000644000000000000000000000052212022245711007651 0ustar FHS? move appropriate directory and make symlink? /var/log/hyperestraier.log -> /var/lib/hyperestraier/_log /var/run/hyperestraier.pid -> /var/lib/hyperestraier/_pid /etc/hyperestraier/_conf -> /var/lib/hyperestaier/_conf _user _user debconf? inital user/password of estmaster debian/hyperestraier.postrm0000644000000000000000000000171212022245711013317 0ustar #! /bin/sh # postrm script for #PACKAGE# # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' overwrit>r> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; purge) rm -rf /var/lib/hyperestraier ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/libestraier-java.examples0000644000000000000000000000001712022245711014144 0ustar java/example/* debian/ruby-hyperestraier.examples0000644000000000000000000000004012265740171014572 0ustar rubypure/pure rubynative/native debian/compat0000644000000000000000000000000212022245711010360 0ustar 9 debian/hyperestraier.preinst0000644000000000000000000000327012022245711013460 0ustar #! /bin/sh # preinst script for hyperestraier # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in install|upgrade) if test -f /etc/default/hyperestraier; then . /etc/default/hyperestraier fi if dpkg --compare-versions "$2" lt 1.3.3 && test -d $ROOTDIR/_node; then # db incompatible [ -d /var/lib/hyperestraier ] || mkdir -p /var/lib/hyperestraier cp -p /usr/bin/estcmd /var/lib/hyperestraier/estcmd.$2 # stop node server to access db directory if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d hyperestraier stop || true else /etc/init.d/hyperestraier stop || true fi echo -n "node database dumping..." rm -rf $ROOTDIR.dpkg-tmp mkdir -p $ROOTDIR.dpkg-tmp/_node echo "$2" > $ROOTDIR.dpkg-tmp/_pkg_version # XXX: # estcmd search -dd -max -1 casket [UVSET] for nodedir in $ROOTDIR/_node/* do test -d $nodedir || continue nodename=$(basename $nodedir) echo -n " node/$nodename" nodetmp=$ROOTDIR.dpkg-tmp/_node/$nodename mkdir -p $nodetmp estcmd list $nodedir | while read id uri do estcmd get $nodedir $id > $nodetmp/$id.est done done echo " done." fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/libestraier-java.doc-base.pure0000644000000000000000000000050212022245711014754 0ustar Document: libestraier-java-pure Title: libestraier-java pure API document Author: Mikio Hirabayashi Abstract: This manual describes the pure APIs of libestraier-java Section: Programming Format: HTML Index: /usr/share/doc/libestraier-java/javapureapi/index.html Files: /usr/share/doc/libestraier-java/javapureapi/*.html debian/patches/0000755000000000000000000000000012156051227010616 5ustar debian/patches/hurd-compat-pathmax0000644000000000000000000003004012156051227014421 0ustar Description: fix the unconditional usage of the PATH_MAX constant. Origin: vendor Author: Pino Toscano Last-Update: 2012-10-06 --- a/estseek.c +++ b/estseek.c @@ -1486,14 +1486,14 @@ static void showtop(void){ static void expandquery(const char *word, CBLIST *result){ CBLIST *words; const char *tmpdir; - char oname[PATH_MAX], cmd[PATH_MAX], *ebuf; + char *oname, *cmd, *ebuf; int i; cblistpush(result, word, -1); tmpdir = getenv("TMP"); if(!tmpdir) tmpdir = getenv("TEMP"); if(!tmpdir) tmpdir = ESTPATHSTR "tmp"; - sprintf(oname, "%s%c%s.%08d", tmpdir, ESTPATHCHR, g_scriptname, (int)getpid()); - sprintf(cmd, "%s > %s", g_qxpndcmd, oname); + oname = cbsprintf("%s%c%s.%08d", tmpdir, ESTPATHCHR, g_scriptname, (int)getpid()); + cmd = cbsprintf("%s > %s", g_qxpndcmd, oname); ebuf = cbsprintf("ESTWORD=%s", word); putenv(ebuf); system(cmd); @@ -1506,6 +1506,8 @@ static void expandquery(const char *word cblistclose(words); } unlink(oname); + cbfree(cmd); + cbfree(oname); } --- a/estscout.c +++ b/estscout.c @@ -425,21 +425,29 @@ static void showresult(void){ CBMAP *rmap; CBLIST *list; const char *rp; - char tmppath[PATH_MAX], *expr; - int i, j, num, hnum, max; + char *tmppath, *expr; + int i, j, num, hnum, max, l; struct stat sbuf; time_t now; + size_t tmppathlen; printf("Content-Type: text/plain\r\n"); printf("Cache-Control: no-cache, must-revalidate, no-transform\r\n"); printf("Pragma: no-cache\r\n"); printf("X-Run-Count: %d\r\n", g_runcnt); printf("\r\n"); + tmppath = NULL; now = time(NULL); + tmppathlen = 0; if(*g_tmpdir != '\0' && *g_tmpdir != '@' && g_cclife >= 0 && (now + g_runcnt) % CCPURGEFREQ == 1 && (list = cbdirlist(g_tmpdir)) != NULL){ for(i = 0; i < cblistnum(list); i++){ rp = cblistval(list, i, NULL); if(!cbstrbwmatch(rp, CACHESUFFIX)) continue; + l = strlen(g_tmpdir) + 1 + strlen(rp) + 1; + if (l > tmppathlen){ + tmppath = cbrealloc(tmppath, l); + tmppathlen = l; + } sprintf(tmppath, "%s%c%s", g_tmpdir, ESTPATHCHR, rp); if(stat(tmppath, &sbuf) != -1 && now - sbuf.st_mtime > g_cclife) unlink(tmppath); } @@ -539,6 +547,7 @@ static void showresult(void){ } free(elems); cbmapclose(rmap); + cbfree(tmppath); } @@ -553,17 +562,20 @@ static void *procsearch(void *targ){ CBMAP *rmap, *hints, *umap; CBLIST *list; const char *rp, *uri; - char tmppath[PATH_MAX], *value, *expr, *ord, *enc, *pv, *mp, numbuf[NUMBUFSIZ]; + char *tmppath, *value, *expr, *ord, *enc, *pv, *mp, numbuf[NUMBUFSIZ]; const int *scores; - int i, *res, rnum, snum, check, len, num; + int i, *res, rnum, snum, check, len, num, l; struct stat sbuf; double etime; time_t now; + size_t tmppathlen; argp = (TARGSRCH *)targ; db = argp->db; cond = argp->cond; rmap = argp->rmap; + tmppath = NULL; now = argp->now; + tmppathlen = 0; if(!db || (!est_cond_phrase(cond) && !est_cond_attrs(cond))){ argp->hnum = -1; return NULL; @@ -574,11 +586,20 @@ static void *procsearch(void *targ){ if(*g_tmpdir == '@'){ num = dpinnerhash(enc, -1) % 0x100; if(g_cclife >= 0 && (now + g_runcnt) % (CCPURGEFREQ / 16) == 0){ + /* start with 30 characters more, to save allocations below */ + l = strlen(g_tmpdir + 1) + 1 + 2 + 1 + 30 + 1; + tmppath = cbrealloc(tmppath, l); + tmppathlen = l; sprintf(tmppath, "%s%c%02x", g_tmpdir + 1, ESTPATHCHR, num); if((list = cbdirlist(tmppath)) != NULL){ for(i = 0; i < cblistnum(list); i++){ rp = cblistval(list, i, NULL); if(!cbstrbwmatch(rp, CACHESUFFIX)) continue; + l = strlen(g_tmpdir + 1) + 1 + 2 + 1 + strlen(rp) + 1; + if (l > tmppathlen){ + tmppath = cbrealloc(tmppath, l); + tmppathlen = l; + } sprintf(tmppath, "%s%c%02x%c%s", g_tmpdir + 1, ESTPATHCHR, num, ESTPATHCHR, rp); if(stat(tmppath, &sbuf) != -1 && now - sbuf.st_mtime > g_cclife) unlink(tmppath); @@ -586,16 +607,22 @@ static void *procsearch(void *targ){ cblistclose(list); } } + l = strlen(g_tmpdir + 1) + 1 + 2 + 1 + strlen(enc) + strlen(CACHESUFFIX) + 1; + if (l > tmppathlen){ + tmppath = cbrealloc(tmppath, l); + tmppathlen = l; + } sprintf(tmppath, "%s%c%02x%c%s%s", g_tmpdir + 1, ESTPATHCHR, num, ESTPATHCHR, enc, CACHESUFFIX); } else { + l = strlen(g_tmpdir) + 1 + strlen(enc) + strlen(CACHESUFFIX) + 1; + tmppath = cbrealloc(tmppath, l); + tmppathlen = l; sprintf(tmppath, "%s%c%s%s", g_tmpdir, ESTPATHCHR, enc, CACHESUFFIX); } free(enc); - } else { - *tmppath = '\0'; } - if(*tmppath != '\0' && stat(tmppath, &sbuf) != -1){ + if(tmppath != NULL && stat(tmppath, &sbuf) != -1){ if((g_cclife < 0 || now - sbuf.st_mtime <= g_cclife) && (value = cbreadfile(tmppath, &len)) != NULL){ if(pthread_mutex_lock(&mymutex) == 0){ @@ -623,6 +650,7 @@ static void *procsearch(void *targ){ } } g_cache = TRUE; + cbfree(tmppath); return NULL; } else { unlink(tmppath); @@ -640,7 +668,7 @@ static void *procsearch(void *targ){ } check = (rp = est_cond_phrase(cond)) != NULL && *rp != '\0' && *rp != '[' && *rp != '*' ? g_scancheck : 0; - ofp = *tmppath != '\0' && etime >= CCGENMINTIME ? fopen(tmppath, "w") : NULL; + ofp = tmppath != NULL && etime >= CCGENMINTIME ? fopen(tmppath, "w") : NULL; num = (rp = cbmapget(hints, "", 0, NULL)) != NULL ? atoi(rp) : 0; if(rnum < est_cond_max(cond) && num < rnum) num = rnum; argp->hnum += num; @@ -757,6 +785,7 @@ static void *procsearch(void *targ){ if(ofp) fclose(ofp); free(res); cbmapclose(hints); + cbfree(tmppath); return NULL; } --- a/estsupt.c +++ b/estsupt.c @@ -287,7 +287,7 @@ static const char *skiplabel(const char static void savecache(const char *key){ int maxlen = 1024 * 1024 * 32; const char *rp; - char *buf, tmppath[PATH_MAX]; + char *buf, *tmppath; int i, len, c; buf = NULL; len = 0; @@ -308,10 +308,11 @@ static void savecache(const char *key){ len = strlen(buf); } if(*g_tmpdir == '@'){ - sprintf(tmppath, "%s%c%02x%c%s%s", g_tmpdir + 1, ESTPATHCHR, - dpinnerhash(key, -1) % 0x100, ESTPATHCHR, key, CACHESUFFIX); + tmppath = cbsprintf("%s%c%02x%c%s%s", g_tmpdir + 1, ESTPATHCHR, + dpinnerhash(key, -1) % 0x100, ESTPATHCHR, key, + CACHESUFFIX); } else { - sprintf(tmppath, "%s%c%s%s", g_tmpdir, ESTPATHCHR, key, CACHESUFFIX); + tmppath = cbsprintf("%s%c%s%s", g_tmpdir, ESTPATHCHR, key, CACHESUFFIX); } if(buf && cbwritefile(tmppath, buf, len)){ printf("Content-Type: text/plain\r\n"); @@ -328,6 +329,7 @@ static void savecache(const char *key){ printf("invalid parameter\n"); } free(buf); + cbfree(tmppath); } @@ -446,14 +448,16 @@ static char *myencode(const char *str){ /* show the cache */ static void showcache(void){ - char tmppath[PATH_MAX], *str; + char *tmppath, *str; int len; struct stat sbuf; if(*g_tmpdir == '@'){ - sprintf(tmppath, "%s%c%02x%c%s%s", g_tmpdir + 1, ESTPATHCHR, - dpinnerhash(p_cache, -1) % 0x100, ESTPATHCHR, p_cache, CACHESUFFIX); + tmppath = cbsprintf("%s%c%02x%c%s%s", g_tmpdir + 1, ESTPATHCHR, + dpinnerhash(p_cache, -1) % 0x100, ESTPATHCHR, p_cache, + CACHESUFFIX); } else { - sprintf(tmppath, "%s%c%s%s", g_tmpdir, ESTPATHCHR, p_cache, CACHESUFFIX); + tmppath = cbsprintf("%s%c%s%s", g_tmpdir, ESTPATHCHR, p_cache, + CACHESUFFIX); } if(stat(tmppath, &sbuf) != -1){ if(g_cclife < 0 || time(NULL) - sbuf.st_mtime <= g_cclife){ @@ -465,6 +469,7 @@ static void showcache(void){ printf("\r\n"); fwrite(str, 1, len, stdout); free(str); + cbfree(tmppath); return; } } else { @@ -477,6 +482,7 @@ static void showcache(void){ printf("Pragma: no-cache\r\n"); printf("\r\n"); printf("the cache was not found\n"); + cbfree(tmppath); } @@ -489,21 +495,29 @@ static void showresult(void){ CBLIST *list; CBDATUM *obuf; const char *rp; - char tmppath[PATH_MAX], *str; - int i, len, code, hnum, num; + char *tmppath, *str; + int i, len, code, hnum, num, l; struct stat sbuf; time_t now; + size_t tmppathlen; printf("Content-Type: text/plain\r\n"); printf("Cache-Control: no-cache, must-revalidate, no-transform\r\n"); printf("Pragma: no-cache\r\n"); printf("X-Run-Count: %d\r\n", g_runcnt); printf("\r\n"); + tmppath = NULL; now = time(NULL); + tmppathlen = 0; if(*g_tmpdir != '\0' && *g_tmpdir != '@' && g_cclife >= 0 && (now + g_runcnt) % CCPURGEFREQ == 0 && (list = cbdirlist(g_tmpdir)) != NULL){ for(i = 0; i < cblistnum(list); i++){ rp = cblistval(list, i, NULL); if(!cbstrbwmatch(rp, CACHESUFFIX)) continue; + l = strlen(g_tmpdir) + 1 + strlen(rp) + 1; + if (l > tmppathlen){ + tmppath = cbrealloc(tmppath, l); + tmppathlen = l; + } sprintf(tmppath, "%s%c%s", g_tmpdir, ESTPATHCHR, rp); if(stat(tmppath, &sbuf) != -1 && now - sbuf.st_mtime > g_cclife) unlink(tmppath); } @@ -513,11 +527,20 @@ static void showresult(void){ if(*g_tmpdir == '@'){ num = dpinnerhash(p_querykey, -1) % 0x100; if(g_cclife >= 0 && (now + g_runcnt) % (CCPURGEFREQ / 16) == 0){ + /* start with 30 characters more, to save allocations below */ + l = strlen(g_tmpdir + 1) + 1 + 2 + 1 + 30 + 1; + tmppath = cbrealloc(tmppath, l); + tmppathlen = l; sprintf(tmppath, "%s%c%02x", g_tmpdir + 1, ESTPATHCHR, num); if((list = cbdirlist(tmppath)) != NULL){ for(i = 0; i < cblistnum(list); i++){ rp = cblistval(list, i, NULL); if(!cbstrbwmatch(rp, CACHESUFFIX)) continue; + l = strlen(g_tmpdir + 1) + 1 + 2 + 1 + strlen(rp) + 1; + if (l > tmppathlen){ + tmppath = cbrealloc(tmppath, l); + tmppathlen = l; + } sprintf(tmppath, "%s%c%02x%c%s", g_tmpdir + 1, ESTPATHCHR, num, ESTPATHCHR, rp); if(stat(tmppath, &sbuf) != -1 && now - sbuf.st_mtime > g_cclife) unlink(tmppath); @@ -525,15 +548,21 @@ static void showresult(void){ cblistclose(list); } } + l = strlen(g_tmpdir + 1) + 1 + 2 + 1 + strlen(p_querykey) + strlen(CACHESUFFIX) + 1; + if (l > tmppathlen){ + tmppath = cbrealloc(tmppath, l); + tmppathlen = l; + } sprintf(tmppath, "%s%c%02x%c%s%s", - g_tmpdir + 1, ESTPATHCHR, num, ESTPATHCHR, p_querykey, CACHESUFFIX); + g_tmpdir + 1, ESTPATHCHR, num, ESTPATHCHR, p_querykey, CACHESUFFIX); } else { + l = strlen(g_tmpdir) + 1 + strlen(p_querykey) + strlen(CACHESUFFIX) + 1; + tmppath = cbrealloc(tmppath, l); + tmppathlen = l; sprintf(tmppath, "%s%c%s%s", g_tmpdir, ESTPATHCHR, p_querykey, CACHESUFFIX); } - } else { - *tmppath = '\0'; } - if(*tmppath != '\0' && stat(tmppath, &sbuf) != -1){ + if(tmppath != NULL && stat(tmppath, &sbuf) != -1){ if((g_cclife < 0 || now - sbuf.st_mtime <= g_cclife) && (str = cbreadfile(tmppath, &len)) != NULL){ g_hnum = atoi(str); @@ -547,6 +576,7 @@ static void showresult(void){ } free(str); g_cache = TRUE; + cbfree(tmppath); return; } else { unlink(tmppath); @@ -559,7 +589,7 @@ static void showresult(void){ code == 200){ g_hnum = atoi(cbdatumptr(obuf)); fwrite(cbdatumptr(obuf), 1, cbdatumsize(obuf), stdout); - if(*tmppath != '\0') cbwritefile(tmppath, cbdatumptr(obuf), cbdatumsize(obuf)); + if(tmppath != NULL) cbwritefile(tmppath, cbdatumptr(obuf), cbdatumsize(obuf)); cbdatumclose(obuf); free(str); return; @@ -616,6 +646,7 @@ static void showresult(void){ cbdatumclose(obuf); free(elems); cbmapclose(rmap); + cbfree(tmppath); } debian/patches/ruby-gsub-freezed-string0000644000000000000000000000077412022245711015411 0ustar Description: prevent to change script name itself Origin: vendor Author: Nobuhiro Iwamatsu Index: hyperestraier/rubynative/estcmd.rb =================================================================== --- hyperestraier.orig/rubynative/estcmd.rb 2010-08-06 19:37:35.857451876 +0900 +++ hyperestraier/rubynative/estcmd.rb 2010-08-06 19:39:00.825451999 +0900 @@ -687,7 +687,7 @@ # perform the main routine -$0.gsub!(/.*\//, "") +$0 = $0.gsub(/.*\//, "") exit(main(ARGV)) debian/patches/fix-manpage0000644000000000000000000000705712022245711012741 0ustar Description: lintian-tag hyphen-used-as-minus-sign, and fix some misspelling Origin: vendor Author: KURASHIKI Satoru Index: hyperestraier/man/estcmd.1 =================================================================== --- hyperestraier.orig/man/estcmd.1 2010-07-28 08:35:36.591937594 +0900 +++ hyperestraier/man/estcmd.1 2010-07-28 08:37:22.791965540 +0900 @@ -703,7 +703,7 @@ .B \-attr option of .B create -sub command should be "seq" for sequencial type, "str" for string type, or "num" for number type. +sub command should be "seq" for sequential type, "str" for string type, or "num" for number type. .PP Each pseudo index specified by .B \-pidx Index: hyperestraier/man/estraier.3 =================================================================== --- hyperestraier.orig/man/estraier.3 2010-07-28 08:40:31.763937394 +0900 +++ hyperestraier/man/estraier.3 2010-07-28 08:40:50.304978491 +0900 @@ -205,7 +205,7 @@ The function `est_db_add_attr_index' is used in order to add an index for narrowing or sorting with document attributes. .TP .B int est_db_add_attr_index(ESTDB *db, const char *name, int type); -`db' specifies a database object connected as a writer. `name' specifies the name of an attribute. `type' specifies the data type of attribute index; `ESTIDXATTRSEQ' for multipurpose sequencial access method, `ESTIDXATTRSTR' for narrowing with attributes as strings, `ESTIDXATTRNUM' for narrowing with attributes as numbers. The return value is true if success, else it is false. Note that this function should be called before the first document is registered. +`db' specifies a database object connected as a writer. `name' specifies the name of an attribute. `type' specifies the data type of attribute index; `ESTIDXATTRSEQ' for multipurpose sequential access method, `ESTIDXATTRSTR' for narrowing with attributes as strings, `ESTIDXATTRNUM' for narrowing with attributes as numbers. The return value is true if success, else it is false. Note that this function should be called before the first document is registered. .PP The function `est_db_flush' is used in order to flush index words in the cache of a database. .TP Index: hyperestraier/perlnative/src/Estraier.pod =================================================================== --- hyperestraier.orig/perlnative/src/Estraier.pod 2010-07-28 08:43:03.344941403 +0900 +++ hyperestraier/perlnative/src/Estraier.pod 2010-07-28 08:43:32.803960907 +0900 @@ -356,7 +356,7 @@ =item Database::IDXATTRSEQ = 0 -attribute index type: for multipurpose sequencial access method +attribute index type: for multipurpose sequential access method =item Database::IDXATTRSTR = 1 @@ -432,7 +432,7 @@ =item $db-Eadd_attr_index(I, I) -Add an index for narrowing or sorting with document attributes. `name' specifies the name of an attribute. `type' specifies the data type of attribute index; `Database::IDXATTRSEQ' for multipurpose sequencial access method, `Database::IDXATTRSTR' for narrowing with attributes as strings, `Database::IDXATTRNUM' for narrowing with attributes as numbers. The return value is true if success, else it is false. +Add an index for narrowing or sorting with document attributes. `name' specifies the name of an attribute. `type' specifies the data type of attribute index; `Database::IDXATTRSEQ' for multipurpose sequential access method, `Database::IDXATTRSTR' for narrowing with attributes as strings, `Database::IDXATTRNUM' for narrowing with attributes as numbers. The return value is true if success, else it is false. =item $db-Eflush(I) debian/patches/ruby-compat0000644000000000000000000000604012022245711012776 0ustar Description: wraps some api call to use with ruby1.9 as well as ruby1.8 Origin: vendor Author: KURASHIKI Satoru Index: hyperestraier/rubynative/src/estraier.c =================================================================== --- hyperestraier.orig/rubynative/src/estraier.c 2010-05-23 15:24:39.752082000 +0900 +++ hyperestraier/rubynative/src/estraier.c 2010-05-23 15:25:07.547571000 +0900 @@ -24,6 +24,18 @@ #define VNINFO "@informer" #define VNCOND "@cond" +#ifndef RUBY_19 +#ifndef RARRAY_LEN +#define RARRAY_LEN(v) (RARRAY(v)->len) +#endif +#ifndef RSTRING_LEN +#define RSTRING_LEN(v) (RSTRING(v)->len) +#endif +#ifndef RSTRING_PTR +#define RSTRING_PTR(v) (RSTRING(v)->ptr) +#endif +#endif + typedef struct { int *ids; int *dbidxs; @@ -351,7 +363,7 @@ vdoc = rb_iv_get(vself, VNDATA); Data_Get_Struct(vdoc, ESTDOC, doc); Check_Type(vwords, T_ARRAY); - len = RARRAY(vwords)->len; + len = RARRAY_LEN(vwords); for(i = 0; i < len; i++){ Check_Type(rb_ary_entry(vwords, i), T_STRING); } @@ -764,7 +776,7 @@ CBMAP *hints; int i, dnum, *res, rnum; Check_Type(vdbs, T_ARRAY); - dnum = RARRAY(vdbs)->len; + dnum = RARRAY_LEN(vdbs); dbs = cbmalloc(dnum * sizeof(ESTMTDB *) + 1); for(i = 0; i < dnum; i++){ vdb = rb_ary_entry(vdbs, i); @@ -1189,10 +1201,10 @@ VALUE str; int i, len; list = cblistopen(); - len = RARRAY(obj)->len; + len = RARRAY_LEN(obj); for(i = 0; i < len; i++){ str = rb_ary_entry(obj, i); - cblistpush(list, RSTRING(str)->ptr, RSTRING(str)->len); + cblistpush(list, RSTRING_PTR(str), RSTRING_LEN(str)); } return list; } @@ -1218,14 +1230,14 @@ int i, len; map = cbmapopenex(31); keys = rb_funcall(obj, rb_intern("keys"), 0); - len = RARRAY(keys)->len; + len = RARRAY_LEN(keys); for(i = 0; i < len; i++){ key = rb_ary_entry(keys, i); val = rb_hash_aref(obj, key); key = rb_String(key); val = rb_String(val); - cbmapput(map, RSTRING(key)->ptr, RSTRING(key)->len, - RSTRING(val)->ptr, RSTRING(val)->len, 0); + cbmapput(map, RSTRING_PTR(key), RSTRING_LEN(key), + RSTRING_PTR(val), RSTRING_LEN(val), 0); } return map; } Index: hyperestraier/rubynative/Makefile.in =================================================================== --- hyperestraier.orig/rubynative/Makefile.in 2010-05-26 15:27:13.910782000 +0900 +++ hyperestraier/rubynative/Makefile.in 2010-05-26 15:27:29.822099000 +0900 @@ -27,8 +27,8 @@ DESTDIR = # Building binaries -RUBY = @RUBY@ -RDOC = @RDOC@ +#RUBY = @RUBY@ +#RDOC = @RDOC@ RUNENV = LD_LIBRARY_PATH=.:..:/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@ Index: hyperestraier/rubypure/Makefile.in =================================================================== --- hyperestraier.orig/rubypure/Makefile.in 2010-05-26 15:25:57.033879000 +0900 +++ hyperestraier/rubypure/Makefile.in 2010-05-26 15:26:49.679556000 +0900 @@ -26,8 +26,8 @@ DESTDIR = # Building binaries -RUBY = @RUBY@ -RDOC = @RDOC@ +#RUBY = @RUBY@ +#RDOC = @RDOC@ debian/patches/java7-compat0000644000000000000000000000115112156051227013030 0ustar Description: Ensure compiled bytecode is backwards compatible with Java 1.5+. Origin: vendor Author: Logan Rosen Index: hyperestraier/javapure/Makefile.in =================================================================== --- hyperestraier.orig/javapure/Makefile.in 2009-09-12 05:00:23.000000000 +0100 +++ hyperestraier/javapure/Makefile.in 2012-08-01 15:21:45.034718729 +0100 @@ -29,7 +29,7 @@ MYJAVAHOME = @MYJAVAHOME@ JVMPLATFORM = @JVMPLATFORM@ JAVAC = @JAVAC@ -JAVACFLAGS = -d . +JAVACFLAGS = -source 1.5 -target 1.5 -d . JAR = @JAR@ JAVAH = @JAVAH@ JAVADOC = @JAVADOC@ debian/patches/purge-mycflags0000644000000000000000000000311012022245711013454 0ustar Description: enable build hardening in Makefile.in Some Makefile.in specify CFLAGS as @MYCFLAG@, however it prevents Debian hardening CFLAGS, then replae it. And -fPIC needs to be built. . Author: Hideki Yamane --- Origin: vendor Forwarded: no Last-Update: 2012-06-27 Index: hyperestraier/Makefile.in =================================================================== --- hyperestraier.orig/Makefile.in 2012-07-04 08:45:04.736069243 +0900 +++ hyperestraier/Makefile.in 2012-07-04 08:46:44.348563192 +0900 @@ -60,7 +60,7 @@ -I$(HOME)/include -I/usr/local/include -I/usr/include/qdbm @MYCPPOPTS@ \ -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \ -DPIC=1 -D_THREAD_SAFE=1 -D_REENTRANT=1 @MYDEFS@ -CFLAGS = @MYCFLAGS@ +CFLAGS = @CFLAGS@ -fPIC LDFLAGS = @LDFLAGS@ -L. -L$(MYLIBDIR) -L$(HOME)/lib -L/usr/local/lib @MYLDOPTS@ LIBS = @LIBS@ MTLIBS = @MYMTLIBS@ Index: hyperestraier/javanative/Makefile.in =================================================================== --- hyperestraier.orig/javanative/Makefile.in 2012-07-04 08:45:04.736069243 +0900 +++ hyperestraier/javanative/Makefile.in 2012-07-04 08:46:44.348563192 +0900 @@ -50,7 +50,7 @@ -I$(MYJAVAHOME)/include -I$(MYJAVAHOME)/include/$(JVMPLATFORM) -I$(MYJAVAHOME)/Headers \ -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \ -DPIC=1 -D_THREAD_SAFE=1 -D_REENTRANT=1 @DEFS@ -CFLAGS = @MYCFLAGS@ +CFLAGS = @CFLAGS@ -fPIC LDFLAGS = @LDFLAGS@ -L. -L.. -L$(MYLIBDIR) -L$(HOME)/lib -L/usr/local/lib @MYLDOPTS@ LIBS = @LIBS@ MTLIBS = @MYMTLIBS@ debian/patches/series0000644000000000000000000000014112156051227012027 0ustar fix-manpage ruby-compat ruby-gsub-freezed-string hurd-compat-pathmax purge-mycflags java7-compat debian/README.Debian0000644000000000000000000000125112022245711011222 0ustar hyperestraier for Debian ------------------------ default node master database will be created in $ROOTDIR in /etc/default/hyperestraier (package default: /var/lib/hyperestraier/estmaster) at installation time. To run estmaster(1) at boot time, change NO_START in /etc/default/hyperestraier to 0. You also check USER, ROOTDIR and $ROOTDIR/_conf. Default account used in node master is "admin" with password "admin". You should create user own account and disable default account "admin" through "Manage Users" on http://localhost:1978/master_ui For more detail, see /usr/share/doc/hyperestaier/nguide-en.html. -- Fumitoshi UKAI , Sat Jul 23 01:42:34 2005 debian/control0000644000000000000000000000762712320262157010605 0ustar Source: hyperestraier Section: text Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: KURASHIKI Satoru Build-Depends: debhelper (>= 9), autotools-dev, pkg-config, zlib1g-dev, libqdbm-dev (>= 1.8.75), libfcgi-dev (>= 2.4.0-6), gem2deb, default-jdk [linux-any], chrpath, perl Standards-Version: 3.9.4 Homepage: http://fallabs.com/hyperestraier/ Vcs-Git: git://anonscm.debian.org/collab-maint/hyperestraier.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/hyperestraier.git XS-Ruby-Versions: all Package: hyperestraier Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: wv, xlhtml, ppthtml, poppler-utils, wordnet Description: full-text search system for communities Hyper Estraier is a full-text search system. You can search lots of documents for some documents including specified words. If you run a web site, it is useful as your own search engine for pages in your site. Also, it is useful as search utilities of mail boxes and file servers. The characteristic of Hyper Estraier is the following. * High performance of search * High scalability of target documents * Perfect recall ratio by N-gram method * Phrase search, attribute search, and similarity search * Multilingualism with Unicode * Independent of file format and repository * Simple and powerful API * Supporting P2P architecture It is redesigned Estraier and you can connect several index nodes over the network using node API. Package: libestraier8 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: full-text search system Libraries [runtime] Hyper Estraier is a full-text search system. This is the runtime package for programs that use the QDBM database library. Package: libestraier-dev Section: libdevel Architecture: any Depends: ${shlibs:Depends}, libestraier8 (= ${binary:Version}), ${misc:Depends}, zlib1g-dev, libqdbm-dev Description: full-text search system Libraries [development] Hyper Estraier is a full-text search system. This is the runtime package for programs that use the QDBM database library. Package: ruby-hyperestraier XB-Ruby-Versions: ${ruby:Versions} X-DhRuby-Root: rubynative/src Architecture: any Section: ruby Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: ruby-hyperestraier-doc Provides: libestraier-ruby1.8, libestraier-ruby1.9.1, libestraier-ruby Replaces: libestraier-ruby1.8 (<< 1.4.13-4), libestraier-ruby1.9.1 (<< 1.4.13-4), libestraier-ruby (<< 1.4.13-4) Breaks: libestraier-ruby1.8 (<< 1.4.13-4), libestraier-ruby1.9.1 (<< 1.4.13-4), libestraier-ruby (<< 1.4.13-4) Description: Hyper Estraier Node API Libraries for Ruby Hyper Estraier is a full-text search system. This package provides the Ruby interface for the Node API for Hyper Estraier. Package: ruby-hyperestraier-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: ruby-hyperestraier Provides: libestraier-ruby-doc Replaces: libestraier-ruby-doc (<< 1.4.13-4) Breaks: libestraier-ruby-doc (<< 1.4.13-4) Description: Hyper Estraier Node API Libraries for Ruby (documentation) Hyper Estraier is a full-text search system. This is the documentation package, with upstream documentation, as well as generated rdoc. Package: libestraier-java Architecture: any Section: java Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: hyperestraier, java-virtual-machine Description: Hyper Estraier Node API Libraries for Java Hyper Estraier is a full-text search system. This package provides the Java interface for the Node API for Hyper Estraier. Package: libestraier-perl Architecture: any Section: perl Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends} Suggests: hyperestraier, perl Description: Hyper Estraier node API Libraries for Perl Hyper Estraier is a full-text search system. This package provides the Perl interface for the Node API for Hyper Estraier. debian/dirs0000644000000000000000000000013512022245711010045 0ustar usr/bin usr/lib/estraier usr/share/hyperestraier usr/include/estraier var/lib/hyperestraier debian/ruby-hyperestraier-doc.lintian-overrides0000644000000000000000000000026112022245711017151 0ustar ruby-hyperestraier-doc binary: duplicate-files usr/share/doc/ruby-hyperestraier-doc/rubynativeapi/rdoc-style.css usr/share/doc/ruby-hyperestraier-doc/rubypureapi/rdoc-style.css debian/rules0000755000000000000000000001710312265740171010255 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # # Modified to make a template file for a multi-binary package with separated # build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS #export DEB_BUILD_MAINT_OPTIONS = hardening=+all # work-around for upstream build that thinks $(HOME) belongs in the # include path for all builds! export HOME=$(CURDIR)/junkhome # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_BUILD_GNU_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU) DEB_BUILD_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM) JAVA_UNSUPPORTED_CPUS = zhppaz zmipsz zs390xz zmipselz JAVA_UNSUPPORTED_SYSTEMS = zkfreebsd-gnuz zgnuz RUBYLIBDIR=/usr/lib/ruby/vendor_ruby export CFLAGS += `dpkg-buildflags --get CFLAGS` export CPPFLAGS += `dpkg-buildflags --get CPPFLAGS` export CXXFLAGS += `dpkg-buildflags --get CXXFLAGS` export FFLAGS += `dpkg-buildflags --get FFLAGS` export LDFLAGS += `dpkg-buildflags --get LDFLAGS` export MYCFLAGS = $(CFLAGS) CONFIGURE_VARS = $(shell dpkg-buildflags --export=configure) CONFIGURE_SWITCHES = --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --includedir=\$${prefix}/include/estraier \ --libexecdir=\$${prefix}/lib/estraier DEFAULT_JAVA ?= $(shell readlink /etc/alternatives/java | sed s@/jre/bin/java@@) JAVA_HOME ?= $(DEFAULT_JAVA) CONFIGURE_VARS += JAVA_HOME="$(JAVA_HOME)" ifeq (,$(findstring z$(DEB_BUILD_GNU_CPU)z,$(JAVA_UNSUPPORTED_CPUS))) ifeq (,$(findstring z$(DEB_BUILD_GNU_SYSTEM)z,$(JAVA_UNSUPPORTED_SYSTEMS))) BUILD_JAVA = true endif endif config.status: configure dh_testdir # Add here commands to configure the package. ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif $(CONFIGURE_VARS) ./configure $(CONFIGURE_SWITCHES) cd rubypure && $(CONFIGURE_VARS) ./configure $(CONFIGURE_SWITCHES) $(MAKE) ifeq "$(BUILD_JAVA)" "true" cd javapure && $(CONFIGURE_VARS) ./configure $(CONFIGURE_SWITCHES) \ --libdir=\$${prefix}/share/hyperestraier cd javanative && $(CONFIGURE_VARS) LIBS="../libestraier.a" ./configure $(CONFIGURE_SWITCHES) endif cd perlnative && $(CONFIGURE_VARS) ./configure $(CONFIGURE_SWITCHES) #Architecture build: build-arch build-indep build-indep: build-arch: build-arch-stamp build-arch-stamp: config.status # Add here commands to compile the arch part of the package. $(MAKE) && $(MAKE) check $(MAKE) estseek.fcgi cd rubypure && $(MAKE) perl -p -i -e 's@^#! /usr/bin/ruby1\.8 -w@#! /usr/bin/ruby -w@' rubypure/estcall.rb perl -p -i -e 's@^#! /usr/bin/ruby1\.8 -w@#! /usr/bin/ruby -w@' rubynative/estcmd.rb ifeq "$(BUILD_JAVA)" "true" cd javapure && $(MAKE) cd javanative && $(MAKE) && $(MAKE) check endif cd perlnative/src && perl Makefile.PL INC="-I/usr/include/qdbm -I. -I../.. -I/usr/include/estraier" \ OPTIMIZE="$(CFLAGS) $(CPPFLAGS) $(FFLAGS)" \ LIBS="-L../.. -lestraier -lqdbm -lz -lm -lc" INSTALLDIRS=vendor && $(MAKE) \ OTHERLDFLAGS="$(LDFLAGS)" cd perlnative && $(MAKE) check #$(MAKE) doc touch build-arch-stamp clean: dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp binary-arch-stamp binary-indep-stamp rm -rf config.sub config.guess rubypure/pure rubynative/native # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean -cd rubypure && $(MAKE) distclean -cd rubynative && $(MAKE) distclean -cd javapure && $(MAKE) distclean -cd javanative && $(MAKE) distclean -cd perlnative && $(MAKE) distclean dh_clean # Build architecture dependant packages using the common target. binary-arch: binary-arch-stamp binary-arch-stamp: build-arch dh_testdir dh_testroot dh_prep dh_installdirs -s # Add here commands to install the arch part of the package into # debian/tmp. $(MAKE) install prefix=$(CURDIR)/debian/hyperestraier/usr perl -p -i -e 's/^\.TH ESTWAVER 3/\.TH ESTWAVER 1/' $(CURDIR)/debian/hyperestraier/usr/share/man/man1/estwaver.1 # ruby mkdir -p $(CURDIR)/debian/ruby-hyperestraier/$(RUBYLIBDIR) cp -Rf rubypure/estraierpure.rb $(CURDIR)/debian/ruby-hyperestraier/$(RUBYLIBDIR) install -m 644 rubynative/estraier-doc.rb $(CURDIR)/debian/ruby-hyperestraier/$(RUBYLIBDIR) # build Ruby with gem2deb dh_ruby --install # create example directory tree cp -pR rubypure/example rubypure/pure cp -Rf rubypure/estcall.rb rubypure/pure cp -pR rubynative/example rubynative/native cp -Rf rubynative/estcmd.rb rubynative/native ifeq "$(BUILD_JAVA)" "true" cd javapure && $(MAKE) install DESTDIR=$(CURDIR)/debian/libestraier-java mv $(CURDIR)/debian/libestraier-java/usr/share/hyperestraier/estraierpure.jar $(CURDIR)/debian/libestraier-java/usr/share/hyperestraier/lib/ cd javanative && $(MAKE) install \ DESTDIR=$(CURDIR)/debian/libestraier-java cp -L $(CURDIR)/debian/libestraier-java/usr/lib/libjestraier.so $(CURDIR)/debian/libestraier-java/usr/lib/jni/libjestraier.so mv $(CURDIR)/debian/libestraier-java/usr/lib/estraier.jar $(CURDIR)/debian/libestraier-java/usr/share/hyperestraier/lib/ -rm -f $(CURDIR)/debian/libestraier-java/usr/lib/libjestraier.so* endif chrpath -d perlnative/src/blib/arch/auto/Estraier/Estraier.so perl -p -i -e 's/^Perl Binding/Estraier - Perl Binding/' perlnative/src/blib/man3/Estraier.3pm cd perlnative && $(MAKE) install \ DESTDIR=$(CURDIR)/debian/libestraier-perl # estmttest is test only rm $(CURDIR)/debian/hyperestraier/usr/bin/estmttest install -m 755 estseek.fcgi $(CURDIR)/debian/hyperestraier/usr/lib/estraier/ chrpath -d $(CURDIR)/debian/hyperestraier/usr/lib/estraier/*cgi chrpath -d `file $(CURDIR)/debian/hyperestraier/usr/bin/* | awk -F: '/ELF/{print $$1}'` dh_install -s dh_movefiles --source=./debian/hyperestraier cd $(CURDIR)/debian/hyperestraier/usr/share/hyperestraier && \ rm -rf COPYING ChangeLog THANKS doc find $(CURDIR)/debian -type d -empty -delete $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common touch binary-arch-stamp # Must not depend on anything. This is to be called by # binary-arch/binary-indep # in another 'make' thread. binary-common: dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples # dh_installdebconf # dh_installlogrotate # dh_installpam # dh_installmime dh_installinit # dh_installcron dh_installman dh_link ifeq "$(BUILD_JAVA)" "true" -rm -f $(CURDIR)/debian/libestraier-java/usr/share/java/estraier.jar endif dh_fixperms dh_strip dh_compress dh_perl dh_makeshlibs --no-package=libestraier-java -V dh_installdeb dh_shlibdeps -l debian/libestraier8/usr/lib dh_gencontrol dh_lintian dh_md5sums dh_builddeb binary: binary-arch binary-indep binary-indep: $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch debian/source/0000755000000000000000000000000012022245711010462 5ustar debian/source/format0000644000000000000000000000001412022245711011670 0ustar 3.0 (quilt) debian/source/lintian-overrides0000644000000000000000000000031712022245711014044 0ustar hyperestraier source: duplicate-long-description libestraier-dev libestraier8 hyperestraier source: duplicate-long-description libestraier-ruby libestraier-ruby-doc libestraier-ruby1.8 libestraier-ruby1.9.1 debian/hyperestraier.lintian-overrides0000644000000000000000000000007712022245711015434 0ustar hyperestraier binary: binary-without-manpage usr/bin/estbutler debian/estwolefind.10000644000000000000000000000333412022245711011572 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH ESTWOLEFIND 1 "2005-08-01" "Man Page" "HyperEstraier" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME estwolefind \- listing WWWOFFLE cache for hyper estraier .SH SYNOPSIS .B estwolefind .I dir .SH DESCRIPTION This manual page documents briefly the .B estwolefind commands. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBestwolefind\fP is a program that lists up WWWOFFLE caches for input of \fBestcmd\fP. It outputs pathnames of WWWOFFLE cache files in the directory specified by first argument and corresponding URLs in Tab separeted value formats. .SH EXAMPLES .PP The following command will register cache files of WWWOFFLE into HyperEstraier database. .PP \fB estwolefind /var/cache/wwwoffle |\ estcmd gather \-cl \-fm \-px @uri \-sd \-cm casket -\fP .PP .SH SEE ALSO .BR estcmd (1). .SH AUTHOR estraier was written by Mikio Hirabayashi . .PP This manual page was written by Fumitoshi UKAI , for the Debian project (but may be used by others). debian/libestraier-java.links0000644000000000000000000000022312022245711013445 0ustar usr/share/hyperestraier/lib/estraier.jar usr/share/java/estraier.jar usr/share/hyperestraier/lib/estraierpure.jar usr/share/java/estraierpure.jar debian/watch0000644000000000000000000000010512022245711010207 0ustar version=3 http://fallabs.com/hyperestraier/hyperestraier-(.+).tar.gz debian/libestraier-perl.examples0000644000000000000000000000003512022245711014165 0ustar perlnative/example/example* debian/estfxfilter.10000644000000000000000000000465012022245711011610 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH ESTFILTER 1 "2005-06-04" "Man Page" "Estraier" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME estfxasis, estfxmantotxt, estfxmsotohtml, estfxpdftohtml \- hyperestraier filter programs .SH SYNOPSIS .B estcmd gather -cl -fx ".1,.2,.3,.1.gz,.2.gz,.3.gz" "T@estfxmantotxt" -fz -sd -cm .IB casket . .PP .B estcmd gather -cl -fx ".doc,.xls,.ppt" "H@estfxmsotohtml" -fz -ic UTF-8 -sd -cm .IB casket . .PP .B estcmd gather -cl -fx ".pdf" "H@estfxpdftohtml" -fz -ic UTF-8 -sd -cm .IB casket . .SH DESCRIPTION This manual page documents briefly the hyperestraier filter programs. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. These programs are called as filter programs when construting an inverted index. Their functions are to read data from a file specified with the first argument, and convert the data to document draft or html, and write the result to a file specified with the second argument. .PP \fBestfxasis\fP just passes input contents to output. .PP \fBestfxmantotxt\fP converts manual pages into plain text, so that it is expected to use "\fBT@\fP" prefix for \fBestcmd\fP filter spec. It depends man, bsdmainutils and coreutils. .PP \fBestfxmsotohtml\fP converts MS-Word, MS-Excel or MS-PowerPoint into html, so that it is expected to use "\fBH@\fP" prefix for \fBestcmd\fP filter spec. It depends on wvWare, xlhtml or ppthtml. .PP \fBestfxpdftohtml\fP converts PDF into html, so that it is expected to use "\fBH@\fP" prefix for \fBestcmd\fP filter spec. It depends on pdftotext. .SH SEE ALSO .BR estcmd (1), .SH AUTHOR estraier was written by Mikio Hirabayashi . .PP This manual page was written by Fumitoshi UKAI , for the Debian project (but may be used by others). debian/hyperestraier.default0000644000000000000000000000042412022245711013416 0ustar # default configuration for /etc/init.d/hyperestraier # NO_START: 0 = start on boot; 1 = don't start on boot NO_START=1 # USER: what user will run estmaster(1)? USER=www-data # ROOTDIR: rootdir of estmaster(1). # see $ROOTDIR/_conf ROOTDIR=/var/lib/hyperestraier/estmaster