aboutsummaryrefslogtreecommitdiffstats
path: root/security/hunch/Makefile
blob: 671c78304cc243d1758e42f8944baaeea082a451 (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.4
CATEGORIES= security
MASTER_SITES=   http://s89813419.onlinehome.us/ \
        http://web.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>