Date: Thu, 12 Aug 2010 08:42:51 GMT From: Kirill Nasyrov <knasyrov@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/149565: Update port: converters/igbinary Message-ID: <201008120842.o7C8gpq5016925@www.freebsd.org> Resent-Message-ID: <201008120940.o7C9e3OH058410@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <knasyrov@gmail.com> 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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008120842.o7C8gpq5016925>