From owner-svn-ports-head@freebsd.org Mon May 20 18:08:47 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B00515B4788; Mon, 20 May 2019 18:08:47 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FFDB8A4DE; Mon, 20 May 2019 18:08:47 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1045221D06; Mon, 20 May 2019 18:08:46 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4KI8jL4072670; Mon, 20 May 2019 18:08:45 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4KI8j8v072669; Mon, 20 May 2019 18:08:45 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201905201808.x4KI8j8v072669@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 20 May 2019 18:08:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502132 - head/www/p5-HTTP-Daemon X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/www/p5-HTTP-Daemon X-SVN-Commit-Revision: 502132 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2FFDB8A4DE X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2019 18:08:47 -0000 Author: sunpoet Date: Mon May 20 18:08:45 2019 New Revision: 502132 URL: https://svnweb.freebsd.org/changeset/ports/502132 Log: Add LICENSE - Update pkg-descr - Take maintainership Modified: head/www/p5-HTTP-Daemon/Makefile head/www/p5-HTTP-Daemon/pkg-descr Modified: head/www/p5-HTTP-Daemon/Makefile ============================================================================== --- head/www/p5-HTTP-Daemon/Makefile Mon May 20 18:08:40 2019 (r502131) +++ head/www/p5-HTTP-Daemon/Makefile Mon May 20 18:08:45 2019 (r502132) @@ -7,11 +7,12 @@ CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- -MAINTAINER= perl@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simple HTTP server class LICENSE= ART10 GPLv1+ LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENCE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-HTTP-Date>=6:www/p5-HTTP-Date \ Modified: head/www/p5-HTTP-Daemon/pkg-descr ============================================================================== --- head/www/p5-HTTP-Daemon/pkg-descr Mon May 20 18:08:40 2019 (r502131) +++ head/www/p5-HTTP-Daemon/pkg-descr Mon May 20 18:08:45 2019 (r502132) @@ -1,4 +1,16 @@ -This module is used to create HTTP/1.1 servers that listen on a socket -for incoming requests. +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. WWW: https://metacpan.org/release/HTTP-Daemon