From 7a3cb38e67b7a31f3a3bfdcdca2dfbe9c94e7438 Mon Sep 17 00:00:00 2001 From: Stefan Briesenick Date: Sat, 30 Jun 2012 15:44:51 +0000 Subject: EAPI=4, added PHP 5.3 patch, added optional plugins. (Portage version: 2.2.0_alpha114/cvs/Linux x86_64) --- www-apps/sitebar/ChangeLog | 10 ++++-- www-apps/sitebar/files/inc_writer.inc.php.diff | 11 +++++++ www-apps/sitebar/metadata.xml | 3 ++ www-apps/sitebar/sitebar-3.3.9-r2.ebuild | 44 ++++++++++++++++++++++++++ 4 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 www-apps/sitebar/files/inc_writer.inc.php.diff create mode 100644 www-apps/sitebar/sitebar-3.3.9-r2.ebuild (limited to 'www-apps') diff --git a/www-apps/sitebar/ChangeLog b/www-apps/sitebar/ChangeLog index 72054f423eed..ea2f504e5079 100644 --- a/www-apps/sitebar/ChangeLog +++ b/www-apps/sitebar/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/sitebar -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/sitebar/ChangeLog,v 1.25 2010/09/11 15:18:00 mabi Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/sitebar/ChangeLog,v 1.26 2012/06/30 15:44:50 sbriesen Exp $ + +*sitebar-3.3.9-r2 (30 Jun 2012) + + 30 Jun 2012; Stefan Briesenick + +sitebar-3.3.9-r2.ebuild, +files/inc_writer.inc.php.diff, metadata.xml: + EAPI=4, added PHP 5.3 patch, added optional plugins. 11 Sep 2010; Matti Bickel sitebar-3.3.9-r1.ebuild: change virtual/php to virtual/httpd-php (bug #319623) diff --git a/www-apps/sitebar/files/inc_writer.inc.php.diff b/www-apps/sitebar/files/inc_writer.inc.php.diff new file mode 100644 index 000000000000..65b6e82b148a --- /dev/null +++ b/www-apps/sitebar/files/inc_writer.inc.php.diff @@ -0,0 +1,11 @@ +--- inc/writer.inc.php.orig 2010-03-07 19:20:51.000000000 +0100 ++++ inc/writer.inc.php 2011-10-07 15:30:29.000000000 +0200 +@@ -624,7 +624,7 @@ + + class SB_WriterInterfaceXML extends SB_WriterInterface + { +- function SB_WriterInterface() ++ function SB_WriterInterfaceXML() + { + $this->SB_WriterInterface(); + } diff --git a/www-apps/sitebar/metadata.xml b/www-apps/sitebar/metadata.xml index 95c06f0095bb..0a675a9d4540 100644 --- a/www-apps/sitebar/metadata.xml +++ b/www-apps/sitebar/metadata.xml @@ -2,4 +2,7 @@ web-apps + + Install optional plugins + diff --git a/www-apps/sitebar/sitebar-3.3.9-r2.ebuild b/www-apps/sitebar/sitebar-3.3.9-r2.ebuild new file mode 100644 index 000000000000..a261105d3af4 --- /dev/null +++ b/www-apps/sitebar/sitebar-3.3.9-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/sitebar/sitebar-3.3.9-r2.ebuild,v 1.1 2012/06/30 15:44:50 sbriesen Exp $ + +EAPI=4 + +inherit base webapp + +MY_P="SiteBar-${PV}" + +DESCRIPTION="The Bookmark Server for Personal and Team Use" +HOMEPAGE="http://sitebar.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2 + plugins? ( + mirror://sourceforge/${PN}/SiteBarPluginIMAP_3.3.7_1.1.zip + mirror://sourceforge/${PN}/SiteBarPluginLDAP_3.3.7_1.1.zip + mirror://sourceforge/${PN}/SiteBarPluginMailGate_3.3.7_1.0.4.zip + mirror://sourceforge/${PN}/SiteBarPluginMessenger_3.3.7_1.2.zip + mirror://sourceforge/${PN}/SiteBarPluginXBELSync_3.3.7_1.1.zip + )" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="plugins" + +DEPEND="virtual/httpd-php" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}/inc_writer.inc.php.diff" ) # PHP 5.3 patch +DOCS=( readme.txt doc/history.txt doc/install.txt doc/troubleshooting.txt ) + +src_install() { + webapp_src_preinst + base_src_install_docs + cp -R . "${D}/${MY_HTDOCSDIR}" + use plugins && cp -R "${WORKDIR}/plugins/." "${D}/${MY_HTDOCSDIR}/plugins/." + rm -rf "${D}/${MY_HTDOCSDIR}/doc" "${D}/${MY_HTDOCSDIR}/readme.txt" + + webapp_serverowned "${MY_HTDOCSDIR}/inc" + webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" + + webapp_src_install +} -- cgit v1.2.3-65-gdbad