head	1.6;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	RELEASE_6_EOL:1.4
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.4
	RELEASE_7_2_0:1.4
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2;
locks; strict;
comment	@# @;


1.6
date	2012.11.17.06.01.05;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.06.30.12.36.10;	author az;	state Exp;
branches;
next	1.4;

1.4
date	2007.10.04.09.21.59;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2007.10.04.00.00.38;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2005.02.07.14.26.22;	author sergei;	state Exp;
branches;
next	1.1;

1.1
date	2005.02.07.14.20.17;	author sergei;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Switch exporter over
@
text
@# New ports collection makefile for:	ipfilter2dshield
# Date created:		2004-06-18
# Whom:			Joe Barbish <fbsd_user@@a1poweruser.com>
#
# $FreeBSD: head/security/ipfilter2dshield/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	ipfilter2dshield
PORTVERSION=	1.0
CATEGORIES=	security
MASTER_SITES=	http://www.dshield.org/clients/
DISTNAME=	dshield-freebsd.pl
EXTRACT_SUFX=	.txt

MAINTAINER=	fbsd_user@@a1poweruser.com
COMMENT=	Official DShield client for ipfilter firewall logs

RUN_DEPENDS=	p5-Net-Netmask>=0:${PORTSDIR}/net-mgmt/p5-Net-Netmask

USE_PERL5=	yes

PKGMESSAGE=	${WRKDIR}/pkg-message
PKGDEINSTALL=	${WRKDIR}/pkg-deinstall

do-extract:
	[ -d ${WRKDIR} ] || ${MKDIR} ${WRKDIR}
	${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/${DISTNAME}

do-build:

pre-install:
	@@${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \
		-e "s=%%DISTNAME%%=${DISTNAME}=g" \
		pkg-message > ${PKGMESSAGE}
	@@${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \
		-e "s=%%PORTNAME%%=${PORTNAME}=g" \
		-e "s=%%DISTNAME%%=${DISTNAME}=g" \
		pkg-deinstall > ${PKGDEINSTALL}

do-install:
	[ -d ${PREFIX}/etc/${PORTNAME} ] || ${MKDIR} ${PREFIX}/etc/${PORTNAME}
	${INSTALL} -o root -g wheel -m 644 ${WRKDIR}/${DISTNAME} \
		${PREFIX}/etc/${PORTNAME}/${DISTNAME}.dist
	${INSTALL} -o root -g wheel -m 760 ${WRKDIR}/${DISTNAME} ${PREFIX}/sbin

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.5
log
@- Remove SITE_PERL from *_DEPENDS

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


1.4
log
@remove double bsd.port.mk
@
text
@d18 1
a18 1
RUN_DEPENDS=	${SITE_PERL}/Net/Netmask.pm:${PORTSDIR}/net-mgmt/p5-Net-Netmask
@


1.3
log
@Remove support for OSVERSION < 5
@
text
@a24 2
.include <bsd.port.mk>

@


1.2
log
@- Correct Whom: attribution in Makefile
- Add FreeBSD CVS Id tag to pkg-plist
@
text
@d25 1
a25 5
.include <bsd.port.pre.mk>

.if ${OSVERSION} < 490000
IGNORE=		"Not supported on releases prior to 4.9"
.endif
d51 1
a51 1
.include <bsd.port.post.mk>
@


1.1
log
@Add security/ipfilter2dshield:

This perl script is an official DShield client whose purpose is to
read your FreeBSD ipfilter firewall ipmon log file and convert the
log records to the standard DShield reporting record format, and
embed the converted log records into the body of an email that gets
sent to DShield for automatic addition to their database and abuse
reporting to the offenders ISP if you are an subscribed DShield member.

PR:		ports/68661
Submitted by:	Joe Barbish <fbsd_user@@a1poweruser.com>
@
text
@d3 1
a3 1
# Whom:			Frank W. Josellis <frank@@dynamical-systems.org>
@

