Changeset 330

Show
Ignore:
Timestamp:
02/20/06 10:20:44 (3 years ago)
Author:
common
Message:

[x] nepenthes 0.1.2 commit
once again just unpacked the 0.1.2 package on trunk/ and svn added new files/dirs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nepenthes/trunk/CHANGES

    r321 r330  
     1Version 0.1.2 
     2============= 
     3Bugfix release/minor features. 
     4 
     5* Utilities 
     6        * hexdump uses nepenthes.utilites.hexdump_path as pathinfo now 
     7         
     8* shellemu-wint 
     9        * VFSCommandFTP uses new DownloadFlags 
     10 
     11* Download  
     12        * added DownloadFlags so we can handle broken ftpds better 
     13        * added ::addFlag(uint8_t ) & ::getFlags() 
     14 
     15* DownloadManager  
     16        * download() now takes uint8_t downloadflags as argument 
     17 
     18* download-ftp 
     19        * bind to port 0 to avoid collision 
     20        * rewrote quite everything to handle broken ftp daemons better, including the new DownloadFlags 
     21 
     22* Socket 
     23        * changed SS_NULL to SS_CONNECTED 
     24        * added SS_CONNECTING 
     25 
     26         
     27* TCPSocket  
     28        * set localip on accept() Sockets, so we can use this info further 
     29        * bind ConnectSockets before connecting, so we use the same ip for reverseconnect shells 
     30        * uses SS_CONNECTING for connect sockets 
     31        * overloads setState(), so if they are in state SS_CONNECTING and goto SS_CONNECTED they  
     32                can call Dialogue::connectionEstablished() for their dialogues 
     33 
     34        * some changes in the TCPSockets internal Dialogue handling prevent nepenthes recognizing  
     35                the same shellcode in more than one dialogue, resulting in more than one download per exploit 
     36                 
     37                 
     38* vuln-dameware 
     39        * created 
     40         
     41* Dialogue 
     42        * added ::dump() 
     43        * added ::connectionEstablished() 
     44 
     45         
     46* many vuln-* modules 
     47        * added CL_ASSIGN_AND_DONE handling 
     48 
     49 
     50* many shellcodehandlers using downloadhandler 
     51        * added valid downloadflag usage 
     52 
     53 
     54 
    155Version 0.1.1 
    256============= 
     
    71125* download-ftp 
    72126        * bind to port 0 to avoid collision 
     127 
     128* Socket 
     129        * changed SS_NULL to SS_CONNECTED 
     130        * added SS_CONNECTING 
    73131         
    74132* TCPSocket  
    75133        * set localip on accept() Sockets, so we can use this info further 
    76134        * bind ConnectSockets before connecting, so we use the same ip for reverseconnect shells 
    77          
     135        * uses SS_CONNECTING for connect sockets 
     136        * overloads setState(), so if they are in state SS_CONNECTING and goto SS_CONNECTED they  
     137                can call Dialogue::connectionEstablished() for their dialogues 
     138                 
    78139 
    79140* submit-xmlrpc 
    80141        * created 
     142        * depends on vuln-lsass  
    81143         
     144* vuln-dameware 
     145        * created 
     146         
     147* Dialogue 
     148        * added dump() 
     149        * added connectionEstablished 
     150 
    82151 
    83152Version 0.1.0 
  • nepenthes/trunk/Makefile.am

    r321 r330  
    1212doc_DATA = doc/README doc/README.VFS doc/logo-shaded.svg 
    1313 
    14 sysconf_DATA = conf/nepenthes.conf.dist 
     14#sysconf_DATA = conf/nepenthes.conf.dist 
    1515 
    1616AM_CXXFLAGS = '' 
     
    2424#endifdef 
    2525 
    26 # $(INSTALL_DATA) $(srcdir)/conf/nepenthes.conf.dist $(DESTDIR)$(sysconfdir)/nepenthes.conf.dist 
     26# $(INSTALL_DATA) $(srcdir)/conf/nepenthes.conf.dist $(DESTDIR)$(sysconfdir)/nepenthes/nepenthes.conf.dist 
    2727 
    2828install-data-local: 
    2929        $(mkinstalldirs) $(DESTDIR)$(sysconfdir) 
    30         if [ ! -e $(DESTDIR)$(sysconfdir)/nepenthes.conf ]; then \ 
    31                 $(INSTALL_DATA) $(srcdir)/conf/nepenthes.conf.dist $(DESTDIR)$(sysconfdir)/nepenthes.conf; \ 
     30        $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/nepenthes 
     31        $(INSTALL_DATA) $(srcdir)/conf/nepenthes.conf.dist $(DESTDIR)$(sysconfdir)/nepenthes/nepenthes.conf.dist; \ 
     32        if [ ! -e $(DESTDIR)$(sysconfdir)/nepenthes/nepenthes.conf ]; then \ 
     33                $(INSTALL_DATA) $(srcdir)/conf/nepenthes.conf.dist $(DESTDIR)$(sysconfdir)/nepenthes/nepenthes.conf; \ 
    3234        fi       
    3335        for src in `find modules -name '*.conf.dist'`; do \ 
    34                 $(INSTALL_DATA) "$$src" $(DESTDIR)$(sysconfdir) ; \ 
     36                $(INSTALL_DATA) "$$src" $(DESTDIR)$(sysconfdir)/nepenthes ; \ 
    3537        done 
    3638        for src in `find modules -name '*.conf.dist'`; do \ 
    37                 dst="$(DESTDIR)$(sysconfdir)/`basename "$$src" | perl -npe 's/\.dist$$//'`" ; \ 
     39                dst="$(DESTDIR)$(sysconfdir)/nepenthes/`basename "$$src" | perl -npe 's/\.dist$$//'`" ; \ 
    3840                if [ ! -e "$$dst" ] ; then \ 
    3941                        $(INSTALL_DATA) "$$src" "$$dst" ; \ 
  • nepenthes/trunk/Makefile.in

    r321 r330  
    1 # Makefile.in generated by automake 1.9.4 from Makefile.am. 
     1# Makefile.in generated by automake 1.9.6 from Makefile.am. 
    22# @configure_input@ 
    33 
    44# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 
    5 # 2003, 2004  Free Software Foundation, Inc. 
     5# 2003, 2004, 2005  Free Software Foundation, Inc. 
    66# This Makefile.in is free software; the Free Software Foundation 
    77# gives unlimited permission to copy and/or distribute it, 
     
    6969  esac; 
    7070am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; 
    71 am__installdirs = "$(DESTDIR)$(docdir)" "$(DESTDIR)$(sysconfdir)" 
     71am__installdirs = "$(DESTDIR)$(docdir)" 
    7272docDATA_INSTALL = $(INSTALL_DATA) 
    73 sysconfDATA_INSTALL = $(INSTALL_DATA) 
    74 DATA = $(doc_DATA) $(sysconf_DATA) 
     73DATA = $(doc_DATA) 
    7574ETAGS = etags 
    7675CTAGS = ctags 
     
    196195docdir = $(prefix)/share/doc 
    197196doc_DATA = doc/README doc/README.VFS doc/logo-shaded.svg 
    198 sysconf_DATA = conf/nepenthes.conf.dist 
     197 
     198#sysconf_DATA = conf/nepenthes.conf.dist 
    199199AM_CXXFLAGS = '' 
    200200all: config.h 
     
    279279          rm -f "$(DESTDIR)$(docdir)/$$f"; \ 
    280280        done 
    281 install-sysconfDATA: $(sysconf_DATA) 
    282         @$(NORMAL_INSTALL) 
    283         test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)" 
    284         @list='$(sysconf_DATA)'; for p in $$list; do \ 
    285           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 
    286           f=$(am__strip_dir) \ 
    287           echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \ 
    288           $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \ 
    289         done 
    290  
    291 uninstall-sysconfDATA: 
    292         @$(NORMAL_UNINSTALL) 
    293         @list='$(sysconf_DATA)'; for p in $$list; do \ 
    294           f=$(am__strip_dir) \ 
    295           echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f'"; \ 
    296           rm -f "$(DESTDIR)$(sysconfdir)/$$f"; \ 
    297         done 
    298281 
    299282# This directory's subdirectories are mostly independent; you can cd 
     
    304287# (2) otherwise, pass the desired values on the `make' command line. 
    305288$(RECURSIVE_TARGETS): 
    306         @set fnord $$MAKEFLAGS; amf=$$2; \ 
     289        @failcom='exit 1'; \ 
     290        for f in x $$MAKEFLAGS; do \ 
     291          case $$f in \ 
     292            *=* | --[!k]*);; \ 
     293            *k*) failcom='fail=yes';; \ 
     294          esac; \ 
     295        done; \ 
    307296        dot_seen=no; \ 
    308297        target=`echo $@ | sed s/-recursive//`; \ 
     
    316305          fi; \ 
    317306          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 
    318           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 
     307          || eval $$failcom; \ 
    319308        done; \ 
    320309        if test "$$dot_seen" = "no"; then \ 
     
    324313mostlyclean-recursive clean-recursive distclean-recursive \ 
    325314maintainer-clean-recursive: 
    326         @set fnord $$MAKEFLAGS; amf=$$2; \ 
     315        @failcom='exit 1'; \ 
     316        for f in x $$MAKEFLAGS; do \ 
     317          case $$f in \ 
     318            *=* | --[!k]*);; \ 
     319            *k*) failcom='fail=yes';; \ 
     320          esac; \ 
     321        done; \ 
    327322        dot_seen=no; \ 
    328323        case "$@" in \ 
     
    345340          fi; \ 
    346341          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 
    347           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 
     342          || eval $$failcom; \ 
    348343        done && test -z "$$fail" 
    349344tags-recursive: 
     
    564559installdirs: installdirs-recursive 
    565560installdirs-am: 
    566         for dir in "$(DESTDIR)$(docdir)" "$(DESTDIR)$(sysconfdir)"; do \ 
     561        for dir in "$(DESTDIR)$(docdir)"; do \ 
    567562          test -z "$$dir" || $(mkdir_p) "$$dir"; \ 
    568563        done 
     
    613608install-data-am: install-data-local install-docDATA 
    614609 
    615 install-exec-am: install-sysconfDATA 
     610install-exec-am: 
    616611 
    617612install-info: install-info-recursive 
     
    639634ps-am: 
    640635 
    641 uninstall-am: uninstall-docDATA uninstall-info-am \ 
    642         uninstall-sysconfDATA 
     636uninstall-am: uninstall-docDATA uninstall-info-am 
    643637 
    644638uninstall-info: uninstall-info-recursive 
     
    654648        install-data-local install-docDATA install-exec \ 
    655649        install-exec-am install-info install-info-am install-man \ 
    656         install-strip install-sysconfDATA installcheck installcheck-am \ 
    657         installdirs installdirs-am maintainer-clean \ 
    658         maintainer-clean-generic maintainer-clean-recursive \ 
    659         mostlyclean mostlyclean-generic mostlyclean-libtool \ 
    660         mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ 
    661         uninstall uninstall-am uninstall-docDATA uninstall-info-am \ 
    662         uninstall-sysconfDATA 
     650        install-strip installcheck installcheck-am installdirs \ 
     651        installdirs-am maintainer-clean maintainer-clean-generic \ 
     652        maintainer-clean-recursive mostlyclean mostlyclean-generic \ 
     653        mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ 
     654        tags tags-recursive uninstall uninstall-am uninstall-docDATA \ 
     655        uninstall-info-am 
    663656 
    664657 
     
    671664#endifdef 
    672665 
    673 # $(INSTALL_DATA) $(srcdir)/conf/nepenthes.conf.dist $(DESTDIR)$(sysconfdir)/nepenthes.conf.dist 
     666# $(INSTALL_DATA) $(srcdir)/conf/nepenthes.conf.dist $(DESTDIR)$(sysconfdir)/nepenthes/nepenthes.conf.dist 
    674667 
    675668install-data-local: 
    676669        $(mkinstalldirs) $(DESTDIR)$(sysconfdir) 
    677         if [ ! -e $(DESTDIR)$(sysconfdir)/nepenthes.conf ]; then \ 
    678                 $(INSTALL_DATA) $(srcdir)/conf/nepenthes.conf.dist $(DESTDIR)$(sysconfdir)/nepenthes.conf; \ 
     670        $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/nepenthes 
     671        $(INSTALL_DATA) $(srcdir)/conf/nepenthes.conf.dist $(DESTDIR)$(sysconfdir)/nepenthes/nepenthes.conf.dist; \ 
     672        if [ ! -e $(DESTDIR)$(sysconfdir)/nepenthes/nepenthes.conf ]; then \ 
     673                $(INSTALL_DATA) $(srcdir)/conf/nepenthes.conf.dist $(DESTDIR)$(sysconfdir)/nepenthes/nepenthes.conf; \ 
    679674        fi       
    680675        for src in `find modules -name '*.conf.dist'`; do \ 
    681                 $(INSTALL_DATA) "$$src" $(DESTDIR)$(sysconfdir) ; \ 
     676                $(INSTALL_DATA) "$$src" $(DESTDIR)$(sysconfdir)/nepenthes ; \ 
    682677        done 
    683678        for src in `find modules -name '*.conf.dist'`; do \ 
    684                 dst="$(DESTDIR)$(sysconfdir)/`basename "$$src" | perl -npe 's/\.dist$$//'`" ; \ 
     679                dst="$(DESTDIR)$(sysconfdir)/nepenthes/`basename "$$src" | perl -npe 's/\.dist$$//'`" ; \ 
    685680                if [ ! -e "$$dst" ] ; then \ 
    686681                        $(INSTALL_DATA) "$$src" "$$dst" ; \ 
  • nepenthes/trunk/aclocal.m4

    r321 r330  
    1 # generated automatically by aclocal 1.9.4 -*- Autoconf -*- 
    2  
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 
    4 # Free Software Foundation, Inc. 
     1# generated automatically by aclocal 1.9.6 -*- Autoconf -*- 
     2 
     3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 
     4# 2005  Free Software Foundation, Inc. 
    55# This file is free software; the Free Software Foundation 
    66# gives unlimited permission to copy and/or distribute it, 
     
    1515 
    1616# serial 47 AC_PROG_LIBTOOL 
     17# Debian $Rev$ 
    1718 
    1819 
     
    192193fi 
    193194 
    194 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` 
    195  
    196195# Only perform the check for file, if the check method requires it 
    197196case $deplibs_check_method in 
     
    219218test -z "$pic_mode" && pic_mode=default 
    220219 
    221 # Check if we have a version mismatch between libtool.m4 and ltmain.sh. 
    222 # 
    223 # Note:  This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined. 
    224 #        We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually 
    225 #        calls AC_LIBTOOL_CONFIG and creates libtool. 
    226 # 
    227 _LT_VERSION_CHECK 
    228  
    229220# Use C for the default configuration in the libtool script 
    230221tagname= 
     
    232223_LT_AC_TAGCONFIG 
    233224])# AC_LIBTOOL_SETUP 
    234  
    235  
    236 # _LT_VERSION_CHECK 
    237 # ----------------- 
    238 AC_DEFUN([_LT_VERSION_CHECK], 
    239 [AC_MSG_CHECKING([for correct ltmain.sh version]) 
    240 if test -z "$ltmain"; then 
    241   AC_MSG_RESULT(no) 
    242   echo 
    243   echo "*** [Gentoo] sanity check failed! ***" 
    244   echo "*** \$ltmain is not defined, please check the patch for consistency! ***" 
    245   echo 
    246   exit 1 
    247 fi 
    248 gentoo_lt_version="1.5.10" 
    249 gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'` 
    250 if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then 
    251   AC_MSG_RESULT(no) 
    252   echo 
    253   echo "*** [Gentoo] sanity check failed! ***" 
    254   echo "*** libtool.m4 and ltmain.sh have a version mismatch! ***" 
    255   echo "*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***" 
    256   echo 
    257   echo "Please run:" 
    258   echo 
    259   echo "  libtoolize --copy --force" 
    260   echo 
    261   echo "if appropriate, please contact the maintainer of this" 
    262   echo "package (or your distribution) for help." 
    263   echo 
    264   exit 1 
    265 else 
    266   AC_MSG_RESULT(yes) 
    267 fi 
    268 ])# _LT_VERSION_CHECK 
    269225 
    270226 
     
    354310# The HP-UX ksh and POSIX shell print the target directory to stdout 
    355311# if CDPATH is set. 
    356 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     312if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 
    357313 
    358314if test -z "$ECHO"; then 
     
    569525  ;; 
    570526 
    571 *-*-linux*) 
    572   # Test if the compiler is 64bit 
    573   echo 'int i;' > conftest.$ac_ext 
    574   lt_cv_cc_64bit_output=no 
    575   if AC_TRY_EVAL(ac_compile); then 
    576     case `/usr/bin/file conftest.$ac_objext` in 
    577     *"ELF 64"*) 
    578       lt_cv_cc_64bit_output=yes 
    579       ;; 
    580     esac 
    581   fi 
    582   rm -rf conftest* 
    583   ;; 
    584    
    585527*-*-sco3.2v5*) 
    586528  # On SCO OpenServer 5, we need -belf to get full-featured binaries. 
     
    727669    ;; 
    728670 
    729   netbsd* | freebsd* | openbsd* | darwin* ) 
    730     # This has been around since 386BSD, at least.  Likely further. 
    731     if test -x /sbin/sysctl; then 
    732       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 
    733     elif test -x /usr/sbin/sysctl; then 
    734       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 
    735     else 
    736       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD 
    737     fi 
    738     # And add a safety zone 
    739     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 
    740     ;; 
    741  
    742671 *) 
    743672    # If test is not a shell built-in, we'll probably end up computing a 
    744673    # maximum length that is only half of the actual maximum length, but 
    745674    # we can't tell. 
    746     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 
    747     while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
     675    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
    748676               = "XX$teststring") >/dev/null 2>&1 && 
    749677            new_result=`expr "X$teststring" : ".*" 2>&1` && 
     
    10791007_LT_AC_TAGVAR(hardcode_action, $1)= 
    10801008if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ 
    1081    test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ 
    1082    test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then 
     1009   test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ 
     1010   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then 
    10831011 
    10841012  # We can hardcode non-existant directories. 
     
    12471175  ;; 
    12481176 
    1249 bsdi[[45]]*) 
     1177bsdi4*) 
    12501178  version_type=linux 
    12511179  need_version=no 
     
    13081236      ;; 
    13091237    esac 
    1310     ;; 
    1311  
    1312   linux*) 
    1313     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 
    1314       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    1315       supports_anon_versioning=no 
    1316       case `$LD -v 2>/dev/null` in 
    1317         *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 
    1318         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 
    1319         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 
    1320         *\ 2.11.*) ;; # other 2.11 versions 
    1321         *) supports_anon_versioning=yes ;; 
    1322       esac 
    1323       if test $supports_anon_versioning = yes; then 
    1324         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 
    1325 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 
    1326 $echo "local: *; };" >> $output_objdir/$libname.ver~ 
    1327         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 
    1328       else 
    1329         $archive_expsym_cmds="$archive_cmds" 
    1330       fi 
    1331     else 
    1332       ld_shlibs=no 
    1333     fi 
    13341238    ;; 
    13351239 
     
    15361440  fi 
    15371441 
    1538   case $host_cpu:$lt_cv_cc_64bit_output in 
    1539   powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) 
    1540     sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64" 
    1541     sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64" 
    1542     ;; 
    1543   esac 
    1544  
    15451442  # We used to test for /lib/ld.so.1 and disable shared libraries on 
    15461443  # powerpc, because MkLinux only supported shared libraries with the 
     
    15501447  # assume the GNU/Linux dynamic linker is in use. 
    15511448  dynamic_linker='GNU/Linux ld.so' 
    1552  
    1553   # Find out which ABI we are using (multilib Linux x86_64 hack). 
    1554   libsuff= 
    1555   case "$host_cpu" in 
    1556   x86_64*) 
    1557     echo '[#]line __oline__ "configure"' > conftest.$ac_ext 
    1558     if AC_TRY_EVAL(ac_compile); then 
    1559       case `/usr/bin/file conftest.$ac_objext` in 
    1560       *64-bit*) 
    1561         libsuff=64 
    1562         ;; 
    1563       esac 
    1564     fi 
    1565     rm -rf conftest* 
    1566     ;; 
    1567   *) 
    1568     ;; 
    1569   esac 
    1570   sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 
    1571   sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 
     1449  ;; 
     1450 
     1451netbsdelf*-gnu) 
     1452  version_type=linux 
     1453  need_lib_prefix=no 
     1454  need_version=no 
     1455  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
     1456  soname_spec='${libname}${release}${shared_ext}$major' 
     1457  shlibpath_var=LD_LIBRARY_PATH 
     1458  shlibpath_overrides_runpath=no 
     1459  hardcode_into_libs=yes 
     1460  dynamic_linker='NetBSD ld.elf_so' 
    15721461  ;; 
    15731462 
     
    16221511  version_type=sunos 
    16231512  need_lib_prefix=no 
    1624   need_version=no 
     1513  need_version=yes 
    16251514  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
    16261515  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
     
    17881677      case $tagname in 
    17891678      CXX) 
    1790         if test -n "$CXX" && ( test "X$CXX" != "Xno" && 
    1791             ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||  
    1792             (test "X$CXX" != "Xg++"))) ; then 
     1679        if test -n "$CXX" && test "X$CXX" != "Xno"; then 
    17931680          AC_LIBTOOL_LANG_CXX_CONFIG 
    17941681        else 
     
    21952082esac 
    21962083reload_cmds='$LD$reload_flag -o $output$reload_objs' 
    2197 case $host_os in 
    2198   darwin*) 
    2199     if test "$GCC" = yes; then 
    2200       reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' 
    2201     else 
    2202       reload_cmds='$LD$reload_flag -o $output$reload_objs' 
    2203     fi 
    2204     ;; 
    2205 esac 
    22062084])# AC_PROG_LD_RELOAD_FLAG 
    22072085 
     
    22372115  ;; 
    22382116 
    2239 bsdi[[45]]*) 
     2117bsdi4*) 
    22402118  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' 
    22412119  lt_cv_file_magic_cmd='/usr/bin/file -L' 
     
    23132191  ;; 
    23142192 
    2315 netbsd*
     2193netbsd* | netbsdelf*-gnu | knetbsd*-gnu
    23162194  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 
    23172195    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 
     
    23322210 
    23332211openbsd*) 
     2212  lt_cv_file_magic_cmd=/usr/bin/file 
     2213  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 
    23342214  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    2335     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$
     2215    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object
    23362216  else 
    2337     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$
     2217    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library
    23382218  fi 
    23392219  ;; 
     
    25252405AC_DEFUN([_LT_AC_LANG_CXX], 
    25262406[AC_REQUIRE([AC_PROG_CXX]) 
    2527 AC_REQUIRE([_LT_AC_PROG_CXXCPP]) 
     2407AC_REQUIRE([AC_PROG_CXXCPP]) 
    25282408_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) 
    25292409])# _LT_AC_LANG_CXX 
    25302410 
    2531 # _LT_AC_PROG_CXXCPP 
    2532 # --------------- 
    2533 AC_DEFUN([_LT_AC_PROG_CXXCPP], 
    2534 [ 
    2535 AC_REQUIRE([AC_PROG_CXX]) 
    2536 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 
    2537     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||  
    2538     (test "X$CXX" != "Xg++"))) ; then 
    2539   AC_PROG_CXXCPP 
    2540 fi 
    2541 ])# _LT_AC_PROG_CXXCPP 
    25422411 
    25432412# AC_LIBTOOL_F77 
     
    26752544    test "$enable_shared" = yes && enable_static=no 
    26762545  fi