summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2011-05-18 02:08:54 +0000
committerdmcmahill <dmcmahill>2011-05-18 02:08:54 +0000
commitcd2bfa604fa3294f6ab465a8d6641a8f47750f71 (patch)
treecdf41c1090be959a030843c209dd2f91ac4fc32e /www
parentc896442b023f7175eded6933073503ea7176aba7 (diff)
downloadpkgsrc-cd2bfa604fa3294f6ab465a8d6641a8f47750f71.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')
-rw-r--r--www/p5-HTTP-OAI/DESCR16
-rw-r--r--www/p5-HTTP-OAI/Makefile24
-rw-r--r--www/p5-HTTP-OAI/distinfo5
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