From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 12 09:40:04 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32DF71065676 for ; Thu, 12 Aug 2010 09:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EA3F08FC15 for ; Thu, 12 Aug 2010 09:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7C9e3oX058411 for ; Thu, 12 Aug 2010 09:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7C9e3OH058410; Thu, 12 Aug 2010 09:40:03 GMT (envelope-from gnats) Resent-Date: Thu, 12 Aug 2010 09:40:03 GMT Resent-Message-Id: <201008120940.o7C9e3OH058410@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kirill Nasyrov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FD261065694 for ; Thu, 12 Aug 2010 08:42:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0F7A28FC26 for ; Thu, 12 Aug 2010 08:42:52 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7C8gpPA016926 for ; Thu, 12 Aug 2010 08:42:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o7C8gpq5016925; Thu, 12 Aug 2010 08:42:51 GMT (envelope-from nobody) Message-Id: <201008120842.o7C8gpq5016925@www.freebsd.org> Date: Thu, 12 Aug 2010 08:42:51 GMT From: Kirill Nasyrov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/149565: Update port: converters/igbinary X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 09:40:04 -0000 >Number: 149565 >Category: ports >Synopsis: Update port: converters/igbinary >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Aug 12 09:40:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Kirill Nasyrov >Release: FreeBSD 7.2-RELEASE-p4 >Organization: >Environment: >Description: >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: # # . # ./Makefile # ./distinfo # ./pkg-plist # ./pkg-message # ./pkg-descr # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' X# New ports collection makefile for: igbinary X# Date created: 11 Aug 2010 X# Whom: Kirill Nasyrov X# X# $FreeBSD: ports/converters/igbinary/Makefile X XPORTNAME= igbinary XPORTVERSION= 1.0.2 XCATEGORIES= converters X XMASTER_SITES= http://opensource.dynamoid.com/ XDISTNAME= igbinary-${PORTVERSION} X XMAINTAINER= knasyrov@gmail.com XCOMMENT= Pootle is a user-friendly web portal for simple translation process X XUSE_PHP= yes XUSE_PHPIZE= yes XUSE_PHP_BUILD= yes XIGNORE_WITH_PHP=4 X XCONFIGURE_ARGS= CFLAGS="-O2 -g" --enable-igbinary X Xdo-install: X @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} X @${INSTALL_DATA} ${WRKSRC}/modules/igbinary.so \ X ${PREFIX}/lib/php/${PHP_EXT_DIR} X @${MKDIR} ${PHPBASE}/include/php/ext/igbinary X @${INSTALL_DATA} ${WRKSRC}/igbinary.h ${PHPBASE}/include/php/ext/igbinary X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include 464ef7c6571951809b23e262cbe26e19 echo x - ./distinfo sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XMD5 (igbinary-1.0.2.tar.gz) = 7e608f7eb0d5c871b2fdae74ef8ddbea XSHA256 (igbinary-1.0.2.tar.gz) = ca4a7b53cd905a63f316fd198401df588b65143c9791749cd387b55f32b4a1fa XSIZE (igbinary-1.0.2.tar.gz) = 30959 aec8793adfd5b7c3f00e62ae41a09ac2 echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6' Xlib/php/%%PHP_EXT_DIR%%/igbinary.so Xinclude/php/ext/igbinary/igbinary.h X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@dirrmtry lib/php/%%PHP_EXT_DIR%% X@dirrmtry include/php/ext/igbinary X ef3e7f63841ae908ba397c2bef1fbad6 echo x - ./pkg-message sed 's/^X//' >./pkg-message << '9f51c313804c544b8024c5640d645b0a' X***************************************************************************** X XYou have installed the php52-igbinary package. X XAdd the following lines to your php.ini: X X# Load igbinary extension Xextension=igbinary.so X X# Use igbinary as session serializer Xsession.serialize_handler=igbinary X X.. and in your php code replace serialize and unserialize function calls Xwith igbinary_serialize and igbinary_unserialize. X X***************************************************************************** 9f51c313804c544b8024c5640d645b0a echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' XIgbinary is a drop in replacement for the standard PHP serializer. XInstead of time and space consuming textual representation, igbinary Xstores PHP data structures in a compact binary form. Savings are Xsignificant when using memcached or similar memory based storages Xfor serialized data. X XWWW: http://opensource.dynamoid.com/ X X- Kirill Nasyrov Xknasyrov@gmail.com 0e313719ff012ceaf97a028d51caa8f5 exit >Release-Note: >Audit-Trail: >Unformatted: