mariancerny / freebsd-ports-php56

FreeBSD ports subtree to build unsupported (EoL) PHP 5.6
21 stars 11 forks source link

Add pecl-igbinary 2.0.8 #3

Open GreenReaper opened 4 years ago

GreenReaper commented 4 years ago

I suggest adding the old version of converters/pecl-igbinary, as 3.x.x does not work with PHP 5.6.

The shell archive below contains a copy of the relevant files for your consideration:

# 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:
#
#       pecl-igbinary
#       pecl-igbinary/Makefile
#       pecl-igbinary/distinfo
#       pecl-igbinary/pkg-descr
#
echo c - pecl-igbinary
mkdir -p pecl-igbinary > /dev/null 2>&1
echo x - pecl-igbinary/Makefile
sed 's/^X//' >pecl-igbinary/Makefile << 'd510327e553c66fb83584eead3e52675'
X# Created by: Gea-Suan Lin <gslin@gslin.org>
X# $FreeBSD: head/converters/pecl-igbinary/Makefile 496488 2019-03-21 19:40:21Z sunpoet $
X
XPORTNAME=      igbinary
XPORTVERSION=   2.0.8
XCATEGORIES=    converters
X
XMAINTAINER=    sunpoet@FreeBSD.org
XCOMMENT=       Replacement for the standard PHP serializer
X
XLICENSE=       BSD3CLAUSE
XLICENSE_FILE=  ${WRKSRC}/COPYING
X
XUSES=          php:pecl
X
Xpost-patch:
X       @${CP} ${WRKSRC}/src/php7/igbinary.h ${WRKSRC}/igbinary.h
X       @${CP} ${WRKSRC}/src/php7/php_igbinary.h ${WRKSRC}/php_igbinary.h
X
X.include <bsd.port.mk>
d510327e553c66fb83584eead3e52675
echo x - pecl-igbinary/distinfo
sed 's/^X//' >pecl-igbinary/distinfo << 'ab0d3bb744f1cd0217eb0915bd0631d8'
XTIMESTAMP = 1540136617
XSHA256 (PECL/igbinary-2.0.8.tgz) = bacbab1172e073b1857dc07a486bfdaca6d60fbed678ce0f4b37cd018ef5b680
XSIZE (PECL/igbinary-2.0.8.tgz) = 76708
ab0d3bb744f1cd0217eb0915bd0631d8
echo x - pecl-igbinary/pkg-descr
sed 's/^X//' >pecl-igbinary/pkg-descr << '35623989af1ca6510c247af4ce52369d'
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 for
Xserialized data.
X
XWWW: https://pecl.php.net/package/igbinary
35623989af1ca6510c247af4ce52369d
exit
mariancerny commented 4 years ago

Thanks for the suggestion. I do not personally use this port. However if you provide a pull request I will merge it in.