summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-04-18 11:03:03 +0000
committerAlin Năstac <mrness@gentoo.org>2007-04-18 11:03:03 +0000
commitfaf4f8a64c12197c5aae8afe90c2ceab0bfb2bfb (patch)
tree92ebfec9ef37b4b4d04d7046efdbb801ac17d967
parent<icecast-2.3.1-r1 depend on <curl-7.16.0 in preparation for >curl-7.16.0 unmask. (diff)
downloadgentoo-2-faf4f8a64c12197c5aae8afe90c2ceab0bfb2bfb.tar.gz
gentoo-2-faf4f8a64c12197c5aae8afe90c2ceab0bfb2bfb.tar.bz2
gentoo-2-faf4f8a64c12197c5aae8afe90c2ceab0bfb2bfb.zip
Install storage drivers in $(libdir)/dspam (bug #172756 comment #3). Use get_libdir() for mysql and postgresql library paths. Re-add qa-fixes patch renamed as ldap-deprecated.
(Portage version: 2.1.2.3)
-rw-r--r--mail-filter/dspam/ChangeLog10
-rw-r--r--mail-filter/dspam/dspam-3.8.0-r1.ebuild (renamed from mail-filter/dspam/dspam-3.8.0.ebuild)15
-rw-r--r--mail-filter/dspam/files/digest-dspam-3.8.0-r1 (renamed from mail-filter/dspam/files/digest-dspam-3.8.0)6
3 files changed, 17 insertions, 14 deletions
diff --git a/mail-filter/dspam/ChangeLog b/mail-filter/dspam/ChangeLog
index fabd35f8e4bc..9f7a66f9aca6 100644
--- a/mail-filter/dspam/ChangeLog
+++ b/mail-filter/dspam/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for mail-filter/dspam
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/ChangeLog,v 1.87 2007/04/17 08:11:22 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/ChangeLog,v 1.88 2007/04/18 11:03:03 mrness Exp $
+
+*dspam-3.8.0-r1 (18 Apr 2007)
+
+ 18 Apr 2007; Alin Năstac <mrness@gentoo.org> -dspam-3.8.0.ebuild,
+ +dspam-3.8.0-r1.ebuild:
+ Install storage drivers in $(libdir)/dspam (bug #172756 comment #3). Use
+ get_libdir() for mysql and postgresql library paths. Re-add qa-fixes patch
+ renamed as ldap-deprecated.
*dspam-3.8.0 (17 Apr 2007)
diff --git a/mail-filter/dspam/dspam-3.8.0.ebuild b/mail-filter/dspam/dspam-3.8.0-r1.ebuild
index d9792763c11d..b672abdf5e81 100644
--- a/mail-filter/dspam/dspam-3.8.0.ebuild
+++ b/mail-filter/dspam/dspam-3.8.0-r1.ebuild
@@ -1,16 +1,16 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.8.0.ebuild,v 1.1 2007/04/17 08:11:22 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.8.0-r1.ebuild,v 1.1 2007/04/18 11:03:03 mrness Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
-inherit eutils autotools flag-o-matic
+inherit eutils autotools flag-o-matic multilib
DESCRIPTION="A statistical-algorithmic hybrid anti-spam filter"
HOMEPAGE="http://dspam.nuclearelephant.com/"
SRC_URI="http://dspam.nuclearelephant.com/sources/${P}.tar.gz
- mirror://gentoo/${P}-patches-20070416.tar.gz
+ mirror://gentoo/${P}-patches-20070418.tar.gz
http://dspam.nuclearelephant.com/sources/extras/dspam_sa_trainer.tar.gz"
LICENSE="GPL-2"
@@ -109,13 +109,13 @@ src_compile() {
if [ "$STORAGE" ] ; then STORAGE="${STORAGE}," ; fi
STORAGE="${STORAGE}mysql_drv"
myconf="${myconf} --with-mysql-includes=/usr/include/mysql"
- myconf="${myconf} --with-mysql-libraries=/usr/lib/mysql"
+ myconf="${myconf} --with-mysql-libraries=/usr/$(get_libdir)/mysql"
fi
if use postgres ; then
if [ "$STORAGE" ] ; then STORAGE="${STORAGE}," ; fi
STORAGE="${STORAGE}pgsql_drv"
myconf="${myconf} --with-pgsql-includes=/usr/include/postgresql"
- myconf="${myconf} --with-pgsql-libraries=/usr/lib/postgresql"
+ myconf="${myconf} --with-pgsql-libraries=/usr/$(get_libdir)/postgresql"
fi
if [[ -z "${STORAGE}" ]]; then
STORAGE="${STORAGE}hash_drv"
@@ -146,11 +146,6 @@ src_install () {
# make install
make DESTDIR="${D}" install || die "make install failed"
- dodir /usr/lib/dspam
- if [[ "${D}"/usr/lib/*drv* != *"*" ]]; then
- mv "${D}"/usr/lib/*drv* "${D}"/usr/lib/dspam/
- fi
-
diropts -m0755 -o dspam -g dspam
keepdir /var/run/dspam
diff --git a/mail-filter/dspam/files/digest-dspam-3.8.0 b/mail-filter/dspam/files/digest-dspam-3.8.0-r1
index 463a04ecb8db..4ae7b9e258f7 100644
--- a/mail-filter/dspam/files/digest-dspam-3.8.0
+++ b/mail-filter/dspam/files/digest-dspam-3.8.0-r1
@@ -1,6 +1,6 @@
-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 1e0848291117bba17969d02bd72801a0 dspam-3.8.0-patches-20070418.tar.gz 7688
+RMD160 e1f0d0d1a67f917352e19ec11763e743c6791f43 dspam-3.8.0-patches-20070418.tar.gz 7688
+SHA256 f0e1c523205833bf1cdbedec16039fafedf9e802f4da6faa859f14411819b27a dspam-3.8.0-patches-20070418.tar.gz 7688
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