commit:     135e90ac4e1cfee4fe57f04842d4d0fe8ce8b7ec
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  4 00:08:32 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep  4 00:10:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=135e90ac

www-apps/dspam-web: remove last-rited pkg

Bug: https://bugs.gentoo.org/459724
Bug: https://bugs.gentoo.org/680486
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/package.mask                      |  9 ----
 www-apps/dspam-web/Manifest                |  1 -
 www-apps/dspam-web/dspam-web-3.10.1.ebuild | 70 ------------------------------
 www-apps/dspam-web/files/postinst-en.txt   | 32 --------------
 www-apps/dspam-web/files/setperms          |  9 ----
 www-apps/dspam-web/metadata.xml            |  9 ----
 6 files changed, 130 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 4b9500f859e..54a8f8541e9 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -616,15 +616,6 @@ dev-haskell/dbus-core
 # activity since January 2018.
 dev-haskell/hans
 
-# Sam James <[email protected]> (2020-08-04)
-# Dead upstream, unmaintained.
-# Open security bug. Large number of other bugs.
-# Removal in 30 days. bug #630884.
-# bug #520844, bug #665910, bug #626474,
-# bug #490322, bug #692436, bug #707274,
-# bug #713404. bug #680486, bug #459724.
-www-apps/dspam-web
-
 # Mikle Kolyada <[email protected]> (2020-08-02)
 # consolekit is abandoned upstream.
 # People are encouraged to switch to any logind

diff --git a/www-apps/dspam-web/Manifest b/www-apps/dspam-web/Manifest
deleted file mode 100644
index c9693ce5f90..00000000000
--- a/www-apps/dspam-web/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST dspam-3.10.1.tar.gz 1044198 BLAKE2B 
6292b5408e187883475e58d293671c4d313a7b2d5279b65f9fda1390333bea0a24b2b084c24723904c67c734388d39234f06918f279b46f7d6229f3f5791be7c
 SHA512 
44c8ee6df058ed6b9c97722201bcd99645f93dd697676b2480a221280d8d1bc64c6eb03d4c69eede7c54028bbfc4583e7bbd7c4607587bcd037a559e868040ee

diff --git a/www-apps/dspam-web/dspam-web-3.10.1.ebuild 
b/www-apps/dspam-web/dspam-web-3.10.1.ebuild
deleted file mode 100644
index af47d7170f4..00000000000
--- a/www-apps/dspam-web/dspam-web-3.10.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit webapp
-
-DESCRIPTION="Web based administration and user controls for dspam"
-HOMEPAGE="http://dspam.nuclearelephant.com/";
-SRC_URI="http://dspam.nuclearelephant.com/sources/dspam-${PV}.tar.gz";
-
-LICENSE="AGPL-3"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND=">=mail-filter/dspam-${PV}[-user-homedirs]
-       dev-perl/GD[png]
-       dev-perl/GD-Graph3d
-       dev-perl/GDGraph
-       dev-perl/GDTextUtil"
-
-need_httpd_cgi
-
-# some FHS-like structure
-HOMEDIR="/var/spool/dspam"
-CONFDIR="/etc/mail/dspam"
-
-S="${WORKDIR}/dspam-${PV}"
-
-src_configure() {
-       econf \
-               --with-dspam-home=${HOMEDIR} \
-               --sysconfdir=${CONFDIR}
-}
-
-src_compile() {
-       cd webui
-       default
-}
-
-src_install() {
-       webapp_src_preinst
-
-       cd webui
-       insinto "${MY_HTDOCSDIR}"
-       insopts -m644
-       doins htdocs/*.{css,gif}
-       insinto "${MY_CGIBINDIR}/templates"
-       doins cgi-bin/templates/*.html
-       insinto "${MY_CGIBINDIR}"
-       doins cgi-bin/{admins,configure.pl,default.prefs,rgb.txt,*.cgi}
-
-       webapp_configfile 
"${MY_CGIBINDIR}"/{admins,configure.pl,default.prefs,rgb.txt}
-
-       webapp_hook_script "${FILESDIR}/setperms"
-       webapp_postinst_txt en "${FILESDIR}/postinst-en.txt"
-
-       webapp_src_install
-}
-
-pkg_postinst() {
-       ewarn "If you're using apache dspam-web's config requires the scripts 
in the cgi-bin"
-       ewarn "to be run as dspam:dspam. You will have to put a global 
SuexecUserGroup"
-       ewarn "declaration in the main server config which will force 
everything in cgi-bin"
-       ewarn "to run as dspam:dspam."
-       ewarn "You should use a dedicated virtual host for this application or 
at least"
-       ewarn "one that don't have any other cgi scripts."
-       ewarn
-       webapp_pkg_postinst
-}

diff --git a/www-apps/dspam-web/files/postinst-en.txt 
b/www-apps/dspam-web/files/postinst-en.txt
deleted file mode 100644
index 500f5002abc..00000000000
--- a/www-apps/dspam-web/files/postinst-en.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Define your virtual host like this:
-<VirtualHost *:80>
-       DocumentRoot ${VHOST_HTDOCSDIR}
-       ServerName ${VHOST_HOSTNAME}
-       
-       #Use dspam.cgi as main index
-       RewriteEngine On
-       RewriteRule ^/?$ /cgi-bin/dspam.cgi [redirect,last]
-       
-       SuexecUserGroup dspam dspam
-       ScriptAlias /cgi-bin/ ${VHOST_CGIBINDIR}/
-
-       <Directory "${VHOST_CGIBINDIR}">
-               Options FollowSymLinks ExecCGI
-               SetHandler cgi-script
-
-               AllowOverride None
-               Order deny,allow
-               Allow from all
-
-               AuthType basic
-               AuthName "DSPAM Control Center"
-               #For those lucky enough to have a LDAP authentication database
-               AuthLDAPURL 
ldap://localhost:389/ou=People,dc=yourdomain,dc=com?uid?sub?(objectClass=posixAccount)
-               Require valid-user
-       </Directory>
-</VirtualHost>
-
-The configuration files are:
-   - ${VHOST_CGIBINDIR}/configure.pl
-   - ${VHOST_CGIBINDIR}/admins (super-users of this service)
-   - ${VHOST_CGIBINDIR}/default.prefs (not used by those who use MySQL or 
PostgreSQL backend)

diff --git a/www-apps/dspam-web/files/setperms 
b/www-apps/dspam-web/files/setperms
deleted file mode 100644
index 91c4fcf10fd..00000000000
--- a/www-apps/dspam-web/files/setperms
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-if [[ "$1" = "install" ]]; then
-       chgrp -R dspam "${VHOST_CGIBINDIR}"
-       chown dspam "${VHOST_CGIBINDIR}" "${VHOST_CGIBINDIR}"/*.cgi
-       chmod -R ugo+r "${VHOST_CGIBINDIR}"
-       chmod 0755 "${VHOST_CGIBINDIR}"
-       chmod ugo+rx "${VHOST_CGIBINDIR}"/*.cgi
-fi

diff --git a/www-apps/dspam-web/metadata.xml b/www-apps/dspam-web/metadata.xml
deleted file mode 100644
index 55f6db411c7..00000000000
--- a/www-apps/dspam-web/metadata.xml
+++ /dev/null
@@ -1,9 +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>
-<longdescription>Web Administrative interface for a statistical-algorithmic 
hybrid anti-spam filter</longdescription>
-</pkgmetadata>

Reply via email to