summaryrefslogtreecommitdiffstats
path: root/extra/cyrus-sasl/Pkgfile
blob: fa4164a3b9c3ee9224e679f027a1f2e69601e428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: Système d'identification et couche de sécurité 
# URL: http://asg.web.cmu.edu/cyrus/download/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: kerberos

name=cyrus-sasl
version=2.1.22
release=3
source=( http://ftp.andrew.cmu.edu/pub/cyrus-mail/$name-$version.tar.gz\
	http://nutyx.meticul.eu/files/patchs/$name/gcc44-1.patch)
build() {
	cd $name-$version
	patch -Np1 -i ../gcc44-1.patch
	
	./configure --prefix=/usr --sysconfdir=/etc \
	--mandir=/usr/share/man \
	--with-dbpath=/var/lib/sasl/sasldb2 \
	--with-saslauthd=/var/run/saslauthd
	make
	make DESTDIR=$PKG install
	install -v -m700 -d $PKG/var/lib/sasl $PKG/var/run/saslauthd
}