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@gentoo.org>
This commit is contained in:
Sam James
2020-09-04 00:08:32 +00:00
parent 591c43d3d9
commit 135e90ac4e
6 changed files with 0 additions and 130 deletions

View File

@@ -616,15 +616,6 @@ dev-haskell/dbus-core
# activity since January 2018.
dev-haskell/hans
# Sam James <sam@gentoo.org> (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 <zlogene@gentoo.org> (2020-08-02)
# consolekit is abandoned upstream.
# People are encouraged to switch to any logind

View File

@@ -1 +0,0 @@
DIST dspam-3.10.1.tar.gz 1044198 BLAKE2B 6292b5408e187883475e58d293671c4d313a7b2d5279b65f9fda1390333bea0a24b2b084c24723904c67c734388d39234f06918f279b46f7d6229f3f5791be7c SHA512 44c8ee6df058ed6b9c97722201bcd99645f93dd697676b2480a221280d8d1bc64c6eb03d4c69eede7c54028bbfc4583e7bbd7c4607587bcd037a559e868040ee

View File

@@ -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
}

View File

@@ -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)

View File

@@ -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

View File

@@ -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>web-apps@gentoo.org</email>
<name>Gentoo Webapps</name>
</maintainer>
<longdescription>Web Administrative interface for a statistical-algorithmic hybrid anti-spam filter</longdescription>
</pkgmetadata>