Changeset 1409

Show
Ignore:
Timestamp:
10/10/07 18:43:39 (1 year ago)
Author:
till
Message:

honeytrap
- bold configure output fixed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeytrap/trunk/ChangeLog

    r1360 r1409  
    11Version 1.0.0 
     2- Improved configure script 
    23- Basic http download wrapper plugin added 
    34- VNC plugin redesigned to generate virtual attacks 
  • honeytrap/trunk/configure.in

    r1407 r1409  
    4040    for tool in tput tcout; do 
    4141        for dir in $paths; do 
    42             if [ -r "$dir/$tool" ]; then 
     42            if test -r "$dir/$tool" ; then 
    4343                for seq in bold md smso; do # 'smso' is last 
    4444                    bold="`$dir/$tool $seq 2>/dev/null`" 
    45                     if [ ".$bold" != . ]; then 
     45                    if test ".$bold" != . ; then 
    4646                        term_bold="$bold" 
    4747                        break 
    4848                    fi 
    4949                done 
    50                 if [ ".$term_bold" != . ]; then 
     50                if test ".$term_bold" != . ; then 
    5151                    for seq in sgr0 me rmso init reset; do # 'reset' is last 
    5252                        norm="`$dir/$tool $seq 2>/dev/null`" 
    53                         if [ ".$norm" != . ]; then 
     53                        if test ".$norm" != . ; then 
    5454                            term_norm="$norm" 
    5555                            break 
     
    6060            fi 
    6161        done 
    62         if [ ".$term_bold" != . ] && [ ".$term_norm" != . ]; then 
     62        if test ".$term_bold" != . && test ".$term_norm" != . ; then 
    6363            break; 
    6464        fi 
     
    293293                        bold "   %BError%b - libpcap headers not found. Install them or use the following options:" 
    294294                        echo 
    295                         echo "   --with-libpcap-includes=location of libpcap header files
     295                        bold "   %B--with-libpcap-includes=%b[location of libpcap header files]
    296296                        echo 
    297297                        exit 1 
     
    307307                        bold "   %BError%b - libpcap library not found. Install it or use the following options:" 
    308308                        echo 
    309                         echo "   --with-libpcap-library=location of libpcap shared library files
     309                        bold "   %B--with-libpcap-library=%b[location of libpcap shared library files]
    310310                        echo 
    311311                        exit 1 
     
    333333                        bold "   %BError%b - libnetfilter_queue headers not found. Install them or use the following options:" 
    334334                        echo 
    335                         echo "   --with-libnfq-includes=location of libnetfilter_queue header files
     335                        bold "   %B--with-libnfq-includes=%b[location of libnetfilter_queue header files]
    336336                        echo 
    337337                        exit 
     
    347347                        bold "   %BError%b - libnetfilter_queue library not found. Install it or use the following options:" 
    348348                        echo 
    349                         echo "   --with-libnfq-library=location of libnetfilter_queue shared library files
     349                        bold "   %B--with-libnfq-library=%b[location of libnetfilter_queue shared library files]
    350350                        echo 
    351351                        exit 
     
    372372                        bold "   %BError%b - libipq headers not found. Install them or use the following options:" 
    373373                        echo 
    374                         echo "   --with-libipq-includes=location of libipq header files
     374                        bold "   %B--with-libipq-includes=%b[location of libipq header files]
    375375                        echo 
    376376                        exit 
     
    386386                        bold "   %BError%b - libipq library not found. Install it or use the following options:" 
    387387                        echo 
    388                         echo "   --with-libipq-library=location of libipq shared library files
     388                        bold "   %B--with-libipq-library=%[blocation of libipq shared library files]
    389389                        echo 
    390390                        exit 
     
    403403                bold "   %BError%b - No connection monitor selected. Please reconfigure with one of the following:" 
    404404                echo 
    405                 echo "   --with-stream-mon=nfq    receive packets via netfilter's NFQUEUE target (Linux only, recommended)" 
    406                 echo "   --with-stream-mon=ipq    receive packets via netfilter's QUEUE target (Linux only)" 
    407                 echo "   --with-stream-mon=pcap   receive packets using a built-in pcap sniffer" 
     405                bold "   %B--with-stream-mon=%bnfq    receive packets via netfilter's NFQUEUE target (Linux only, recommended)" 
     406                bold "   %B--with-stream-mon=%bipq    receive packets via netfilter's QUEUE target (Linux only)" 
     407                bold "   %B--with-stream-mon=%bpcap   receive packets using a built-in pcap sniffer" 
    408408                echo 
    409409                exit 1 
     
    448448    bold "   %BError%b - libclamav headers not found. Install them or use the following options:" 
    449449    echo 
    450     bold "   %B--with-libclamav-includes%b=location of libclamav header files
     450    bold "   %B--with-libclamav-includes=%b[location of libclamav header files]
    451451    echo 
    452452    exit 
     
    462462    bold "   %BError%b - libclamav library not found. Install it or use the following options:" 
    463463    echo 
    464     bold "   %B--with-libclamav-library%b=location of libclamav shared library files
     464    bold "   %B--with-libclamav-library=%b[location of libclamav shared library files]
    465465    echo 
    466466    exit 
     
    492492    bold "   %BError%b - libemu headers not found. Install them or use the following options:" 
    493493    echo 
    494     bold "   %B--with-libemu-includes%b=location of libemu header files
     494    bold "   %B--with-libemu-includes=%b[location of libemu header files]
    495495    echo 
    496496    exit 
     
    505505    bold "   %BError%b - libemu library not found. Install it or use the following options:" 
    506506    echo 
    507     bold "   %B--with-libemu-library%b=location of libemu shared library files
     507    bold "   %B--with-libemu-library=%b[location of libemu shared library files]
    508508    echo 
    509509    exit 
     
    541541                bold "   %BError%b - libcurl headers not found. Install them or use the following options:" 
    542542                echo 
    543                 bold "   %B--with-libcurl-includes%b=location of libcurl header files
     543                bold "   %B--with-libcurl-includes=%b[location of libcurl header files]
    544544                echo 
    545545                exit 
     
    551551                bold "   %BError%b - libcurl library not found. Install it or use the following options:" 
    552552                echo 
    553                 bold "   %B--with-libcurl-library%b=location of libcurl shared library files
     553                bold "   %B--with-libcurl-library=%b[location of libcurl shared library files]
    554554                echo 
    555555                exit 
     
    594594    bold "   %BError%b - libpcre headers not found. Install them or use the following options:" 
    595595    echo 
    596     bold "   %B--with-libpcre-includes%b=location of libpcre header files
     596    bold "   %B--with-libpcre-includes=%b[location of libpcre header files]
    597597    echo 
    598598    exit 
     
    608608    bold "   %BError%b - libpcre library not found. Install it or use the following options:" 
    609609    echo 
    610     bold "   %B--with-libpcre-library%b=location of libpcre shared library files
     610    bold "   %B--with-libpcre-library=%b[location of libpcre shared library files]
    611611    echo 
    612612    exit 
     
    641641    bold "   %BError%b - libpq headers not found. Install them or use the following options:" 
    642642    echo 
    643     bold "   %B--with-libpq-includes%b=location of libpq header files
     643    bold "   %B--with-libpq-includes=%b[location of libpq header files]
    644644    echo 
    645645    exit 
     
    655655    bold "   %BError%b - libpq library not found. Install it or use the following options:" 
    656656    echo 
    657     bold "   %B--with-libpq-library%b=location of libpq shared library files
     657    bold "   %B--with-libpq-library=%b[location of libpq shared library files]
    658658    echo 
    659659    exit