summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-08-04 10:51:00 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-08-04 10:51:00 +0000
commit390f2eddbc398b63ae79a839710b1852ff81ff1e (patch)
tree891fd3548aae23855a90007933fa4777d16136bb /sys-apps/file
parentAppend -DBOOST_FILESYSTEM_VERSION=2 to C{XX}FLAGS. Bug #362909 (diff)
downloadhistorical-390f2eddbc398b63ae79a839710b1852ff81ff1e.tar.gz
historical-390f2eddbc398b63ae79a839710b1852ff81ff1e.tar.bz2
historical-390f2eddbc398b63ae79a839710b1852ff81ff1e.zip
Version bump.
Package-Manager: portage-2.2.0_alpha47/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/file')
-rw-r--r--sys-apps/file/ChangeLog7
-rw-r--r--sys-apps/file/Manifest10
-rw-r--r--sys-apps/file/file-5.08.ebuild97
3 files changed, 109 insertions, 5 deletions
diff --git a/sys-apps/file/ChangeLog b/sys-apps/file/ChangeLog
index 031f89667749..0682db0aaa07 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.200 2011/07/08 21:08:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.201 2011/08/04 10:51:00 ssuominen Exp $
+
+*file-5.08 (04 Aug 2011)
+
+ 04 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> +file-5.08.ebuild:
+ Version bump.
*file-5.07-r3 (08 Jul 2011)
diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index f427a3a94751..ca4a1cbe3a41 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -6,18 +6,20 @@ AUX file-5.07-zip-detect.patch 547 RMD160 6faa21497953a7a74ded03ba9e3d1e76e98978
DIST file-5.05.tar.gz 596636 RMD160 3107c10d25a88a3a0648b4b98da9441f810170a9 SHA1 b681e13849135c16f0445b42d95ce499910d242b SHA256 5cb47845d91848e2b8eb58935766f93d8a2ecf665b33be7317f1849d3c46e1b7
DIST file-5.06.tar.gz 600720 RMD160 d9337ecc1fb836f0d7278edf376b9f86e2b37735 SHA1 ad7cd2334a4e386c7647c69fba3cc8ec6b76c6ca SHA256 34d3d28c8ce231b171abec9ae94be31935e34ead2fed9f6b09b99ec580762401
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
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
EBUILD file-5.07-r2.ebuild 2464 RMD160 8dd17ac7456a37ac197f8bc51859b9e3d0f96a6c SHA1 70af640acb1a25e392eb89c5a1f242272cbd718f SHA256 e1d81e4f0dc6a33aebe5e7593fadc954f4a5b182ca37bb90b58c1af8f14f6b32
EBUILD file-5.07-r3.ebuild 2523 RMD160 6ca260458c9fed36946a755248769e16d2b3d5fa SHA1 d7856558be16d2f3718ce531a0978e798d7ea6c4 SHA256 78a2b8ad27d50d98a3fd891313d90a194d05bb49726eb0fc70513058cb96f331
EBUILD file-5.07.ebuild 1411 RMD160 b369266b189f3d26d7cf09b0739954fdb3fcfeaa SHA1 a72acce15503961939ed351490b93fb3e3ca8fb3 SHA256 c1667db62e791a44f003489b02538c5502e1f8899908b0466191c239e47b5082
-MISC ChangeLog 24039 RMD160 400b44557e73cd09fc1ad932560443e490a81086 SHA1 c96d46d6d6d41358504a241ca3030246de8d4595 SHA256 da1c2695bd13cc224b508b02e3d473d5c00d9c049e12cee5b0fe9ce35c33b27e
+EBUILD file-5.08.ebuild 2411 RMD160 3e3cd2710eccc450aa3b14bd5a60e17931883aa9 SHA1 0835d2eda209d0ce3af5ea85c8340fd4361da05f SHA256 e265a35282eac7ad588308ac5412f284404438c4fdf181bef90888afcf3545e3
+MISC ChangeLog 24158 RMD160 a6214a3642c98df3f80e3472a687d088dcb5be83 SHA1 6b2f6f4fad5f1d1e1589b92d11194bae250245e6 SHA256 d0d44aff753cc39a64e8d08f4e4c589bcdf021110aba9f847778943aae5530d2
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk4XcdgACgkQaC/OocHi7JapQgD/a70LMFrNJCGZBnEBzdlY9KDb
-iRzAAwXNZHn2t8+9fwoA/18Vt5moYUU6d8Vd+/8a12cH2eniXZG/RBWympr0LXTa
-=YXTu
+iF4EAREIAAYFAk46eOUACgkQXkR9YqOcLPGAewD7BTk0bskNf5jFP60moRFO982z
+UIx3NNsUkYwGN8L05WwBAJCbquga6nP7XbdyZzA9js8pBdkeoa6p1DnHHWUHVSNz
+=XujS
-----END PGP SIGNATURE-----
diff --git a/sys-apps/file/file-5.08.ebuild b/sys-apps/file/file-5.08.ebuild
new file mode 100644
index 000000000000..c8c13af19305
--- /dev/null
+++ b/sys-apps/file/file-5.08.ebuild
@@ -0,0 +1,97 @@
+# 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.08.ebuild,v 1.1 2011/08/04 10:51:00 ssuominen 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="as-is"
+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
+ epunt_cxx
+
+ # dont let python README kill main README #60043
+ mv python/README{,.python}
+}
+
+usex() { use $1 && echo ${2:-yes} || echo ${3:-no} ; }
+
+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
+}