ports/171492: New port: www/http_post: do a POST to an URL and dump the results
Masaki TAGAWA
masaki at club.kyutech.ac.jp
Sun Sep 9 09:00:19 UTC 2012
>Number: 171492
>Category: ports
>Synopsis: New port: www/http_post: do a POST to an URL and dump the results
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 09 09:00:18 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Masaki TAGAWA
>Release: FreeBSD 9.0-STABLE amd64
>Organization:
Kyushu Institute of Technology
>Environment:
System: FreeBSD rosetta.club.kyutech.ac.jp 9.0-STABLE FreeBSD 9.0-STABLE #8: Mon Jul 2 11:36:08 JST 2012 root at rosetta.club.kyutech.ac.jp:/usr/obj/usr/src/sys/CLUBVMKERNEL amd64
>Description:
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/
>How-To-Repeat:
* Checked on Redports.org [1]
[1] http://redports.org/buildarchive/20120909025820-37632/
>Fix:
--- http_post.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# http_post
# http_post/files
# http_post/files/Makefile.bsd
# http_post/distinfo
# http_post/Makefile
# http_post/pkg-descr
#
echo c - http_post
mkdir -p http_post > /dev/null 2>&1
echo c - http_post/files
mkdir -p http_post/files > /dev/null 2>&1
echo x - http_post/files/Makefile.bsd
sed 's/^X//' >http_post/files/Makefile.bsd << 'cf4ee00c974d66c092830122beeda517'
XPROG = http_post
XSRCS = http_post.c
X
X.ifndef NO_OPENSSL
XCFLAGS += -DUSE_SSL -I${OPENSSLBASE}/include ${OPENSSL_CFLAGS}
XLDFLAGS += -L${OPENSSLBASE}/lib -lssl -lcrypto
X.endif
X
XBINDIR = ${PREFIX}/bin
XMANDIR = ${PREFIX}/man/man
X
X.include <bsd.prog.mk>
cf4ee00c974d66c092830122beeda517
echo x - http_post/distinfo
sed 's/^X//' >http_post/distinfo << '498dac8031cfc784a6328921f3de1b40'
XSHA256 (http_post_18jan2011.tar.gz) = 3a000cc417000d7dc92735f17a073df74e82a38ac1d382afe05454d175645559
XSIZE (http_post_18jan2011.tar.gz) = 8136
498dac8031cfc784a6328921f3de1b40
echo x - http_post/Makefile
sed 's/^X//' >http_post/Makefile << 'b886edec6ce794eb4e1cfb6811ec4b36'
X# New ports collection makefile for: http_post
X# Date created: 9 Sep 2012
X# Whom: Masaki TAGAWA <masaki at club.kyutech.ac.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME= http_post
XPORTVERSION= 1.0.20110118
XCATEGORIES= www ipv6
XMASTER_SITES= http://www.acme.com/software/http_post/
XDISTNAME= ${PORTNAME}_18jan2011
X
XMAINTAINER= masaki at club.kyutech.ac.jp
XCOMMENT= Do a POST operaion and Dump http-contents to stdout
X
XWRKSRC= ${WRKDIR}/http_post
XMAKEFILE= ${FILESDIR}/Makefile.bsd
X
XMAN1= http_post.1
XMANCOMPRESSED= yes
XPLIST_FILES= bin/http_post
X
X.ifndef NO_OPENSSL
XUSE_OPENSSL= yes
X.endif
X
X.include <bsd.port.mk>
b886edec6ce794eb4e1cfb6811ec4b36
echo x - http_post/pkg-descr
sed 's/^X//' >http_post/pkg-descr << '3b8232c3eb8fced35b5860b9681433ce'
XHttp_post does a POST operation and dumps
Xthe results to stdout. This supports ipv6
Xand https (SSL).
X
XWWW: http://www.acme.com/software/http_post/
3b8232c3eb8fced35b5860b9681433ce
exit
--- http_post.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list