# HG changeset patch # User Hans-G?nter Theisgen # Date 1640965183 -3600 # Node ID 2c71c00621d5228888746497526960ff82deedef # Parent b8a9f5292b56f3094aa680ccdd677c676d2c6ff3 updated perl-http-daemon (6.06 -> 6.12) diff -r b8a9f5292b56 -r 2c71c00621d5 perl-http-daemon/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-http-daemon/description.txt Fri Dec 31 16:39:43 2021 +0100 @@ -0,0 +1,24 @@ +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::IP, so you +can perform socket operations directly on it too. + +Please note that HTTP::Daemon used to be a subclass of +IO::Socket::INET. +To support IPv6, it switched the parent class to IO::Socket::IP +at version 6.05. + +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::IP 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 -r b8a9f5292b56 -r 2c71c00621d5 perl-http-daemon/receipt --- a/perl-http-daemon/receipt Fri Dec 31 16:37:13 2021 +0100 +++ b/perl-http-daemon/receipt Fri Dec 31 16:39:43 2021 +0100 @@ -1,19 +1,20 @@ # SliTaz package receipt. PACKAGE="perl-http-daemon" -VERSION="6.06" +VERSION="6.12" CATEGORY="development" SHORT_DESC="A Perl simple http server class." MAINTAINER="erjo@slitaz.org" LICENSE="GPL" -WEB_SITE="https://metacpan.org/release/HTTP-Daemon" +WEB_SITE="https://metacpan.org/pod/HTTP::Daemon" +REPOLOGY="perl:http-daemon" SOURCE="HTTP-Daemon" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://www.cpan.org/modules/by-module/HTTP/$TARBALL" DEPENDS="perl perl-http-date perl-http-message perl-lwp-mediatypes" -BUILD_DEPENDS="perl $DEPENDS" +BUILD_DEPENDS="$DEPENDS" current_version() { @@ -26,12 +27,11 @@ { perl Makefile.PL && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cook_copy_folders lib }