diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2011-05-20 16:51:07 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2011-05-20 16:51:07 +0000 |
commit | 3be60ae89e7df1a7b4badf8012925c6fb9cf90af (patch) | |
tree | b079a853200f7d2e7d4f1c822558105d90ada96e /testing | |
parent | 14861f32173de43ae7a88d2464bf63cae9182d79 (diff) | |
download | aports-3be60ae89e7df1a7b4badf8012925c6fb9cf90af.tar.bz2 aports-3be60ae89e7df1a7b4badf8012925c6fb9cf90af.tar.xz |
testing/clapf: build against mysql and add some configure opts
Diffstat (limited to 'testing')
-rw-r--r-- | testing/clapf/APKBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/testing/clapf/APKBUILD b/testing/clapf/APKBUILD index c2de2b9729..43399503e2 100644 --- a/testing/clapf/APKBUILD +++ b/testing/clapf/APKBUILD @@ -3,13 +3,13 @@ pkgname=clapf pkgver=0.4.6_rc3 _realver=0.4.6-rc3 -pkgrel=1 +pkgrel=2 pkgdesc="clapf is an open source email content filter application" url="http://clapf.acts.hu" -arch="x86_64" +arch="all" license="as-is" -depends= -depends_dev="gsl-dev sqlite-dev clamav-dev zlib-dev" +depends="clamav-db" +depends_dev="gsl-dev mysql-dev clamav-dev zlib-dev" makedepends="$depends_dev" install="$pkgname.pre-install" pkgusers="clapf" @@ -32,23 +32,26 @@ prepare() { build() { cd "$_builddir" - #temp use sqlite for testing - #probably better to update to mysql ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --enable-libclamav \ - --with-tokendb=sqlite3 \ - --with-userdb=sqlite3 \ + --with-tokendb=mysql \ + --with-userdb=mysql \ --enable-lmtp \ --with-store=fs \ --enable-blackhole \ --enable-rbl \ --enable-policy \ --enable-whitelist \ - --with-clapf-user=clapf + --enable-blackhole \ + --with-clapf-user=clapf \ + --enable-language-detection \ + --enable-memcached \ + --enable-spamsum + make || return 1 } |