Skip to content

Commit

Permalink
Nmap 3.90 release
Browse files Browse the repository at this point in the history
  • Loading branch information
fyodor committed Sep 8, 2005
1 parent c939fda commit ba9cc97
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Nmap Changelog ($Id$)

Nmap 3.90

o Added the ability for Nmap to send and properly route raw ethernet
packets cointaining IP datagrams rather than always sending the
packets via raw sockets. This is particularly useful for Windows,
Expand Down Expand Up @@ -63,6 +65,11 @@ o Nmap on Windows now compiles/links with the new WinPcap 3.1
http://www.winpcap.org before installing this version of Nmap.
While older versions may still work, they aren't supported with Nmap.

o The official Nmap RPM files are now compiled staticly for better
compatability with other systems. X86_64 (AMD Athlon64/Opteron)
binaries are now available in addition to the standard i386. NmapFE
RPMs are no longer distributed by Insecure.Org.

o Nmap distribution signing has changed. Release files are now signed
with a new Nmap Project GPG key (KeyID 6B9355D0). Fyodor has also
generated a new key for himself (KeyID 33599B5F). The Nmap key has
Expand Down Expand Up @@ -273,6 +280,9 @@ o Added new --privileged command-line option and NMAP_PRIVILEGED
flag or variable set, Nmap bails on UNIX if geteuid() is
nonzero.

o Changed the RPM spec file so that if you define "static" to 1 (by
passing --define "static 1" to rpmbuild), static binaries are built.

o Fixed Nmap compilation on Solaris x86 thanks to a patch from Simon
Burr (simes(a)bpfh.net).

Expand Down
6 changes: 5 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ LIBS = @LIBNBASE_LIBS@ @LIBNSOCK_LIBS@ @LIBPCRE_LIBS@ @LIBPCAP_LIBS@ @OPENSSL_L
SHTOOL = ./shtool
INSTALL = $(SHTOOL) install
MAKEDEPEND = @MAKEDEPEND@
export RPMTDIR=$(HOME)/rpmdir
export RPMTDIR=$(HOME)/rpm

# DESTDIR is used by some package maintainers to install Nmap under
# its usual directory structure into a different tree. See the
Expand Down Expand Up @@ -96,6 +96,10 @@ nmapfe/nmapfe:
# -cd nmapfe; test -f Makefile && $(MAKE) VERSION=$(NMAP_VERSION) STATIC=$(STATIC);
# @echo "END OF SECTION WHERE FAILURES ARE OK"

# Make a statically compiled binary for portability between distributions
static:
$(MAKE) STATIC=-static

# Make the Nmap tarball
distro:
cd scripts && $(MAKE) distro
Expand Down
2 changes: 1 addition & 1 deletion docs/nmap.usage.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Nmap 3.84ALPHA2 Usage: nmap [Scan Type(s)] [Options] <host or net list>
Nmap 3.90 Usage: nmap [Scan Type(s)] [Options] <host or net list>
Some Common Scan Types ('*' options require root privileges)
* -sS TCP SYN stealth port scan (default if privileged (root))
-sT TCP connect() port scan (default for unprivileged users)
Expand Down
10 changes: 8 additions & 2 deletions nmap.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
%define release 1
%define prefix /usr

# to not build the frontend, add:
# To not build the frontend, add:
# --define "buildfe 0"
# ...to the rpm build command-line
# To build a static rpm, add:
# --define "static 1"

%if "%{buildfe}" != "0"
%define buildfe 1
Expand Down Expand Up @@ -54,7 +56,11 @@ be installed before installing nmap-frontend.
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=%{prefix} --mandir=%{prefix}/share/man --without-openssl
make
%if "%{static}" == "1"
make static
%else
make
%endif

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
Expand Down
4 changes: 3 additions & 1 deletion scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ distro:
# Make the actual RPM
# Note -- on newer systems rpmbuild -ta is needed instead.
# rpm -ta /usr/tmp/nmap-$(NMAP_VERSION).tgz
rpmbuild -ta --define "buildfe 0" --define "static 1" /usr/tmp/nmap-$(NMAP_VERSION).tgz
cp -f $(RPMTDIR)/RPMS/x86_64/nmap-$(NMAP_VERSION)-1.x86_64.rpm /usr/tmp
# cp -f $(RPMTDIR)/RPMS/i386/nmap-$(NMAP_VERSION)-1.i386.rpm /usr/tmp
# cp -f $(RPMTDIR)/RPMS/i386/nmap-frontend-$(NMAP_VERSION)-1.i386.rpm /usr/tmp
# cp -f $(RPMTDIR)/SRPMS/nmap-$(NMAP_VERSION)-1.src.rpm /usr/tmp
cp -f $(RPMTDIR)/SRPMS/nmap-$(NMAP_VERSION)-1.src.rpm /usr/tmp
rm -rf /usr/tmp/nmap-$(NMAP_VERSION)

0 comments on commit ba9cc97

Please sign in to comment.