summaryrefslogtreecommitdiffstats
path: root/cyrus-sasl/Pkgfile
blob: 646116176a0cc9a444ba62d0111bb81e5739261f (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
# 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=1
source=(http://ftp.andrew.cmu.edu/pub/cyrus-mail/$name-$version.tar.gz)

build() {
	cd $name-$version

#	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
}