6ac12c6335
- Added new option: {whisker}->{save_raw_chunks}. When set to a value of 1, the raw chunked data, including chunk sizes, will be saved to {whisker}->{data}. Normally libwhisker interprets the chunk sizes and stitches just the raw data together on your behalf; use this option if you just want the raw chunked server response. - http_do_request() wasn't correctly returning the value returned by http_do_request_ex(), so {whisker}->{invalid_protocol_return_value} wasn't actually being honored. All fixed now. - Added ssl_is_available() function for an official way to check to see if SSL is installed. No more relying on $LW_SSL_LIB global variable! - The stream code wasn't updating the connect count ("syns"), which was causing {whisker}->{stats_syns} to always be zero. - dump()/_dumpd() was modified to no longer escape NULLs (\x00) as "\0", since that is a kludge shorthand which can backfire if numbers follow it. See the CHANGES2 for all the details: http://www.wiretrip.net/rfp/libwhisker/CHANGES2
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2007/04/14 10:30:37 adrianp Exp $
|
|
|
|
DISTNAME= libwhisker2-2.4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.wiretrip.net/rfp/libwhisker/
|
|
|
|
MAINTAINER= adrianp@NetBSD.org
|
|
HOMEPAGE= http://www.wiretrip.net/rfp/lw.asp
|
|
COMMENT= Perl module geared specifically for HTTP testing
|
|
|
|
DEPENDS+= p5-Net-SSLeay>=1.20:../../security/p5-Net-SSLeay
|
|
|
|
USE_TOOLS+= perl:run
|
|
REPLACE_PERL= scripts/api_demo.pl scripts/crawl_demo.pl \
|
|
scripts/simple_demo.pl scripts/form_demo1.pl \
|
|
scripts/form_demo2.pl scripts/prox.pl
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ${PERL5} Makefile.pl lib
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libwhisker2
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libwhisker2
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libdata/libwhisker2
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/libwhisker2
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.gif ${PREFIX}/share/doc/libwhisker2
|
|
${INSTALL_DATA} ${WRKSRC}/KNOWNBUGS ${PREFIX}/share/doc/libwhisker2
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libwhisker2
|
|
${INSTALL_DATA} ${WRKSRC}/LW2.pm ${PREFIX}/libdata/libwhisker2
|
|
|
|
. for f in ${REPLACE_PERL}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${f} \
|
|
${PREFIX}/share/examples/libwhisker2
|
|
. endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|