2017-08-09  Ollivier Robert  <roberto@keltia.net>

	* README-fr.md, README.md:
	Sync with current state.
	[d5d1403715ea] [tip]

	* ChangeLog:
	Sync ChangeLog.
	[55c2817c0c2c]

	* calife.c:
	Wrap fd declaration with #ifdef WANT_GLOBAL_RC.
	[2b171253cc39]

	* calife.c:
	Remove trailing spaces.
	[9190b44575db]

	* calife.c:
	Separate the two cases to avoid unused variables..
	[ec92424830ea]

	* calife.c:
	Refactor: create whoami() to simplify main().
	[907189024d8f]

	* conf.h:
	Hook up compiler.h and use it.
	[f9fd34e270bf]

	* compiler.h:
	Include compiler.h by Bertrand Petit. Add keyword for declarations.
	[dbb4a7f658f1]

	* auth.c:
	Add assertions.
	[e5ce664a97ca]

	* auth.c:
	Test 1st char instead.
	[d6119254e1af]

	* calife.c:
	This is not necessary, exec() is coming.
	[225a2044ea10]

	* calife.c:
	Be more explicite.
	[e21871d017e0]

2017-08-08  Ollivier Robert  <roberto@keltia.net>

	* calife.c:
	Displays the strerror(3) output when fork(2) fails.

	Proposed by: Elrond <elrond@phoe.frmug.org>
	[7b2576d3600f]

2014-11-10  Ollivier Robert  <roberto@keltia.net>

	* .hgtags:
	Added tag 3.0.5 for changeset 12b49af8a87b
	[c9e854d492e5]

	* ChangeLog:
	Update.
	[12b49af8a87b] [3.0.5]

	* .hgtags:
	Added tag 3.0.5 for changeset 2200d81bf270
	[2bcc3cffc133]

	* .hgtags:
	Added tag 3.0.5 for changeset ee46e1fd4642
	[2200d81bf270]

	* config.guess, config.sub:
	Update config.guess/sub to 2014/11/04 versions.
	[ee46e1fd4642]

	* README-fr.md, README.md, pam/freebsd9:
	Add a freebsd9 PAM configuration file for 9.x and up. Fix READMEs.

	Submitted by: Dag-Erling Smørgrav <des@freebsd.org>
	[f91e6350b459]

	* ChangeLog:
	Merge.
	[3a061fcd5584]

	* ChangeLog:
	Re-sync ChangeLog.
	[b03e3cef8195]

2014-09-05  Ollivier Robert  <roberto@keltia.net>

	* .hgtags:
	Added tag 3.0.4 for changeset 25570e2f1dfc
	[0b9c5e950384]

	* calife.auth.5.in, db.c:
	Add support for %group in calife.auth.
	[25570e2f1dfc] [3.0.4]

	* calife.c:
	Fix messages, add ssid to debug.
	[57ac191d6c4c]

	* util.c:
	Clear out memory zones securely.
	[0849dfe2ac8e]

2014-05-23  Ollivier Robert  <roberto@keltia.net>

	* .hgtags:
	Added tag 3.0.3 for changeset 5d141ecaf6a2
	[3d15d0eb220f]

	* ChangeLog:
	Sync.
	[5d141ecaf6a2] [3.0.3]

	* .hgtags:
	Added tag 3.0.3 for changeset e47593d1cbda
	[2ca74c88ca3a]

	* configure:
	Regenerate for 3.0.3, should fix staged dir in FreeBSD ports.
	[e47593d1cbda]

	* Makefile.in:
	Remove unneeded messages. Do not rename old binary.
	[62657218adf3]

2014-03-20  Ollivier Robert  <roberto@keltia.freenix.fr>

	* conf.h:
	Merge.
	[b0fe97d87286]

2013-03-25  Ollivier Robert  <roberto@keltia.net>

	* .hgignore:
	Add some directories from NetBeans.
	[8ca4940b1cd0]

2012-10-26  Ollivier Robert  <roberto@keltia.net>

	* conf.h:
	Add a prototype for auth_pam() (silence warning from clang).
	[3b78f912d08d]

2014-02-23  Ollivier Robert  <roberto@keltia.net>

	* .hgtags:
	Added tag 3.0.2 for changeset 162282762a82
	[62a59249f305]

	* auth.c:
	Fix botched test.
	[162282762a82] [3.0.2]

	* .hgtags:
	Added tag 3.0.2 for changeset 8454656b738e
	[640962346f12]

	* Makefile.in:
	-Wall is default.
	[8454656b738e]

	* auth.c:
	Remove one variable, merge two portions of code.
	[fa7c6a7fb291]

	* auth.c:
	Remove unused variables (2nd pass). Add cheking on calife argument.
	[43b3e8e3085a]

	* conf.h:
	Add prototype for auth_pam().
	[c7bd68780eea]

	* auth.c:
	Remove unused variables (1st round).
	[b0e19aa3c07e]

2013-05-11  Ollivier Robert  <roberto@keltia.net>

	* README, README-fr.md, README.en, README.md:
	Move everything into Markdown.
	[ab55a2307363]

	* README, README.en:
	Fix addresses/URL.
	[f71e70cf2d35]

2012-08-22  Ollivier Robert  <roberto@keltia.net>

	* ChangeLog:
	Sync.
	[0855d1578d53]

	* Automated merge with
	ssh://keltia.freenix.org//www/archives.keltia.net/htdocs/hg/calife-
	pam
	[2ad8a83a9e6f]

	* db.c:
	Remove warning about (( )) from clang.
	[29ff9dbb76a9]

2012-01-03  Ollivier Robert  <roberto@keltia.net>

	* calife.auth-dist:
	We do not want some people to be feeling left out :).
	[c1cf7f18fe92]

2009-12-21  Ollivier Robert  <roberto@keltia.freenix.fr>

	* .hgtags:
	Added tag 3.0.1 for changeset f28c4191b823
	[7df82707b063]

	* ChangeLog:
	Updated.
	[f28c4191b823] [3.0.1]

	* README, README.en, pam/macosx10:
	OS X 10.6 has different PAM modules.
	[3c053a655692]

2009-12-11  Ollivier Robert  <roberto@keltia.freenix.fr>

	* configure:
	Regenerate.
	[933e238e8aa6]

2009-12-03  Ollivier Robert  <roberto@keltia.freenix.fr>

	* configure.in:
	Add a missing ;;.
	[d58abe72e2af]

	* configure:
	Regenerate.
	[5dc09f855c8c]

2009-12-02  Ollivier Robert  <roberto@keltia.freenix.fr>

	* config.guess, config.sub:
	Update these to 2009-11-19 versions.
	[bc7001ab775f]

	* config.guess, config.sub:
	Update these to 2008 versions.
	[5c531766b5c9]

	* calife.c:
	Fix copyright.
	[c67ec95b1aef]

2009-12-01  Ollivier Robert  <roberto@keltia.freenix.fr>

	* calife.c:
	Remove space after \.
	[0b340bd3c882]

	* calife.c:
	Reorder and reformat.
	[112c396b5525]

	* calife.c:
	Reorder.
	[5c7f2d9fb968]

	* calife.c:
	Remove unnecessary #ifdef.
	[a9a640c3c893]

	* calife.c:
	Untabify.
	[b6725dd2e87f]

	* calife.c:
	Remove potential NULL reference. Found by clang static analyzer.
	[51b770f23683]

	* calife.c:
	fp is no more here.
	[dceb74c03dbc]

	* ChangeLog:
	Updated.
	[b5e2803850c5]

	* db.c:
	Clean up open_databases(), remove access(2).
	[5a1f3f02b317]

	* conf.h:
	Tabs to spaces.
	[2db16132e2bd]

	* conf.h:
	Complete move of fp into db.c.
	[73677a6dc731]

	* calife.c, conf.h, db.c:
	Promote fp from global variable to static variable in db.c.
	[cfe779015a7e]

	* auth.c, calife.c, conf.h, db.c, util.c:
	Update copyright.
	[0dcc27d2f900]

	* ChangeLog:
	Updated. Re-encoded in UTF-8.
	[470097df63d5]

	* README, README.en:
	Updated & synced together. Now UTF-8 as well.
	[2398eb5baa35]

	* ChangeLog-2.x:
	Re-encode as UTF-8.
	[5e5862be12dd]

	* calife.c, util.c:
	Re-encode as UTF-8.
	[9c712aa88821]

	* configure.in:
	Add hook for 10.6 Snow Leopard.
	[5cef517b0f75]

	* calife.c:
	gcc want NULL instead of 0, clang does not care, oh well.
	[4c4c675fe759]

	* mkvers.sh, version.c:
	These two have been unused for quite some time now.
	[d6f5008ba7fc]

	* configure:
	Regenerate.
	[7b558be3b11a]

