summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-07 22:03:36 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-07 22:03:36 +0000
commit5d399cd62046ce479f3ea6d40f58fe30b004a2b3 (patch)
treeed0bdc05ef7b3bfa7735f2e08d39d063078cb0cc /sys-apps/file
parentold (diff)
downloadhistorical-5d399cd62046ce479f3ea6d40f58fe30b004a2b3.tar.gz
historical-5d399cd62046ce479f3ea6d40f58fe30b004a2b3.tar.bz2
historical-5d399cd62046ce479f3ea6d40f58fe30b004a2b3.zip
add cracklib info to magic
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-apps/file')
-rw-r--r--sys-apps/file/Manifest18
-rw-r--r--sys-apps/file/file-4.12.ebuild8
-rw-r--r--sys-apps/file/files/cracklib.magic10
3 files changed, 16 insertions, 20 deletions
diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 2cebc151c6b0..32f3f39abd43 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,21 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 9fb5c3d48dddf5c9b43afca89570d93e ChangeLog 10308
-MD5 5fef75779bd2c2e254149276b5b9fc64 file-4.12.ebuild 2050
+MD5 fbd714d15c6cf1e49f8784e7007a86b3 file-4.12.ebuild 2081
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 deefcaad96da75f331ac1ab9d9bc23f9 file-4.10.ebuild 1900
-MD5 7164ccd6e5dc2c32c0d7911178ea8bd0 file-4.10-r1.ebuild 1909
-MD5 8cf0ba615168e0a01ddd576d39b19efe files/digest-file-4.10 61
-MD5 d83caef7e9c2a9719022f57de134edae files/file-4.10-mconvert.patch 476
+MD5 f0f2d2181cac822f0c4d4675fb1ff38c files/cracklib.magic 360
MD5 d336b3490362624aec2e30679c44a198 files/digest-file-4.12 61
MD5 f856a50dada76a4ca5cee58fbd04e76b files/file-4.12-cross-compile.patch 964
MD5 04e04c973cb0c88d19b0028d8ed05007 files/file-4.xx-mips-gentoo.diff 4694
-MD5 8cf0ba615168e0a01ddd576d39b19efe files/digest-file-4.10-r1 61
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD4DBQFBvisZroRuSHgZdywRAk5dAJ9NpRWMPB9XLJF7O7xQ69Ut8ZARIwCYrjoU
-07VwqhYTo0I8wJWBx8xuQw==
-=RFlV
------END PGP SIGNATURE-----
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)