Index: head/databases/Makefile =================================================================== --- head/databases/Makefile (revision 61546) +++ head/databases/Makefile (revision 61547) @@ -1,170 +1,171 @@ # $FreeBSD$ # SUBDIR += adodb SUBDIR += bbdb SUBDIR += bbdb-emacs20 SUBDIR += cdb SUBDIR += clip SUBDIR += cyrus-imspd SUBDIR += db SUBDIR += db3 SUBDIR += db33 SUBDIR += db4 SUBDIR += dbXML SUBDIR += dbconnect SUBDIR += dbdesigner SUBDIR += dbf2mysql SUBDIR += dbmetrix SUBDIR += dbtool SUBDIR += dbview SUBDIR += edb SUBDIR += fastdb SUBDIR += firebird SUBDIR += firebird-devel SUBDIR += freetds SUBDIR += gadfly SUBDIR += gdbm SUBDIR += gigabase SUBDIR += gmysql SUBDIR += gnats SUBDIR += gnomedb SUBDIR += gnomedb2 SUBDIR += grass SUBDIR += gtksql SUBDIR += interbase4 SUBDIR += java-sqlrelay SUBDIR += jdbc-oracle816 SUBDIR += libdbi SUBDIR += libgda SUBDIR += libgda2 SUBDIR += libgnomedb SUBDIR += libiodbc SUBDIR += libodbc++ SUBDIR += libsdb SUBDIR += libudbc SUBDIR += lsdb SUBDIR += lsdb-emacs20 SUBDIR += mdbtools SUBDIR += metakit SUBDIR += mird SUBDIR += msql SUBDIR += myodbc SUBDIR += mysql++ SUBDIR += mysql-editor SUBDIR += mysql-gui SUBDIR += mysql-jdbc-mm SUBDIR += mysql-navigator SUBDIR += mysql2pgsql SUBDIR += mysql323-client SUBDIR += mysql323-server SUBDIR += mysqltcl SUBDIR += mytop SUBDIR += namazu2 SUBDIR += oracle7-client SUBDIR += p5-ApacheDBILogConfig SUBDIR += p5-ApacheDBILogger SUBDIR += p5-AsciiDB-TagFile SUBDIR += p5-BerkeleyDB SUBDIR += p5-CDB_File SUBDIR += p5-CDB_File-Generator SUBDIR += p5-Class-DBI SUBDIR += p5-DBD-CSV SUBDIR += p5-DBD-InterBase SUBDIR += p5-DBD-mysql SUBDIR += p5-DBD-ODBC SUBDIR += p5-DBD-Oracle SUBDIR += p5-DBD-Pg SUBDIR += p5-DBD-SQLite SUBDIR += p5-DBD-Sybase SUBDIR += p5-DBD-XBase SUBDIR += p5-DBI SUBDIR += p5-DBIWrapper SUBDIR += p5-DBIx-AnyDBD SUBDIR += p5-DBIx-DataSource SUBDIR += p5-DBIx-Password SUBDIR += p5-DBIx-Recordset SUBDIR += p5-DBIx-SearchBuilder SUBDIR += p5-DBIx-Table SUBDIR += p5-DBIx-XHTML_Table SUBDIR += p5-DBIx-XML_RDB SUBDIR += p5-DBZ_File SUBDIR += p5-GDBM SUBDIR += p5-GraphViz-DBI SUBDIR += p5-Ima-DBI SUBDIR += p5-MLDBM SUBDIR += p5-MLDBM-Sync SUBDIR += p5-Metadata SUBDIR += p5-Msql SUBDIR += p5-MyObject SUBDIR += p5-Mysql SUBDIR += p5-Pg SUBDIR += p5-SQL-Statement + SUBDIR += p5-Search-Namazu SUBDIR += p5-Tangram SUBDIR += p5-Text-Query-SQL SUBDIR += p5-Tie-DBI SUBDIR += p5-hp200lx-db SUBDIR += p5-postgresql-plperl SUBDIR += p5-sqlrelay SUBDIR += php-sqlrelay SUBDIR += phpmyadmin SUBDIR += phppgadmin SUBDIR += postgresql-jdbc SUBDIR += postgresql-odbc SUBDIR += postgresql-plruby SUBDIR += postgresql-pltcl SUBDIR += postgresql-tcltk SUBDIR += postgresql7 SUBDIR += pxtools SUBDIR += py-MySQL SUBDIR += py-MySQLdb SUBDIR += py-PyGreSQL SUBDIR += py-SQLDict SUBDIR += py-bsddb3 SUBDIR += py-cdb SUBDIR += py-gdbm SUBDIR += py-oops SUBDIR += py-psycopg SUBDIR += py-pyPgSQL SUBDIR += py-sqlrelay SUBDIR += rdb SUBDIR += rdfdb SUBDIR += ruby-bdb SUBDIR += ruby-bdb1 SUBDIR += ruby-cdb SUBDIR += ruby-dbd_interbase SUBDIR += ruby-dbd_msql SUBDIR += ruby-dbd_mysql SUBDIR += ruby-dbd_odbc SUBDIR += ruby-dbd_pg SUBDIR += ruby-dbd_proxy SUBDIR += ruby-dbd_sqlite SUBDIR += ruby-dbd_sqlrelay SUBDIR += ruby-dbd_sybase SUBDIR += ruby-dbi SUBDIR += ruby-gdbm SUBDIR += ruby-interbase SUBDIR += ruby-msql SUBDIR += ruby-mysql SUBDIR += ruby-o_dbm SUBDIR += ruby-odbc SUBDIR += ruby-postgres SUBDIR += ruby-rdbc1 SUBDIR += ruby-search-namazu SUBDIR += ruby-sqlrelay SUBDIR += sixpack SUBDIR += sqlite SUBDIR += sqlrelay SUBDIR += sqsh SUBDIR += tcl-Mysql SUBDIR += tkgnats SUBDIR += tora SUBDIR += typhoon SUBDIR += unixODBC SUBDIR += xmbase-grok SUBDIR += xmysql SUBDIR += xmysqladmin SUBDIR += zodb SUBDIR += zpygresqlda .include Property changes on: head/databases/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.190 \ No newline at end of property +1.191 \ No newline at end of property Index: head/databases/p5-Search-Namazu/Makefile =================================================================== --- head/databases/p5-Search-Namazu/Makefile (nonexistent) +++ head/databases/p5-Search-Namazu/Makefile (revision 61547) @@ -0,0 +1,24 @@ +# New ports collection makefile for: Search::Namazu +# Date created: 18 Jun 2002 +# Whom: kuriyama +# +# $FreeBSD$ +# + +PORTNAME= Search-Namazu +PORTVERSION= 0.91 +CATEGORIES= databases perl5 +MASTER_SITES= http://www.namazu.org/~knok/ +PKGNAMEPREFIX= p5- + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext \ + nmz.5:${PORTSDIR}/databases/namazu2 + +PERL_CONFIGURE= YES +CONFIGURE_ENV= PREFIX=${PREFIX} +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Search::Namazu.3 + +.include Property changes on: head/databases/p5-Search-Namazu/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/databases/p5-Search-Namazu/distinfo =================================================================== --- head/databases/p5-Search-Namazu/distinfo (nonexistent) +++ head/databases/p5-Search-Namazu/distinfo (revision 61547) @@ -0,0 +1 @@ +MD5 (Search-Namazu-0.91.tar.gz) = 3579d1dbc7b7336dcae7718d6be0f4f6 Property changes on: head/databases/p5-Search-Namazu/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/databases/p5-Search-Namazu/files/patch-Namazu.pm =================================================================== --- head/databases/p5-Search-Namazu/files/patch-Namazu.pm (nonexistent) +++ head/databases/p5-Search-Namazu/files/patch-Namazu.pm (revision 61547) @@ -0,0 +1,75 @@ +--- Namazu.pm.orig Tue Feb 19 14:02:48 2002 ++++ Namazu.pm Tue Jun 18 17:53:11 2002 +@@ -142,6 +142,18 @@ + + It returns ranking number. + ++=head3 summary ++ ++It returns summary. ++ ++=head3 title ++ ++It returns title. ++ ++=head3 author ++ ++It returns author. ++ + =head1 COPYRIGHT + + Copyright 1999,2000,2001,2002 NOKUBI Takatsugu All rights reserved. +@@ -277,15 +289,14 @@ + } + + sub set { +- my $self = shift; +- my $score = shift; +- my $uri = shift; +- my $date = shift; +- my $rank = shift; ++ my ($self, $score, $uri, $date, $rank, $summary, $title, $author) = @_; + $self->{score} = $score; + $self->{uri} = $uri; + $self->{date} = $date; + $self->{rank} = $rank; ++ $self->{summary} = $summary; ++ $self->{title} = $title; ++ $self->{author} = $author; + } + + sub score { +@@ -322,6 +333,33 @@ + $self->{'rank'} = $rank; + } + $self->{'rank'}; ++} ++ ++sub summary { ++ my $self = shift; ++ if (@_) { ++ my $summary = shift; ++ $self->{'summary'} = $summary; ++ } ++ $self->{'summary'}; ++} ++ ++sub title { ++ my $self = shift; ++ if (@_) { ++ my $title = shift; ++ $self->{'title'} = $title; ++ } ++ $self->{'title'}; ++} ++ ++sub author { ++ my $self = shift; ++ if (@_) { ++ my $author = shift; ++ $self->{'author'} = $author; ++ } ++ $self->{'author'}; + } + + 1; Property changes on: head/databases/p5-Search-Namazu/files/patch-Namazu.pm ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/databases/p5-Search-Namazu/files/patch-Namazu.pod.ja =================================================================== --- head/databases/p5-Search-Namazu/files/patch-Namazu.pod.ja (nonexistent) +++ head/databases/p5-Search-Namazu/files/patch-Namazu.pod.ja (revision 61547) @@ -0,0 +1,17 @@ +--- Namazu.pod.ja.orig Mon Feb 18 14:04:54 2002 ++++ Namazu.pod.ja Tue Jun 18 16:24:02 2002 +@@ -119,6 +119,14 @@ + + ランクを返します。 + ++=head3 summary ++ ++サマリを返します。 ++ ++=head3 title ++ ++タイトルを返します。 ++ + =head1 著作権 (COPYRIGHT) + + Copyright 1999,2000,2001,2002 NOKUBI Takatsugu All rights reserved. Property changes on: head/databases/p5-Search-Namazu/files/patch-Namazu.pod.ja ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/databases/p5-Search-Namazu/files/patch-Namazu.xs =================================================================== --- head/databases/p5-Search-Namazu/files/patch-Namazu.xs (nonexistent) +++ head/databases/p5-Search-Namazu/files/patch-Namazu.xs (revision 61547) @@ -0,0 +1,35 @@ +--- Namazu.xs.orig Tue Feb 19 14:01:26 2002 ++++ Namazu.xs Tue Jun 18 17:56:53 2002 +@@ -68,7 +68,7 @@ + int i; + AV *retar; + NmzResult hlist; +- char result[BUFSIZE]; ++ char result[4][BUFSIZE]; + + qstr = SvPV(query, PL_na); + strcpy(cqstr, qstr); +@@ -77,15 +77,21 @@ + for (i = 0; i < hlist.num; i ++) { + SV *ohlist = perl_eval_pv("new Search::Namazu::Result", TRUE); + dSP; +- nmz_get_field_data(hlist.data[i].idxid, hlist.data[i].docid, "uri", result); ++ nmz_get_field_data(hlist.data[i].idxid, hlist.data[i].docid, "uri", result[0]); ++ nmz_get_field_data(hlist.data[i].idxid, hlist.data[i].docid, "summary", result[1]); ++ nmz_get_field_data(hlist.data[i].idxid, hlist.data[i].docid, "title", result[2]); ++ nmz_get_field_data(hlist.data[i].idxid, hlist.data[i].docid, "author", result[3]); + ENTER; + SAVETMPS; + PUSHMARK(SP); + PUSHs(ohlist); + PUSHs(sv_2mortal(newSViv(hlist.data[i].score))); +- PUSHs(sv_2mortal(newSVpv(result, strlen(result)))); ++ PUSHs(sv_2mortal(newSVpv(result[0], strlen(result[0])))); + PUSHs(sv_2mortal(newSViv(hlist.data[i].date))); + PUSHs(sv_2mortal(newSViv(hlist.data[i].rank))); ++ PUSHs(sv_2mortal(newSVpv(result[1], strlen(result[1])))); ++ PUSHs(sv_2mortal(newSVpv(result[2], strlen(result[2])))); ++ PUSHs(sv_2mortal(newSVpv(result[3], strlen(result[3])))); + PUTBACK; + perl_call_method("set", G_DISCARD); + av_push(retar, ohlist); Property changes on: head/databases/p5-Search-Namazu/files/patch-Namazu.xs ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/databases/p5-Search-Namazu/pkg-comment =================================================================== --- head/databases/p5-Search-Namazu/pkg-comment (nonexistent) +++ head/databases/p5-Search-Namazu/pkg-comment (revision 61547) @@ -0,0 +1 @@ +Namazu library module for perl Property changes on: head/databases/p5-Search-Namazu/pkg-comment ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/databases/p5-Search-Namazu/pkg-descr =================================================================== --- head/databases/p5-Search-Namazu/pkg-descr (nonexistent) +++ head/databases/p5-Search-Namazu/pkg-descr (revision 61547) @@ -0,0 +1,2 @@ +This module is an interface for Namazu library. Namazu is an implement +of full text retrieval search system. Property changes on: head/databases/p5-Search-Namazu/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/databases/p5-Search-Namazu/pkg-plist =================================================================== --- head/databases/p5-Search-Namazu/pkg-plist (nonexistent) +++ head/databases/p5-Search-Namazu/pkg-plist (revision 61547) @@ -0,0 +1,7 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Search/Namazu.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Namazu/.packlist +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Namazu/Namazu.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Namazu/Namazu.so +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Namazu +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Search 2>/dev/null || true Property changes on: head/databases/p5-Search-Namazu/pkg-plist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property