2009-11-06  Ollivier Robert  <roberto@keltia.freenix.fr>

	* conf.h:
	Wrap GET/RELEASE_ROOT and check return values. Found by clang static
	analyzer.
	[a592b8bf8381]

	* calife.c:
	Add hints to lint/static analyzer.
	[6d40fad1bec6]

2009-04-08  Ollivier Robert  <roberto@keltia.freenix.fr>

	* ChangeLog:
	Updated.
	[95939950cc10]

	* Makefile.in:
	Fix check: target.
	[5b64d7715346]

	* db.c:
	Remove dead assignments.

	Found by: clang --analyze
	[d3d648549829]

	* db.c:
	Use xalloc() from util.c to silence a clang warning.

	Found by: clang --analyze
	[be2e0ba53599]

	* calife.c, conf.h:
	Simplify the code by adding MESSAGE_5() and using it.
	[924a74c46657]

	* calife.c:
	Remove trailing space.

	Found by: clang --analyze
	[3fe54840cf4a]

	* auth.c:
	"who" is only used inside the #if.

	Found by: clang --analyze
	[1ea0ffc931de]

2009-04-06  Ollivier Robert  <roberto@keltia.freenix.fr>

	* auth.c, calife.c, db.c:
	Remove unused variables.

	Found by: clang --analyze (from llvm)
	[377cdf445d8f]

	* Makefile.in:
	Add check target for clang static analyzer.
	[4add4ffb8697]

2008-11-22  Ollivier Robert  <roberto@keltia.freenix.fr>

	* .hgtags:
	Version 3.0 is finally here.
	[032f6557ba51]

	* ChangeLog:
	Update.
	[ed71673b4b62] [3.0]

	* README:
	Add $Id$.
	[e14096bc6458]

	* README.en:
	Complete the English translation.
	[78d44579398c]

2008-08-19  Ollivier Robert  <roberto@keltia.freenix.fr>

	* ChangeLog, Makefile.in, auth.c, auth_pam.c, calife.1.in,
	calife.auth.5.in, calife.c, conf.h, configure.in, db.c, util.c:
	- Resurrect rcsid keyword, expanded through HG extension hgkeyword.
	- README.en: new file
	- version.c: removed as it is not needed anymore.
	- ChangeLog: updated.
	[88c4f70961ac]

	* README.en:
	WIP English version of README.
	[20664f956649]

