diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
commit | e3872864be25f7421015bef2732fa57c0c9fb726 (patch) | |
tree | 9cb29a544215119b5c5538e37211b994ce1c87ae /www-apps/openwebstats | |
parent | 480486b52ea64765faf696c88b2c6a26a5a454d4 (diff) |
gentoo resync : 04.08.2018
Diffstat (limited to 'www-apps/openwebstats')
-rw-r--r-- | www-apps/openwebstats/Manifest | 5 | ||||
-rw-r--r-- | www-apps/openwebstats/files/config.php | 46 | ||||
-rw-r--r-- | www-apps/openwebstats/files/postinstall-en.txt | 36 | ||||
-rw-r--r-- | www-apps/openwebstats/metadata.xml | 11 | ||||
-rw-r--r-- | www-apps/openwebstats/openwebstats-1.1.ebuild | 40 |
5 files changed, 0 insertions, 138 deletions
diff --git a/www-apps/openwebstats/Manifest b/www-apps/openwebstats/Manifest deleted file mode 100644 index dcca3284eec8..000000000000 --- a/www-apps/openwebstats/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX config.php 2106 BLAKE2B 727e4dca51bcf691399041e260d3318382a6e97e2a23d15f1b93473fc744ab853c3c2a97782b3cfa2c2062aca7fce1563757925bee9dc46712a344cc12d8657f SHA512 c4db28cffb2dd83bf54f483d57468cd0602680d8b40f471fb063a37a4a4ca3968157ef9aa0209c26d97a86855a1863c0908779bab0e54f6fe3b747cc38a887b2 -AUX postinstall-en.txt 1245 BLAKE2B 50f54e2cd971c13d120a2664beb3a569c74b9350fbf13988021911efb24063dd894837e951b1250f45fa828b314a0c10cc00dc1afb137b96982dcd7ee720c884 SHA512 b814a821aa70c1dbaa736976a7dc19c9589efa3f50cbb2686ce9059c339304bd224d7849265a64725805ee86463e948a15c24e2c807cef05a6f625bb463bc78a -DIST openwebstats-1.1.tar.gz 163477 BLAKE2B 1fde6928746e6e43b9713eae02078d50567753040966403e736936131ab1c4f1eaa7827848d873bc17cf346080365689a02559f95a3d35f6ac9541c597ecc6af SHA512 882a8aa672703e978282550437ea9944bc44c424c3a157acd10f35a42681721de4bd5dde60aa9e57e15d3b986b1b4d1c9f0e4adf0360a0d569aa46720b4e2eec -EBUILD openwebstats-1.1.ebuild 879 BLAKE2B 765205548b47e22d4f9404c6d6393e3e0d0cc6f44301bea5d6b4b1a5b50387d8e095be4fccd4c719b4d3b4c50e8e1eb73632ab7b87c9c1fcbc1ee05043a9a089 SHA512 740e212a8de1315da1494f64a71eadf74ce24ff88a8537df800f14e7387f6af50b6a3c44c47f8e9bd090ae6c75a9ec59ee7723d88796be05efb7983cb1712d5c -MISC metadata.xml 332 BLAKE2B bfdbd52b41802fcbf1f331c475605684db0925455ca692c2ce8755c95a753709016906d29878bd86d60d6cbdbc3f5e520db46bbd8953efad86103c34645d308c SHA512 b3a5cd09143fa07cc7f0ebaed3382a34bd6ddfa0e28f4540a01356be6d4d4b4367dcf2b6ec901179526f1deb5f66ced1503dbe8fcf9e41b7addd400dde6dadaa diff --git a/www-apps/openwebstats/files/config.php b/www-apps/openwebstats/files/config.php deleted file mode 100644 index 5523397582b4..000000000000 --- a/www-apps/openwebstats/files/config.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php -################################################################################ -## OpenWebStats Version 1.0 ## -## ## -## (c)2005 mathews_dm - <Davidmathews@open-creations.com> ## -## ## -################################################################################ -## Please read the README! ## -################################################################################ - -########################################## -## Define Globals for OpenWebStats ## -########################################## -global $openstats_web_dir, $databasename; - -if (!defined("logformat_combined")) -{ - define("logformat_combined", "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"", TRUE); - define("logformat_combined_vhost", "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"", TRUE); - define("logformat_common" , "%h %l %u %t \"%r\" %>s %b", TRUE); - define("logformat_referer" , "%{Referer}i -> %U", TRUE); - define("logformat_agent" , "%{User-agent}i", TRUE); -} - -########################################## -## Database information below here ## -########################################## -$databaselocation = 'localhost'; -$databaseport = '3306'; -$databasename = 'ows'; -$databaseuser = 'ows'; -$databasepass = 'pass'; -$db_connect = mysql_connect($databaselocation, $databaseuser, $databasepass); -mysql_select_db($databasename, $db_connect); - -########################################## -## Logfile and Logformat are for the db ## -## import in the class_apache file. ## -## $openstatsdir is the install dir on ## -## your system. ## -########################################## -$openstats_web_dir = '/openwebstats'; // Remember to include the stats dir -$logfile = "/var/log/apache2/access_log"; -$logformat = logformat_combined; //example: $logformat = logformat_combined_vhost; - -?> diff --git a/www-apps/openwebstats/files/postinstall-en.txt b/www-apps/openwebstats/files/postinstall-en.txt deleted file mode 100644 index ed4c7cd9260e..000000000000 --- a/www-apps/openwebstats/files/postinstall-en.txt +++ /dev/null @@ -1,36 +0,0 @@ ------------------------------------------------------------------------- -INSTALLATION - -The ebuild installs most parts of openwebstats automatically, but -you will have to create a database for the apache log records. - -You can do this using the following commands as the mysql root user: - -> mysql -u root -p -e "CREATE DATABASE ows; - GRANT CREATE, SELECT, INSERT, UPDATE, DELETE ON ows.* TO 'ows'@'localhost' - IDENTIFIED BY 'pass'; - FLUSH PRIVILEGES;" - -Please do not forget to choose a password that is more sensible than -'pass' ;) - -Now as user "ows": - -> mysql -u ows -ppass ows < ${MY_SQLSCRIPTSDIR}/mysql/${PV}_create.sql - -You also need to set the MySQL passwords for the ows user in -the ${MY_INSTALLDIR}/config.php file -so that openwebstats can access the database. - -If you use a special logfile format for your web server you should -also modify the log format in the config.php file. - -Make sure your access_log is readable if you want to use the update -function of the web frontend. - -> chmod 644 /var/log/apache2/access_log - -Now you can go to http://${VHOST_HOSTNAME}/${VHOST_APPDIR} and use the -application. - ------------------------------------------------------------------------- diff --git a/www-apps/openwebstats/metadata.xml b/www-apps/openwebstats/metadata.xml deleted file mode 100644 index 5551d3efd112..000000000000 --- a/www-apps/openwebstats/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>web-apps@gentoo.org</email> - <name>Gentoo Webapps</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">openwebstats</remote-id> - </upstream> -</pkgmetadata> diff --git a/www-apps/openwebstats/openwebstats-1.1.ebuild b/www-apps/openwebstats/openwebstats-1.1.ebuild deleted file mode 100644 index 037e16bdcce6..000000000000 --- a/www-apps/openwebstats/openwebstats-1.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit webapp - -DESCRIPTION="PHP stats app that reads Apache logs and imports the data into a MySQL database" -HOMEPAGE="http://openwebstats.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~x86" -IUSE="" - -DEPEND="dev-lang/php" - -S=${WORKDIR}/${PN} - -src_install() { - webapp_src_preinst - - dodoc README - - ## Main application - cp -r . "${D}${MY_HTDOCSDIR}" - cp "${FILESDIR}/config.php" "${D}${MY_HTDOCSDIR}/" - - ## Docs installed, remove unnecessary files - rm -f "${D}${MY_HTDOCSDIR}/README" - rm -f "${D}${MY_HTDOCSDIR}/CHANGELOG" - - # Database creation - webapp_sqlscript mysql "${D}${MY_HTDOCSDIR}/openwebstats.sql" - - # Postinstall instructions - webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" - - webapp_src_install -} |