|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="misp" version="2013-11-28">
|
|
|
4 <install version="1.0">
|
|
|
5 <actions>
|
|
|
6 <action type="shell_command">hg clone https://bitbucket.org/hanfeisun/misp misp</action>
|
|
|
7 <action type="shell_command">hg update -d 2013-11-28</action>
|
|
|
8 <action type="shell_command">make</action>
|
|
|
9 <action type="shell_command">chmod 755 scripts/*</action>
|
|
|
10 <action type="make_directory">$INSTALL_DIR/bin</action>
|
|
|
11 <action type="make_directory">$INSTALL_DIR/database</action>
|
|
|
12 <action type="move_file">
|
|
|
13 <source>misp</source>
|
|
|
14 <destination>$INSTALL_DIR/bin</destination>
|
|
|
15 </action>
|
|
|
16 <action type="move_directory_files">
|
|
|
17 <source_directory>scripts</source_directory>
|
|
|
18 <destination_directory>$INSTALL_DIR/bin</destination_directory>
|
|
|
19 </action>
|
|
|
20 <action type="move_directory_files">
|
|
|
21 <source_directory>database</source_directory>
|
|
|
22 <destination_directory>$INSTALL_DIR/database</destination_directory>
|
|
|
23 </action>
|
|
|
24 <action type="set_environment">
|
|
|
25 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
|
26 <environment_variable name="MISP_DATABASE_PATH" action="set_to">$INSTALL_DIR/database</environment_variable>
|
|
|
27 </action>
|
|
|
28 </actions>
|
|
|
29 </install>
|
|
|
30 <readme>
|
|
|
31 misp: a fast Motif Scanner
|
|
|
32 https://bitbucket.org/hanfeisun/misp
|
|
|
33 </readme>
|
|
|
34 </package>
|
|
|
35 </tool_dependency>
|
|
|
36
|