From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 17 18:38:43 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87629106566B for ; Thu, 17 Dec 2009 18:38:43 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id 496AF8FC19 for ; Thu, 17 Dec 2009 18:38:43 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id B04E0398B3; Thu, 17 Dec 2009 19:19:56 +0100 (CET) Date: Thu, 17 Dec 2009 19:19:56 +0100 From: Lars Engels To: freebsd-hackers@freebsd.org Message-ID: <20091217181956.GA38107@e.0x20.net> References: <86zl5iufkd.fsf@bifteki.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <86zl5iufkd.fsf@bifteki.lan> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.20 (2009-06-14) X-Mailman-Approved-At: Thu, 17 Dec 2009 18:58:50 +0000 Subject: Re: pam_passwdqc update to latest vendor release X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 18:38:43 -0000 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 17, 2009 at 11:15:30AM +0200, Leonidas Tsampros wrote: > Hello, >=20 > I read a mail on this list 3 or 4 weeks saying/stating that pam_passwdqc > was out of date. To update the module I used the vendor release 1.0.5 > which can be found here >=20 > http://www.openwall.com/pam/modules/pam_passwdqc/pam_passwdqc-1.0.5.tar.gz >=20 > The patch is available here: >=20 > http://bifteki.podzone.org/~ltsampros/pam_passwdc.diff >=20 > And a summary of the patch: >=20 > M contrib/pam_modules/pam_passwdqc/INTERNALS > M contrib/pam_modules/pam_passwdqc/LICENSE > M contrib/pam_modules/pam_passwdqc/Makefile > M contrib/pam_modules/pam_passwdqc/PLATFORMS > M contrib/pam_modules/pam_passwdqc/README > M contrib/pam_modules/pam_passwdqc/pam_macros.h > M contrib/pam_modules/pam_passwdqc/pam_passwdqc.c > A contrib/pam_modules/pam_passwdqc/pam_passwdqc.map > M contrib/pam_modules/pam_passwdqc/pam_passwdqc.spec > M contrib/pam_modules/pam_passwdqc/passwdqc.h > M contrib/pam_modules/pam_passwdqc/passwdqc_check.c > M contrib/pam_modules/pam_passwdqc/passwdqc_random.c > M lib/libpam/modules/pam_passwdqc/pam_passwdqc.8 >=20 > I built the updated module on my system. I did some testing with the > default options in /etc/pam.d/passwd and it seems to work okey. >=20 > Feedback is welcome. Thanks for updating pam_passwdqc. I couldn't find the time to update it myself. It works for me, though the patch doesn't apply cleanly: Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/lib/libpam/modules/pam_passwdqc/pam_passwdqc.8 b/lib/libpam/m= odules/pam_passwdqc/pam_passwdqc.8 |index 408f77d..8247652 100644 |--- a/lib/libpam/modules/pam_passwdqc/pam_passwdqc.8 |+++ b/lib/libpam/modules/pam_passwdqc/pam_passwdqc.8 -------------------------- Patching file lib/libpam/modules/pam_passwdqc/pam_passwdqc.8 using Plan A... Hunk #1 succeeded at 1. Hunk #2 failed at 32. Hunk #3 succeeded at 53. Hunk #4 succeeded at 67. Hunk #5 succeeded at 80. Hunk #6 succeeded at 98. Hunk #7 succeeded at 128. Hunk #8 succeeded at 144. Hunk #9 succeeded at 173. Hunk #10 succeeded at 191. Hunk #11 succeeded at 233. Hunk #12 succeeded at 257. 1 out of 12 hunks failed--saving rejects to lib/libpam/modules/pam_passwdqc= /pam_passwdqc.8.rej done Could someone commit this, please? Lars --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAksqdkwACgkQKc512sD3afiXjQCgifv47Amz0mDgoSX2b3Q9Wm3k 0okAn0PNFbdqWnQSMf28DxstytMyW6JM =RinA -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--