WhatWeb identifies websites. It's goal is to answer the question, "What is that Website?". WhatWeb recognises web technologies including content management systems (CMS), blogging platforms, statistic/analytics packages, JavaScript libraries, web servers, and embedded devices. WhatWeb has over 900 plugins, each to recognise something different. WhatWeb also identifies version numbers, email addresses, account ID's, web framework modules, SQL errors, and more. ok jasper@
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2013/03/08 09:58:40 ajacoutot Exp $
|
|
|
|
COMMENT= web scanner
|
|
|
|
DISTNAME= whatweb-0.4.7
|
|
|
|
CATEGORIES= net www
|
|
|
|
HOMEPAGE= http://www.morningstarsecurity.com/research/whatweb
|
|
MASTER_SITES= http://www.morningstarsecurity.com/downloads/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES= lang/ruby
|
|
|
|
# does not work with 1.9 yet
|
|
MODRUBY_REV= 1.8
|
|
|
|
RUN_DEPENDS= converters/ruby-json,${MODRUBY_FLAVOR} \
|
|
${MODRUBY_ICONV_DEPENDS}
|
|
|
|
MODRUBY_ADJ_FILES= whatweb
|
|
|
|
PKG_ARCH= *
|
|
NO_REGRESS= Yes
|
|
NO_BUILD= Yes
|
|
|
|
do-install:
|
|
perl -pi -e 's,/usr/share,${TRUEPREFIX}/share,g' ${WRKSRC}/whatweb
|
|
${INSTALL_SCRIPT} ${WRKSRC}/whatweb ${PREFIX}/bin/whatweb
|
|
${INSTALL_MAN} ${WRKSRC}/whatweb.1 ${PREFIX}/man/man1/whatweb.1
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/{,doc}/whatweb
|
|
${INSTALL_DATA} ${WRKSRC}/{README,whatweb.xsl} ${PREFIX}/share/doc/whatweb/
|
|
cp -Rp ${WRKSRC}/{my-plugins,plugins-disabled,plugins,lib,plugin-development} \
|
|
${PREFIX}/share/whatweb/
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/whatweb
|
|
|
|
.include <bsd.port.mk>
|