head	1.16;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.14
	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.12
	RELEASE_7_2_0:1.11
	RELEASE_7_1_0:1.10
	RELEASE_6_4_0:1.10
	RELEASE_5_EOL:1.10
	RELEASE_7_0_0:1.10
	RELEASE_6_3_0:1.10
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.5
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1;
locks; strict;
comment	@# @;


1.16
date	2013.01.09.20.05.07;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.11.17.06.01.03;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2011.07.15.18.38.34;	author beech;	state Exp;
branches;
next	1.13;

1.13
date	2010.02.01.17.43.22;	author pgollucci;	state Exp;
branches;
next	1.12;

1.12
date	2009.08.22.00.34.51;	author amdmi3;	state Exp;
branches;
next	1.11;

1.11
date	2008.11.27.02.46.41;	author wxs;	state Exp;
branches;
next	1.10;

1.10
date	2007.07.30.09.41.54;	author alexbl;	state Exp;
branches;
next	1.9;

1.9
date	2007.06.29.12.11.11;	author miwi;	state Exp;
branches;
next	1.8;

1.8
date	2007.06.23.06.35.16;	author rafan;	state Exp;
branches;
next	1.7;

1.7
date	2006.12.30.17.20.46;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2006.11.23.06.43.34;	author clsung;	state Exp;
branches;
next	1.5;

1.5
date	2006.06.30.17.13.22;	author garga;	state Exp;
branches;
next	1.4;

1.4
date	2006.05.19.23.47.44;	author mnag;	state Exp;
branches;
next	1.3;

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

1.2
date	2006.03.31.03.43.04;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2005.11.11.06.45.58;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.16
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310162
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310162 | tabthorpe | 2013-01-09 19:50:06 +0000 (Wed, 09 Jan 2013) | 4 lines
## SVN ##
## SVN ## - Change MAINTAINER address
## SVN ## - Trim headers while I am here
## SVN ## - Clean up some trailing whitespace
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Janos Mohacsi <janos.mohacsi@@bsd.hu>
# $FreeBSD: head/security/denyhosts/Makefile 310162 2013-01-09 19:50:06Z tabthorpe $

PORTNAME=	denyhosts
PORTVERSION=	2.6
PORTREVISION=	4
CATEGORIES=	security
MASTER_SITES=	SF
DISTNAME=	DenyHosts-${PORTVERSION}

MAINTAINER=	jmohacsi@@bsd.hu
COMMENT=	Script to thwart ssh attacks

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
PYDISTUTILS_PKGNAME=	DenyHosts

USE_RC_SUBR=	denyhosts
SUB_LIST+=	PYTHON=${PYTHON_CMD}
SUB_FILES=	pkg-message

PORTDOCS=	CHANGELOG.txt LICENSE.txt README.txt

post-patch:
	@@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
		${WRKSRC}/daemon-control-dist \
		${WRKSRC}/denyhosts.cfg-dist \
		${WRKSRC}/setup.py
	@@${RM} ${WRKSRC}/scripts/restricted_from_passwd.py.orig

post-install:
	${INSTALL_DATA} ${WRKSRC}/denyhosts.cfg-dist ${PREFIX}/etc/denyhosts.conf-dist
	[ -f ${PREFIX}/etc/denyhosts.conf ] || \
		${INSTALL_DATA} ${WRKSRC}/denyhosts.cfg-dist ${PREFIX}/etc/denyhosts.conf
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.15
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:    denyhosts
# Date created:         		04 November 2005
# Whom:                 		Janos Mohacsi <janos.mohacsi@@bsd.hu>
#
# $FreeBSD: head/security/denyhosts/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d11 1
a11 1
MAINTAINER=	janos.mohacsi@@bsd.hu
@


1.14
log
@- Add support for new PAM based log formats in the config file
- Bump portrevision

PR:		ports/158913
Submitted by:	Janos Mohacsi <janos.mohacsi@@bsd.hu> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@- Fix command_interpreter in the rc.d script

