diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2011-05-18 02:08:54 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2011-05-18 02:08:54 +0000 |
commit | e8ec89b94bcefee081a8311edc8ccac0c769c957 (patch) | |
tree | cdf41c1090be959a030843c209dd2f91ac4fc32e /www/p5-HTTP-OAI | |
parent | 685ec4028d85056ca0bb9ac5249ea3731d32ef32 (diff) | |
download | pkgsrc-e8ec89b94bcefee081a8311edc8ccac0c769c957.tar.gz |
Initial import of www/p5-HTTP-OAI version 3.24
This package was submited as part of PR pkg/43929 which adds the Koha Integrated Library System
submitted by Edgar Fuß
-------------------------------------
HTTP::OAI is a stub module.
HTTP::OAI::Harvester is the harvesting front-end in the OAI-PERL library.
To harvest from an OAI-PMH compliant repository create an HTTP::OAI::Harvester
object using the baseURL option and then call OAI-PMH methods to request data
from the repository. To handle version 1.0/1.1 repositories automatically you
must request Identify() first.
It is recommended that you request an Identify from the Repository and use the
repository() method to update the Identify object used by the harvester.
When making OAI requests the underlying HTTP::OAI::UserAgent module will take
care of automatic redirection (http code 302) and retry-after (http code 503).
OAI-PMH flow control (i.e. resumption tokens) is handled transparently by
HTTP::OAI::Response.
Diffstat (limited to 'www/p5-HTTP-OAI')
-rw-r--r-- | www/p5-HTTP-OAI/DESCR | 16 | ||||
-rw-r--r-- | www/p5-HTTP-OAI/Makefile | 24 | ||||
-rw-r--r-- | www/p5-HTTP-OAI/distinfo | 5 |
3 files changed, 45 insertions, 0 deletions
diff --git a/www/p5-HTTP-OAI/DESCR b/www/p5-HTTP-OAI/DESCR new file mode 100644 index 00000000000..7e854eb1a7e --- /dev/null +++ b/www/p5-HTTP-OAI/DESCR @@ -0,0 +1,16 @@ +HTTP::OAI is a stub module. + +HTTP::OAI::Harvester is the harvesting front-end in the OAI-PERL library. + +To harvest from an OAI-PMH compliant repository create an HTTP::OAI::Harvester +object using the baseURL option and then call OAI-PMH methods to request data +from the repository. To handle version 1.0/1.1 repositories automatically you +must request Identify() first. + +It is recommended that you request an Identify from the Repository and use the +repository() method to update the Identify object used by the harvester. + +When making OAI requests the underlying HTTP::OAI::UserAgent module will take +care of automatic redirection (http code 302) and retry-after (http code 503). +OAI-PMH flow control (i.e. resumption tokens) is handled transparently by +HTTP::OAI::Response. diff --git a/www/p5-HTTP-OAI/Makefile b/www/p5-HTTP-OAI/Makefile new file mode 100644 index 00000000000..819275f5110 --- /dev/null +++ b/www/p5-HTTP-OAI/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/05/18 02:08:54 dmcmahill Exp $ + +DISTNAME= HTTP-OAI-3.24 +PKGNAME= p5-${DISTNAME} +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTP/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/HTTP-OAI/ +COMMENT= API for the OAI-PMH +LICENSE= modified-bsd + +DEPENDS+= p5-XML-LibXML>=1.60:../../textproc/p5-XML-LibXML +DEPENDS+= p5-XML-SAX>=0.96:../../textproc/p5-XML-SAX +DEPENDS+= p5-URI:../../www/p5-URI +DEPENDS+= p5-libwww:../../www/p5-libwww + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/HTTP-OAI/.packlist + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/p5-HTTP-OAI/distinfo b/www/p5-HTTP-OAI/distinfo new file mode 100644 index 00000000000..9c10ddb8ee6 --- /dev/null +++ b/www/p5-HTTP-OAI/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/05/18 02:08:54 dmcmahill Exp $ + +SHA1 (HTTP-OAI-3.24.tar.gz) = 9331028262da054deeb6776f6cff75771e82036b +RMD160 (HTTP-OAI-3.24.tar.gz) = be03aa375db1f46324b7686bb3065328152eed31 +Size (HTTP-OAI-3.24.tar.gz) = 44835 bytes |