~xnox/netcfg/+git/ubuntu-old:people/womble/wpa

Last commit made on 2011-01-24
Get this branch:
git clone -b people/womble/wpa https://git.launchpad.net/~xnox/netcfg/+git/ubuntu-old
Only Dimitri John Ledkov can upload to this branch. If you are Dimitri John Ledkov please log in for upload directions.

Branch merges

Branch information

Name:
people/womble/wpa
Repository:
lp:~xnox/netcfg/+git/ubuntu-old

Recent commits

6b356b6... by Matthew Palmer

Cleanup WPA patch

s/iface/if_name/, wrap everything in #ifdef WIRELESS so we don't build WPA
support into arches that shouldn't have it, fix up dependencies for same,
and add a changelog entry so we can build a custom version of netcfg for
test ISOs.

f4272c7... by Matthew Palmer

Apply WPA patch from Glenn Saberton

Requires some cleanup to be mainlineable, but you get the idea.

0358509... by Matthew Palmer

Fix arch-specific build dep

Far better to use kernel wildcards that guess at what arches those kernels
support.

8474147... by Matthew Palmer

Protect dhcp sigchld handler from races

The core problem here is that SIGCHLD doesn't tell you which of your many
children may have exited... so when the process spawned by popen() finishes,
it will trigger that SIGCHLD handler, and if it's waiting for a process that
isn't likely to finish any time soon, things get ugly. So, we'll wait with
WNOHANG, and check the status code from that, to determine whether the
right child process has exited.

Unix process management... <shudder>

4776223... by Matthew Palmer

Changelog entry for previous commit.

Sigh.

7760263... by Matthew Palmer

Wait for link detection on static interfaces. Closes: #606515

The code I wrote for link detection/progress bar fun previously was only
used on DHCP / autoconfigured NICs. I've now added it to static interfaces,
too.

924caa7... by Matthew Palmer

Reduce duplication in DHCP options count

Having the numbers in a comment, and then repeated in the code, is just
asking for trouble. This way, we identify what we're referring to, without
having to update things in two places.

c467d86... by Matthew Palmer

Print the netcfg version and build date when starting

More than once now, I've wondered why my changes weren't doing anything, and
it's been because I ran the wrong image. Similarly, a few times I've wasted
time rebuilding because my changes were running, but weren't doing the right
thing. This solves both problems by unambiguously identifying what build is
currently running.

a253f59... by Matthew Palmer

Tighten up the requirements around hostname validation

It was letting through some really random stuff, like ..., foo..example.org,
and .meharder...

Well, now it doesn't.

75be707... by Matthew Palmer

Extract out the '63' magic number into a global constant

MAXHOSTNAMELEN was defined inside dhcp.c, and was only used in one place.
Now, it's defined in netcfg.h and used everywhere the length of a hostname
is important. Much tidier.