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.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.
Approved by: portmgr (adamw)
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above )
HTTP::Daemon is used to create HTTP/1.1 servers that listen on a socket
for incoming requests.
WWW: http://search.cpan.org/dist/HTTP-Daemon/
This new port is needed to update www/p5-libwww.