diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-30 02:28:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-30 02:28:34 +0000 |
commit | faa23f566b209eb4e4fa7e98781b6ebacccc9b30 (patch) | |
tree | e058ead916fcbced46ace423db841aa43011ef27 /sys-apps/miscfiles | |
parent | Regenerate the cracklib dictionary in pkg_postinst from all dict files #11469... (diff) | |
download | gentoo-2-faa23f566b209eb4e4fa7e98781b6ebacccc9b30.tar.gz gentoo-2-faa23f566b209eb4e4fa7e98781b6ebacccc9b30.tar.bz2 gentoo-2-faa23f566b209eb4e4fa7e98781b6ebacccc9b30.zip |
Regenerate the cracklib dictionary in pkg_postinst from all dict files #114690 by Philippe Troin.
(Portage version: 2.1.2_rc4-r2)
Diffstat (limited to 'sys-apps/miscfiles')
-rw-r--r-- | sys-apps/miscfiles/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/miscfiles/miscfiles-1.4.2.ebuild | 10 |
2 files changed, 15 insertions, 3 deletions
diff --git a/sys-apps/miscfiles/ChangeLog b/sys-apps/miscfiles/ChangeLog index f435fdcbc040..3f985a3ad904 100644 --- a/sys-apps/miscfiles/ChangeLog +++ b/sys-apps/miscfiles/ChangeLog @@ -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 diff --git a/sys-apps/miscfiles/miscfiles-1.4.2.ebuild b/sys-apps/miscfiles/miscfiles-1.4.2.ebuild index 32250b32de60..1e9124dba5d4 100644 --- a/sys-apps/miscfiles/miscfiles-1.4.2.ebuild +++ b/sys-apps/miscfiles/miscfiles-1.4.2.ebuild @@ -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 +} |