wok diff cyrus-imapd/receipt @ rev 4645

linux-source: add missing files.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Dec 26 11:02:36 2009 +0100 (2009-12-26)
parents 041aec83e7d7
children 39011a13b555
line diff
     1.1 --- a/cyrus-imapd/receipt	Tue Mar 10 08:58:14 2009 +0000
     1.2 +++ b/cyrus-imapd/receipt	Sat Dec 26 11:02:36 2009 +0100
     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.