summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-07-23 09:55:26 -0400
committerBrian Evans <grknight@gentoo.org>2018-07-23 10:09:33 -0400
commit31a6048e8fced0e0d856ca76aea272fc69e0ac06 (patch)
tree205604941f2d532e7349dc115565c74c12a2c7aa /www-apps
parentwww-apps/gnopaste: Package Removal (diff)
downloadgentoo-31a6048e8fced0e0d856ca76aea272fc69e0ac06.tar.gz
gentoo-31a6048e8fced0e0d856ca76aea272fc69e0ac06.tar.bz2
gentoo-31a6048e8fced0e0d856ca76aea272fc69e0ac06.zip
www-apps/openwebstats: Package Removal
Closes: https://bugs.gentoo.org/650934
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/openwebstats/Manifest1
-rw-r--r--www-apps/openwebstats/files/config.php46
-rw-r--r--www-apps/openwebstats/files/postinstall-en.txt36
-rw-r--r--www-apps/openwebstats/metadata.xml11
-rw-r--r--www-apps/openwebstats/openwebstats-1.1.ebuild40
5 files changed, 0 insertions, 134 deletions
diff --git a/www-apps/openwebstats/Manifest b/www-apps/openwebstats/Manifest
deleted file mode 100644
index 2fdc5ca1cda6..000000000000
--- a/www-apps/openwebstats/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST openwebstats-1.1.tar.gz 163477 BLAKE2B 1fde6928746e6e43b9713eae02078d50567753040966403e736936131ab1c4f1eaa7827848d873bc17cf346080365689a02559f95a3d35f6ac9541c597ecc6af SHA512 882a8aa672703e978282550437ea9944bc44c424c3a157acd10f35a42681721de4bd5dde60aa9e57e15d3b986b1b4d1c9f0e4adf0360a0d569aa46720b4e2eec
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
-}