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
|
pkgname=clapf
|
||||||
pkgver=0.4.6_rc3
|
pkgver=0.4.6_rc3
|
||||||
_realver=0.4.6-rc3
|
_realver=0.4.6-rc3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="clapf is an open source email content filter application"
|
pkgdesc="clapf is an open source email content filter application"
|
||||||
url="http://clapf.acts.hu"
|
url="http://clapf.acts.hu"
|
||||||
arch="x86_64"
|
arch="all"
|
||||||
license="as-is"
|
license="as-is"
|
||||||
depends=
|
depends="clamav-db"
|
||||||
depends_dev="gsl-dev sqlite-dev clamav-dev zlib-dev"
|
depends_dev="gsl-dev mysql-dev clamav-dev zlib-dev"
|
||||||
makedepends="$depends_dev"
|
makedepends="$depends_dev"
|
||||||
install="$pkgname.pre-install"
|
install="$pkgname.pre-install"
|
||||||
pkgusers="clapf"
|
pkgusers="clapf"
|
||||||
@ -32,23 +32,26 @@ prepare() {
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_builddir"
|
cd "$_builddir"
|
||||||
#temp use sqlite for testing
|
|
||||||
#probably better to update to mysql
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--infodir=/usr/share/info \
|
--infodir=/usr/share/info \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--enable-libclamav \
|
--enable-libclamav \
|
||||||
--with-tokendb=sqlite3 \
|
--with-tokendb=mysql \
|
||||||
--with-userdb=sqlite3 \
|
--with-userdb=mysql \
|
||||||
--enable-lmtp \
|
--enable-lmtp \
|
||||||
--with-store=fs \
|
--with-store=fs \
|
||||||
--enable-blackhole \
|
--enable-blackhole \
|
||||||
--enable-rbl \
|
--enable-rbl \
|
||||||
--enable-policy \
|
--enable-policy \
|
||||||
--enable-whitelist \
|
--enable-whitelist \
|
||||||
--with-clapf-user=clapf
|
--enable-blackhole \
|
||||||
|
--with-clapf-user=clapf \
|
||||||
|
--enable-language-detection \
|
||||||
|
--enable-memcached \
|
||||||
|
--enable-spamsum
|
||||||
|
|
||||||
make || return 1
|
make || return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user