1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

security/whatweb: unbreak by update

- unbreak by update to 1.4.8-dev (ruby 1.9-aware)
- switch to github
- add staging support

PR:		188643
Reported by:	agr@mail.ru
This commit is contained in:
Ruslan Makhmatkhanov 2014-06-04 20:03:39 +00:00
parent e881939ed5
commit d1347e7ce9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356540
4 changed files with 919 additions and 50 deletions

View File

@ -2,43 +2,40 @@
# $FreeBSD$
PORTNAME= whatweb
PORTVERSION= 0.4.7
PORTREVISION= 1
DISTVERSION= 0.4.8-${GH_COMMIT}
CATEGORIES= security www
MASTER_SITES= http://www.morningstarsecurity.com/downloads/
MAINTAINER= rm@FreeBSD.org
COMMENT= A tool to fingerprint web site components
COMMENT= Tool to fingerprint web site components
LICENSE= GPLv2
USE_RUBY= yes
NO_BUILD= yes
PORTDOCS= README INSTALL CHANGELOG TODO
MAN1= ${PORTNAME}.1
MANCOMPRESSED= no
USE_RUBY_FEATURES= iconv
USE_GITHUB= yes
GH_ACCOUNT= urbanadventurer
GH_PROJECT= WhatWeb
GH_COMMIT= 126e729
GH_TAGNAME= ${GH_COMMIT}
NO_STAGE= yes
.include <bsd.port.pre.mk>
USE_RUBY= yes
USE_RUBY_FEATURES= iconv
RUBY_NO_BUILD_DEPENDS= yes
NO_BUILD= yes
PORTDOCS= CHANGELOG INSTALL README whatweb.xsl
post-patch:
${REINPLACE_CMD} -e \
's!/usr/share/whatweb/!${RUBY_SITELIBDIR}/${PORTNAME}!' \
${WRKSRC}/${PORTNAME}
's!/usr/share/whatweb/!${RUBY_SITELIBDIR}/whatweb!' \
${WRKSRC}/whatweb
do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
. for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
. endfor
.endif
.for DIR in plugins lib plugin-development
( cd ${WRKSRC}/${DIR} && \
${COPYTREE_SHARE} . ${RUBY_SITELIBDIR}/${PORTNAME}/${DIR} )
.endfor
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>
.for dir in addons lib my-plugins plugin-development plugins plugins-disabled
( cd ${WRKSRC}/${dir} && \
${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_SITELIBDIR}/whatweb/${dir} )
.endfor
${INSTALL_MAN} ${WRKSRC}/whatweb.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/whatweb ${STAGEDIR}${PREFIX}/bin/whatweb
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (whatweb-0.4.7.tar.gz) = 64994ec364de188192918e15c09cd01c62c3b8d080e9777b5d785d7f55d509db
SIZE (whatweb-0.4.7.tar.gz) = 868621
SHA256 (whatweb-0.4.8-126e729.tar.gz) = 8f181b51e900fb6c7506bd96a103c12c7313871f88bb6bb4b30d60f598b9fc9e
SIZE (whatweb-0.4.8-126e729.tar.gz) = 1303182

View File

@ -1,6 +1,6 @@
WhatWeb can be used to detect the software packages that are used
for a website. It can detect content management systems (CMS),
blogging platforms, stats/analytics packages, javascript libraries,
servers, etc..
servers, etc.
WWW: http://www.morningstarsecurity.com/research/whatweb

File diff suppressed because it is too large Load Diff