mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 17:01:34 +02:00
testing/clapf: build against mysql and add some configure opts
This commit is contained in:
parent
14861f3217
commit
3be60ae89e
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user