2008-04-07  Ollivier Robert  <roberto@keltia.freenix.fr>

	* auth_pam.c:
	Change all tabs into spaces. Removed Arch-specific comment.
	[58e64308f050]

	* calife.c:
	Reformatting of whitespace.
	[a8eaa5b12651]

	* README:
	Remove trailing / as RadiantCMS does not use it.
	[4a948b3f0756]

	* auth.c:
	Retire verify_password.
	[4402d7633a92]

	* .hgtags:
	Added tag 3.0pre9 for changeset 022851d2e07d
	[e6570d1e6106]

	* ChangeLog:
	Updated.
	[e847c4516f8e]

	* Makefile.in, auth.c, calife.c, conf.h, db.c:
	Re-implement authentication with respect to PAM usage.

	auth.c:
	- move all authentication methods here
	- rename verify_password as authenticate_user

	calife.c:
	- use authenticate_user

	conf.h:
	- Add error code for auth. process
	- rename verify_password as authenticate_user

	Makefile.in:
	- add auth.{c,o} & dependencies

	db.c:
	- remove verify_password
	[6e36098ae99b]

	* calife.c:
	Use the new MESSAGE_4 macro.
	[bd19094d03fb]

	* conf.h:
	Add a MESSAGE_4() macro.
	[08ec1d975469]

	* db.c:
	Change old-style message into MESSAGE*().
	[54ad5ff14d08]

	* .hgignore:
	Add minimal .hgignore.
	[f1d9ff5d59d8]

2008-03-13  Ollivier Robert  <roberto@keltia.freenix.fr>

	* config.h.in:
	Lookfor getpassphrase(3).
	[022851d2e07d] [3.0pre9]

2007-10-22  Ollivier Robert  <roberto@keltia.freenix.fr>

	* ChangeLog:
	Update.
	[762d7444bb5c]

	* configure, configure.in:
	Make PAM non mandatory for Solaris 2.10.
	[56ddd0396931]

	* acconfig.h, configure, configure.in:
	Lookfor getpassphrase(3).
	[98598e4a4606]

	* db.c:
	Fix: use a different variable.
	[e63632479a7c]

	* Tag 3.0pre8 & update version.c. (bis)
	[d4dd05b6658d]

	* .hgtags:
	Re-tag 3.0pre8.
	[15a310d990d1]

	* configure:
	Regenerate.
	[c77e1a411261] [3.0pre8]

	* version.c:
	Tag 3.0pre8 & update version.c.
	[a0c0e0b4e1c8]

	* .hgtags:
	Added tag 3.0pre8 for changeset 4d27666642da
	[26e8a2003304]

	* mkvers.sh:
	Use short hash.
	[4d27666642da]

	* ChangeLog, configure.in, db.c:
	Hack for Solaris 10.

	On Solaris 10, getpass(3) input is truncated to 8 chars (age-old
	limit for passwords). Workaround that by using getpassphrase(3).
	Found with Miguel Paiva (CS-SI).
	[e32f315c16b9]

	* ChangeLog:
	Rectify whitespace.
	[11e24b694487]

2007-06-26  Ollivier Robert  <roberto@keltia.freenix.fr>

	* ChangeLog, version.c:
	Tag 3.0pre7 & update version.c.
	[d234335d3866]

	* .hgtags:
	Added tag 3.0pre7 for changeset 75d31775a402
	[7e4d3a57409a]

2007-04-29  Ollivier Robert  <roberto@keltia.freenix.fr>

	* ChangeLog:
	Update ChangeLog
	[75d31775a402] [3.0pre7]

2007-04-27  Ollivier Robert  <roberto@keltia.freenix.fr>

	* pam/linux:
	Fix lines mangled by vim.
	[23a97c41580f]

	* pam/linux:
	PAM file for Linux (tested on Debian)

	Submitted by: Christian Perrier
	[f015a677d0a4]

2007-02-14  Ollivier Robert  <roberto@keltia.freenix.fr>

	* version.c:
	Add current version.c for 3.0pre6.
	[e7edfd36ee57]

	* .hgtags:
	Slide the 3.0pre6 tag again.
	[161aef80731e]

	* .hgtags, mkvers.sh:
	mkvers.sh: add newlines.
	[4fd0ac95978a] [3.0pre6]

	* mkvers.sh:
	Override version.c, not append.
	[8f7668bd23ee]

	* Makefile.in, mkvers.sh:
	Add infrastructure to embed hg hash as calife revision.
	[5f1e7b522498]

	* .hgtags:
	Move 3.0pre6 tag for updated pam file.
	[c6006f0d7865]

	* pam/freebsd5:
	Fix PAM file for FreeBSD.
	[12c94d2eac85]

