shorewall-devel March 2011 archive
Main Archive Page > Month Archives  > shorewall-devel archives
shorewall-devel: Re: [Shorewall-devel] Executables under /usr/sh

Re: [Shorewall-devel] Executables under /usr/share

From: Tom Eastep <teastep_at_nospam>
Date: Mon Mar 21 2011 - 01:29:45 GMT
To: shorewall-devel@lists.sourceforge.net

On 3/20/11 5:51 PM, Jonathan Underwood wrote:
> On 20 March 2011 23:08, Jonathan Underwood <jonathan.underwood@gmail.com> wrote:
>> On 20 March 2011 22:15, Tom Eastep <teastep@shorewall.net> wrote:
>>> On 3/20/11 2:17 PM, Jonathan Underwood wrote:
>>>
>>>>
>>>> Is this something you'd consider changing? I can work up a patch if you'd like.
>>>
>>> I should add though that 4.4.19 Beta2 move the entire
>>> /usr/share/shorewall directory. So a patch is still needed.
>>
>> OK, looking into it.
>>
>
> OK, have posted a series of patches as a start towards this.
>
> However, my Perl skills are pretty much non-existant.
>
> Patch 05 is probably brain dead
>
> Also, moving the compiler.pl file to /usr/libexec means it won't find
> the shorewall perl modules located under /usr/share/shorewall, and so
> a line needs adding to the top of it to be something like:
>
> use lib '/usr/share/shorewall/Shorewall';
>
> ... but I wasn't sure how to achieve this without hardcoding
> "/usr/share/shorewall", whereas what we want to do is use $SHARE from
> install.sh ...
>
> Anyway, hope this is helpful.

Thanks, Jonathan

The Perl thing is troubling because my development process and the
released code expects the modules to exist in the directory Shorewall
located in the same directory as compiler.pl.

I'll work on that.

-Tom
-- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d

_______________________________________________
Shorewall-devel mailing list
Shorewall-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-devel