commit: 92ab6fba5eb975063b7ca137ad5cd4054e8fcefe Author: cpuid <cpuid <AT> localhost> AuthorDate: Sat Jul 5 04:43:19 2008 +0000 Commit: Pavlos Ratis <dastergon <AT> gentoo <DOT> org> CommitDate: Sat Jul 5 04:43:19 2008 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/webapps-experimental.git;a=commit;h=92ab6fba
update for 1.2 series to RC2 (build 7296), tested and works fine. svn path=/experimental/; revision=850 --- www-apps/cake/ChangeLog | 6 ++++ www-apps/cake/Manifest | 4 ++- www-apps/cake/cake-1.2.0.7296.ebuild | 63 ++++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 1 deletion(-) diff --git a/www-apps/cake/ChangeLog b/www-apps/cake/ChangeLog index 8338e27..bed664a 100644 --- a/www-apps/cake/ChangeLog +++ b/www-apps/cake/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 05 Jul 2008; Nathan Sullivan <nat...@nightsys.net> + +cake-1.2.0.7296.ebuild: + updated ebuild for RC2, beware of warnings/deprecated etc about vendor() + -> App::import, only main issue ive noticed so far. not really an issue + just an upgrade note :) otherwise all fine + 24 Jun 2008; Nathan Sullivan <nat...@nightsys.net> +cake-1.2.0.6311.ebuild: version bump to new 1.2 series diff --git a/www-apps/cake/Manifest b/www-apps/cake/Manifest index 41f6a0c..96d5650 100644 --- a/www-apps/cake/Manifest +++ b/www-apps/cake/Manifest @@ -1,7 +1,9 @@ AUX postinstall-en.txt 1087 RMD160 27a49e407a0971627b18a9894beae430da1a95d8 SHA1 aaafe11d12f269dda002bd5e99341ba800801c85 SHA256 d57b04a64a34cc3f3825c1d36c16359529fef6a20e727975d6bf2ee491343b06 DIST cake_1.1.18.5850.tar.bz2 162144 RMD160 bfe266b539307325d2ca66f57596e2152923e578 SHA1 6672338d2b7c6a9778428077286c6b97bfbf615f SHA256 1e6b91b22ed094e6e67546ff4eb58d911e490853da0d98f27dc491ad1204ea95 DIST cake_1.2.0.6311.tar.bz2 432880 RMD160 df8bd0b2b64581824bcda3b3364d5cc4e317679d SHA1 17f57fcbd13aad6a81d26546d1c28f1c4bd02a2b SHA256 94860e87c9bdce6fa1023bfc32bf90f360941f5bf5af516f69291ed791ef4792 +DIST cake_1.2.0.7296.tar.bz2 563514 RMD160 b836a9fb5a151b62ee1fed0999c77961a25fe18a SHA1 8e15073b240f80e21f61b823ca8570cedb06ff3c SHA256 3bd15e609f5225a99f5e55ead382693e9837624d4fabacea515475db0590a5df EBUILD cake-1.1.18.5850.ebuild 1753 RMD160 158ea91487db8f961fa7cf13b88489239d48bd4f SHA1 50c8fdb220ec17ed122d44e589b50d5fdbc5403d SHA256 413d517c69fd55bd0889a356683767c1224008326d7af13b2eb3385348612ae5 EBUILD cake-1.2.0.6311.ebuild 1760 RMD160 3c84ec835943493f6737d6d0064dabd715ed90ea SHA1 ca8017d241c1f8da56ae90f74854070cbe1dea28 SHA256 24ba2ee20b54c9178531927129254753cdb94f3d81fa56482137667e65cca203 -MISC ChangeLog 616 RMD160 4c830313dc83852ccfc6c68792a1a807c6f0f7a8 SHA1 559ab91984edaa015c356bff1a4e4cf2eeaf9795 SHA256 cf3a5f0b46215cea7a0804ebfa057cb1e0062da3a958450efd806929c6032b25 +EBUILD cake-1.2.0.7296.ebuild 1759 RMD160 4e8d69b07a2a3217088b7b788154b5bc34bee119 SHA1 dc23e1a00c6674e8c88ef62e06ce18cd5149901e SHA256 9c630aad15091718a60eab0e3db761002f5606cc0eeef955cf1f016f8eb81af0 +MISC ChangeLog 891 RMD160 843ed361a76ba193e0065ef9dc2aad11e65b5500 SHA1 3e466c62c27eb2677a40ec67ae8db3b3ea3ca995 SHA256 75642efd964ee7e1eac2b4c8b33dd42abe67efa55e0d3554a2d035b850844218 MISC metadata.xml 185 RMD160 30ae785ddd1a348aadf63a6e048aa58d606f7643 SHA1 515cf211239faff08ee0db8d0c5e31e63f130dac SHA256 50ea7b31f12cdf7d828e64c52756c0afdaa3982061a0ffcd25961c1c13e9e136 diff --git a/www-apps/cake/cake-1.2.0.7296.ebuild b/www-apps/cake/cake-1.2.0.7296.ebuild new file mode 100644 index 0000000..510a92c --- /dev/null +++ b/www-apps/cake/cake-1.2.0.7296.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp depend.php + +DESCRIPTION="A rapid development framework for PHP" +HOMEPAGE="http://cakephp.org/" + +# Ugly hack until the source is provided w/o going through the donation +# interstitial and to handle the underscore... +MY_P="${PN}_${PV}" +DLID="637" +SRC_URI="http://cakeforge.org/frs/download.php/${DLID}/${MY_P}.tar.bz2/donation=complete/${MY_P}.tar.bz2" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +IUSE="adodb" + +RDEPEND="virtual/httpd-cgi + adodb? ( dev-php/adodb )" + +need_php_httpd + +S="${WORKDIR}/${MY_P}-rc2" + +pkg_setup () { + webapp_pkg_setup + + local flags="xml session" + local dbflags="mysql postgres sqlite" + if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} || \ + ( ! use adodb && ! PHPCHECKNODIE="yes" require_php_with_any_use ${dbflags} ) ; then + die "Re-install ${PHP_PKG} with ${flags} and at least one of ${dbflags} USE flags enabled." + elif + use adodb && ! PHPCHECKNODIE="yes" require_php_with_any_use ${dbflags} ; then + ewarn + ewarn "Assuming you are going to use ADOdb wrapper for database backend." + ewarn "You are on you own with this. Unless you know what you are doing," + ewarn "you should re-emerge ${PHP_PKG} with at least one of" + ewarn "${dbflags} USE flags enabled." + else + einfo "All PHP checks passed, continue..." + fi +} + +src_install() { + webapp_src_preinst + + dodoc docs/* + rm -rf docs/ + + cp app/config/database.php.default app/config/database.php + cp -r . "${D}"/${MY_HTDOCSDIR} + + webapp_serverowned -R "${MY_HTDOCSDIR}"/app/tmp + for i in app/config/*.php ; do + webapp_configfile ${MY_HTDOCSDIR}/${i} + done + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +}