diff options
-rw-r--r-- | www-apps/phpusertrack/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/phpusertrack/Manifest | 4 | ||||
-rw-r--r-- | www-apps/phpusertrack/metadata.xml | 5 | ||||
-rw-r--r-- | www-apps/phpusertrack/phpusertrack-0.7.0.ebuild | 52 |
4 files changed, 69 insertions, 0 deletions
diff --git a/www-apps/phpusertrack/ChangeLog b/www-apps/phpusertrack/ChangeLog new file mode 100644 index 0000000..203c9f8 --- /dev/null +++ b/www-apps/phpusertrack/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for www-apps/phpusertrack +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 19 Feb 2008; Jakub Moc <jakub@gentoo.org> +metadata.xml, + +phpusertrack-0.7.0.ebuild: + New ebuild, bug Bug 196870 + diff --git a/www-apps/phpusertrack/Manifest b/www-apps/phpusertrack/Manifest new file mode 100644 index 0000000..369761e --- /dev/null +++ b/www-apps/phpusertrack/Manifest @@ -0,0 +1,4 @@ +DIST phpUserTrack-0.7.0.tar.gz 5411369 RMD160 3a108918603641ad3d0cf27c2569265f0fb9f940 SHA1 1b6f035fe4e2cb8b28ea56d4f1f5574589b10130 SHA256 79f750a42fe9157ea1163fe9d7887548ec6d458f4c835a14b0864309c26e5f14 +EBUILD phpusertrack-0.7.0.ebuild 1353 RMD160 410db2079488b1bc4b8205afd35b76f2202c197a SHA1 7e58227d5842a87286a5fc58c25b54bc359b8e1d SHA256 a2f345f30f9b90529b6403bfb3f41d41a274f7cfc852bb17ded75994354e4b71 +MISC ChangeLog 241 RMD160 f69e4da191c8d67873dc4f090941ecb39399fb02 SHA1 07ddf936126c1811921fe548fbf51fa4935dfec0 SHA256 80f457806dffe7b484ccf30a780017d5b84eb83051dd77ca5c93de3364e81aef +MISC metadata.xml 162 RMD160 0b015f5ff17c4d8e7aee826d48b326cc19b1fed4 SHA1 671b30dafbea01228c8bb606af451a0795922840 SHA256 84ff2fc6c9a4af1b9dbe32aa81ab84c2958bc1bd65a9977686df2dcab6e420d0 diff --git a/www-apps/phpusertrack/metadata.xml b/www-apps/phpusertrack/metadata.xml new file mode 100644 index 0000000..6632069 --- /dev/null +++ b/www-apps/phpusertrack/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>web-apps</herd> +</pkgmetadata> diff --git a/www-apps/phpusertrack/phpusertrack-0.7.0.ebuild b/www-apps/phpusertrack/phpusertrack-0.7.0.ebuild new file mode 100644 index 0000000..b63a9f6 --- /dev/null +++ b/www-apps/phpusertrack/phpusertrack-0.7.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp depend.php + +PHPUSERTRACK_PHP_FEATURES="session mysqli" + +MY_PN="phpUserTrack" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="A site statistic collection and analyzation program written in PHP." +SRC_URI="http://phpusertrack.com/downloads/${MY_P}.tar.gz" +HOMEPAGE="http://www.phpusertrack.com/" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc sparc ~x86" +IUSE="geoip" + +DEPEND="" +RDEPEND="virtual/httpd-cgi + dev-php/PEAR-MDB2_Driver_mysqli" + # geoip? ( dev-php/PEAR-Net_GeoIP ) + +need_php_httpd + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + local flags="session" # mysqli already checked for by dev-php/PEAR-MDB2_Driver_mysqli + if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} || \ + ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then + die "Re-install ${PHP_PKG} with ${flags} and either gd or gd-external" + fi + webapp_pkg_setup +} + +src_install () { + webapp_src_preinst + + dodoc ChangeLog + rm -f ChangeLog INSTALL + + mv conf/conf.php.dist conf/conf.php + cp -r . "${D}/${MY_HTDOCSDIR}" + + webapp_serverowned "${MY_HTDOCSDIR}"/templates_c + webapp_serverowned "${MY_HTDOCSDIR}"/cache + webapp_configfile "${MY_HTDOCSDIR}"/conf/conf.php + webapp_sqlscript mysql scripts/mysql/create_database.sql + + webapp_src_install +} |