Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141618 - cake-1.1.6.ebuild (New Package)
Summary: cake-1.1.6.ebuild (New Package)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Gentoo Web-apps project
URL: http://www.cakephp.org/
Whiteboard: [webapp-overlay]
Keywords: EBUILD, InOverlay
: 139660 188925 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-24 12:35 UTC by Antonino Catinello
Modified: 2007-09-16 01:16 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cake-1.1.6.ebuild (cake-1.1.6.ebuild,933 bytes, text/plain)
2006-07-24 12:37 UTC, Antonino Catinello
Details
postinstall-en.txt (postinstall-en.txt,182 bytes, text/plain)
2006-07-24 12:37 UTC, Antonino Catinello
Details
CakePHP 1.1.12.4205 (stable) ebuild (cakephp-1.1.12.4205.ebuild,1.08 KB, text/plain)
2007-01-25 21:28 UTC, Paul Sumner
Details
post install text (postinstall-en2.txt,477 bytes, text/plain)
2007-01-25 21:28 UTC, Paul Sumner
Details
CakePHP 1.1.13.4450 (stable) ebuild (cakephp-1.1.13.4450.ebuild,1.08 KB, text/plain)
2007-02-16 20:19 UTC, Paul Sumner
Details
files/postinstall-en.txt (postinstall-en.txt,513 bytes, text/plain)
2007-08-15 22:40 UTC, Paul Sumner
Details
CakePHP 1.1.16.5421 (latest stable) ebuild (cakephp-1.1.16.5421.ebuild,1.15 KB, text/plain)
2007-08-15 22:45 UTC, Paul Sumner
Details
CakePHP 1.1.16.5421 (latest stable) ebuild (cakephp-1.1.16.5421,1.09 KB, text/plain)
2007-08-16 16:54 UTC, Paul Sumner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonino Catinello 2006-07-24 12:35:24 UTC
Hello!

I just came across http://www.cakephp.org/ which is a web development framework written in PHP. See the link above for more information.

I couldn't find an ebuild and so I simply wrote my own one.

See the attached cake-1.1.6.ebuild and postinstall-en.txt files.
Comment 1 Antonino Catinello 2006-07-24 12:37:01 UTC
Created attachment 92633 [details]
cake-1.1.6.ebuild
Comment 2 Antonino Catinello 2006-07-24 12:37:58 UTC
Created attachment 92634 [details]
postinstall-en.txt
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-24 14:13:02 UTC
*** Bug 139660 has been marked as a duplicate of this bug. ***
Comment 4 Paul Sumner 2007-01-25 21:28:10 UTC
Created attachment 108150 [details]
CakePHP 1.1.12.4205 (stable) ebuild

CakePHP ebuild. "Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC." It is simular to Rails, but for PHP.
Comment 5 Paul Sumner 2007-01-25 21:28:43 UTC
Created attachment 108151 [details]
post install text
Comment 6 Paul Sumner 2007-01-25 21:31:04 UTC
I'm interested in maintaining the cakephp ebuild if not one else is stepping forward. Anyone?
Comment 7 Paul Sumner 2007-02-16 20:19:42 UTC
Created attachment 110415 [details]
CakePHP 1.1.13.4450 (stable) ebuild

Newest stable release 2/4/07.
Comment 8 Paul Sumner 2007-02-16 20:52:21 UTC
It is worth noting that since cakephp is a "Framework" that it lies somewhere between a library and a web app. Currently, this ebuild is very dumb (may change in the future -- feedback welcome) and just does what it takes to get it on the system. If you have many vhosts and/or apps and desire that they shared common code it may be worth using webapp-config's --soft option for the 'cake' directory for example. 
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-08-15 07:58:24 UTC
1/ You shouldn't depend on mysql/postgresql in webapps. The server may be remote, so this is wrong. Plus the require_php_with_use checks already ensure that PHP has the needed functionality.

2/ Combine the checks into one so that the ebuild dies just once at worst. E.g., like this:

local flags="xml session"
use mysql && flags="${flags} mysql"
use postgres && flags="${flags} postgres"
require_php_with_use ${flags}

I'll file a separate bug about webapp.eclass docs at http://www.gentoo.org/proj/en/webapps/
Comment 10 Paul Sumner 2007-08-15 14:42:52 UTC
Even if the server is remote mysql/postgresql would be a dependency since cake would still require the client libraries; however, require_php_with_use is a better way of doing this. I'll update the ebuild shortly. I'll also combine the checks as Jakub has suggested. THx
Comment 11 Paul Sumner 2007-08-15 22:40:47 UTC
Created attachment 128222 [details]
files/postinstall-en.txt

Cleaned up post install txt.
Comment 12 Paul Sumner 2007-08-15 22:45:46 UTC
Created attachment 128224 [details]
CakePHP 1.1.16.5421 (latest stable) ebuild

This new ebuild used the latest stable tarball. It also has 2 minor mods: better handling of the use flags, and a line added to make the app/tmp directory server owned.
Comment 13 Paul Sumner 2007-08-16 16:54:39 UTC
Created attachment 128307 [details]
CakePHP 1.1.16.5421 (latest stable) ebuild

I neglected to remove the mysql/postgres dependencies. They are not necessary since they will get resolved via the php dependency anyways (via its use flags).
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-09-16 00:58:51 UTC
Added to webapps overlay, please test. Enjoy!

http://overlays.gentoo.org/proj/webapps/browser/experimental/www-apps/cake
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-09-16 01:16:24 UTC
*** Bug 188925 has been marked as a duplicate of this bug. ***