wok rev 2260
squirrelmail plugins: post_remove -> pre_remove
line diff
1.1 --- a/squirrelmail-archive/receipt Sun Feb 15 22:54:18 2009 +0000 1.2 +++ b/squirrelmail-archive/receipt Mon Feb 16 08:04:20 2009 +0000 1.3 @@ -23,7 +23,7 @@ 1.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 1.5 } 1.6 1.7 -post_remove() 1.8 +pre_remove() 1.9 { 1.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 1.11 }
2.1 --- a/squirrelmail-autocomplete/receipt Sun Feb 15 22:54:18 2009 +0000 2.2 +++ b/squirrelmail-autocomplete/receipt Mon Feb 16 08:04:20 2009 +0000 2.3 @@ -24,7 +24,7 @@ 2.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 2.5 } 2.6 2.7 -post_remove() 2.8 +pre_remove() 2.9 { 2.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 2.11 }
3.1 --- a/squirrelmail-autorespond/receipt Sun Feb 15 22:54:18 2009 +0000 3.2 +++ b/squirrelmail-autorespond/receipt Mon Feb 16 08:04:20 2009 +0000 3.3 @@ -28,7 +28,7 @@ 3.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 3.5 } 3.6 3.7 -post_remove() 3.8 +pre_remove() 3.9 { 3.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 3.11 }
4.1 --- a/squirrelmail-bookmarks/receipt Sun Feb 15 22:54:18 2009 +0000 4.2 +++ b/squirrelmail-bookmarks/receipt Mon Feb 16 08:04:20 2009 +0000 4.3 @@ -29,7 +29,7 @@ 4.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 4.5 } 4.6 4.7 -post_remove() 4.8 +pre_remove() 4.9 { 4.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 4.11 }
5.1 --- a/squirrelmail-calendard-file-backend/receipt Sun Feb 15 22:54:18 2009 +0000 5.2 +++ b/squirrelmail-calendard-file-backend/receipt Mon Feb 16 08:04:20 2009 +0000 5.3 @@ -24,7 +24,7 @@ 5.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 5.5 } 5.6 5.7 -post_remove() 5.8 +pre_remove() 5.9 { 5.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 5.11 }
6.1 --- a/squirrelmail-calendard-sql-backend/receipt Sun Feb 15 22:54:18 2009 +0000 6.2 +++ b/squirrelmail-calendard-sql-backend/receipt Mon Feb 16 08:04:20 2009 +0000 6.3 @@ -29,7 +29,7 @@ 6.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 6.5 } 6.6 6.7 -post_remove() 6.8 +pre_remove() 6.9 { 6.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 6.11 }
7.1 --- a/squirrelmail-html/receipt Sun Feb 15 22:54:18 2009 +0000 7.2 +++ b/squirrelmail-html/receipt Mon Feb 16 08:04:20 2009 +0000 7.3 @@ -23,7 +23,7 @@ 7.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 7.5 } 7.6 7.7 -post_remove() 7.8 +pre_remove() 7.9 { 7.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 7.11 }
8.1 --- a/squirrelmail-html_mail/receipt Sun Feb 15 22:54:18 2009 +0000 8.2 +++ b/squirrelmail-html_mail/receipt Mon Feb 16 08:04:20 2009 +0000 8.3 @@ -36,7 +36,7 @@ 8.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 8.5 } 8.6 8.7 -post_remove() 8.8 +pre_remove() 8.9 { 8.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 8.11 rm /etc/apache/conf.d/$SOURCE
9.1 --- a/squirrelmail-ldapuser/receipt Sun Feb 15 22:54:18 2009 +0000 9.2 +++ b/squirrelmail-ldapuser/receipt Mon Feb 16 08:04:20 2009 +0000 9.3 @@ -35,7 +35,7 @@ 9.4 EOT 9.5 } 9.6 9.7 -post_remove() 9.8 +pre_remove() 9.9 { 9.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 9.11 sed -i "/plugins.$SOURCE.doc/d" /etc/openldap/slapd.conf
10.1 --- a/squirrelmail-legend/receipt Sun Feb 15 22:54:18 2009 +0000 10.2 +++ b/squirrelmail-legend/receipt Mon Feb 16 08:04:20 2009 +0000 10.3 @@ -23,7 +23,7 @@ 10.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 10.5 } 10.6 10.7 -post_remove() 10.8 +pre_remove() 10.9 { 10.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 10.11 }
11.1 --- a/squirrelmail-msg_flags/receipt Sun Feb 15 22:54:18 2009 +0000 11.2 +++ b/squirrelmail-msg_flags/receipt Mon Feb 16 08:04:20 2009 +0000 11.3 @@ -26,10 +26,10 @@ 11.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 11.5 } 11.6 11.7 -post_remove() 11.8 +pre_remove() 11.9 { 11.10 ( cd /usr/share/squirrelmail/plugins/$SOURCE 11.11 patch -R -p0 < patches/$SOURCE-squirrelmail-$(. $INSTALLED/squirrelmail/receipt; echo $VERSION).diff ) 11.12 - sed -i "/$PACKAGE/d" $INSTALLED/squirrelmail/modifiers 11.13 + sed -i "/^$PACKAGE\$/d" $INSTALLED/squirrelmail/modifiers 11.14 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 11.15 }
12.1 --- a/squirrelmail-multilogin/receipt Sun Feb 15 22:54:18 2009 +0000 12.2 +++ b/squirrelmail-multilogin/receipt Mon Feb 16 08:04:20 2009 +0000 12.3 @@ -10,7 +10,7 @@ 12.4 WEB_SITE="http://www.squirrelmail.org/" 12.5 DEPENDS="squirrelmail squirrelmail-compatibility-plugin" 12.6 WGET_URL="${WEB_SITE}plugins/$TARBALL" 12.7 -CONFIG_FILES="/etc/squirrelmail/config-multilogin.php" 12.8 +CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 12.9 12.10 # Rules to gen a SliTaz package suitable for Tazpkg. 12.11 genpkg_rules() 12.12 @@ -19,25 +19,25 @@ 12.13 $fs/var/lib/squirrelmail/slitaz.org/data 12.14 cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 12.15 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.sample.php \ 12.16 - $fs/etc/squirrelmail/config-multilogin.php 12.17 - ln -s /etc/squirrelmail/config-multilogin.php \ 12.18 + $fs/etc/squirrelmail/config-$SOURCE.php 12.19 + ln -s /etc/squirrelmail/config-$SOURCE.php \ 12.20 $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php 12.21 - ( cd $fs/etc/squirrelmail ; patch -p0 ) < stuff/config-multilogin.u 12.22 + ( cd $fs/etc/squirrelmail ; patch -p0 ) < stuff/config-$SOURCE.u 12.23 } 12.24 12.25 post_install() 12.26 { 12.27 chown www $1/var/lib/squirrelmail/slitaz.org/data 12.28 - ( cd $1/usr/share/squirrelmail/plugins/multilogin 12.29 - patch -p0 < patches/multilogin-squirrelmail-$(. $1/$INSTALLED/squirrelmail/receipt; echo $VERSION).diff ) 12.30 + ( cd $1/usr/share/squirrelmail/plugins/$SOURCE 12.31 + patch -p0 < patches/$SOURCE-squirrelmail-$(. $1/$INSTALLED/squirrelmail/receipt; echo $VERSION).diff ) 12.32 echo "$PACKAGE" >> $1/$INSTALLED/squirrelmail/modifiers 12.33 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 12.34 } 12.35 12.36 -post_remove() 12.37 +pre_remove() 12.38 { 12.39 - ( cd /usr/share/squirrelmail/plugins/multilogin 12.40 - patch -R -p0 < patches/multilogin-squirrelmail-$(. $INSTALLED/squirrelmail/receipt; echo $VERSION).diff ) 12.41 - sed -i "/$PACKAGE/d" $INSTALLED/squirrelmail/modifiers 12.42 + ( cd /usr/share/squirrelmail/plugins/$SOURCE 12.43 + patch -R -p0 < patches/$SOURCE-squirrelmail-$(. $INSTALLED/squirrelmail/receipt; echo $VERSION).diff ) 12.44 + sed -i "/^$PACKAGE\$/d" $INSTALLED/squirrelmail/modifiers 12.45 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 12.46 }
13.1 --- a/squirrelmail-notes/receipt Sun Feb 15 22:54:18 2009 +0000 13.2 +++ b/squirrelmail-notes/receipt Mon Feb 16 08:04:20 2009 +0000 13.3 @@ -28,7 +28,7 @@ 13.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 13.5 } 13.6 13.7 -post_remove() 13.8 +pre_remove() 13.9 { 13.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 13.11 }
14.1 --- a/squirrelmail-quota/receipt Sun Feb 15 22:54:18 2009 +0000 14.2 +++ b/squirrelmail-quota/receipt Mon Feb 16 08:04:20 2009 +0000 14.3 @@ -10,7 +10,7 @@ 14.4 WEB_SITE="http://www.squirrelmail.org/" 14.5 DEPENDS="squirrelmail squirrelmail-compatibility-plugin" 14.6 WGET_URL="${WEB_SITE}plugins/$TARBALL" 14.7 -CONFIG_FILES="/etc/squirrelmail/config-quota.php" 14.8 +CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 14.9 14.10 # Rules to gen a SliTaz package suitable for Tazpkg. 14.11 genpkg_rules() 14.12 @@ -18,10 +18,10 @@ 14.13 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 14.14 cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 14.15 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.sample.php \ 14.16 - $fs/etc/squirrelmail/config-quota.php 14.17 + $fs/etc/squirrelmail/config-$SOURCE.php 14.18 sed -i "s/settings\['quota_type'\] = 0/settings['quota_type'] = 1/" \ 14.19 - $fs/etc/squirrelmail/config-quota.php 14.20 - ln -s /etc/squirrelmail/config-quota.php \ 14.21 + $fs/etc/squirrelmail/config-$SOURCE.php 14.22 + ln -s /etc/squirrelmail/config-$SOURCE.php \ 14.23 $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php 14.24 } 14.25 14.26 @@ -30,7 +30,7 @@ 14.27 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 14.28 } 14.29 14.30 -post_remove() 14.31 +pre_remove() 14.32 { 14.33 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 14.34 }
15.1 --- a/squirrelmail-shared_calendars/receipt Sun Feb 15 22:54:18 2009 +0000 15.2 +++ b/squirrelmail-shared_calendars/receipt Mon Feb 16 08:04:20 2009 +0000 15.3 @@ -28,7 +28,7 @@ 15.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 15.5 } 15.6 15.7 -post_remove() 15.8 +pre_remove() 15.9 { 15.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 15.11 }
16.1 --- a/squirrelmail-sieve/receipt Sun Feb 15 22:54:18 2009 +0000 16.2 +++ b/squirrelmail-sieve/receipt Mon Feb 16 08:04:20 2009 +0000 16.3 @@ -28,7 +28,7 @@ 16.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 16.5 } 16.6 16.7 -post_remove() 16.8 +pre_remove() 16.9 { 16.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 16.11 }
17.1 --- a/squirrelmail-sizes/receipt Sun Feb 15 22:54:18 2009 +0000 17.2 +++ b/squirrelmail-sizes/receipt Mon Feb 16 08:04:20 2009 +0000 17.3 @@ -23,7 +23,7 @@ 17.4 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 17.5 } 17.6 17.7 -post_remove() 17.8 +pre_remove() 17.9 { 17.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 17.11 }
18.1 --- a/squirrelmail-smallcal/receipt Sun Feb 15 22:54:18 2009 +0000 18.2 +++ b/squirrelmail-smallcal/receipt Mon Feb 16 08:04:20 2009 +0000 18.3 @@ -26,7 +26,7 @@ 18.4 EOF 18.5 } 18.6 18.7 -post_remove() 18.8 +pre_remove() 18.9 { 18.10 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 18.11 }
19.1 --- a/squirrelmail-spamassassin/receipt Sun Feb 15 22:54:18 2009 +0000 19.2 +++ b/squirrelmail-spamassassin/receipt Mon Feb 16 08:04:20 2009 +0000 19.3 @@ -10,6 +10,7 @@ 19.4 WEB_SITE="http://www.squirrelmail.org/" 19.5 DEPENDS="squirrelmail" 19.6 WGET_URL="${WEB_SITE}plugins/$TARBALL" 19.7 +SUGGESTED="spamassassin" 19.8 19.9 # Rules to gen a SliTaz package suitable for Tazpkg. 19.10 genpkg_rules() 19.11 @@ -23,7 +24,7 @@ 19.12 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 19.13 } 19.14 19.15 -post_remove() 19.16 +pre_remove() 19.17 { 19.18 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 19.19 }
20.1 --- a/squirrelmail-vkeyboard/receipt Sun Feb 15 22:54:18 2009 +0000 20.2 +++ b/squirrelmail-vkeyboard/receipt Mon Feb 16 08:04:20 2009 +0000 20.3 @@ -10,7 +10,7 @@ 20.4 WEB_SITE="http://www.squirrelmail.org/" 20.5 DEPENDS="squirrelmail" 20.6 WGET_URL="${WEB_SITE}plugins/$TARBALL" 20.7 -CONFIG_FILES="/etc/squirrelmail/config-vkeyboard.php" 20.8 +CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 20.9 20.10 # Rules to gen a SliTaz package suitable for Tazpkg. 20.11 genpkg_rules() 20.12 @@ -18,8 +18,8 @@ 20.13 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 20.14 cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 20.15 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php.sample \ 20.16 - $fs/etc/squirrelmail/config-vkeyboard.php 20.17 - ln -s /etc/squirrelmail/config-vkeyboard.php \ 20.18 + $fs/etc/squirrelmail/config-$SOURCE.php 20.19 + ln -s /etc/squirrelmail/config-$SOURCE.php \ 20.20 $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php 20.21 } 20.22 20.23 @@ -28,7 +28,7 @@ 20.24 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 20.25 } 20.26 20.27 -post_remove() 20.28 +pre_remove() 20.29 { 20.30 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 20.31 }