From 8142aff3f675df50495fcf1a89903a06bb930660 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Mon, 9 Mar 2015 13:48:43 -0500 Subject: gnu: Group and alphabetize perl module packages. * gnu/packages/web.scm (perl-encode-locale, perl-file-listing, perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon, perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html, perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http, perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize. --- gnu/packages/web.scm | 710 ++++++++++++++++++++++++++------------------------- 1 file changed, 356 insertions(+), 354 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index c977a1ee7d..07fcc21c31 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2014, 2015 Mark H Weaver ;;; Copyright © 2015 Ricardo Wurmus ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer +;;; Copyright © 2015 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; @@ -325,25 +326,223 @@ used to validate and fix HTML data.") (home-page "http://tidy.sourceforge.net/") (license (l:x11-style "file:///include/tidy.h")))) -(define-public perl-html-tagset +(define-public tinyproxy (package - (name "perl-html-tagset") - (version "3.20") + (name "tinyproxy") + (version "1.8.3") + (source (origin + (method url-fetch) + (uri (string-append + "http://www.samba.org/~obnox/" name "/download/" + name "-" version ".tar.bz2")) + (sha256 + (base32 + "0vl9igw7vm924rs6d6bkib7zfclxnlf9s8rmml1sfwj7xda9nmdy")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list + ;; For the log file, etc. + "--localstatedir=/var") + #:phases + (alist-cons-before + 'build 'pre-build + (lambda* (#:key inputs #:allow-other-keys #:rest args) + ;; Uncommenting the next two lines may assist in debugging + ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v")) + ;; (setenv "XML_DEBUG_CATALOG" "1") + #t) + %standard-phases))) + ;; All of the below are used to generate the documentation + ;; (Should they be propagated inputs of asciidoc ??) + (native-inputs `(("asciidoc" ,asciidoc) + ("libxml2" ,libxml2) + ("docbook-xml" ,docbook-xml) + ("docbook-xsl" ,docbook-xsl) + ("libxslt" ,libxslt))) + (home-page "https://banu.com/tinyproxy/") + (synopsis "Light-weight HTTP/HTTPS proxy daemon") + (description "Tinyproxy is a light-weight HTTP/HTTPS proxy +daemon. Designed from the ground up to be fast and yet small, it is an ideal +solution for use cases such as embedded deployments where a full featured HTTP +proxy is required, but the system resources for a larger proxy are +unavailable.") + (license l:gpl2+))) + +(define-public polipo + (package + (name "polipo") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-" + version ".tar.gz")) + (sha256 + (base32 + "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2")))) + (native-inputs `(("texinfo" ,texinfo))) + (build-system gnu-build-system) + (arguments + `(#:phases + (alist-delete 'configure %standard-phases) + #:make-flags (let ((out (assoc-ref %outputs "out"))) + (list (string-append "PREFIX=" out) + (string-append "LOCAL_ROOT=" + out "/share/polipo/www") + "CC=gcc")) + ;; No 'check' target. + #:tests? #f)) + (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/") + (synopsis "Small caching web proxy") + (description + "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy +server). It was primarily designed to be used by one person or a small group +of people.") + (license l:expat))) + +(define-public libyaml + (package + (name "libyaml") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (string-append + "http://pyyaml.org/download/libyaml/yaml-" + version ".tar.gz")) + (sha256 + (base32 + "1vrv5ly58bkmcyc049ad180f2m8iav6l9h3v8l2fqdmrny7yx1zs")))) + (build-system gnu-build-system) + (home-page "http://pyyaml.org/wiki/LibYAML") + (synopsis "YAML 1.1 parser and emitter written in C") + (description + "LibYAML is a YAML 1.1 parser and emitter written in C.") + (license l:expat))) + +(define-public libquvi-scripts + (package + (name "libquvi-scripts") + (version "0.4.21") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/quvi/libquvi-scripts-" version ".tar.xz")) + (sha256 + (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw")))) + (build-system gnu-build-system) + (home-page "http://quvi.sourceforge.net/") + (synopsis "Media stream URL parser") + (description "This package contains support scripts called by libquvi to +parse media stream properties.") + (license l:lgpl2.1+))) + +(define-public libquvi + (package + (name "libquvi") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/quvi/libquvi-" version ".tar.xz")) + (sha256 + (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm")))) + (build-system gnu-build-system) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs + `(("curl" ,curl) + ("cyrus-sasl" ,cyrus-sasl) + ("libquvi-scripts" ,libquvi-scripts) + ("lua" ,lua-5.1) + ("openssl" ,openssl) + ("zlib" ,zlib))) + (arguments + ;; Lua provides no .pc file, so add CFLAGS/LIBS manually. + '(#:configure-flags + (let ((lua (assoc-ref %build-inputs "lua"))) + (list + (string-append "liblua_CFLAGS=-I" lua "/include") + (string-append "liblua_LIBS=-L" lua "/libs -llua"))))) + (home-page "http://quvi.sourceforge.net/") + (synopsis "Media stream URL parser") + (description "libquvi is a library with a C API for parsing media stream +URLs and extracting their actual media files.") + (license l:lgpl2.1+))) + +(define-public quvi + (package + (name "quvi") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/quvi/quvi-" version ".tar.xz")) + (sha256 + (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci")))) + (build-system gnu-build-system) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs + `(("curl" ,curl) + ("libquvi" ,libquvi))) + (home-page "http://quvi.sourceforge.net/") + (synopsis "Media stream URL parser") + (description "quvi is a command-line-tool suite to extract media files +from streaming URLs. It is a command-line wrapper for the libquvi library.") + (license l:lgpl2.1+))) + + +(define-public perl-encode-locale + (package + (name "perl-encode-locale") + (version "1.03") (source (origin (method url-fetch) (uri (string-append - "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-" + "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-" version ".tar.gz")) (sha256 (base32 - "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd")))) + "0m9d1vdphlyzybgmdanipwd9ndfvyjgk3hzw250r299jjgh3fqzp")))) (build-system perl-build-system) (license (package-license perl)) - (synopsis "Perl data tables useful in parsing HTML") + (synopsis "Perl locale encoding determination") (description - "The HTML::Tagset module contains several data tables useful in various -kinds of HTML parsing operations.") - (home-page "http://search.cpan.org/dist/HTML-Tagset/"))) + "The POSIX locale system is used to specify both the language +conventions requested by the user and the preferred character set to consume +and output. The Encode::Locale module looks up the charset and encoding +(called a CODESET in the locale jargon) and arranges for the Encode module +to know this encoding under the name \"locale\". It means bytes obtained +from the environment can be converted to Unicode strings by calling +Encode::encode(locale => $bytes) and converted back again with +Encode::decode(locale => $string).") + (home-page "http://search.cpan.org/~gaas/Encode-Locale/"))) + +(define-public perl-file-listing + (package + (name "perl-file-listing") + (version "6.04") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-" + version ".tar.gz")) + (sha256 + (base32 + "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-http-date" ,perl-http-date))) + (license (package-license perl)) + (synopsis "Perl directory listing parser") + (description + "The File::Listing module exports a single function called parse_dir(), +which can be used to parse directory listings.") + (home-page "http://search.cpan.org/~gaas/File-Listing/"))) (define-public perl-html-parser (package @@ -369,89 +568,92 @@ kinds of markup and text are recognized, the corresponding event handlers are invoked.") (home-page "http://search.cpan.org/~gaas/HTML-Parser/"))) -(define-public perl-http-date +(define-public perl-html-tagset (package - (name "perl-http-date") - (version "6.02") + (name "perl-html-tagset") + (version "3.20") (source (origin (method url-fetch) (uri (string-append - "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-" + "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-" version ".tar.gz")) (sha256 (base32 - "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8")))) + "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd")))) (build-system perl-build-system) (license (package-license perl)) - (synopsis "Perl date conversion routines") + (synopsis "Perl data tables useful in parsing HTML") (description - "The HTTP::Date module provides functions that deal with date formats -used by the HTTP protocol (and then some more).") - (home-page "http://search.cpan.org/~gaas/HTTP-Date/"))) + "The HTML::Tagset module contains several data tables useful in various +kinds of HTML parsing operations.") + (home-page "http://search.cpan.org/dist/HTML-Tagset/"))) -(define-public perl-uri +(define-public perl-http-cookies (package - (name "perl-uri") - (version "1.60") + (name "perl-http-cookies") + (version "6.01") (source (origin (method url-fetch) (uri (string-append - "mirror://cpan/authors/id/G/GA/GAAS/URI-" + "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-" version ".tar.gz")) (sha256 (base32 - "0xr31mf7lfrwhyvlx4pzp6p7alls5gi4bj8pk5g89f5cckfd74hz")))) + "087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm")))) (build-system perl-build-system) + (propagated-inputs + `(("perl-http-message" ,perl-http-message))) (license (package-license perl)) - (synopsis "Perl Uniform Resource Identifiers (absolute and relative)") + (synopsis "Perl HTTP cookie jars") (description - "The URI module implements the URI class. Objects of this class -represent \"Uniform Resource Identifier references\" as specified in RFC 2396 -(and updated by RFC 2732).") - (home-page "http://search.cpan.org/~gaas/URI/"))) + "The HTTP::Cookies class is for objects that represent a cookie jar, +that is, a database of all the HTTP cookies that a given LWP::UserAgent +object knows about.") + (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/"))) -(define-public perl-lwp-mediatypes +(define-public perl-http-daemon (package - (name "perl-lwp-mediatypes") - (version "6.02") + (name "perl-http-daemon") + (version "6.01") (source (origin (method url-fetch) (uri (string-append - "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-" + "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-" version ".tar.gz")) (sha256 (base32 - "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q")))) + "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3")))) (build-system perl-build-system) + (propagated-inputs + `(("perl-http-message" ,perl-http-message) + ("perl-lwp-mediatypes" ,perl-lwp-mediatypes))) (license (package-license perl)) - (synopsis "Perl module to guess the media type for a file or a URL") + (synopsis "Perl simple http server class") (description - "The LWP::MediaTypes module provides functions for handling media (also -known as MIME) types and encodings. The mapping from file extensions to -media types is defined by the media.types file. If the ~/.media.types file -exists it is used instead.") - (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/"))) + "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen +on a socket for incoming requests. The HTTP::Daemon is a subclass of +IO::Socket::INET, so you can perform socket operations directly on it too.") + (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/"))) -(define-public perl-io-html +(define-public perl-http-date (package - (name "perl-io-html") - (version "1.00") + (name "perl-http-date") + (version "6.02") (source (origin (method url-fetch) (uri (string-append - "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-" + "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-" version ".tar.gz")) (sha256 (base32 - "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4")))) + "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8")))) (build-system perl-build-system) (license (package-license perl)) - (synopsis "Perl module to open an HTML file with automatic charset detection") + (synopsis "Perl date conversion routines") (description - "IO::HTML provides an easy way to open a file containing HTML while -automatically determining its encoding. It uses the HTML5 encoding sniffing -algorithm specified in section 8.2.2.1 of the draft standard.") - (home-page "http://search.cpan.org/~cjm/IO-HTML/"))) + "The HTTP::Date module provides functions that deal with date formats +used by the HTTP protocol (and then some more).") + (home-page "http://search.cpan.org/~gaas/HTTP-Date/"))) (define-public perl-http-message (package @@ -478,103 +680,130 @@ algorithm specified in section 8.2.2.1 of the draft standard.") "An HTTP::Message object contains some headers and a content body.") (home-page "http://search.cpan.org/~gaas/HTTP-Message/"))) -(define-public perl-http-cookies +(define-public perl-http-negotiate (package - (name "perl-http-cookies") + (name "perl-http-negotiate") (version "6.01") (source (origin (method url-fetch) (uri (string-append - "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-" + "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-" version ".tar.gz")) (sha256 (base32 - "087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm")))) + "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw")))) (build-system perl-build-system) (propagated-inputs `(("perl-http-message" ,perl-http-message))) (license (package-license perl)) - (synopsis "Perl HTTP cookie jars") + (synopsis "Perl http content negotiation") (description - "The HTTP::Cookies class is for objects that represent a cookie jar, -that is, a database of all the HTTP cookies that a given LWP::UserAgent -object knows about.") - (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/"))) + "The HTTP::Negotiate module provides a complete implementation of the +HTTP content negotiation algorithm specified in +draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for +the selection of a preferred content representation based upon attributes +of the negotiable variants and the value of the various Accept* header +fields in the request.") + (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/"))) -(define-public perl-http-daemon +(define-public perl-io-html (package - (name "perl-http-daemon") - (version "6.01") + (name "perl-io-html") + (version "1.00") (source (origin (method url-fetch) (uri (string-append - "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-" + "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-" version ".tar.gz")) (sha256 (base32 - "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3")))) + "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4")))) (build-system perl-build-system) - (propagated-inputs - `(("perl-http-message" ,perl-http-message) - ("perl-lwp-mediatypes" ,perl-lwp-mediatypes))) (license (package-license perl)) - (synopsis "Perl simple http server class") + (synopsis "Perl module to open an HTML file with automatic charset detection") (description - "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen -on a socket for incoming requests. The HTTP::Daemon is a subclass of -IO::Socket::INET, so you can perform socket operations directly on it too.") - (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/"))) + "IO::HTML provides an easy way to open a file containing HTML while +automatically determining its encoding. It uses the HTML5 encoding sniffing +algorithm specified in section 8.2.2.1 of the draft standard.") + (home-page "http://search.cpan.org/~cjm/IO-HTML/"))) -(define-public perl-http-negotiate +(define-public perl-io-socket-ssl (package - (name "perl-http-negotiate") - (version "6.01") + (name "perl-io-socket-ssl") + (version "2.002") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/" + "IO-Socket-SSL-" version ".tar.gz")) + (sha256 + (base32 + "1mph52lw6x5v44wf8mw00llzi8pp6k5c4jnrnrvlacrlfv260jb8")))) + (build-system perl-build-system) + (propagated-inputs `(("perl-net-ssleay" ,perl-net-ssleay))) + (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET") + (description + "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the +necessary functionality into the familiar IO::Socket interface and providing +secure defaults whenever possible. This way existing applications can be made +SSL-aware without much effort, at least if you do blocking I/O and don't use +select or poll.") + (license (package-license perl)) + (home-page "https://github.com/noxxi/p5-io-socket-ssl"))) + +(define-public perl-libwww + (package + (name "perl-libwww") + (version "6.05") (source (origin (method url-fetch) (uri (string-append - "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-" + "mirror://cpan/authors/id/G/GA/GAAS/libwww-perl-" version ".tar.gz")) (sha256 (base32 - "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw")))) + "08wgwyz7748pv5cyngxia0xl6nragfnhrp4p9s78xhgfyygpj9bv")))) (build-system perl-build-system) (propagated-inputs - `(("perl-http-message" ,perl-http-message))) + `(("perl-encode-locale" ,perl-encode-locale) + ("perl-file-listing" ,perl-file-listing) + ("perl-html-parser" ,perl-html-parser) + ("perl-http-cookies" ,perl-http-cookies) + ("perl-http-daemon" ,perl-http-daemon) + ("perl-http-negotiate" ,perl-http-negotiate) + ("perl-net-http" ,perl-net-http) + ("perl-www-robotrules" ,perl-www-robotrules))) (license (package-license perl)) - (synopsis "Perl http content negotiation") + (synopsis "Perl modules for the WWW") (description - "The HTTP::Negotiate module provides a complete implementation of the -HTTP content negotiation algorithm specified in -draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for -the selection of a preferred content representation based upon attributes -of the negotiable variants and the value of the various Accept* header -fields in the request.") - (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/"))) + "The libwww-perl collection is a set of Perl modules which provides a +simple and consistent application programming interface to the +World-Wide Web. The main focus of the library is to provide classes +and functions that allow you to write WWW clients. The library also +contains modules that are of more general use and even classes that +help you implement simple HTTP servers.") + (home-page "http://search.cpan.org/~gaas/libwww-perl/"))) -(define-public perl-www-robotrules +(define-public perl-lwp-mediatypes (package - (name "perl-www-robotrules") + (name "perl-lwp-mediatypes") (version "6.02") (source (origin (method url-fetch) (uri (string-append - "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-" + "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-" version ".tar.gz")) (sha256 (base32 - "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6")))) + "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q")))) (build-system perl-build-system) - (propagated-inputs - `(("perl-uri" ,perl-uri))) (license (package-license perl)) - (synopsis "Perl database of robots.txt-derived permissions") + (synopsis "Perl module to guess the media type for a file or a URL") (description - "The WWW::RobotRules module parses /robots.txt files as specified in -\"A Standard for Robot Exclusion\", at -. Webmasters can use the -/robots.txt file to forbid conforming robots from accessing parts of -their web site.") - (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/"))) + "The LWP::MediaTypes module provides functions for handling media (also +known as MIME) types and encodings. The mapping from file extensions to +media types is defined by the media.types file. If the ~/.media.types file +exists it is used instead.") + (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/"))) (define-public perl-net-http (package @@ -598,129 +827,26 @@ is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and HTTP/1.1.") (home-page "http://search.cpan.org/~gaas/Net-HTTP/"))) -(define-public perl-file-listing - (package - (name "perl-file-listing") - (version "6.04") - (source (origin - (method url-fetch) - (uri (string-append - "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-" - version ".tar.gz")) - (sha256 - (base32 - "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y")))) - (build-system perl-build-system) - (propagated-inputs - `(("perl-http-date" ,perl-http-date))) - (license (package-license perl)) - (synopsis "Perl directory listing parser") - (description - "The File::Listing module exports a single function called parse_dir(), -which can be used to parse directory listings.") - (home-page "http://search.cpan.org/~gaas/File-Listing/"))) - -(define-public perl-encode-locale - (package - (name "perl-encode-locale") - (version "1.03") - (source (origin - (method url-fetch) - (uri (string-append - "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-" - version ".tar.gz")) - (sha256 - (base32 - "0m9d1vdphlyzybgmdanipwd9ndfvyjgk3hzw250r299jjgh3fqzp")))) - (build-system perl-build-system) - (license (package-license perl)) - (synopsis "Perl locale encoding determination") - (description - "The POSIX locale system is used to specify both the language -conventions requested by the user and the preferred character set to consume -and output. The Encode::Locale module looks up the charset and encoding -(called a CODESET in the locale jargon) and arranges for the Encode module -to know this encoding under the name \"locale\". It means bytes obtained -from the environment can be converted to Unicode strings by calling -Encode::encode(locale => $bytes) and converted back again with -Encode::decode(locale => $string).") - (home-page "http://search.cpan.org/~gaas/Encode-Locale/"))) - -(define-public perl-libwww +(define-public perl-uri (package - (name "perl-libwww") - (version "6.05") + (name "perl-uri") + (version "1.60") (source (origin (method url-fetch) (uri (string-append - "mirror://cpan/authors/id/G/GA/GAAS/libwww-perl-" + "mirror://cpan/authors/id/G/GA/GAAS/URI-" version ".tar.gz")) (sha256 (base32 - "08wgwyz7748pv5cyngxia0xl6nragfnhrp4p9s78xhgfyygpj9bv")))) + "0xr31mf7lfrwhyvlx4pzp6p7alls5gi4bj8pk5g89f5cckfd74hz")))) (build-system perl-build-system) - (propagated-inputs - `(("perl-encode-locale" ,perl-encode-locale) - ("perl-file-listing" ,perl-file-listing) - ("perl-html-parser" ,perl-html-parser) - ("perl-http-cookies" ,perl-http-cookies) - ("perl-http-daemon" ,perl-http-daemon) - ("perl-http-negotiate" ,perl-http-negotiate) - ("perl-net-http" ,perl-net-http) - ("perl-www-robotrules" ,perl-www-robotrules))) (license (package-license perl)) - (synopsis "Perl modules for the WWW") + (synopsis "Perl Uniform Resource Identifiers (absolute and relative)") (description - "The libwww-perl collection is a set of Perl modules which provides a -simple and consistent application programming interface to the -World-Wide Web. The main focus of the library is to provide classes -and functions that allow you to write WWW clients. The library also -contains modules that are of more general use and even classes that -help you implement simple HTTP servers.") - (home-page "http://search.cpan.org/~gaas/libwww-perl/"))) - -(define-public tinyproxy - (package - (name "tinyproxy") - (version "1.8.3") - (source (origin - (method url-fetch) - (uri (string-append - "http://www.samba.org/~obnox/" name "/download/" - name "-" version ".tar.bz2")) - (sha256 - (base32 - "0vl9igw7vm924rs6d6bkib7zfclxnlf9s8rmml1sfwj7xda9nmdy")))) - (build-system gnu-build-system) - (arguments - `(#:configure-flags - (list - ;; For the log file, etc. - "--localstatedir=/var") - #:phases - (alist-cons-before - 'build 'pre-build - (lambda* (#:key inputs #:allow-other-keys #:rest args) - ;; Uncommenting the next two lines may assist in debugging - ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v")) - ;; (setenv "XML_DEBUG_CATALOG" "1") - #t) - %standard-phases))) - ;; All of the below are used to generate the documentation - ;; (Should they be propagated inputs of asciidoc ??) - (native-inputs `(("asciidoc" ,asciidoc) - ("libxml2" ,libxml2) - ("docbook-xml" ,docbook-xml) - ("docbook-xsl" ,docbook-xsl) - ("libxslt" ,libxslt))) - (home-page "https://banu.com/tinyproxy/") - (synopsis "Light-weight HTTP/HTTPS proxy daemon") - (description "Tinyproxy is a light-weight HTTP/HTTPS proxy -daemon. Designed from the ground up to be fast and yet small, it is an ideal -solution for use cases such as embedded deployments where a full featured HTTP -proxy is required, but the system resources for a larger proxy are -unavailable.") - (license l:gpl2+))) + "The URI module implements the URI class. Objects of this class +represent \"Uniform Resource Identifier references\" as specified in RFC 2396 +and updated by RFC 2732.") + (home-page "http://search.cpan.org/~gaas/URI/"))) (define-public perl-www-curl (package @@ -745,151 +871,27 @@ library.") (license (package-license perl)) (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm"))) -(define-public perl-io-socket-ssl +(define-public perl-www-robotrules (package - (name "perl-io-socket-ssl") - (version "2.002") + (name "perl-www-robotrules") + (version "6.02") (source (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/" - "IO-Socket-SSL-" version ".tar.gz")) - (sha256 - (base32 - "1mph52lw6x5v44wf8mw00llzi8pp6k5c4jnrnrvlacrlfv260jb8")))) + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-" + version ".tar.gz")) + (sha256 + (base32 + "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6")))) (build-system perl-build-system) - (propagated-inputs `(("perl-net-ssleay" ,perl-net-ssleay))) - (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET") - (description - "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the -necessary functionality into the familiar IO::Socket interface and providing -secure defaults whenever possible. This way existing applications can be made -SSL-aware without much effort, at least if you do blocking I/O and don't use -select or poll.") + (propagated-inputs + `(("perl-uri" ,perl-uri))) (license (package-license perl)) - (home-page "https://github.com/noxxi/p5-io-socket-ssl"))) - -(define-public polipo - (package - (name "polipo") - (version "1.1.1") - (source - (origin - (method url-fetch) - (uri (string-append - "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-" - version ".tar.gz")) - (sha256 - (base32 - "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2")))) - (native-inputs `(("texinfo" ,texinfo))) - (build-system gnu-build-system) - (arguments - `(#:phases - (alist-delete 'configure %standard-phases) - #:make-flags (let ((out (assoc-ref %outputs "out"))) - (list (string-append "PREFIX=" out) - (string-append "LOCAL_ROOT=" - out "/share/polipo/www") - "CC=gcc")) - ;; No 'check' target. - #:tests? #f)) - (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/") - (synopsis "Small caching web proxy") - (description - "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy -server). It was primarily designed to be used by one person or a small group -of people.") - (license l:expat))) - -(define-public libyaml - (package - (name "libyaml") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (string-append - "http://pyyaml.org/download/libyaml/yaml-" - version ".tar.gz")) - (sha256 - (base32 - "1vrv5ly58bkmcyc049ad180f2m8iav6l9h3v8l2fqdmrny7yx1zs")))) - (build-system gnu-build-system) - (home-page "http://pyyaml.org/wiki/LibYAML") - (synopsis "YAML 1.1 parser and emitter written in C") + (synopsis "Perl database of robots.txt-derived permissions") (description - "LibYAML is a YAML 1.1 parser and emitter written in C.") - (license l:expat))) - -(define-public libquvi-scripts - (package - (name "libquvi-scripts") - (version "0.4.21") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://sourceforge/quvi/libquvi-scripts-" version ".tar.xz")) - (sha256 - (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw")))) - (build-system gnu-build-system) - (home-page "http://quvi.sourceforge.net/") - (synopsis "Media stream URL parser") - (description "This package contains support scripts called by libquvi to -parse media stream properties.") - (license l:lgpl2.1+))) - -(define-public libquvi - (package - (name "libquvi") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://sourceforge/quvi/libquvi-" version ".tar.xz")) - (sha256 - (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm")))) - (build-system gnu-build-system) - (native-inputs `(("pkg-config" ,pkg-config))) - (inputs - `(("curl" ,curl) - ("cyrus-sasl" ,cyrus-sasl) - ("libquvi-scripts" ,libquvi-scripts) - ("lua" ,lua-5.1) - ("openssl" ,openssl) - ("zlib" ,zlib))) - (arguments - ;; Lua provides no .pc file, so add CFLAGS/LIBS manually. - '(#:configure-flags - (let ((lua (assoc-ref %build-inputs "lua"))) - (list - (string-append "liblua_CFLAGS=-I" lua "/include") - (string-append "liblua_LIBS=-L" lua "/libs -llua"))))) - (home-page "http://quvi.sourceforge.net/") - (synopsis "Media stream URL parser") - (description "libquvi is a library with a C API for parsing media stream -URLs and extracting their actual media files.") - (license l:lgpl2.1+))) - -(define-public quvi - (package - (name "quvi") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://sourceforge/quvi/quvi-" version ".tar.xz")) - (sha256 - (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci")))) - (build-system gnu-build-system) - (native-inputs `(("pkg-config" ,pkg-config))) - (inputs - `(("curl" ,curl) - ("libquvi" ,libquvi))) - (home-page "http://quvi.sourceforge.net/") - (synopsis "Media stream URL parser") - (description "quvi is a command-line-tool suite to extract media files -from streaming URLs. It is a command-line wrapper for the libquvi library.") - (license l:lgpl2.1+))) + "The WWW::RobotRules module parses /robots.txt files as specified in +\"A Standard for Robot Exclusion\", at +. Webmasters can use the +/robots.txt file to forbid conforming robots from accessing parts of +their web site.") + (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/"))) -- cgit 1.4.1