perl -e '
chomp($domain_name=`/usr/share/gforge/bin/forge_get_config web_host`);
my $l;
-while (($l = <>) !~ /^\s*mydestination/) { print $l; };
+while ($l = <>) {
+ last if l =~ /^\s*mydestination/) ;
+ print $l;
+};
chomp $l;
$l .= ", users.$domain_name" unless ($l =~ /^[^#]*users.$domain_name/);
print "$l\n";
perl -e '
chomp($domain_name=`/usr/share/gforge/bin/forge_get_config web_host`);
chomp($sys_lists_host=`/usr/share/gforge/bin/forge_get_config lists_host`);
-while (($l = <>) !~ /^\s*mydestination/) {
+while ($l = <>) {
+ last if l =~ /^\s*mydestination/) ;
print $l;
};
chomp $l ;
-$l =~ /^(\s*mydestination\s*=\s*)(\S.*)/ ;
-$head = $1 ;
-$dests = $2 ;
-$dests =~ s/, users.$domain_name// ;
-$dests =~ s/, $sys_lists_host// ;
-$l = $head . $dests ;
-print "$l\n" ;
+if ($l =~ /^(\s*mydestination\s*=\s*)(\S.*)/) {
+ $head = $1 ;
+ $dests = $2 ;
+ $dests =~ s/, users.$domain_name// ;
+ $dests =~ s/, $sys_lists_host// ;
+ $l = $head . $dests ;
+ print "$l\n" ;
+}
while ($l = <>) { print $l; };
' < /etc/postfix/main.cf.gforge-new > $tmp1
grep -q '^[[:space:]]*relay_domains' $tmp1 && perl -i -e '
fusionforge (5.1-5+) UNRELEASED; urgency=low
+ [ Olivier Berger ]
* Fix invalid XHTML+RDFa (Closes: #635373).
- -- Olivier Berger <obergix@debian.org> Mon, 29 Aug 2011 19:25:56 +0200
+ [ Roland Mas ]
+ * Fixed possible infinite loop in install-postfix.sh, thanks to Vincent
+ Caron (closes: #639947).
+
+ -- Roland Mas <lolando@debian.org> Mon, 05 Sep 2011 11:07:11 +0200
fusionforge (5.1-5) unstable; urgency=low