7027466 Move nmap to Userland
authorSrinivasa Sarva <srinivasa.sarva@oracle.com>
Wed, 23 Mar 2011 12:42:35 -0700
changeset 146 8e22ba234817
parent 145 1e2390f5555e
child 147 5af6875cbf70
7027466 Move nmap to Userland
components/meta-packages/history/SUNWnmap.p5m
components/nmap/Makefile
components/nmap/nmap.license
components/nmap/nmap.p5m
components/nmap/nmapfe.desktop
components/nmap/nmapfe.png
components/nmap/oracleman-stability
components/nmap/patches/1.configure.patch
components/nmap/patches/2.Makefile.patch
components/nmap/patches/3.Makefile.patch
components/nmap/patches/4.Makefile.patch
components/nmap/patches/5.configure.patch
components/nmap/patches/6.configure.patch
components/nmap/patches/7.configure.patch
components/nmap/patches/8.configure.patch
components/nmap/patches/9.Makefile.patch
components/nmap/patches/91.tcpip.cc.patch
components/nmap/patches/92.intf.c.patch
components/nmap/patches/93.setup.py.patch
make-rules/setup.py.mk
make-rules/shared-macros.mk
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/meta-packages/history/SUNWnmap.p5m	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+
+#
+# Legacy package information for renamed SUNWnmap package
+#
+
+set name=pkg.fmri value=pkg:/[email protected],5.11-0.133
+set name=pkg.renamed value=true
+
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+depend fmri=diagnostic/[email protected] type=require
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/Makefile	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,88 @@
+
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		nmap
+COMPONENT_VERSION=	5.21
+COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tgz
+COMPONENT_ARCHIVE_HASH=	sha1:ce212ce765f842b16059456cf0c9d9cfbbce25d6
+COMPONENT_ARCHIVE_URL=	 http://nmap.org/dist/$(COMPONENT_ARCHIVE)
+
+include ../../make-rules/prep.mk
+include ../../make-rules/configure.mk
+include ../../make-rules/ips.mk
+
+COMPILER =	gcc
+
+COMPONENT_PRE_CONFIGURE_ACTION = \
+        ($(CLONEY) $(SOURCE_DIR) $(@D))
+
+CONFIGURE_OPTIONS  +=   CFLAGS="$(CFLAGS)"
+CONFIGURE_OPTIONS  +=   CXX="$(CCC)"
+CONFIGURE_OPTIONS  +=   CXXFLAGS="$(CCFLAGS)"
+CONFIGURE_OPTIONS  +=   CPPFLAGS="$(CPPFLAGS)"
+CONFIGURE_OPTIONS  +=   LIBS="-lsocket -lnsl"
+CONFIGURE_OPTIONS  +=   PYTHON="$(PYTHON.32)"
+CONFIGURE_OPTIONS  +=   --disable-shared 
+CONFIGURE_OPTIONS  +=   --enable-static 
+CONFIGURE_OPTIONS  +=   --disable-libtool-lock 
+CONFIGURE_OPTIONS  +=   --localstatedir=/var 
+CONFIGURE_OPTIONS  +=   --without-localdirs 
+CONFIGURE_OPTIONS  +=   --with-zenmap 
+CONFIGURE_OPTIONS  +=   --with-openssl
+CONFIGURE_OPTIONS  +=   --with-libpcap
+CONFIGURE_OPTIONS  +=   --with-libpcre
+CONFIGURE_OPTIONS  +=   --with-liblua 
+CONFIGURE_OPTIONS  +=   --with-ncat 
+CONFIGURE_OPTIONS  +=   --with-ndiff
+CONFIGURE_OPTIONS  +=   am_cv_python_pythondir=$(PYTHON_LIB)
+
+PKG_PROTO_DIRS +=    $(SOURCE_DIR)
+PKG_PROTO_DIRS +=    $(COMPONENT_DIR)
+
+include ../../make-rules/shared-targets.mk
+
+# common targets
+build:		$(BUILD_32)
+		
+install:	$(INSTALL_32) 
+		sed -f oracleman-stability $(COMPONENT_SRC)/docs/nmap.1 \
+			> $(PROTOUSRSHAREMAN1DIR)/nmap.1
+		sed -f oracleman-stability $(COMPONENT_SRC)/docs/zenmap.1 \
+			> $(PROTOUSRSHAREMAN1DIR)/zenmap.1
+		sed -f oracleman-stability $(COMPONENT_SRC)/ncat/docs/ncat.1 \
+			> $(PROTOUSRSHAREMAN1DIR)/ncat.1
+		sed -f oracleman-stability $(COMPONENT_SRC)/ndiff/docs/ndiff.1 \
+			> $(PROTOUSRSHAREMAN1DIR)/ndiff.1
+
+test:
+		@echo "no tests available"
+	
+
+BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
+include ../../make-rules/depend.mk
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/nmap.license	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,454 @@
+Oracle elects to use only the GNU Lesser General Public License version
+2.1 (LGPL)/GNU General Public License version 2 (GPL) for any software
+where a choice of LGPL/GPL license versions are made available with the
+language indicating that LGPLv2.1/GPLv2 or any later version may be
+used, or where a choice of which version of the LGPL/GPL is applied is
+unspecified.  Unless specifically stated otherwise, where a choice
+exists between another license and either the GPL or the LGPL, Oracle
+chooses the other license.
+-----------------------------------------------------------------------
+
+/***************************************************************************
+ * COPYING -- Describes the terms under which Nmap is distributed.  A copy *
+ * of the GNU GPL is appended to this file.                                *
+ *                                                                         *
+ ***********************IMPORTANT NMAP LICENSE TERMS************************
+ *                                                                         *
+ * The Nmap Security Scanner is (C) 1996-2006 Insecure.Com LLC. Nmap is    *
+ * also a registered trademark of Insecure.Com LLC.  This program is free  *
+ * software; you may redistribute and/or modify it under the terms of the  *
+ * GNU General Public License as published by the Free Software            *
+ * Foundation; Version 2 with the clarifications and exceptions described  *
+ * below.  This guarantees your right to use, modify, and redistribute     *
+ * this software under certain conditions.  If you wish to embed Nmap      *
+ * technology into proprietary software, we sell alternative licenses      *
+ * (contact [email protected]).  Dozens of software vendors already       *
+ * license Nmap technology such as host discovery, port scanning, OS       *
+ * detection, and version detection.                                       *
+ *                                                                         *
+ * Note that the GPL places important restrictions on "derived works", yet *
+ * it does not provide a detailed definition of that term.  To avoid       *
+ * misunderstandings, we consider an application to constitute a           *
+ * "derivative work" for the purpose of this license if it does any of the *
+ * following:                                                              *
+ * o Integrates source code from Nmap                                      *
+ * o Reads or includes Nmap copyrighted data files, such as                *
+ *   nmap-os-fingerprints or nmap-service-probes.                          *
+ * o Executes Nmap and parses the results (as opposed to typical shell or  *
+ *   execution-menu apps, which simply display raw Nmap output and so are  *
+ *   not derivative works.)                                                * 
+ * o Integrates/includes/aggregates Nmap into a proprietary executable     *
+ *   installer, such as those produced by InstallShield.                   *
+ * o Links to a library or executes a program that does any of the above   *
+ *                                                                         *
+ * The term "Nmap" should be taken to also include any portions or derived *
+ * works of Nmap.  This list is not exclusive, but is just meant to        *
+ * clarify our interpretation of derived works with some common examples.  *
+ * These restrictions only apply when you actually redistribute Nmap.  For *
+ * example, nothing stops you from writing and selling a proprietary       *
+ * front-end to Nmap.  Just distribute it by itself, and point people to   *
+ * http://insecure.org/nmap/ to download Nmap.                             *
+ *                                                                         *
+ * We don't consider these to be added restrictions on top of the GPL, but *
+ * just a clarification of how we interpret "derived works" as it applies  *
+ * to our GPL-licensed Nmap product.  This is similar to the way Linus     *
+ * Torvalds has announced his interpretation of how "derived works"        *
+ * applies to Linux kernel modules.  Our interpretation refers only to     *
+ * Nmap - we don't speak for any other GPL products.                       *
+ *                                                                         *
+ * If you have any questions about the GPL licensing restrictions on using *
+ * Nmap in non-GPL works, we would be happy to help.  As mentioned above,  *
+ * we also offer alternative license to integrate Nmap into proprietary    *
+ * applications and appliances.  These contracts have been sold to dozens  *
+ * of software vendors, and generally include a perpetual license as well  *
+ * as providing for priority support and updates as well as helping to     *
+ * fund the continued development of Nmap technology.  Please email        *
+ * [email protected] for further information.                             *
+ *                                                                         *
+ * As a special exception to the GPL terms, Insecure.Com LLC grants        *
+ * permission to link the code of this program with any version of the     *
+ * OpenSSL library which is distributed under a license identical to that  *
+ * listed in the included Copying.OpenSSL file, and distribute linked      *
+ * combinations including the two. You must obey the GNU GPL in all        *
+ * respects for all of the code used other than OpenSSL.  If you modify    *
+ * this file, you may extend this exception to your version of the file,   *
+ * but you are not obligated to do so.                                     *
+ *                                                                         *
+ * If you received these files with a written license agreement or         *
+ * contract stating terms other than the terms above, then that            *
+ * alternative license agreement takes precedence over these comments.     *
+ *                                                                         *
+ * Source is provided to this software because we believe users have a     *
+ * right to know exactly what a program is going to do before they run it. *
+ * This also allows you to audit the software for security holes (none     *
+ * have been found so far).                                                *
+ *                                                                         *
+ * Source code also allows you to port Nmap to new platforms, fix bugs,    *
+ * and add new features.  You are highly encouraged to send your changes   *
+ * to [email protected] for possible incorporation into the main         *
+ * distribution.  By sending these changes to Fyodor or one the            *
+ * Insecure.Org development mailing lists, it is assumed that you are      *
+ * offering Fyodor and Insecure.Com LLC the unlimited, non-exclusive right *
+ * to reuse, modify, and relicense the code.  Nmap will always be          *
+ * available Open Source, but this is important because the inability to   *
+ * relicense code has caused devastating problems for other Free Software  *
+ * projects (such as KDE and NASM).  We also occasionally relicense the    *
+ * code to third parties as discussed above.  If you wish to specify       *
+ * special license conditions of your contributions, just say so when you  *
+ * send them.                                                              *
+ *                                                                         *
+ * This program is distributed in the hope that it will be useful, but     *
+ * WITHOUT ANY WARRANTY; without even the implied warranty of              *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU       *
+ * General Public License for more details at                              *
+ * http://www.gnu.org/copyleft/gpl.html , or in the COPYING file included  *
+ * with Nmap.                                                              *
+ *                                                                         *
+ ***************************************************************************/
+
+GNU General Public License
+
+----------------------------------------------------------------------------
+
+Table of Contents
+
+   * GNU GENERAL PUBLIC LICENSE
+        o Preamble
+        o TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+        o How to Apply These Terms to Your New Programs
+
+----------------------------------------------------------------------------
+
+GNU GENERAL PUBLIC LICENSE
+
+Version 2, June 1991
+
+Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
+
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+
+Preamble
+
+The licenses for most software are designed to take away your freedom to
+share and change it. By contrast, the GNU General Public License is intended
+to guarantee your freedom to share and change free software--to make sure
+the software is free for all its users. This General Public License applies
+to most of the Free Software Foundation's software and to any other program
+whose authors commit to using it. (Some other Free Software Foundation
+software is covered by the GNU Library General Public License instead.) You
+can apply it to your programs, too.
+
+When we speak of free software, we are referring to freedom, not price. Our
+General Public Licenses are designed to make sure that you have the freedom
+to distribute copies of free software (and charge for this service if you
+wish), that you receive source code or can get it if you want it, that you
+can change the software or use pieces of it in new free programs; and that
+you know you can do these things.
+
+To protect your rights, we need to make restrictions that forbid anyone to
+deny you these rights or to ask you to surrender the rights. These
+restrictions translate to certain responsibilities for you if you distribute
+copies of the software, or if you modify it.
+
+For example, if you distribute copies of such a program, whether gratis or
+for a fee, you must give the recipients all the rights that you have. You
+must make sure that they, too, receive or can get the source code. And you
+must show them these terms so they know their rights.
+
+We protect your rights with two steps: (1) copyright the software, and (2)
+offer you this license which gives you legal permission to copy, distribute
+and/or modify the software.
+
+Also, for each author's protection and ours, we want to make certain that
+everyone understands that there is no warranty for this free software. If
+the software is modified by someone else and passed on, we want its
+recipients to know that what they have is not the original, so that any
+problems introduced by others will not reflect on the original authors'
+reputations.
+
+Finally, any free program is threatened constantly by software patents. We
+wish to avoid the danger that redistributors of a free program will
+individually obtain patent licenses, in effect making the program
+proprietary. To prevent this, we have made it clear that any patent must be
+licensed for everyone's free use or not licensed at all.
+
+The precise terms and conditions for copying, distribution and modification
+follow.
+
+TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+0. This License applies to any program or other work which contains a notice
+placed by the copyright holder saying it may be distributed under the terms
+of this General Public License. The "Program", below, refers to any such
+program or work, and a "work based on the Program" means either the Program
+or any derivative work under copyright law: that is to say, a work
+containing the Program or a portion of it, either verbatim or with
+modifications and/or translated into another language. (Hereinafter,
+translation is included without limitation in the term "modification".) Each
+licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not covered
+by this License; they are outside its scope. The act of running the Program
+is not restricted, and the output from the Program is covered only if its
+contents constitute a work based on the Program (independent of having been
+made by running the Program). Whether that is true depends on what the
+Program does.
+
+1. You may copy and distribute verbatim copies of the Program's source code
+as you receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice and
+disclaimer of warranty; keep intact all the notices that refer to this
+License and to the absence of any warranty; and give any other recipients of
+the Program a copy of this License along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and you
+may at your option offer warranty protection in exchange for a fee.
+
+2. You may modify your copy or copies of the Program or any portion of it,
+thus forming a work based on the Program, and copy and distribute such
+modifications or work under the terms of Section 1 above, provided that you
+also meet all of these conditions:
+
+   * a) You must cause the modified files to carry prominent notices stating
+     that you changed the files and the date of any change.
+
+   * b) You must cause any work that you distribute or publish, that in
+     whole or in part contains or is derived from the Program or any part
+     thereof, to be licensed as a whole at no charge to all third parties
+     under the terms of this License.
+
+   * c) If the modified program normally reads commands interactively when
+     run, you must cause it, when started running for such interactive use
+     in the most ordinary way, to print or display an announcement including
+     an appropriate copyright notice and a notice that there is no warranty
+     (or else, saying that you provide a warranty) and that users may
+     redistribute the program under these conditions, and telling the user
+     how to view a copy of this License. (Exception: if the Program itself
+     is interactive but does not normally print such an announcement, your
+     work based on the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If identifiable
+sections of that work are not derived from the Program, and can be
+reasonably considered independent and separate works in themselves, then
+this License, and its terms, do not apply to those sections when you
+distribute them as separate works. But when you distribute the same sections
+as part of a whole which is a work based on the Program, the distribution of
+the whole must be on the terms of this License, whose permissions for other
+licensees extend to the entire whole, and thus to each and every part
+regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest your
+rights to work written entirely by you; rather, the intent is to exercise
+the right to control the distribution of derivative or collective works
+based on the Program.
+
+In addition, mere aggregation of another work not based on the Program with
+the Program (or with a work based on the Program) on a volume of a storage
+or distribution medium does not bring the other work under the scope of this
+License.
+
+3. You may copy and distribute the Program (or a work based on it, under
+Section 2) in object code or executable form under the terms of Sections 1
+and 2 above provided that you also do one of the following:
+
+   * a) Accompany it with the complete corresponding machine-readable source
+     code, which must be distributed under the terms of Sections 1 and 2
+     above on a medium customarily used for software interchange; or,
+
+   * b) Accompany it with a written offer, valid for at least three years,
+     to give any third party, for a charge no more than your cost of
+     physically performing source distribution, a complete machine-readable
+     copy of the corresponding source code, to be distributed under the
+     terms of Sections 1 and 2 above on a medium customarily used for
+     software interchange; or,
+
+   * c) Accompany it with the information you received as to the offer to
+     distribute corresponding source code. (This alternative is allowed only
+     for noncommercial distribution and only if you received the program in
+     object code or executable form with such an offer, in accord with
+     Subsection b above.)
+
+The source code for a work means the preferred form of the work for making
+modifications to it. For an executable work, complete source code means all
+the source code for all modules it contains, plus any associated interface
+definition files, plus the scripts used to control compilation and
+installation of the executable. However, as a special exception, the source
+code distributed need not include anything that is normally distributed (in
+either source or binary form) with the major components (compiler, kernel,
+and so on) of the operating system on which the executable runs, unless that
+component itself accompanies the executable.
+
+If distribution of executable or object code is made by offering access to
+copy from a designated place, then offering equivalent access to copy the
+source code from the same place counts as distribution of the source code,
+even though third parties are not compelled to copy the source along with
+the object code.
+
+4. You may not copy, modify, sublicense, or distribute the Program except as
+expressly provided under this License. Any attempt otherwise to copy,
+modify, sublicense or distribute the Program is void, and will automatically
+terminate your rights under this License. However, parties who have received
+copies, or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+5. You are not required to accept this License, since you have not signed
+it. However, nothing else grants you permission to modify or distribute the
+Program or its derivative works. These actions are prohibited by law if you
+do not accept this License. Therefore, by modifying or distributing the
+Program (or any work based on the Program), you indicate your acceptance of
+this License to do so, and all its terms and conditions for copying,
+distributing or modifying the Program or works based on it.
+
+6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the original
+licensor to copy, distribute or modify the Program subject to these terms
+and conditions. You may not impose any further restrictions on the
+recipients' exercise of the rights granted herein. You are not responsible
+for enforcing compliance by third parties to this License.
+
+7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot distribute so
+as to satisfy simultaneously your obligations under this License and any
+other pertinent obligations, then as a consequence you may not distribute
+the Program at all. For example, if a patent license would not permit
+royalty-free redistribution of the Program by all those who receive copies
+directly or indirectly through you, then the only way you could satisfy both
+it and this License would be to refrain entirely from distribution of the
+Program.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply and
+the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any patents
+or other property right claims or to contest validity of any such claims;
+this section has the sole purpose of protecting the integrity of the free
+software distribution system, which is implemented by public license
+practices. Many people have made generous contributions to the wide range of
+software distributed through that system in reliance on consistent
+application of that system; it is up to the author/donor to decide if he or
+she is willing to distribute software through any other system and a
+licensee cannot impose that choice.
+
+This section is intended to make thoroughly clear what is believed to be a
+consequence of the rest of this License.
+
+8. If the distribution and/or use of the Program is restricted in certain
+countries either by patents or by copyrighted interfaces, the original
+copyright holder who places the Program under this License may add an
+explicit geographical distribution limitation excluding those countries, so
+that distribution is permitted only in or among countries not thus excluded.
+In such case, this License incorporates the limitation as if written in the
+body of this License.
+
+9. The Free Software Foundation may publish revised and/or new versions of
+the General Public License from time to time. Such new versions will be
+similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+10. If you wish to incorporate parts of the Program into other free programs
+whose distribution conditions are different, write to the author to ask for
+permission. For software which is copyrighted by the Free Software
+Foundation, write to the Free Software Foundation; we sometimes make
+exceptions for this. Our decision will be guided by the two goals of
+preserving the free status of all derivatives of our free software and of
+promoting the sharing and reuse of software generally.
+
+NO WARRANTY
+
+11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
+THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO
+THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM
+PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
+CORRECTION.
+
+12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO
+LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR
+THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+END OF TERMS AND CONDITIONS
+
+How to Apply These Terms to Your New Programs
+
+If you develop a new program, and you want it to be of the greatest possible
+use to the public, the best way to achieve this is to make it free software
+which everyone can redistribute and change under these terms.
+
+To do so, attach the following notices to the program. It is safest to
+attach them to the start of each source file to most effectively convey the
+exclusion of warranty; and each file should have at least the "copyright"
+line and a pointer to where the full notice is found.
+
+one line to give the program's name and an idea of what it does.
+Copyright (C) 19yy  name of author
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this when
+it starts in an interactive mode:
+
+Gnomovision version 69, Copyright (C) 19yy name of author
+Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
+type `show w'.  This is free software, and you are welcome
+to redistribute it under certain conditions; type `show c'
+for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may be
+called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+Yoyodyne, Inc., hereby disclaims all copyright
+interest in the program `Gnomovision'
+(which makes passes at compilers) written
+by James Hacker.
+
+signature of Ty Coon, 1 April 1989
+Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General Public
+License instead of this License.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/nmap.p5m	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,491 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+set name=pkg.fmri value=pkg:/diagnostic/nmap@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="Network exploration tool and security / port scanner."
+set name=pkg.description value="Nmap is useful for inventorying the network, managing service upgrade schedules, and monitoring host or service uptime."
+set name=info.classification value="org.opensolaris.category.2008:System/Administration and Configuration"
+set name=info.upstream_url value=http://insecure.org/
+set name=info.source_url value=$(COMPONENT_ARCHIVE_URL)
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+dir path=usr
+dir path=usr/bin
+dir path=usr/lib
+dir path=usr/lib/python2.6
+dir path=usr/lib/python2.6/vendor-packages
+dir path=usr/lib/python2.6/vendor-packages/radialnet
+dir path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets
+dir path=usr/lib/python2.6/vendor-packages/radialnet/core
+dir path=usr/lib/python2.6/vendor-packages/radialnet/gui
+dir path=usr/lib/python2.6/vendor-packages/radialnet/util
+dir path=usr/lib/python2.6/vendor-packages/zenmapCore
+dir path=usr/lib/python2.6/vendor-packages/zenmapGUI
+dir path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets
+dir path=usr/share
+dir path=usr/share/applications
+dir path=usr/share/locale
+dir path=usr/share/locale/de
+dir path=usr/share/locale/de/LC_MESSAGES
+dir path=usr/share/locale/fr
+dir path=usr/share/locale/fr/LC_MESSAGES
+dir path=usr/share/locale/hr
+dir path=usr/share/locale/hr/LC_MESSAGES
+dir path=usr/share/locale/pt_BR
+dir path=usr/share/locale/pt_BR/LC_MESSAGES
+dir path=usr/share/locale/ru
+dir path=usr/share/locale/ru/LC_MESSAGES
+dir path=usr/share/man
+dir path=usr/share/man/man1
+dir path=usr/share/ncat
+dir path=usr/share/nmap
+dir path=usr/share/nmap/nselib
+dir path=usr/share/nmap/nselib/data
+dir path=usr/share/nmap/nselib/data/psexec
+dir path=usr/share/nmap/scripts
+dir path=usr/share/pixmaps
+dir path=usr/share/zenmap
+dir path=usr/share/zenmap/config
+dir path=usr/share/zenmap/docs
+dir path=usr/share/zenmap/misc
+dir path=usr/share/zenmap/pixmaps
+dir path=usr/share/zenmap/pixmaps/radialnet
+file ncat/certs/ca-bundle.crt path=usr/share/ncat/ca-bundle.crt 
+file nselib/data/favicon-db path=usr/share/nmap/nselib/data/favicon-db 
+file nselib/data/folders.lst path=usr/share/nmap/nselib/data/folders.lst 
+file nselib/data/http-fingerprints path=usr/share/nmap/nselib/data/http-fingerprints 
+file nselib/data/oracle-sids path=usr/share/nmap/nselib/data/oracle-sids 
+file nselib/data/passwords.lst path=usr/share/nmap/nselib/data/passwords.lst 
+file nselib/data/psexec/backdoor.lua path=usr/share/nmap/nselib/data/psexec/backdoor.lua
+file nselib/data/psexec/default.lua path=usr/share/nmap/nselib/data/psexec/default.lua 
+file nselib/data/psexec/drives.lua path=usr/share/nmap/nselib/data/psexec/drives.lua 
+file nselib/data/psexec/encoder.c path=usr/share/nmap/nselib/data/psexec/encoder.c 
+file nselib/data/psexec/examples.lua path=usr/share/nmap/nselib/data/psexec/examples.lua 
+file nselib/data/psexec/experimental.lua path=usr/share/nmap/nselib/data/psexec/experimental.lua 
+file nselib/data/psexec/network.lua path=usr/share/nmap/nselib/data/psexec/network.lua 
+file nselib/data/psexec/nmap_service.c path=usr/share/nmap/nselib/data/psexec/nmap_service.c 
+file nselib/data/psexec/nmap_service.exe path=usr/share/nmap/nselib/data/psexec/nmap_service.exe
+file nselib/data/psexec/nmap_service.vcproj path=usr/share/nmap/nselib/data/psexec/nmap_service.vcproj 
+file nselib/data/psexec/pwdump.lua path=usr/share/nmap/nselib/data/psexec/pwdump.lua 
+file nselib/data/psexec/README path=usr/share/nmap/nselib/data/psexec/README 
+file nselib/data/usernames.lst  path=usr/share/nmap/nselib/data/usernames.lst 
+file nselib/data/yokoso-fingerprints path=usr/share/nmap/nselib/data/yokoso-fingerprints 
+file path=usr/bin/ncat 
+file path=usr/bin/ndiff 
+file path=usr/bin/nmap 
+file path=usr/bin/zenmap 
+file path=usr/lib/python2.6/vendor-packages/radialnet/__init__.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/__init__.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/__init__.py
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/__init__.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/boxes.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/boxes.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/buttons.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/buttons.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/comboboxes.py
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/comboboxes.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/expanders.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/expanders.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/frames.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/frames.pyc
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/labels.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/labels.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/textview.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/textview.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/windows.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/bestwidgets/windows.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/__init__.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/__init__.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/ArgvHandle.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/ArgvHandle.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/Coordinate.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/Coordinate.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/Graph.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/Graph.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/Info.py
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/Info.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/Interpolation.py
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/Interpolation.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/XMLHandler.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/core/XMLHandler.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/__init__.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/__init__.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/Application.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/Application.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/ControlWidget.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/ControlWidget.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/Dialogs.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/Dialogs.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/HostsViewer.py
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/HostsViewer.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/Image.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/Image.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/NodeNotebook.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/NodeNotebook.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/NodeWindow.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/NodeWindow.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/RadialNet.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/RadialNet.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/SaveDialog.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/SaveDialog.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/Toolbar.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/gui/Toolbar.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/util/__init__.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/util/__init__.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/util/drawing.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/util/drawing.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/util/geometry.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/util/geometry.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/util/integration.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/util/integration.pyc 
+file path=usr/lib/python2.6/vendor-packages/radialnet/util/misc.py 
+file path=usr/lib/python2.6/vendor-packages/radialnet/util/misc.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/__init__.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/__init__.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/BasePaths.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/BasePaths.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/BugRegister.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/BugRegister.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/Diff.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/Diff.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/I18N.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/I18N.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/Name.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/Name.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/NetworkInventory.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/NetworkInventory.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/NmapCommand.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/NmapCommand.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/NmapOptions.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/NmapOptions.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/NmapParser.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/NmapParser.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/Paths.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/Paths.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/RecentScans.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/RecentScans.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/SearchResult.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/SearchResult.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/TargetList.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/TargetList.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/UmitConf.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/UmitConf.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/UmitConfigParser.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/UmitConfigParser.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/UmitDB.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/UmitDB.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/UmitLogging.py
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/UmitLogging.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/UmitOptionParser.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/UmitOptionParser.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/Version.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapCore/Version.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/__init__.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/__init__.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/About.py
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/About.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/App.py
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/App.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/BugReport.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/BugReport.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/CrashReport.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/CrashReport.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/DiffCompare.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/DiffCompare.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/FileChoosers.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/FileChoosers.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/FilterBar.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/FilterBar.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/__init__.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/__init__.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/gtkutils.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/gtkutils.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higboxes.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higboxes.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higbuttons.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higbuttons.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higdialogs.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higdialogs.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higentries.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higentries.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higexpanders.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higexpanders.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higframe.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higframe.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higlabels.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higlabels.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higlogindialogs.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higlogindialogs.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/hignotebooks.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/hignotebooks.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higprogressbars.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higprogressbars.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higscrollers.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higscrollers.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higspinner.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higspinner.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higtables.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higtables.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higtextviewers.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higtextviewers.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higwindows.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/higwindows.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/utils.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/higwidgets/utils.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/Icons.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/Icons.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/MainWindow.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/MainWindow.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/NmapOutputProperties.py
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/NmapOutputProperties.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/NmapOutputViewer.py
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/NmapOutputViewer.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/OptionBuilder.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/OptionBuilder.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ProfileCombo.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ProfileCombo.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ProfileEditor.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ProfileEditor.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ProfileHelp.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ProfileHelp.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanHostDetailsPage.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanHostDetailsPage.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanHostsView.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanHostsView.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanInterface.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanInterface.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanNmapOutputPage.py
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanNmapOutputPage.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanOpenPortsPage.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanOpenPortsPage.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanRunDetailsPage.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanRunDetailsPage.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanScanListPage.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanScanListPage.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScansListStore.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScansListStore.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanToolbar.py
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/ScanToolbar.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/SearchGUI.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/SearchGUI.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/SearchWindow.py
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/SearchWindow.pyc
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/Splash.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/Splash.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/TargetCombo.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/TargetCombo.pyc 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/TopologyPage.py 
+file path=usr/lib/python2.6/vendor-packages/zenmapGUI/TopologyPage.pyc 
+file nmapfe.desktop path=usr/share/applications/nmapfe.desktop 
+file path=usr/share/applications/zenmap-root.desktop 
+file path=usr/share/applications/zenmap.desktop 
+file path=usr/share/man/man1/ncat.1 
+file path=usr/share/man/man1/ndiff.1 
+file path=usr/share/man/man1/nmap.1
+file path=usr/share/man/man1/zenmap.1 
+file path=usr/share/nmap/nmap-mac-prefixes 
+file path=usr/share/nmap/nmap-os-db 
+file path=usr/share/nmap/nmap-protocols 
+file path=usr/share/nmap/nmap-rpc 
+file path=usr/share/nmap/nmap-service-probes 
+file path=usr/share/nmap/nmap-services 
+file path=usr/share/nmap/nmap.dtd 
+file path=usr/share/nmap/nmap.xsl 
+file path=usr/share/nmap/nse_main.lua 
+file path=usr/share/nmap/nselib/base64.lua 
+file path=usr/share/nmap/nselib/citrixxml.lua 
+file path=usr/share/nmap/nselib/comm.lua 
+file path=usr/share/nmap/nselib/datafiles.lua 
+file path=usr/share/nmap/nselib/dns.lua 
+file path=usr/share/nmap/nselib/http.lua 
+file path=usr/share/nmap/nselib/imap.lua 
+file path=usr/share/nmap/nselib/ipOps.lua 
+file path=usr/share/nmap/nselib/listop.lua 
+file path=usr/share/nmap/nselib/match.lua 
+file path=usr/share/nmap/nselib/msrpc.lua 
+file path=usr/share/nmap/nselib/msrpcperformance.lua 
+file path=usr/share/nmap/nselib/msrpctypes.lua 
+file path=usr/share/nmap/nselib/netbios.lua 
+file path=usr/share/nmap/nselib/nsedebug.lua 
+file path=usr/share/nmap/nselib/packet.lua 
+file path=usr/share/nmap/nselib/pop3.lua 
+file path=usr/share/nmap/nselib/proxy.lua 
+file path=usr/share/nmap/nselib/shortport.lua 
+file path=usr/share/nmap/nselib/smb.lua 
+file path=usr/share/nmap/nselib/smbauth.lua 
+file path=usr/share/nmap/nselib/snmp.lua 
+file path=usr/share/nmap/nselib/ssh1.lua 
+file path=usr/share/nmap/nselib/ssh2.lua 
+file path=usr/share/nmap/nselib/stdnse.lua 
+file path=usr/share/nmap/nselib/strbuf.lua 
+file path=usr/share/nmap/nselib/strict.lua 
+file path=usr/share/nmap/nselib/tab.lua 
+file path=usr/share/nmap/nselib/unpwdb.lua 
+file path=usr/share/nmap/nselib/url.lua 
+file path=usr/share/nmap/scripts/asn-query.nse 
+file path=usr/share/nmap/scripts/auth-owners.nse 
+file path=usr/share/nmap/scripts/auth-spoof.nse 
+file path=usr/share/nmap/scripts/banner.nse 
+file path=usr/share/nmap/scripts/citrix-brute-xml.nse 
+file path=usr/share/nmap/scripts/citrix-enum-apps-xml.nse 
+file path=usr/share/nmap/scripts/citrix-enum-apps.nse 
+file path=usr/share/nmap/scripts/citrix-enum-servers-xml.nse 
+file path=usr/share/nmap/scripts/citrix-enum-servers.nse 
+file path=usr/share/nmap/scripts/daytime.nse 
+file path=usr/share/nmap/scripts/db2-info.nse 
+file path=usr/share/nmap/scripts/dhcp-discover.nse 
+file path=usr/share/nmap/scripts/dns-random-srcport.nse 
+file path=usr/share/nmap/scripts/dns-random-txid.nse 
+file path=usr/share/nmap/scripts/dns-recursion.nse 
+file path=usr/share/nmap/scripts/dns-zone-transfer.nse 
+file path=usr/share/nmap/scripts/finger.nse 
+file path=usr/share/nmap/scripts/ftp-anon.nse 
+file path=usr/share/nmap/scripts/ftp-bounce.nse 
+file path=usr/share/nmap/scripts/ftp-brute.nse 
+file path=usr/share/nmap/scripts/html-title.nse 
+file path=usr/share/nmap/scripts/http-auth.nse 
+file path=usr/share/nmap/scripts/http-date.nse 
+file path=usr/share/nmap/scripts/http-enum.nse
+file path=usr/share/nmap/scripts/http-favicon.nse
+file path=usr/share/nmap/scripts/http-headers.nse 
+file path=usr/share/nmap/scripts/http-iis-webdav-vuln.nse
+file path=usr/share/nmap/scripts/http-malware-host.nse 
+file path=usr/share/nmap/scripts/http-open-proxy.nse 
+file path=usr/share/nmap/scripts/http-passwd.nse
+file path=usr/share/nmap/scripts/http-trace.nse 
+file path=usr/share/nmap/scripts/http-userdir-enum.nse 
+file path=usr/share/nmap/scripts/iax2-version.nse 
+file path=usr/share/nmap/scripts/imap-capabilities.nse
+file path=usr/share/nmap/scripts/irc-info.nse 
+file path=usr/share/nmap/scripts/ms-sql-info.nse 
+file path=usr/share/nmap/scripts/mysql-info.nse 
+file path=usr/share/nmap/scripts/nbstat.nse 
+file path=usr/share/nmap/scripts/nfs-showmount.nse 
+file path=usr/share/nmap/scripts/ntp-info.nse 
+file path=usr/share/nmap/scripts/oracle-sid-brute.nse 
+file path=usr/share/nmap/scripts/p2p-conficker.nse 
+file path=usr/share/nmap/scripts/pjl-ready-message.nse 
+file path=usr/share/nmap/scripts/pop3-brute.nse 
+file path=usr/share/nmap/scripts/pop3-capabilities.nse 
+file path=usr/share/nmap/scripts/pptp-version.nse 
+file path=usr/share/nmap/scripts/realvnc-auth-bypass.nse 
+file path=usr/share/nmap/scripts/robots.txt.nse 
+file path=usr/share/nmap/scripts/rpcinfo.nse 
+file path=usr/share/nmap/scripts/script.db 
+file path=usr/share/nmap/scripts/skypev2-version.nse 
+file path=usr/share/nmap/scripts/smb-brute.nse 
+file path=usr/share/nmap/scripts/smb-check-vulns.nse
+file path=usr/share/nmap/scripts/smb-enum-domains.nse 
+file path=usr/share/nmap/scripts/smb-enum-groups.nse 
+file path=usr/share/nmap/scripts/smb-enum-processes.nse 
+file path=usr/share/nmap/scripts/smb-enum-sessions.nse
+file path=usr/share/nmap/scripts/smb-enum-shares.nse 
+file path=usr/share/nmap/scripts/smb-enum-users.nse 
+file path=usr/share/nmap/scripts/smb-os-discovery.nse 
+file path=usr/share/nmap/scripts/smb-psexec.nse 
+file path=usr/share/nmap/scripts/smb-security-mode.nse 
+file path=usr/share/nmap/scripts/smb-server-stats.nse 
+file path=usr/share/nmap/scripts/smb-system-info.nse 
+file path=usr/share/nmap/scripts/smbv2-enabled.nse 
+file path=usr/share/nmap/scripts/smtp-commands.nse 
+file path=usr/share/nmap/scripts/smtp-open-relay.nse 
+file path=usr/share/nmap/scripts/smtp-strangeport.nse 
+file path=usr/share/nmap/scripts/sniffer-detect.nse 
+file path=usr/share/nmap/scripts/snmp-brute.nse 
+file path=usr/share/nmap/scripts/snmp-sysdescr.nse 
+file path=usr/share/nmap/scripts/socks-open-proxy.nse 
+file path=usr/share/nmap/scripts/sql-injection.nse 
+file path=usr/share/nmap/scripts/ssh-hostkey.nse 
+file path=usr/share/nmap/scripts/sshv1.nse 
+file path=usr/share/nmap/scripts/ssl-cert.nse 
+file path=usr/share/nmap/scripts/sslv2.nse 
+file path=usr/share/nmap/scripts/telnet-brute.nse 
+file path=usr/share/nmap/scripts/upnp-info.nse 
+file path=usr/share/nmap/scripts/whois.nse 
+file path=usr/share/nmap/scripts/x11-access.nse 
+file nmapfe.png path=usr/share/pixmaps/nmapfe.png 
+file path=usr/share/zenmap/config/scan_profile.usp 
+file path=usr/share/zenmap/config/zenmap_version 
+file path=usr/share/zenmap/config/zenmap.conf 
+file path=usr/share/zenmap/docs/help.html 
+file path=usr/share/zenmap/misc/profile_editor.xml 
+file path=usr/share/zenmap/pixmaps/default_32.png 
+file path=usr/share/zenmap/pixmaps/default_75.png 
+file path=usr/share/zenmap/pixmaps/freebsd_32.png 
+file path=usr/share/zenmap/pixmaps/freebsd_75.png 
+file path=usr/share/zenmap/pixmaps/irix_32.png 
+file path=usr/share/zenmap/pixmaps/irix_75.png 
+file path=usr/share/zenmap/pixmaps/linux_32.png
+file path=usr/share/zenmap/pixmaps/linux_75.png 
+file path=usr/share/zenmap/pixmaps/macosx_32.png 
+file path=usr/share/zenmap/pixmaps/macosx_75.png 
+file path=usr/share/zenmap/pixmaps/openbsd_32.png 
+file path=usr/share/zenmap/pixmaps/openbsd_75.png 
+file path=usr/share/zenmap/pixmaps/radialnet/border.png
+file path=usr/share/zenmap/pixmaps/radialnet/firewall.png 
+file path=usr/share/zenmap/pixmaps/radialnet/logo.png 
+file path=usr/share/zenmap/pixmaps/radialnet/padlock.png
+file path=usr/share/zenmap/pixmaps/radialnet/router.png 
+file path=usr/share/zenmap/pixmaps/radialnet/switch.png 
+file path=usr/share/zenmap/pixmaps/radialnet/wireless.png 
+file path=usr/share/zenmap/pixmaps/redhat_32.png 
+file path=usr/share/zenmap/pixmaps/redhat_75.png 
+file path=usr/share/zenmap/pixmaps/solaris_32.png 
+file path=usr/share/zenmap/pixmaps/solaris_75.png 
+file path=usr/share/zenmap/pixmaps/splash.png 
+file path=usr/share/zenmap/pixmaps/throbber.gif 
+file path=usr/share/zenmap/pixmaps/throbber.png 
+file path=usr/share/zenmap/pixmaps/ubuntu_32.png 
+file path=usr/share/zenmap/pixmaps/ubuntu_75.png 
+file path=usr/share/zenmap/pixmaps/unknown_32.png 
+file path=usr/share/zenmap/pixmaps/unknown_75.png 
+file path=usr/share/zenmap/pixmaps/vl_1_32.png 
+file path=usr/share/zenmap/pixmaps/vl_1_75.png 
+file path=usr/share/zenmap/pixmaps/vl_2_32.png
+file path=usr/share/zenmap/pixmaps/vl_2_75.png
+file path=usr/share/zenmap/pixmaps/vl_3_32.png 
+file path=usr/share/zenmap/pixmaps/vl_3_75.png 
+file path=usr/share/zenmap/pixmaps/vl_4_32.png 
+file path=usr/share/zenmap/pixmaps/vl_4_75.png 
+file path=usr/share/zenmap/pixmaps/vl_5_32.png
+file path=usr/share/zenmap/pixmaps/vl_5_75.png 
+file path=usr/share/zenmap/pixmaps/win_32.png 
+file path=usr/share/zenmap/pixmaps/win_75.png 
+file path=usr/share/zenmap/pixmaps/zenmap.png 
+file path=usr/share/zenmap/su-to-zenmap.sh 
+file zenmap/share/zenmap/locale/de/LC_MESSAGES/zenmap.mo path=usr/share/locale/de/LC_MESSAGES/zenmap.mo
+file zenmap/share/zenmap/locale/fr/LC_MESSAGES/zenmap.mo path=usr/share/locale/fr/LC_MESSAGES/zenmap.mo 
+file zenmap/share/zenmap/locale/hr/LC_MESSAGES/zenmap.mo path=usr/share/locale/hr/LC_MESSAGES/zenmap.mo 
+file zenmap/share/zenmap/locale/pt_BR/LC_MESSAGES/zenmap.mo path=usr/share/locale/pt_BR/LC_MESSAGES/zenmap.mo 
+file zenmap/share/zenmap/locale/ru/LC_MESSAGES/zenmap.mo path=usr/share/locale/ru/LC_MESSAGES/zenmap.mo 
+link path=usr/bin/nmapfe target=zenmap
+link path=usr/bin/xnmap target=zenmap
+link path=usr/share/man/man1/xnmap.1 target=zenmap.1
+link path=usr/share/man/man1/nmapfe.1 target=zenmap.1
+
+license nmap.license license="GPLv2"
+
+legacy	pkg=SUNWnmap \
+	name="nmap - Network Mapper" \
+	desc="nmap - Network exploration tool and security / port scanner (5.21)"
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/nmapfe.desktop	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=NmapFE
+GenericName=Security Scanner
+Comment=Scan and monitor services provided by other computers on the network
+Version=1.0
+TryExec=nmapfe
+Exec=nmapfe
+Icon=nmapfe.png
+Terminal=false
+Type=Application
+Categories=Application;System;Security;GTK
Binary file components/nmap/nmapfe.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/oracleman-stability	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,27 @@
+1i\
+'\\" t\
+\.\\"\
+\.\\" Modified for Solaris to to add the Solaris stability classification,\
+\.\\" and to add a note about source availability.\
+\.\\"\ 
+$a\
+\.\\" Begin Sun update\
+.SH ATTRIBUTES\
+See\
+.BR attributes (5)\
+for descriptions of the following attributes:\
+.sp\
+.TS\
+box;\
+cbp-1 | cbp-1\
+l | l .\
+ATTRIBUTE TYPE	ATTRIBUTE VALUE\
+=\
+Availability	diagnostic/nmap \
+=\
+Interface Stability	Volatile\
+.TE \
+.PP\
+.SH NOTES\
+Source for nmap is available on http://opensolaris.org.\
+\.\\" End Sun update
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/patches/1.configure.patch	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,57 @@
+--- nmap-5.21/nbase/configure.~1~	Thu Aug 13 14:54:55 2009
++++ nmap-5.21/nbase/configure	Mon Mar 21 15:32:17 2011
+@@ -1,4 +1,4 @@
+-#! /bin/sh
++#! /bin/bash
+ # Guess values for system-dependent variables and create Makefiles.
+ # Generated by GNU Autoconf 2.63.
+ #
+@@ -589,7 +589,7 @@
+ subdirs=
+ MFLAGS=
+ MAKEFLAGS=
+-SHELL=${CONFIG_SHELL-/bin/sh}
++SHELL=${CONFIG_SHELL-/bin/bash}
+ 
+ # Identity of this package.
+ PACKAGE_NAME=
+@@ -657,7 +657,9 @@
+ CPPFLAGS
+ LDFLAGS
+ CFLAGS
++CXXFLAGS
+ CC
++CXX
+ target_alias
+ host_alias
+ build_alias
+@@ -706,7 +708,9 @@
+ host_alias
+ target_alias
+ CC
++CXX
+ CFLAGS
++CXXFLAGS
+ LDFLAGS
+ LIBS
+ CPPFLAGS
+@@ -748,7 +752,7 @@
+ datadir='${datarootdir}'
+ sysconfdir='${prefix}/etc'
+ sharedstatedir='${prefix}/com'
+-localstatedir='${prefix}/var'
++localstatedir=
+ includedir='${prefix}/include'
+ oldincludedir='/usr/include'
+ docdir='${datarootdir}/doc/${PACKAGE}'
+@@ -3916,6 +3920,10 @@
+ 
+ 	#include <stdlib.h>
+ 
++#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
++#error "GNU __attribute__ extension not suported "
++#endif
++
+ 	static void foo(void) __attribute__ ((noreturn));
+ 
+ 	static void
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/patches/2.Makefile.patch	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,47 @@
+--- nmap-5.21/nbase/Makefile.in	2009-03-25 05:49:32.000000000 -0700
++++ nmap-5.21/nbase/Makefile.in	2010-02-23 10:25:33.136566614 -0800
+@@ -6,7 +6,7 @@
+ srcdir = @srcdir@
+ 
+ CC = @CC@
+-AR = ar
++CXX = @CXX@
+ RANLIB = @RANLIB@
+ CCOPT = 
+ DEFS = @DEFS@
+@@ -14,12 +14,14 @@
+ DEFS += -D_FORTIFY_SOURCE=2
+ CPPFLAGS = @CPPFLAGS@
+ CFLAGS = @CFLAGS@ $(CCOPT) $(GLIB_CFLAGS) $(DEFS) $(INCLS)
++CXXFLAGS = @CXXFLAGS@
+ STATIC = 
+ LDFLAGS = @LDFLAGS@ $(STATIC)
+ LIBS =  @LIBS@ 
+ SHTOOL = ./shtool
+ INSTALL = $(SHTOOL) install 
+ MAKEDEPEND = @MAKEDEPEND@
++AR = /usr/ccs/bin/ar cq
+ 
+ TARGET = libnbase.a
+ 
+@@ -30,7 +32,7 @@
+ 
+ $(TARGET): $(DEPS) $(OBJS)
+ 	rm -f $@
+-	$(AR) cr $@ $(OBJS)
++	$(AR) $@ $(OBJS)
+ 	$(RANLIB) $@
+ 
+ clean:
+@@ -51,8 +53,10 @@
+ config.status: configure
+ 	./config.status --recheck
+ 
++.c.o:
++	$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+ .cc.o:
+-	$(CC) -c $(CFLAGS) $*.cc
++	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< o $@
+ 
+ # DO NOT DELETE -- Needed by makedepend
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/patches/3.Makefile.patch	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,23 @@
+--- nmap-5.21/nsock/src/Makefile.in	2009-08-07 10:53:50.000000000 -0700
++++ nmap-5.21/nsock/src/Makefile.in	2010-02-23 11:27:25.487769258 -0800
+@@ -43,11 +43,11 @@
+ 	$(AR) cr $@ $(OBJS)
+ 	$(RANLIB) $@
+ 
+-$(NBASEDIR)/libnbase.a: $(NBASEDIR)/Makefile
++$(NBASEDIR)/libnbase.a:
+ 	cd $(NBASEDIR) && $(MAKE)
+ 
+ clean:
+-	rm -f $(OBJS) $(TARGET) makefile.dep
++	rm -f $(OBJS) $(TARGET)
+ 
+ distclean: clean
+ 	rm -f Makefile config.log config.status nsock_config.h
+@@ -75,6 +75,3 @@
+ config.status: configure
+ 	./config.status --recheck
+ 
+-makefile.dep:
+-	$(CC) -MM $(CPPFLAGS) $(SRCS) > $@
+-include makefile.dep
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/patches/4.Makefile.patch	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,24 @@
+--- nmap-5.21/ncat/Makefile.in	2010-01-11 11:41:56.000000000 -0800
++++ nmap-5.21/ncat/Makefile.in	2010-03-12 08:44:44.631386263 -0800
+@@ -120,11 +120,11 @@
+ 
+ .PHONY: uninstall all clean distclean
+ 
+-$(NBASEDIR)/libnbase.a: $(NBASEDIR)/Makefile
++$(NBASEDIR)/libnbase.a:
+ 	@echo Compiling libnbase;
+ 	cd $(NBASEDIR) && $(MAKE)
+ 
+-$(NSOCKDIR)/libnsock.a: $(NSOCKDIR)/Makefile
++$(NSOCKDIR)/libnsock.a:
+ 	@echo Compiling libnsock;
+ 	cd $(NSOCKDIR) && $(MAKE)
+ 
+@@ -161,6 +161,6 @@
+ .NOEXPORT:
+ 
+ makefile.dep:
+-	$(CC) -MM $(CPPFLAGS) $(SRCS) > $@
++	$(CC) $(CPPFLAGS) $(CFLAGS) -MM $(SRCS) > $@
+ include makefile.dep
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/patches/5.configure.patch	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,190 @@
+--- nmap-5.21/libdnet-stripped/configure.~1~	Thu Jan 14 08:47:28 2010
++++ nmap-5.21/libdnet-stripped/configure	Mon Mar 21 15:33:21 2011
+@@ -1,4 +1,4 @@
+-#! /bin/sh
++#! /bin/bash
+ # Guess values for system-dependent variables and create Makefiles.
+ # Generated by GNU Autoconf 2.63.
+ #
+@@ -573,7 +573,7 @@
+ 
+ 
+ # Check that we are running under the correct shell.
+-SHELL=${CONFIG_SHELL-/bin/sh}
++SHELL=${CONFIG_SHELL-/bin/bash}
+ 
+ case X$lt_ECHO in
+ X*--fallback-echo)
+@@ -657,7 +657,7 @@
+       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
+ 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
+         # If we have ksh, try running configure again with it.
+-        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/bash}
+         export ORIGINAL_CONFIG_SHELL
+         CONFIG_SHELL=/bin/ksh
+         export CONFIG_SHELL
+@@ -699,7 +699,7 @@
+ 	  if test "$prev" != 'sed 50q "$0"'; then
+ 	    echo_test_string=`eval $prev`
+ 	    export echo_test_string
+-	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
++	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/bash}} "$0" ${1+"$@"}
+ 	  else
+ 	    # Oops.  We lost completely, so just stick with echo.
+ 	    ECHO=echo
+@@ -738,7 +738,7 @@
+ subdirs=
+ MFLAGS=
+ MAKEFLAGS=
+-SHELL=${CONFIG_SHELL-/bin/sh}
++SHELL=${CONFIG_SHELL-/bin/bash}
+ 
+ # Identity of this package.
+ PACKAGE_NAME=
+@@ -965,7 +965,7 @@
+ datadir='${datarootdir}'
+ sysconfdir='${prefix}/etc'
+ sharedstatedir='${prefix}/com'
+-localstatedir='${prefix}/var'
++localstateir=
+ includedir='${prefix}/include'
+ oldincludedir='/usr/include'
+ docdir='${datarootdir}/doc/${PACKAGE}'
+@@ -2318,7 +2318,7 @@
+   $as_echo_n "(cached) " >&6
+ else
+   cat >conftest.make <<\_ACEOF
+-SHELL = /bin/sh
++SHELL = /bin/bash
+ all:
+ 	@echo '@@@%%%=$(MAKE)=@@@%%%'
+ _ACEOF
+@@ -3298,7 +3298,7 @@
+   ac_save_c_werror_flag=$ac_c_werror_flag
+    ac_c_werror_flag=yes
+    ac_cv_prog_cc_g=no
+-   CFLAGS="-g"
++   CFLAGS="$CFLAGS"
+    cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -3337,7 +3337,7 @@
+   $as_echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-	CFLAGS=""
++	CFLAGS="$CFLAGS"
+       cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -3377,7 +3377,7 @@
+ sed 's/^/| /' conftest.$ac_ext >&5
+ 
+ 	ac_c_werror_flag=$ac_save_c_werror_flag
+-	 CFLAGS="-g"
++	 CFLAGS="$CFLAGS"
+ 	 cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -3434,15 +3434,15 @@
+   CFLAGS=$ac_save_CFLAGS
+ elif test $ac_cv_prog_cc_g = yes; then
+   if test "$GCC" = yes; then
+-    CFLAGS="-g -O2"
++    CFLAGS="$CFLAGS"
+   else
+-    CFLAGS="-g"
++    CFLAGS="$CFLAGS"
+   fi
+ else
+   if test "$GCC" = yes; then
+-    CFLAGS="-O2"
++    CFLAGS="$CFLAGS"
+   else
+-    CFLAGS=
++    CFLAGS="$CFLAGS"
+   fi
+ fi
+ { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
+@@ -3671,7 +3671,7 @@
+     for i in 1 2 3 4 5 6; do
+       echo '#include "conftst'$i'.h"' >> sub/conftest.c
+       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+-      # Solaris 8's {/usr,}/bin/sh.
++      # Solaris 8's {/usr,}/bin/bash.
+       touch sub/conftst$i.h
+     done
+     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+@@ -4576,7 +4576,7 @@
+       for i in 1 2 3 4 5 6 7 8 ; do
+         teststring=$teststring$teststring
+       done
+-      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
++      SHELL=${SHELL-${CONFIG_SHELL-/bin/bash}}
+       # If test is not a shell built-in, we'll probably end up computing a
+       # maximum length that is only half of the actual maximum length, but
+       # we can't tell.
+@@ -12025,13 +12025,13 @@
+ 
+     # DLPI needs putmsg under HPUX so test for -lstr while we're at it
+ 
+-{ $as_echo "$as_me:$LINENO: checking for putmsg in -lstr" >&5
+-$as_echo_n "checking for putmsg in -lstr... " >&6; }
++{ $as_echo "$as_me:$LINENO: checking for putmsg in -lc" >&5
++$as_echo_n "checking for putmsg in -lc... " >&6; }
+ if test "${ac_cv_lib_str_putmsg+set}" = set; then
+   $as_echo_n "(cached) " >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lstr  $LIBS"
++LIBS=" -lc -lsocket -lresolv -lnsl -lgen  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -12039,13 +12039,12 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+ 
+-/* Override any GCC internal prototype to avoid an error.
+-   Use char because int might match the return type of a GCC
+-   builtin and then its argument prototype would still apply.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-char putmsg ();
++#include <stropts.h>
++#include <sys/types.h>
++#include <net/if.h>
++#include <sys/socket.h>
++#include <sys/filio.h>
++
+ int
+ main ()
+ {
+@@ -12095,7 +12094,7 @@
+ #define HAVE_LIBSTR 1
+ _ACEOF
+ 
+-  LIBS="-lstr $LIBS"
++  LIBS=" -lc -lsocket -lresolv -lnsl -lgen $LIBS"
+ 
+ fi
+ 
+@@ -14380,15 +14379,8 @@
+     fi
+ 	{ $as_echo "$as_me:$LINENO: checking for Linux PF_PACKET sockets" >&5
+ $as_echo_n "checking for Linux PF_PACKET sockets... " >&6; }
+-    if test "${ac_cv_dnet_linux_pf_packet+set}" = set; then
+-  $as_echo_n "(cached) " >&6
+-else
+-  if test -f /usr/include/netpacket/packet.h ; then
+-	    ac_cv_dnet_linux_pf_packet=yes
+-	else
++
+ 	    ac_cv_dnet_linux_pf_packet=no
+-	fi
+-fi
+ 
+     { $as_echo "$as_me:$LINENO: result: $ac_cv_dnet_linux_pf_packet" >&5
+ $as_echo "$ac_cv_dnet_linux_pf_packet" >&6; }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/patches/6.configure.patch	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,26 @@
+--- nmap-5.21/ncat/configure.~1~	Mon Jan 11 11:41:56 2010
++++ nmap-5.21/ncat/configure	Mon Mar 21 15:32:46 2011
+@@ -1,4 +1,4 @@
+-#! /bin/sh
++#! /bin/bash
+ # Guess values for system-dependent variables and create Makefiles.
+ # Generated by GNU Autoconf 2.63.
+ #
+@@ -589,7 +589,7 @@
+ subdirs=
+ MFLAGS=
+ MAKEFLAGS=
+-SHELL=${CONFIG_SHELL-/bin/sh}
++SHELL=${CONFIG_SHELL-/bin/bash}
+ 
+ # Identity of this package.
+ PACKAGE_NAME=
+@@ -755,7 +755,7 @@
+ datadir='${datarootdir}'
+ sysconfdir='${prefix}/etc'
+ sharedstatedir='${prefix}/com'
+-localstatedir='${prefix}/var'
++localstatedir=
+ includedir='${prefix}/include'
+ oldincludedir='/usr/include'
+ docdir='${datarootdir}/doc/${PACKAGE}'
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/patches/7.configure.patch	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,26 @@
+--- nmap-5.21/nsock/src/configure.~1~	Fri Aug  7 11:18:16 2009
++++ nmap-5.21/nsock/src/configure	Mon Mar 21 15:34:06 2011
+@@ -1,4 +1,4 @@
+-#! /bin/sh
++#! /bin/bash
+ # Guess values for system-dependent variables and create Makefiles.
+ # Generated by GNU Autoconf 2.63.
+ #
+@@ -589,7 +589,7 @@
+ subdirs=
+ MFLAGS=
+ MAKEFLAGS=
+-SHELL=${CONFIG_SHELL-/bin/sh}
++SHELL=${CONFIG_SHELL-/bin/bash}
+ 
+ # Identity of this package.
+ PACKAGE_NAME=
+@@ -751,7 +751,7 @@
+ datadir='${datarootdir}'
+ sysconfdir='${prefix}/etc'
+ sharedstatedir='${prefix}/com'
+-localstatedir='${prefix}/var'
++localstatedir=
+ includedir='${prefix}/include'
+ oldincludedir='/usr/include'
+ docdir='${datarootdir}/doc/${PACKAGE}'
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/patches/8.configure.patch	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,120 @@
+--- nmap-5.21/configure.~1~	Thu Nov  5 11:50:33 2009
++++ nmap-5.21/configure	Mon Mar 21 16:56:04 2011
+@@ -1,4 +1,4 @@
+-#! /bin/sh
++#! /bin/bash
+ # Guess values for system-dependent variables and create Makefiles.
+ # Generated by GNU Autoconf 2.63.
+ #
+@@ -589,7 +589,7 @@
+ subdirs=
+ MFLAGS=
+ MAKEFLAGS=
+-SHELL=${CONFIG_SHELL-/bin/sh}
++SHELL=${CONFIG_SHELL-/bin/bash}
+ 
+ # Identity of this package.
+ PACKAGE_NAME=
+@@ -832,7 +832,7 @@
+ datadir='${datarootdir}'
+ sysconfdir='${prefix}/etc'
+ sharedstatedir='${prefix}/com'
+-localstatedir='${prefix}/var'
++localstatedir=
+ includedir='${prefix}/include'
+ oldincludedir='/usr/include'
+ docdir='${datarootdir}/doc/${PACKAGE}'
+@@ -3973,7 +3973,7 @@
+   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
+    ac_cxx_werror_flag=yes
+    ac_cv_prog_cxx_g=no
+-   CXXFLAGS="-g"
++   CXXFLAGS="$CXXFLAGS"
+    cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -4012,7 +4012,7 @@
+   $as_echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-	CXXFLAGS=""
++	CXXFLAGS="$CXXFLAGS"
+       cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -4052,7 +4052,7 @@
+ sed 's/^/| /' conftest.$ac_ext >&5
+ 
+ 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+-	 CXXFLAGS="-g"
++	 CXXFLAGS="$CXXFLAGS"
+ 	 cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -4109,15 +4109,15 @@
+   CXXFLAGS=$ac_save_CXXFLAGS
+ elif test $ac_cv_prog_cxx_g = yes; then
+   if test "$GXX" = yes; then
+-    CXXFLAGS="-g -O2"
++    CXXFLAGS="$CXXFLAGS"
+   else
+-    CXXFLAGS="-g"
++    CXXFLAGS="$CXXFLAGS"
+   fi
+ else
+   if test "$GXX" = yes; then
+-    CXXFLAGS="-O2"
++    CXXFLAGS="$CXXFLAGS"
+   else
+-    CXXFLAGS=
++    CXXFLAGS="$CXXFLAGS"
+   fi
+ fi
+ ac_ext=c
+@@ -4223,7 +4223,7 @@
+ if test -n "$GXX"; then
+   # -fno-strict-aliasing disables strict-aliasing optimizations that assume
+   # that pointers of different types never point to the same object.
+-  CXXFLAGS="$CXXFLAGS -Wall -fno-strict-aliasing"
++  CXXFLAGS="$CXXFLAGS"
+ fi
+ 
+ # Remember that all following tests will run with this CXXFLAGS by default
+@@ -6024,8 +6024,7 @@
+      else
+        am_py_prefix=$prefix
+      fi
+-     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
+-     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
++     am_cv_python_pythondir="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"
+      case $am_cv_python_pythondir in
+      $am_py_prefix*)
+        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
+@@ -6054,8 +6053,7 @@
+      else
+        am_py_exec_prefix=$exec_prefix
+      fi
+-     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
+-     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
++     am_cv_python_pyexecdir="$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"
+      case $am_cv_python_pyexecdir in
+      $am_py_exec_prefix*)
+        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
+@@ -6723,7 +6721,7 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+ $ac_includes_default
+-#include <pcap.h>
++#include <pcap/pcap.h>
+ _ACEOF
+ rm -f conftest.$ac_objext
+ if { (ac_try="$ac_compile"
+@@ -6764,7 +6762,7 @@
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+-#include <pcap.h>
++#include <pcap/pcap.h>
+ _ACEOF
+ if { (ac_try="$ac_cpp conftest.$ac_ext"
+ case "(($ac_try" in
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/patches/9.Makefile.patch	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,140 @@
+--- nmap-5.21/Makefile.in	2009-12-12 12:26:15.000000000 -0800
++++ nmap-5.21/Makefile.in	2010-02-23 11:34:57.694961587 -0800
+@@ -1,7 +1,9 @@
++SHELL = /bin/bash
+ # Extract the version string from nmap.h.
+ export NMAP_VERSION := $(shell grep '^\#[ \t]*define[ \t]\+NMAP_VERSION' nmap.h | sed -e 's/.*"\(.*\)".*/\1/' -e 'q')
++export TOPDIR=$(shell pwd)
+ NMAP_NAME= Nmap
+-NMAP_URL= http://nmap.org
++NMAP_URL= http://nmap.org/
+ NMAP_PLATFORM=@host@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+@@ -13,12 +15,12 @@
+ deskdir = $(prefix)/share/applications
+ NMAPDEVDIR=~/nmap-private-dev
+ 
+-export NBASEDIR=@NBASEDIR@
+-export NSOCKDIR=@NSOCKDIR@
+-export LIBLUADIR = @LIBLUADIR@
++export NBASEDIR=$(TOPDIR)/@NBASEDIR@
++export NSOCKDIR=$(TOPDIR)/@NSOCKDIR@
++export LIBLUADIR=$(TOPDIR)/@LIBLUADIR@
+ export NDIR=$(shell pwd)
+-export LIBLUA_LIBS = @LIBLUA_LIBS@
+-export NCATDIR=@NCATDIR@
++export LIBLUA_LIBS=$(TOPDIR)/@LIBLUA_LIBS@
++export NCATDIR=$(TOPDIR)/@NCATDIR@
+ CC = @CC@
+ CXX = @CXX@
+ CCOPT = 
+@@ -26,9 +28,9 @@
+ STRIP = @STRIP@
+ LIBPCAPDIR = @libpcapdir@
+ LIBPCREDIR = @LIBPCREDIR@
+-export LIBDNETDIR = @LIBDNETDIR@
+-ZENMAPDIR = zenmap
+-NDIFFDIR = ndiff
++export LIBDNETDIR=$(TOPDIR)/@LIBDNETDIR@
++ZENMAPDIR=$(TOPDIR)/zenmap
++NDIFFDIR=$(TOPDIR)/ndiff
+ PYTHON = @PYTHON@
+ DEFS = @DEFS@ -DNMAP_NAME=\"$(NMAP_NAME)\" -DNMAP_URL=\"$(NMAP_URL)\" -DNMAP_PLATFORM=\"$(NMAP_PLATFORM)\" -DNMAPDATADIR=\"$(nmapdatadir)\"
+ # With GCC, add extra security checks to source code.
+@@ -39,13 +41,13 @@
+ # For mtrace debugging -- see MTRACE define in main.cc for instructions
+ # Should only be enabled during debugging and not in any real release.
+ # DEFS += -DMTRACE=1
+-CXXFLAGS = @CXXFLAGS@ $(DBGFLAGS) $(CCOPT) $(DEFS)
++export CXXFLAGS = @CXXFLAGS@ $(DBGFLAGS) $(CCOPT) $(DEFS) $(INCLS)
++export CFLAGS = @CFLAGS@ $(DBGFLAGS) $(CCOPT) $(DEFS) $(INCLS)
+ CPPFLAGS = @CPPFLAGS@
+-export CFLAGS = $(CXXFLAGS)
+ # CFLAGS = $(DEFS) $(INCLS)
+ STATIC =
+-LDFLAGS = @LDFLAGS@ $(DBGFLAGS) $(STATIC)
+-LIBS =  @LIBNBASE_LIBS@ @LIBNSOCK_LIBS@ @LIBPCRE_LIBS@ @LIBPCAP_LIBS@ @OPENSSL_LIBS@ @LIBDNET_LIBS@ @LIBLUA_LIBS@ @LIBS@ 
++LDFLAGS = @LDFLAGS@ $(DBGFLAGS) $(STATIC) -z ignore
++LIBS =  @LIBNBASE_LIBS@ @LIBNSOCK_LIBS@ @LIBPCRE_LIBS@ @LIBPCAP_LIBS@ @OPENSSL_LIBS@ @LIBDNET_LIBS@ @LIBLUA_LIBS@ @LIBS@ -lsocket -lnsl -lgen
+ # LIBS =  -lefence @LIBS@
+ # LIBS =  -lrmalloc @LIBS@
+ INSTALL = @INSTALL@
+@@ -95,7 +97,10 @@
+ 
+ # %.o : %.cc -- nope this is a GNU extension
+ .cc.o:
+-	$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@
++	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
++
++.c.o:
++	$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+ 
+ all: @LUA_BUILD@ @PCAP_BUILD@ @PCRE_BUILD@ @DNET_BUILD@ @NBASE_BUILD@ @NSOCK_BUILD@ @NCAT_BUILD@
+ 	$(MAKE) $(TARGET) $(BUILDZENMAP) $(BUILDNDIFF)
+@@ -103,7 +108,7 @@
+ $(TARGET): @LUA_DEPENDS@ @PCAP_DEPENDS@ @PCRE_DEPENDS@ @DNET_DEPENDS@ $(NBASEDIR)/libnbase.a $(NSOCKDIR)/src/libnsock.a $(OBJS)
+ 	@echo Compiling nmap
+ 	rm -f $@
+-	$(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
++	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+ 
+ pcre_build: $(LIBPCREDIR)/Makefile
+ 	@echo Compiling libpcre; cd $(LIBPCREDIR) && $(MAKE)
+@@ -207,7 +212,9 @@
+ 	         config.cache config.log config.status
+ 
+ install-nmap: $(TARGET)
+-	$(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(nmapdatadir)
++	$(INSTALL) -d $(DESTDIR)$(bindir)
++	$(INSTALL) -d $(DESTDIR)$(mandir)/man1
++	$(INSTALL) -d $(DESTDIR)$(nmapdatadir)
+ 	$(INSTALL) -c -m 755 nmap $(DESTDIR)$(bindir)/nmap
+ # Use strip -x to avoid stripping dynamically loaded NSE functions. See
+ # http://seclists.org/nmap-dev/2007/q4/0272.html.
+@@ -252,6 +259,8 @@
+ 	cd $(ZENMAPDIR) && $(PYTHON) setup.py build $(if $(DESTDIR),--executable "$(DEFAULT_PYTHON_PATH)")
+ 
+ install-zenmap: $(ZENMAPDIR)/setup.py
++	$(INSTALL) -d $(DESTDIR)$(bindir)
++	$(INSTALL) -d $(DESTDIR)$(mandir)/man1
+ 	$(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 	cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --force $(if $(DESTDIR),--root "$(DESTDIR)")
+ 	$(INSTALL) -c -m 644 docs/zenmap.1 $(DESTDIR)$(mandir)/man1/
+@@ -337,7 +346,7 @@
+ 	./config.status --recheck
+ 
+ makefile.dep:
+-	$(CXX) -MM $(CPPFLAGS) $(SRCS) > $@
++	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -MM $(CPPFLAGS) $(SRCS) | grep -v '/usr/gnu' | grep -v '/usr/include' | grep -v '/usr/sfw' | nawk 'NR>1 { if ($$0 ~ /^.*\.o:/ && line ~ /\\$$/ ) sub(/ \\$$/, "", line); print line }  { line = $$0 } END { sub(/ \\$$/, "", line); print line }' > $@
+ include makefile.dep
+ 
+ # These the old names of scripts that have been renamed or deleted. Any
+--- nmap-5.21/Makefile.in.orig	Thu Mar 17 14:57:06 2011
++++ nmap-5.21/Makefile.in	Thu Mar 17 15:08:06 2011
+@@ -32,6 +32,7 @@
+ ZENMAPDIR=$(TOPDIR)/zenmap
+ NDIFFDIR=$(TOPDIR)/ndiff
+ PYTHON = @PYTHON@
++PYTHONDIR = @pythondir@
+ DEFS = @DEFS@ -DNMAP_NAME=\"$(NMAP_NAME)\" -DNMAP_URL=\"$(NMAP_URL)\" -DNMAP_PLATFORM=\"$(NMAP_PLATFORM)\" -DNMAPDATADIR=\"$(nmapdatadir)\"
+ # With GCC, add extra security checks to source code.
+ # http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html
+@@ -262,7 +263,7 @@
+ 	$(INSTALL) -d $(DESTDIR)$(bindir)
+ 	$(INSTALL) -d $(DESTDIR)$(mandir)/man1
+ 	$(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+-	cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --force $(if $(DESTDIR),--root "$(DESTDIR)")
++	cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --force $(if $(DESTDIR),--root "$(DESTDIR)") --install-lib $(PYTHONDIR)
+ 	$(INSTALL) -c -m 644 docs/zenmap.1 $(DESTDIR)$(mandir)/man1/
+ # Create a symlink from nmapfe to zenmap if nmapfe doesn't exist or is
+ # already a link.
+@@ -276,7 +277,7 @@
+ 	cd $(NDIFFDIR) && $(PYTHON) setup.py build $(if $(DESTDIR),--executable "$(DEFAULT_PYTHON_PATH)")
+ 
+ install-ndiff:
+-	cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)")
++	cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)") --install-lib $(PYTHONDIR)
+ 
+ NSE_FILES = scripts/script.db scripts/*.nse
+ NSE_LIB_LUA_FILES = nselib/*.lua
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/patches/91.tcpip.cc.patch	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,11 @@
+--- nmap-5.21/tcpip.cc	2010-01-14 19:55:23.000000000 -0800
++++ nmap-5.21/tcpip.cc	2010-03-09 20:30:38.315876272 -0800
+@@ -3124,7 +3124,7 @@
+       devs[count].device_type = devt_ethernet;
+ 
+       /* If the device type is ethernet, get the MAC address. */
+-#ifdef SIOCGIFHWADDR
++#if defined(SIOCGIFHWADDR) && (!defined(sun) && !defined(__sun) && !defined(__sun__))
+       memcpy(&tmpifr.ifr_addr, sin, MIN(sizeof(tmpifr.ifr_addr), sizeof(*sin)));
+       rc = ioctl(sd, SIOCGIFHWADDR, &tmpifr);
+       if (rc < 0 && errno != EADDRNOTAVAIL)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/patches/92.intf.c.patch	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,11 @@
+--- nmap-5.21/libdnet-stripped/src/intf.c	2009-08-06 17:11:57.000000000 -0700
++++ nmap-5.21/libdnet-stripped/src/intf.c	2010-03-09 20:32:28.207885025 -0800
+@@ -323,7 +323,7 @@
+ 	/* Set link-level address. */
+ 	if (entry->intf_link_addr.addr_type == ADDR_TYPE_ETH &&
+ 	    addr_cmp(&entry->intf_link_addr, &orig->intf_link_addr) != 0) {
+-#if defined(SIOCSIFHWADDR)
++#if defined(SIOCSIFHWADDR) && (!defined(sun) && !defined(__sun) && !defined(__sun))
+ 		if (addr_ntos(&entry->intf_link_addr, &ifr.ifr_hwaddr) < 0)
+ 			return (-1);
+ 		if (ioctl(intf->fd, SIOCSIFHWADDR, &ifr) < 0)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nmap/patches/93.setup.py.patch	Wed Mar 23 12:42:35 2011 -0700
@@ -0,0 +1,10 @@
+--- nmap-5.21/zenmap/setup.py	2010-01-26 16:57:31.000000000 -0800
++++ nmap-5.21/zenmap/setup.py	2010-02-24 10:12:10.652841785 -0800
+@@ -324,7 +324,6 @@
+             if not re_sys.match(line):
+                 break
+             uline += 1
+-        ucontent.insert(uline, "\nimport sys\nsys.path.append(%s)\n" % repr(modules))
+ 
+         ufile = open(app_file_name, "w")
+         ufile.writelines(ucontent)
--- a/make-rules/setup.py.mk	Tue Mar 22 16:12:59 2011 -0700
+++ b/make-rules/setup.py.mk	Wed Mar 23 12:42:35 2011 -0700
@@ -48,10 +48,6 @@
 	$(COMPONENT_POST_BUILD_ACTION)
 	$(TOUCH) $@
 
-# The default is site-packages, but that directory belongs to the end-user.
-# Modules which are shipped by the OS but not with the core Python distribution
-# belong in vendor-packages.
-PYTHON_LIB= /usr/lib/python$(PYTHON_VERSION)/vendor-packages
 
 COMPONENT_INSTALL_ARGS +=	--root $(PROTO_DIR) 
 COMPONENT_INSTALL_ARGS +=	--install-lib=$(PYTHON_LIB)
--- a/make-rules/shared-macros.mk	Tue Mar 22 16:12:59 2011 -0700
+++ b/make-rules/shared-macros.mk	Wed Mar 23 12:42:35 2011 -0700
@@ -184,6 +184,11 @@
 PYTHON.32 =	$(PYTHON.$(PYTHON_VERSION).$(BITS))
 PYTHON.64 =	$(PYTHON.$(PYTHON_VERSION).$(BITS))
 
+# The default is site-packages, but that directory belongs to the end-user.
+# Modules which are shipped by the OS but not with the core Python distribution
+# belong in vendor-packages.
+PYTHON_LIB= /usr/lib/python$(PYTHON_VERSION)/vendor-packages
+
 JAVA_HOME =	/usr/jdk/instances/jdk1.6.0
 
 PERL =		/usr/perl5/bin/perl