www/p5-HTTP-Daemon 6.17 FreeBSD
Simple HTTP server class
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- www, perl5
- Package size
- 25.4 KiB, 78.2 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/p5-HTTP-Daemon | 6.17 |
| OpenBSD | www/p5-HTTP-Daemon | 6.17 |
| NetBSD | www/p5-HTTP-Daemon | 6.17nb1 |
| DragonFly | www/p5-HTTP-Daemon | 6.16 |
| MidnightBSD | www/p5-HTTP-Daemon | 6.17 |
| HardenedBSD | www/p5-HTTP-Daemon | 6.17 |
| GhostBSD | www/p5-HTTP-Daemon | 6.17 |
| OPNsense | www/p5-HTTP-Daemon | 6.17 |
Install
Binary package:
pkg install p5-HTTP-Daemon
From the ports tree:
cd /usr/ports/www/p5-HTTP-Daemon/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-HTTP-Daemon>0:www/p5-HTTP-Daemon
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 6.17 | 6.17 | 6.14 | 6.16 | 6.17 |
| FreeBSD:14:quarterly | 6.17 | 6.17 | n/a | 6.16 | 6.17 |
| FreeBSD:15:latest | 6.17 | 6.17 | n/a | 6.16 | 6.16 |
| FreeBSD:15:quarterly | 6.17 | 6.17 | n/a | n/a | n/a |
| FreeBSD:16:latest | 6.17 | 6.17 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
p5-HTTP-Date>=6: www/p5-HTTP-Datep5-HTTP-Message>=6: www/p5-HTTP-Messagep5-LWP-MediaTypes>=6: www/p5-LWP-MediaTypes
Runtime 3
p5-HTTP-Date>=6: www/p5-HTTP-Datep5-HTTP-Message>=6: www/p5-HTTP-Messagep5-LWP-MediaTypes>=6: www/p5-LWP-MediaTypes
Test 1
p5-Test-Needs>=0: devel/p5-Test-Needs
The full lists below include those, and their dependencies in turn.
Build dependencies 16
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-CPAN-Requirements-Dynamic
- devel/p5-Clone
- devel/p5-ExtUtils-Config
- devel/p5-ExtUtils-Helpers
- devel/p5-ExtUtils-InstallPaths
- devel/p5-IO-HTML
- devel/p5-Module-Build-Tiny
- devel/p5-TimeDate
- lang/perl5.42
- net/p5-URI
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-LWP-MediaTypes
Run dependencies 11
Required by 21
- devel/p5-Test-Fake-HTTPD
- net-mgmt/p5-FusionInventory-Agent
- net-p2p/eiskaltdcpp-cli
- net/p5-RPC-XML
- textproc/p5-Hatena-Keyword
- www/ikiwiki
- www/p5-Blog-Spam
- www/p5-Catalyst-Plugin-Server
- www/p5-Catalyst-Plugin-XMLRPC
- www/p5-Continuity
- www/p5-Dancer-Plugin-RPC
- www/p5-FEAR-API
- www/p5-Firefox-Marionette
- www/p5-HTTP-Proxy
- www/p5-HTTP-Recorder
- www/p5-LWPx-TimedHTTP
- www/p5-Squatting
- www/p5-Squatting-On-PSGI
- www/p5-Test-HTTP-LocalServer
- www/p5-WWW-Mechanize-Pluggable
- www/p5-WWW-Mechanize-Plugin-phpBB
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/HTTP/Daemon.pm
- %%PERL5_MAN3%%/HTTP::Daemon.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| HTTP-Daemon-6.17.tar.gz | 48657 | 16281580c40e23108d028434698b5d7d53637bf904c9df822481e253cbec920c |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.