2007-02-13  Ollivier Robert  <roberto@keltia.freenix.fr>

	* .hgtags:
	Added tag 3.0pre6 for changeset 59616216ffe0
	[15356f00183a]

	* ChangeLog, README:
	Update README & ChangeLog for 3.0pre10.
	[59616216ffe0]

2007-02-12  Ollivier Robert  <roberto@keltia.freenix.fr>

	* calife.c:
	Don't segfault if auth was not doen through pam.
	[bd988d85abc1]

	* configure:
	Regenerate configure.
	[366ea23f8ba4]

	* acconfig.h, auth_pam.c, conf.h, configure.in, pam/solaris:
	Solaris10 support with PAM.
	[7b08c5f4240e]

2006-07-26  Ollivier Robert  <roberto@keltia.freenix.fr>

	* README:
	Change README to mention Mercurial instead of Arch.
	[61de53ada739]

2006-07-26  Thomas Quinot  <thomas@quinot.org>

	* auth_pam.c:
	Get root privileges before pam_authenticate() in order to be able to
	read /etc/master.passwd.
	[846255c01037]

2005-07-06  Ollivier Robert  <roberto@keltia.net>

	* auth_pam.c:
	Make the code a bit more readable.
	[57eeb7e40651]

2005-06-27  Ollivier Robert  <roberto@keltia.net>

	* config.guess, config.sub:
	Update to more recent versions of config.{guess,sub}: 22/3/2005.
	[1f04e81d3f5d]

	* config.guess, config.sub:
	Update to more recent versions - 2/7/2003.
	[3b6918001756]

2005-06-22  Ollivier Robert  <roberto@keltia.net>

	* README:
	README updates for PAM.
	[aa464fc9cb18]

	* pam/freebsd5, pam/macosx:
	There is no universal PAM config file... Create PAM configuration
	files in a separate directory.
	- macosx
	- freebsd5
	[510e402fa260]

2005-06-16  Ollivier Robert  <roberto@keltia.net>

	* auth_pam.c:
	Calling pam_end(3) two times is bad(tm).
	[a93e821d0951]

	* calife.c:
	DEBUG mode may need core files.
	[0878830336e1]

	* calife.c:
	Code move to avoid extra #ifdef..#endif.
	[e59fb9d2f0fd]

	* calife.c:
	Even more logging.
	[08451e9e08cb]

	* calife.c:
	Typo.
	[a1f648f2e3b1]

	* calife.c:
	More logging.
	[085243ce3f8f]

	* calife.c:
	It is a bad idea(tm) to use syslog(3) after closelog(3)...
	[5827e7af4b83]

	* auth_pam.c:
	Add a debugging message if pam_authenticate(3) fails.
	[0b55a7203e7c]

2005-06-14  Ollivier Robert  <roberto@keltia.net>

	* README:
	Add Denis & Bertrand to credits.
	[a79e7329fcbb]

	* ChangeLog:
	Update ChangeLog.
	[51fca625311c]

	* Makefile.in:
	calife.auth-dist is always installed now.
	[7239258152ce]

	* ChangeLog:
	Update ChangeLog.
	[d27871aae97f]

	* db.c:
	Fix variable defined twice.
	[7eb772cf1f2f]

2005-06-13  Ollivier Robert  <roberto@keltia.net>

	* ChangeLog:
	Update ChangeLog.
	[f03bf662ea93]

	* calife.c, conf.h:
	Fix check of characters used in usernames.
	[c59637d4ed39]

	* Makefile.in:
	Fix dependencies for auth_pam.o.
	[7ec150c60f2d]

	* README, calife.c:
	Comment reformatting.
	[0c2043166187]

2005-06-10  Ollivier Robert  <roberto@keltia.net>

	* ChangeLog, ChangeLog-2.x:
	Reorganisation of ChangeLog, add ChangeLog-2.x for older changes.
	[6746410b3273]

	* db.c:
	Ensure that more variables are initialised. Previous patch
	(patch-15) was submitted by Denis Ducamp <Denis.Ducamp@hsc.fr>
	[ca10c372d380]

	* db.c:
	
	[7b64b49931e0]

