Re: [Shorewall-users] Macro files bug

Tom Eastep
Sat, 27 Oct 2007 23:13:09 -0000

Tom Eastep wrote:
> Andrew Suffield wrote:
>> On Sat, Oct 27, 2007 at 09:57:00AM -0700, Tom Eastep wrote:
>>
>>> e) The script includes an implicit "package
Shorewall::User;".
>> Can you do that to the regular extension scripts too?
>
> Done.
>
>> I anticipate
>> that the "normal" way to use this will be to write all your
code in
>> the initdone(?) script (or suck it in there via
''use'') and just call
>> functions using the single-line variant, so you''d want them
all to be
>> in the same package.
>
> I''ve added a ''compile'' compile-time user exit.
It gets invoked early in
> the compilation process.
>
>>
>> Also, while we''re on the subject, please stick:
>>
>> unshift @INC, @config_dirs;
>>
>> somewhere early in the compiler, so that ''use''
searches them.
>
> Done.

I would really appreciate it if people would play with this facility and
offer feedback. The code is available at:

http://www1.shorewall.net/pub/shorewall/development/staging/4.0/shorewall-4.0.6-RC1/

Thanks!