Regenerate the cracklib dictionary in pkg_postinst from all dict files #114690 by...
authorMike Frysinger <vapier@gentoo.org>
Sat, 30 Dec 2006 02:28:34 +0000 (02:28 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 30 Dec 2006 02:28:34 +0000 (02:28 +0000)
Package-Manager: portage-2.1.2_rc4-r2

sys-apps/cracklib-words/ChangeLog
sys-apps/cracklib-words/cracklib-words-1.1.ebuild
sys-apps/cracklib-words/files/digest-cracklib-words-1.1
sys-apps/miscfiles/ChangeLog
sys-apps/miscfiles/miscfiles-1.4.2.ebuild

index fcb3d2a1c24659aeec08948403846b2761031cfd..55e67f86d81d5913c6b5c632fa8ecebb962e07d2 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for sys-apps/cracklib-words
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cracklib-words/ChangeLog,v 1.1 2005/02/12 20:21:06 vapier Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cracklib-words/ChangeLog,v 1.2 2006/12/30 02:27:53 vapier Exp $
+
+  30 Dec 2006; Mike Frysinger <vapier@gentoo.org> cracklib-words-1.1.ebuild:
+  Regenerate the cracklib dictionary in pkg_postinst from all dict files
+  #114690 by Philippe Troin.
 
 *cracklib-words-1.1 (12 Feb 2004)
 
index b0563b94c3d00c91fc5fa3780051153d5aafb383..2358229e4c48cf4236d5ed4490d52cb0b4e3c1d2 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cracklib-words/cracklib-words-1.1.ebuild,v 1.2 2005/05/24 01:07:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cracklib-words/cracklib-words-1.1.ebuild,v 1.3 2006/12/30 02:27:53 vapier Exp $
 
 DESCRIPTION="large set of crack/cracklib dictionaries"
 HOMEPAGE="http://sourceforge.net/projects/cracklib"
@@ -19,3 +19,11 @@ src_install() {
        insinto /usr/share/dict
        doins cracklib-words || die
 }
+
+pkg_postinst() {
+       if [[ ${ROOT} == "/" ]] ; then
+               ebegin "Regenerating cracklib dictionary"
+               create-cracklib-dict /usr/share/dict/* > /dev/null
+               eend $?
+       fi
+}
index 2332679056cd0ff406e3c61449aa548f4bd9357b..4a11c09ac9bcadb343d3c7319d841e5602386143 100644 (file)
@@ -1 +1,3 @@
 MD5 575a44add4db95b43c7abb46b307950f cracklib-words.gz 4559371
+RMD160 ff94566ba5b5068064c0ed094480adec91e4ad24 cracklib-words.gz 4559371
+SHA256 59b684a93ba98fa1aae1006762b25d06c2e0e51d84f61ceff6dc1fbc0b6dc374 cracklib-words.gz 4559371
index f435fdcbc040c53187f5c485db9be1692b80be61..3f985a3ad90430b213f52faaaea10ffc1236e31d 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for sys-apps/miscfiles
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/ChangeLog,v 1.21 2005/05/30 02:41:49 solar Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/ChangeLog,v 1.22 2006/12/30 02:28:34 vapier Exp $
+
+  30 Dec 2006; Mike Frysinger <vapier@gentoo.org> miscfiles-1.4.2.ebuild:
+  Regenerate the cracklib dictionary in pkg_postinst from all dict files
+  #114690 by Philippe Troin.
 
   29 May 2005; <solar@gentoo.org> miscfiles-1.3-r1.ebuild:
   - update sys-apps/miscfiles to use libc expanded variable elibc_uclibc vs
index 32250b32de604d652541b4cdfcecad74d01d0dba..1e9124dba5d4b7664659f6f4166fc3a82470d8dc 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/miscfiles-1.4.2.ebuild,v 1.3 2006/12/30 02:12:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/miscfiles-1.4.2.ebuild,v 1.4 2006/12/30 02:28:34 vapier Exp $
 
 inherit eutils
 
@@ -39,3 +39,11 @@ src_install() {
                rm -r misc rfc
        fi
 }
+
+pkg_postinst() {
+       if [[ ${ROOT} == "/" ]] ; then
+               ebegin "Regenerating cracklib dictionary"
+               create-cracklib-dict /usr/share/dict/* > /dev/null
+               eend $?
+       fi
+}