Module: ngircd.git
Branch: master
Commit: 8449e082455fc69c5a062c4cfeb1b1ad9aca437c
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=8449e082…
Author: Alexander Barton <alex(a)barton.de>
Date: Mon Oct 25 18:51:32 2010 +0200
ngIRCd release 17~rc2
---
ChangeLog | 13 +++++++++++++
NEWS | 5 +++++
contrib/Debian/changelog | 6 ++++++
contrib/ngircd.spec | 2 +-
4 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 00e8c39..07e77a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,19 @@
ngIRCd Release 17
+ ngIRCd 17~rc2 (2010-10-25)
+ - ZeroConf: include header files missing since commit a988bbc86a.
+ - Generate ngIRCd version number from GIT tag.
+ - Make sourcecode compatible with ansi2knr again. This allows to compile
+ ngIRCd using a pre-ANSI K&R C compiler again.
+ - ./configure: check if C compiler can compile ISO Standard C.
+ - ./configure: check support for C prototypes again.
+ - Don't use PARAMS() macro for function implementations.
+ - Added m68k/apple/aux3.0.1 (gcc 2.7.2) to doc/Platforms.txt.
+ - Only try to set FD_CLOEXEC if this flag is defined.
+ - Only use "__attribute__ ((unused))" if GCC >=2.8 is used.
+ - doc/Makefile.am: don't set docdir, automake handles it already.
+
ngIRCd 17~rc1 (2010-10-11)
- New configuration option "NoZeroConf" to disable service registration at
runtime even if ngIRCd is compiled with support for ZeroConf (e.g. using
diff --git a/NEWS b/NEWS
index 3b71765..06ba872 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,11 @@
ngIRCd Release 17
+ ngIRCd 17~rc2 (2010-10-25)
+ - Generate ngIRCd version number from GIT tag.
+ - Make sourcecode compatible with ansi2knr again. This allows to compile
+ ngIRCd using a pre-ANSI K&R C compiler again.
+
ngIRCd 17~rc1 (2010-10-11)
- New configuration option "NoZeroConf" to disable service registration at
runtime even if ngIRCd is compiled with support for ZeroConf (e.g. using
diff --git a/contrib/Debian/changelog b/contrib/Debian/changelog
index d7c2d5a..f81854c 100644
--- a/contrib/Debian/changelog
+++ b/contrib/Debian/changelog
@@ -1,3 +1,9 @@
+ngircd (17~rc2-0ab1) unstable; urgency=low
+
+ * New "upstream" release candidate 2 for ngIRCd Release 17.
+
+ -- Alexander Barton <alex(a)barton.de> Mon, 25 Oct 2010 18:51:15 +0200
+
ngircd (17~rc1-0ab1) unstable; urgency=low
* New "upstream" release candidate 1 for ngIRCd Release 17.
diff --git a/contrib/ngircd.spec b/contrib/ngircd.spec
index 6b4821a..719eac4 100644
--- a/contrib/ngircd.spec
+++ b/contrib/ngircd.spec
@@ -1,5 +1,5 @@
%define name ngircd
-%define version 17~rc1
+%define version 17~rc2
%define release 1
%define prefix %{_prefix}
Module: ngircd.git
Branch: master
Commit: 01c39ba0015f715b2082f5ed54dc769d09c09bd0
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=01c39ba0…
Author: Alexander Barton <alex(a)barton.de>
Date: Mon Oct 25 14:46:58 2010 +0200
New doc/HowToRelease.txt file describing the release process
---
doc/HowToRelease.txt | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++
doc/Makefile.am | 4 +-
2 files changed, 79 insertions(+), 2 deletions(-)
diff --git a/doc/HowToRelease.txt b/doc/HowToRelease.txt
new file mode 100644
index 0000000..d4d82bc
--- /dev/null
+++ b/doc/HowToRelease.txt
@@ -0,0 +1,77 @@
+
+ ngIRCd - Next Generation IRC Server
+
+ (c)2001-2010 Alexander Barton,
+ alex(a)barton.de, http://www.barton.de/
+
+ ngIRCd is free software and published under the
+ terms of the GNU General Public License.
+
+ -- HowToRelease.txt --
+
+
+I. Introduction
+~~~~~~~~~~~~~~~
+
+Creating a new ngIRCd release requires a few steps to follow: the source
+tree must be in a releasable state (be up to date, include all required
+patches, be tested on as many platforms as possible), a name for the new
+release must be chosen, and all the files describing the release must be
+updated accordingly.
+
+Since ngIRCd release 13 (2009-12-25) we use "simple" release numbers for
+major releases (e.g. "13", "17", "42", ...) introducing new features and
+sub-releases for bug fixes only (e.g. "14.1", "22.3", ...).
+
+When creating pre-releases or release candidates, please use the tilde ("~")
+character to separate the "postfix" in the release number (e.g. "17~rc2"
+or "123.4~rc6").
+
+The release/version number of a build is automatically generated using the
+GIT "describe" command, see git-describe(1). Therefore it is required that
+a new release is tagged in the GIT tree and that the configure script is
+up-to-date (e.g. using ./autogen.sh) before generating the archives!
+
+
+II. How to prepare a new ngIRCd release?
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+a) Make sure the source tree is in a releasable state ;-)
+
+b) Make sure you have working versions of GNU autoconf and GNU automake
+ installed on the system you use for generating the release:
+ as of October 2010 we are using GNU autoconf 2.61 and GNU automake 1.10.1
+ which seem to work just fine.
+
+c) Update the files describing the new release:
+ - ChangeLog
+ - NEWS
+
+d) Update the version numbers in the following files:
+ - contrib/ngircd.spec
+
+e) Generate a new Debian change log entry in the following file, e.g. using
+ the Debian "dch" tool of the "devscripts" package:
+ - contrib/Debian/changelog
+
+f) Commit the above changes to GIT: "git add", "git commit"
+
+g) Create a new signed GIT tag for the new release: "git tag -s".
+ Please note that we don't use the tilde ("~") here, instead use a simple
+ hyphen ("-") as delimiter: e.g. "rel-16" "rel-17-rc1", "rel-18-pre2", ...
+
+h) Run "./autogen.sh" to update the ./configure script with the correct
+ release number (autogenerated using "git describe", see above).
+
+i) Run "./configure" to rebuild all generated Makefiles.
+
+j) Run "make distcheck" to generate the distribution archives.
+
+k) Sign the distribution archive(s) using GnuPG: "gpg -b <archivefile>"
+
+l) Upload and distribute the newly generated ngIRCd release archive(s)
+ and GnuPG signatures.
+
+m) Write an announcement to the mailing list, freshmeat, Twitter, ...
+
+n) Relax :-)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 3a37ff4..1e5773e 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,6 +1,6 @@
#
# ngIRCd -- The Next Generation IRC Daemon
-# Copyright (c)2001-2008 Alexander Barton (alex(a)barton.de)
+# Copyright (c)2001-2010 Alexander Barton (alex(a)barton.de)
#
# Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
# der GNU General Public License (GPL), wie von der Free Software Foundation
@@ -14,7 +14,7 @@ SUBDIRS = src
EXTRA_DIST = FAQ.txt GIT.txt Protocol.txt Platforms.txt README-AUX.txt \
README-BeOS.txt RFC.txt Services.txt SSL.txt Zeroconf.txt \
- sample-ngircd.conf
+ HowToRelease.txt sample-ngircd.conf
maintainer-clean-local:
rm -f Makefile Makefile.in
Module: ngircd.git
Branch: master
Commit: 8288878122468e47df8cc77dfafd5c558508bbec
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=82888781…
Author: Alexander Barton <alex(a)barton.de>
Date: Thu Oct 21 00:20:08 2010 +0200
Generate ngIRCd version number from GIT tag
Now the ngIRCd release/version number is deduced from the "current"
annotated GIT tag; see "git describe --help" for details. This is the
same scheme the Linux kernel uses and gives much more details version
numbers for interim releases and inofficial source archives generated
using "make dist".
Please note: the version number is only updated it the autogen.sh
script is run; so after pulling in and pushing out new commits, you
should run ./autogen.sh!
---
autogen.sh | 7 +++++--
configure.in | 4 +++-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index bd438cd..c87085a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -150,20 +150,23 @@ echo "Generating files ..."
$ACLOCAL && \
$AUTOHEADER && \
$AUTOMAKE --add-missing && \
- $AUTOCONF
+ $AUTOCONF --force
if [ $? -eq 0 -a -x ./configure ]; then
# Success: if we got some parameters we call ./configure and pass
# all of them to it.
+ NAME=`grep PACKAGE_STRING= configure | cut -d"'" -f2`
if [ "$GO" = "1" ]; then
[ -n "$PREFIX" ] && p=" --prefix=$PREFIX" || p=""
[ -n "$*" ] && a=" $*" || a=""
c="./configure${p}${a}"
+ echo "Okay, autogen.sh for $NAME done."
echo "Calling \"$c\" ..."
$c
exit $?
else
- echo "Okay, autogen.sh done; now run the \"configure\" script."
+ echo "Okay, autogen.sh for $NAME done."
+ echo "Now run the \"./configure\" script."
exit 0
fi
else
diff --git a/configure.in b/configure.in
index 965258a..1d66a22 100644
--- a/configure.in
+++ b/configure.in
@@ -9,10 +9,12 @@
# Please read the file COPYING, README and AUTHORS for more information.
#
+define(VERSION_ID,esyscmd(git describe|sed -e 's/rel-//g'|sed -e 's/-/~/'|tr -d \\n))
+
# -- Initialisation --
AC_PREREQ(2.50)
-AC_INIT(ngircd, 17~rc1)
+AC_INIT(ngircd, VERSION_ID)
AC_CONFIG_SRCDIR(src/ngircd/ngircd.c)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(1.6)
Module: ngircd.git
Branch: master
Commit: 5700329f8c7dda39610f5836d641f4cea6912197
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=5700329f…
Author: Alexander Barton <alex(a)barton.de>
Date: Sun Oct 24 14:14:30 2010 +0200
./configure: check if C compiler can compile ISO Standard C
This is required for enabling ansi2knr on systems that don't have an
ANSI C compiler installed (e.g. on A/UX with Apple standard C compiler).
---
configure.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure.in b/configure.in
index d2acc14..965258a 100644
--- a/configure.in
+++ b/configure.in
@@ -43,6 +43,7 @@ AH_TEMPLATE([TARGET_CPU], [Target CPU name])
# -- C Compiler --
AC_PROG_CC
+AC_PROG_CC_STDC
AC_C_PROTOTYPES
# -- Helper programs --