pkgsrc/mail/courier-auth/patches/patch-ag
jlam 91ab272988 Update mail/courier-auth to 0.37.1nb1. Changes from version 0.37.1 include:
*	Fix the script for changing passwords with a Courier authentication
	module (used by sqwebmail) to recognize some more warnings/errors
	by the NetBSD passwd program.
      *	Note that tcl-expect is needed to make the password-changing script
	work.
      *	Add this package to the "security" category.
2002-01-24 16:02:49 +00:00

13 lines
390 B
Text

$NetBSD: patch-ag,v 1.1 2002/01/24 16:02:49 jlam Exp $
--- authlib/authsystem.passwd.in.orig Sat Jun 16 18:16:25 2001
+++ authlib/authsystem.passwd.in
@@ -54,6 +54,8 @@
-re "dictionary" { exit 1 }
-re "common" { exit 1 }
-re "short" { exit 1 }
+ -re "longer" { exit 1 }
+ -re "lower case" { exit 1 }
-re "word:" { sleep 2; send "$newpass\n" }
eof { exit 1 }
timeout { exit 1 }