From owner-svn-ports-head@freebsd.org Sun Nov 1 02:24:33 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25E46A2163E; Sun, 1 Nov 2015 02:24:33 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB7391A8B; Sun, 1 Nov 2015 02:24:32 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tA12OWoS002694; Sun, 1 Nov 2015 02:24:32 GMT (envelope-from junovitch@FreeBSD.org) Received: (from junovitch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tA12OVwc002690; Sun, 1 Nov 2015 02:24:31 GMT (envelope-from junovitch@FreeBSD.org) Message-Id: <201511010224.tA12OVwc002690@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: junovitch set sender to junovitch@FreeBSD.org using -f From: Jason Unovitch Date: Sun, 1 Nov 2015 02:24:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400597 - head/www/codeigniter X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 02:24:33 -0000 Author: junovitch Date: Sun Nov 1 02:24:31 2015 New Revision: 400597 URL: https://svnweb.freebsd.org/changeset/ports/400597 Log: www/codeigniter: update 2.2.5 -> 2.2.6 - Update PORTVERSION and distinfo for security release (2.2.6) - Take MAINTAINER [1] - Register CONFLICTS for upcoming 3.x release - Add additional line breaks into file list - Convert to options helpers and reorder variables - Unmute do-install commands - Fix WWW: - Fix NOAPACHE variable in pkg-plist to match option (APACHE) PR: 203403 Approved by: maintainer timeout (16 months since last submission) [1] Security: https://vuxml.FreeBSD.org/freebsd/bdd57272-803c-11e5-ab94-002590263bf5.html MFH: 2015Q4 Modified: head/www/codeigniter/Makefile head/www/codeigniter/distinfo head/www/codeigniter/pkg-descr head/www/codeigniter/pkg-plist Modified: head/www/codeigniter/Makefile ============================================================================== --- head/www/codeigniter/Makefile Sun Nov 1 02:10:37 2015 (r400596) +++ head/www/codeigniter/Makefile Sun Nov 1 02:24:31 2015 (r400597) @@ -2,17 +2,17 @@ # $FreeBSD$ PORTNAME= codeigniter -PORTVERSION= 2.2.5 +PORTVERSION= 2.2.6 CATEGORIES= www -MAINTAINER= appleboy.tw@gmail.com +MAINTAINER= junovitch@FreeBSD.org COMMENT= Framework for developing PHP web applications USES= tar:tgz USE_GITHUB= yes GH_ACCOUNT= bcit-ci -CONFLICTS= codeigniter-1.[0-9]* +CONFLICTS= codeigniter-1.[0-9]* codeigniter-3.[0-9]* NO_ARCH= yes NO_BUILD= yes @@ -26,8 +26,10 @@ WRKSRC= ${WRKDIR}/CodeIgniter-${PORTVER PORTDOCS= * # These are all user-configurable files that we'll install -CI_CONF_FILES= index.php ${CI_CONF_DIR}/autoload.php \ - ${CI_CONF_DIR}/config.php ${CI_CONF_DIR}/constants.php \ +CI_CONF_FILES= index.php \ + ${CI_CONF_DIR}/autoload.php \ + ${CI_CONF_DIR}/config.php \ + ${CI_CONF_DIR}/constants.php \ ${CI_CONF_DIR}/database.php \ ${CI_CONF_DIR}/doctypes.php \ ${CI_CONF_DIR}/foreign_chars.php \ @@ -35,7 +37,8 @@ CI_CONF_FILES= index.php ${CI_CONF_DIR}/ ${CI_CONF_DIR}/mimes.php \ ${CI_CONF_DIR}/migration.php \ ${CI_CONF_DIR}/profiler.php \ - ${CI_CONF_DIR}/routes.php ${CI_CONF_DIR}/smileys.php \ + ${CI_CONF_DIR}/routes.php \ + ${CI_CONF_DIR}/smileys.php \ ${CI_CONF_DIR}/user_agents.php # This is the rest of the CodeIgniter installation that doesn't change @@ -61,6 +64,10 @@ STD_BITS= ${CI_CONF_DIR}/index.html \ ${CI_SYS_DIR}/libraries OPTIONS_DEFINE= APACHE DOCS MSSQL MYSQL MYSQLI ODBC PGSQL SQLITE +OPTIONS_SUB= yes + +SUB_FILES= pkg-message +PLIST_SUB+= ECHO_MSG=${ECHO_MSG} CI_CONF_DIR=${CI_CONF_DIR} APACHE_DESC= Configure for Apache-2.x MSSQL_DESC= Install MSSQL support for PHP @@ -70,64 +77,33 @@ ODBC_DESC= Install ODBC support for PHP PGSQL_DESC= Install PostgreSQL support for PHP SQLITE_DESC= Install SQLite support for PHP -.include +APACHE_VARS= USE_APACHE_RUN=22+ +DOCS_VARS= SUB_LIST+=HASHMARK= +DOCS_VARS_OFF= SUB_LIST+=HASHMARK=\# +MSSQL_VARS= USE_PHP+=mssql +MYSQL_VARS= USE_PHP+=mysql +MYSQLI_VARS= USE_PHP+=mysqli +ODBC_VARS= USE_PHP+=odbc +PGSQL_VARS= USE_PHP+=pgsql +SQLITE_VARS= USE_PHP+=sqlite3 -SUB_FILES= pkg-message -.if ${PORT_OPTIONS:MAPACHE} -USE_APACHE_RUN= 22+ -PLIST_SUB+= NOAPACHE="" CONFDIR=${CONFDIR_REL} +# These variables are specifically defined for Apache +CONF= codeigniter.conf CONFDIR= ${PREFIX}/${CONFDIR_REL} CONFDIR_REL= ${APACHEETCDIR}/Includes -.else -PLIST_SUB+= NOAPACHE="@comment " -.endif -PLIST_SUB+= ECHO_MSG=${ECHO_MSG} CI_CONF_DIR=${CI_CONF_DIR} - -.if ${PORT_OPTIONS:MMSSQL} -USE_PHP+= mssql -.endif - -.if ${PORT_OPTIONS:MMYSQL} -USE_PHP+= mysql -.endif - -.if ${PORT_OPTIONS:MMYSQLI} -USE_PHP+= mysqli -.endif - -.if ${PORT_OPTIONS:MODBC} -USE_PHP+= odbc -.endif - -.if ${PORT_OPTIONS:MPGSQL} -USE_PHP+= pgsql -.endif - -.if ${PORT_OPTIONS:MSQLITE} -USE_PHP+= sqlite3 -.endif - -.if ${PORT_OPTIONS:MDOCS} -SUB_LIST+= HASHMARK=\# -.else -SUB_LIST+= HASHMARK= -.endif - -CONF= codeigniter.conf +PLIST_SUB+= CONFDIR=${CONFDIR_REL} SUB_FILES+= ${CONF} do-install: - @cd ${WRKSRC} && ${COPYTREE_SHARE} "${STD_BITS}" ${STAGEDIR}${WWWDIR} - @for i in ${CI_CONF_FILES}; do \ + cd ${WRKSRC} && ${COPYTREE_SHARE} "${STD_BITS}" ${STAGEDIR}${WWWDIR} + for i in ${CI_CONF_FILES}; do \ ${INSTALL_DATA} ${WRKSRC}/$$i ${STAGEDIR}${WWWDIR}/$$i.sample; \ done -post-install: -.if ${PORT_OPTIONS:MAPACHE} - ${CP} ${WRKDIR}/${CONF} ${STAGEDIR}${CONFDIR}/codeigniter.conf; -.endif -.if ${PORT_OPTIONS:MDOCS} - @cd ${WRKSRC}/user_guide && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} -.endif +post-install-APACHE-on: + ${MKDIR} ${STAGEDIR}${CONFDIR} + ${CP} ${WRKDIR}/${CONF} ${STAGEDIR}${CONFDIR}/codeigniter.conf; +post-install-DOCS-on: + cd ${WRKSRC}/user_guide && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} -.include +.include Modified: head/www/codeigniter/distinfo ============================================================================== --- head/www/codeigniter/distinfo Sun Nov 1 02:10:37 2015 (r400596) +++ head/www/codeigniter/distinfo Sun Nov 1 02:24:31 2015 (r400597) @@ -1,2 +1,2 @@ -SHA256 (bcit-ci-codeigniter-2.2.5_GH0.tgz) = c529a0016ae982c67ee899475fa5cdf4b27ffed4d18714270f78e3a4554d9de3 -SIZE (bcit-ci-codeigniter-2.2.5_GH0.tgz) = 1970502 +SHA256 (bcit-ci-codeigniter-2.2.6_GH0.tgz) = 3105487ab24430027d0a8ed49329d84e59c3f464be492e1d427d3b49352fbe85 +SIZE (bcit-ci-codeigniter-2.2.6_GH0.tgz) = 1971743 Modified: head/www/codeigniter/pkg-descr ============================================================================== --- head/www/codeigniter/pkg-descr Sun Nov 1 02:10:37 2015 (r400596) +++ head/www/codeigniter/pkg-descr Sun Nov 1 02:24:31 2015 (r400597) @@ -2,4 +2,4 @@ CodeIgniter is a powerful PHP framework built for developers who need a simple and elegant toolkit to create full-featured web applications. -WWW: http://http://www.codeigniter.com/ +WWW: http://www.codeigniter.com/ Modified: head/www/codeigniter/pkg-plist ============================================================================== --- head/www/codeigniter/pkg-plist Sun Nov 1 02:10:37 2015 (r400596) +++ head/www/codeigniter/pkg-plist Sun Nov 1 02:24:31 2015 (r400597) @@ -1,4 +1,4 @@ -%%NOAPACHE%%%%CONFDIR%%/codeigniter.conf +%%APACHE%%%%CONFDIR%%/codeigniter.conf %%WWWDIR%%/application/cache/.htaccess %%WWWDIR%%/application/cache/index.html %%WWWDIR%%/application/config/index.html