diff --git a/www/Makefile b/www/Makefile index d669ffd3c186..c3f61227c7f4 100644 --- a/www/Makefile +++ b/www/Makefile @@ -337,6 +337,7 @@ SUBDIR += http-analyze SUBDIR += http_get SUBDIR += http_load + SUBDIR += http_post SUBDIR += httpclient SUBDIR += httpcore SUBDIR += httpgrabber diff --git a/www/http_post/Makefile b/www/http_post/Makefile new file mode 100644 index 000000000000..ea9ef55ecaac --- /dev/null +++ b/www/http_post/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: http_post +# Date created: 9 Sep 2012 +# Whom: Masaki TAGAWA +# +# $FreeBSD$ +# + +PORTNAME= http_post +PORTVERSION= 1.0.20110118 +CATEGORIES= www ipv6 +MASTER_SITES= http://www.acme.com/software/http_post/ +DISTNAME= ${PORTNAME}_18jan2011 + +MAINTAINER= masaki@club.kyutech.ac.jp +COMMENT= Do a POST operaion and Dump http-contents to stdout + +WRKSRC= ${WRKDIR}/http_post +MAKEFILE= ${FILESDIR}/Makefile.bsd + +MAN1= http_post.1 +MANCOMPRESSED= yes +PLIST_FILES= bin/http_post + +.ifndef NO_OPENSSL +USE_OPENSSL= yes +.endif + +.include diff --git a/www/http_post/distinfo b/www/http_post/distinfo new file mode 100644 index 000000000000..7a70d3e7d393 --- /dev/null +++ b/www/http_post/distinfo @@ -0,0 +1,2 @@ +SHA256 (http_post_18jan2011.tar.gz) = 3a000cc417000d7dc92735f17a073df74e82a38ac1d382afe05454d175645559 +SIZE (http_post_18jan2011.tar.gz) = 8136 diff --git a/www/http_post/files/Makefile.bsd b/www/http_post/files/Makefile.bsd new file mode 100644 index 000000000000..7d72745bef47 --- /dev/null +++ b/www/http_post/files/Makefile.bsd @@ -0,0 +1,12 @@ +PROG = http_post +SRCS = http_post.c + +.ifndef NO_OPENSSL +CFLAGS += -DUSE_SSL -I${OPENSSLBASE}/include ${OPENSSL_CFLAGS} +LDFLAGS += -L${OPENSSLBASE}/lib -lssl -lcrypto +.endif + +BINDIR = ${PREFIX}/bin +MANDIR = ${PREFIX}/man/man + +.include diff --git a/www/http_post/pkg-descr b/www/http_post/pkg-descr new file mode 100644 index 000000000000..f5937a96b383 --- /dev/null +++ b/www/http_post/pkg-descr @@ -0,0 +1,4 @@ +Http_post does a POST operation and dumps the results to stdout. This supports +ipv6 and https (SSL). + +WWW: http://www.acme.com/software/http_post/