Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2009 08:09:05 GMT
From:      Dirk Ye <dirk.ye@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/134555: update devel/php5-ice to 3.3.1
Message-ID:  <200905150809.n4F895k8050545@www.freebsd.org>
Resent-Message-ID: <200905150810.n4F8A6cQ087298@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134555
>Category:       ports
>Synopsis:       update devel/php5-ice to 3.3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 15 08:10:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Ye
>Release:        FreeBSD 7.2-RELEASE amd64
>Organization:
N/A
>Environment:
FreeBSD cvsup.asweb.cn 7.2-RELEASE FreeBSD 7.2-RELEASE #10: Tue May  5 17:46:39 CST 2009     root@cvsup.asweb.cn:/usr/obj/usr/src/sys/REDNORA  amd64
>Description:
update for php5-ice from 3.3.0 to 3.3.1

The updates dependent port ice and py-ice should be updated at once because they only build when all have the same version.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	php5-ice
#	php5-ice/files
#	php5-ice/files/patch-cpp+config+Make.rules.FreeBSD
#	php5-ice/files/patch-php+config+Make.rules
#	php5-ice/Makefile
#	php5-ice/distinfo
#	php5-ice/pkg-message
#	php5-ice/pkg-descr
#	php5-ice/pkg-plist
#
echo c - php5-ice
mkdir -p php5-ice > /dev/null 2>&1
echo c - php5-ice/files
mkdir -p php5-ice/files > /dev/null 2>&1
echo x - php5-ice/files/patch-cpp+config+Make.rules.FreeBSD
sed 's/^X//' >php5-ice/files/patch-cpp+config+Make.rules.FreeBSD << '99e07f18396270c3c01c84392449cfee'
X--- cpp/config/Make.rules.FreeBSD.orig	2008-08-02 08:12:53.000000000 +0800
X+++ cpp/config/Make.rules.FreeBSD	2008-08-02 08:14:46.000000000 +0800
X@@ -27,7 +27,7 @@
X endif
X 
X ifeq ($(OPTIMIZE),yes)
X-    CXXFLAGS		+= -O3 -DNDEBUG
X+    CXXFLAGS		+= -O2 -DNDEBUG
X else
X     CXXFLAGS		+= -g
X endif
X@@ -37,15 +37,15 @@
X #
X CXXLIBS			=
X 
X-mkshlib			= $(CXX) -shared $(LDFLAGS) -o $(1) -Wl,-h,$(2) $(3) $(4) -lc_r
X+mkshlib			= $(CXX) -shared $(LDFLAGS) -o $(1) -Wl,-h,$(2) $(3) $(4)
X 
X mklib			= ar cr $(1) $(2)
X 
X-BASELIBS		= -lIceUtil -lc_r
X+BASELIBS		= -lIceUtil %%PTHREAD_LIBS%% -L$(LOCALBASE)/lib -liconv
X LIBS			= -lIce $(BASELIBS)
X 
X-ICEUTIL_OS_LIBS		= 
X-ICE_OS_LIBS		= 
X+ICEUTIL_OS_LIBS		= %%PTHREAD_LIBS%% 
X+ICE_OS_LIBS		=
X 
X PLATFORM_HAS_READLINE	= yes
X 
99e07f18396270c3c01c84392449cfee
echo x - php5-ice/files/patch-php+config+Make.rules
sed 's/^X//' >php5-ice/files/patch-php+config+Make.rules << '869b7a7e7df921747f3ddb01253e7ee0'
X--- php/config/Make.rules.orig	2008-05-17 01:24:03.000000000 +0800
X+++ php/config/Make.rules	2008-08-02 08:20:17.000000000 +0800
X@@ -12,7 +12,9 @@
X # if it does not exist.
X #
X 
X-prefix			?= /opt/Ice-$(VERSION)
X+ICE_HOME		= %%PREFIX%%
X+
X+prefix			?= %%PREFIX%%/lib/php/$(PHP_EXT_DIR)
X 
X #
X # The "root directory" for runpath embedded in executables. Can be unset
X@@ -25,7 +27,7 @@
X # Otherwise the Ice extension is built with debug information.
X #
X 
X-#OPTIMIZE		= yes
X+OPTIMIZE		= yes
X 
X #
X # Define LP64 as yes if you want to build in 64 bit mode on a platform
X@@ -48,7 +50,7 @@
X # PHP_INCLUDE_DIR and PHP_LIB_DIR.
X #
X 
X-PHP_HOME		?= /opt/php
X+PHP_HOME		?= %%PREFIX%%
X 
X #
X # Verifies the PHP_HOME is valid and attempts to adjust for platform variances
X@@ -94,7 +96,7 @@
X endif
X 
X libdir			= $(top_srcdir)/lib
X-install_libdir		= $(prefix)/$(libsubdir)
X+install_libdir		= $(prefix)
X 
X #
X # Platform specific definitions
869b7a7e7df921747f3ddb01253e7ee0
echo x - php5-ice/Makefile
sed 's/^X//' >php5-ice/Makefile << '0d28745aff281d7a57a444b3abdc8f37'
X# New ports collection makefile for:	php-ice
X# Date created:				2007-08-21
X# Whom:					DIrk Ye <dirk.ye@gmail.com>
X#
X# $FreeBSD: ports/devel/php5-ice/Makefile,v 1.4 2008/08/14 22:28:54 miwi Exp $
X#
X
XPORTNAME=	Ice
XPORTVERSION=	3.3.1
XCATEGORIES=	devel
XMASTER_SITES=	http://www.zeroc.com/download/Ice/3.3/ \
X		http://www.dirk.sh/dirk/Ice/
XPKGNAMEPREFIX=	php5-
XDISTNAME=	Ice-${PORTVERSION}
X
XMAINTAINER=	dirk.ye@gmail.com
XCOMMENT=	An Ice (Internet Communications Engine) language mapping for PHP
X
XLIB_DEPENDS=	Ice.${LIB_VRS}:${PORTSDIR}/devel/ice
X
XUSE_GMAKE=	yes
XMAKE_ARGS+=	PHP_EXT_DIR=${PHP_EXT_DIR}
XDEFAULT_PHP_VER=5
XIGNORE_WITH_PHP=4
XUSE_PHP=	yes
XUSE_PHP_BUILD=	yes
XBUILD_WRKSRC=	${WRKSRC}/php
XINSTALL_WRKSRC=	${WRKSRC}/php
X
XLIB_VRS=	${PORTVERSION:S|.||g:C|1$||}
XPHP_MODNAME?=	IcePHP
X
XCFLAGS+=	-ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT ${PTHREAD_CFLAGS}
X.if defined(DEBUG)
XCFLAGS+=	-g
X.else
XCFLAGS+=	-DNDEBUG
X.endif
X
X.include <bsd.port.pre.mk>
X.if ${ARCH} == "ia64"
XBROKEN=		does not compile on ia64
X.endif
X
X.if ((${ARCH} != i386) && (${ARCH} != powerpc))
XMAKE_ENV=	LP64=yes
X.endif
X
X.if defined(NOPORTDOCS)
XMAKE_ENV+=	NOPORTDOCS=yes
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/php/config/Make.rules
X	${REINPLACE_CMD} 's|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \
X		s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \
X		s|%%PREFIX%%|${PREFIX}|g ; \
X		s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/php/config/Make.rules
Xpost-install:
X	@${MKDIR} ${PREFIX}/etc/php
X	@${ECHO_CMD} extension=${PHP_MODNAME}.so \
X		>> ${PREFIX}/etc/php/extensions.ini
X	@${CAT} ${PKGMESSAGE}
X
Xadd-plist-info:
X	@${ECHO_CMD} "@exec mkdir -p %D/etc/php" \
X		>> ${TMPPLIST}
X	@${ECHO_CMD} "@exec echo extension=${PHP_MODNAME}.so >> %D/etc/php/extensions.ini" \
X		>> ${TMPPLIST}
X	@${ECHO_CMD} "@unexec cp %D/etc/php/extensions.ini %D/etc/php/extensions.ini.orig" \
X		>> ${TMPPLIST}
X	@${ECHO_CMD} "@unexec grep -v extension=${PHP_MODNAME}\\\.so %D/etc/php/extensions.ini.orig > %D/etc/php/extensions.ini || true" \
X		>> ${TMPPLIST}
X	@${ECHO_CMD} "@unexec rm %D/etc/php/extensions.ini.orig" \
X		>> ${TMPPLIST}
X	@${ECHO_CMD} "@unexec [ -s %D/etc/php/extensions.ini ] || rm %D/etc/php/extensions.ini" \
X		>> ${TMPPLIST}
X	@${ECHO_CMD} "@unexec rmdir %D/etc/php 2> /dev/null || true" \
X		>> ${TMPPLIST}
X
Xsecurity-check:
X	@${ECHO_CMD} "****************************************************************************"
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "The following line has been added to your ${PREFIX}/etc/php/extensions.ini"
X	@${ECHO_CMD} "configuration file to automatically load the installed extension:"
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "extension=${PHP_MODNAME}.so"
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "****************************************************************************"
X
X.include <bsd.port.post.mk>
0d28745aff281d7a57a444b3abdc8f37
echo x - php5-ice/distinfo
sed 's/^X//' >php5-ice/distinfo << '76e078939101bae6d67ad5fc5f941028'
XMD5 (Ice-3.3.1.tar.gz) = 1f37dfcec4662fcde030553fb447d064
XSHA256 (Ice-3.3.1.tar.gz) = 7b90477303ea2668e8f2cc7bb4506e3a596699e092c4e622746ea42d8286abd0
XSIZE (Ice-3.3.1.tar.gz) = 4455154
76e078939101bae6d67ad5fc5f941028
echo x - php5-ice/pkg-message
sed 's/^X//' >php5-ice/pkg-message << '7449be5ad0fd3c80a56d59b95886dcf8'
X
X----------------------------------------------------------------------------
X                      Attention for FreeBSD-i386 user 
X----------------------------------------------------------------------------
X
XIf the php fails with:
X
X	terminate called after throwing an instance of 'IceUtil::ThreadSyscallException'
X	  what():  RecMutex.cpp:96: IceUtil::ThreadSyscallException:
X	...
X
XTry to start it with:
X
X	$ LD_PRELOAD=/usr/lib/libc_r.so php
X
Xor for FreeBSD version 7 and above:
X
X	$ LD_PRELOAD=/usr/lib/libpthread.so php
X
X----------------------------------------------------------------------------
7449be5ad0fd3c80a56d59b95886dcf8
echo x - php5-ice/pkg-descr
sed 's/^X//' >php5-ice/pkg-descr << '1dc3d47ea80150e73da7aed4c7baf021'
XAn Ice language mapping for PHP is a recent and welcome addition
Xto the Ice product portfolio, enabling developers to take advantage
Xof the productivity offered by PHP's friendly syntax and extensive
Xfunction library.
X
XThis Ice distribution is released under the GNU General Public License (GPL).
X
XWWW: http://www.zeroc.com/
X
X- DIrk Ye
Xdirk.ye@gmail.com
1dc3d47ea80150e73da7aed4c7baf021
echo x - php5-ice/pkg-plist
sed 's/^X//' >php5-ice/pkg-plist << '2ed71e63ecfffe3ba1e10bd4d5903d94'
Xlib/php/%%PHP_EXT_DIR%%/ICE_LICENSE
Xlib/php/%%PHP_EXT_DIR%%/IcePHP.so
Xlib/php/%%PHP_EXT_DIR%%/LICENSE
Xlib/php/%%PHP_EXT_DIR%%/slice/Freeze/BackgroundSaveEvictor.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Freeze/CatalogData.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Freeze/Connection.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Freeze/ConnectionF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Freeze/DB.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Freeze/Evictor.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Freeze/EvictorF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Freeze/EvictorStorage.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Freeze/Exception.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Freeze/Transaction.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Freeze/TransactionalEvictor.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Glacier2/PermissionsVerifier.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Glacier2/PermissionsVerifierF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Glacier2/Router.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Glacier2/RouterF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Glacier2/SSLInfo.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Glacier2/Session.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Glacier2/SessionF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/BuiltinSequences.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/Communicator.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/CommunicatorF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/Connection.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/ConnectionF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/Current.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/Endpoint.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/FacetMap.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/Identity.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/ImplicitContext.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/ImplicitContextF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/LocalException.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/Locator.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/LocatorF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/Logger.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/LoggerF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/ObjectAdapter.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/ObjectAdapterF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/ObjectFactory.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/ObjectFactoryF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/Plugin.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/PluginF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/Process.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/ProcessF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/Properties.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/PropertiesF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/Router.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/RouterF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/ServantLocator.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/ServantLocatorF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/SliceChecksumDict.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/Stats.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/Ice/StatsF.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IceBox/IceBox.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IceGrid/Admin.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IceGrid/Descriptor.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IceGrid/Exception.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IceGrid/FileParser.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IceGrid/Locator.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IceGrid/Observer.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IceGrid/Query.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IceGrid/Registry.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IceGrid/Session.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IceGrid/UserAccountMapper.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IcePatch2/FileInfo.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IcePatch2/FileServer.ice
Xlib/php/%%PHP_EXT_DIR%%/slice/IceStorm/IceStorm.ice
X@dirrmtry lib/php/%%PHP_EXT_DIR%%/slice/Freeze
X@dirrmtry lib/php/%%PHP_EXT_DIR%%/slice/Glacier2
X@dirrmtry lib/php/%%PHP_EXT_DIR%%/slice/Ice
X@dirrmtry lib/php/%%PHP_EXT_DIR%%/slice/IceBox
X@dirrmtry lib/php/%%PHP_EXT_DIR%%/slice/IceGrid
X@dirrmtry lib/php/%%PHP_EXT_DIR%%/slice/IcePatch2
X@dirrmtry lib/php/%%PHP_EXT_DIR%%/slice/IceStorm
X@dirrmtry lib/php/%%PHP_EXT_DIR%%/slice
X@dirrmtry lib/php/%%PHP_EXT_DIR%%
2ed71e63ecfffe3ba1e10bd4d5903d94
exit



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905150809.n4F895k8050545>