pkgsrc/security/py-denyhosts/Makefile
joerg a77e7015fe Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2008-04-25 20:39:06 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2008/04/25 20:39:11 joerg Exp $
#
VER= 2.6
DISTNAME= DenyHosts-${VER}
PKGNAME= ${PYPKGPREFIX}-denyhosts-${VER}
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=denyhosts/}
MAINTAINER= he@NetBSD.org
HOMEPAGE= http://denyhosts.sourceforge.net/
COMMENT= Watch auth log for invalid ssh login attempts and block hosts
PKG_DESTDIR_SUPPORT= user-destdir
PYDISTUTILSPKG= yes
CONF_FILES+= ${PREFIX}/share/denyhosts/denyhosts.cfg-dist \
${PREFIX}/etc/denyhosts.conf
FILES_SUBST+= PYTHONBIN=${PYTHONBIN:Q}
SUBST_CLASSES+= cf
SUBST_STAGE.cf= post-configure
SUBST_VARS.cf= VARBASE PREFIX VARBASE PKG_SYSCONFDIR PYTHONBIN
SUBST_FILES.cf= setup.py denyhosts.cfg-dist daemon-control-dist
REPLACE_PYTHON= plugins/test_deny.py
REPLACE_PYTHON+= scripts/restricted_from_invalid.py
REPLACE_PYTHON+= scripts/restricted_from_passwd.py
RCD_SCRIPTS+= denyhosts
post-configure:
${RM} ${WRKDIR}/${DISTNAME}/scripts/*.orig
.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"