PR:             ports/143053
Submitted by:   Frank Wall <fw@@moov.de>
Tweaked by:     Janos Mohacsi <mohacsi@@niif.hu> (maintainer)
Corrected by:   pgollucci (myself)
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.12
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d10 1
a10 1
PORTREVISION=	2
d23 1
@


1.11
log
@- Add a patch to correct the location of nologin.
- Bump PORTREVISION.

PR:		ports/129186
Submitted by:	Till Klampaeckel <till@@php.net>
Approved by:	maintainer
@
text
@d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.10
log
@ - Make Python 2.5.1 the default Python version
 - Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
@
text
@d10 1
a10 1
PORTREVISION=	1
d33 1
@


1.9
log
@- Update message file to display rc.conf
- Use SUB_FILES

PR:		113944
Submitted by:	Janos Mohacsi <janos.mohacsi@@bsd.hu> (maintainer)
@
text
@d21 1
@


1.8
log
@- Fix a DoS issue

PR:		ports/113942
Security:	http://www.ossec.net/en/attacking-loganalysis.html#denyhosts
Submitted by:	David Bestor <freebsd1 at indenial.com>
Approved by:	Janos Mohacsi <mohacsi at niif.hu> (maintainer)
@
text
@d23 1
@


1.7
log
@- Update to 2.6

PR:		ports/107326
Submitted by:	Janos Mohacsi <janos.mohacsi@@bsd.hu> (maintainer)
@
text
@d10 1
@


1.6
log
@- Move patch from pre-configure to post-patch.
- Use denyhost.conf (FreeBSD's default config file) instead of denyhost.cfg.
- Bump PORTREVISION.

PR:		ports/105305
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
Approved by:	maintainer (Mohacsi Janos)
@
text
@d9 1
a9 2
PORTVERSION=	2.5
PORTREVISION=	1
@


1.5
log
@- Update to 2.5
  * ADMIN_EMAIL pref can now contain multiple email addresses delimited by a
    comma (white space is optional). eg. foo@@bar.com, bar@@foo.com,
    foobar@@foo.com
  * fixed bug in denyfileutil: 'timestamp' is now initialized properly
  * daemon-control-dist: modified to work w/ non-default python versions.  You
    must change the PYTHON_BIN and #!/bin/env/python references if appropriate.
  * added a debug message when loading allowed-hosts fails.
  * fixed bug when reporting suspicious login activity.

PR:		ports/99636
Submitted by:	maintainer
@
text
@d10 1
d26 1
a26 1
pre-configure:
d33 3
a35 3
	${INSTALL_DATA} ${WRKSRC}/denyhosts.cfg-dist ${PREFIX}/etc
	[ -f ${PREFIX}/etc/denyhosts.cfg ] || \
		${INSTALL_DATA} ${WRKSRC}/denyhosts.cfg-dist ${PREFIX}/etc/denyhosts.cfg
@


1.4
log
@- Update to 2.4b
- Add new rc.d script

PR:		96824
Submitted by:	Rui Lopes <rgl___ruilopes.com>
Approved by:	maintainer timeout (14 days)
@
text
@d9 1
a9 1
DISTVERSION=	2.4b
d13 1
a13 1
DISTNAME=	DenyHosts-${DISTVERSION}
d23 1
a23 1
DOC_FILES=	CHANGELOG.txt LICENSE.txt README.txt
d32 4
a35 1
.ifndef(NOPORTDOCS)
d37 3
a39 3
.for file in ${DOC_FILES}
	@@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
@


1.3
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d9 1
a9 1
PORTVERSION=	2.2
d13 1
a13 1
DISTNAME=	DenyHosts-${PORTVERSION}
d21 2
d26 1
a26 1
	${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
d38 1
a38 1
	 @@${CAT} ${PKGMESSAGE}
@


1.2
log
@upgrade to 2.2

PR:		95044
Submitted by:	maintainer
@
text
@a17 1
USE_REINPLACE=	yes
@


1.1
log
@Add denyhosts 1.1.2, script to thwart ssh attacks.

PR:		ports/88781
Submitted by:	Janos Mohacsi <janos.mohacsi.at.bsd.hu>
@
text
@d9 1
a9 1
PORTVERSION=	1.1.2
d37 1
@

