diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/libwhisker/Makefile | 59 | ||||
-rw-r--r-- | security/libwhisker/distinfo | 1 | ||||
-rw-r--r-- | security/libwhisker/pkg-descr | 15 | ||||
-rw-r--r-- | security/libwhisker/pkg-plist | 19 |
5 files changed, 95 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index e6a6ce37de53..87ec396aee21 100644 --- a/security/Makefile +++ b/security/Makefile @@ -138,6 +138,7 @@ SUBDIR += libparanoia SUBDIR += libprelude SUBDIR += libtasn1 + SUBDIR += libwhisker SUBDIR += liedentd SUBDIR += logcheck SUBDIR += lsh diff --git a/security/libwhisker/Makefile b/security/libwhisker/Makefile new file mode 100644 index 000000000000..b0cc2ebe9aa6 --- /dev/null +++ b/security/libwhisker/Makefile @@ -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> diff --git a/security/libwhisker/distinfo b/security/libwhisker/distinfo new file mode 100644 index 000000000000..764c3871c1ff --- /dev/null +++ b/security/libwhisker/distinfo @@ -0,0 +1 @@ +MD5 (libwhisker-current.tar.gz) = 06ac9f0f28d5269c893937e03d342c64 diff --git a/security/libwhisker/pkg-descr b/security/libwhisker/pkg-descr new file mode 100644 index 000000000000..557c7b0f6765 --- /dev/null +++ b/security/libwhisker/pkg-descr @@ -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 diff --git a/security/libwhisker/pkg-plist b/security/libwhisker/pkg-plist new file mode 100644 index 000000000000..3754e6778788 --- /dev/null +++ b/security/libwhisker/pkg-plist @@ -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 |