head	1.13;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.11
	RELEASE_7_4_0:1.11
	RELEASE_8_2_0:1.11
	RELEASE_6_EOL:1.11
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.11
	RELEASE_7_1_0:1.11
	RELEASE_6_4_0:1.11
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.11
	RELEASE_6_3_0:1.11
	PRE_XORG_7:1.11
	RELEASE_4_EOL:1.11
	RELEASE_6_2_0:1.11
	RELEASE_6_1_0:1.10
	RELEASE_5_5_0:1.10
	RELEASE_6_0_0:1.8
	RELEASE_5_4_0:1.8
	RELEASE_4_11_0:1.8
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.5
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.13
date	2012.11.17.06.01.05;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.06.30.12.36.10;	author az;	state Exp;
branches;
next	1.11;

1.11
date	2006.09.03.00.04.46;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2005.12.21.20.08.15;	author pav;	state Exp;
branches;
next	1.9;

1.9
date	2005.11.25.06.02.45;	author linimon;	state Exp;
branches;
next	1.8;

1.8
date	2004.10.12.06.52.49;	author linimon;	state Exp;
branches;
next	1.7;

1.7
date	2004.08.20.15.07.54;	author sem;	state Exp;
branches;
next	1.6;

1.6
date	2004.04.29.08.56.14;	author krion;	state Exp;
branches;
next	1.5;

1.5
date	2004.01.24.22.19.09;	author sergei;	state Exp;
branches;
next	1.4;

1.4
date	2003.12.04.14.27.49;	author sergei;	state Exp;
branches;
next	1.3;

1.3
date	2003.10.14.12.31.30;	author daichi;	state Exp;
branches;
next	1.2;

1.2
date	2003.10.04.16.59.38;	author krion;	state Exp;
branches;
next	1.1;

1.1
date	2003.08.28.09.21.14;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Switch exporter over
@
text
@# New ports collection makefile for: hunch
# Date created:		26 October 2002
# Whom:			Dan Pelleg <daniel+hunch@@pelleg.org>
#
# $FreeBSD: head/security/hunch/Makefile 300897 2012-07-14 14:29:18Z beat $
#

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=	p5-Net>=0:${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>
@


1.12
log
@- Remove SITE_PERL from *_DEPENDS

Approved by: portmgr@@ (bapt@@)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@NO_PACKAGE is not appropriate here
@
text
@d17 1
a17 1
RUN_DEPENDS=	${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net
@


1.10
log
@- Update to 1.1.8

PR:		ports/90750
Submitted by:	Dan Pelleg <daniel+hunch@@pelleg.org> (maintainer)
@
text
@a21 1
NO_PACKAGE=	"too interactive"
@


1.9
log
@Chase URLs per distfile survey.
@
text
@d9 1
a9 1
PORTVERSION=	1.1.7
d22 1
a22 1
NO_PACKAGE=	too interactive
@


1.8
log
@Update to 1.1.7.

PR:		ports/71353
Submitted by:	Dan Pelleg <daniel+hunch dot pelleg dot org> (maintainer)
@
text
@d12 1
a12 1
		http://web.cs.cmu.edu/~dpelleg/download/
@


1.7
log
@Update to 1.1.6

PR:		ports/70706
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.1.6
@


1.6
log
@- Update to version 1.1.5

PR:		ports/65823
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.1.5
@


1.5
log
@- Update to 1.1.4

PR:		61842
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.1.4
@


1.4
log
@- Update to 1.1.3
- Add MASTER_SITES

While I'm here:
- Re-arrange Makefile variables
- Shorten COMMENT to fit the limit
- Remove unnecessary WRKSRC (default value)

PR:		59798
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.1.3
@


1.3
log
@update security/hunch: 1.1 -> 1.1.1

PR:		57917
Submitted by:	Dan Pelleg <daniel+hunch@@pelleg.org> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.1.1
d11 2
a12 1
MASTER_SITES=	http://web.cs.cmu.edu/~dpelleg/download/
d15 1
a15 1
COMMENT=	Scan httpd log files, find vulnerability probes, mail admins
d19 2
a21 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
a23 1
USE_PERL5=	YES
@


1.2
log
@- Update to version 1.1

PR:		57575
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.1
@


1.1
log
@New port: hunch - Scan httpd log files, find vulnerability probes,
mail admins

	Scan Apache log files for CodeRed, Nimda, FormMail, proxy
	scanners and other malicious probes. For each one found,
	track down the contact email from WHOIS data and send a
	notice. Built-in rate controls prevent flooding an admin
	even when his machines are scanning at high rates. Runs as
	a non-privileged cron job to not interfere with the HTTP
	daemon's operation.

	Notes to committer:
	 1. This port installs a user and a group "hunch". It doesn't
	 meet the conditions listed in the handbook for a "reserved"
	 uid/gid.
	 2. portlint will complain about the port. A lot. To the
	 best of my judgment all of the warnings can be ignored
	 with the exception of the one about BATCH which I could
	 find no documentation for. Therefore it is setting
	 IS_INTERACTIVE.

PR:		ports/44836
Submitted by:	Dan Pelleg <daniel+hunch@@pelleg.org>
@
text
@d9 1
a9 1
PORTVERSION=	1.0
@

