svn commit: r404467 - in head/sysutils: . phttpget phttpget/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Dec 25 19:45:46 UTC 2015


Author: sunpoet
Date: Fri Dec 25 19:45:44 2015
New Revision: 404467
URL: https://svnweb.freebsd.org/changeset/ports/404467

Log:
  - Add phttpget 0.2
  
  `phttpget' is a Pipelined HTTP GET utility.
  
  This is different from "normal" HTTP in that it allows the HTTP
  client to have several HTTP requests "in flight" at once, and can
  dramatically increase performance when a large number of small files
  need to be downloaded. (This was the case with portsnap, where
  downloading 300 files of 200 bytes each is not unusual).
  
  Note that phttpget is currently extremely minimalist.
  
  Please see the website listed below, for a full feature list.
  
  WWW: http://www.daemonology.net/phttpget/
  
  PR:		205557
  Submitted by:	Chris Hutchinson <portmaster at bsdforge.com>

Added:
  head/sysutils/phttpget/
  head/sysutils/phttpget/Makefile   (contents, props changed)
  head/sysutils/phttpget/distinfo   (contents, props changed)
  head/sysutils/phttpget/files/
  head/sysutils/phttpget/files/patch-phttpget.c   (contents, props changed)
  head/sysutils/phttpget/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Fri Dec 25 19:45:38 2015	(r404466)
+++ head/sysutils/Makefile	Fri Dec 25 19:45:44 2015	(r404467)
@@ -729,6 +729,7 @@
     SUBDIR += php55-posix
     SUBDIR += php56-fileinfo
     SUBDIR += php56-posix
+    SUBDIR += phttpget
     SUBDIR += phybs
     SUBDIR += pick
     SUBDIR += pidof

Added: head/sysutils/phttpget/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/phttpget/Makefile	Fri Dec 25 19:45:44 2015	(r404467)
@@ -0,0 +1,20 @@
+# Created by: Chris Hutchinson (portmaster at bsdforge.com)
+# $FreeBSD$
+
+PORTNAME=	phttpget
+PORTVERSION=	0.2
+CATEGORIES=	sysutils net
+MASTER_SITES=	http://www.daemonology.net/phttpget/ \
+		http://bsdforge.com/projects/source/sysutils/phttpget/
+
+MAINTAINER=	portmaster at bsdforge.com
+COMMENT=	Pipelined HTTP GET utility
+
+LICENSE=	BSD3CLAUSE
+
+PLIST_FILES=	bin/phttpget
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/phttpget ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>

Added: head/sysutils/phttpget/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/phttpget/distinfo	Fri Dec 25 19:45:44 2015	(r404467)
@@ -0,0 +1,2 @@
+SHA256 (phttpget-0.2.tar.gz) = 73bd598571bb4e3500d5142aa78ab9f213afca52e72c01e82aeaf8c84533aef6
+SIZE (phttpget-0.2.tar.gz) = 5325

Added: head/sysutils/phttpget/files/patch-phttpget.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/phttpget/files/patch-phttpget.c	Fri Dec 25 19:45:44 2015	(r404467)
@@ -0,0 +1,11 @@
+--- phttpget.c.orig	2015-12-23 13:46:44.780539000 -0800
++++ phttpget.c	2015-12-23 13:47:03.377740000 -0800
+@@ -76,7 +76,7 @@
+ 
+ 	env_HTTP_USER_AGENT = getenv("HTTP_USER_AGENT");
+ 	if (env_HTTP_USER_AGENT == NULL)
+-		env_HTTP_USER_AGENT = "phttpget/0.1";
++		env_HTTP_USER_AGENT = "phttpget/0.2";
+ }
+ 
+ static int

Added: head/sysutils/phttpget/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/phttpget/pkg-descr	Fri Dec 25 19:45:44 2015	(r404467)
@@ -0,0 +1,13 @@
+`phttpget' is a Pipelined HTTP GET utility.
+
+This is different from "normal" HTTP in that it allows the HTTP
+client to have several HTTP requests "in flight" at once, and can
+dramatically increase performance when a large number of small files
+need to be downloaded. (This was the case with portsnap, where
+downloading 300 files of 200 bytes each is not unusual). 
+
+Note that phttpget is currently extremely minimalist.
+
+Please see the website listed below, for a full feature list.
+
+WWW: http://www.daemonology.net/phttpget/


More information about the svn-ports-head mailing list