From a0aedac3cc8073a83d1fe15c43b2a79b40475076 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Fri, 15 Feb 2008 11:38:30 +0000 Subject: [PATCH] Added b2evolution-1.10.3 and 2.4.0_rc2 in response to request #203367. Package-Manager: portage-2.1.4_rc7 --- www-apps/b2evolution/ChangeLog | 12 ++++- www-apps/b2evolution/Manifest | 21 ++++++-- .../b2evolution/b2evolution-1.10.3.ebuild | 53 ++++++++++++++++++ .../b2evolution/b2evolution-2.4.0_rc2.ebuild | 54 +++++++++++++++++++ www-apps/b2evolution/files/postinstall-en.txt | 20 +++++-- www-apps/b2evolution/files/postupgrade-en.txt | 6 +++ www-apps/b2evolution/metadata.xml | 4 -- 7 files changed, 156 insertions(+), 14 deletions(-) create mode 100644 www-apps/b2evolution/b2evolution-1.10.3.ebuild create mode 100644 www-apps/b2evolution/b2evolution-2.4.0_rc2.ebuild create mode 100644 www-apps/b2evolution/files/postupgrade-en.txt diff --git a/www-apps/b2evolution/ChangeLog b/www-apps/b2evolution/ChangeLog index 021fdf5fe525..cce86d84b2a9 100644 --- a/www-apps/b2evolution/ChangeLog +++ b/www-apps/b2evolution/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for www-apps/b2evolution -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/ChangeLog,v 1.26 2007/08/15 20:03:23 wrobel Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/ChangeLog,v 1.27 2008/02/15 11:38:29 wrobel Exp $ + +*b2evolution-2.4.0_rc2 (15 Feb 2008) +*b2evolution-1.10.3 (15 Feb 2008) + + 15 Feb 2008; Gunnar Wrobel files/postinstall-en.txt, + +files/postupgrade-en.txt, metadata.xml, +b2evolution-1.10.3.ebuild, + +b2evolution-2.4.0_rc2.ebuild: + Added b2evolution-1.10.3 and 2.4.0_rc2 in response to request #203367. 15 Aug 2007; -b2evolution-0.9.1.ebuild: Removed vulnerable b2evolution-0.9.1 (see #162171). diff --git a/www-apps/b2evolution/Manifest b/www-apps/b2evolution/Manifest index aa40cacffe61..672f4df2f321 100644 --- a/www-apps/b2evolution/Manifest +++ b/www-apps/b2evolution/Manifest @@ -1,5 +1,20 @@ -AUX postinstall-en.txt 340 RMD160 41bfb67810c28da6f41ba53e1d26478707682bcb SHA1 78cfe35015e23d3ae0a20e48ed445b3a64905c18 SHA256 894883c46bca9d7184b3a750ae58624578c716a5a1023225ce9989a8fe32665d +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX postinstall-en.txt 611 RMD160 2bb9baca0780104f37d09efb45cb2534b3be2c34 SHA1 d4df4c12b9e2e0856bae24657f31f2875e1bc528 SHA256 2333fda76f492a6700bccd4b1121cec4a02f2e419141fa11b9555ff4ef25aa99 +AUX postupgrade-en.txt 214 RMD160 ba1b754812b59c158c9e89a3d4b6e174ec4791e2 SHA1 a6b022e64f47932744858bf03f24a35c8ccaebc0 SHA256 312ce51eb9413b0a127a63dad962a7de17a0a3c99d64abeeb282e9f6edbcb837 DIST b2evolution-1.10.2-2007-06-08.zip 2555991 RMD160 4670689fdfaa8ad550c34b2d805c53c5a7b572a3 SHA1 db548ee50248c134088aee829dab0c5daf6b25fb SHA256 d625ff54618a2a668dd8b7912495fb0fdb473efee33293d359b342aeb5545225 +DIST b2evolution-1.10.3-2007-11-01.zip 2547297 RMD160 62261ff5a2f27ae85ff8df953b89b18a5169c770 SHA1 88c706b8de1475c3f3ab4fde6919448d41256d22 SHA256 d6a5c944acb9e4fc0f7c58f37fc72253641211388f22eb380b411a3ccd26dd99 +DIST b2evolution-2.4.0-rc2-2008-01-23.zip 2916300 RMD160 8f835c5befd46123ed6abb6710783bb6efe52ea2 SHA1 b0720e0388f20a81c07951ec7cffeee829ca3762 SHA256 341cafb438beba8a940456a954d232b7667fc2f996478d4b73d029e5180608f5 EBUILD b2evolution-1.10.2.ebuild 1486 RMD160 c0e8ceb7f528a9e9c0d46dccc5ee2841ae951b0d SHA1 fe3ec3c785ca5e980e1bc85038baf6db51e13c59 SHA256 d1783c0a97e5a00fcab2714d325ae5e998f8a43bad339eb58c5389b931a7084b -MISC ChangeLog 4285 RMD160 27d014ddeece4e02a96dcd0b42a68ffe5aaca721 SHA1 4c4b728f860a97f5a4619e3e1d1ef8860c4d3c53 SHA256 9501143bc6178496d328e2123d4436501e449f10e43ff0f5b502c1b4ade66dc7 -MISC metadata.xml 247 RMD160 d614869009a6c5c10b1675ae724b30b9a40ee9e6 SHA1 8f019e8217ba1c85346608c369b94f190af1eac6 SHA256 51d7089e9b7fc2bab9592df63ddbcb8e28ec1cfe575a5b77c6bd63381079776e +EBUILD b2evolution-1.10.3.ebuild 1367 RMD160 1ed6e5b9242c88a71ade88201667c2f5e9cc97c4 SHA1 18c72870db0a5b45edd7d2ecccccf6e281eb8d52 SHA256 81a362c960c6cea320f8fba813e6d6f78c63e15237d259025b66c46ae9ca471c +EBUILD b2evolution-2.4.0_rc2.ebuild 1430 RMD160 dffa2e7bed4a7d05bfe0c9cdaaa374057dc138fb SHA1 c66a5fcda76a1fc0514e28d896912678675a4448 SHA256 55cb78def5831d7abc37c133402a6c63ea52b73643e8310889431f5a39118ae0 +MISC ChangeLog 4610 RMD160 52328d9621385635d3a89ef62ddaa5656c17aa6b SHA1 8129a04403ab81adb9517a7b57aa9b230d868d31 SHA256 fd9036768767e23a6679ad6f402baab1537b777d2d56b869b12a9ded4f79d5eb +MISC metadata.xml 162 RMD160 4ad46c4acf987b979efc4e20f22d108995db9ba1 SHA1 265e5ffb0f8fd3228245177e07699137ed264f23 SHA256 19960a47b6e13100c93644c0f6cbe3a7529abb297ebf907f893a86dd8c2e3572 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFHtXm7EEcxCpcDQ74RApVsAJ9zhihp2k/H0qBoY0x3zAq43OJrnACgleT3 +R54VkoLvrN5Czdd1Wmhdl8A= +=Gv4Q +-----END PGP SIGNATURE----- diff --git a/www-apps/b2evolution/b2evolution-1.10.3.ebuild b/www-apps/b2evolution/b2evolution-1.10.3.ebuild new file mode 100644 index 000000000000..50efb9328288 --- /dev/null +++ b/www-apps/b2evolution/b2evolution-1.10.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/b2evolution-1.10.3.ebuild,v 1.1 2008/02/15 11:38:29 wrobel Exp $ + +inherit webapp eutils depend.php + +MY_EXT="2007-11-01" +MY_PV=${PV/_/-} + +DESCRIPTION="Multilingual multiuser multi-blog engine" +HOMEPAGE="http://www.b2evolution.net" +SRC_URI="mirror://sourceforge/evocms/${PN}-${MY_PV}-${MY_EXT}.zip" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + app-arch/unzip" + +need_php + +S="${WORKDIR}/${PN}" + +pkg_setup() { + webapp_pkg_setup + has_php + if [[ ${PHP_VERSION} == "4" ]]; then + require_php_with_use expat tokenizer mysql + else + require_php_with_use xml tokenizer mysql + fi +} + +src_install() { + webapp_src_preinst + + einfo "Installing main files" + cp -r blogs/* "${D}"${MY_HTDOCSDIR} + einfo "Done" + + dodoc doc/license.txt doc/install_new.html doc/upgradefrom_b2evo.html doc/upgradefrom_b2.html \ + doc/upgradefrom_mt.html + + # Identify the configuration files that this app uses + webapp_serverowned ${MY_HTDOCSDIR} + webapp_serverowned ${MY_HTDOCSDIR}/conf/_basic_config.php + webapp_configfile ${MY_HTDOCSDIR}/conf/_{basic_config,advanced,locales,formatting,admin,stats,application}.php + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +} diff --git a/www-apps/b2evolution/b2evolution-2.4.0_rc2.ebuild b/www-apps/b2evolution/b2evolution-2.4.0_rc2.ebuild new file mode 100644 index 000000000000..fdbb7af5e326 --- /dev/null +++ b/www-apps/b2evolution/b2evolution-2.4.0_rc2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/b2evolution-2.4.0_rc2.ebuild,v 1.1 2008/02/15 11:38:29 wrobel Exp $ + +inherit webapp eutils depend.php + +MY_EXT="2008-01-23" +MY_PV=${PV/_/-} + +DESCRIPTION="Multilingual multiuser multi-blog engine" +HOMEPAGE="http://www.b2evolution.net" +SRC_URI="mirror://sourceforge/evocms/${PN}-${MY_PV}-${MY_EXT}.zip" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + app-arch/unzip" + +need_php + +S="${WORKDIR}/${PN}" + +pkg_setup() { + webapp_pkg_setup + has_php + if [[ ${PHP_VERSION} == "4" ]]; then + require_php_with_use expat tokenizer mysql + else + require_php_with_use xml tokenizer mysql + fi +} + +src_install() { + webapp_src_preinst + + einfo "Installing main files" + cp -r blogs/* "${D}"${MY_HTDOCSDIR} + einfo "Done" + + dodoc doc/license.txt doc/install_new.html doc/upgradefrom_b2evo.html doc/upgradefrom_b2.html \ + doc/upgradefrom_mt.html + + # Identify the configuration files that this app uses + webapp_serverowned ${MY_HTDOCSDIR} + webapp_serverowned ${MY_HTDOCSDIR}/conf/_basic_config.php + webapp_configfile ${MY_HTDOCSDIR}/conf/_{basic_config,advanced,locales,formatting,admin,stats,application}.php + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt + + webapp_src_install +} diff --git a/www-apps/b2evolution/files/postinstall-en.txt b/www-apps/b2evolution/files/postinstall-en.txt index 0efe6a1a8208..9361877c2608 100644 --- a/www-apps/b2evolution/files/postinstall-en.txt +++ b/www-apps/b2evolution/files/postinstall-en.txt @@ -1,7 +1,17 @@ -Please read the docs before installing or upgrading. +You will need to provide a database for your b2evolution installation. -For initial installations, you need to go to the "install" page, which can be found at (for example:) -http://localhost/b2evolution/install/ +This assumes you have some knowledge of MySQL, and already have it +installed and configured. If not, please refer to the Gentoo MySQL +guide at the following URL: -Note that b2evolutions suggested upgrade procedure involves saving your customisations, wiping the directory, and -installing the newer version. +http://www.gentoo.org/doc/en/mysql-howto.xml + +Once you have a database ready all you need to do is to go to this +location + +http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install + +and provide the credentials required for the database access. + +Note the administrator password b2evolution will provide and after +logging in with these credentials you can start to use the application. diff --git a/www-apps/b2evolution/files/postupgrade-en.txt b/www-apps/b2evolution/files/postupgrade-en.txt new file mode 100644 index 000000000000..9e01eaba38c7 --- /dev/null +++ b/www-apps/b2evolution/files/postupgrade-en.txt @@ -0,0 +1,6 @@ +Please go to this location + +http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install/index.php + +and select "Upgrade from a previous version of b2evolution" after +providing the credentials required for the database acces. diff --git a/www-apps/b2evolution/metadata.xml b/www-apps/b2evolution/metadata.xml index c6a37f4a3be4..e125fba8f543 100644 --- a/www-apps/b2evolution/metadata.xml +++ b/www-apps/b2evolution/metadata.xml @@ -2,9 +2,5 @@ web-apps - - dsd@gentoo.org - Daniel Drake - -- 2.26.2