1 |
commit: 135e90ac4e1cfee4fe57f04842d4d0fe8ce8b7ec |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 4 00:08:32 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 4 00:10:09 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=135e90ac |
7 |
|
8 |
www-apps/dspam-web: remove last-rited pkg |
9 |
|
10 |
Bug: https://bugs.gentoo.org/459724 |
11 |
Bug: https://bugs.gentoo.org/680486 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
profiles/package.mask | 9 ---- |
15 |
www-apps/dspam-web/Manifest | 1 - |
16 |
www-apps/dspam-web/dspam-web-3.10.1.ebuild | 70 ------------------------------ |
17 |
www-apps/dspam-web/files/postinst-en.txt | 32 -------------- |
18 |
www-apps/dspam-web/files/setperms | 9 ---- |
19 |
www-apps/dspam-web/metadata.xml | 9 ---- |
20 |
6 files changed, 130 deletions(-) |
21 |
|
22 |
diff --git a/profiles/package.mask b/profiles/package.mask |
23 |
index 4b9500f859e..54a8f8541e9 100644 |
24 |
--- a/profiles/package.mask |
25 |
+++ b/profiles/package.mask |
26 |
@@ -616,15 +616,6 @@ dev-haskell/dbus-core |
27 |
# activity since January 2018. |
28 |
dev-haskell/hans |
29 |
|
30 |
-# Sam James <sam@g.o> (2020-08-04) |
31 |
-# Dead upstream, unmaintained. |
32 |
-# Open security bug. Large number of other bugs. |
33 |
-# Removal in 30 days. bug #630884. |
34 |
-# bug #520844, bug #665910, bug #626474, |
35 |
-# bug #490322, bug #692436, bug #707274, |
36 |
-# bug #713404. bug #680486, bug #459724. |
37 |
-www-apps/dspam-web |
38 |
- |
39 |
# Mikle Kolyada <zlogene@g.o> (2020-08-02) |
40 |
# consolekit is abandoned upstream. |
41 |
# People are encouraged to switch to any logind |
42 |
|
43 |
diff --git a/www-apps/dspam-web/Manifest b/www-apps/dspam-web/Manifest |
44 |
deleted file mode 100644 |
45 |
index c9693ce5f90..00000000000 |
46 |
--- a/www-apps/dspam-web/Manifest |
47 |
+++ /dev/null |
48 |
@@ -1 +0,0 @@ |
49 |
-DIST dspam-3.10.1.tar.gz 1044198 BLAKE2B 6292b5408e187883475e58d293671c4d313a7b2d5279b65f9fda1390333bea0a24b2b084c24723904c67c734388d39234f06918f279b46f7d6229f3f5791be7c SHA512 44c8ee6df058ed6b9c97722201bcd99645f93dd697676b2480a221280d8d1bc64c6eb03d4c69eede7c54028bbfc4583e7bbd7c4607587bcd037a559e868040ee |
50 |
|
51 |
diff --git a/www-apps/dspam-web/dspam-web-3.10.1.ebuild b/www-apps/dspam-web/dspam-web-3.10.1.ebuild |
52 |
deleted file mode 100644 |
53 |
index af47d7170f4..00000000000 |
54 |
--- a/www-apps/dspam-web/dspam-web-3.10.1.ebuild |
55 |
+++ /dev/null |
56 |
@@ -1,70 +0,0 @@ |
57 |
-# Copyright 1999-2012 Gentoo Foundation |
58 |
-# Distributed under the terms of the GNU General Public License v2 |
59 |
- |
60 |
-EAPI="4" |
61 |
- |
62 |
-inherit webapp |
63 |
- |
64 |
-DESCRIPTION="Web based administration and user controls for dspam" |
65 |
-HOMEPAGE="http://dspam.nuclearelephant.com/" |
66 |
-SRC_URI="http://dspam.nuclearelephant.com/sources/dspam-${PV}.tar.gz" |
67 |
- |
68 |
-LICENSE="AGPL-3" |
69 |
-KEYWORDS="~amd64 ~ppc ~x86" |
70 |
-IUSE="" |
71 |
- |
72 |
-RDEPEND=">=mail-filter/dspam-${PV}[-user-homedirs] |
73 |
- dev-perl/GD[png] |
74 |
- dev-perl/GD-Graph3d |
75 |
- dev-perl/GDGraph |
76 |
- dev-perl/GDTextUtil" |
77 |
- |
78 |
-need_httpd_cgi |
79 |
- |
80 |
-# some FHS-like structure |
81 |
-HOMEDIR="/var/spool/dspam" |
82 |
-CONFDIR="/etc/mail/dspam" |
83 |
- |
84 |
-S="${WORKDIR}/dspam-${PV}" |
85 |
- |
86 |
-src_configure() { |
87 |
- econf \ |
88 |
- --with-dspam-home=${HOMEDIR} \ |
89 |
- --sysconfdir=${CONFDIR} |
90 |
-} |
91 |
- |
92 |
-src_compile() { |
93 |
- cd webui |
94 |
- default |
95 |
-} |
96 |
- |
97 |
-src_install() { |
98 |
- webapp_src_preinst |
99 |
- |
100 |
- cd webui |
101 |
- insinto "${MY_HTDOCSDIR}" |
102 |
- insopts -m644 |
103 |
- doins htdocs/*.{css,gif} |
104 |
- insinto "${MY_CGIBINDIR}/templates" |
105 |
- doins cgi-bin/templates/*.html |
106 |
- insinto "${MY_CGIBINDIR}" |
107 |
- doins cgi-bin/{admins,configure.pl,default.prefs,rgb.txt,*.cgi} |
108 |
- |
109 |
- webapp_configfile "${MY_CGIBINDIR}"/{admins,configure.pl,default.prefs,rgb.txt} |
110 |
- |
111 |
- webapp_hook_script "${FILESDIR}/setperms" |
112 |
- webapp_postinst_txt en "${FILESDIR}/postinst-en.txt" |
113 |
- |
114 |
- webapp_src_install |
115 |
-} |
116 |
- |
117 |
-pkg_postinst() { |
118 |
- ewarn "If you're using apache dspam-web's config requires the scripts in the cgi-bin" |
119 |
- ewarn "to be run as dspam:dspam. You will have to put a global SuexecUserGroup" |
120 |
- ewarn "declaration in the main server config which will force everything in cgi-bin" |
121 |
- ewarn "to run as dspam:dspam." |
122 |
- ewarn "You should use a dedicated virtual host for this application or at least" |
123 |
- ewarn "one that don't have any other cgi scripts." |
124 |
- ewarn |
125 |
- webapp_pkg_postinst |
126 |
-} |
127 |
|
128 |
diff --git a/www-apps/dspam-web/files/postinst-en.txt b/www-apps/dspam-web/files/postinst-en.txt |
129 |
deleted file mode 100644 |
130 |
index 500f5002abc..00000000000 |
131 |
--- a/www-apps/dspam-web/files/postinst-en.txt |
132 |
+++ /dev/null |
133 |
@@ -1,32 +0,0 @@ |
134 |
-Define your virtual host like this: |
135 |
-<VirtualHost *:80> |
136 |
- DocumentRoot ${VHOST_HTDOCSDIR} |
137 |
- ServerName ${VHOST_HOSTNAME} |
138 |
- |
139 |
- #Use dspam.cgi as main index |
140 |
- RewriteEngine On |
141 |
- RewriteRule ^/?$ /cgi-bin/dspam.cgi [redirect,last] |
142 |
- |
143 |
- SuexecUserGroup dspam dspam |
144 |
- ScriptAlias /cgi-bin/ ${VHOST_CGIBINDIR}/ |
145 |
- |
146 |
- <Directory "${VHOST_CGIBINDIR}"> |
147 |
- Options FollowSymLinks ExecCGI |
148 |
- SetHandler cgi-script |
149 |
- |
150 |
- AllowOverride None |
151 |
- Order deny,allow |
152 |
- Allow from all |
153 |
- |
154 |
- AuthType basic |
155 |
- AuthName "DSPAM Control Center" |
156 |
- #For those lucky enough to have a LDAP authentication database |
157 |
- AuthLDAPURL ldap://localhost:389/ou=People,dc=yourdomain,dc=com?uid?sub?(objectClass=posixAccount) |
158 |
- Require valid-user |
159 |
- </Directory> |
160 |
-</VirtualHost> |
161 |
- |
162 |
-The configuration files are: |
163 |
- - ${VHOST_CGIBINDIR}/configure.pl |
164 |
- - ${VHOST_CGIBINDIR}/admins (super-users of this service) |
165 |
- - ${VHOST_CGIBINDIR}/default.prefs (not used by those who use MySQL or PostgreSQL backend) |
166 |
|
167 |
diff --git a/www-apps/dspam-web/files/setperms b/www-apps/dspam-web/files/setperms |
168 |
deleted file mode 100644 |
169 |
index 91c4fcf10fd..00000000000 |
170 |
--- a/www-apps/dspam-web/files/setperms |
171 |
+++ /dev/null |
172 |
@@ -1,9 +0,0 @@ |
173 |
-#!/bin/sh |
174 |
- |
175 |
-if [[ "$1" = "install" ]]; then |
176 |
- chgrp -R dspam "${VHOST_CGIBINDIR}" |
177 |
- chown dspam "${VHOST_CGIBINDIR}" "${VHOST_CGIBINDIR}"/*.cgi |
178 |
- chmod -R ugo+r "${VHOST_CGIBINDIR}" |
179 |
- chmod 0755 "${VHOST_CGIBINDIR}" |
180 |
- chmod ugo+rx "${VHOST_CGIBINDIR}"/*.cgi |
181 |
-fi |
182 |
|
183 |
diff --git a/www-apps/dspam-web/metadata.xml b/www-apps/dspam-web/metadata.xml |
184 |
deleted file mode 100644 |
185 |
index 55f6db411c7..00000000000 |
186 |
--- a/www-apps/dspam-web/metadata.xml |
187 |
+++ /dev/null |
188 |
@@ -1,9 +0,0 @@ |
189 |
-<?xml version="1.0" encoding="UTF-8"?> |
190 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
191 |
-<pkgmetadata> |
192 |
-<maintainer type="project"> |
193 |
- <email>web-apps@g.o</email> |
194 |
- <name>Gentoo Webapps</name> |
195 |
-</maintainer> |
196 |
-<longdescription>Web Administrative interface for a statistical-algorithmic hybrid anti-spam filter</longdescription> |
197 |
-</pkgmetadata> |