summaryrefslogtreecommitdiffstats
path: root/extra/cyrus-sasl/Pkgfile
blob: 11edc7cf6b82c51e557a9637d7b284913c5829d4 (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
25
# 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
# Run on:

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
}