aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2008-09-03 16:06:18 +0800
committerale <ale@FreeBSD.org>2008-09-03 16:06:18 +0800
commit24f9d9a24116f50da002b2c30d2e9b0fb6d65df3 (patch)
tree5d35c217083fbd32d3b9282680023b90addec5fd /www
parent70f74cd9f40b2321dad87ac9041f15f7e59e3ea3 (diff)
downloadfreebsd-ports-gnome-24f9d9a24116f50da002b2c30d2e9b0fb6d65df3.tar.gz
freebsd-ports-gnome-24f9d9a24116f50da002b2c30d2e9b0fb6d65df3.tar.zst
freebsd-ports-gnome-24f9d9a24116f50da002b2c30d2e9b0fb6d65df3.zip
The HttpCore components implement the most fundamental aspects of the HTTP
protocol. They are nonetheless sufficient to develop basic client-side and server-side HTTP services with a minimal footprint and no external dependencies. The HttpCore base module contains the public API and the default implementation based on the Java classic (blocking) I/O model. It requires a Java 1.3 compatible runtime and has no dependency on any external libraries. HttpCore NIO extensions contain optional components that leverage the event driven, non-blocking I/O (NIO) model. HttpCore NIO extensions require a Java 5.0 compatible runtime and the HttpCore base module. HttpCore NIO extensions are intended for those usage scenarios where raw throughput is less important than the ability to handle thousands of simultaneous HTTP connections in a resource efficient manner. WWW: http://hc.apache.org/httpcomponents-core/
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/httpcore/Makefile45
-rw-r--r--www/httpcore/distinfo3
-rw-r--r--www/httpcore/pkg-descr20
4 files changed, 69 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index c0eff034d9b6..d354c56f1e2b 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -269,6 +269,7 @@
SUBDIR += http-analyze
SUBDIR += http_get
SUBDIR += http_load
+ SUBDIR += httpcore
SUBDIR += httpgrabber
SUBDIR += httptunnel
SUBDIR += httrack
diff --git a/www/httpcore/Makefile b/www/httpcore/Makefile
new file mode 100644
index 000000000000..539fd0f12372
--- /dev/null
+++ b/www/httpcore/Makefile
@@ -0,0 +1,45 @@
+# Ports collection makefile for: HttpCore
+# Date created: 11 Jul 2008
+# Whom: Alex Dupre <ale@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= httpcore
+DISTVERSION= 4.0-beta2
+CATEGORIES= www java
+MASTER_SITES= ${MASTER_SITE_APACHE}
+MASTER_SITE_SUBDIR= httpcomponents/${PORTNAME}/binary
+DISTNAME= httpcomponents-core-${DISTVERSION}-bin
+
+MAINTAINER= ale@FreeBSD.org
+COMMENT= Java components implementing the base HTTP protocol
+
+USE_JAVA= yes
+JAVA_VERSION= 1.5+
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/httpcomponents-core-${DISTVERSION}
+
+PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar %%JAVAJARDIR%%/${PORTNAME}-nio.jar
+
+PORTDOCS= *
+
+do-install:
+ @${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
+ @${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${DISTVERSION}.jar \
+ ${JAVAJARDIR}/${PORTNAME}.jar
+ @${ECHO_MSG} " [DONE]"
+ @${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}-nio.jar..."
+ @${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-nio-${DISTVERSION}.jar \
+ ${JAVAJARDIR}/${PORTNAME}-nio.jar
+ @${ECHO_MSG} " [DONE]"
+.if !defined(NOPORTDOCS)
+ @${ECHO_MSG} -n ">> Installing documentation..."
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC}/javadoc && ${FIND} ${PORTNAME} ${PORTNAME}-nio \
+ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
+ @${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${DOCSDIR}/
+ @${ECHO_MSG} " [DONE]"
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/httpcore/distinfo b/www/httpcore/distinfo
new file mode 100644
index 000000000000..e89b166beece
--- /dev/null
+++ b/www/httpcore/distinfo
@@ -0,0 +1,3 @@
+MD5 (httpcomponents-core-4.0-beta2-bin.tar.gz) = e33280fe917bc1f2f934bc24fcc8b673
+SHA256 (httpcomponents-core-4.0-beta2-bin.tar.gz) = 01969c8c0cffb36873f6ffa29f48beb66ece7b927a2c86b65f6ae365d39a88ce
+SIZE (httpcomponents-core-4.0-beta2-bin.tar.gz) = 921495
diff --git a/www/httpcore/pkg-descr b/www/httpcore/pkg-descr
new file mode 100644
index 000000000000..b719c7e95ad9
--- /dev/null
+++ b/www/httpcore/pkg-descr
@@ -0,0 +1,20 @@
+The HttpCore components implement the most fundamental aspects of the HTTP
+protocol. They are nonetheless sufficient to develop basic client-side and
+server-side HTTP services with a minimal footprint and no external
+dependencies.
+
+The HttpCore base module contains the public API and the default
+implementation based on the Java classic (blocking) I/O model. It requires
+a Java 1.3 compatible runtime and has no dependency on any external libraries.
+
+HttpCore NIO extensions contain optional components that leverage the event
+driven, non-blocking I/O (NIO) model. HttpCore NIO extensions require a
+Java 5.0 compatible runtime and the HttpCore base module. HttpCore NIO
+extensions are intended for those usage scenarios where raw throughput is
+less important than the ability to handle thousands of simultaneous HTTP
+connections in a resource efficient manner.
+
+WWW: http://hc.apache.org/httpcomponents-core/
+
+- Alex Dupre
+ale@FreeBSD.org