debian/0000775000000000000000000000000011763327552007203 5ustar debian/changelog0000664000000000000000000000112711763327241011051 0ustar libcorona-perl (0.1004-3) unstable; urgency=low * FTBFS (closes: #676049): add libnet-server-perl into B-D list. -- Dmitry E. Oboukhov Tue, 05 Jun 2012 10:59:40 +0400 libcorona-perl (0.1004-2) unstable; urgency=low * Add libev-perl to B-D/D, closes: #675524, thanks to Aaron M. Ucko for bugreport. * - -- Dmitry E. Oboukhov Tue, 05 Jun 2012 10:59:38 +0400 libcorona-perl (0.1004-1) unstable; urgency=low * Init debian release, closes: #674982. -- Dmitry E. Oboukhov Mon, 28 May 2012 23:18:30 +0400 debian/compat0000644000000000000000000000000211760747552010402 0ustar 7 debian/copyright0000644000000000000000000000175111760767465011150 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Tatsuhiko Miyagawa Source: http://search.cpan.org/dist/Corona/ Name: Corona Files: debian/* Copyright: Dmitry E. Oboukhov License: Artistic or GPL-1+ Files: * Copyright: 2010-2011 Tatsuhiko Miyagawa License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic' License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1' debian/rules0000755000000000000000000000115111760747772010266 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/perl-makemaker.mk MAIN_MODULE = lib/Corona.pm DEBVERSION = $(shell dpkg-parsechangelog \ |grep ^Version|awk '{print $$2}'|sed 's/-.*//' ) PERLVERSION = $(shell grep '^our[[:space:]]\+$$VERSION' $(MAIN_MODULE) \ |head -n 1 \ |awk '{print $$4}'|sed "s/[';']//g" ) install/libcorona-perl:: test $(DEBVERSION) = $(PERLVERSION) clean:: rm -f Makefile.old rm -fr .pc tarball: cd .. && tar \ --exclude=debian \ --exclude=.git \ -czf libcorona-perl_$(DEBVERSION).orig.tar.gz \ libcorona-perl-$(DEBVERSION) debian/patches/0000775000000000000000000000000011760766164010635 5ustar debian/patches/makefile0000664000000000000000000000071711760766164012342 0ustar --- libcorona-perl-0.1004/Makefile.PL +++ libcorona-perl-0.1004/Makefile.PL @@ -1,12 +1,12 @@ use inc::Module::Install; name 'Corona'; all_from 'lib/Corona.pm'; -readme_from 'lib/Corona.pm'; +#readme_from 'lib/Corona.pm'; requires 'Coro'; requires 'Net::Server::Coro', 0.5; requires 'Plack', 0.99; build_requires 'Test::More'; install_script 'bin/corona'; -author_tests('xt'); -auto_set_repository; +#author_tests('xt'); +#auto_set_repository; WriteAll; debian/patches/01-closes-file.patch0000664000000000000000000000054411760765620014300 0ustar --- libcorona-perl-0.1004/lib/Corona/Server.pm +++ libcorona-perl-0.1004/lib/Corona/Server.pm @@ -97,6 +97,7 @@ sub _write_response { $offset += $sent if $sent > 0; last if $offset >= $length; } + $res->[2]->close; } else { Plack::Util::foreach($res->[2], sub { $fh->syswrite(join '', @_) }); } debian/patches/series0000664000000000000000000000003611760766011012040 0ustar 01-closes-file.patch makefile debian/watch0000644000000000000000000000011011760766764010233 0ustar version=3 http://search.cpan.org/dist/Corona/ .*-(\d+(?:\.\d+)+).tar.gz debian/control0000664000000000000000000000141511763327257010611 0ustar Source: libcorona-perl Section: perl Homepage: http://search.cpan.org/dist/Corona/ Maintainer: Dmitry E. Oboukhov Build-Depends: debhelper (>= 7), cdbs, libmodule-install-perl, libcoro-perl, libanyevent-perl, libnet-server-coro-perl, libnet-server-perl, libev-perl, libplack-perl Standards-Version: 3.9.2 Priority: extra Package: libcorona-perl Depends: ${perl:Depends}, ${misc:Depends}, ${shlibs:Depends}, libcoro-perl, libanyevent-perl, libnet-server-coro-perl, libev-perl, libnet-server-perl, libplack-perl Architecture: any Description: Coro based PSGI web server Corona is a Coro based Plack web server. It uses Net::Server::Coro under the hood, which means we have coroutines (threads) for each socket, active connections and a main loop. debian/source/0000775000000000000000000000000011760747552010506 5ustar debian/source/format0000644000000000000000000000001411760747552011712 0ustar 3.0 (quilt)