ports/154732: [maintainer] www/codeigniter-devel: update to 2.0.1
Bo-Yi Wu
appleboy.tw at gmail.com
Sun Feb 13 11:10:06 UTC 2011
>Number: 154732
>Category: ports
>Synopsis: [maintainer] www/codeigniter-devel: update to 2.0.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 13 11:10:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Bo-Yi Wu
>Release: FreeBSD 7.1-RELEASE-p13 i386
>Organization:
Gemtek of Taiwan
>Environment:
System: FreeBSD freebsd.ee.ccu.edu.tw 7.1-RELEASE-p13 FreeBSD 7.1-RELEASE-p13 #0: Mon Jul 12 17:44:51 UTC 2010 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
- Update to 2.0.1 develop version (CodeIgniter Reactor)
- Add migration library
>How-To-Repeat:
>Fix:
--- codeigniter-devel.patch begins here ---
diff -ruN /usr/ports/www/codeigniter-devel/Makefile ./codeigniter-devel/Makefile
--- /usr/ports/www/codeigniter-devel/Makefile 2010-12-02 05:24:48.000000000 +0800
+++ ./codeigniter-devel/Makefile 2011-02-13 18:51:47.000000000 +0800
@@ -4,25 +4,27 @@
#
# $FreeBSD: ports/www/codeigniter-devel/Makefile,v 1.17 2010/11/30 20:10:19 beech Exp $
#
+
PORTNAME= codeigniter
-PORTVERSION= 2.0
+PORTVERSION= 2.0.1
CATEGORIES= www
-MASTER_SITES= http://bitbucket.org/ellislab/codeigniter/get/ \
- http://www.codeigniter.org.tw/download_files/
-DISTNAME= 98b57d21e524
-PKG_SUFX= -devel
+MASTER_SITES= https://bitbucket.org/ellislab/codeigniter-reactor/get/ \
+ http://www.codeigniter.org.tw/download_files/2.0.1/
+PKGNAMESUFFIX= -devel
+DISTNAME= a560339f28f1
MAINTAINER= appleboy.tw at gmail.com
COMMENT= A framework for developing PHP web applications
USE_ZIP= yes
+
NO_BUILD= yes
USE_PHP= session pcre
-NT_PHP_WEB= yes
+WANT_PHP_WEB= yes
CI_SYS_DIR= system
CI_CONF_DIR= application/config
-WRKSRC= ${WRKDIR}/codeigniter
+WRKSRC= ${WRKDIR}/codeigniter-reactor
WWWDIR= ${PREFIX}/www/codeigniter
PORTDOCS= *
@@ -35,12 +37,15 @@
${CI_CONF_DIR}/doctypes.php \
${CI_CONF_DIR}/foreign_chars.php \
${CI_CONF_DIR}/profiler.php \
- ${CI_CONF_DIR}/hooks.php ${CI_CONF_DIR}/mimes.php \
+ ${CI_CONF_DIR}/hooks.php \
+ ${CI_CONF_DIR}/migration.php \
+ ${CI_CONF_DIR}/mimes.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
STD_BITS= ${CI_CONF_DIR}/index.html \
+ application/cache \
application/controllers \
application/core \
application/errors \
@@ -49,17 +54,17 @@
application/index.html \
application/language \
application/libraries \
+ application/logs \
+ application/migrations \
application/models \
- application/views \
application/third_party \
- ${CI_SYS_DIR}/cache \
+ application/views \
${CI_SYS_DIR}/core \
${CI_SYS_DIR}/database \
${CI_SYS_DIR}/fonts \
${CI_SYS_DIR}/helpers \
${CI_SYS_DIR}/language \
- ${CI_SYS_DIR}/libraries \
- ${CI_SYS_DIR}/logs
+ ${CI_SYS_DIR}/libraries
OPTIONS= APACHE "Configure for Apache-2.x" off \
PROD "Install for production server (see: make confighelp)" Off \
diff -ruN /usr/ports/www/codeigniter-devel/distinfo ./codeigniter-devel/distinfo
--- /usr/ports/www/codeigniter-devel/distinfo 2010-12-01 05:23:53.000000000 +0800
+++ ./codeigniter-devel/distinfo 2011-02-13 14:53:44.000000000 +0800
@@ -1,2 +1,2 @@
-SHA256 (98b57d21e524.zip) = 9ba55b32c1eea00865bacaeb5317cbcf01c9660945242b91855e1df2008dc75a
-SIZE (98b57d21e524.zip) = 2210813
+SHA256 (a560339f28f1.zip) = 91799dfaae7b5c22a7b4e48e653751c7a2dcac0ba1bcbe2ec131f1ef034e4fa1
+SIZE (a560339f28f1.zip) = 2235153
diff -ruN /usr/ports/www/codeigniter-devel/pkg-plist ./codeigniter-devel/pkg-plist
--- /usr/ports/www/codeigniter-devel/pkg-plist 2010-12-01 05:23:53.000000000 +0800
+++ ./codeigniter-devel/pkg-plist 2011-02-13 19:00:31.000000000 +0800
@@ -1,7 +1,7 @@
%%NOAPACHE%%%%CONFDIR%%/codeigniter.conf
- at unexec if cmp -s %D/%%WWWDIR%%/index.php.sample %D/%%WWWDIR%%/index.php; then rm -f %D/%%WWWDIR%%/index.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/index.php has not been removed"; fi
-%%WWWDIR%%/index.php.sample
- at exec if [ ! -f %D/%%WWWDIR%%/index.php ]; then cp -p %D/%F %B/index.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/index.php has not been overwritten"; fi
+%%WWWDIR%%/application/cache/.htaccess
+%%WWWDIR%%/application/cache/index.html
+%%WWWDIR%%/application/config/index.html
@unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/autoload.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/autoload.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/autoload.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/autoload.php has not been removed"; fi
%%WWWDIR%%/%%CI_CONF_DIR%%/autoload.php.sample
@exec if [ ! -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/autoload.php ]; then cp -p %D/%F %B/autoload.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/autoload.php has not been overwritten"; fi
@@ -14,13 +14,24 @@
@unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/database.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/database.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/database.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/database.php has not been removed"; fi
%%WWWDIR%%/%%CI_CONF_DIR%%/database.php.sample
@exec if [ ! -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/database.php ]; then cp -p %D/%F %B/database.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/database.php has not been overwritten"; fi
+ at unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php has not been removed"; fi
+%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php.sample
+ at exec if [ ! -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php ]; then cp -p %D/%F %B/doctypes.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php has not been overwritten"; fi
+ at unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php has not been removed"; fi
+%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php.sample
+ at exec if [ ! -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php ]; then cp -p %D/%F %B/foreign_chars.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php has not been overwritten"; fi
@unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/hooks.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/hooks.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/hooks.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/hooks.php has not been removed"; fi
%%WWWDIR%%/%%CI_CONF_DIR%%/hooks.php.sample
@exec if [ ! -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/hooks.php ]; then cp -p %D/%F %B/hooks.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/hooks.php has not been overwritten"; fi
-%%WWWDIR%%/%%CI_CONF_DIR%%/index.html
+ at unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/migration.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/migration.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/migration.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/migration.php has not been removed"; fi
+%%WWWDIR%%/%%CI_CONF_DIR%%/migration.php.sample
+ at exec if [ ! -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/migration.php ]; then cp -p %D/%F %B/migration.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/migration.php has not been overwritten"; fi
@unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/mimes.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/mimes.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/mimes.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/mimes.php has not been removed"; fi
%%WWWDIR%%/%%CI_CONF_DIR%%/mimes.php.sample
@exec if [ ! -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/mimes.php ]; then cp -p %D/%F %B/mimes.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/mimes.php has not been overwritten"; fi
+ at unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/profiler.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/profiler.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/profiler.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/profiler.php has not been removed"; fi
+%%WWWDIR%%/%%CI_CONF_DIR%%/profiler.php.sample
+ at exec if [ ! -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/profiler.php ]; then cp -p %D/%F %B/profiler.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/profiler.php has not been overwritten"; fi
@unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/routes.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/routes.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/routes.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/routes.php has not been removed"; fi
%%WWWDIR%%/%%CI_CONF_DIR%%/routes.php.sample
@exec if [ ! -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/routes.php ]; then cp -p %D/%F %B/routes.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/routes.php has not been overwritten"; fi
@@ -30,15 +41,8 @@
@unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/user_agents.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/user_agents.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/user_agents.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/user_agents.php has not been removed"; fi
%%WWWDIR%%/%%CI_CONF_DIR%%/user_agents.php.sample
@exec if [ ! -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/user_agents.php ]; then cp -p %D/%F %B/user_agents.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/user_agents.php has not been overwritten"; fi
- at unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php has not been removed"; fi
-%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php.sample
- at exec if [ ! -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php ]; then cp -p %D/%F %B/doctypes.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/doctypes.php has not been overwritten"; fi
- at unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php has not been removed"; fi
-%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php.sample
- at exec if [ ! -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php ]; then cp -p %D/%F %B/foreign_chars.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/foreign_chars.php has not been overwritten"; fi
- at unexec if cmp -s %D/%%WWWDIR%%/%%CI_CONF_DIR%%/profiler.php.sample %D/%%WWWDIR%%/%%CI_CONF_DIR%%/profiler.php; then rm -f %D/%%WWWDIR%%/%%CI_CONF_DIR%%/profiler.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/%%CI_CONF_DIR%%/profiler.php has not been removed"; fi
-%%WWWDIR%%/%%CI_CONF_DIR%%/profiler.php.sample
%%WWWDIR%%/application/controllers/index.html
+%%WWWDIR%%/application/controllers/migrate.php
%%WWWDIR%%/application/controllers/welcome.php
%%WWWDIR%%/application/core/index.html
%%WWWDIR%%/application/errors/error_404.php
@@ -51,12 +55,14 @@
%%WWWDIR%%/application/index.html
%%WWWDIR%%/application/language/english/index.html
%%WWWDIR%%/application/libraries/index.html
+%%WWWDIR%%/application/logs/index.html
+%%WWWDIR%%/application/migrations/001_Create_accounts.php
%%WWWDIR%%/application/models/index.html
%%WWWDIR%%/application/third_party/index.html
%%WWWDIR%%/application/views/index.html
%%WWWDIR%%/application/views/welcome_message.php
-%%WWWDIR%%/system/cache/.htaccess
-%%WWWDIR%%/system/cache/index.html
+%%WWWDIR%%/index.php
+%%WWWDIR%%/index.php.sample
%%WWWDIR%%/system/core/Benchmark.php
%%WWWDIR%%/system/core/CodeIgniter.php
%%WWWDIR%%/system/core/Common.php
@@ -71,7 +77,7 @@
%%WWWDIR%%/system/core/Output.php
%%WWWDIR%%/system/core/Router.php
%%WWWDIR%%/system/core/URI.php
-%%WWWDIR%%/system/core/Unicode.php
+%%WWWDIR%%/system/core/Utf8.php
%%WWWDIR%%/system/core/index.html
%%WWWDIR%%/system/database/DB.php
%%WWWDIR%%/system/database/DB_active_rec.php
@@ -154,6 +160,11 @@
%%WWWDIR%%/system/language/english/unit_test_lang.php
%%WWWDIR%%/system/language/english/upload_lang.php
%%WWWDIR%%/system/language/index.html
+%%WWWDIR%%/system/libraries/Cache/Cache.php
+%%WWWDIR%%/system/libraries/Cache/drivers/Cache_apc.php
+%%WWWDIR%%/system/libraries/Cache/drivers/Cache_dummy.php
+%%WWWDIR%%/system/libraries/Cache/drivers/Cache_file.php
+%%WWWDIR%%/system/libraries/Cache/drivers/Cache_memcached.php
%%WWWDIR%%/system/libraries/Calendar.php
%%WWWDIR%%/system/libraries/Cart.php
%%WWWDIR%%/system/libraries/Driver.php
@@ -164,6 +175,7 @@
%%WWWDIR%%/system/libraries/Image_lib.php
%%WWWDIR%%/system/libraries/Javascript.php
%%WWWDIR%%/system/libraries/Log.php
+%%WWWDIR%%/system/libraries/Migration.php
%%WWWDIR%%/system/libraries/Pagination.php
%%WWWDIR%%/system/libraries/Parser.php
%%WWWDIR%%/system/libraries/Profiler.php
@@ -181,9 +193,9 @@
%%WWWDIR%%/system/libraries/Zip.php
%%WWWDIR%%/system/libraries/index.html
%%WWWDIR%%/system/libraries/javascript/Jquery.php
-%%WWWDIR%%/system/logs/index.html
- at dirrm %%WWWDIR%%/system/logs
@dirrm %%WWWDIR%%/system/libraries/javascript
+ at dirrm %%WWWDIR%%/system/libraries/Cache/drivers
+ at dirrm %%WWWDIR%%/system/libraries/Cache
@dirrm %%WWWDIR%%/system/libraries
@dirrm %%WWWDIR%%/system/language/english
@dirrm %%WWWDIR%%/system/language
@@ -199,11 +211,12 @@
@dirrm %%WWWDIR%%/system/database/drivers
@dirrm %%WWWDIR%%/system/database
@dirrm %%WWWDIR%%/system/core
- at dirrm %%WWWDIR%%/system/cache
@dirrmtry %%WWWDIR%%/system
@dirrm %%WWWDIR%%/application/views
@dirrm %%WWWDIR%%/application/third_party
@dirrm %%WWWDIR%%/application/models
+ at dirrm %%WWWDIR%%/application/migrations
+ at dirrm %%WWWDIR%%/application/logs
@dirrm %%WWWDIR%%/application/libraries
@dirrm %%WWWDIR%%/application/language/english
@dirrm %%WWWDIR%%/application/language
@@ -213,6 +226,6 @@
@dirrm %%WWWDIR%%/application/core
@dirrm %%WWWDIR%%/application/controllers
@dirrmtry %%WWWDIR%%/application/config
+ at dirrm %%WWWDIR%%/application/cache
@dirrmtry %%WWWDIR%%/application
@dirrmtry %%WWWDIR%%
-
--- codeigniter-devel.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list