From aef40c10e9c2620943c196a4d07ecce2795c1c95 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 31 Oct 2009 00:54:09 +0000 Subject: Build changes for better working with git. * Automatically generated ChangeLog. * Proper NEWS file * Enable whitespace hooks in git if available. --- .gitignore | 1 + ChangeLog | 111 +++++++++++++----------------------------------------------- Makefile.am | 13 ++++++- NEWS | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++- autogen.sh | 14 ++++++-- 5 files changed, 144 insertions(+), 92 deletions(-) diff --git a/.gitignore b/.gitignore index 7da3d0c..92c5466 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ /.project /junk /config.h +/config.guess /autom4te.cache /Makefile /Makefile.in diff --git a/ChangeLog b/ChangeLog index fe57923..0bd7f42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,97 +1,32 @@ -0.9.5 - - Build fixes for MAC OS 10.4 and 10.5 - - Build fixes for Solaris +=== ChangeLog discontinued === -0.9.4 [30-07-2008] - - Rework event handling system so we don't use a full thread per - connection, but instead only use threads for active requests. + With the move to git, this project is switching from a ChangeLog + file to relying on commit messages to provide change history. Please + write commit messages in the following format: -0.9.3 [not publicly released] - - Support sending access groups to mod_httpauth apache2x module. - - Support retrieving LDAP access groups for users. - - Build warning fixes. - - Allow better migration of live digest sessions between httpauth - daemons by using the 'stale' flag when things seem out of date. - - apache2x module now supports connecting to multiple daemon addresses - and failover between them. +=== begin example commit === -0.9.2 [22-05-2008] - - Authenticate sub requests properly in the apache module. + Short explanation of the commit -0.9.1 [09-05-2008] - - Fix building pgsql and mysql modules. + Longer explanation explaining exactly what's changed, whether any + external or private interfaces changed, what bugs were fixed (with bug + tracker reference if applicable) and so forth. Be concise but not too + brief. -0.9 [22-04-2008] - - Allow 128 character long NTLM domains. - - Parse passwords from LDAP more circumspectly. - - Bump max connection limit to 1024. - - Fix some spurious warnings +=== end example commit === -0.8 [06-07-2007] - - Support ignoring of HTTP method in digest. Useful for pass-through - authentication between SOAP services and websites. - - Fix problems building apache1x module + - Always add a brief description of the commit to the _first_ line of + the commit and terminate by two newlines. This may be the title of + a fixed bug, copied from Bugzilla. -0.7 [28-05-2007] - - Use my real name 'Stef Walter' - See: http://memberwebs.com/nielsen/ + - First line (the brief description) must only be one sentence and + should start with a capital letter unless it starts with a + lowercase symbol or identifier. Don't use a trailing full stop, + and don't exceed 72 characters. -0.6 [20-12-2006] - - Guarantee unique connection identfier for NTLM when using apache2 - - Fix crasher when doing basic auth. - - Allow numbers in handler names. - - In the Jetty authenticator generate a unique authentication identifier - which facilitates NTLM authentication - - Reconnect to httpauthd when that daemon has been restarted. - -0.5.2 - - Better messages when keepalives are not used with NTLM - - Fix problems in java servlet authenticator [Ross Elliot] - - Disable NTLM via servlet and Jetty java authenticators (a custom one - which provides connection id info is needed). - -0.5.1 - - Fix problem with NTLM connection caching - - Fix problem with NTLM not authenticating POST in IE properly - - Fix locking while connecting to SMB server - - Better log handling when things are fast and furious - - Don't hang on exit on FreeBSD - -0.5 - - Added Dummy handler - - PostgreSQL support - - MYSQL support - - Fixed Base64 decoding problems - - Added mkha1 tool - - Lots of bug fixes and testing - - Get httpauthd to reconnect properly - - Tested and completed NTLM support - - Bundled java client code - -0.4.2 - - Separated base handler functionality, reorganized files, code - - Conditional compilation of various handlers - -0.4.1 - - Fix unititialized memory bug - - Fixed address parsing and formatting bugs - - Fixed hash table bugs - -0.4 - - Better reconnection after a closed connection from mod_httpauth - - Fixed LDAP bind type authentication bug - -0.3 - - Changed 'method' to 'handler' throughout - - Fixed bug in hash.c - - Imported new hash table features - - Writes out pid file when requested with -p option - - Better logging for connections - - Proper signal handling and cleanup behavior - -0.2 - - Changed protocol to a more secure resilient protocol - -0.1 - - Initial non-public implementation + - The main description (the body) is normal prose and should use + normal punctuation and capital letters where appropriate. + - When committing code on behalf of others use the --author option, + e.g. git commit -a --author "Joe Coder " and + --signoff. diff --git a/Makefile.am b/Makefile.am index cada1bd..1193d9a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,5 +7,16 @@ EXTRA_DIST = common config.sub acsite.m4 COPYING-DAEMON SUBDIRS = daemon doc tools java $(APACHE_DIR) tests dist-hook: - rm -rf `find $(distdir)/ -name .svn` + @if test -d "$(srcdir)/.git"; \ + then \ + echo Creating ChangeLog && \ + ( cd "$(top_srcdir)" && \ + echo '# Generate automatically. Do not edit.'; echo; \ + $(top_srcdir)/missing --run git log --stat --date=short ) > ChangeLog.tmp \ + && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \ + || ( rm -f ChangeLog.tmp ; \ + echo Failed to generate ChangeLog >&2 ); \ + else \ + echo A git clone is required to generate a ChangeLog >&2; \ + fi diff --git a/NEWS b/NEWS index c7ab92a..f3190a5 100644 --- a/NEWS +++ b/NEWS @@ -1 +1,96 @@ -See ChangeLog \ No newline at end of file +0.9.5 + - Build fixes for MAC OS 10.4 and 10.5 + - Build fixes for Solaris + +0.9.4 [30-07-2008] + - Rework event handling system so we don't use a full thread per + connection, but instead only use threads for active requests. + +0.9.3 [not publicly released] + - Support sending access groups to mod_httpauth apache2x module. + - Support retrieving LDAP access groups for users. + - Build warning fixes. + - Allow better migration of live digest sessions between httpauth + daemons by using the 'stale' flag when things seem out of date. + - apache2x module now supports connecting to multiple daemon addresses + and failover between them. + +0.9.2 [22-05-2008] + - Authenticate sub requests properly in the apache module. + +0.9.1 [09-05-2008] + - Fix building pgsql and mysql modules. + +0.9 [22-04-2008] + - Allow 128 character long NTLM domains. + - Parse passwords from LDAP more circumspectly. + - Bump max connection limit to 1024. + - Fix some spurious warnings + +0.8 [06-07-2007] + - Support ignoring of HTTP method in digest. Useful for pass-through + authentication between SOAP services and websites. + - Fix problems building apache1x module + +0.7 [28-05-2007] + - Use my real name 'Stef Walter' + See: http://memberwebs.com/nielsen/ + +0.6 [20-12-2006] + - Guarantee unique connection identfier for NTLM when using apache2 + - Fix crasher when doing basic auth. + - Allow numbers in handler names. + - In the Jetty authenticator generate a unique authentication identifier + which facilitates NTLM authentication + - Reconnect to httpauthd when that daemon has been restarted. + +0.5.2 + - Better messages when keepalives are not used with NTLM + - Fix problems in java servlet authenticator [Ross Elliot] + - Disable NTLM via servlet and Jetty java authenticators (a custom one + which provides connection id info is needed). + +0.5.1 + - Fix problem with NTLM connection caching + - Fix problem with NTLM not authenticating POST in IE properly + - Fix locking while connecting to SMB server + - Better log handling when things are fast and furious + - Don't hang on exit on FreeBSD + +0.5 + - Added Dummy handler + - PostgreSQL support + - MYSQL support + - Fixed Base64 decoding problems + - Added mkha1 tool + - Lots of bug fixes and testing + - Get httpauthd to reconnect properly + - Tested and completed NTLM support + - Bundled java client code + +0.4.2 + - Separated base handler functionality, reorganized files, code + - Conditional compilation of various handlers + +0.4.1 + - Fix unititialized memory bug + - Fixed address parsing and formatting bugs + - Fixed hash table bugs + +0.4 + - Better reconnection after a closed connection from mod_httpauth + - Fixed LDAP bind type authentication bug + +0.3 + - Changed 'method' to 'handler' throughout + - Fixed bug in hash.c + - Imported new hash table features + - Writes out pid file when requested with -p option + - Better logging for connections + - Proper signal handling and cleanup behavior + +0.2 + - Changed protocol to a more secure resilient protocol + +0.1 + - Initial non-public implementation diff --git a/autogen.sh b/autogen.sh index 08037e2..e92da89 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,10 +1,20 @@ -#!/bin/sh -e +#!/bin/sh set -e +# Some boiler plate to get git setup as expected +if test -d .git; then + if test -f .git/hooks/pre-commit.sample && \ + test ! -f .git/hooks/pre-commit; then + cp -pv .git/hooks/pre-commit.sample .git/hooks/pre-commit + fi +fi + +set -x + aclocal autoheader automake -a autoconf -./configure --enable-maintainer-mode "$@" +./configure "$@" -- cgit v1.2.3