diff --git a/www/p5-WWW-Mechanize-GZip/Makefile b/www/p5-WWW-Mechanize-GZip/Makefile new file mode 100644 index 00000000000..b10c8c79f48 --- /dev/null +++ b/www/p5-WWW-Mechanize-GZip/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2013/11/18 16:49:14 merdely Exp $ + +COMMENT= tries to fetch webpages with gzip-compression + +MODULES= cpan + +DISTNAME= WWW-Mechanize-GZip-0.12 +CATEGORIES= www perl5 + +# Perl +PERMIT_PACKAGE_CDROM= Yes + +RUN_DEPENDS = www/p5-WWW-Mechanize + +.include diff --git a/www/p5-WWW-Mechanize-GZip/distinfo b/www/p5-WWW-Mechanize-GZip/distinfo new file mode 100644 index 00000000000..ccf74ea4ccc --- /dev/null +++ b/www/p5-WWW-Mechanize-GZip/distinfo @@ -0,0 +1,2 @@ +SHA256 (WWW-Mechanize-GZip-0.12.tar.gz) = yOPrQ+JaJyliEvJv0EcY5US3KPcGpOoZYwO+7hZt5Xc= +SIZE (WWW-Mechanize-GZip-0.12.tar.gz) = 3040 diff --git a/www/p5-WWW-Mechanize-GZip/pkg/DESCR b/www/p5-WWW-Mechanize-GZip/pkg/DESCR new file mode 100644 index 00000000000..2d2783a4321 --- /dev/null +++ b/www/p5-WWW-Mechanize-GZip/pkg/DESCR @@ -0,0 +1,19 @@ +The WWW::Mechanize::GZip module tries to fetch a URL by requesting +gzip-compression from the webserver. + +If the response contains a header with 'Content-Encoding: gzip', it +decompresses the response in order to get the original (uncompressed) +content. + +This module will help to reduce bandwith fetching webpages, if supported +by the webeserver. If the webserver does not support gzip-compression, +no decompression will be made. + +This modules is a direct subclass of WWW::Mechanize and will therefore +support any methods provided by WWW::Mechanize. + +The decompression is handled by Compress::Zlib::memGunzip. + +There is a small webform, you can instantly test, whether a webserver +supports gzip-compression on a particular URL: +http://www.computerhandlung.de/www-mechanize-gzip.htm diff --git a/www/p5-WWW-Mechanize-GZip/pkg/PLIST b/www/p5-WWW-Mechanize-GZip/pkg/PLIST new file mode 100644 index 00000000000..6a23c041435 --- /dev/null +++ b/www/p5-WWW-Mechanize-GZip/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2013/11/18 16:49:14 merdely Exp $ +${P5SITE}/WWW/ +${P5SITE}/WWW/Mechanize/ +${P5SITE}/WWW/Mechanize/GZip.pm +@man man/man3p/WWW::Mechanize::GZip.3p