summaryrefslogtreecommitdiffstats
path: root/cyrus-sasl/Pkgfile
blob: 6fb59477decaac12f600e3784f0c32194e76f820 (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
26
27
28
29
30
# 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

name=cyrus-sasl
version=2.1.25
release=2
source=(http://ftp.andrew.cmu.edu/pub/cyrus-mail/$name-$version.tar.gz
	db5_support.patch)

build() {
	cd $name-$version

	patch -p1 < ../db5_support.patch

#	sed -i.bak 's/#elif WITH_DES/#elif defined(WITH_DES)/' \
#		plugins/digestmd5.c &&

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--with-dbpath=/var/lib/sasl/sasldb2 \
		--with-saslauthd=/var/run/saslauthd \
		--disable-gssapi
	make
	make DESTDIR=$PKG install
	install -v -m700 -d $PKG/var/lib/sasl $PKG/var/run/saslauthd
}