commit:     31a6048e8fced0e0d856ca76aea272fc69e0ac06
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 23 13:55:26 2018 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Mon Jul 23 14:09:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31a6048e

www-apps/openwebstats: Package Removal

Closes: https://bugs.gentoo.org/650934

 profiles/package.mask                          |  5 ---
 www-apps/openwebstats/Manifest                 |  1 -
 www-apps/openwebstats/files/config.php         | 46 --------------------------
 www-apps/openwebstats/files/postinstall-en.txt | 36 --------------------
 www-apps/openwebstats/metadata.xml             | 11 ------
 www-apps/openwebstats/openwebstats-1.1.ebuild  | 40 ----------------------
 6 files changed, 139 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index fe555240461..fd40a4211cb 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -314,11 +314,6 @@ app-misc/wyrd
 # (#648582). Removal in a month.
 app-doc/mkdoxy
 
-# Pacho Ramos <[email protected]> (17 Jun 2018)
-# Not compatible with recent PHP, upstream dead for ages (#650870, #650934)
-#, removal in a month.
-www-apps/openwebstats
-
 # Pacho Ramos <[email protected]> (17 Jun 2018)
 # Upstream dead, security vulnerable (#650936). Removal in a month.
 www-apps/phprojekt

diff --git a/www-apps/openwebstats/Manifest b/www-apps/openwebstats/Manifest
deleted file mode 100644
index 2fdc5ca1cda..00000000000
--- 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 5523397582b..00000000000
--- a/www-apps/openwebstats/files/config.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-################################################################################
-##                    OpenWebStats Version 1.0                                
##
-##                                                                            
##
-##        (c)2005 mathews_dm - <[email protected]>              
##
-##                                                                            
##
-################################################################################
-## 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 ed4c7cd9260..00000000000
--- 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 5551d3efd11..00000000000
--- 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>[email protected]</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 037e16bdcce..00000000000
--- 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
-}

Reply via email to