diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-31 06:00:52 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-31 06:00:52 +0000 |
commit | 7ca10430f04bb25f1c181a1076b0e0bda221a669 (patch) | |
tree | 874d44eccc010f9a187c88254d6be588b246e051 /sys-apps | |
parent | [media-sound/amarok-2.5.0-r1] Added missing libofa dependency and configure s... (diff) | |
download | historical-7ca10430f04bb25f1c181a1076b0e0bda221a669.tar.gz historical-7ca10430f04bb25f1c181a1076b0e0bda221a669.tar.bz2 historical-7ca10430f04bb25f1c181a1076b0e0bda221a669.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha81/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/file/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/file/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/file/file-5.10.ebuild | 94 |
3 files changed, 103 insertions, 2 deletions
diff --git a/sys-apps/file/ChangeLog b/sys-apps/file/ChangeLog index 66c7ad0bbd63..a3744de5c3fd 100644 --- a/sys-apps/file/ChangeLog +++ b/sys-apps/file/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/file # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.213 2011/12/12 22:41:16 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.214 2011/12/31 06:00:52 vapier Exp $ + +*file-5.10 (31 Dec 2011) + + 31 Dec 2011; Mike Frysinger <vapier@gentoo.org> +file-5.10.ebuild: + Version bump. 12 Dec 2011; Agostino Sarubbo <ago@gentoo.org> file-5.09.ebuild: Stable for AMD64, wrt bug #393291 diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest index 656964ea6f07..97a71aee7352 100644 --- a/sys-apps/file/Manifest +++ b/sys-apps/file/Manifest @@ -5,6 +5,7 @@ DIST file-5.06.tar.gz 600720 RMD160 d9337ecc1fb836f0d7278edf376b9f86e2b37735 SHA DIST file-5.07.tar.gz 597347 RMD160 6d45c8550b8457a437f5acd5a39e6de86bfe1541 SHA1 056caa20857ecda26cae259b43f2a1eeb65ada6c SHA256 c968bfe97d87f9f564728a894d57be2c6bba9a2006763fffff85c5f72a9a3c2f DIST file-5.08.tar.gz 605337 RMD160 6935583f01ec1a877a504204b1df6d935cef2d1b SHA1 8bc5aa450d98968f7debe695dc6279fd5bf955b2 SHA256 dd2f18f5f344fe89938fcaf5959808fb98e4ff20c2e30f24f234e27946e3a555 DIST file-5.09.tar.gz 607434 RMD160 296ad61d0b533d9e3bf3e8e7443b377332e158a5 SHA1 9d905f9e50033c3f5be3728473cbb709a41550fb SHA256 bde1c9830ee6c234871778faae8277fdcf775fbb16dea63c8251e24b7c2f869c +DIST file-5.10.tar.gz 608726 RMD160 5b454981bdee9c7a7dca3852dcb98128e9135a6a SHA1 72fd435e78955ee122b7b3d323ff2f92e6263e89 SHA256 73ae51889006b1ddb95db729237d411eb8d353884dfb149f0b4427d314aff68a EBUILD file-5.05.ebuild 1402 RMD160 7b3b5daa77fdd8e601f266072aeb21f5bb378786 SHA1 b4277c4778b9fcab8143495deebe8879d2958da9 SHA256 e8a4103ca1171305c4c3f8a1db297981e136e4b12f4431872c09ea94276d59e8 EBUILD file-5.06.ebuild 1411 RMD160 699f5b233fdfa31254a9da9942a78836416ca14b SHA1 676c3bf1e72e418d3ed850a66de04e917e5df9bd SHA256 da1411c6d02631df60cb366aa50c319985556962f3f5111018f6e21c329f0c56 EBUILD file-5.07-r1.ebuild 1462 RMD160 387803c1ed49cbdc725997ac2d9cfe518ef07aa6 SHA1 bb656169d1cc3dc633f85bf7ea9f4b5392a192d8 SHA256 793ee74c25ecaa0b1d1165790ed8b9859364e10b3ed54309cf98555695216e91 @@ -13,5 +14,6 @@ EBUILD file-5.07-r3.ebuild 2515 RMD160 59996157ea1760a2058157c426b7827e353e12c0 EBUILD file-5.07.ebuild 1411 RMD160 b369266b189f3d26d7cf09b0739954fdb3fcfeaa SHA1 a72acce15503961939ed351490b93fb3e3ca8fb3 SHA256 c1667db62e791a44f003489b02538c5502e1f8899908b0466191c239e47b5082 EBUILD file-5.08.ebuild 2411 RMD160 bf31b135e4d2537d72375a4d1d0df07abb874767 SHA1 f407241e2fd07d012e5ad9cd3cf9d2aa3de165c6 SHA256 76425143ae1dd155270ec4d0e4d18810088349fe8bf6b970b67d48e9c19ec262 EBUILD file-5.09.ebuild 2384 RMD160 1866bde55f1be2abc4ecbd14aa5f19000869f2d1 SHA1 a31a7adc8f74e5eac3cf3f8d42248df1e1c249c3 SHA256 1327e7f37517b5dd67a718afe9e7661dca86db5c3bbb7627522d5c6dcf83c162 -MISC ChangeLog 25598 RMD160 592d1d22f6b940685914df9ec04cf0f5986efda0 SHA1 870cd81ba9c50afbb59bde6f579c9aa9c1308291 SHA256 47509b7a83ab39143260c02817f4a20aedf8bb7eede94a75b62960240ed0a67d +EBUILD file-5.10.ebuild 2341 RMD160 6df058b9a3029c64116a446b90f8df5113e8b43f SHA1 aa3aeaea768118d4a97d0bd3e297773fced50fd9 SHA256 08fa6681314649b8e0ec42c25c451310767032c2f33a166a638afcae4aecf6e3 +MISC ChangeLog 25713 RMD160 eb39c7cc22fdcaa98b283910e78b16a260ace237 SHA1 6bed64e4759d81951be0296fe691f226eabf2eff SHA256 3eddbd584de15c10c2f73b2238e8131f64747c5477bd06eb0eedbfcb94446d10 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 diff --git a/sys-apps/file/file-5.10.ebuild b/sys-apps/file/file-5.10.ebuild new file mode 100644 index 000000000000..962e58e9997d --- /dev/null +++ b/sys-apps/file/file-5.10.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-5.10.ebuild,v 1.1 2011/12/31 06:00:52 vapier Exp $ + +EAPI="2" +PYTHON_DEPEND="python? *" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="*-jython" + +inherit eutils distutils libtool flag-o-matic + +DESCRIPTION="identify a file's format by scanning binary data for patterns" +HOMEPAGE="ftp://ftp.astron.com/pub/file/" +SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz + ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="python static-libs zlib" + +RDEPEND="zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND}" + +PYTHON_MODNAME="magic.py" + +src_prepare() { + elibtoolize + + # dont let python README kill main README #60043 + mv python/README{,.python} +} + +wd() { echo ${WORKDIR}/build-${CHOST}; } +do_configure() { + ECONF_SOURCE=${S} + + mkdir "$(wd)" + pushd "$(wd)" >/dev/null + + econf "$@" + + popd >/dev/null +} +src_configure() { + # file uses things like strndup() and wcwidth() + append-flags -D_GNU_SOURCE + + # when cross-compiling, we need to build up our own file + # because people often don't keep matching host/target + # file versions #362941 + if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then + ac_cv_header_zlib_h=no \ + ac_cv_lib_z_gzopen=no \ + CHOST=${CBUILD} \ + CFLAGS=${BUILD_CFLAGS} \ + CXXFLAGS=${BUILD_CXXFLAGS} \ + CPPFLAGS=${BUILD_CPPFLAGS} \ + LDFLAGS="${BUILD_LDFLAGS} -static" \ + do_configure --disable-shared + fi + + export ac_cv_header_zlib_h=$(usex zlib) ac_cv_lib_z_gzopen=$(usex zlib) + do_configure $(use_enable static-libs static) +} + +do_make() { + emake -C "$(wd)" "$@" || die +} +src_compile() { + if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then + CHOST=${CBUILD} do_make -C src file + PATH=$(CHOST=${CBUILD} wd)/src:${PATH} + fi + do_make + + use python && cd python && distutils_src_compile +} + +src_install() { + do_make DESTDIR="${D}" install || die + dodoc ChangeLog MAINT README + + use python && cd python && distutils_src_install + use static-libs || rm -f "${D}"/usr/lib*/libmagic.la +} + +pkg_postinst() { + use python && distutils_pkg_postinst +} + +pkg_postrm() { + use python && distutils_pkg_postrm +} |