summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLim Swee Tat <st_lim@gentoo.org>2006-02-13 16:02:22 +0000
committerLim Swee Tat <st_lim@gentoo.org>2006-02-13 16:02:22 +0000
commit38b024b5174167aa35f664aa804b0c800270fc8c (patch)
treef63ebf59265c25ce29070fff6dea2dca4babc55c /www-apps/dspam-web
parentVersion bump. Thanks to Matteo Azzali bug #122650 (diff)
downloadgentoo-2-38b024b5174167aa35f664aa804b0c800270fc8c.tar.gz
gentoo-2-38b024b5174167aa35f664aa804b0c800270fc8c.tar.bz2
gentoo-2-38b024b5174167aa35f664aa804b0c800270fc8c.zip
Version bump
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'www-apps/dspam-web')
-rw-r--r--www-apps/dspam-web/ChangeLog7
-rw-r--r--www-apps/dspam-web/Manifest36
-rw-r--r--www-apps/dspam-web/dspam-web-3.6.4.ebuild160
-rw-r--r--www-apps/dspam-web/files/digest-dspam-web-3.6.46
4 files changed, 207 insertions, 2 deletions
diff --git a/www-apps/dspam-web/ChangeLog b/www-apps/dspam-web/ChangeLog
index 952d7496096b..b86d1e5ff5d4 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/ChangeLog,v 1.22 2006/01/20 08:43:11 st_lim Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/ChangeLog,v 1.23 2006/02/13 16:02:22 st_lim Exp $
+
+*dspam-web-3.6.4 (13 Feb 2006)
+
+ 13 Feb 2006; Lim Swee Tat <st_lim@gentoo.org> +dspam-web-3.6.4.ebuild:
+ Version bump
*dspam-web-3.6.3 (20 Jan 2006)
diff --git a/www-apps/dspam-web/Manifest b/www-apps/dspam-web/Manifest
index f7c3156a59c6..f5208c4f02ae 100644
--- a/www-apps/dspam-web/Manifest
+++ b/www-apps/dspam-web/Manifest
@@ -1,14 +1,48 @@
-MD5 26bb32d0d03d5017f5bc6a1e2a8b2542 ChangeLog 3776
+MD5 50801b5da7d3edb623057ead832d47b8 ChangeLog 3897
+RMD160 b0c0a5c688456c581d0d1694da43fee192345b2e ChangeLog 3897
+SHA256 abdd08a2cb4c585b372bae6ed23cd56a55b321777e8da61eab103bed92ed764a ChangeLog 3897
MD5 3556db7ff664537dca11a80a1aa937d3 dspam-web-3.2.7.ebuild 5216
+RMD160 226f7d1bdf3904f06fbefd646356c431b22033ed dspam-web-3.2.7.ebuild 5216
+SHA256 f3bc27639e0a22b02d205caeaeb9d436f2ff26c7dc5c1a6988a37094453b86ee dspam-web-3.2.7.ebuild 5216
MD5 26409854de884f5d97f3a6f424e03fa6 dspam-web-3.4.9-r1.ebuild 5034
+RMD160 eaf48cda68c1c6fe53d150fa0c0bed337d8bfc10 dspam-web-3.4.9-r1.ebuild 5034
+SHA256 cca3d9b0ac31955e7b5825c5bcdd1879a566483a51680997427cbf571dd66d28 dspam-web-3.4.9-r1.ebuild 5034
MD5 1898f823113a777c154c426f9ee8d194 dspam-web-3.6.0.ebuild 5177
+RMD160 111825e8f4527f547d69d3a973181106576eaa22 dspam-web-3.6.0.ebuild 5177
+SHA256 6b3a81925dbf50471d5de94035f1f05ffe4a3fed7c50e74b789b8c4902ba0947 dspam-web-3.6.0.ebuild 5177
MD5 ff51188171a9e215248bf6f62cda5138 dspam-web-3.6.1.ebuild 5177
+RMD160 7f5ecf65caabb26617738021a40e20a45e1fd40c dspam-web-3.6.1.ebuild 5177
+SHA256 e004179da8ad5a5dd4552b45434e7b6a2291fc5a40a31ada15faaa65f6cf34d2 dspam-web-3.6.1.ebuild 5177
MD5 2a1f7d326abc49bdb7201cec33769898 dspam-web-3.6.3.ebuild 5179
+RMD160 f671ec5c53d0b920dea89c0cac6d13899509759e dspam-web-3.6.3.ebuild 5179
+SHA256 ffd623a33f8e768e27cb63f85befa8d7d410248da0c37063994f23a339bdb519 dspam-web-3.6.3.ebuild 5179
+MD5 d8562a344249cd72336660a35a0a63fc dspam-web-3.6.4.ebuild 5284
+RMD160 926c250cc96a8e806d04a7e32ba0ed7c8ca898c7 dspam-web-3.6.4.ebuild 5284
+SHA256 322d6b0717962805e8e5ba3ab86117ee57ebd41f7f53de108eda6cf0f07ab0cf dspam-web-3.6.4.ebuild 5284
MD5 7735956f416bd58bfcbeee99af43bea0 files/digest-dspam-web-3.2.7 63
+RMD160 ce7960915bff3c533ccffc2698ab6a2a44e63623 files/digest-dspam-web-3.2.7 63
+SHA256 f30a88498275e3e0f401a373c3fd8f0e7f6669cf1eac9f06a7a6addbbe1be1d5 files/digest-dspam-web-3.2.7 63
MD5 c26bf920b2afa7ae432ac6b6d96fb9b4 files/digest-dspam-web-3.4.9-r1 63
+RMD160 ab009d325fabbe3cb11b8da7e6ef3890f196a92f files/digest-dspam-web-3.4.9-r1 63
+SHA256 5dd2d2cd521ef26932742b6f1e670355860bdb6a9ec2a4cb6a6b83028329409f files/digest-dspam-web-3.4.9-r1 63
MD5 03b69dda833751bdda04e5413a9305e0 files/digest-dspam-web-3.6.0 129
+RMD160 7938c059468012e29bb5f97bd2c45aabcaf581f6 files/digest-dspam-web-3.6.0 129
+SHA256 f3687b62ab140539ba49cf5efc5113cb0313604c8221fcef8fe9ad9364e819c2 files/digest-dspam-web-3.6.0 129
MD5 5a495629f2b3fbcfabc0f4ae4a9b4e4b files/digest-dspam-web-3.6.1 129
+RMD160 2f8252fb53b7bd3c69af67cc73d79edb28dbb9ea files/digest-dspam-web-3.6.1 129
+SHA256 22fe216d58d850934d647270dec89fe999bf2d75a47f69845c0773595b3a534e files/digest-dspam-web-3.6.1 129
MD5 f73f2bd58b9d8ace7a6f431e8587c909 files/digest-dspam-web-3.6.3 129
+RMD160 10d6cbe604729a619fdea9fe27714d117d593342 files/digest-dspam-web-3.6.3 129
+SHA256 51b4104316124d35d8e81d99b681b13e2a15c41f650e50dec6bf8b6d461be3a2 files/digest-dspam-web-3.6.3 129
+MD5 05946cf8fedd62fdf054d5abc2374f75 files/digest-dspam-web-3.6.4 479
+RMD160 6de5fa0dcf705c1ac19dc8423adf9e011d8bd4dd files/digest-dspam-web-3.6.4 479
+SHA256 8ef5a56d692d54d6de1b379475c19471bce4b926003d9987b9e38be64b383b80 files/digest-dspam-web-3.6.4 479
MD5 ffdfc8d816078f4c58b75b9bed07503f files/htaccess 135
+RMD160 4f79db8e1bdf56ef86b922d2a87a7c2a1ba78d71 files/htaccess 135
+SHA256 e0c0da58eea5ef6af65cc03c22eaa47ad4f6584cec0f6430817f836d60457c3b files/htaccess 135
MD5 b4099a94a52af9abd4ade48d82914c3c files/htpasswd 19
+RMD160 9ef909dbde45fd311062229354ba56c76174fa96 files/htpasswd 19
+SHA256 0fae2fe609644c4c631385e0f4127bb1a19dcf18013871c8353117f38fa7ea2a files/htpasswd 19
MD5 f1ea445d6b4ddf81c55a4e886bc04218 metadata.xml 341
+RMD160 a12d687ee0219d49f322ea5d0c16513661adc55e metadata.xml 341
+SHA256 2777ce448f25f31f2c7c7a26e0f8fbcfc44a1db7fe3ce4868a2137c62b3e2799 metadata.xml 341
diff --git a/www-apps/dspam-web/dspam-web-3.6.4.ebuild b/www-apps/dspam-web/dspam-web-3.6.4.ebuild
new file mode 100644
index 000000000000..e7240b1c759e
--- /dev/null
+++ b/www-apps/dspam-web/dspam-web-3.6.4.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2006 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.6.4.ebuild,v 1.1 2006/02/13 16:02:22 st_lim Exp $
+
+inherit webapp eutils
+
+MY_PN=${PN/-web/}
+MY_P=${MY_PN}-${PV}
+
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Web based administration and user controls for dspam"
+SRC_URI="http://dspam.nuclearelephant.com/sources/${MY_P}.tar.gz
+ http://dspam.nuclearelephant.com/sources/extras/dspam_sa_trainer.tar.gz"
+HOMEPAGE="http://dspam.nuclearelephant.com/"
+LICENSE="GPL-2"
+
+IUSE="clamav debug large-domain ldap logrotate mysql neural oci8 postgres sqlite virtual-users"
+DEPEND=">=mail-filter/dspam-${PV}
+ clamav? ( >=app-antivirus/clamav-0.86 )
+ ldap? ( >=net-nds/openldap-2.2 )
+ mysql? ( >=dev-db/mysql-3.23 )
+ sqlite? ( dev-db/sqlite )
+ postgres? ( >=dev-db/postgresql-7.4.3 )
+ >=sys-libs/db-4.0
+ >=net-www/apache-1.3
+ >=dev-lang/perl-5.8.2
+ >=dev-perl/GD-2.0
+ dev-perl/GD-Graph3d
+ dev-perl/GDGraph
+ dev-perl/GDTextUtil"
+KEYWORDS="~x86 ~ppc ~amd64"
+
+# some FHS-like structure
+HOMEDIR="/var/spool/dspam"
+CONFDIR="/etc/mail/dspam"
+LOGDIR="/var/log/dspam"
+
+src_compile() {
+ local myconf
+
+ myconf="${myconf} --enable-long-username"
+ myconf="${myconf} --with-delivery-agent=/usr/bin/procmail"
+ use large-domain && myconf="${myconf} --enable-large-scale" ||\
+ myconf="${myconf} --enable-domain-scale"
+
+ myconf="${myconf} --with-dspam-home=${HOMEDIR}"
+ myconf="${myconf} --sysconfdir=${CONFDIR}"
+ use virtual-users || myconf="${myconf} --enable-homedir"
+ use clamav || myconf="${myconf} --enable-clamav"
+ use ldap && myconf="${myconf} --enable-ldap"
+
+ # enables support for debugging (touch /etc/dspam/.debug to turn on)
+ # optional: even MORE debugging output, use with extreme caution!
+ use debug && myconf="${myconf} --enable-debug --enable-verbose-debug --enable-bnr-debug"
+
+ # select storage driver
+ if use sqlite ; then
+ myconf="${myconf} --with-storage-driver=sqlite_drv"
+ myconf="${myconf} --enable-virtual-users"
+ elif use mysql; then
+ myconf="${myconf} --with-storage-driver=mysql_drv"
+ myconf="${myconf} --with-mysql-includes=/usr/include/mysql"
+ myconf="${myconf} --with-mysql-libraries=/usr/lib/mysql"
+ myconf="${myconf} --enable-preferences-extension"
+
+ if has_version ">sys-kernel/linux-headers-2.6"; then
+ myconf="${myconf} --enable-daemon"
+ fi
+
+ use virtual-users && myconf="${myconf} --enable-virtual-users"
+ # an experimental feature available with MySQL and PgSQL backend
+ use neural && myconf="${myconf} --enable-neural-networking"
+ elif use postgres ; then
+ myconf="${myconf} --with-storage-driver=pgsql_drv"
+ myconf="${myconf} --with-pgsql-includes=/usr/include/postgresql"
+ myconf="${myconf} --with-pgsql-libraries=/usr/lib/postgresql"
+ myconf="${myconf} --enable-preferences-extension"
+
+ if has_version ">sys-kernel/linux-headers-2.6"; then
+ myconf="${myconf} --enable-daemon"
+ fi
+
+ use virtual-users && myconf="${myconf} --enable-virtual-users"
+ # an experimental feature available with MySQL and PgSQL backend
+ use neural && myconf="${myconf} --enable-neural-networking"
+ elif use oci8 ; then
+ myconf="${myconf} --with-storage-driver=ora_drv"
+ myconf="${myconf} --with-oracle-home=${ORACLE_HOME}"
+ myconf="${myconf} --enable-virtual-users"
+
+ # I am in no way a Oracle specialist. If someone knows
+ # how to query the version of Oracle, then let me know.
+ if (expr ${ORACLE_HOME/*\/} : 10 1>/dev/null 2>&1); then
+ myconf="${myconf} --with-oracle-version=10"
+ fi
+ else
+ myconf="${myconf} --with-storage-driver=libdb4_drv"
+ fi
+
+ econf ${myconf} || die
+ cd ${S}/webui
+ make
+}
+
+src_install () {
+ cd ${S}/webui
+ webapp_src_preinst
+
+ sed -e 's,/var/dspam,/etc/mail/dspam,' \
+ -e 's,/usr/local,/usr,' \
+ -i ${S}/webui/cgi-bin/admin.cgi
+ sed -e 's,/var/dspam,/etc/mail/dspam,' \
+ -e 's,/usr/local,/usr,' \
+ -i ${S}/webui/cgi-bin/dspam.cgi
+
+ cp -r ${S}/webui/htdocs/* ${D}/${MY_HTDOCSDIR} || die
+ cp -r ${S}/webui/cgi-bin/* ${D}/${MY_CGIBINDIR} || die
+ insinto ${MY_HTDOCSDIR}
+ insopts -m644 -o apache -g apache
+
+ newins ${FILESDIR}/htaccess .htaccess
+ newins ${FILESDIR}/htpasswd .htpasswd
+
+ #All files must be owned by server
+ cd ${D}/${MY_HTDOCSDIR}
+ for file in `find -type d -printf "%p/* "`; do
+ webapp_serverowned "${MY_HTDOCSDIR}/${file}"
+ done
+
+ #All files must be owned by server
+ cd ${D}/${MY_CGIBINDIR}
+ for file in `find -type d -printf "%p/* "`; do
+ webapp_serverowned "${MY_CGIBINDIR}/${file}"
+ done
+
+ webapp_src_install
+}
+
+pkg_config () {
+ # add apache to the dspam group so the CGIs can access the data
+
+ local groups
+ groups=`groups apache`
+ groups=`echo ${groups} | sed -e 's/ /,/g'`
+ usermod -G "${groups},dspam" apache
+}
+
+pkg_postinst () {
+ einfo "The CGIs need to be executed as group dspam in order to write"
+ einfo "to the dspam data directory. You will need to configure apache"
+ einfo "manually to do this. Another option is to add the user apache"
+ einfo "to the dspam group. You can do this automatically by running:"
+ echo
+ einfo "emerge --config ${PF}"
+ echo
+ einfo "This app requires basic auth in order to operate properly."
+ einfo "You will need to add dspam users to the .htpasswd file or"
+ einfo "configure a different authentication mechanism for the user"
+ einfo "accounts."
+}
diff --git a/www-apps/dspam-web/files/digest-dspam-web-3.6.4 b/www-apps/dspam-web/files/digest-dspam-web-3.6.4
new file mode 100644
index 000000000000..da38c38c3288
--- /dev/null
+++ b/www-apps/dspam-web/files/digest-dspam-web-3.6.4
@@ -0,0 +1,6 @@
+MD5 e5e5d4beeea8d067aee9ad373c20cb22 dspam-3.6.4.tar.gz 743467
+RMD160 241389dd7da4749e13ab462c8c8e46ef9f03b477 dspam-3.6.4.tar.gz 743467
+SHA256 86868379d4f7ad4be8d039c9d8610739e7701f5602d0f67a3a7a059ea6865f16 dspam-3.6.4.tar.gz 743467
+MD5 8ffe9d41e6104a4c6d19067528193145 dspam_sa_trainer.tar.gz 1230
+RMD160 c3d0fca7169d23ecf9d44c850ee255b42d97d818 dspam_sa_trainer.tar.gz 1230
+SHA256 8fb6b1ebe592acf00a028737ef8e174544af166768b987d29048b2319bc5a215 dspam_sa_trainer.tar.gz 1230