Index: trunk/config.h.in
===================================================================
--- trunk/config.h.in	(revision 575)
+++ trunk/config.h.in	(revision 576)
@@ -591,4 +591,7 @@
 /* Define to 1 if you have the `gettimeofday' function. */
 #undef HAVE_GETTIMEOFDAY
+
+/* Define to 1 if you have the `getutxent' function. */
+#undef HAVE_GETUTXENT
 
 /* Define to 1 if you have the `getwd' function. */
Index: trunk/docs/Changelog
===================================================================
--- trunk/docs/Changelog	(revision 575)
+++ trunk/docs/Changelog	(revision 576)
@@ -1,3 +1,12 @@
-4.4.6:
+4.4.7:
+	* fix compile error on MacOS
+        * disable dnmalloc for gcc 11 (regexec does not work)
+	* fix minor compile issues with gcc 11.2
+	* fix problem with login/logout monitoring on MacOS (reported
+	by Peter)
+	* fix problem caused by switch from pubkey.gpg to pubkey.kbx
+	(reported by A. Hofland)
+
+4.4.6 (05-10-2021):
 	* fix Debian 10 compile problem in dnmalloc (mallinfo2),
 	reported by A. Hofland and others
@@ -8,8 +17,8 @@
 	* fix issue with inotify (reported by Thorsten)
 
-4.4.5:
+4.4.5 (01-07-2021):
 	* fix a memory leak introduced in 4.4.4
 
-4.4.4:
+4.4.4 (30-06-2021):
 	* fix more gcc 10 compiler warnings
 	* fix bug with signify-openbsd in client/server setup (reported
@@ -18,5 +27,5 @@
 	* fix recognition of invalid compiler options in configure.ac
 
-4.4.3:
+4.4.3 (31-10-2020):
 	* allow console logging to a unix domain socket
 	* fix spurious cppcheck warnings
@@ -26,16 +35,16 @@
 	* fix gcc 10 compiler warning in sh_portcheck.c
 
-4.4.2:
+4.4.2 (01-08-2020):
 	* re-enabled reading options from option group [samhain] in my.cnf
 	* fix server install in configure.ac: samhainadmin.pl <-> ..-gpg.pl, ..-sig.pl
 	* add more verbosity to portable binary installer, fix minor issues
 
-4.4.1:
+4.4.1 (27-02-2020):
 	* fix compatibility problem with older (version 2.0.x) GnuPG
 
-4.4.0:
+4.4.0 (31-10-2019):
 	* support for OpenBSD signify as alternative to GnuPG
 
-4.3.3:
+4.3.3 (11-07-2019):
 	* fix broken 'make deb' makefile target
 	* eliminate obsolete 'sstrip' utility
@@ -48,17 +57,17 @@
 	* add patch (by Kamel H.) to init for alternative root fs)
 
-4.3.2:
+4.3.2 (07-01-2019):
 	* fix compile failure on OpenBSD (reported by Mithrond)
 
-4.3.1:
+4.3.1 (25-09.2018):
 	* fix compile failure on non-Linux systems (reported by Romain and Tim)
 	* provide more information for error message about bad baseline
 	  database file (issue raised by Romain)
 
-4.3.0:
+4.3.0 (10-09-2018):
 	* add support for /etc/subuid, /etc/subgid maps
 	* fix compiler warning on Ubuntu 18.04
 
-4.2.4:
+4.2.4 (21-12-2017):
 	* fix 'clobbered by..' compiler warning is src/sh_portcheck.c
 	* fix compiler warning because of deprecated _BSD_SOURCE macro
@@ -69,9 +78,9 @@
 	* fix bug in static dns resolver (reported by Piotr G.)
 
-4.2.3:
+4.2.3 (31-10-2017):
 	* fix order of search directories for 'make rpm' (issue reported by
 	Z. Drableg)
 
-4.2.2:
+4.2.2 (03-07-2017):
 	* fix bug with PortCheckSkip: for any given port, only first interface
 	specified in config is checked (reported by A. Hofland)
@@ -80,5 +89,5 @@
 	* add success/failure message for closing baseline database at init
 
-4.2.1:
+4.2.1 (06-04-2017):
 	* fix for broken SetSocketPassword authentication
 	(reported by Todd Stansell)
Index: trunk/test/testcompile.sh
===================================================================
--- trunk/test/testcompile.sh	(revision 575)
+++ trunk/test/testcompile.sh	(revision 576)
@@ -26,5 +26,9 @@
 {
     uname -a | grep -i openbsd >/dev/null
-
+    if test x$? = x0; then
+	log_skip $num ${MAXTEST} 'test dnmalloc'
+	return 0
+    fi
+    uname -a | grep -i darwin >/dev/null
     if test x$? = x0; then
 	log_skip $num ${MAXTEST} 'test dnmalloc'
