Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
desktop
>
nmap
> nmap.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nmap.spec of Package nmap (Revision 5)
Currently displaying revision
5
,
show latest
# # spec file for package nmap (Version 5.51) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} Name: nmap BuildRequires: gcc-c++ BuildRequires: gtk2-devel BuildRequires: libdnet-devel BuildRequires: libpcap-devel BuildRequires: lua-devel BuildRequires: openssl-devel BuildRequires: pcre-devel BuildRequires: python-devel BuildRequires: update-desktop-files BuildRequires: fdupes BuildRequires: dos2unix Url: http://www.insecure.org/nmap/ License: GPLv2+ Group: Productivity/Networking/Diagnostic AutoReqProv: on Version: 5.51 Release: 21.1 Summary: Portscanner BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: http://nmap.org/dist/nmap-%{version}.tar.bz2 Patch: nmap-4.00-libpcap-filter.diff Patch1: nmap-4.00-noreturn.diff Patch2: nmap-5.00-desktop_files.patch Patch3: nmap-4.75-nostrip.patch %description Nmap is designed to allow system administrators and curious individuals to scan large networks to determine which hosts are up and what services they are offering. XNmap is a graphical front-end that shows nmap's output clearly. Find documentation in %{_docdir}/%{name} Authors: -------- Fyodor <fyodor@dhp.com> %package -n zenmap License: GPLv2+ Summary: A Graphical Front-End for Nmap Group: Productivity/Networking/Diagnostic Requires: %name = %version Obsoletes: %name-gtk Provides: %name-gtk = %{version}-%{release} %py_requires %description -n zenmap zenmap is a graphical front-end for the nmap network scanner Authors: -------- Fyodor <fyodor@dhp.com> %package -n ncat License: GPLv2+ Summary: Network Tool to concatenate and redirect Sockets Group: Productivity/Networking/Diagnostic %description -n ncat Ncat is a feature-packed networking utility which will read and write data across a network from the command line. Ncat was written for the Nmap Project and is the culmination of the currently splintered family of Netcat incarnations. It uses both TCP and UDP for communication and is designed to be a reliable back-end tool to instantly provide network connectivity to other applications and users. Ncat will not only work with IPv4 and IPv6 but provides the user with a virtually limitless number of potential uses. Among Ncat´s vast number of features there is the ability to chain Ncats together, redirect both TCP and UDP ports to other sites, SSL support, and proxy connections via SOCKS4 or HTTP (CONNECT method) proxies (with optional proxy authentication as well). Some general principles apply to most applications and thus give you the capability of instantly adding networking support to software that would normally never support it. Authors: -------- Fyodor <fyodor@dhp.com> %package -n ndiff License: GPLv2+ Summary: Compare Results of Nmap Scans Group: Productivity/Networking/Diagnostic %py_requires %description -n ndiff Ndiff is a tool to aid in the comparison of Nmap scans. It takes two Nmap XML output files and prints the differences between them: hosts coming up and down, ports becoming open or closed, etc. Authors: -------- Fyodor <fyodor@dhp.com> %package -n nping License: GPLv2+ Summary: Nping packet probing and analysis tool Group: Productivity/Networking/Diagnostic %description -n nping Nping packet probing and analysis tool. Authors: -------- Fyodor <fyodor@dhp.com> %prep %setup -q %patch %patch1 -p1 %patch2 -p0 %patch3 -p0 #fix locale dir mv zenmap/share/zenmap/locale zenmap/share sed -i -e "s|^locale_dir =.*$|locale_dir = os.path.join('share','locale')|" \ -e 's|join(self.install_data, data_dir)|join(self.install_data, "share")|' zenmap/setup.py sed -i 's|^LOCALE_DIR = .*|LOCALE_DIR = join(prefix, "share", "locale")|' zenmap/zenmapCore/Paths.py #fix jp/ja pt_PT/pt zh/zh_CN locale sed -i '/ALL_LINGUAS =/s/jp/ja/' Makefile.in sed -i '/ALL_LINGUAS =/s/pt_PT/pt/' Makefile.in sed -i '/ALL_LINGUAS =/s/zh/zh_CN/' Makefile.in mv docs/man-xlate/nmap-jp.1 docs/man-xlate/nmap-ja.1 mv docs/man-xlate/nmap-pt_PT.1 docs/man-xlate/nmap-pt.1 mv docs/man-xlate/nmap-zh.1 docs/man-xlate/nmap-zh_CN.1 %build %configure --with-libpcap="%{_usr}" \ --with-libdnet=included \ --with-libpcre="%{_usr}" %__make %{?jobs:-j%jobs} %install %__make DESTDIR="%{buildroot}" deskdir="%{_datadir}/gnome/apps/Utilities/" install %__rm "%{buildroot}%{_bindir}/uninstall_zenmap" %__install -d "%{buildroot}/usr/share/pixmaps/" %__ln_s ../zenmap/pixmaps/zenmap.png "%{buildroot}/usr/share/pixmaps/zenmap.png" %suse_update_desktop_file zenmap System Network %suse_update_desktop_file zenmap-root System Network %find_lang zenmap touch -r %{buildroot}/%{python_sitelib}/zenmapCore/Paths.py %{buildroot}/%{python_sitelib}/zenmapCore/Paths.pyc dos2unix %{buildroot}%{_datadir}/%{name}/nselib/data/oracle-sids %fdupes -s %{buildroot} %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc COPYING* CHANGELOG HACKING %doc docs/README %doc docs/nmap.usage.txt %dir %{_mandir}/hr %dir %{_mandir}/hr/man1 %dir %{_mandir}/hu %dir %{_mandir}/hu/man1 %dir %{_mandir}/pl %dir %{_mandir}/pl/man1 %dir %{_mandir}/pt %dir %{_mandir}/pt/man1 %dir %{_mandir}/ro %dir %{_mandir}/ro/man1 %dir %{_mandir}/ru %dir %{_mandir}/ru/man1 %dir %{_mandir}/sk %dir %{_mandir}/sk/man1 %dir %{_mandir}/zh_CN %dir %{_mandir}/zh_CN/man1 %{_mandir}/man1/nmap.1.gz %{_mandir}/*/man1/* %{_bindir}/nmap %{_datadir}/nmap %files -n zenmap -f zenmap.lang %defattr(-,root,root) %{_bindir}/xnmap %{_bindir}/zenmap %{_bindir}/nmapfe %{python_sitelib}/zenmap-%{version}-py%{py_ver}.egg-info %{python_sitelib}/zenmapCore %{python_sitelib}/zenmapGUI %{python_sitelib}/radialnet %{_datadir}/applications/zenmap-root.desktop %{_datadir}/applications/zenmap.desktop %{_datadir}/pixmaps/zenmap.png %{_datadir}/zenmap %{_mandir}/man1/zenmap.1.gz %files -n ncat %defattr(-,root,root) %{_bindir}/ncat %{_mandir}/man1/ncat.1.gz %dir %{_datadir}/ncat %config(noreplace) %{_datadir}/ncat/ca-bundle.crt %files -n ndiff %defattr(-,root,root) %{_bindir}/ndiff %{_mandir}/man1/ndiff.1.gz %files -n nping %defattr(-,root,root) %{_bindir}/nping %{_mandir}/man1/nping.1.gz %changelog * Fri Apr 29 2011 Carsten Schoene <cs@linux-administrator.com> - 5.51-1 - update to release 5.51 * Sat Jan 29 2011 Carsten Schoene <cs@linux-administrator.com> - 5.50-1 - update to release 5.50 * Sat Oct 30 2010 malcolmlewis@opensuse.org - spec file clean up to build on SLE and openSUSE < 11.3 * Fri Aug 27 2010 anicka@suse.cz - update to 5.21 * Dramatically improved the version detection database, integrating 2,596 submissions that users contributed since February 3, 2009! * bugfixes * Mon Apr 19 2010 meissner@suse.de - disable md2 in the scripting language (no longer supplied by default openssl) * Fri Oct 9 2009 anicka@suse.cz - fixed bnc#528581 * Wed Aug 12 2009 coolo@novell.com - Pascal updated to 5.00 with way too many changes to list them, see /usr/share/doc/packages/nmap/CHANGELOG - introduce ncat and ndiff packages providing tools for nmap scans * Sun Aug 9 2009 coolo@novell.com - use new python macros * Tue Jun 23 2009 meissner@suse.de - remove strip so we have debuginfos * Thu Sep 11 2008 hvogel@suse.de - Update to 4.75 * [Zenmap] Added a new Scan Topology system. * [Zenmap] Another exciting new Zenmap feature is Scan Aggregation. * [Zenmap] Added a context-sensitive help system to the Profile Editor. * Expanded nmap-services to include information on how frequently each port number is found open. * Nmap now scans the most common 1,000 ports by default in either protocol (UDP scan is still optional). * Nmap fast scan (-F) now scans the top 100 ports by default in either protocol. * The --top-ports option lets you specify the number of ports you wish to scan in each protocol, and will pick the most popular ports for you based on the new frequency data. * integrated all of the OS detection fingerprint and correction submissions - rename nmap-gtk subpackage to zenmap * Mon Sep 8 2008 hvogel@suse.de - update to version 4.68 * Too many changes to list, see http://nmap.org/changelog.html * Thu Apr 3 2008 crrodriguez@suse.de - update to version 4.60 tons of bugfixes, see http://nmap.org/changelog.html - Wrong files for package nmap in openSUSE:Factory [BNC #369021] - We have to buildrequire lua-devel, otherwise bundled is used * Sun Mar 2 2008 coolo@suse.de - fix packaging issues * Mon Jan 21 2008 mskibbe@suse.de - update to version 4.53 which o Added UPnP-info NSE script. It gathers information from the UPnP service (UDP port 1900) which listens on many network devices such as routers, printers, and networked media players. o Fix a lot of Bugs o The Nmap Scripting Engine (NSE) now supports run-time interaction and the Nmap --host-timeout option. * Thu Jul 26 2007 prusnak@suse.cz - changed libpcap to libpcap-devel in BuildRequires * Mon Apr 30 2007 ro@suse.de - change last patch to build * Thu Apr 19 2007 mskibbe@suse.de - fix build bug * Thu Feb 22 2007 mskibbe@suse.de - update to version 4.20 which o Integrated the latest OS fingerprint submissions o Fix Bugs * Sun Jan 7 2007 ro@suse.de - GNOME moved to /usr * Thu Oct 26 2006 dmueller@suse.de - build against system provided libdnet * Thu Jul 13 2006 mskibbe@suse.de - update to version 4.11 which o Added a dozens of more detailed SSH version detection signatures o Fixed the Nmap Makefile o Fixed a compilation problem on solaris and possibly other platforms. o Applied a patch which helps with HP-UX compilation by linking in the nm library (-lnm o Added version detection probes for detecting the Nessus daemon. * Sat Feb 25 2006 aj@suse.de - Reduce BuildRequires. * Thu Feb 2 2006 hvogel@suse.de - update to 4.0 final. Only some metadata updates * Fri Jan 27 2006 hvogel@suse.de - added pcre-devel to buildrequires - updated to 3.999 which includes: o Upgraded the included LibPCRE from version 6.3 to 6.4. o Integrated all remaining 2005 service submissions. o Added run time interaction o Reverse DNS resolution is now done in parallel o Added the --badsum option, which causes Nmap to use invalid TCP or UDP checksums for packets sent to target hosts. o More excellent NmapFE patches from Priit Laes o Added --max_retries option o Many of the Nmap low-level timing options take a value in milliseconds. o Made some changes to allow source port zero scans (-g0). * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Dec 9 2005 hvogel@suse.de - 3.95 update * Thu Nov 3 2005 dmueller@suse.de - 3.93 update (fixes #129227) * Fri Oct 14 2005 sf@suse.de - fix specfile * Fri Oct 14 2005 sf@suse.de - fix C++ Problem with gcc 4.1 - fix Makefile.in to use RPM_OPT_FLAGS * Fri Sep 9 2005 mmj@suse.de - Update to nmap-3.90 * Wed Aug 24 2005 hvogel@suse.de - use internal pcre to avoid problems with SYN scan [#104337] * Tue Aug 16 2005 mmj@suse.de - Don't strip binaries * Tue Aug 9 2005 hvogel@suse.de - Build against system libpcap/libpcre to avoid libpcap bugs [Bug #98249] * Wed Mar 23 2005 sbrabec@suse.cz - Moved desktop file, added icon (#73653). * Tue Feb 8 2005 meissner@suse.de - fix return values of gencode.c. * Tue Feb 8 2005 mmj@suse.de - Update to nmap-3.81 * Mon Feb 7 2005 mmj@suse.de - Update to nmap-3.80 * Fri Dec 3 2004 mmj@suse.de - Update to nmap-3.77 * Wed Oct 20 2004 mmj@suse.de - Update to nmap-3.75 * Wed Sep 1 2004 mmj@suse.de - Update to nmap-3.70 * Thu Jul 8 2004 mmj@suse.de - Update to nmap-3.55 * Tue Feb 10 2004 mmj@suse.de - Fix accidental deletion of specfile tag * Tue Feb 10 2004 mmj@suse.de - Add openssl to #nfb in order to enable SSL-scan-through support * Thu Jan 22 2004 mmj@suse.de - Update to nmap-3.50 * Wed Nov 19 2003 hvogel@suse.de - move nmapfe/xnmap to a subpackage nmap-gtk - make use of openssl - fix DESTDIR patch - dont build as root * Wed Oct 8 2003 mmj@suse.de - Update to version 3.48 * Sat Aug 16 2003 adrian@suse.de - add Categories * Sat Jul 19 2003 mmj@suse.de - Update to version 3.30 * Sun Jun 22 2003 mmj@suse.de - Update to version 3.28 * Mon May 26 2003 mmj@suse.de - Update to nmap-3.27 * Tue May 13 2003 mmj@suse.de - Use %%defattr * Tue Apr 1 2003 mmj@suse.de - Update to nmap-3.20 * Tue Sep 17 2002 ro@suse.de - removed bogus self-provides * Sun Aug 18 2002 adrian@suse.de - fix neededforbuild - use BuildRoot - add missing files to file list * Mon Aug 5 2002 draht@suse.de - long awaited version 3.00. News: * 700 operation systems + network devices in fingerprint database * uptime scan * XML output * all references to God in error messages are capitalized added filter.dif security fix for homegrown libpcap. * Wed Jan 9 2002 draht@suse.de - new version 2.54BETA30. * Thu Aug 9 2001 ro@suse.de - fixed specfile to build (suse_update_config before autoconf) * Tue May 8 2001 draht@suse.de - update to 2.54BETA22 * Sun Jan 28 2001 schwab@suse.de - Add %%suse_update_config. * Mon Nov 13 2000 ro@suse.de - fixed inet_aton detection * Sat Nov 4 2000 kukuk@suse.de - fix neededforbuild * Tue Jul 11 2000 mge@suse.de - update to 2.53, move /usr/lib/nmap to /usr/share/nmap * Tue Feb 22 2000 garloff@suse.de - Version 2.3BETA14. Move manpage to /usr/share/man * Mon Oct 25 1999 freitag@suse.de - update to version 2.3BETA6 * Wed Oct 20 1999 freitag@suse.de - new version 2.12 * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Thu Mar 18 1999 uli@suse.de - new package, version 2.02