Date: Wed, 23 Jan 2013 16:28:07 +0000 (UTC) From: Philippe Audeoud <jadawin@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r310875 - head/www/p5-SRU Message-ID: <201301231628.r0NGS7oC067682@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jadawin Date: Wed Jan 23 16:28:07 2013 New Revision: 310875 URL: http://svnweb.freebsd.org/changeset/ports/310875 Log: - Update to 1.00 - Make pkg-descr shorter - Changelog: http://cpansearch.perl.org/src/BRICAS/SRU-1.00/Changes Modified: head/www/p5-SRU/Makefile (contents, props changed) head/www/p5-SRU/distinfo (contents, props changed) head/www/p5-SRU/pkg-descr (contents, props changed) Modified: head/www/p5-SRU/Makefile ============================================================================== --- head/www/p5-SRU/Makefile Wed Jan 23 16:23:29 2013 (r310874) +++ head/www/p5-SRU/Makefile Wed Jan 23 16:28:07 2013 (r310875) @@ -1,12 +1,8 @@ -# New ports collection makefile for: SRU -# Date created: 23 May 2006 # Whom: Aaron Dalton <aaron@FreeBSD.org> -# # $FreeBSD$ -# PORTNAME= SRU -PORTVERSION= 0.99 +PORTVERSION= 1.00 CATEGORIES= www perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:BRICAS Modified: head/www/p5-SRU/distinfo ============================================================================== --- head/www/p5-SRU/distinfo Wed Jan 23 16:23:29 2013 (r310874) +++ head/www/p5-SRU/distinfo Wed Jan 23 16:28:07 2013 (r310875) @@ -1,2 +1,2 @@ -SHA256 (SRU-0.99.tar.gz) = d0bec8a2871378a254f5a45035685fc273dca7e0b2f9c7bb82d14999bab325f5 -SIZE (SRU-0.99.tar.gz) = 33201 +SHA256 (SRU-1.00.tar.gz) = ada7ff304b032be18b5401b908fec08fd78955672f11548db9b8d0adb877c8e3 +SIZE (SRU-1.00.tar.gz) = 37372 Modified: head/www/p5-SRU/pkg-descr ============================================================================== --- head/www/p5-SRU/pkg-descr Wed Jan 23 16:23:29 2013 (r310874) +++ head/www/p5-SRU/pkg-descr Wed Jan 23 16:28:07 2013 (r310875) @@ -6,51 +6,4 @@ protocol. You can think of SRU as a REST requests are simple URLs instead of XML documents being sent via some sort of transport layer. -You might be interested in SRU if you want to provide a generic API for -searching a data repository and a mechanism for returning metadata -records. SRU defines three verbs: explain, scan and searchRetrieve which -define the requests and responses in a SRU interaction. - -This set of modules attempts to provide a framework for building an SRU -service. The distribution is made up of two sets of Perl modules: modules -in the SRU::Request::* namespace which represent the three types of -requests; and modules in the SRU::Response::* namespace which represent -the various responses. - -Typical usage is that a request object is created using a factory method -in the SRU::Request module. The factory is given either a URI or a CGI -object for the HTTP request. SRU::Request will look at the URI and build -the appropriate request object: SRU::Request::Explain, SRU::Request::Scan -or SRU::Request::SearchRetrieve. - -Once you've got a request object you can build a response object by using -the factory method newFromRequest() in SRU::Request. This method will -examine the request and build the corresponding result object which you -can then populate with result data appropriately. When you are finished -populating the response object with results you can call asXML() on it to -get the full XML for your response. - -To understand the meaning of the various requests and their responses -you'll want to read the docs at the Library of Congress. A good place to -start is SRW/U In Five Hundred Words -http://www.loc.gov/z3950/agency/zing/srw/brief.html For more information -about working with the various request and response objects in this -distribution see the POD in the individual packages: - - * SRU::Request - * SRU::Request::Explain - * SRU::Request::Scan - * SRU::Request::SearchRetrieve - * SRU::Response - * SRU::Response::Explain - * SRU::Response::Scan - * SRU::Response::SearchRetrieve - * SRU::Server - -Questions and comments are more than welcome. This software was developed -as part of a National Science Foundation grant for building distributed -library systems in the Ockham Project. More about Ockham can be found at -http://www.ockham.org. - -Author: Ed Summers <ehs@pobox.com> WWW: http://search.cpan.org/dist/SRU/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301231628.r0NGS7oC067682>