2005-06-09  Ollivier Robert  <roberto@keltia.net>

	* db.c:
	Remove references to deleted variable rcsid.
	[d3a7e418f8cd]

2005-05-30  Ollivier Robert  <roberto@keltia.net>

	* ChangeLog:
	Entry for 3.0.
	[dae8c45c7c41]

2005-05-27  Ollivier Robert  <roberto@keltia.net>

	* calife.c:
	Add a FIXME: entry about username checking.
	[9d1891eb5364]

	* auth_pam.c, calife.1.in, calife.auth.5.in, calife.c, conf.h, db.c,
	util.c:
	General doc cleanup & unifdef STDC_HEADERS calife.c: db.c: util.c:
	conf.h:
	  - Unifdef STDC_HEADERS, all compilers are now ISO C/ANSI C compliants
	  - Removed rcsid as they are not relevant anymore
	  - Fix copyrights calife.1.in: calife.auth.5.in:

	 - Don't mention the oooold non-US crypto dist.
	  - Mention PAM
	[fb9876b0ed6f]

	* auth_pam.c, db.c:
	More debug messages to track down a Solaris 9 issue.
	[23826511395e]

2005-05-26  Ollivier Robert  <roberto@keltia.net>

	* configure:
	Regenerate.
	[a875e50bc1e7]

	* db.c:
	Narrow down GET_ROOT/RELEASE_ROOT usage around getspname(2).
	[ca37ec32380a]

	* db.c:
	GET_ROOT/RELEASE_ROOT doesn't seem to be necessary around
	auth_pam().
	[d052e944949f]

	* auth_pam.c, conf.h, db.c:
	Hopefully implement PAM auth & fallback the correct way.
	[c47ba219945c]

2005-05-09  Ollivier Robert  <roberto@keltia.net>

	* README, config.h.in, configure.in:
	Complete the removal of RELAXED mode. Update README on 3.0.
	[f54e6218e3ee]

	* calife.c, db.c:
	Unifdef -URELAXED.
	[82b98b8aae73]

	* calife.c:
	Fix a bug in #ifdef..#endif. Use a different signature for
	syslog(3).
	[d7446d630f86]

2005-05-04  Ollivier Robert  <roberto@keltia.net>

	* Makefile.in, README, acconfig.h, auth_pam.c, calife.c, calife.pam,
	conf.h, config.h.in, configure, configure.in, db.c:
	calife PAMification The code now correctly configure/make/run on
	FreeBSD 6 (w/ & w/o PAM) and on OSX 10.3.9 (w/ PAM).

	Makefile.in:
	  - reference auth_pam.{c,o} configure.in:
	  - code to check --with-pam and location of pam_appl.h taken from sudo.
	  - add "-lpam"
	  - if using PAM, calife must be dynamically linked
	  - PAM is mandatory for Darwin/OSX calife.c: db.c: conf.h: config.h.in:
	  - use WITH_PAM to enclose PAM code
	  - define variables & symbols needed
	  - if PAM failed, fallback to checking password values configure:
	  - regenerated with autoconf auth_pam.c:
	  - code taken from pamify.h in lukemftpd from FreeBSD & rewritten to
	fit in calife. calife.pam:
	  - PAM file to be put in /etc/pam.d or whatever location is required by
	a given PAM implementation.
	[ec6c1cdccfb0]

	* README:
	Reformattage, mention de 3.0/PAM.
	[057e1441b1b0]

	* COPYING, ChangeLog, Makefile.in, README, acconfig.h, calife.1.in,
	calife.auth-dist, calife.auth.5.in, calife.c, conf.h, config.guess,
	config.h.in, config.sub, configure, configure.in, db.c, install-sh,
	util.c:
	tag of roberto@eu.org--2003b/calife--pam--3.0--patch-1
	(automatically generated log message)
	[ea3716614663]

