head	1.15;
access;
symbols
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.13
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.5
	RELEASE_6_2_0:1.1;
locks; strict;
comment	@# @;


1.15
date	2012.03.03.20.21.17;	author eadler;	state dead;
branches;
next	1.14;

1.14
date	2012.02.08.08.50.01;	author jadawin;	state Exp;
branches;
next	1.13;

1.13
date	2009.08.22.00.34.49;	author amdmi3;	state Exp;
branches;
next	1.12;

1.12
date	2008.07.03.07.58.25;	author jadawin;	state Exp;
branches;
next	1.11;

1.11
date	2008.03.12.13.27.26;	author jadawin;	state Exp;
branches;
next	1.10;

1.10
date	2007.12.26.13.29.03;	author jmelo;	state Exp;
branches;
next	1.9;

1.9
date	2007.06.16.16.35.33;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2007.04.07.06.51.07;	author sem;	state Exp;
branches;
next	1.7;

1.7
date	2007.04.02.01.11.38;	author clsung;	state Exp;
branches;
next	1.6;

1.6
date	2007.03.31.16.43.27;	author ehaupt;	state Exp;
branches;
next	1.5;

1.5
date	2006.12.14.01.12.56;	author clsung;	state Exp;
branches;
next	1.4;

1.4
date	2006.12.01.04.37.09;	author clsung;	state Exp;
branches;
next	1.3;

1.3
date	2006.11.23.06.10.33;	author clsung;	state Exp;
branches;
next	1.2;

1.2
date	2006.10.31.09.00.08;	author clsung;	state Exp;
branches;
next	1.1;

1.1
date	2006.09.26.10.26.06;	author clsung;	state Exp;
branches;
next	;


desc
@@


1.15
log
@security/blocksshd: security/sshguard is more active and a better tool.
2011-11-26 net/p5-Net-Subnets: Disappeared from CPAN

Approved by:	maintainer (implicit)
@
text
@# New ports collection makefile for:	blocksshd
# Date created:		2006-07-20
# Whom:			Gea-Suan Lin <gslin@@gslin.org>
#
# $FreeBSD: ports/security/blocksshd/Makefile,v 1.14 2012/02/08 08:50:01 jadawin Exp $
#

PORTNAME=	blocksshd
PORTVERSION=	1.3
CATEGORIES=	security sysutils
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/BlockSSHD%20${PORTVERSION}

MAINTAINER=	jadawin@@FreeBSD.org
COMMENT=	Protects computers from SSH brute force attacks

RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/DNS/Resolver.pm:${PORTSDIR}/dns/p5-Net-DNS \
		${SITE_PERL}/File/Tail.pm:${PORTSDIR}/devel/p5-File-Tail \
		${SITE_PERL}/Net/Subnets.pm:${PORTSDIR}/net/p5-Net-Subnets

MAKE_ARGS=	PREFIX="${PREFIX}" SYSCONFDIR="${PREFIX}/etc"
NO_BUILD=	yes
USE_PERL5_RUN=	yes
USE_RC_SUBR=	blocksshd
USE_DOS2UNIX=	blocksshd blocksshd.conf

DEPRECATED=	security/sshguard is more active and a better tool.

MAN1=		blocksshd.1
MANCOMPRESSED=	yes

post-extract:
	@@${CHMOD} 755 ${WRKSRC}/init

post-patch:
	@@${REINPLACE_CMD} -e 's|/etc/blocksshd.conf|${PREFIX}/etc/blocksshd.conf|g' ${WRKSRC}/blocksshd

post-install:
	@@if [ ! -f ${PREFIX}/etc/blocksshd.conf ]; then \
		${CP} ${PREFIX}/etc/blocksshd.conf.sample ${PREFIX}/etc/blocksshd.conf; \
	fi

.include <bsd.port.mk>
@


1.14
log
@- Mark as deprecated
- net/p5-Net-Subnets is no more in CPAN and security/sshguard is really a better tool
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d26 2
@


1.12
log
@- Update to 1.3
@
text
@d11 1
a11 1
MASTER_SITES=	SF
@


1.11
log
@- Update maintainer address

Approved by:	thierry (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.1
@


1.10
log
@- Update mastersite.
- Pass maintainership to submitter.

PR:		ports/118776
Submitted by:	Philippe Audeoud <jadawin@@tuxaco.net>
@
text
@d13 1
a13 1
MAINTAINER=	jadawin@@tuxaco.net
@


1.9
log
@- Update to 1.1

PR:		ports/113746
Submitted by:	Nils Vogels <nivo+kw+ports.bfa274@@is-root.com>
@
text
@d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	blocksshd
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
@


1.8
log
@- Do not remove user modified config file on deinstall

Reported on:	ports@@
@
text
@d9 1
a9 2
PORTVERSION=	1.0.1
PORTREVISION=	2
d28 1
a33 1
	@@${REINPLACE_CMD} -e 's|^MANCOMPRESS = .gz||g' ${WRKSRC}/Makefile
@


1.7
log
@- add RC support
- use USE_DOS2UNIX

PR:		ports/110842
Submitted by:	Brad Huntting <huntting_AT_glarp dot com>
Reviewed by:	clsung
@
text
@d10 1
a10 1
PORTREVISION=	1
d37 5
@


1.6
log
@Update to 1.0.1
@
text
@d10 1
d25 2
d30 3
a33 1
	@@${CHMOD} 755 ${WRKSRC}/init
@


1.5
log
@- fix the bug =>
  The port security/blocksshd has the location of the config file hard-coded
  into it as "/etc/blocksshd.conf", while the port places the config file
  into "/usr/local/etc/blocksshd.conf"
- bump PORTREVISION

PR:		ports/106629
Submitted by:	Rob B<rbyrnes_AT_mailshack dot com>
@
text
@d9 1
a9 2
PORTVERSION=	1.0
PORTREVISION=	2
@


1.4
log
@- Update dependencies:
  ! Remove Proc::Daemon & Proc::PID::File
  ! Add Net::Subnets
- Respect PREFIX for default configuration file.
- Change back TARGETDIR to PREFIX.
- Bump PORTREVISION.

PR:		ports/105953
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
@
text
@d10 1
a10 1
PORTREVISION=	1
d31 1
@


1.3
log
@- Update to 1.0
@
text
@d10 1
d20 1
a20 2
		${SITE_PERL}/Proc/Daemon.pm:${PORTSDIR}/devel/p5-Proc-Daemon \
		${SITE_PERL}/Proc/PID/File.pm:${PORTSDIR}/devel/p5-Proc-PID-File
d22 1
a22 1
MAKE_ARGS=	PREFIX="${TARGETDIR}" SYSCONFDIR="${TARGETDIR}/etc"
@


1.2
log
@- Update to 0.9
- Reset maintainership to ports@@FreeBSD.org

PR:		ports/104334
Submitted by:	Gea-Suan Lin <gslin@@gslin.org>
@
text
@d9 1
a9 1
PORTVERSION=	0.9
d22 1
a22 1
MAKE_ARGS=	PREFIX="${TARGETDIR}"
a31 3
post-install:
	${INSTALL_DATA} ${WRKSRC}/blocksshd.conf ${TARGETDIR}/etc

@


1.1
log
@Add blocksshd 0.8, protects computers from SSH brute force attacks.

PR:		ports/102367
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
@
text
@d9 1
a9 1
PORTVERSION=	0.8
d14 1
a14 1
MAINTAINER=	gslin@@gslin.org
d30 1
@

