summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-php5/pecl-fileinfo/ChangeLog12
-rw-r--r--dev-php5/pecl-fileinfo/Manifest14
-rw-r--r--dev-php5/pecl-fileinfo/files/fileinfo-1.0.4-file-5.0-compat.patch11
-rw-r--r--dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.4-r1.ebuild28
4 files changed, 62 insertions, 3 deletions
diff --git a/dev-php5/pecl-fileinfo/ChangeLog b/dev-php5/pecl-fileinfo/ChangeLog
index ef89de533865..4796dfab2f81 100644
--- a/dev-php5/pecl-fileinfo/ChangeLog
+++ b/dev-php5/pecl-fileinfo/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-php5/pecl-fileinfo
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-fileinfo/ChangeLog,v 1.22 2007/12/06 01:07:20 jokey Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-fileinfo/ChangeLog,v 1.23 2009/12/16 16:56:22 hoffie Exp $
+
+*pecl-fileinfo-1.0.4-r1 (16 Dec 2009)
+
+ 16 Dec 2009; Christian Hoffmann <hoffie@gentoo.org>
+ +pecl-fileinfo-1.0.4-r1.ebuild,
+ +files/fileinfo-1.0.4-file-5.0-compat.patch:
+ adding -r1 for >=file-5 compatibility per bug 288043, thanks to Cyril
+ Pascal <cyril.pascal_gentoobugs@m4x.org>
06 Dec 2007; Markus Ullmann <jokey@gentoo.org> pecl-fileinfo-1.0.4.ebuild:
LICENSE fix from project overlay
diff --git a/dev-php5/pecl-fileinfo/Manifest b/dev-php5/pecl-fileinfo/Manifest
index d466c1907ca6..b09702ca33b9 100644
--- a/dev-php5/pecl-fileinfo/Manifest
+++ b/dev-php5/pecl-fileinfo/Manifest
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX fileinfo-1.0.4-file-5.0-compat.patch 434 RMD160 2d18320b9a4bba730a4af6b1ddd58615034e96d5 SHA1 21512381bfed056594a83503855dc96bc5c4d0ab SHA256 6a5f21988924ca4292da904381707bc7982f275f073eefdc81ca32a347183482
DIST Fileinfo-1.0.4.tgz 5835 RMD160 fedf7f72b1b2dca30f138ef31f507084d1392dbe SHA1 60a146cf58357ab59f42061d35c0aa4bff8fb170 SHA256 df35ee00fce6483c58b2f37dbded33831ba84fdae92829dbe03f7331bec0aa3f
+EBUILD pecl-fileinfo-1.0.4-r1.ebuild 696 RMD160 8b24bff5ee22f6e3c126800ec5ef0d66edae603f SHA1 e0523251272600ebc2a61cbec5f4730ebabec337 SHA256 5f4e612877c54813ef6cbb30f8b73932a9187957d212873df1ca31cd415f6085
EBUILD pecl-fileinfo-1.0.4.ebuild 531 RMD160 5bfe6cc629a2b6b246d241dec26f24dc5a006285 SHA1 f0c74081cc72c71a5e742d3ddd7a1ef6639fc778 SHA256 28fb03f89aa7bb72aad385cf52f4133203cd30720dc438db29058fc47a52721d
-MISC ChangeLog 2820 RMD160 67a4dcfa22f541fa1b6fc4e62cd793c6c4f5705a SHA1 e0898c076f81c1f9082448b89274307f153d4aa4 SHA256 da8ba1a2efbcc8f8110646f29048a3be88c9f5c94de852f465b04bd5748d7572
+MISC ChangeLog 3111 RMD160 77ba07b948b990ec8382e48afe3801cf5c154b3f SHA1 9f20200809fd594e64739e71cd4d9468a589bc90 SHA256 4433b1314f72a304cef299fd1f170d4c0d191e4dfcea07e4eb4ed1053a1c16f1
MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.13 (GNU/Linux)
+
+iEYEARECAAYFAkspEUAACgkQSamB34AN3N5TRACeIaUbm7WNIgf12gNlO1qNDxEL
+pAgAoJUi3bqzekYtZx6ZNeuOgco36sjV
+=6BxZ
+-----END PGP SIGNATURE-----
diff --git a/dev-php5/pecl-fileinfo/files/fileinfo-1.0.4-file-5.0-compat.patch b/dev-php5/pecl-fileinfo/files/fileinfo-1.0.4-file-5.0-compat.patch
new file mode 100644
index 000000000000..76e5616b6ca2
--- /dev/null
+++ b/dev-php5/pecl-fileinfo/files/fileinfo-1.0.4-file-5.0-compat.patch
@@ -0,0 +1,11 @@
+--- Fileinfo-1.0.4/config.m4.old 2009-10-16 19:45:10.000000000 +0200
++++ Fileinfo-1.0.4/config.m4 2009-10-16 19:45:24.000000000 +0200
+@@ -48,7 +48,7 @@
+ ])
+
+ MAGIC_MIME_DIRS="/usr/local/share/file /usr/share/file /usr/share/misc/file /etc /usr/share/misc"
+- MAGIC_MIME_FILENAMES="magic magic.mime"
++ MAGIC_MIME_FILENAMES="magic magic.mime magic.mgc"
+
+ for i in $MAGIC_MIME_DIRS; do
+ for j in $MAGIC_MIME_FILENAMES; do
diff --git a/dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.4-r1.ebuild b/dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.4-r1.ebuild
new file mode 100644
index 000000000000..923eb0493773
--- /dev/null
+++ b/dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.4-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.4-r1.ebuild,v 1.1 2009/12/16 16:56:22 hoffie Exp $
+
+PHP_EXT_NAME="fileinfo"
+PHP_EXT_PECL_PKG="Fileinfo"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+inherit php-ext-pecl-r1
+
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="libmagic bindings for PHP."
+LICENSE="PHP-3"
+SLOT="0"
+IUSE=""
+
+DEPEND="sys-apps/file"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ PHP_EXT_SKIP_PHPIZE=yes php-ext-source-r1_src_unpack
+ epatch "${FILESDIR}"/fileinfo-1.0.4-file-5-compat.patch
+ php-ext-source-r1_phpize
+}
+
+need_php_by_category