summaryrefslogtreecommitdiff
path: root/www-apps/dspam-web
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
commit9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch)
treeb690ddc0ca30f1472887edbb0b8313629bfcbbb2 /www-apps/dspam-web
parentb17a3ef12038de50228bade1f05502c74e135321 (diff)
gentoo resync : 16.09.2020
Diffstat (limited to 'www-apps/dspam-web')
-rw-r--r--www-apps/dspam-web/Manifest5
-rw-r--r--www-apps/dspam-web/dspam-web-3.10.1.ebuild70
-rw-r--r--www-apps/dspam-web/files/postinst-en.txt32
-rw-r--r--www-apps/dspam-web/files/setperms9
-rw-r--r--www-apps/dspam-web/metadata.xml9
5 files changed, 0 insertions, 125 deletions
diff --git a/www-apps/dspam-web/Manifest b/www-apps/dspam-web/Manifest
deleted file mode 100644
index e1e3492e6c76..000000000000
--- a/www-apps/dspam-web/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX postinst-en.txt 935 BLAKE2B 0b073933e97ab4187f6e91fff6c2a0dace375006e61b1e420bb0eef68684452e708d3cdb448487d33c76ee0c014975afad645b3bf158547d4b517763d9a3747f SHA512 b7a2253cf0c91c966f538ebf2bb839fbe2affef1c249c9bf7f3b32f07810195a502ff149f1cfebbf1abfc39c84edbfd0df7952ca7d21049bfe2175bd9456cb12
-AUX setperms 255 BLAKE2B 10c5f33dc7b59887d208ff33daa9d31de10bc8a1b5722f6fa4c14dbb94b6b84029fe968ad7a047edce78c6da1d07b011c1e545f17892bb6fbd5ff373396d9940 SHA512 38bd7c199950a4df65e5583e84da1a776beecf6a2726dc483663b282b29bfd8d80a86ff680850f1ff6b8fc10e8a049c1efd666377c157f2726c665246884a1ed
-DIST dspam-3.10.1.tar.gz 1044198 BLAKE2B 6292b5408e187883475e58d293671c4d313a7b2d5279b65f9fda1390333bea0a24b2b084c24723904c67c734388d39234f06918f279b46f7d6229f3f5791be7c SHA512 44c8ee6df058ed6b9c97722201bcd99645f93dd697676b2480a221280d8d1bc64c6eb03d4c69eede7c54028bbfc4583e7bbd7c4607587bcd037a559e868040ee
-EBUILD dspam-web-3.10.1.ebuild 1700 BLAKE2B 881ee82705090264db7a828ca6389918a59dd3db7d9f9b3ab6cc0d854afda534a7ef69caf0b26cd93ef88b09fdd8939283840fc24dff537699ce7961b9682eac SHA512 c35d9bccca7c99dba45b509da79f310b788f15c776c3d95159b3a69f71b9404836d448243c1933c5b320053bbc86c6160c4f1c72377257e80a2563341cc78ffb
-MISC metadata.xml 364 BLAKE2B 46ea371b864cfa14f4e4193b499b57ab419bafa540106fb3023ae276c807d94820499ecfaa9438de4723f4fa5dca1359a5f27c6ac887f1633bf6c4b1e2a7a9b6 SHA512 a30327548152850c82f53069bf25d9742e5e56d2f476923411526208e1c92a181ebdb3fe7f7f0a3538560b88d8f2686842034999e7d4b22a84f7f30a260aef0e
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>