wok diff dovecot/receipt @ rev 23684
updated svgcleaner (0.7.1 -> 0.9.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 26 17:15:20 2020 +0100 (2020-04-26) |
parents | 3c832ef040e6 |
children | bfabe25c21ff |
line diff
1.1 --- a/dovecot/receipt Tue Oct 29 21:48:15 2019 +0100 1.2 +++ b/dovecot/receipt Sun Apr 26 17:15:20 2020 +0100 1.3 @@ -1,33 +1,34 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="dovecot" 1.7 -VERSION="2.1.6" 1.8 +VERSION="2.3.9.2" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Dovecot IMAP and POP3 Server." 1.11 MAINTAINER="l.lemarinel@gmail.com" 1.12 LICENSE="LGPL2.1" 1.13 +WEB_SITE="https://dovecot.org/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="https://dovecot.org/" 1.17 -WGET_URL="http://www.dovecot.org/releases/${VERSION:0:3}/$TARBALL" 1.18 +WGET_URL="https://www.dovecot.org/releases/${VERSION:0:3}/$TARBALL" 1.19 1.20 -DEPENDS="libssl libcap openldap pam postgresql libmysqlclient" 1.21 -BUILD_DEPENDS="openssl-dev libcap-dev openldap-dev \ 1.22 - libmysqlclient mysql-dev sqlite-dev pam-dev postgresql-dev" 1.23 +DEPENDS="libcap libmysqlclient libssl openldap pam postgresql" 1.24 +BUILD_DEPENDS="libcap-dev libmysqlclient mysql-dev openldap-dev 1.25 + openssl-dev pam-dev postgresql-dev sqlite-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - cd $src 1.31 - ./configure --prefix=/usr \ 1.32 - --sysconfdir=/etc/dovecot \ 1.33 - --localstatedir=/var \ 1.34 - --libexecdir=/usr/lib/$PACKAGE \ 1.35 - --with-ssl=openssl \ 1.36 - --with-ldap=plugin \ 1.37 - --with-sql=plugin \ 1.38 - --with-mysql \ 1.39 - --with-pgsql \ 1.40 - --with-sqlite \ 1.41 + ./configure \ 1.42 + --prefix=/usr \ 1.43 + --sysconfdir=/etc/dovecot \ 1.44 + --localstatedir=/var \ 1.45 + --libexecdir=/usr/lib/$PACKAGE \ 1.46 + --with-ldap=plugin \ 1.47 + --with-mysql \ 1.48 + --with-pgsql \ 1.49 + --with-sql=plugin \ 1.50 + --with-sqlite \ 1.51 + --with-ssl=openssl \ 1.52 $CONFIGURE_ARGS && 1.53 make && 1.54 make DESTDIR=$DESTDIR install 1.55 @@ -37,32 +38,33 @@ 1.56 # Rules to gen a SliTaz package suitable for Tazpkg. 1.57 genpkg_rules() 1.58 { 1.59 - mkdir -p $fs/usr/lib \ 1.60 - $fs/var/log/dovecot \ 1.61 - $fs/etc/ssl/misc 1.62 - 1.63 + mkdir -p $fs/usr/lib 1.64 + mkdir -p $fs/var/log/dovecot 1.65 + mkdir -p $fs/etc/ssl/misc 1.66 + 1.67 + cp -a $install/usr/sbin $fs/usr 1.68 + cp -a $install/usr/bin $fs/usr 1.69 + cp -a $install/usr/lib $fs/usr 1.70 + cp -a $install/etc $fs 1.71 1.72 - cp -a $install/usr/sbin $fs/usr 1.73 - cp -a $install/usr/bin $fs/usr 1.74 - cp -a $install/usr/lib $fs/usr 1.75 - cp -a $install/etc $fs/ 1.76 - 1.77 - cp -pa $stuff/init.d $fs/etc 1.78 + cp -pa $stuff/init.d $fs/etc 1.79 1.80 #cp -pa $fs/etc/dovecot/dovecot-example.conf $fs/etc/dovecot/dovecot.conf 1.81 - cp -pa $install/usr/share/doc/dovecot/example-config/* $fs/etc/dovecot/ 1.82 + cp -pa $install/usr/share/doc/dovecot/example-config/* \ 1.83 + $fs/etc/dovecot/ 1.84 #cp -pa $src/doc/example-config/conf.d/*.conf $fs/etc/dovecot/conf.d 1.85 #cp -pa $src/doc/example-config/conf.d/*.ext $fs/etc/dovecot/conf.d 1.86 - cp -pa $src/doc/*.cnf $fs/etc/ssl 1.87 - cp -pa $src/doc/mkcert.sh $fs/etc/ssl/misc/dovmkcert.sh 1.88 - 1.89 - # Remove archive file *.*a 1.90 + cp -pa $src/doc/*.cnf $fs/etc/ssl 1.91 + cp -pa $src/doc/mkcert.sh \ 1.92 + $fs/etc/ssl/misc/dovmkcert.sh 1.93 + 1.94 + # Remove archive files *.*a 1.95 find $fs -name "*.*a" -exec rm -f {} \; 1.96 1.97 - # Fix perms 1.98 - chmod 755 $fs/etc/ssl/misc/* 1.99 - 1.100 - # Customising config. 1.101 + # Fix permissions 1.102 + chmod 755 $fs/etc/ssl/misc/* 1.103 + 1.104 + # Customising configuration. 1.105 sed -i -e "s/^#default_vsz_limit.*/default_vsz_limit = 50M/" \ 1.106 $fs/etc/dovecot/conf.d/10-master.conf 1.107 1.108 @@ -82,11 +84,12 @@ 1.109 { 1.110 local user 1.111 local group 1.112 - 1.113 + 1.114 user=dovecot 1.115 group=dovecot 1.116 - 1.117 - if ! grep -q $user "$1/etc/passwd"; then 1.118 + 1.119 + if ! grep -q $user "$1/etc/passwd" 1.120 + then 1.121 echo 1.122 echo -n "Adding user/group $user..." 1.123 chroot "$1/" addgroup -g 76 -S $group 1.124 @@ -94,9 +97,8 @@ 1.125 chroot "$1/" adduser -u 74 -S -D -H -G nogroup dovenull 1.126 status 1.127 fi 1.128 - 1.129 1.130 - # Set perms for files and directories 1.131 + # Set permissions for files and directories 1.132 chroot "$1/" chown -R ${user}.${group} /var/log/${user} \ 1.133 1.134 cat <<EOF