diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-01-21 01:23:24 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-01-21 01:23:24 +0000 |
commit | 5e6e4a28eff4073fee1042634f1044163f7feb63 (patch) | |
tree | 47da92dd8917b068e97ac5d52a5d778a2923cede /sys-apps/file | |
parent | version bump (diff) | |
download | gentoo-2-5e6e4a28eff4073fee1042634f1044163f7feb63.tar.gz gentoo-2-5e6e4a28eff4073fee1042634f1044163f7feb63.tar.bz2 gentoo-2-5e6e4a28eff4073fee1042634f1044163f7feb63.zip |
version bump
Diffstat (limited to 'sys-apps/file')
-rw-r--r-- | sys-apps/file/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/file/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/file/file-4.07.ebuild | 57 | ||||
-rw-r--r-- | sys-apps/file/files/digest-file-4.07 | 1 |
4 files changed, 67 insertions, 4 deletions
diff --git a/sys-apps/file/ChangeLog b/sys-apps/file/ChangeLog index 2478b06dfcd2..3f9748c15070 100644 --- a/sys-apps/file/ChangeLog +++ b/sys-apps/file/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/file -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.29 2003/12/29 03:37:10 kumba Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.30 2004/01/21 01:23:17 mr_bones_ Exp $ + +*file-4.07 (20 Jan 2004) + + 20 Jan 2004; Michael Sterrett <mr_bones_@gentoo.org> file-4.07.ebuild: + version bump 28 Dec 2003; Joshua Kinard <kumba@gentoo.org> file-4.06.ebuild: Move to mips stable (~mips -> mips) diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest index b3292961e883..04d7ad4b6ba6 100644 --- a/sys-apps/file/Manifest +++ b/sys-apps/file/Manifest @@ -1,5 +1,5 @@ -MD5 2311ee3c293ad60273769cd6e41c40d4 ChangeLog 4706 -MD5 572065a54b1ddd9e2721c38e4ab3aec5 file-4.07.ebuild 1569 +MD5 c1041de0123dc0d871d1b63559c7ec8c ChangeLog 4825 +MD5 dac8415af3f03805cfb5928873eee5b5 file-4.07.ebuild 1573 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 MD5 864d9d78ae48573d790cc598fcc4bc40 file-3.41.ebuild 1025 MD5 d016cfb89bfb6eec8ff142eea3a2306d file-4.02.ebuild 1027 diff --git a/sys-apps/file/file-4.07.ebuild b/sys-apps/file/file-4.07.ebuild new file mode 100644 index 000000000000..b89bb75b182d --- /dev/null +++ b/sys-apps/file/file-4.07.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-4.07.ebuild,v 1.1 2004/01/21 01:23:17 mr_bones_ Exp $ + +inherit flag-o-matic gnuconfig + +DESCRIPTION="Program to identify a file's format by scanning binary data for patterns" +SRC_URI="ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz + ftp://ftp.astron.com/pub/file/${P}.tar.gz" +HOMEPAGE="ftp://ftp.astron.com/pub/file/" + +KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~arm ~alpha hppa mips ia64 ppc64" +SLOT="0" +LICENSE="as-is" +IUSE="" + +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} + + # (12 Oct 2003) <kumba@gentoo.org> + # This patch is for MIPS only. It slightly changes the 'file' output + # on MIPS machines to a specific format so that other programs can + # recognize things. + if [ "${ARCH}" = "mips" ]; then + epatch ${FILESDIR}/${PN}-4.xx-mips-gentoo.diff + fi +} + +src_compile() { + + # If running mips64, we need updated configure data + use mips && gnuconfig_update + + # file command segfaults on hppa - reported by gustavo@zacarias.com.ar + [ ${ARCH} = "hppa" ] && filter-flags "-mschedule=8000" + + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --datadir=/usr/share/misc \ + --host=${CHOST} || die + + # Buggy Makefiles. This fixes bug 31356 + emake -j1 || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + + if [ -z "`use build`" ] ; then + dodoc ChangeLog LEGAL.NOTICE MAINT README || die "dodoc failed" + else + rm -rf ${D}/usr/share/man + fi +} diff --git a/sys-apps/file/files/digest-file-4.07 b/sys-apps/file/files/digest-file-4.07 new file mode 100644 index 000000000000..1b7bd6525c18 --- /dev/null +++ b/sys-apps/file/files/digest-file-4.07 @@ -0,0 +1 @@ +MD5 ecfbf092c2c19119d9386e668f890954 file-4.07.tar.gz 355647 |