Module: ngircd.git
Branch: master
Commit: bdcf3f0e246c5aa3072c4f82dd9cd0541f4e79aa
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=bdcf3f0e…
Author: Alexander Barton <alex(a)barton.de>
Date: Wed Oct 27 22:31:05 2010 +0200
ngIRCd Release 17~rc3
---
ChangeLog | 10 ++++++++++
contrib/Debian/changelog | 6 ++++++
contrib/ngircd.spec | 2 +-
3 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 07e77a9..6cd1e96 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,16 @@
ngIRCd Release 17
+ ngIRCd 17~rc3 (2010-10-27)
+ - Xcode builds: detect version number correctly, updateed project file
+ to use the Mac OS X 10.5.x SDK, disable pam_fail_delay() because it
+ is only available starting with Mac OS X 10.6, and generate a default
+ PAM configuration for the Mac OS X Installer.app package of ngIRCd.
+ - Debian: updated standards version to 3.9.1, added libpam0g-dev to the
+ dependencies, and install a default /etc/pam.d/ngircd allowing all logins.
+ - Make contrib/platformtest.sh more portable.
+ - Fix connect attempts to further IP addresses of outgoing server links.
+
ngIRCd 17~rc2 (2010-10-25)
- ZeroConf: include header files missing since commit a988bbc86a.
- Generate ngIRCd version number from GIT tag.
diff --git a/contrib/Debian/changelog b/contrib/Debian/changelog
index 395c17a..000392b 100644
--- a/contrib/Debian/changelog
+++ b/contrib/Debian/changelog
@@ -1,3 +1,9 @@
+ngircd (17~rc3-0ab1) unstable; urgency=low
+
+ * New "upstream" release candidate 3 for ngIRCd Release 17.
+
+ -- Alexander Barton <alex(a)barton.de> Wed, 27 Oct 2010 22:30:08 +0200
+
ngircd (17~rc2-0ab2) unstable; urgency=low
* Install /etc/pam.d/ngircd including "auth required pam_permit.so" when
diff --git a/contrib/ngircd.spec b/contrib/ngircd.spec
index 719eac4..c960ad4 100644
--- a/contrib/ngircd.spec
+++ b/contrib/ngircd.spec
@@ -1,5 +1,5 @@
%define name ngircd
-%define version 17~rc2
+%define version 17~rc3
%define release 1
%define prefix %{_prefix}
Module: ngircd.git
Branch: master
Commit: d7ad956a06af2bde1cfcf2ed8194b6a84d69d968
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=d7ad956a…
Author: Alexander Barton <alex(a)barton.de>
Date: Wed Oct 27 21:59:51 2010 +0200
Fix connect attempts to further IP addresses of outgoing server links
If a hostname resolves to more than one IP address (round-robin DNS,
IPv4 and IPv6) and an attempt to connect to the first address fails,
ngIRCd should try to connect to the 2nd address, 3rd address etc.
But because of a wrong variable used in the call to New_Server(),
the wrong server structure has been used in further connection attemps
which possibly lead to connection attempts to already connected servers.
---
src/ngircd/conn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index bbb186e..2d5e129 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -207,7 +207,7 @@ cb_connserver(int sock, UNUSED short what)
if (ng_ipaddr_af(&Conf_Server[server].dst_addr[0])) {
/* more addresses to try... */
- New_Server(res, &Conf_Server[server].dst_addr[0]);
+ New_Server(server, &Conf_Server[server].dst_addr[0]);
/* connection to dst_addr[0] is now in progress, so
* remove this address... */
Conf_Server[server].dst_addr[0] =
Module: ngircd.git
Branch: master
Commit: 76f40bdb988440a73431eb14a27f30aeaa18ebe5
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=76f40bdb…
Author: Alexander Barton <alex(a)barton.de>
Date: Tue Oct 26 15:13:24 2010 +0200
Xcode builds ("make xcode"): disable pam_fail_delay()
disable pam_fail_delay() only is available starting with Mac
OS X 10.6; but we use the 10.5 SDK for campatibility, so don't use
this function at all when building using Xcode.
---
contrib/MacOSX/config.h | 2 ++
src/ngircd/pam.c | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/contrib/MacOSX/config.h b/contrib/MacOSX/config.h
index 0da178d..ba5e7e6 100644
--- a/contrib/MacOSX/config.h
+++ b/contrib/MacOSX/config.h
@@ -115,6 +115,8 @@
#define HAVE_PAM_AUTHENTICATE 1
/* Define to 1 if you have the <pam/pam_appl.h> header file. */
#define HAVE_PAM_PAM_APPL_H 1
+/* Mac OS X <10.6 doesn't have pam_fail_delay() */
+#define NO_PAM_FAIL_DELAY 1
#endif
/* -eof- */
diff --git a/src/ngircd/pam.c b/src/ngircd/pam.c
index e6d25bc..0d4f27f 100644
--- a/src/ngircd/pam.c
+++ b/src/ngircd/pam.c
@@ -111,7 +111,7 @@ PAM_Authenticate(CLIENT *Client) {
pam_set_item(pam, PAM_RUSER, Client_User(Client));
pam_set_item(pam, PAM_RHOST, Client_Hostname(Client));
-#ifdef HAVE_PAM_FAIL_DELAY
+#if defined(HAVE_PAM_FAIL_DELAY) && !defined(NO_PAM_FAIL_DELAY)
pam_fail_delay(pam, 0);
#endif