Date: Fri, 8 Mar 2013 10:21:54 GMT From: Spil <spil.oss@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/176745: [www/eaccelerator-devel] PHP 5.4 compatible port of eaccelerator Message-ID: <201303081021.r28ALs2o043499@red.freebsd.org> Resent-Message-ID: <201303081030.r28AU0Et027121@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 176745 >Category: ports >Synopsis: [www/eaccelerator-devel] PHP 5.4 compatible port of eaccelerator >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Mar 08 10:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Spil >Release: 9.1 >Organization: n.a. >Environment: FreeBSD gw.example.org 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r243787: Mon Dec 3 18:52:28 CET 2012 root@gw.example.org:/usr/obj/usr/src/sys/BEASTIE91 i386 >Description: The www/eaccelerator port version does not work with PHP 5.4 and unfortunately the project has not delivered a next release that is 5.4 compatible. The github project contains a latest version 1.0-dev from August 2012 that does support PHP 5.4 I decided to create a port for it. www/eaccelerator-devel is a hack of the original port using Github as a source. I'd be happy to take comments on this hack! Hope this helps someone. >How-To-Repeat: >Fix: /usr/ports/www/eaccelerator-devel PORTNAME= eaccelerator PORTVERSION= 1.0.${GH_COMMIT} PORTREVISION= 0 PKGNAMESUFFIX= -devel CATEGORIES= www GH_ACCOUNT= eaccelerator GH_PROJECT= eaccelerator GH_COMMIT= 42067ac7e2 GH_TAGNAME= master USE_GITHUB= YES CONFLICTS= www/eaccelerator MAINTAINER= ale@FreeBSD.org COMMENT= A free open-source PHP accelerator & optimizer OPTIONS_DEFINE= DOCCOMM DOCCOMM_DESC= Retain doc-comments in internal php structures WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-42067ac DIST_SUBDIR= eaccelerator USE_PHP= yes USE_PHPIZE= yes USE_PHP_BUILD= yes DEFAULT_PHP_VER=54 CONFIGURE_ARGS= --enable-eaccelerator=shared \ --with-eaccelerator-userid=80 \ --without-eaccelerator-use-inode LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message PORTDOCS= * .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDOCCOMM} CONFIGURE_ARGS+=--with-eaccelerator-doc-comment-inclusion .endif do-install: @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} ${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \ ${PREFIX}/lib/php/${PHP_EXT_DIR} post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/control.php ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/dasm.php ${EXAMPLESDIR} @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303081021.r28ALs2o043499>