wok-current rev 12767
Up: dovecot to 2.1.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 12 11:29:42 2012 +0000 (2012-05-12) |
parents | 170bab8c0bcc |
children | 7759df4ad853 |
files | dovecot/receipt |
line diff
1.1 --- a/dovecot/receipt Sat May 12 11:12:53 2012 +0000 1.2 +++ b/dovecot/receipt Sat May 12 11:29:42 2012 +0000 1.3 @@ -1,24 +1,24 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="dovecot" 1.7 -VERSION="2.1.1" 1.8 +VERSION="2.1.6" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Dovecot IMAP and POP3 Server." 1.11 MAINTAINER="l.lemarinel@gmail.com" 1.12 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 -WEB_SITE="www.dovecot.org" 1.14 -WGET_URL="http://www.dovecot.org/releases/${VERSION%.*}/$TARBALL" 1.15 +WEB_SITE="http://dovecot.org" 1.16 +WGET_URL="http://www.dovecot.org/releases/${VERSION:0:3}/$TARBALL" 1.17 + 1.18 +DEPENDS="libssl libcap openldap pam postgresql libmysqlclient" 1.19 BUILD_DEPENDS="openssl-dev libcap-dev openldap-dev \ 1.20 libmysqlclient mysql-dev sqlite-dev pam-dev postgresql-dev" 1.21 -DEPENDS="libssl libcap libmysqlclient libpostgresqlclient pam" 1.22 - 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 { 1.27 cd $src 1.28 ./configure --prefix=/usr \ 1.29 - --sysconfdir=/etc \ 1.30 + --sysconfdir=/etc/dovecot \ 1.31 --localstatedir=/var \ 1.32 --libexecdir=/usr/lib/$PACKAGE \ 1.33 --with-ssl=openssl \ 1.34 @@ -28,8 +28,8 @@ 1.35 --with-pgsql \ 1.36 --with-sqlite \ 1.37 $CONFIGURE_ARGS && 1.38 - make && make install 1.39 -# make DESTDIR=$DESTDIR install 1.40 + make && 1.41 + make DESTDIR=$DESTDIR install 1.42 1.43 } 1.44 1.45 @@ -84,9 +84,9 @@ 1.46 1.47 if ! grep -q $user $1/etc/passwd; then 1.48 echo -n "Adding user/group $user..." 1.49 - chroot $1/ addgroup -S $group 1.50 - chroot $1/ adduser -S -D -H -G $group $user 1.51 - chroot $1/ adduser -S -D -H -G nogroup dovenull 1.52 + chroot $1/ addgroup -g 76 -S $group 1.53 + chroot $1/ adduser -u 76 -S -D -H -G $group $user 1.54 + chroot $1/ adduser -u 74 -S -D -H -G nogroup dovenull 1.55 status 1.56 fi 1.57 1.58 @@ -110,10 +110,10 @@ 1.59 post_remove() 1.60 { 1.61 echo "Removing stalled files..." 1.62 - test -d /var/log/dovecot && rm -rf /var/log/dovecot 1.63 - test -d /var/run/dovecot && rm -rf /var/run/dovecot 1.64 + test -d $1/var/log/dovecot && rm -rf $1/var/log/dovecot 1.65 + test -d $1/var/run/dovecot && rm -rf $1/var/run/dovecot 1.66 1.67 echo "Removing user/group daemon" 1.68 - deluser dovecot 1.69 - deluser dovenull 1.70 + chroot "$1/" deluser dovecot 1.71 + chroot "$1/" deluser dovenull 1.72 }