<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ngircd/configure.in, branch rel-16</title>
<subtitle>ngircd with make
</subtitle>
<id>http://git.nakidai.ru/ngircd/atom?h=rel-16</id>
<link rel='self' href='http://git.nakidai.ru/ngircd/atom?h=rel-16'/>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/'/>
<updated>2010-05-02T13:25:35+00:00</updated>
<entry>
<title>ngIRCd release 16</title>
<updated>2010-05-02T13:25:35+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2010-05-02T13:25:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=defd7e09afb62ac71859ad910e6dd52a86fb0ae2'/>
<id>urn:sha1:defd7e09afb62ac71859ad910e6dd52a86fb0ae2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ngIRCd release 16~rc2</title>
<updated>2010-04-25T11:13:11+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2010-04-25T11:13:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=bdec5ac1f37110a8456631e0155b5c9efeee35ee'/>
<id>urn:sha1:bdec5ac1f37110a8456631e0155b5c9efeee35ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include netinet/{in.h, in_systm.h} when checking for netinet/ip.h</title>
<updated>2010-04-23T08:55:50+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2010-04-23T08:55:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=6b0bb665c3cb31ba93fb5ac8197f033532614fd4'/>
<id>urn:sha1:6b0bb665c3cb31ba93fb5ac8197f033532614fd4</id>
<content type='text'>
This solves warning messages of autoconf on e.g. FreeBSD 8:

configure: WARNING: netinet/ip.h: present but cannot be compiled
configure: WARNING: netinet/ip.h:   check for missing prerequisite headers?
</content>
</entry>
<entry>
<title>ngIRCd release 16~rc1</title>
<updated>2010-03-25T14:57:11+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2010-03-25T14:57:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=50e8a62c5cfe8eaaeeaaccc5ff577cedf72e848d'/>
<id>urn:sha1:50e8a62c5cfe8eaaeeaaccc5ff577cedf72e848d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>configure.in: only add -lnsl when needed</title>
<updated>2010-02-17T21:25:30+00:00</updated>
<author>
<name>Florian Westphal</name>
<email>fw@strlen.de</email>
</author>
<published>2010-02-17T21:23:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=20276f7cc967ec1a472715574adc6792b1598314'/>
<id>urn:sha1:20276f7cc967ec1a472715574adc6792b1598314</id>
<content type='text'>
dpkg-shlibdeps: warning: dependency on libnsl.so.1 [..]
(they use none of its symbols).

As shown via commit 2b14234abc252383679bae2d23861b773dc9713e
(dpkg-shlibdeps: warning: dependency on libnsl.so.1) and the
following revert of that commit, we cannot simply drop
the AC_CHECK_LIB(nsl). Although -lnsl is indeed unneeded
when glibc is used, some platforms (e.g. Solaris) need it.

Use AC_SEARCH_LIBS instead to only link when the library exports
a particular symbol.
</content>
</entry>
<entry>
<title>Really test for netinet/ip.h and set HAVE_NETINET_IP_H</title>
<updated>2009-12-30T23:38:47+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2009-12-30T23:38:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=1ddc74f13e3feb5be6af4294e1f6a8162edca8a7'/>
<id>urn:sha1:1ddc74f13e3feb5be6af4294e1f6a8162edca8a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ngIRCd release 15</title>
<updated>2009-11-07T12:57:15+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2009-11-07T12:57:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=c414d0bd3ae670fdcc5d1b81c4e01b486bca91d8'/>
<id>urn:sha1:c414d0bd3ae670fdcc5d1b81c4e01b486bca91d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ngIRCd release 15~rc1</title>
<updated>2009-10-15T08:04:34+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2009-10-15T08:04:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=bc1ac7fbc57bb6341b0b553c29d2da82464fc866'/>
<id>urn:sha1:bc1ac7fbc57bb6341b0b553c29d2da82464fc866</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Check for sockaddr_in.sin_len and initialize it</title>
<updated>2009-09-13T23:23:19+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2009-09-13T23:23:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=5b1efaee67044b56f6ecac1ee70883bfc61f8c5d'/>
<id>urn:sha1:5b1efaee67044b56f6ecac1ee70883bfc61f8c5d</id>
<content type='text'>
Test for sockaddr_in.sin_len and initialize it to the correct value
which some systems (notably Mac OS X) require.

Note: this code path is only relevant when not using getaddrinfo().
</content>
</entry>
<entry>
<title>Always use get{addr|name}info() when available</title>
<updated>2009-09-13T23:07:39+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2009-09-13T22:25:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=d5f80b2a8deda30d0dcd69bea81a3ca862cf46ca'/>
<id>urn:sha1:d5f80b2a8deda30d0dcd69bea81a3ca862cf46ca</id>
<content type='text'>
Both getaddrinfo() and getnameinfo() are now used always when available, and
not only when compiling ngIRCd with support for IPv6.

This not only enables ngIRCd to handle multiple addresses per hostname when
compiled without support for IPv6, but fixes binding ngIRCd to IP addresses
on Mac OS X (and probably other BSD-based systems) as well: these systems
require that sockaddr_in is zeroed out and sockaddr_in.sin_len is set to
sizeof(sockaddr_in) like that:

  src/ipaddr/ng_ipaddr.c, line 54:

        assert(ip_str);
      + memset(addr, 0, sizeof *addr);
      + addr-&gt;sin4.sin_len = sizeof(addr-&gt;sin4);
        addr-&gt;sin4.sin_family = AF_INET;

But this would break all the systems not using sockaddr_in.sin_len, for
example Linux -- so we assume that all these systems provide getaddrinfo()
and use that for now.
</content>
</entry>
</feed>
