Index: /trunk/configure.ac
===================================================================
--- /trunk/configure.ac	(revision 74)
+++ /trunk/configure.ac	(revision 75)
@@ -13,5 +13,5 @@
 dnl start
 dnl
-AM_INIT_AUTOMAKE(samhain, 2.3.0)
+AM_INIT_AUTOMAKE(samhain, 2.3.0a)
 AC_CANONICAL_HOST
 
Index: /trunk/docs/Changelog
===================================================================
--- /trunk/docs/Changelog	(revision 74)
+++ /trunk/docs/Changelog	(revision 75)
@@ -1,3 +1,6 @@
-2.3.0:
+2.3.0a:
+	* fix compile failure with portcheck + stealth (reported by lucas)
+
+2.3.0 (01-11-2006):
 	* fix concurrency for inserts in oracle db
 	* add acl_(new|old) to database schema
Index: /trunk/src/sh_portcheck.c
===================================================================
--- /trunk/src/sh_portcheck.c	(revision 74)
+++ /trunk/src/sh_portcheck.c	(revision 75)
@@ -391,5 +391,7 @@
 {
   struct sh_portentry * portlist;
-  char iface_all[8] = _("0.0.0.0");
+  char iface_all[8];
+
+  sl_strlcpy (iface_all, _("0.0.0.0"), sizeof(iface_all));
   
   if (0 == strcmp(proto, "tcp"))
Index: /trunk/test/testcompile.sh
===================================================================
--- /trunk/test/testcompile.sh	(revision 74)
+++ /trunk/test/testcompile.sh	(revision 75)
@@ -20,5 +20,5 @@
 #
 
-MAXTEST=63; export MAXTEST
+MAXTEST=65; export MAXTEST
 
 run_flawfinder ()
@@ -164,5 +164,5 @@
 	# test standalone compilation
 	#
-        TEST="${S}standalone w/suidcheck w/processcheck${E}"
+        TEST="${S}standalone w/suidcheck w/procchk${E}"
 	#
 	if test -r "Makefile"; then
@@ -180,5 +180,5 @@
 	# test standalone compilation
 	#
-        TEST="${S}standalone w/processcheck w/portcheck${E}"
+        TEST="${S}standalone w/procchk w/portchk${E}"
 	#
 	if test -r "Makefile"; then
@@ -187,4 +187,20 @@
 	#
 	${TOP_SRCDIR}/configure --quiet  --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test  --enable-process-check --enable-port-check > /dev/null 2>> test_log
+	#
+	let "num = num + 1" >/dev/null
+	testmake $? $num || let "numfail = numfail + 1"  >/dev/null
+	let "num = num + 1" >/dev/null
+	run_smatch $? $num || let "numfail = numfail + 1"  >/dev/null
+
+	#
+	# test standalone compilation
+	#
+        TEST="${S}standalone w/procchk w/portchk w/stealth${E}"
+	#
+	if test -r "Makefile"; then
+		$MAKE distclean 
+	fi
+	#
+	${TOP_SRCDIR}/configure --quiet  --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test  --enable-stealth=164 --enable-process-check --enable-port-check > /dev/null 2>> test_log
 	#
 	let "num = num + 1" >/dev/null
