diff options
author | jadawin <jadawin@FreeBSD.org> | 2013-01-24 00:28:07 +0800 |
---|---|---|
committer | jadawin <jadawin@FreeBSD.org> | 2013-01-24 00:28:07 +0800 |
commit | 65a2245141b5e69284c712c7fc6702225078a0ab (patch) | |
tree | 0cd64c2e18ac53b6bd5b91b8797f57d0a7d7be5f /www | |
parent | d335858e88635dd1e0695868a52cdc4ae6932cfb (diff) | |
download | freebsd-ports-gnome-65a2245141b5e69284c712c7fc6702225078a0ab.tar.gz freebsd-ports-gnome-65a2245141b5e69284c712c7fc6702225078a0ab.tar.zst freebsd-ports-gnome-65a2245141b5e69284c712c7fc6702225078a0ab.zip |
- Update to 1.00
- Make pkg-descr shorter
- Changelog: http://cpansearch.perl.org/src/BRICAS/SRU-1.00/Changes
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-SRU/Makefile | 6 | ||||
-rw-r--r-- | www/p5-SRU/distinfo | 4 | ||||
-rw-r--r-- | www/p5-SRU/pkg-descr | 47 |
3 files changed, 3 insertions, 54 deletions
diff --git a/www/p5-SRU/Makefile b/www/p5-SRU/Makefile index 69a72345a419..d97fc69fcb2a 100644 --- a/www/p5-SRU/Makefile +++ b/www/p5-SRU/Makefile @@ -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 diff --git a/www/p5-SRU/distinfo b/www/p5-SRU/distinfo index b96d8ac2cf5c..1eacdb21d75e 100644 --- a/www/p5-SRU/distinfo +++ b/www/p5-SRU/distinfo @@ -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 diff --git a/www/p5-SRU/pkg-descr b/www/p5-SRU/pkg-descr index 4f4e60f2f37d..b60f4a798b55 100644 --- a/www/p5-SRU/pkg-descr +++ b/www/p5-SRU/pkg-descr @@ -6,51 +6,4 @@ protocol. You can think of SRU as a RESTful version of SRW, since all the 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/ |