aboutsummaryrefslogtreecommitdiffstats
path: root/security/hunch/Makefile
blob: ddd213b0c812224d57f5eaab0d5db996e02505e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for: hunch
# Date created:     26 October 2002
# Whom:         Dan Pelleg <daniel+hunch@pelleg.org>
#
# $FreeBSD$
#

PORTNAME=   hunch
PORTVERSION=    1.1.7
CATEGORIES= security
MASTER_SITES=   http://s89813419.onlinehome.us/ \
        http://www.cs.cmu.edu/~dpelleg/download/

MAINTAINER= daniel+hunch@pelleg.org
COMMENT=    Scan httpd log files for vulnerability probes, mail admins

RUN_DEPENDS=    ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net

USE_PERL5=  yes

IS_INTERACTIVE= yes
NO_PACKAGE= too interactive
NO_BUILD=   true

do-install:
    @${ECHO_MSG} "Installing files"
    @${INSTALL_DATA} ${WRKSRC}/etc/hunch-special ${PREFIX}/etc
    @${INSTALL_SCRIPT} ${WRKSRC}/bin/complain-httpd ${PREFIX}/bin
    @${INSTALL_SCRIPT} ${WRKSRC}/bin/contact ${PREFIX}/bin

post-install:
    @PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>