+roundcube (0.5.1+dfsg-4) unstable; urgency=low
+
+ * Fix debian/watch to remove "+dfsg" suffix.
+ * Use awk instead of sed to modify main.inc.php. Closes: #615277.
+
+ -- Vincent Bernat <bernat@debian.org> Tue, 01 Mar 2011 19:59:00 +0100
+
roundcube (0.5.1+dfsg-3) unstable; urgency=low
* Install show_additional_headers plugin in roundcube-plugins package.
# Put hosts, language and key in main.inc.php
cat /usr/share/roundcube/main.inc.php.dist | \
- sed -e "s+^\(\$rcmail_config\['default_host'\] = \)''\(;\)\$+\1${hosts}\2+" \
- -e "s+^\(\$rcmail_config\['des_key'\] = '\).*\(';\)\$+\1$deskey\2+" \
- -e "s+^\(\$rcmail_config\['language'\] = \).*\(;\)\$+\1'${language}'\2+" >> $CONFFILE.ucftmp
+ awk "/^.rcmail_config\['default_host'\] =/ {print \$1\" = ${hosts};\" ; next}
+ /^.rcmail_config\['des_key'\] =/ {print \$1\" = '${deskey}';\" ; next}
+ /^.rcmail_config\['language'\] =/ {print \$1\" = '${language}';\" ; next}
+ {print}" >> $CONFFILE.ucftmp
ucf --debconf-ok $CONFFILE.ucftmp $CONFFILE
chown root:www-data $CONFFILE
version=3
-opts="uversionmangle=s/-(rc|alpha|beta)/~$1/" http://sf.net/roundcubemail/roundcubemail-([\d\.]+.*)-dep\.tar\.gz
+opts="uversionmangle=s/-(rc|alpha|beta)/~$1/,dversionmangle=s/\+dfsg//" http://sf.net/roundcubemail/roundcubemail-([\d\.]+.*)-dep\.tar\.gz