ChangeLog | 7 +++-
NEWS | 4 ++-
contrib/Debian/changelog | 6 +++
contrib/ngircd-redhat.init | 2 +-
contrib/ngircd.spec | 2 +-
contrib/platformtest.sh | 4 +-
doc/.gitignore | 1 +
doc/Makefile.am | 35 +++++++++++++++----
doc/Platforms.txt | 34 ++++++++-----------
...{sample-ngircd.conf => sample-ngircd.conf.tmpl} | 12 +++---
10 files changed, 67 insertions(+), 40 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6cd1e96..83cdfd5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,7 +10,12 @@
-- ChangeLog --
-ngIRCd Release 17
+ngIRCd Release 17 (2010-11-07)
+
+ - doc: change path names in sample-ngircd.conf depending on sysconfdir
+ - Fix up generation and distribution of sample-ngircd.conf
+ - contrib/ngircd-redhat.init: updated email address of Naoya Nakazawa
+ - contrib/platformtest.sh: make command name quoting consistent
ngIRCd 17~rc3 (2010-10-27)
- Xcode builds: detect version number correctly, updateed project file
diff --git a/NEWS b/NEWS
index 06ba872..47cb72d 100644
--- a/NEWS
+++ b/NEWS
@@ -10,7 +10,9 @@
-- NEWS --
-ngIRCd Release 17
+ngIRCd Release 17 (2010-11-07)
+
+ - doc: change path names in sample-ngircd.conf depending on sysconfdir
ngIRCd 17~rc2 (2010-10-25)
- Generate ngIRCd version number from GIT tag.
diff --git a/contrib/Debian/changelog b/contrib/Debian/changelog
index 000392b..907a31a 100644
--- a/contrib/Debian/changelog
+++ b/contrib/Debian/changelog
@@ -1,3 +1,9 @@
+ngircd (17-0ab1) unstable; urgency=low
+
+ * New "upstream" release: ngIRCd 17.
+
+ -- Alexander Barton Sun, 07 Nov 2010 17:23:07 +0100
+
ngircd (17~rc3-0ab1) unstable; urgency=low
* New "upstream" release candidate 3 for ngIRCd Release 17.
diff --git a/contrib/ngircd-redhat.init b/contrib/ngircd-redhat.init
index f63eba7..9f133bd 100644
--- a/contrib/ngircd-redhat.init
+++ b/contrib/ngircd-redhat.init
@@ -1,7 +1,7 @@
#!/bin/sh
#
# ngIRCd start and stop script for RedHat based distributions.
-# Written by Naoya Nakazawa for CentOS 5.2, 2009.
+# Written by Naoya Nakazawa for CentOS 5.2, 2009.
#
# chkconfig: 2345 01
# description: ngIRCd is an Open Source server for \
diff --git a/contrib/ngircd.spec b/contrib/ngircd.spec
index c960ad4..5240c88 100644
--- a/contrib/ngircd.spec
+++ b/contrib/ngircd.spec
@@ -1,5 +1,5 @@
%define name ngircd
-%define version 17~rc3
+%define version 17
%define release 1
%define prefix %{_prefix}
diff --git a/contrib/platformtest.sh b/contrib/platformtest.sh
index 432243a..85d3a1d 100755
--- a/contrib/platformtest.sh
+++ b/contrib/platformtest.sh
@@ -51,9 +51,9 @@ if [ $? -ne 0 ]; then
cd ..
fi
-echo "$NAME: Checking for ./autogen.sh script ..."
+echo "$NAME: Checking for \"./autogen.sh\" script ..."
if [ -r ./autogen.sh ]; then
- echo "$NAME: Running ./autogen.sh ..."
+ echo "$NAME: Running \"./autogen.sh\" ..."
[ -n "$VERBOSE" ] && ./autogen.sh || ./autogen.sh >/dev/null
fi
diff --git a/doc/.gitignore b/doc/.gitignore
new file mode 100644
index 0000000..0035855
--- /dev/null
+++ b/doc/.gitignore
@@ -0,0 +1 @@
+sample-ngircd.conf
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 1e5773e..4b20e70 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -10,27 +10,46 @@
# der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
#
-SUBDIRS = src
+.tmpl:
+ sed \
+ -e s@:ETCDIR:@${sysconfdir}@ \
+ <$< >$@
+
+SUFFIXES = .tmpl
-EXTRA_DIST = FAQ.txt GIT.txt Protocol.txt Platforms.txt README-AUX.txt \
+static_docs = FAQ.txt GIT.txt Protocol.txt Platforms.txt README-AUX.txt \
README-BeOS.txt RFC.txt Services.txt SSL.txt Zeroconf.txt \
- HowToRelease.txt sample-ngircd.conf
+ HowToRelease.txt
+
+doc_templates = sample-ngircd.conf.tmpl
+
+generated_docs = sample-ngircd.conf
+
+toplevel_docs = ../AUTHORS ../COPYING ../ChangeLog ../INSTALL ../NEWS ../README
+
+SUBDIRS = src
+
+EXTRA_DIST = $(static_docs) $(doc_templates)
+
+CLEANFILES = $(generated_docs)
maintainer-clean-local:
rm -f Makefile Makefile.in
-documents = $(EXTRA_DIST) ../AUTHORS ../COPYING ../ChangeLog ../INSTALL \
- ../NEWS ../README
+all: $(generated_docs)
-install-data-hook:
+install-data-hook: $(static_docs) $(toplevel_docs) $(generated_docs)
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \
- $(INSTALL) -m 600 -c $(srcdir)/sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf; \
+ $(INSTALL) -m 600 -c sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf; \
fi
$(mkinstalldirs) $(DESTDIR)$(docdir)
- for f in $(documents); do \
+ for f in $(static_docs) $(toplevel_docs); do \
$(INSTALL) -m 644 -c $(srcdir)/$$f $(DESTDIR)$(docdir)/; \
done
+ for f in $(generated_docs); do \
+ $(INSTALL) -m 644 -c $$f $(DESTDIR)$(docdir)/; \
+ done
uninstall-hook:
rm -rf $(DESTDIR)$(docdir)
diff --git a/doc/Platforms.txt b/doc/Platforms.txt
index 32cb8c1..c811c19 100644
--- a/doc/Platforms.txt
+++ b/doc/Platforms.txt
@@ -32,48 +32,42 @@ hppa1.1/unknown/linux-gnu gcc 3.3.3 0.8.0 04-05-30 alex Y Y Y Y
hppa2.0/unknown/linux-gnu gcc 3.3.5 13~rc1 08-12-02 alex Y Y Y Y
hppa2.0w-hp-hpux11.11 gcc 4.2.3 14.1 09-07-22 goetz Y Y Y Y
i386/apple/darwin9.7.0 gcc 4.0.1 14.1 09-08-04 alex Y Y Y Y (3)
-i386/apple/darwin10.4.0 gcc 4.2.1 17-dev 10-10-05 alex Y Y Y Y (3)
+i386/apple/darwin10.4.0 gcc 4.2.1 17 10-11-07 alex Y Y Y Y (3)
i386/pc/solaris2.9 gcc 3.2.2 CVSHEAD 04-02-24 alex Y Y Y Y
-i386/pc/solaris2.11 gcc 3.4.3 14.1 09-08-03 alex Y Y Y Y (4)
+i386/pc/solaris2.11 gcc 3.4.3 17 10-11-07 alex Y Y N Y (4)
i386/unknown/freebsd5.2.1 gcc 3.3.3 0.8.0 04-05-30 alex Y Y Y Y
-i386/unknown/freebsd6.0 gcc 3.4.4 0.10.0-p1 06-08-04 alex Y Y Y Y (3)
-i386/unknown/freebsd6.1 gcc 3.4.4 CVSHEAD 06-05-07 fw Y Y Y Y (3)
-i386/unknown/freebsd6.2 gcc 3.4.6 17-dev 10-10-05 alex Y Y Y Y (3)
-i386/unknown/freebsd7.0 gcc 4.2.1 14.1 09-07-28 alex Y Y Y Y (3)
-i386/unknown/freebsd7.2 gcc 4.2.1 14.1 09-08-03 alex Y Y Y Y (3)
-i386/unknown/freebsd7.3 gcc 4.2.1 17-dev 10-10-05 alex Y Y Y Y (3)
-i386/unknown/gnu0.3 gcc 3.3.3 0.8.0 04-05-30 alex Y Y n Y
-i686/unknown/gnu0.3 gcc 4.3.1 14.1 09-07-28 alex Y Y Y Y
+i386/unknown/freebsd6.2 gcc 3.4.6 17 10-11-07 alex Y Y Y Y (3)
+i386/unknown/freebsd7.3 gcc 4.2.1 17 10-11-07 alex Y Y Y Y (3)
+i686/unknown/gnu0.3 gcc 4.4.5 17 10-11-07 alex Y Y Y Y
i686/unkn./kfreebsd7.2-gnu gcc 4.3.4 15 09-12-02 alex Y Y Y Y (3)
i386/unknown/netbsdelf1.6.1 gcc 2.95.3 CVSHEAD 04-02-24 alex Y Y Y Y
i386/unknown/netbsdelf3.0.1 gcc 3.3.3 0.10.0-p1 06-08-30 alex Y Y Y Y (3)
-i386/unknown/netbsdelf4.0 gcc 4.1.2 17-dev 10-10-05 alex Y Y Y Y (3)
-i386/unknown/netbsdelf5.0.2 gcc 4.1.3 17-dev 10-10-07 alex Y Y Y Y (3)
+i386/unknown/netbsdelf4.0 gcc 4.1.2 17 10-11-07 alex Y Y Y Y (3)
+i386/unknown/netbsdelf5.0.2 gcc 4.1.3 17 10-11-07 alex Y Y Y Y (3)
i386/unknown/openbsd3.9 gcc 3.3.5 0.10.0-p1 06-08-30 alex Y Y Y Y (3)
i386/unknown/openbsd4.1 gcc 3.3.5 16 10-04-11 alex Y Y Y Y (3)
i586/pc/interix3.5 gcc 3.3 15 10-01-22 alex Y Y N Y
-i686/pc/cygwin gcc 3.3.1 0.8.0 04-05-30 alex Y Y n Y
+i686/pc/cygwin gcc 3.3.1 0.8.0 04-05-30 alex Y Y N Y
i686/pc/linux-gnu gcc 2.95.4 0.8.0 04-05-30 alex Y Y Y Y (1)
i686/pc/linux-gnu gcc 3.3.5 14.1 09-08-04 alex Y Y Y Y (1)
i386/pc/linux-gnu gcc 4.1.2 13~rc1 08-12-05 alex Y Y Y Y (1)
i686/pc/linux-gnu gcc 4.3.2 14.1 09-08-04 alex Y Y Y Y (1)
-m68k/apple/aux3.0.1 gcc 2.7.2 17~rc1 10-10-12 alex Y Y Y Y
+m68k/apple/aux3.0.1 gcc 2.7.2 17 10-11-07 alex Y Y N Y
+m68k/apple/aux3.0.1 Orig. A/UX 17 10-11-07 alex Y Y N Y (2)
m68k/apple/aux3.1.1 Orig. A/UX 0.7.x-CVS 03-04-22 alex Y Y Y Y (2)
m68k/hp/hp-ux9.10 Orig. HPUX 0.7.x-CVS 03-04-30 goetz Y Y Y Y
m88k/dg/dgux5.4R3.10 gcc 2.5.8 CVSHEAD 04-03-15 alex Y Y ? ?
powerpc/apple/darwin6.5 gcc 3.1 0.7.x-CVS 03-04-23 alex Y Y Y Y
-powerpc/apple/darwin7.4.0 gcc 3.3 0.8.0 04-05-30 alex Y Y Y Y
powerpc/apple/darwin7.9.0 gcc 3.3 CVSHEAD 06-05-07 fw Y Y Y Y (3)
powerpc/apple/darwin8.1.0 gcc 4.0 0.9.x-CVS 05-06-27 alex Y Y Y Y
powerpc/unknown/linux-gnu gcc 3.3.3 0.8.0 04-05-30 alex Y Y Y Y
-powerpc/unknown/openbsd3.6 gcc 2.95.3 0.10.0 06-10-08 alex Y Y n Y
+powerpc/unknown/openbsd3.6 gcc 2.95.3 0.10.0 06-10-08 alex Y Y N Y
sparc/sun/solaris2.6 gcc 2.95.3 0.7.x-CVS 03-04-22 alex Y Y Y Y
sparc/sun/solaris2.7 gcc 3.3 0.8.0 04-05-30 alex Y Y Y Y
sparc/unkn./netbsdelf1.6.1 gcc 2.95.3 0.8.0 04-05-30 alex Y Y Y Y
-x86_64/unknown/freebsd8.0 gcc 4.2.1 16 10-04-23 alex Y Y Y Y (3)
-x86_64/unknown/freebsd8.1 gcc 4.2.1 17-dev 10-10-05 alex Y Y Y Y (3)
-x86_64/unknown/linux-gnu gcc 4.3.2 17-dev 10-10-05 alex Y Y Y Y (1)
-x86_64/unknown/openbsd4.7 gcc 3.3.5 17-dev 10-10-05 alex Y Y Y Y (3)
+x86_64/unknown/freebsd8.1 gcc 4.2.1 17 10-11-07 alex Y Y Y Y (3)
+x86_64/unknown/linux-gnu gcc 4.3.2 17 10-11-07 alex Y Y Y Y (1)
+x86_64/unknown/openbsd4.7 gcc 3.3.5 17 10-11-07 alex Y Y Y Y (3)
Notes
diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf.tmpl
similarity index 97%
rename from doc/sample-ngircd.conf
rename to doc/sample-ngircd.conf.tmpl
index fe34dff..12b688d 100644
--- a/doc/sample-ngircd.conf
+++ b/doc/sample-ngircd.conf.tmpl
@@ -42,7 +42,7 @@
;AdminInfo1 = Description
;AdminInfo2 = Location
;AdminEMail = admin@irc.server
-
+
# Ports on which the server should listen. There may be more than
# one port, separated with ",". (Default: 6667)
;Ports = 6667, 6668, 6669
@@ -51,16 +51,16 @@
;SSLPorts = 6697, 9999
# SSL Server Key
- ;SSLKeyFile = /usr/local/etc/ngircd/ssl/server-key.pem
+ ;SSLKeyFile = :ETCDIR:/ssl/server-key.pem
# password to decrypt SSLKeyFile (OpenSSL only)
;SSLKeyFilePassword = secret
# SSL Server Key Certificate
- ;SSLCertFile = /usr/local/etc/ngircd/ssl/server-cert.pem
+ ;SSLCertFile = :ETCDIR:/ssl/server-cert.pem
# Diffie-Hellman parameters
- ;SSLDHFile = /usr/local/etc/ngircd/ssl/dhparams.pem
+ ;SSLDHFile = :ETCDIR:/ssl/dhparams.pem
# comma separated list of IP addresses on which the server should
# listen. Default values are:
@@ -77,7 +77,7 @@
# Text file with the "message of the day" (MOTD). This message will
# be shown to all users connecting to the server:
- ;MotdFile = /usr/local/etc/ngircd.motd
+ ;MotdFile = :ETCDIR:/ngircd.motd
# A simple Phrase (<256 chars) if you don't want to use a motd file.
;MotdPhrase = "Hello world!"
@@ -270,7 +270,7 @@
# Key file, syntax for each line: "::".
# Default: none.
- ;KeyFile = /etc/ngircd/#chan.key
+ ;KeyFile = :ETCDIR:/#chan.key
# maximum users per channel (mode l)
;MaxUsers = 23