summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-09-09 19:04:10 +0000
committerTim Harder <radhermit@gentoo.org>2011-09-09 19:04:10 +0000
commitc97c6d086e7f641927bf38383ef2f64a30e862f9 (patch)
tree7c3eb91fd0e3c01925bc407f3562054ba345d0f4 /www-apps/dspam-web
parentFix bug #382143 - Build failure for gpg due to wrong mutt interface call (diff)
downloadhistorical-c97c6d086e7f641927bf38383ef2f64a30e862f9.tar.gz
historical-c97c6d086e7f641927bf38383ef2f64a30e862f9.tar.bz2
historical-c97c6d086e7f641927bf38383ef2f64a30e862f9.zip
Version bump (bug #301194 by Tom Hendrikx).
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'www-apps/dspam-web')
-rw-r--r--www-apps/dspam-web/ChangeLog9
-rw-r--r--www-apps/dspam-web/Manifest18
-rw-r--r--www-apps/dspam-web/dspam-web-3.10.1.ebuild71
3 files changed, 90 insertions, 8 deletions
diff --git a/www-apps/dspam-web/ChangeLog b/www-apps/dspam-web/ChangeLog
index 2d38d2f187ab..43183c7610f9 100644
--- a/www-apps/dspam-web/ChangeLog
+++ b/www-apps/dspam-web/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/dspam-web
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/ChangeLog,v 1.41 2009/03/07 20:49:50 betelgeuse Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/ChangeLog,v 1.42 2011/09/09 19:04:10 radhermit Exp $
+
+*dspam-web-3.10.1 (09 Sep 2011)
+
+ 09 Sep 2011; Tim Harder <radhermit@gentoo.org> +dspam-web-3.10.1.ebuild:
+ Version bump (bug #301194 by Tom Hendrikx).
07 Mar 2009; Petteri Räty <betelgeuse@gentoo.org>
dspam-web-3.8.0-r1.ebuild:
diff --git a/www-apps/dspam-web/Manifest b/www-apps/dspam-web/Manifest
index 4c42e9bc63a4..a03cdd002885 100644
--- a/www-apps/dspam-web/Manifest
+++ b/www-apps/dspam-web/Manifest
@@ -1,19 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
AUX htaccess 135 RMD160 4f79db8e1bdf56ef86b922d2a87a7c2a1ba78d71 SHA1 f1cdf9aa23cef60ccc48f2303699b467bf7a98b5 SHA256 e0c0da58eea5ef6af65cc03c22eaa47ad4f6584cec0f6430817f836d60457c3b
AUX htpasswd 19 RMD160 9ef909dbde45fd311062229354ba56c76174fa96 SHA1 d5e269924684fdda909b364638d378e64cc1646f SHA256 0fae2fe609644c4c631385e0f4127bb1a19dcf18013871c8353117f38fa7ea2a
AUX postinst-en.txt 935 RMD160 8ac16b059581ac3d4a8f6adb28cbba7fd185671f SHA1 4f5914e32d216cee1a97d806c29569f93e847f21 SHA256 9d864da422c9e28e8ac645a2534af7a885d22ff4b49e5b7ef938e8bb84ea81dc
AUX setperms 255 RMD160 4b29c87a2d1129c9aa9a7df9e2a6f412aeb029c8 SHA1 17f1bab63693018be6dbbb4ec7e4d1a5658f9fac SHA256 85cfd1a8a6e322698c5e09573dfb4e04220e8642d1835e9a7eedbb809736e9ed
+DIST dspam-3.10.1.tar.gz 1044198 RMD160 f7022c10c7555d8a05e5bacb5804b3dc29f96066 SHA1 dfd78c9f696470077d4e2e2b52f1f42f90ac52cc SHA256 359d9f58564a87da131b8390d0eeecae4aa40d22ff74b97256d46835a2474063
DIST dspam-3.8.0-patches-20071231.tar.gz 15159 RMD160 7c26a94a52832221954b7cf894c7651b0b0c6258 SHA1 fc3b29894cd5b53beb2b4b7e777d6fce714b2744 SHA256 d56d86bf245c06a1fc175c1e9e75429cc5b0900d2f9a3a346209c707e0f69754
DIST dspam-3.8.0.tar.gz 726160 RMD160 e7831e2415e30e819dd9cbc0ba3f269e113e2fb9 SHA1 d1de7ee2134522adaf52f49167accecf1589fa96 SHA256 84a227934a7aee73516bdb82c33ee7b359e955c8cd95a1544a9a13069f79bfc7
+EBUILD dspam-web-3.10.1.ebuild 1827 RMD160 8a9c17011716b1041005ab1b09f350003b32b7e0 SHA1 3232d4d9591a23fd7b0dde4d0f742f6650185084 SHA256 39707c1cee7ecf3709c9b2a7bc42f51aefc6dc48a99f7c1a003c803fff6f1bbb
EBUILD dspam-web-3.8.0-r1.ebuild 2083 RMD160 0518e8c3cac8d9131439e59aa43b048b8c1a56c2 SHA1 f5393fc40e395dc2f16ab514d5b65b1970c0bf01 SHA256 9b5d844f5aee6701dc65b9fd6de5b559c263e22dfb831eac0b8d2104f56ddc7b
-MISC ChangeLog 6980 RMD160 19efa5744b8ff391225c2ee8abba063d8976d525 SHA1 7179c7a7a2e0da3ac953a2a665303cf15a0c74d3 SHA256 470ff308e2811bfed69c9d20d5f0b2cd307db15c77e55d31460539a80959ba86
+MISC ChangeLog 7134 RMD160 a439623081ebac0ff6b0a90413c41b8522a9c298 SHA1 24673b6c07db2311b636f72d81e9bf7b2d3669f8 SHA256 5ac6fa26152dc631ac6dc891c7aa2cd3311fd2526325dde86ea3529a33fd64e1
MISC metadata.xml 368 RMD160 47f34b035d0fc01757f976cb57a03373126f467f SHA1 ee7c74643fec7d1aba07021ad024bb71df713102 SHA256 7335198385eb9536d0b1b60080ca3336b70ea8defb53371d1e244249124a106e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.10 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAkmy3kkACgkQcxLzpIGCsLQ1+wCfdX2Nw6uTdiOlF66k9icOpSqp
-ejIAn2+Rg38faz1EeKYT36yXs2MjDGQs
-=t+e2
+iQEcBAEBCgAGBQJOamM0AAoJEEqz6FtPBkyjWMwH/2dtNEpFjcuVjQDugAaIbcMS
+r10ZebfVez5jbO7BQzeOUSZOiyPrdno6d1yPLqsjhrxSBopQt5Jkv66/vC/1+fmO
+4XbJMQEe1HrdJ4o8BMefLVrMLDfPVu3hrwWQ0Sm9CigQfYZ7joc9BHa4LJ5HA4sq
+kheqRc6PXg47NU/TJaPGzWmsyf805ePIer2iYKzq6+qBShZyjBAyxyRsL6ceo+Fz
+XdzKftl7AYE/eNluPtqYdc2YleLYnKU6ZqCdHIvoVzsDW5kYw9TmMq01f2gy3+Ux
+IPPz8sTl0bYcnHA+RXiWuGuLyyhA7+VJ9GtW9KXN8/Q0V+6+pH2nwatntZDWbQQ=
+=eiXe
-----END PGP SIGNATURE-----
diff --git a/www-apps/dspam-web/dspam-web-3.10.1.ebuild b/www-apps/dspam-web/dspam-web-3.10.1.ebuild
new file mode 100644
index 000000000000..559c5343726e
--- /dev/null
+++ b/www-apps/dspam-web/dspam-web-3.10.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/dspam-web-3.10.1.ebuild,v 1.1 2011/09/09 19:04:10 radhermit Exp $
+
+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 ~sparc ~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
+}