summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2007-08-18 15:10:38 +0000
committertaca <taca>2007-08-18 15:10:38 +0000
commit08a2eb3d1119faa372cfbd874221e318a7cd4571 (patch)
tree64cbf41cc128814abc48e1e24efee291423d953c
parentebd3413f0a6b7543bf007ddcf5db5c36c1ced2d0 (diff)
downloadpkgsrc-08a2eb3d1119faa372cfbd874221e318a7cd4571.tar.gz
Add a patch for http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-4323.
Bump PKGREVISION.
-rw-r--r--security/py-denyhosts/Makefile3
-rw-r--r--security/py-denyhosts/distinfo3
-rw-r--r--security/py-denyhosts/patches/patch-af15
3 files changed, 19 insertions, 2 deletions
diff --git a/security/py-denyhosts/Makefile b/security/py-denyhosts/Makefile
index b7bca62332b..b568c57ab58 100644
--- a/security/py-denyhosts/Makefile
+++ b/security/py-denyhosts/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/08/02 17:27:30 he Exp $
+# $NetBSD: Makefile,v 1.2 2007/08/18 15:10:38 taca Exp $
#
VER= 2.6
DISTNAME= DenyHosts-${VER}
PKGNAME= ${PYPKGPREFIX}-denyhosts-${VER}
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=denyhosts/}
diff --git a/security/py-denyhosts/distinfo b/security/py-denyhosts/distinfo
index 79064c0806d..6ba19ff3cca 100644
--- a/security/py-denyhosts/distinfo
+++ b/security/py-denyhosts/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/08/02 17:27:30 he Exp $
+$NetBSD: distinfo,v 1.2 2007/08/18 15:10:39 taca Exp $
SHA1 (DenyHosts-2.6.tar.gz) = 02143843cb7c37c986c222b7acc11f7b75eb7373
RMD160 (DenyHosts-2.6.tar.gz) = cab4206af992f5405ed1c9b302341c7b5649c71a
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = 3bb578421dc776cd42e769978d09872bc79098e8
SHA1 (patch-ac) = 1b67c4da46c3205a3045a114863771290a74ba43
SHA1 (patch-ad) = 744c65a2f4bec4c5553ba6c15f9ff0b45932e6fb
SHA1 (patch-ae) = 16f53356508632a8e9f7e905e399614011f7b038
+SHA1 (patch-af) = 536d14cf67cad8dc3767a5a7b3ea2e2278c7392a
diff --git a/security/py-denyhosts/patches/patch-af b/security/py-denyhosts/patches/patch-af
new file mode 100644
index 00000000000..d8f2280b621
--- /dev/null
+++ b/security/py-denyhosts/patches/patch-af
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1 2007/08/18 15:10:39 taca Exp $
+
+Fix for http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-4323
+
+--- DenyHosts/regex.py.orig 2006-12-08 04:47:04.000000000 +0900
++++ DenyHosts/regex.py
+@@ -17,7 +17,7 @@ FAILED_ENTRY_REGEX3 = re.compile(r"""Aut
+
+ FAILED_ENTRY_REGEX4 = re.compile(r"""Authentication failure for (?P<user>.*) .*from (?P<host>.*)""")
+
+-FAILED_ENTRY_REGEX5 = re.compile(r"""User (?P<user>.*) .*from (?P<host>.*) not allowed because none of user's groups are listed in AllowGroups""")
++FAILED_ENTRY_REGEX5 = re.compile(r"""User (?P<user>.*) .*from (?P<host>.*) not allowed because none of user's groups are listed in AllowGroups$""")
+
+ FAILED_ENTRY_REGEX6 = re.compile(r"""Did not receive identification string .*from (::ffff:)?(?P<host>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})""")
+