From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 30 17:00:07 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E658616A41F for ; Mon, 30 Jul 2007 17:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C551E13C481 for ; Mon, 30 Jul 2007 17:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6UH07ZF068536 for ; Mon, 30 Jul 2007 17:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6UH07oq068534; Mon, 30 Jul 2007 17:00:07 GMT (envelope-from gnats) Resent-Date: Mon, 30 Jul 2007 17:00:07 GMT Resent-Message-Id: <200707301700.l6UH07oq068534@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gea-Suan Lin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E133B16A418 for ; Mon, 30 Jul 2007 16:52:36 +0000 (UTC) (envelope-from gslin@ccreader.NCTU.edu.tw) Received: from ccreader.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119]) by mx1.freebsd.org (Postfix) with ESMTP id 9DFCB13C46B for ; Mon, 30 Jul 2007 16:52:36 +0000 (UTC) (envelope-from gslin@ccreader.NCTU.edu.tw) Received: by ccreader.NCTU.edu.tw (Postfix, from userid 1000) id DCA171CC1A; Tue, 31 Jul 2007 00:52:02 +0000 (UTC) Message-Id: <20070731005202.DCA171CC1A@ccreader.NCTU.edu.tw> Date: Tue, 31 Jul 2007 00:52:02 +0000 (UTC) From: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gslin@gslin.org Subject: ports/115051: [NEW PORT] databases/mysqlbigram: Simple N-Gram (bi-gram) FULLTEXT parser plugin for MySQL 5.1+ X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 17:00:08 -0000 >Number: 115051 >Category: ports >Synopsis: [NEW PORT] databases/mysqlbigram: Simple N-Gram (bi-gram) FULLTEXT parser plugin for MySQL 5.1+ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 30 17:00:06 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD ccreader.NCTU.edu.tw 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Jul 29 04:54:23 UTC 2007 >Description: MySQL has fulltext index search ability for text field. but it is word based index, it cannot be used for no word delimiter laungage like Japanese or Chinese. and it also can't search charactors in middle of a words. (cf. searching 'in' will not match word 'ping'.) Starts from MySQL 5.1, MySQL supports a plugin that allows to change server components (fulltext search parser) without restarting / recompiling the server. This n-gram parser uses this plugin interface to implement a simple n-gram (bi-gram) fulltext index parser which can be index no word delimiter laungage. WWW: http://mysqlbigram.googlepages.com/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- mysqlbigram-1.0.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mysqlbigram # mysqlbigram/pkg-descr # mysqlbigram/Makefile # mysqlbigram/pkg-plist # mysqlbigram/distinfo # mysqlbigram/files # mysqlbigram/files/patch-Makefile.in # echo c - mysqlbigram mkdir -p mysqlbigram > /dev/null 2>&1 echo x - mysqlbigram/pkg-descr sed 's/^X//' >mysqlbigram/pkg-descr << 'END-of-mysqlbigram/pkg-descr' XMySQL has fulltext index search ability for text field. but it is word Xbased index, it cannot be used for no word delimiter laungage like XJapanese or Chinese. and it also can't search charactors in middle of Xa words. (cf. searching 'in' will not match word 'ping'.) X XStarts from MySQL 5.1, MySQL supports a plugin that allows to change Xserver components (fulltext search parser) without restarting / Xrecompiling the server. X XThis n-gram parser uses this plugin interface to implement a simple Xn-gram (bi-gram) fulltext index parser which can be index no word Xdelimiter laungage. X XWWW: http://mysqlbigram.googlepages.com/ END-of-mysqlbigram/pkg-descr echo x - mysqlbigram/Makefile sed 's/^X//' >mysqlbigram/Makefile << 'END-of-mysqlbigram/Makefile' X# New ports collection makefile for: mysqlbigram X# Date created: 2007-07-25 X# Whom: Gea-Suan Lin X# X# $FreeBSD$ X# X XPORTNAME= mysqlbigram XPORTVERSION= 1.0 XCATEGORIES= databases XMASTER_SITES= http://mysqlbigram.googlepages.com/ XDISTFILES= bi_gram-src-${PORTVERSION}${EXTRACT_SUFX} X XMAINTAINER= gslin@gslin.org XCOMMENT= Simple N-Gram (bi-gram) FULLTEXT parser plugin for MySQL 5.1+ X X# XXX: Not to use USE_AUTOTOOLS because we just need theirs files XBUILD_DEPENDS+= automake-1.9:${PORTSDIR}/devel/automake19 \ X libtool:${PORTSDIR}/devel/libtool15 X XCFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/mysql XCONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" XGNU_CONFIGURE= yes XIGNORE_WITH_MYSQL= 323 40 41 50 XLDFLAGS+= -L${LOCALBASE}/lib XUSE_MYSQL= yes XWRKSRC= ${WRKDIR}/bi_gram X Xpost-patch: X.for f in COPYING INSTALL compile config.guess config.sub depcomp install-sh missing X ${RM} -f ${WRKSRC}/${f} X ${LN} -s ${LOCALBASE}/share/automake-1.9/${f} ${WRKSRC} X.endfor X ${RM} -f ${WRKSRC}/ltmain.sh X ${LN} -s ${LOCALBASE}/share/libtool/ltmain.sh ${WRKSRC} X X.include END-of-mysqlbigram/Makefile echo x - mysqlbigram/pkg-plist sed 's/^X//' >mysqlbigram/pkg-plist << 'END-of-mysqlbigram/pkg-plist' X@comment $FreeBSD$ Xlib/mysql/bi_gramlib.la Xlib/mysql/bi_gramlib.so Xlib/mysql/bi_gramlib.so.0 X@dirrmtry lib/mysql END-of-mysqlbigram/pkg-plist echo x - mysqlbigram/distinfo sed 's/^X//' >mysqlbigram/distinfo << 'END-of-mysqlbigram/distinfo' XMD5 (bi_gram-src-1.0.tar.gz) = 26b8b7cde0a54769f63458dc0c4e15fd XSHA256 (bi_gram-src-1.0.tar.gz) = ac2c371e449eef9821fe511e0c6117132ea6ffe6c0b8e82a530b9faa584b3d03 XSIZE (bi_gram-src-1.0.tar.gz) = 568629 END-of-mysqlbigram/distinfo echo c - mysqlbigram/files mkdir -p mysqlbigram/files > /dev/null 2>&1 echo x - mysqlbigram/files/patch-Makefile.in sed 's/^X//' >mysqlbigram/files/patch-Makefile.in << 'END-of-mysqlbigram/files/patch-Makefile.in' X--- Makefile.in.orig 2007-07-31 00:49:47.000000000 +0000 X+++ Makefile.in 2007-07-31 00:49:51.000000000 +0000 X@@ -106,8 +106,7 @@ X distuninstallcheck_listfiles = find . -type f -print X distcleancheck_listfiles = find . -type f -print X X-#pkglibdir=$(libdir)/mysql X-pkglibdir = /usr/lib/mysql X+pkglibdir=$(libdir)/mysql X ACLOCAL = @ACLOCAL@ X AMDEP_FALSE = @AMDEP_FALSE@ X AMDEP_TRUE = @AMDEP_TRUE@ END-of-mysqlbigram/files/patch-Makefile.in exit --- mysqlbigram-1.0.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: