From 94c96c59505d76b6b641946d74cd9dfda8243d28 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Sun, 20 Dec 2009 22:01:06 +0000 Subject: Bump amapche to 3.5.3, previous versions have security issues. (Portage version: 2.1.6.13/cvs/Linux x86_64) --- www-apps/ampache/ampache-3.5.3.ebuild | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 www-apps/ampache/ampache-3.5.3.ebuild (limited to 'www-apps/ampache/ampache-3.5.3.ebuild') diff --git a/www-apps/ampache/ampache-3.5.3.ebuild b/www-apps/ampache/ampache-3.5.3.ebuild new file mode 100644 index 000000000000..ae1130e879f3 --- /dev/null +++ b/www-apps/ampache/ampache-3.5.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/ampache/ampache-3.5.3.ebuild,v 1.1 2009/12/20 22:01:06 marineam Exp $ + +inherit webapp depend.php + +DESCRIPTION="Ampache is a PHP-based tool for managing, updating and playing your audio files via a web interface." +HOMEPAGE="http://www.ampache.org/" +SRC_URI="http://www.ampache.org/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="" + +need_httpd_cgi +need_php_httpd + +pkg_setup() { + webapp_pkg_setup + require_php_with_use pcre session unicode iconv xml mysql gd zlib +} + +src_install() { + webapp_src_preinst + + dodoc docs/* + rm -rf docs/ + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_postinst_txt en "${FILESDIR}"/installdoc.txt + webapp_src_install +} + +pkg_postinst() { + elog "Install and upgrade instructions can be found here:" + elog " /usr/share/doc/${P}/INSTALL.gz" + elog " /usr/share/doc/${P}/MIGRATION.gz" + webapp_pkg_postinst +} -- cgit v1.2.3-65-gdbad