Changeset 5545

Show
Ignore:
Timestamp:
06/29/08 16:37:10 (3 months ago)
Author:
hdm
Message:

Patches to README and extconf.rb from Civ <civ[at]8thdaytech.com>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • framework3/trunk/external/ruby-lorcon/README

    r4179 r5545  
    66http://www.802.11mercenary.net/lorcon/ 
    77 
     8To build this extension: 
     9 
     101) Download, compile, and install lorcon 
    811The latest version of lorcon can pulled from SVN: 
    9 $ svn co https://www.nycccp.net/svn/tx-80211 
     12$ svn co https://802.11ninja.net/svn/lorcon/trunk/ lorcon 
     13$ cd lorcon 
     14$ ./configure 
     15$ make 
     16  $ sudo make install 
     17   -- or -- 
     18  $ su  
     19  # make install 
     20  # exit 
     21$ cd .. 
    1022 
    11 To build this extension: 
     232) build the ruby extension..  
    1224$ ruby extconf.rb 
    1325$ make 
     26$ sudo make install  
     27   -- or -- 
    1428$ su 
    1529# make install 
     30 
     31 
     32NOTES:  
     33 
     34if Ubuntu 8.04 (and probably others) bitches about 'mkmf',  
     35you need ruby dev package. 
     36 
     37:~/metasploit/external/ruby-lorcon$ ruby extconf.rb  
     38extconf.rb:2:in `require': no such file to load -- mkmf (LoadError) 
     39       from extconf.rb:2 
     40 
     41:~/metasploit/external/ruby-lorcon$ sudo apt-get install ruby1.8-dev 
  • framework3/trunk/external/ruby-lorcon/extconf.rb

    r4586 r5545  
    22require 'mkmf' 
    33 
    4 if have_library("orcon", "tx80211_txpacket", "tx80211.h"
     4if (have_library("orcon", "tx80211_txpacket", "tx80211.h") or find_library("orcon", "tx80211_txpacket", "tx80211.h")
    55        create_makefile("Lorcon") 
    66else