CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. Using commonly known design patterns like MVC and ORM within the convention over configuration paradigm, CakePHP reduces development costs and helps developers write less code. Reproducible: Always
i added a ebuild to php-experimental overlay: dev-php/CakePHP http://overlays.gentoo.org/svn/proj/php/experimental/dev-php/CakePHP/ please test
Created attachment 177468 [details, diff] patch for CakePHP-1.2.0.7296_rc2.ebuild
Created attachment 177469 [details] CakePHP-1.2.0.7962.ebuild
Note: If you want to use CakePHP-1.2.0.7962.ebuild you also need to execute 'ebuild CakePHP-1.2.0.7962.ebuild digest' and add 'dev-php/CakePHP ~amd64' (or ~x86) to /etc/portage/package.keywords
First, thank you Daniel for creating an ebuild for this software. I just tried it and encountered the following problem: * Checking for required PHP feature(s) ... >>> Unpacking source... >>> Unpacking 1.2.0.7962.tar.gz to /exclude/port-tmp/portage/dev-php/CakePHP-1.2.0.7962/work /exclude/port-tmp/portage/dev-php/CakePHP-1.2.0.7962/temp/environment: line 2884: cd: /exclude/port-tmp/portage/dev-php/CakePHP-1.2.0.7962/work/CakePHP-1.2.0.7962: No such file or directory * Removing unnecessary 'empty' files ... [ ok ] * Cleaning up some files ... mv: cannot stat `cake/VERSION.txt': No such file or directory [ ok ] >>> Source unpacked. >>> Compiling source in /exclude/port-tmp/portage/dev-php/CakePHP-1.2.0.7962/work ... >>> Source compiled. >>> Test phase [not enabled]: dev-php/CakePHP-1.2.0.7962 >>> Install CakePHP-1.2.0.7962 into /exclude/port-tmp/portage/dev-php/CakePHP-1.2.0.7962/image/ category dev-php dodoc: cake_1.2.0.7962/docs/* does not exist install: cannot stat `cake_1.2.0.7962/.htaccess': No such file or directory install: cannot stat `cake_1.2.0.7962/*': No such file or directory * ebuild fault: file '/usr/share/webapps/CakePHP/1.2.0.7962/htdocs/app/tmp/' not found * Please report this as a bug at http://bugs.gentoo.org/ * * ERROR: dev-php/CakePHP-1.2.0.7962 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2857: Called webapp_serverowned 'src_install' * environment, line 3655: Called _webapp_serverowned 'src_install' * environment, line 286: Called webapp_checkfileexists '/usr/share/webapps/CakePHP/1.2.0.7962/htdocs/app/tmp/' '/usr/share/webapps/CakePHP/1.2.0.7962/htdocs/app/tmp/' * environment, line 3413: Called die * The specific snippet of code: * die "$msg"; * The die message: * ebuild fault: file '/usr/share/webapps/CakePHP/1.2.0.7962/htdocs/app/tmp/' not found * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/exclude/port-log/dev-php:CakePHP-1.2.0.7962:20090105-180824.log'. * The ebuild environment file is located at '/exclude/port-tmp/portage/dev-php/CakePHP-1.2.0.7962/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' * Changing line 7 to MY_P="${PV/_/-}" allows the emerge to complete, although it still complains the following: >>> Unpacking 1.2.0.7962.tar.gz to /exclude/port-tmp/portage/dev-php/CakePHP-1.2.0.7962/work /exclude/port-tmp/portage/dev-php/CakePHP-1.2.0.7962/temp/environment: line 2884: cd: /exclude/port-tmp/portage/dev-php/CakePHP-1.2.0.7962/work/CakePHP-1.2.0.7962: No such file or directory * Removing unnecessary 'empty' files ... [ ok ] * Cleaning up some files ... mv: cannot stat `cake/VERSION.txt': No such file or directory [ ok ] >>> Source unpacked. >>> Compiling source in /exclude/port-tmp/portage/dev-php/CakePHP-1.2.0.7962/work ... >>> Source compiled. >>> Test phase [not enabled]: dev-php/CakePHP-1.2.0.7962 >>> Install CakePHP-1.2.0.7962 into /exclude/port-tmp/portage/dev-php/CakePHP-1.2.0.7962/image/ category dev-php dodoc: 1.2.0.7962/docs/* does not exist I can attach a patch for the change on line 7, if desired. I haven't been around here long enough to know whether patches are desired for changes as trivial as that one liner. Thanks again, Noah
Created attachment 177523 [details, diff] Patches CakePHP-1.2.0.7296_rc2.ebuild to CakePHP-1.2.0.7962.ebuild
Created attachment 177525 [details] Ebuild for CakePHP-1.2.0.7962 tested on my ~amd64 box
Sorry guys, this was "blind hacking" without any testing! My bad! Thanks for the hint, Noah! Uploaded a new patch and a new ebuild that installs nicely on my box. Please test. At a later stage it might be interesting to add some use flags in order to reflect the three different installation methods (Development, Production, Advanced) mentioned on http://book.cakephp.org/view/32/Installation
Created attachment 179741 [details] New ebuild (version bump): CakePHP-1.2.1.8004.ebuild Please note that adjusting the name of the ebuild isn't sufficient. Unfortunately, downloading the CakePHP release archive requires a download ID that changes with every release. So with every new ebuild, this download ID has to be adjusted as well (DLID variable in the ebuild). Further, the directory structure within the archives seems to change from version to version, requiring (minor) adjustments in the ebuild. We might consider switching to Portage's SVN fetching mechanism later, hopefully avoiding some of these issues. Users/testers don't need to worry about this though. Just don't forget executing "ebuild CakePHP-1.2.1.8004.ebuild digest" before doing a "emerge -auDNv CakePHP". Also, make sure the "vhost" use flag is enabled for CakePHP in order to avoid unintentional overwriting of the DocumentRoot. Installing CakePHP on a virtualhost using webapp-config (set -h and -d appropriately; the best would be setting up a new empty virtualhost for CakePHP): webapp-config -I -h localhost -d cakephp CakePHP 1.2.1.8004 Updating CakePHP from a previous version (set -h and -d appropriately): webapp-config -U -h localhost -d cakephp CakePHP 1.2.1.8004 Removing CakePHP (set -h and -d appropriately): webapp-config -C -h localhost -d cakephp CakePHP Installs/updates nicely on my box, but YMMV. So please test, thx.
Daniel, Sorry, I didn't notice your updated ebuild until just today. I've tested it and it works great. Thanks, Noah
Created attachment 187343 [details] New ebuild (version bump): CakePHP-1.2.2.8120.ebuild
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Created attachment 190988 [details] New ebuild (version bump): CakePHP-1.2.3.8166.ebuild
Created attachment 201191 [details] New ebuild (version bump): CakePHP-1.2.4.8284.ebuild includes minor adjustments to reflect the changed download URI
Created attachment 201192 [details] New ebuild (version bump): CakePHP-1.2.3.8166.ebuild deleted left-over comment
any updated, the ebuild is 2 years old, CakePHP is still in development
*** Bug 216388 has been marked as a duplicate of this bug. ***