Nmap Development mailing list archives

On Demand Nmap Build Testing


From: jrf <jay.fink () gmail com>
Date: Tue, 1 Jun 2010 09:50:52 -0400

All,                                                                             
                                                                                 
I thought I would share this with everyone in case anyone else was               
interested in doing something similar. Last week I setup some very               
simple scripts to do the following with virtual machines:                        
                                                                                 
start a screen session and logit                                                 
power on a vm                                                                    
ssh to a vm and execute a script which then does:                                
 svn up of nmap                                                                  
 rm -rf previous build (ran into problems running clean)                         
 cp -R nmap nmap-build                                                           
 cd nmap-build                                                                   
 configure && make                                                               
power off vm                                                                     
mv the screenlog                                                                 
                                                                                 
Then I repeat the process for the next vm. Right now I am only doing             
two, NetBSD-current (as of 2 weeks ago) and FreeBSD-current. I do                
periodic updates and builds manually on my physical debian and mac               
systems anyhow.                                                                  
                                                                                 
At this point I am just about ready to automate building on NetBSD,              
FreeBSD and Linux (the mac not so much as I use it for work :)                   
                                                                                 
Anyhow, just something I thought everyone might be interested in. So             
far the only *problem* I have come across is the subshell on NetBSD is           
kind of a pain so I switched the build user to bash from pkgsrc.                 
                                                                                 
Regards,                                                                         
  j      
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: