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! -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [EMAIL PROTECTED] PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
