# ChangeLog for www-apps/dspam-web
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/ChangeLog,v 1.30 2007/04/03 18:09:21 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/ChangeLog,v 1.31 2007/04/17 08:13:19 mrness Exp $
+
+*dspam-web-3.8.0 (17 Apr 2007)
+
+ 17 Apr 2007; Alin Năstac <mrness@gentoo.org> +dspam-web-3.8.0.ebuild:
+ Version bump, thanks to steveb <steeeeeveee at gmx dot net> and Natanael
+ Copa <natanael dot copa at gmail dot com> (#172929).
03 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org>
dspam-web-3.6.8-r1.ebuild:
SHA256 85cfd1a8a6e322698c5e09573dfb4e04220e8642d1835e9a7eedbb809736e9ed files/setperms 255
DIST dspam-3.6.8-patches-20061219.tar.gz 5370 RMD160 0347a618b63b9fe662838f888f84b705bd24c72a SHA1 a998c131ef763efb32c6f538188de987ec544dc9 SHA256 cdd43862d939e089052bf0fde9e85f7a6b056a441d2d54ff4f3b8bb016f0de4c
DIST dspam-3.6.8.tar.gz 743275 RMD160 93a70db14070cb61bd2ef1b0ca55a18be1dbfd7b SHA1 e8c413882eadf1e02837e4a2ffcfc98b801eded1 SHA256 88c7b41fb81e90ba8a260885a1d14bce39f2ef4a06cc2c6b8bfa0b99ba1aec34
+DIST dspam-3.8.0-patches-20070416.tar.gz 7062 RMD160 05d6d294edab5f4ca058aa9daf5c3d9c69ddd91c SHA1 f71080f39b3f11e654c708651885bd622866e1df SHA256 9cc2d1cf1482ceff124a9017910bb6c3a7ed0be828e2d3c6c83b08e6b871a649
+DIST dspam-3.8.0.tar.gz 726160 RMD160 e7831e2415e30e819dd9cbc0ba3f269e113e2fb9 SHA1 d1de7ee2134522adaf52f49167accecf1589fa96 SHA256 84a227934a7aee73516bdb82c33ee7b359e955c8cd95a1544a9a13069f79bfc7
EBUILD dspam-web-3.6.8-r1.ebuild 2039 RMD160 2c46f9384680761b1ecaf904a63b405bc4de5b40 SHA1 688ee4d9fc362a6faf39d2a7fedc68e18a0fda92 SHA256 905b9eff58649942c11c3b4484053a192ccdcb9b6fd4469d2d40ca59880bb2f6
MD5 a2cb569723ea525db8117d3adb711c5d dspam-web-3.6.8-r1.ebuild 2039
RMD160 2c46f9384680761b1ecaf904a63b405bc4de5b40 dspam-web-3.6.8-r1.ebuild 2039
SHA256 905b9eff58649942c11c3b4484053a192ccdcb9b6fd4469d2d40ca59880bb2f6 dspam-web-3.6.8-r1.ebuild 2039
-MISC ChangeLog 5151 RMD160 a018e7333f1262a10b68cc1864cd180397d2d5c5 SHA1 fc6f2e60b0248403a56347e12055caa40049898a SHA256 da8e0ecf43f9072371f3ea98a454cc15c6dbd931fee88bd9b179d6edd097be8a
-MD5 c1777633e134131bb35a28c059e12a50 ChangeLog 5151
-RMD160 a018e7333f1262a10b68cc1864cd180397d2d5c5 ChangeLog 5151
-SHA256 da8e0ecf43f9072371f3ea98a454cc15c6dbd931fee88bd9b179d6edd097be8a ChangeLog 5151
+EBUILD dspam-web-3.8.0.ebuild 2036 RMD160 3f10f63cac4ed077a91bfd6b5da248781a3ada08 SHA1 917dadf63cc84a5bc9460db443c3a11e5261a014 SHA256 f0a75b1137d4174d2fb82cfddf5fe9a5863a1966c1304fc6edd9dfd2359837c0
+MD5 c5449e6c50901390c992d5f2b5d94743 dspam-web-3.8.0.ebuild 2036
+RMD160 3f10f63cac4ed077a91bfd6b5da248781a3ada08 dspam-web-3.8.0.ebuild 2036
+SHA256 f0a75b1137d4174d2fb82cfddf5fe9a5863a1966c1304fc6edd9dfd2359837c0 dspam-web-3.8.0.ebuild 2036
+MISC ChangeLog 5385 RMD160 c8cfc7043c5d87e49cef67fd2cd12c35cf305d85 SHA1 4dc881f1f4accad3a498fb63d920aac5f73f78fc SHA256 5766ffe9f0e04b64e560efd4583fa864195f3f5839f99e82e9088cc8ea305452
+MD5 951da3d9f67483798c2b882df8e24851 ChangeLog 5385
+RMD160 c8cfc7043c5d87e49cef67fd2cd12c35cf305d85 ChangeLog 5385
+SHA256 5766ffe9f0e04b64e560efd4583fa864195f3f5839f99e82e9088cc8ea305452 ChangeLog 5385
MISC metadata.xml 368 RMD160 47f34b035d0fc01757f976cb57a03373126f467f SHA1 ee7c74643fec7d1aba07021ad024bb71df713102 SHA256 7335198385eb9536d0b1b60080ca3336b70ea8defb53371d1e244249124a106e
MD5 b3088113288dc10e76c2ab38a5ea3968 metadata.xml 368
RMD160 47f34b035d0fc01757f976cb57a03373126f467f metadata.xml 368
MD5 f6c1e7cd08fce2a07170af163f8381f0 files/digest-dspam-web-3.6.8-r1 515
RMD160 d85a5beb425a0065a96614746ba4bc29950f1c9a files/digest-dspam-web-3.6.8-r1 515
SHA256 86f6bad1bd99c4b4fbf80a71c56cc57dbce789331dc914d203ee01b884348f08 files/digest-dspam-web-3.6.8-r1 515
+MD5 bd5089aa10e95755d003b4f1c07557fb files/digest-dspam-web-3.8.0 515
+RMD160 f58396b94a1b5996e127adeb49d497a80c6e0734 files/digest-dspam-web-3.8.0 515
+SHA256 80486740cf3fe57b3ded1ac819257b5c679fc7b8be2bd903f236afcab487a7bc files/digest-dspam-web-3.8.0 515
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux)
+Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFGEphcKRy60XGEcJIRAg9kAJ90H0LZVI3OmvIdMp23GlBLbjoEIACdF106
-BqpoEVfHJ9ZGdUaEixq1Qlc=
-=NaxK
+iD8DBQFGJIGxJnxX6mF440QRAnhFAKCVVs02JCcwb4eJxS5jJecHJBtmdQCfYUxq
+XNQ/iHBmM6URfaw+wp1vTSs=
+=pQrI
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 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.8.0.ebuild,v 1.1 2007/04/17 08:13:19 mrness Exp $
+
+inherit webapp eutils autotools
+
+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
+ mirror://gentoo/dspam-${PV}-patches-20070416.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=mail-filter/dspam-${PV}"
+RDEPEND="${DEPEND}
+ >=dev-perl/GD-2.0
+ dev-perl/GD-Graph3d
+ dev-perl/GDGraph
+ dev-perl/GDTextUtil"
+
+# some FHS-like structure
+HOMEDIR="/var/spool/dspam"
+CONFDIR="/etc/mail/dspam"
+
+S="${WORKDIR}/dspam-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ EPATCH_SUFFIX="patch"
+ epatch "${WORKDIR}"/patches
+
+ AT_M4DIR="${S}/m4"
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ --with-dspam-home=${HOMEDIR} \
+ --sysconfdir=${CONFDIR} || die "econf failed"
+ cd "${S}/webui"
+ emake || die "emake failed"
+}
+
+src_install() {
+ webapp_src_preinst
+
+ cd "${S}/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."
+ echo
+ webapp_pkg_postinst
+}
--- /dev/null
+MD5 11861e3b89a6e2554c65ab185260dc3e dspam-3.8.0-patches-20070416.tar.gz 7062
+RMD160 05d6d294edab5f4ca058aa9daf5c3d9c69ddd91c dspam-3.8.0-patches-20070416.tar.gz 7062
+SHA256 9cc2d1cf1482ceff124a9017910bb6c3a7ed0be828e2d3c6c83b08e6b871a649 dspam-3.8.0-patches-20070416.tar.gz 7062
+MD5 056b8c8b3ad9415a52c01b22ff1e64cf dspam-3.8.0.tar.gz 726160
+RMD160 e7831e2415e30e819dd9cbc0ba3f269e113e2fb9 dspam-3.8.0.tar.gz 726160
+SHA256 84a227934a7aee73516bdb82c33ee7b359e955c8cd95a1544a9a13069f79bfc7 dspam-3.8.0.tar.gz 726160