mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
Add libwhisker 1.6, perl module to create HTTP test scripts.
PR: 42986 Submitted by: pandzilla
This commit is contained in:
parent
3ee4ffa3b8
commit
d9a53e3428
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85163
@ -138,6 +138,7 @@
|
||||
SUBDIR += libparanoia
|
||||
SUBDIR += libprelude
|
||||
SUBDIR += libtasn1
|
||||
SUBDIR += libwhisker
|
||||
SUBDIR += liedentd
|
||||
SUBDIR += logcheck
|
||||
SUBDIR += lsh
|
||||
|
59
security/libwhisker/Makefile
Normal file
59
security/libwhisker/Makefile
Normal file
@ -0,0 +1,59 @@
|
||||
# New ports collection makefile for: libwhisker
|
||||
# Date created: 20 September 2002
|
||||
# Whom: pandzilla
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libwhisker
|
||||
PORTVERSION= 1.6
|
||||
CATEGORIES= security perl5
|
||||
|
||||
MAINTAINER= jan@atstake.com
|
||||
COMMENT= Perl module to create HTTP test scripts
|
||||
|
||||
MASTER_SITES= http://www.wiretrip.net/rfp/${PORTNAME}/
|
||||
DISTNAME= ${PORTNAME}-current
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
NO_BUILD= yes
|
||||
STRIP_CMD= # Do not strip file during installation
|
||||
|
||||
DOC1= README CHANGES KNOWNBUGS
|
||||
DOCS= docs/OPTIMIZE docs/evil.htm docs/whisker_hash.txt
|
||||
IMGS= imgs/logo-builton.gif imgs/logo-name.gif imgs/logo-plain.gif
|
||||
SCRIPTS= scripts/func2html.pl scripts/prox.pl
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC} && ${PERL} ${WRKSRC}/Makefile.pl lib
|
||||
@${MKDIR} ${SITE_PERL}/${PORTNAME} && ${CHMOD} 755 ${SITE_PERL}/${PORTNAME}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/LW.pm ${SITE_PERL}/${PORTNAME}/LW.pm
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/libwhisker \
|
||||
&& ${CHMOD} 755 ${PREFIX}/share/doc/libwhisker
|
||||
@${MKDIR} ${PREFIX}/share/doc/libwhisker/docs \
|
||||
&& ${CHMOD} 755 ${PREFIX}/share/doc/libwhisker/docs
|
||||
@${MKDIR} ${PREFIX}/share/doc/libwhisker/imgs \
|
||||
&& ${CHMOD} 755 ${PREFIX}/share/doc/libwhisker/imgs
|
||||
@${MKDIR} ${PREFIX}/share/doc/libwhisker/scripts \
|
||||
&& ${CHMOD} 755 ${PREFIX}/share/doc/libwhisker/scripts
|
||||
.for i in ${DOC1}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/libwhisker/
|
||||
.endfor
|
||||
.for i in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/libwhisker/docs/
|
||||
.endfor
|
||||
.for i in ${IMGS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/libwhisker/imgs/
|
||||
.endfor
|
||||
.for i in ${SCRIPTS}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/share/doc/libwhisker/scripts/
|
||||
.endfor
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/api_demo.pl ${PREFIX}/share/doc/libwhisker/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/simple.pl ${PREFIX}/share/doc/libwhisker/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
security/libwhisker/distinfo
Normal file
1
security/libwhisker/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (libwhisker-current.tar.gz) = 06ac9f0f28d5269c893937e03d342c64
|
15
security/libwhisker/pkg-descr
Normal file
15
security/libwhisker/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
What is libwhisker:
|
||||
|
||||
Libwhisker is a Perl module geared specificly for HTTP testing.
|
||||
Libwhisker has a few design principles:
|
||||
|
||||
- Portable: runs with 0 changes on Unix, Windows, etc.
|
||||
- Flexible: designed with a 'no rules' approach
|
||||
- Contained: designed to not require external modules when possible
|
||||
- Localized: does not require installation to use
|
||||
|
||||
WWW: http://www.wiretrip.net/rfp/lw.asp
|
||||
|
||||
- pandzilla
|
||||
|
||||
jan@atstake.com
|
19
security/libwhisker/pkg-plist
Normal file
19
security/libwhisker/pkg-plist
Normal file
@ -0,0 +1,19 @@
|
||||
%%SITE_PERL%%/libwhisker/LW.pm
|
||||
%%PORTDOCS%%share/doc/libwhisker/README
|
||||
%%PORTDOCS%%share/doc/libwhisker/CHANGES
|
||||
%%PORTDOCS%%share/doc/libwhisker/KNOWNBUGS
|
||||
%%PORTDOCS%%share/doc/libwhisker/api_demo.pl
|
||||
%%PORTDOCS%%share/doc/libwhisker/simple.pl
|
||||
%%PORTDOCS%%share/doc/libwhisker/docs/OPTIMIZE
|
||||
%%PORTDOCS%%share/doc/libwhisker/docs/evil.htm
|
||||
%%PORTDOCS%%share/doc/libwhisker/docs/whisker_hash.txt
|
||||
%%PORTDOCS%%share/doc/libwhisker/imgs/logo-builton.gif
|
||||
%%PORTDOCS%%share/doc/libwhisker/imgs/logo-name.gif
|
||||
%%PORTDOCS%%share/doc/libwhisker/imgs/logo-plain.gif
|
||||
%%PORTDOCS%%share/doc/libwhisker/scripts/func2html.pl
|
||||
%%PORTDOCS%%share/doc/libwhisker/scripts/prox.pl
|
||||
%%PORTDOCS%%@dirrm share/doc/libwhisker/docs
|
||||
%%PORTDOCS%%@dirrm share/doc/libwhisker/imgs
|
||||
%%PORTDOCS%%@dirrm share/doc/libwhisker/scripts
|
||||
%%PORTDOCS%%@dirrm share/doc/libwhisker
|
||||
@dirrm %%SITE_PERL%%/libwhisker
|
Loading…
Reference in New Issue
Block a user