diff options
author | Sam James <sam@gentoo.org> | 2020-09-04 00:08:32 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-09-04 00:10:09 +0000 |
commit | 135e90ac4e1cfee4fe57f04842d4d0fe8ce8b7ec (patch) | |
tree | aadaa806987bdc7960d0639a5c8f20a180a14790 /www-apps | |
parent | mail-filter/dspam: remove last-rited pkg (diff) | |
download | gentoo-135e90ac4e1cfee4fe57f04842d4d0fe8ce8b7ec.tar.gz gentoo-135e90ac4e1cfee4fe57f04842d4d0fe8ce8b7ec.tar.bz2 gentoo-135e90ac4e1cfee4fe57f04842d4d0fe8ce8b7ec.zip |
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>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/dspam-web/Manifest | 1 | ||||
-rw-r--r-- | www-apps/dspam-web/dspam-web-3.10.1.ebuild | 70 | ||||
-rw-r--r-- | www-apps/dspam-web/files/postinst-en.txt | 32 | ||||
-rw-r--r-- | www-apps/dspam-web/files/setperms | 9 | ||||
-rw-r--r-- | www-apps/dspam-web/metadata.xml | 9 |
5 files changed, 0 insertions, 121 deletions
diff --git a/www-apps/dspam-web/Manifest b/www-apps/dspam-web/Manifest deleted file mode 100644 index c9693ce5f903..000000000000 --- 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 af47d7170f47..000000000000 --- 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 500f5002abc2..000000000000 --- 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 91c4fcf10fdf..000000000000 --- 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 55f6db411c72..000000000000 --- 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>web-apps@gentoo.org</email> - <name>Gentoo Webapps</name> -</maintainer> -<longdescription>Web Administrative interface for a statistical-algorithmic hybrid anti-spam filter</longdescription> -</pkgmetadata> |