File DenyHosts-2.6-permit_rootlogin_no.patch of Package denyhosts
Index: DenyHosts-2.6/DenyHosts/regex.py
===================================================================
--- DenyHosts-2.6.orig/DenyHosts/regex.py
+++ DenyHosts-2.6/DenyHosts/regex.py
@@ -21,7 +21,7 @@ FAILED_ENTRY_REGEX5 = re.compile(r"""Use
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})""")
-FAILED_ENTRY_REGEX7 = re.compile(r"""User (?P<user>.*) not allowed because not listed in AllowUsers""")
+FAILED_ENTRY_REGEX7 = re.compile(r"""User (?P<user>.*) .*not allowed because not listed in AllowUsers$""")
# these are reserved for future versions