debian/0000755000000000000000000000000012232007457007170 5ustar debian/rules0000755000000000000000000000003612232007457010247 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000311712232007457010575 0ustar Source: twiggy Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libanyevent-perl, libhttp-parser-xs-perl, libplack-perl, libplack-middleware-deflater-perl, libserver-starter-perl, libtest-requires-perl, libtest-tcp-perl, libtry-tiny-perl, libwww-perl Maintainer: Debian Perl Group Uploaders: Alessandro Ghedini Standards-Version: 3.9.4 Homepage: https://metacpan.org/release/Twiggy/ Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/twiggy.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/twiggy.git Package: twiggy Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libanyevent-perl, libplack-perl, libtry-tiny-perl, libwww-perl Recommends: libhttp-parser-xs-perl, libserver-starter-perl Description: AnyEvent HTTP server for PSGI (like Thin) Twiggy is a lightweight and fast HTTP server with unique features: * Can run any PSGI applications. Fully supports psgi.nonblocking and psgi.streaming interfaces. * This server uses AnyEvent and runs in a non-blocking event loop, so it's best to run event-driven web applications that runs I/O bound jobs or delayed responses such as long-poll, WebSocket or streaming content (server push). * Uses XS/C based HTTP header parser for the best performance. (optional) * The memory required to run twiggy is 6MB and it can serve more than 4500 req/s with a single process on Perl 5.10 with MacBook Pro 13" late 2009. * Supports Server::Starter for hot deploy and graceful restarts. debian/source/0000755000000000000000000000000012232007457010470 5ustar debian/source/format0000644000000000000000000000001312232007457011675 0ustar 3.0 (quilt)debian/changelog0000644000000000000000000000330512232007457011043 0ustar twiggy (0.1024+dfsg-1) unstable; urgency=low * Team upload. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * Update debian/repack.stub. * New upstream release. * Update debian/copyright. Drop info about removed Module::Install, add info about debian/repack.stub, update info about main copyright. * Update Build-Depends-Indep and Recommends. -- gregor herrmann Wed, 23 Oct 2013 20:02:07 +0200 twiggy (0.1021+dfsg-2) unstable; urgency=low * Build depend and recommend libserver-starter-perl -- Alessandro Ghedini Sun, 18 Nov 2012 19:59:37 +0100 twiggy (0.1021+dfsg-1) unstable; urgency=low * New upstream release * Email change: Alessandro Ghedini -> ghedo@debian.org * Bump upstream copyright years for Module::Install * Update d/copyright to Copyright-Format 1.0 * Bump Standards-Version to 3.9.4 (no changes needed) -- Alessandro Ghedini Wed, 07 Nov 2012 19:57:31 +0100 twiggy (0.1020+dfsg-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Alessandro Ghedini ] * New upstream release * Bump Standards-Version to 3.9.2 (no changes needed) * Bump debhelper compat level to 8 * Add libev-perl to Recommends * Update upstream copyright years * Add libplack-middleware-deflater-perl to build depends -- Alessandro Ghedini Wed, 22 Feb 2012 18:51:25 +0100 twiggy (0.1010+dfsg-1) unstable; urgency=low * Initial Release. (Closes: #610863) -- Alessandro Ghedini Mon, 14 Feb 2011 17:31:57 +0100 debian/compat0000644000000000000000000000000212232007457010366 0ustar 8 debian/copyright0000644000000000000000000001101512232007457011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Twiggy Upstream-Contact: Tatsuhiko Miyagawa Source: https://metacpan.org/release/Twiggy/ Comment: The upstream sources were repackaged in order to remove jquery.ev.js, jquery.oembed.js and screen.css from the eg/chat-websocket/static/ directory due to missing license/copyright. . The +dfsg tarball can be created using the repack.sh script (via repack.stub) and is automatically run on upgrade by uscan. Files: * Copyright: 2013, Tatsuhiko Miyagawa License: Artistic or GPL-1+ Files: eg/chat/web-socket/static/DUI.js eg/chat/web-socket/static/Stream.js Copyright: 2008-2009, Digg, Inc. License: BSD-3-clause Files: eg/chat/web-socket/static/jquery.cookie.js Copyright: 2006, Klaus Hartl (stilbuero.de) License: Expat or GPL-1+ Files: eg/chat/web-socket/static/jquery.md5.js Copyright: Muhammad Hussein Fattahizadeh < muhammad [AT] semnanweb [DOT] com > License: Expat or GPL-1+ Files: eg/chat/web-socket/static/jquery-1.3.2.min.js Copyright: 2009, John Resig License: Expat or GPL-1+ Files: eg/chat/web-socket/static/pretty.js Copyright: 2008, John Resig License: Expat Files: debian/* Copyright: 2011, Alessandro Ghedini License: Artistic or GPL-1+ Files: debian/repack.stub Copyright: 2009, Ryan Niebur 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: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name of the Digg, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 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 version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/repack.local0000644000000000000000000000021012232007457011442 0ustar MANIFEST=1 rm eg/chat-websocket/static/jquery.ev.js rm eg/chat-websocket/static/jquery.oembed.js rm eg/chat-websocket/static/screen.css debian/watch0000644000000000000000000000025312232007457010221 0ustar version=3 opts="dversionmangle=s/\+dfsg//" \ https://metacpan.org/release/Twiggy/ .*/Twiggy-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ \ debian sh debian/repack.stubdebian/repack.stub0000644000000000000000000000346412232007457011343 0ustar #!/bin/sh : <<=cut =pod =head1 NAME repack.stub - script to repack upstream tarballs from uscan =head1 INSTRUCTIONS put this in debian/repack.stub and add "debian sh debian/repack.stub" to the end of the line in debian/watch. you will also need to add a version mangle to debian/watch. then create a debian/repack.local. this is a shell script that is sourced under "set -e", so be careful to check returns codes. =head1 FUNCTIONS =over 4 =item rm rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 =item mv mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 =item requires_version requires_version is there for future usage for requiring certain versions of the script =back =head1 VARIABLES =over 4 =item SUFFIX defaults to +dfsg what to append to the upstream version =item RM_OPTS defaults to -vrf options to pass to rm =item MANIFEST defaults to 0, set to 1 to turn on. this will manipulate MANIFEST files in CPAN tarballs. =item UP_BASE this is the directory where the upstream source is. =back =head1 COPYRIGHT AND LICENSE Copyright 2009, Ryan Niebur License: Artistic or GPL-1+ =cut if [ -z "$REPACK_SH" ]; then if [ -f ../../scripts/repack.sh ]; then REPACK_SH=../../scripts/repack.sh fi if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then REPACK_SH=$(which repack.sh) fi fi if [ ! -f "$REPACK_SH" ]; then echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" echo "You can get it from http://anonscm.debian.org/gitweb/?p=pkg-perl/scripts.git;a=blob_plain;f=repack.sh;hb=HEAD" exit 1 fi exec "$REPACK_SH" "$@"