xinetd: socket bind: Invalid argument (errno = 22) when using USERID on ipv6

Use right size of addresses in bind() call. Also use getpeername addresses when
connecting to ident service to prevent address family mismatch between socket(),
bind() and connect() calls.

---
Christian Schoenebeck via github pull request #205:
Reported for a long time in the web. Still exists in the current sources.
Already reported and offert on TRAC Ticket #15821.

You can find a lot of entries on "Google" about the reported problem.
I got the same error on my WNDR3800 and von VirtualBox X86.
I copied the patch to my local trunk build system and recompiled.
The problem was fixed.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
net/ipsec-tools: Import net/ipsec-tools from oldpackages

Signed-off-by: Noah Meyerhans <noahm@debian.org>
net/ipsec-tools: Update ipsec-tools to 0.8.2

Signed-off-by: Noah Meyerhans <noahm@debian.org>
net/ipsec-tools: Update configure.ac to force HAVE_POLICY_FWD=true, which is
appropriate on Linux but not properly detected in the openwrt build currently.

Signed-off-by: Noah Meyerhans <noahm@debian.org>
net/ipsec-tools: Update some makefile definitions per
https://github.com/openwrt/packages/blob/master/CONTRIBUTING.md to list me as
maintainer.

Signed-off-by: Noah Meyerhans <noahm@debian.org>
Merge pull request #209 from nmeyerhans/ipsec-tools-0.8.2

ipsec-tools: Re-introduce package ipsec-tools and update to v0.8.2
mjpg-streamer: cleanup V4L selection and dependency

Signed-off-by: Ted Hess <thess@kitschensync.net>
net/bind: Re-import package net/bind from oldpackages.
Signed-off-by: Noah Meyerhans <noahm@debian.org>
net/bind: Update to upstream long-term-support release 9.9.5-P1
Update maintainer and license metadata in Makefile.
Signed-off-by: Noah Meyerhans <noahm@debian.org>
add micropython

Signed-off-by: Roger D rogerdammit@gmail.com
Merge pull request #211 from roger-/micropython

add micropython
Merge pull request #210 from nmeyerhans/bind

net/bind: Refresh package net/bind
strongswan: import, update, adopt

Signed-off-by: Steven Barth <steven@midlink.org>
Merge branch 'master' into alternative-libraries

Signed-off-by: Ian Leonard <antonlacon@gmail.com>

Conflicts:
	multimedia/mjpg-streamer/Makefile