diff options
author | Stuart Herbert <stuart@gentoo.org> | 2004-12-18 23:36:10 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2004-12-18 23:36:10 +0000 |
commit | 5e3f5f047d49062b60b4b6f7e6ac5b74f9164cc1 (patch) | |
tree | 11f627d4661242f05d9646eb290ddbf7cc219961 /www-apps/wordpress | |
parent | Elimitate package conflict with x11-misc/shared-mime-info as per bug #74793. ... (diff) | |
download | gentoo-2-5e3f5f047d49062b60b4b6f7e6ac5b74f9164cc1.tar.gz gentoo-2-5e3f5f047d49062b60b4b6f7e6ac5b74f9164cc1.tar.bz2 gentoo-2-5e3f5f047d49062b60b4b6f7e6ac5b74f9164cc1.zip |
Version bump; see bug #74649
Diffstat (limited to 'www-apps/wordpress')
-rw-r--r-- | www-apps/wordpress/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/wordpress/files/digest-wordpress-1.2.2 | 1 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-1.2.2.ebuild | 75 |
3 files changed, 83 insertions, 1 deletions
diff --git a/www-apps/wordpress/ChangeLog b/www-apps/wordpress/ChangeLog index d604690b2346..03fdbc1b4032 100644 --- a/www-apps/wordpress/ChangeLog +++ b/www-apps/wordpress/ChangeLog @@ -1,10 +1,16 @@ # ChangeLog for www-apps/wordpress # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.7 2004/12/18 21:03:06 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.8 2004/12/18 23:36:10 stuart Exp $ 18 Dec 2004; Jason Wever <weeve@gentoo.org> wordpress-1.2-r1.ebuild: Stable on sparc. +*wordpress-1.2.2 (18 Dec 2004) + + 18 Dec 2004; Stuart Herbert <stuart@gentoo.org> +wordpress-1.2.2.ebuild: + Version bump; fixes bug 74649; thanks to Peter Westwood + (peter.westwood@ftwr.co.uk) for his help + 12 Oct 2004; <SeJo@gentoo.org> : stable on ppc gsla: 65798 diff --git a/www-apps/wordpress/files/digest-wordpress-1.2.2 b/www-apps/wordpress/files/digest-wordpress-1.2.2 new file mode 100644 index 000000000000..cc5df5067310 --- /dev/null +++ b/www-apps/wordpress/files/digest-wordpress-1.2.2 @@ -0,0 +1 @@ +MD5 b2e360de466a360c4a0683c12847c7d4 latest-1.2.2.tar.gz 250774 diff --git a/www-apps/wordpress/wordpress-1.2.2.ebuild b/www-apps/wordpress/wordpress-1.2.2.ebuild new file mode 100644 index 000000000000..e749ce40d909 --- /dev/null +++ b/www-apps/wordpress/wordpress-1.2.2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-1.2.2.ebuild,v 1.1 2004/12/18 23:36:10 stuart Exp $ +# Mostly ripped off from the squirrelmail ebuild! +# By Peter Westwood <peter.westwood@ftwr.co.uk> + +inherit webapp eutils + +#Wordpress releases have a release name tagged on the end of the version on the tar.gz files +#wordpress 1.2.1 has no extension +#MY_EXT="mingus" + +DESCRIPTION="Wordpress php and mysql based CMS system." +HOMEPAGE="http://wordpress.org/" +#Latest version is only available in the format! +#Download is renamed by HTTP Header as wordpress-1.2.2.tar.gz +SRC_URI="http://wordpress.org/latest-1.2.2.tar.gz" +LICENSE="GPL-2" +KEYWORDS="x86 ppc ~sparc" +IUSE="" +RDEPEND=">=dev-php/mod_php-4.1 + >=dev-db/mysql-3.23.23" + +DEPEND="${DEPEND} ${RDEPEND} >=net-www/webapp-config-1.10-r5" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} +# no patch needed anymore +# epatch ${FILESDIR}/${PV}/login-patch.diff +} + +src_install() { + local docs="license.txt readme.html" + + webapp_src_preinst + + einfo "Installing main files" + cp -r * ${D}${MY_HTDOCSDIR} + einfo "Done" + + # handle documentation files + # + # NOTE that doc files go into /usr/share/doc as normal; they do NOT + # get installed per vhost! + + dodoc ${docs} + for doc in ${docs} INSTALL; do + rm -f ${doc} + done + + # Identify the configuration files that this app uses + # User can want to make changes to these! + webapp_serverowned ${MY_HTDOCSDIR}/index.php + webapp_serverowned ${MY_HTDOCSDIR}/wp-layout.css + webapp_serverowned ${MY_HTDOCSDIR}/wp-admin/menu.php + webapp_serverowned ${MY_HTDOCSDIR} + + # Identify any script files that need #! headers adding to run under + # a CGI script (such as PHP/CGI) + # + # for wordpress, we *assume* that all .php files need to have CGI/BIN + # support added + + for x in `find . -name '*.php' -print ` ; do + webapp_runbycgibin php ${MY_HTDOCSDIR}/$x + done + + # post-install instructions + #webapp_postinst_txt en ${FILESDIR}/1.2/postinstall-en.txt + + # now strut stuff + webapp_src_install +} |