aboutsummaryrefslogtreecommitdiffstats
path: root/security/hunch/Makefile
blob: 1b3a163de494588350a2227ae06568775bebc904 (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
# New ports collection makefile for: hunch
# Date created:     26 October 2002
# Whom:         Dan Pelleg <daniel+hunch@pelleg.org>
#
# $FreeBSD$
#

PORTNAME=   hunch
PORTVERSION=    1.1.8
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_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>