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/

PR:		ports/171492
Submitted by:	masaki@club.kyutech.ac.jp
This commit is contained in:
Steve Wills 2012-09-09 15:01:34 +00:00
parent 4e7e939867
commit c850dea23e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303970
5 changed files with 47 additions and 0 deletions

View file

@ -337,6 +337,7 @@
SUBDIR += http-analyze
SUBDIR += http_get
SUBDIR += http_load
SUBDIR += http_post
SUBDIR += httpclient
SUBDIR += httpcore
SUBDIR += httpgrabber

28
www/http_post/Makefile Normal file
View file

@ -0,0 +1,28 @@
# New ports collection makefile for: http_post
# Date created: 9 Sep 2012
# Whom: Masaki TAGAWA <masaki@club.kyutech.ac.jp>
#
# $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 <bsd.port.mk>

2
www/http_post/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (http_post_18jan2011.tar.gz) = 3a000cc417000d7dc92735f17a073df74e82a38ac1d382afe05454d175645559
SIZE (http_post_18jan2011.tar.gz) = 8136

View file

@ -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 <bsd.prog.mk>

4
www/http_post/pkg-descr Normal file
View file

@ -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/