From af687a61d865022fed514e60924322d640f80997 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Wed, 29 Apr 2015 10:45:40 +0200 Subject: [PATCH] adding permanent fix for custom zones --- debian/changelog | 7 +++++++ install/mysql.sql | 2 +- install/upgrade_check.sh | 4 ++++ wheezy/changelog.diff | 8 ++++---- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 31a363e1..25df8788 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +alternc (3.1.5) oldstable; urgency=low + + * fix alias changes not working in some cases + * fix ;;; END ALTERNC zones bug also for older versions + + -- Benjamin Sonntag Wed, 29 Apr 2015 10:30:01 +0200 + alternc (3.1.4) oldstable; urgency=low * ensure that values in sub_domaines are prefixed by / for hosting subdomains diff --git a/install/mysql.sql b/install/mysql.sql index 1b02f246..4d30ae8b 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -747,6 +747,6 @@ CREATE TABLE IF NOT EXISTS `alternc_status` ( KEY `name` (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -INSERT INTO alternc_status SET name='alternc_version',value='3.4.0.sh'; +INSERT INTO alternc_status SET name='alternc_version',value='3.4.1.sh'; diff --git a/install/upgrade_check.sh b/install/upgrade_check.sh index 02775acf..24a7c655 100755 --- a/install/upgrade_check.sh +++ b/install/upgrade_check.sh @@ -75,9 +75,13 @@ for file in $( ls $extensions | sort -n ) ; do ;; php) php -q $file + echo "UPDATE alternc_status SET value='$file' WHERE name='alternc_version';" | + mysql --defaults-file=/etc/alternc/my.cnf -f ;; sh) bash $file + echo "UPDATE alternc_status SET value='$file' WHERE name='alternc_version';" | + mysql --defaults-file=/etc/alternc/my.cnf -f ;; *) echo "skipping $file, not recognized !" diff --git a/wheezy/changelog.diff b/wheezy/changelog.diff index d6390dc4..b9a9f4f1 100644 --- a/wheezy/changelog.diff +++ b/wheezy/changelog.diff @@ -1,13 +1,13 @@ --- changelog 2014-06-24 13:42:50.234304438 +0200 +++ changelog.wheezy 2014-06-24 13:43:51.978313552 +0200 @@ -1,3 +1,10 @@ -+alternc (3.2.4) stable; urgency=low ++alternc (3.2.5) stable; urgency=low + + * Version identical to 3.1 for Squeeze + * Includes a small dovecot patch / dependency for dovecot 2.0 for Wheezy + -+ -- Benjamin Sonntag Thu, 22 Apr 2015 18:19:00 +0100 ++ -- Benjamin Sonntag Thu, 29 Apr 2015 18:19:00 +0100 + - alternc (3.1.4) oldstable; urgency=low + alternc (3.1.5) oldstable; urgency=low - * ensure that values in sub_domaines are prefixed by / for hosting subdomains + * fix alias changes not working in some cases