Re: [alpine-devel] Shorewall in 3.0.4
Le 2014-09-03 08:13, Natanael Copa a écrit :
> On Tue, 02 Sep 2014 21:07:19 +0200
> Nicolas <lists_at_tropicdreams.net> wrote:
>> Hello everyone,
>> I'm planning to migrate some firewall machines running AlpineLinux 2.7
>> to AlpineLinux 3.0.4
>> Maybe I make a mistake but
>> On alpine 2.7 I have :
>> apk search shorewall -==>
>> On the fresh 3.0.4 I got this only :
>> Both boxes have the same /etc/apk/repositories configuration (just
>> version number changes in the mirror).
>> Is it normal or aren't the working 4.5 shorewall not yet in stable
>> alpine 3.0.4 ?
> Latest shorewall does not build:
> IIRC they have a static whitelist of known distros in configure script
> and Alpine is not one those.
> I believe it is easy to fix.
As you advised i had a look in the configure script of a shorewall
First the script depends bash but that's not a problem for building.
The script tries to recognize the OS version based at begining on the ID
variable in /etc/os-release.
As you know (better than me) this is 'alpine' for an alpine.
Then it fails because it doesnt find a shorewallrc.alpine file.
If we consider alpine is like a generic linux a workaround is
ln -s shorewallrc.default shorewallrc.alpine
In the base directory of extracted shorewall.
The the configure passes. Maybe we could use a more specific rc file
based on debian or other.
>> Thanks in advance and kind regards to all for the great job.
Received on Wed Sep 03 2014 - 15:03:48 UTC