Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 24 Sep 2012 22:16:09 +0800
From: orc <orc@...server.ru>
To: musl@...ts.openwall.com
Subject: Re: getopt* and iptables

On Sun, 23 Sep 2012 20:11:48 +0200
John Spencer <maillist-musl@...fooze.de> wrote:

> On 09/23/2012 07:31 PM, orc wrote:
> >
> > I tested recently, it is still failing to parse options.
> >
> do you have a build recipe for iptables to share ?
> i was not able to build it on sabotage (didn't put much effort into
> it, though), and it looks like a kernel header issue.
> so please tell us additionally which kernel headers you used and
> which iptables version.
> 
> thanks
> 
> as for the getopt issue, the cause is likely that iptables assumes
> GNU semantics.
> they should do a configure check for this and if GNU getopt behaviour
> is not detected, use a gnulib style replacement function instead of
> the libc one.

See attached patch.

iptables 1.4.12.1
Download attachment "iptables-1.4.12.1-musl-fixes.patch" of type "application/octet-stream" (4166 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.