ports/98810: [maintainer update] www/pecl-pecl_http to 1.0.0

Alexander Zhuravlev zaa at zaa.pp.ru
Sun Jun 11 13:30:19 UTC 2006


>Number:         98810
>Category:       ports
>Synopsis:       [maintainer update] www/pecl-pecl_http to 1.0.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 11 13:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Zhuravlev
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD orion.ulstu.ru 4.11-STABLE FreeBSD 4.11-STABLE #26: Mon Dec 26 23:56:33 MSK 2005 root at orion.ulstu.ru:/usr/obj/usr/src/sys/ORION i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	

--- pecl-pecl_http.patch begins here ---
diff -urbBN pecl-pecl_http.orig/Makefile pecl-pecl_http/Makefile
--- pecl-pecl_http.orig/Makefile	Wed May 31 10:02:00 2006
+++ pecl-pecl_http/Makefile	Sun Jun 11 11:48:01 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pecl_http
-DISTVERSION=	1.0.0RC4
+DISTVERSION=	1.0.0
 CATEGORIES=	www pear
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
@@ -26,7 +26,7 @@
 CONFIGURE_ARGS=	--enable-http
 
 OPTIONS=	CURL			"Enable cURL HTTP requests"	on \
-		MAGIC_MIME		"Enable response content type guessing"	off \
+		MAGIC_MIME		"Enable response content type guessing"	on \
 		ZLIB_COMPRESSION	"Enable support for encoded message bodies"	off
 
 .include <bsd.port.pre.mk>
@@ -39,8 +39,13 @@
 .endif
 
 .if defined(WITH_MAGIC_MIME)
+.	if ${OSVERSION} < 502128
 LIB_DEPENDS+=	magic.1:${PORTSDIR}/sysutils/file
-CONFIGURE_ARGS+=--with-http-magic-mime=${LOCALBASE}
+MAGICBASE=	${LOCALBASE}
+.	else
+MAGICBASE=	/usr
+.	endif
+CONFIGURE_ARGS+=--with-http-magic-mime=${MAGICBASE}
 .else
 CONFIGURE_ARGS+=--without-http-magic-mime
 .endif
diff -urbBN pecl-pecl_http.orig/distinfo pecl-pecl_http/distinfo
--- pecl-pecl_http.orig/distinfo	Wed May 31 10:02:00 2006
+++ pecl-pecl_http/distinfo	Sun Jun 11 11:48:01 2006
@@ -1,3 +1,3 @@
-MD5 (PECL/pecl_http-1.0.0RC4.tgz) = a0e7d18bf9250b8bb5326cbe513d0be5
-SHA256 (PECL/pecl_http-1.0.0RC4.tgz) = f074e97517f97bf12fafab96b8bb92b1f88e32d29306d91b3591a24b78ed0404
-SIZE (PECL/pecl_http-1.0.0RC4.tgz) = 181374
+MD5 (PECL/pecl_http-1.0.0.tgz) = f21c770c8608329256f9c712a9e21319
+SHA256 (PECL/pecl_http-1.0.0.tgz) = e0717ce977164cf37fd9e8d81616546be3f21a3103464208b1e1375fa8abbc93
+SIZE (PECL/pecl_http-1.0.0.tgz) = 185967
diff -urbBN pecl-pecl_http.orig/files/patch-php_http.h pecl-pecl_http/files/patch-php_http.h
--- pecl-pecl_http.orig/files/patch-php_http.h	Thu Jan  1 03:00:00 1970
+++ pecl-pecl_http/files/patch-php_http.h	Sun Jun 11 17:07:37 2006
@@ -0,0 +1,15 @@
+--- php_http.h.orig	Fri Jun  9 02:10:44 2006
++++ php_http.h	Sun Jun 11 17:06:51 2006
+@@ -144,7 +144,11 @@
+ #	define HTTP_G (&http_globals)
+ #endif
+ 
+-#define HTTP_HAVE_EXT(EXT) ((defined(HAVE_##EXT) || defined(HAVE_PHP_##EXT) || defined(HAVE_##EXT##_EXT)) && (HTTP_SHARED_DEPS || !defined(COMPILE_DL_##EXT)))
++#if defined(__GNUC__) && (__GNUC__ < 3)
++#	define HTTP_HAVE_EXT(EXT) 0
++#else
++#	define HTTP_HAVE_EXT(EXT) ((defined(HAVE_##EXT) || defined(HAVE_PHP_##EXT) || defined(HAVE_##EXT##_EXT)) && (HTTP_SHARED_DEPS || !defined(COMPILE_DL_##EXT)))
++#endif
+ 
+ PHP_FUNCTION(http_test);
+ PHP_FUNCTION(http_date);
--- pecl-pecl_http.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list