wok-6.x rev 4205

Cyrus-imapd: fix FSH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 09:26:48 2009 +0200 (2009-09-24)
parents 2d029c9663d9
children 4058bedceb3a
files cyrus-imapd/receipt
line diff
     1.1 --- a/cyrus-imapd/receipt	Wed Sep 23 21:05:02 2009 +0000
     1.2 +++ b/cyrus-imapd/receipt	Thu Sep 24 09:26:48 2009 +0200
     1.3 @@ -27,6 +27,7 @@
     1.4  -p0 p2.patch
     1.5  EOT
     1.6  	./configure --prefix=/usr --infodir=/usr/share/info \
     1.7 +	--with-service-path=/usr/lib/cyrus \
     1.8  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
     1.9  	make &&
    1.10  	make DESTDIR=$PWD/_pkg install
    1.11 @@ -37,10 +38,10 @@
    1.12  {
    1.13  	mkdir -p $fs/usr/lib $fs/var/imap $fs/var/spool/imap/stage.
    1.14  	cp -a $_pkg/usr/bin $fs/usr
    1.15 -	cp -a $_pkg/usr/cyrus $fs/usr
    1.16 +	cp -a $_pkg/usr/lib/cyrus $fs/usr/lib
    1.17  	cp -a $_pkg/usr/lib/perl5 $fs/usr/lib
    1.18 -	strip -s $fs/usr/cyrus/bin/*
    1.19 -	cp $src/tools/mkimap $fs/usr/cyrus/bin
    1.20 +	strip -s $fs/usr/lib/cyrus/bin/*
    1.21 +	cp $src/tools/mkimap $fs/usr/lib/cyrus/bin
    1.22  	cp -a stuff/etc $fs
    1.23  	cp $src/master/conf/small.conf $fs/etc/cyrus.conf
    1.24  	for i in proc db socket log msg ptclient; do
    1.25 @@ -103,7 +104,7 @@
    1.26  	for i in root $(awk -F: '{ if ($3 >= 1000) print $1 }' < $1/etc/passwd); do
    1.27  		echo "createmailbox user.$i"
    1.28  	done | chroot $1/ cyradm -u cyrus -w cyrus 127.0.0.1 >/dev/null 2>&1
    1.29 -	chroot $1/ su -c "/usr/cyrus/bin/reconstruct" cyrus >/dev/null 2>&1
    1.30 +	chroot $1/ su -c "/usr/lib/cyrus/bin/reconstruct" cyrus >/dev/null 2>&1
    1.31  	cat <<EOF
    1.32  ----
    1.33  Users must have a password to access the mailbox.