version bump. See file-4.12/ChangeLog for more details
authorNed Ludd <solar@gentoo.org>
Fri, 26 Nov 2004 00:24:08 +0000 (00:24 +0000)
committerNed Ludd <solar@gentoo.org>
Fri, 26 Nov 2004 00:24:08 +0000 (00:24 +0000)
sys-apps/file/ChangeLog
sys-apps/file/Manifest
sys-apps/file/file-4.12.ebuild [new file with mode: 0644]
sys-apps/file/files/digest-file-4.12 [new file with mode: 0644]

index 653af080fb4790f690ab6e807f6cde891db0b6b4..04f322c1d9a82193b7e7fd8925c9da987d654024 100644 (file)
@@ -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.
index ca197a28ec61461668f8703c3fb29082bc59b142..b71a60dfff711e7b532ec7fd07118e6eea13c078 100644 (file)
@@ -1,22 +1,24 @@
 -----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 e13571ef0ab0f410202a81cfd8b8204e ChangeLog 9198
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 7038e6e8afa11a0d4e60593064fdd481 file-4.12.ebuild 1868
 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
+MD5 d336b3490362624aec2e30679c44a198 files/digest-file-4.12 61
+MD5 8f6cec8c0754678a2817139182637eac files/file-4.xx-mips-gentoo.diff 13035
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
+Version: GnuPG v1.2.4 (GNU/Linux)
 
-iD8DBQFBl8jzugEuf3OQ0akRAkGTAJ9EbU+HBfvq84m61YIKmuRvpEPsbwCgiZwt
-m17zXcx5TfB77z4UYdxlO44=
-=6Ho0
+iD8DBQFBpnfu94CCfB4KcwwRAjKAAKCT4gX+9FpswIJqPjEWB83eWulCyQCghItN
+S7+Wu7GKpqYQTYLIf6dKF/U=
+=v6g3
 -----END PGP SIGNATURE-----
diff --git a/sys-apps/file/file-4.12.ebuild b/sys-apps/file/file-4.12.ebuild
new file mode 100644 (file)
index 0000000..bbf2601
--- /dev/null
@@ -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 (file)
index 0000000..51349f0
--- /dev/null
@@ -0,0 +1 @@
+MD5 09488a9d62bc6627b48a8c93e12d72f8 file-4.12.tar.gz 414600