diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ff09f71 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,8 @@ +libhttp-daemon-perl (6.00-1) UNRELEASED; urgency=low + + WAITS-FOR: libhttp-request-perl, libhttp-response-perl, + libhttp-status-perl, libhttp-date-perl, liblwp-mediatypes-perl + + * Initial Release (Closes: #617520). + + -- Nicholas Bamber Wed, 9 Mar 2011 15:14:36 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b78b062 --- /dev/null +++ b/debian/control @@ -0,0 +1,35 @@ +Source: libhttp-daemon-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7) +Build-Depends-Indep: perl, libhttp-request-perl, libhttp-response-perl, + libhttp-status-perl, libhttp-date-perl, liblwp-mediatypes-perl +Maintainer: Debian Perl Group +Uploaders: Nicholas Bamber +Standards-Version: 3.9.1 +Homepage: http://search.cpan.org/dist/HTTP-Daemon/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libhttp-daemon-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libhttp-daemon-perl/ + +Package: libhttp-daemon-perl +Architecture: all +Depends: ${misc:Depends}, ${perl:Depends}, libhttp-request-perl, + libhttp-response-perl, libhttp-status-perl, libhttp-date-perl, + liblwp-mediatypes-perl +Replaces: libwww-perl (<< 6.00) +Breaks: libwww-perl (<< 6.00) +Description: simple http server class + 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. + . + The accept() method will return when a connection from a client is available. + The returned value will be an HTTP::Daemon::ClientConn object which is + another IO::Socket::INET subclass. Calling the get_request() method on this + object will read data from the client and return an HTTP::Request object. The + ClientConn object also provide methods to send back various responses. + . + This HTTP daemon does not fork(2) for you. Your application, i.e. the user of + the HTTP::Daemon is responsible for forking if that is desirable. Also note + that the user is responsible for generating responses that conform to the + HTTP/1.1 protocol. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..bd0e39a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Maintainer: Gisle Aas +Source: http://search.cpan.org/dist/HTTP-Daemon/ +Name: HTTP-Daemon + +Files: * +Copyright: 1996-2003, Gisle Aas +License: Artistic or GPL-1+ + +Files: debian/* +Copyright: 2011, Nicholas Bamber +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 version 1 of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. diff --git a/debian/libhttp-daemon-perl.docs b/debian/libhttp-daemon-perl.docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/libhttp-daemon-perl.docs @@ -0,0 +1 @@ +README diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..cc6bb4e --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/HTTP-Daemon/ .*/HTTP-Daemon-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$