diff options
author | 2005-02-07 22:03:36 +0000 | |
---|---|---|
committer | 2005-02-07 22:03:36 +0000 | |
commit | 997323fb7cf534b047237a6f6979756911faf870 (patch) | |
tree | 2ef026bd299659e351cd37e492ed04f33e540eaf /sys-apps | |
parent | old (diff) | |
download | gentoo-2-997323fb7cf534b047237a6f6979756911faf870.tar.gz gentoo-2-997323fb7cf534b047237a6f6979756911faf870.tar.bz2 gentoo-2-997323fb7cf534b047237a6f6979756911faf870.zip |
add cracklib info to magic
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/file/file-4.12.ebuild | 8 | ||||
-rw-r--r-- | sys-apps/file/files/cracklib.magic | 10 |
2 files changed, 14 insertions, 4 deletions
diff --git a/sys-apps/file/file-4.12.ebuild b/sys-apps/file/file-4.12.ebuild index ef037782ca90..6069c0c53035 100644 --- a/sys-apps/file/file-4.12.ebuild +++ b/sys-apps/file/file-4.12.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-4.12.ebuild,v 1.11 2004/12/13 23:51:26 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-4.12.ebuild,v 1.12 2005/02/07 22:03:35 vapier Exp $ inherit flag-o-matic gnuconfig eutils distutils libtool toolchain-funcs @@ -31,9 +31,9 @@ src_unpack() { # thing if file was cross compiled ;) tc-is-cross-compiler && epatch ${FILESDIR}/${P}-cross-compile.patch - # GNU updates + # misc updates + cat "${FILESDIR}"/*.magic >> magic/magic.mime uclibctoolize - gnuconfig_update # make sure python links against the current libmagic #54401 sed -i "/library_dirs/s:'\.\./src':'../src/.libs':" python/setup.py @@ -44,7 +44,7 @@ src_unpack() { src_compile() { # file command segfaults on hppa - reported by gustavo@zacarias.com.ar - [ ${ARCH} = "hppa" ] && filter-flags "-mschedule=8000" + [[ ${ARCH} == hppa ]] && filter-flags "-mschedule=8000" econf --datadir=/usr/share/misc || die diff --git a/sys-apps/file/files/cracklib.magic b/sys-apps/file/files/cracklib.magic new file mode 100644 index 000000000000..3bad2983fde7 --- /dev/null +++ b/sys-apps/file/files/cracklib.magic @@ -0,0 +1,10 @@ +# cracklib: file (1) magic for cracklib v2.7 +0 lelong 0x70775631 Cracklib password index, little endian +>4 long >0 (%i words) +>4 long 0 ("64-bit") +>>8 long >-1 (%i words) +0 belong 0x70775631 Cracklib password index, big endian +>4 belong >-1 (%i words) +0 long 0 +>4 belong 0x70775631 Cracklib password index, big endian ("64-bit") +>12 belong >0 (%i words) |