aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pecl-fileinfo
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2006-11-08 13:33:01 +0000
committerAlex Dupre <ale@FreeBSD.org>2006-11-08 13:33:01 +0000
commit4371c5e18df2be6dbefcaea04219469254d53447 (patch)
tree0df57c4e21e46ca0d65f776c1332a3000b435a6c /sysutils/pecl-fileinfo
parent7a6d1b993095b36db06d9d3d8409aaacba9e75cb (diff)
downloadports-4371c5e18df2be6dbefcaea04219469254d53447.tar.gz
ports-4371c5e18df2be6dbefcaea04219469254d53447.zip
Notes
Diffstat (limited to 'sysutils/pecl-fileinfo')
-rw-r--r--sysutils/pecl-fileinfo/Makefile3
-rw-r--r--sysutils/pecl-fileinfo/distinfo6
-rw-r--r--sysutils/pecl-fileinfo/files/patch-config.m411
-rw-r--r--sysutils/pecl-fileinfo/files/patch-fileinfo.c24
4 files changed, 4 insertions, 40 deletions
diff --git a/sysutils/pecl-fileinfo/Makefile b/sysutils/pecl-fileinfo/Makefile
index af9e9356d06c..c382a3087c72 100644
--- a/sysutils/pecl-fileinfo/Makefile
+++ b/sysutils/pecl-fileinfo/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= fileinfo
-PORTVERSION= 1.0.3
-PORTREVISION= 1
+PORTVERSION= 1.0.4
CATEGORIES= sysutils pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
diff --git a/sysutils/pecl-fileinfo/distinfo b/sysutils/pecl-fileinfo/distinfo
index c90ee469f523..cf157bf4a0d7 100644
--- a/sysutils/pecl-fileinfo/distinfo
+++ b/sysutils/pecl-fileinfo/distinfo
@@ -1,3 +1,3 @@
-MD5 (PECL/Fileinfo-1.0.3.tgz) = 799930038f76af23e391eef45789c607
-SHA256 (PECL/Fileinfo-1.0.3.tgz) = 560dc4f40f33ef929c3be558c9550f88e22a673fa6467499b6e77ee6cc52315e
-SIZE (PECL/Fileinfo-1.0.3.tgz) = 5727
+MD5 (PECL/Fileinfo-1.0.4.tgz) = 2854e749db157365c769cb9496f5586f
+SHA256 (PECL/Fileinfo-1.0.4.tgz) = df35ee00fce6483c58b2f37dbded33831ba84fdae92829dbe03f7331bec0aa3f
+SIZE (PECL/Fileinfo-1.0.4.tgz) = 5835
diff --git a/sysutils/pecl-fileinfo/files/patch-config.m4 b/sysutils/pecl-fileinfo/files/patch-config.m4
deleted file mode 100644
index 84c1c0a87a87..000000000000
--- a/sysutils/pecl-fileinfo/files/patch-config.m4
+++ /dev/null
@@ -1,11 +0,0 @@
---- config.m4.orig Thu Jun 8 15:20:41 2006
-+++ config.m4 Thu Jun 8 15:52:29 2006
-@@ -47,7 +47,7 @@
- -L$FILEINFO_DIR/lib
- ])
-
-- MAGIC_MIME_LOCATIONS="/usr/local/share/file/magic /usr/share/file/magic /usr/share/misc/file/magic /etc/magic /usr/share/misc"
-+ MAGIC_MIME_LOCATIONS="/usr/local/share/file/magic /usr/share/misc/magic"
- for i in $MAGIC_MIME_LOCATIONS; do
- if test -f $i; then
- PHP_DEFAULT_MAGIC_FILE=$i
diff --git a/sysutils/pecl-fileinfo/files/patch-fileinfo.c b/sysutils/pecl-fileinfo/files/patch-fileinfo.c
deleted file mode 100644
index e4cca194fa7a..000000000000
--- a/sysutils/pecl-fileinfo/files/patch-fileinfo.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- fileinfo.c.orig 2005/12/20 19:17:00
-+++ fileinfo.c 2006/10/10 09:52:06
-@@ -121,10 +121,17 @@
- /* {{{ finfo_class_functions
- */
- function_entry finfo_class_functions[] = {
-- ZEND_ME_MAPPING(finfo, finfo_open, NULL)
-- ZEND_ME_MAPPING(set_flags, finfo_set_flags,NULL)
-- ZEND_ME_MAPPING(file, finfo_file, NULL)
-- ZEND_ME_MAPPING(buffer, finfo_buffer, NULL)
-+#if PHP_VERSION_ID >= 50200
-+ ZEND_ME_MAPPING(finfo, finfo_open, NULL, ZEND_ACC_PUBLIC)
-+ ZEND_ME_MAPPING(set_flags, finfo_set_flags,NULL, ZEND_ACC_PUBLIC)
-+ ZEND_ME_MAPPING(file, finfo_file, NULL, ZEND_ACC_PUBLIC)
-+ ZEND_ME_MAPPING(buffer, finfo_buffer, NULL, ZEND_ACC_PUBLIC)
-+#else
-+ ZEND_ME_MAPPING(finfo, finfo_open, NULL)
-+ ZEND_ME_MAPPING(set_flags, finfo_set_flags,NULL)
-+ ZEND_ME_MAPPING(file, finfo_file, NULL)
-+ ZEND_ME_MAPPING(buffer, finfo_buffer, NULL)
-+#endif
- {NULL, NULL, NULL}
- };
- /* }}} */