Date: Tue, 22 Jan 2008 16:13:26 +0800 (CST) From: Gea-Suan Lin <gslin@ccca.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@ccca.nctu.edu.tw Subject: ports/119886: [NEW PORT] www/famp: Metaport of FreeBSD, Apache2, MySQL5, PHP5 Message-ID: <20080122081326.374E61CC3C@ccreader.NCTU.edu.tw> Resent-Message-ID: <200801220820.m0M8K18v051014@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 119886 >Category: ports >Synopsis: [NEW PORT] www/famp: Metaport of FreeBSD, Apache2, MySQL5, PHP5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jan 22 08:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.3-PRERELEASE i386 >Organization: >Environment: System: FreeBSD ccreader.NCTU.edu.tw 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #3: Tue Jan 15 11:22:08 CST 2008 >Description: Metaport for installing Apache2, MySQL5, PHP5 and FastCGI wrapper in FreeBSD environment. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- famp-1.0.shar begins here --- # 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: # # famp # famp/pkg-descr # famp/Makefile # famp/files # famp/files/php # famp/files/fastcgi.conf # famp/pkg-plist # echo c - famp mkdir -p famp > /dev/null 2>&1 echo x - famp/pkg-descr sed 's/^X//' >famp/pkg-descr << 'END-of-famp/pkg-descr' XMetaport for installing Apache2, MySQL5, PHP5 and FastCGI wrapper in XFreeBSD environment. END-of-famp/pkg-descr echo x - famp/Makefile sed 's/^X//' >famp/Makefile << 'END-of-famp/Makefile' X# New ports collection makefile for: famp X# Date created: 2008-01-22 X# Whom: Gea-Suan Lin <gslin@gslin.org> X# X# $FreeBSD$ X# X XPORTNAME= famp XPORTVERSION= 1.0 XCATEGORIES= www XMASTER_SITES= # none XDISTFILES= # none X XMAINTAINER= gslin@gslin.org XCOMMENT= Metaport of FreeBSD, Apache2, MySQL5, PHP5 X XNO_BUILD= yes XUSE_APACHE= 20+ XUSE_PHP= mysql mysqli X X.include <bsd.port.pre.mk> X XPLIST_SUB+= APACHEETCDIR="${APACHEETCDIR}" XRUN_DEPENDS+= libexec/apache${APACHE_VERSION}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \ X php5-extensions>0:${PORTSDIR}/lang/php5-extensions X Xdo-install: X ${MKDIR} ${PREFIX}/www/fcgi-bin ${PREFIX}/${APACHEETCDIR}/Includes X ${INSTALL_SCRIPT} ${FILESDIR}/php ${PREFIX}/www/fcgi-bin X ${INSTALL_DATA} ${FILESDIR}/fastcgi.conf ${PREFIX}/${APACHEETCDIR}/Includes X X.include <bsd.port.post.mk> END-of-famp/Makefile echo c - famp/files mkdir -p famp/files > /dev/null 2>&1 echo x - famp/files/php sed 's/^X//' >famp/files/php << 'END-of-famp/files/php' X#!/bin/sh Xexport PHPRC="/usr/local/etc" Xexport PHP_FCGI_CHILDREN=10 Xexec /usr/local/bin/php-cgi END-of-famp/files/php echo x - famp/files/fastcgi.conf sed 's/^X//' >famp/files/fastcgi.conf << 'END-of-famp/files/fastcgi.conf' X<Ifmodule fastcgi_module> X ScriptAlias /fcgi-bin/ "/usr/local/www/fcgi-bin/" X <Directory /usr/local/www/fcgi-bin/> X SetHandler fastcgi-script X </Directory> X AddHandler php-fastcgi .php X Action php-fastcgi /fcgi-bin/php X</Ifmodule> END-of-famp/files/fastcgi.conf echo x - famp/pkg-plist sed 's/^X//' >famp/pkg-plist << 'END-of-famp/pkg-plist' X@comment $FreeBSD$ X%%APACHEETCDIR%%/Includes/fastcgi.conf Xwww/fcgi-bin/php X@dirrmtry www/fcgi-bin END-of-famp/pkg-plist exit --- famp-1.0.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080122081326.374E61CC3C>