wok-current rev 24219
updated perl-http-daemon (6.06 -> 6.12)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:39:43 2021 +0100 (2021-12-31) |
parents | b8a9f5292b56 |
children | 87b0f7c00ef2 |
files | perl-http-daemon/description.txt perl-http-daemon/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-http-daemon/description.txt Fri Dec 31 16:39:43 2021 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +Instances of the HTTP::Daemon class are HTTP/1.1 servers 1.5 +that listen on a socket for incoming requests. 1.6 +The HTTP::Daemon is a subclass of IO::Socket::IP, so you 1.7 +can perform socket operations directly on it too. 1.8 + 1.9 +Please note that HTTP::Daemon used to be a subclass of 1.10 +IO::Socket::INET. 1.11 +To support IPv6, it switched the parent class to IO::Socket::IP 1.12 +at version 6.05. 1.13 + 1.14 +The accept() method will return when a connection from a 1.15 +client is available. The returned value will be an 1.16 +HTTP::Daemon::ClientConn object which is another 1.17 +IO::Socket::IP subclass. 1.18 +Calling the get_request() method on this object will read 1.19 +data from the client and return an HTTP::Request object. 1.20 +The ClientConn object also provide methods to send back 1.21 +various responses. 1.22 + 1.23 +This HTTP daemon does not fork(2) for you. 1.24 +Your application, i.e. the user of the HTTP::Daemon is 1.25 +responsible for forking if that is desirable. 1.26 +Also note that the user is responsible for generating 1.27 +responses that conform to the HTTP/1.1 protocol.
2.1 --- a/perl-http-daemon/receipt Fri Dec 31 16:37:13 2021 +0100 2.2 +++ b/perl-http-daemon/receipt Fri Dec 31 16:39:43 2021 +0100 2.3 @@ -1,19 +1,20 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="perl-http-daemon" 2.7 -VERSION="6.06" 2.8 +VERSION="6.12" 2.9 CATEGORY="development" 2.10 SHORT_DESC="A Perl simple http server class." 2.11 MAINTAINER="erjo@slitaz.org" 2.12 LICENSE="GPL" 2.13 -WEB_SITE="https://metacpan.org/release/HTTP-Daemon" 2.14 +WEB_SITE="https://metacpan.org/pod/HTTP::Daemon" 2.15 +REPOLOGY="perl:http-daemon" 2.16 2.17 SOURCE="HTTP-Daemon" 2.18 TARBALL="$SOURCE-$VERSION.tar.gz" 2.19 WGET_URL="https://www.cpan.org/modules/by-module/HTTP/$TARBALL" 2.20 2.21 DEPENDS="perl perl-http-date perl-http-message perl-lwp-mediatypes" 2.22 -BUILD_DEPENDS="perl $DEPENDS" 2.23 +BUILD_DEPENDS="$DEPENDS" 2.24 2.25 current_version() 2.26 { 2.27 @@ -26,12 +27,11 @@ 2.28 { 2.29 perl Makefile.PL && 2.30 make && 2.31 - make DESTDIR=$DESTDIR install 2.32 + make install DESTDIR=$DESTDIR 2.33 } 2.34 2.35 # Rules to gen a SliTaz package suitable for Tazpkg. 2.36 genpkg_rules() 2.37 { 2.38 - mkdir -p $fs/usr 2.39 - cp -a $install/usr/lib $fs/usr 2.40 + cook_copy_folders lib 2.41 }