Bug#591230: late evaluation of variables
On Sun, Aug 01, 2010 at 01:23:43PM +0200, martin f krafft wrote: I cannot use @if @eq($DOMAIN, ip6) because variables are evaluated when ferm parses the file, not when it actually diverts into the domains. Hence it would be better if some (all) variables were evaluated on use, not during parsing. This has been fixed in upstream commit 729e3ed18bd07b313eaa7d7884fb75f8423747e2, individual evaluation of rules for each domain. (not yet in a release) It has been done as one of the approaches for solving issues like the one you described here with #591329. Regards, Faidon -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#591230: late evaluation of variables
Package: ferm Version: 2.0.7-1 Severity: wishlist Tags: upstream Forwarded: Max Kellermann m...@duempel.org I cannot use @if @eq($DOMAIN, ip6) because variables are evaluated when ferm parses the file, not when it actually diverts into the domains. Hence it would be better if some (all) variables were evaluated on use, not during parsing. Thanks, -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.33-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ferm depends on: ii debconf 1.5.33 Debian configuration management sy ii iptables 1.4.8-3administration tools for packet fi ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip ii perl 5.10.1-13 Larry Wall's Practical Extraction Versions of packages ferm recommends: ii libnet-dns-perl 0.66-2 Perform DNS queries from a Perl sc ferm suggests no packages. -- Configuration Files: /etc/default/ferm changed [not included] /etc/ferm/ferm.conf changed [not included] -- debconf information excluded -- .''`. martin f. krafft madd...@d.o Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduckhttp://vcs-pkg.org `- Debian - when you have better things to do than fixing systems digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/)