From gslin@ccreader.NCTU.edu.tw  Mon Jul 30 16:52:37 2007
Return-Path: <gslin@ccreader.NCTU.edu.tw>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E133B16A418
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <gslin@gslin.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gslin@gslin.org
Subject: [NEW PORT] databases/mysqlbigram: Simple N-Gram (bi-gram) FULLTEXT parser plugin for MySQL 5.1+
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 30 17:00:06 GMT 2007
>Closed-Date:    Sun Apr 06 17:57:40 UTC 2008
>Last-Modified:  Sun Apr  6 18:00:12 UTC 2008
>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 <gslin@gslin.org>
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 <bsd.port.mk>
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:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jul 30 17:00:17 UTC 2007 
Responsible-Changed-Why:  
clsung@ wants his PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115051 
Responsible-Changed-From-To: clsung->pav 
Responsible-Changed-By: clsung 
Responsible-Changed-When: Tue Apr 1 00:58:19 UTC 2008 
Responsible-Changed-Why:  
Over to pav 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115051 
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Fri Apr 4 11:54:00 UTC 2008 
State-Changed-Why:  
Can you provide a shar for 1.0.1? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115051 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Sun Apr 6 17:56:53 UTC 2008 
State-Changed-Why:  
New port added at 1.0.1, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115051 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/115051: commit references a PR
Date: Sun,  6 Apr 2008 17:57:08 +0000 (UTC)

 pav         2008-04-06 17:57:03 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases            Makefile 
   Added files:
     databases/mysqlbigram Makefile distinfo pkg-descr pkg-plist 
   Log:
   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/
   
   PR:             ports/115051
   Submitted by:   Gea-Suan Lin <gslin@gslin.org>
   
   Revision  Changes    Path
   1.673     +1 -0      ports/databases/Makefile
   1.1       +26 -0     ports/databases/mysqlbigram/Makefile (new)
   1.1       +3 -0      ports/databases/mysqlbigram/distinfo (new)
   1.1       +14 -0     ports/databases/mysqlbigram/pkg-descr (new)
   1.1       +5 -0      ports/databases/mysqlbigram/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
