<?xml version="1.0"?>
<!-- Info regarding third-party open source software included in Nmap. -->
<!-- TODO:
     * Software and versions used in Zenmap on OS X
     * Software and versions used in nmap-update
     -->
<!DOCTYPE licenses [
<!ENTITY nmap_version "7.25SVN">

<!-- Software source versions -->
<!ENTITY nmap_libpcap_version "1.7.3">
<!ENTITY nmap_libdnet_version "1.12">
<!ENTITY nmap_pcre_version "7.6">
<!ENTITY nmap_liblinear_version "1.7"><!-- https://github.com/cjlin1/liblinear/commit/61a6d1b38ef5c77d1d7a18c177c203708d77b0f5 -->
<!ENTITY nmap_lua_version "5.3.3">

<!-- Software static linked versions -->
<!ENTITY npcap_version "0.08r9">
<!ENTITY openssl_version "1.0.2h">
<!ENTITY python_version "2.7.11">

<!-- Lua library versions -->
<!ENTITY slaxml_version "0.7">
<!ENTITY lfs_version "1.2">
<!ENTITY lpeg_version "0.12">

<!-- miscellaneous versions -->
<!ENTITY ike_fp_version "1.9.3">

<!-- License files -->
<!ENTITY nmap_license SYSTEM "../COPYING">
<!ENTITY license_npcap SYSTEM "https://raw.githubusercontent.com/nmap/npcap/master/LICENSE">
<!ENTITY license_bsd_modified SYSTEM "licenses/BSD-modified">
<!ENTITY license_bsd_simplified SYSTEM "licenses/BSD-simplified">
<!ENTITY license_lgpl_2 SYSTEM "licenses/LGPL-2">
<!ENTITY license_lgpl_21 SYSTEM "licenses/LGPL-2.1">
<!ENTITY license_mit SYSTEM "licenses/MIT">
<!ENTITY license_mpl_11 SYSTEM "licenses/MPL-1.1">
<!ENTITY license_openssl SYSTEM "licenses/OpenSSL">
<!ENTITY license_python SYSTEM "https://docs.python.org/2.7/license.html">
<!ENTITY license_apache2 SYSTEM "https://www.apache.org/licenses/LICENSE-2.0">
]>

<licenses>
  <submodules>
    <package>
      <name>Nmap</name>
      <version>&nmap_version;</version>
      <url>https://nmap.org/</url>
      <license>&nmap_license;</license>
      <file name="nmap-&nmap_version;.tar.bz2">
        <alt name="nmap-&nmap_version;.tgz" />
        <alt name="nmap-&nmap_version;-1.src.rpm" />
        libpcap="&nmap_libcap_version;" libdnet="&nmap_libdnet_version;"
        pcre="&nmap_pcre_version;" liblinear="&nmap_liblinear_version;"
        lua="&nmap_lua_version;" slaxml="&slaxml_version;" lfs="&lfs_version;"
        ike-scan-fp="&ike_fp_version;"
      </file>
      <file name="nmap-&nmap_version;-setup.exe">
        libdnet="&nmap_libdnet_version;" pcre="&nmap_pcre_version;"
        liblinear="&nmap_liblinear_version;" lua="&nmap_lua_version;"
        slaxml="&slaxml_version;" lfs="&lfs_version;"
        ike-scan-fp="&ike_fp_version;" npcap="&npcap_version;"
        openssl="&openssl_version;"
      </file>
      <file name="nmap-&nmap_version;-win32.zip">
        libdnet="&nmap_libdnet_version;" pcre="&nmap_pcre_version;"
        liblinear="&nmap_liblinear_version;" lua="&nmap_lua_version;"
        slaxml="&slaxml_version;" lfs="&lfs_version;"
        ike-scan-fp="&ike_fp_version;" npcap="&npcap_version;"
        openssl="&openssl_version;"
      </file>
      <file name="nmap-&nmap_version;-1.x86_64.rpm">
        <alt name="nmap-&nmap_version;-1.i686.rpm" />
        libpcap="&nmap_libpcap_version;" libdnet="&nmap_libdnet_version;"
        pcre="&nmap_pcre_version;" liblinear="&nmap_liblinear_version;"
        lua="&nmap_lua_version;" openssl="&openssl_version;"
        slaxml="&slaxml_version;" lfs="&lfs_version;"
        ike-scan-fp="&ike_fp_version;"
      </file>
      <file name="nmap-&nmap_version;.dmg">
        libpcap="&nmap_libpcap_version;" libdnet="&nmap_libdnet_version;"
        pcre="&nmap_pcre_version;" liblinear="&nmap_liblinear_version;"
        lua="&nmap_lua_version;" openssl="&openssl_version;"
        slaxml="&slaxml_version;" lfs="&lfs_version;"
        ike-scan-fp="&ike_fp_version;"
      </file>
    </package>
    <package>
      <name>Some NSE scripts and libraries</name>
      <version>&nmap_version;</version>
      <url>https://nmap.org/nsedoc/</url>
      <license>&license_bsd_simplified;</license>
    </package>
    <package>
      <name>Ncat</name>
      <version>&nmap_version;</version>
      <url>https://nmap.org/ncat</url>
      <license>&nmap_license;</license>
      <file name="nmap-&nmap_version;.tar.bz2">
        <alt name="nmap-&nmap_version;.tgz" />
        <alt name="nmap-&nmap_version;-1.src.rpm" />
        libdnet="&nmap_libdnet_version;" lua="&nmap_lua_version;"
      </file>
      <file name="nmap-&nmap_version;-setup.exe">
        libdnet="&nmap_libdnet_version;" lua="&nmap_lua_version;"
        openssl="&openssl_version;"
      </file>
      <file name="nmap-&nmap_version;-win32.zip">
        libdnet="&nmap_libdnet_version;" lua="&nmap_lua_version;"
        openssl="&openssl_version;"
      </file>
      <file name="ncat-&nmap_version;-1.x86_64.rpm">
        <alt name="ncat-&nmap_version;-1.i686.rpm" />
        libdnet="&nmap_libdnet_version;" lua="&nmap_lua_version;"
        openssl="&openssl_version;"
      </file>
      <file name="nmap-&nmap_version;.dmg">
        libdnet="&nmap_libdnet_version;" lua="&nmap_lua_version;"
        openssl="&openssl_version;"
      </file>
    </package>
    <package>
      <name>Nping</name>
      <version>0.&nmap_version;</version>
      <url>https://nmap.org/nping</url>
      <license>&nmap_license;</license>
      <file name="nmap-&nmap_version;.tar.bz2">
        <alt name="nmap-&nmap_version;.tgz" />
        <alt name="nmap-&nmap_version;-1.src.rpm" />
        libpcap="&nmap_libpcap_version;" libdnet="&nmap_libdnet_version;"
      </file>
      <file name="nmap-&nmap_version;-setup.exe">
        libdnet="&nmap_libdnet_version;" npcap="&npcap_version;"
        openssl="&openssl_version;"
      </file>
      <file name="nmap-&nmap_version;-win32.zip">
        libdnet="&nmap_libdnet_version;" npcap="&npcap_version;"
        openssl="&openssl_version;"
      </file>
      <file name="nping-0.&nmap_version;-1.x86_64.rpm">
        <alt name="nping-0.&nmap_version;-1.i686.rpm" />
        libpcap="&nmap_libpcap_version;" libdnet="&nmap_libdnet_version;"
        openssl="&openssl_version;"
      </file>
      <file name="nmap-&nmap_version;.dmg">
        libpcap="&nmap_libpcap_version;" libdnet="&nmap_libdnet_version;"
        openssl="&openssl_version;"
      </file>
    </package>
    <package>
      <name>Zenmap</name>
      <version>&nmap_version;</version>
      <url>https://nmap.org/zenmap</url>
      <license>&nmap_license;</license>
      <file name="nmap-&nmap_version;.tar.bz2">
        <alt name="nmap-&nmap_version;.tgz" />
        <alt name="nmap-&nmap_version;-1.src.rpm" />
      </file>
      <file name="nmap-&nmap_version;-setup.exe">
        python="&python_version;"
      </file>
      <file name="zenmap-&nmap_version;-1.noarch.rpm">
      </file>
      <file name="nmap-&nmap_version;.dmg">
        python="&python_version;"
        libgtkmacintegration-gtk2.2 gdk-pixbuf-2.0 libintl.8 gtk-2.0 libjpeg.9
        libatk-1.0.0 liblzma.5 libcairo.2 libpango-1.0.0 libexslt.0
        libpangocairo-1.0.0 libffi.6 libpixman-1.0 libgailutil.18 libpng16.16
        libgdk-quartz-2.0.0 libpyglib-2.0-python.0 libgdk_pixbuf-2.0.0
        libgio-2.0.0 libreadline.6 libglib-2.0.0 libtiff.5 libgmodule-2.0.0
        libxml2.2 libgobject-2.0.0 libxslt.1 libgthread-2.0.0
      </file>
    </package>
    <package>
      <name>Ndiff</name>
      <version>&nmap_version;</version>
      <url>https://nmap.org/ndiff</url>
      <license>&nmap_license;</license>
      <file name="nmap-&nmap_version;.tar.bz2">
        <alt name="nmap-&nmap_version;.tgz" />
        <alt name="nmap-&nmap_version;-1.src.rpm" />
      </file>
      <file name="nmap-&nmap_version;-setup.exe">
        python="&python_version;"
      </file>
      <file name="nmap-&nmap_version;-1.x86_64.rpm">
        <alt name="nmap-&nmap_version;-1.i686.rpm" />
      </file>
      <file name="nmap-&nmap_version;.dmg">
        python="&python_version;"
      </file>
    </package>
    <package>
      <name>nmap-update</name>
      <version>&nmap_version;</version>
      <url>https://nmap.org/</url>
      <license>&nmap_license;</license>
      <file name="nmap-&nmap_version;.tar.bz2">
        <alt name="nmap-&nmap_version;.tgz" />
        <alt name="nmap-&nmap_version;-1.src.rpm" />
      </file>
      <file name="nmap-&nmap_version;-setup.exe">
        openssl="&openssl_version;" subversion apr aprutil sqlite zlib serf
      </file>
      <file name="nmap-&nmap_version;-win32.zip">
        openssl="&openssl_version;" subversion apr aprutil sqlite zlib serf
      </file>
      <file name="nmap-update-&nmap_version;-1.x86_64.rpm">
        <alt name="nmap-update-&nmap_version;-1.i686.rpm" />
        openssl="&openssl_version;" subversion apr aprutil sqlite zlib serf
      </file>
      <file name="nmap-&nmap_version;.dmg">
        openssl="&openssl_version;" subversion apr aprutil sqlite zlib serf
      </file>
    </package>
  </submodules>
  <thirdparty>
    <package id="slaxml">
      <name>SLAXML</name>
      <url>https://github.com/Phrogz/SLAXML</url>
      <copyright>Gavin Kistner</copyright>
      <license>&license_mit;</license>
    </package>
    <package id="lfs">
      <name>LuaFileSystem</name>
      <url>https://keplerproject.github.io/luafilesystem/</url>
      <copyright>Kepler Project</copyright>
      <license>&license_mit;</license>
    </package>
    <package id="lpeg">
      <name>LPeg Parsing Expression Grammars for Lua</name>
      <url>http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html</url>
      <copyright>Lua.org, PUC-Rio</copyright>
      <license>&license_mit;</license>
    </package>
    <package id="base3264_lua">
      <name>base32 and base64 Lua libraries</name>
      <url>https://nmap.org/nsedoc/lib/base32.html</url>
      <url>https://nmap.org/nsedoc/lib/base64.html</url>
      <copyright>Patrick Joseph Donnelly</copyright>
      <license>&license_mit;</license>
    </package>
    <package id="lua">
      <name>Lua</name>
      <url>https://www.lua.org/</url>
      <copyright>Lua.org, PUC-Rio</copyright>
      <license>&license_mit;</license>
    </package>
    <package id="libpcap">
      <name>libpcap</name>
      <url>http://www.tcpdump.org/</url>
      <copyright>The Tcpdump Group</copyright>
      <license>&license_bsd_modified;</license>
    </package>
    <package id="libdnet">
      <name>libdnet</name>
      <url>http://libdnet.sourceforge.net/</url>
      <copyright>Dug Song</copyright>
      <license>&license_bsd_modified;</license>
    </package>
    <package id="pcre">
      <name>Perl Compatible Regular Expressions</name>
      <url>http://www.pcre.org/</url>
      <copyright>University of Cambridge</copyright>
      <license>&license_bsd_modified;</license>
    </package>
    <package id="liblinear">
      <name>LIBLINEAR</name>
      <url>https://www.csie.ntu.edu.tw/~cjlin/liblinear/</url>
      <copyright>The LIBLINEAR Project</copyright>
      <license>&license_bsd_modified;</license>
    </package>
    <package id="openssl">
      <name>OpenSSL</name>
      <url>https://www.openssl.org/</url>
      <copyright>The OpenSSL Project</copyright>
      <license>&license_openssl;</license>
    </package>
    <package id="python">
      <name>Python</name>
      <url>https://www.python.org/</url>
      <copyright>Python Software Foundation</copyright>
      <license>&license_python;</license>
    </package>
    <package id="npcap">
      <name>Npcap</name>
      <url>http://npcap.org/</url>
      <copyright>Insecure.Com LLC ("The Nmap Project")</copyright>
      <license>&license_npcap;</license>
    </package>
    <package id="ike-scan-fp">
      <name>ike-scan fingerprints</name>
      <url>http://www.nta-monitor.com/wiki/index.php/Ike-scan_Documentation</url>
      <copyright>Roy Hills</copyright>
      <license>&license_bsd_simplified;</license>
    </package>
    <package id="subversion">
      <name>Apache Subversion</name>
      <url>https://subversion.apache.org/</url>
      <copyright>Apache Software Foundation</copyright>
      <license>&license_apache2;</license>
    </package>
    <package id="apr">
      <name>Apache Portable Runtime</name>
      <url>https://apr.apache.org/</url>
      <copyright>Apache Software Foundation</copyright>
      <license>&license_apache2;</license>
    </package>
    <package id="aprutil">
      <name>Apache Portable Runtime Utility</name>
      <url>https://apr.apache.org/</url>
      <copyright>Apache Software Foundation</copyright>
      <license>&license_apache2;</license>
    </package>
    <package id="sqlite">
      <name>SQLite</name>
      <url>https://sqlite.org/</url>
      <license>public domain</license>
    </package>
    <package id="zlib">
    </package>
    <package id="serf">
    </package>
  </thirdparty>
</licenses>
