Changeset 75 for trunk


Ignore:
Timestamp:
Nov 1, 2006, 10:46:20 PM (18 years ago)
Author:
rainer
Message:

Fix compile failure with portcheck + stealth.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r71 r75  
    1313dnl start
    1414dnl
    15 AM_INIT_AUTOMAKE(samhain, 2.3.0)
     15AM_INIT_AUTOMAKE(samhain, 2.3.0a)
    1616AC_CANONICAL_HOST
    1717
  • trunk/docs/Changelog

    r73 r75  
    1 2.3.0:
     12.3.0a:
     2        * fix compile failure with portcheck + stealth (reported by lucas)
     3
     42.3.0 (01-11-2006):
    25        * fix concurrency for inserts in oracle db
    36        * add acl_(new|old) to database schema
  • trunk/src/sh_portcheck.c

    r73 r75  
    391391{
    392392  struct sh_portentry * portlist;
    393   char iface_all[8] = _("0.0.0.0");
     393  char iface_all[8];
     394
     395  sl_strlcpy (iface_all, _("0.0.0.0"), sizeof(iface_all));
    394396 
    395397  if (0 == strcmp(proto, "tcp"))
  • trunk/test/testcompile.sh

    r68 r75  
    2020#
    2121
    22 MAXTEST=63; export MAXTEST
     22MAXTEST=65; export MAXTEST
    2323
    2424run_flawfinder ()
     
    164164        # test standalone compilation
    165165        #
    166         TEST="${S}standalone w/suidcheck w/processcheck${E}"
     166        TEST="${S}standalone w/suidcheck w/procchk${E}"
    167167        #
    168168        if test -r "Makefile"; then
     
    180180        # test standalone compilation
    181181        #
    182         TEST="${S}standalone w/processcheck w/portcheck${E}"
     182        TEST="${S}standalone w/procchk w/portchk${E}"
    183183        #
    184184        if test -r "Makefile"; then
     
    187187        #
    188188        ${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
     189        #
     190        let "num = num + 1" >/dev/null
     191        testmake $? $num || let "numfail = numfail + 1"  >/dev/null
     192        let "num = num + 1" >/dev/null
     193        run_smatch $? $num || let "numfail = numfail + 1"  >/dev/null
     194
     195        #
     196        # test standalone compilation
     197        #
     198        TEST="${S}standalone w/procchk w/portchk w/stealth${E}"
     199        #
     200        if test -r "Makefile"; then
     201                $MAKE distclean
     202        fi
     203        #
     204        ${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
    189205        #
    190206        let "num = num + 1" >/dev/null
Note: See TracChangeset for help on using the changeset viewer.