diff options
author | Ned Ludd <solar@gentoo.org> | 2004-11-26 00:24:08 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-11-26 00:24:08 +0000 |
commit | 1451935bf492c6750e5d36dc027b4fbe226b856c (patch) | |
tree | 956e149035c514e500d4389ca26ffccf5793447d /sys-apps/file | |
parent | version 0.39.3, make repoman happy (Manifest recommit) (diff) | |
download | gentoo-2-1451935bf492c6750e5d36dc027b4fbe226b856c.tar.gz gentoo-2-1451935bf492c6750e5d36dc027b4fbe226b856c.tar.bz2 gentoo-2-1451935bf492c6750e5d36dc027b4fbe226b856c.zip |
version bump. See file-4.12/ChangeLog for more details
Diffstat (limited to 'sys-apps/file')
-rw-r--r-- | sys-apps/file/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/file/Manifest | 22 | ||||
-rw-r--r-- | sys-apps/file/file-4.12.ebuild | 69 | ||||
-rw-r--r-- | sys-apps/file/files/digest-file-4.12 | 1 |
4 files changed, 83 insertions, 16 deletions
diff --git a/sys-apps/file/ChangeLog b/sys-apps/file/ChangeLog index 653af080fb47..04f322c1d9a8 100644 --- a/sys-apps/file/ChangeLog +++ b/sys-apps/file/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/file # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.66 2004/11/14 21:06:49 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.67 2004/11/26 00:24:08 solar Exp $ + +*file-4.12 (25 Nov 2004) + + 25 Nov 2004; <solar@gentoo.org> +file-4.12.ebuild: + version bump. See file-4.12/ChangeLog for more details 14 Nov 2004; Bryan Østergaard <kloeri@gentoo.org> file-4.10-r1.ebuild: Stable on alpha. diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest index ca197a28ec61..95f1b870d39d 100644 --- a/sys-apps/file/Manifest +++ b/sys-apps/file/Manifest @@ -1,22 +1,14 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 d995fecf78940b87145547615c136dc9 ChangeLog 9062 +MD5 7164ccd6e5dc2c32c0d7911178ea8bd0 file-4.10-r1.ebuild 1909 +MD5 e2d53ae79cd02fc5ddbad4dc8de3f656 file-4.09.ebuild 1903 MD5 deefcaad96da75f331ac1ab9d9bc23f9 file-4.10.ebuild 1900 +MD5 d995fecf78940b87145547615c136dc9 ChangeLog 9062 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 5ad8eaff54920870b389917a4bfda212 file-4.12.ebuild 1872 MD5 061925f1389fb03c0e6a2e639eaaf9da file-4.08.ebuild 1425 -MD5 7164ccd6e5dc2c32c0d7911178ea8bd0 file-4.10-r1.ebuild 1909 -MD5 e2d53ae79cd02fc5ddbad4dc8de3f656 file-4.09.ebuild 1903 MD5 8cf0ba615168e0a01ddd576d39b19efe files/digest-file-4.10-r1 61 -MD5 9ab14ea35a2db2864bb6e92d1ca87f17 files/digest-file-4.08 61 -MD5 8f6cec8c0754678a2817139182637eac files/file-4.xx-mips-gentoo.diff 13035 MD5 d83caef7e9c2a9719022f57de134edae files/file-4.10-mconvert.patch 476 +MD5 9ab14ea35a2db2864bb6e92d1ca87f17 files/digest-file-4.08 61 MD5 655e5c463709e244970b23b64aaf8bf7 files/digest-file-4.09 61 MD5 8cf0ba615168e0a01ddd576d39b19efe files/digest-file-4.10 61 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBl8jzugEuf3OQ0akRAkGTAJ9EbU+HBfvq84m61YIKmuRvpEPsbwCgiZwt -m17zXcx5TfB77z4UYdxlO44= -=6Ho0 ------END PGP SIGNATURE----- +MD5 d336b3490362624aec2e30679c44a198 files/digest-file-4.12 61 +MD5 8f6cec8c0754678a2817139182637eac files/file-4.xx-mips-gentoo.diff 13035 diff --git a/sys-apps/file/file-4.12.ebuild b/sys-apps/file/file-4.12.ebuild new file mode 100644 index 000000000000..bbf2601908ba --- /dev/null +++ b/sys-apps/file/file-4.12.ebuild @@ -0,0 +1,69 @@ +# 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.1 2004/11/26 00:24:08 solar Exp $ + +inherit flag-o-matic gnuconfig eutils distutils libtool + +DESCRIPTION="Program to identify a file's format by scanning binary data for patterns" +HOMEPAGE="ftp://ftp.astron.com/pub/file/" +SRC_URI="ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz + ftp://ftp.astron.com/pub/file/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="python build" + +DEPEND="virtual/libc + !build? ( python? ( virtual/python ) )" + +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. + use mips && epatch ${FILESDIR}/${PN}-4.xx-mips-gentoo.diff + + # GNU updates + uclibctoolize + gnuconfig_update + + # make sure python links against the current libmagic #54401 + sed -i "/library_dirs/s:'\.\./src':'../src/.libs':" python/setup.py + + # dont let python README kill main README #60043 + mv python/README{,.python} +} + +src_compile() { + # file command segfaults on hppa - reported by gustavo@zacarias.com.ar + [ ${ARCH} = "hppa" ] && filter-flags "-mschedule=8000" + + econf --datadir=/usr/share/misc || die + + emake || die "emake failed" + + use python && cd python && distutils_src_compile +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + + if ! use build ; then + dodoc ChangeLog MAINT README + use python && cd python && distutils_src_install + else + rm -rf ${D}/usr/share/man ${D}/usr/lib/*.a + fi +} + +pkg_postinst() { + use python && distutils_pkg_postinst +} + +pkg_postrm() { + use python && distutils_pkg_postrm +} diff --git a/sys-apps/file/files/digest-file-4.12 b/sys-apps/file/files/digest-file-4.12 new file mode 100644 index 000000000000..51349f05c655 --- /dev/null +++ b/sys-apps/file/files/digest-file-4.12 @@ -0,0 +1 @@ +MD5 09488a9d62bc6627b48a8c93e12d72f8 file-4.12.tar.gz 414600 |