Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25310 - patch for nmap 3.30
Summary: patch for nmap 3.30
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-07-26 03:00 UTC by Sebastian Siewior
Modified: 2003-09-16 08:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for nmap 3.30 + countig patch + protoc version patch (nmap-3.30-r1.ebuild,1.19 KB, text/plain)
2003-07-26 03:03 UTC, Sebastian Siewior
Details
ebuild for nmap 3.30 + countig patch + protoc version patch (nmap-3.30-r1.ebuild,1.19 KB, text/plain)
2003-07-26 03:03 UTC, Sebastian Siewior
Details
nmap-3.30-r1.ebuild (nmap-3.30-r1.ebuild,1.23 KB, text/plain)
2003-09-11 19:34 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Siewior 2003-07-26 03:00:49 UTC
nmap 3.30 with protoc version patch.
scan with -sV looks like:
Port       State       Service             Protocol     Version
22/tcp     open        ssh                 SSH          2.0-OpenSSH_2.9.9p2


Reproducible: Always
Steps to Reproduce:
1. add patch from 
2.
3.

Actual Results:  
created a new ebuild
Comment 1 Sebastian Siewior 2003-07-26 03:03:04 UTC
Created attachment 15029 [details]
ebuild for nmap 3.30 + countig patch + protoc version patch

created a ebuild for this.
works on my box with +gtk -gnome
should work on other...
Comment 2 Sebastian Siewior 2003-07-26 03:03:42 UTC
Created attachment 15030 [details]
ebuild for nmap 3.30 + countig patch + protoc version patch
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-08-03 08:33:26 UTC
no change to get this working

gcc -march=i686 -O3 -pipe -ffast-math -fomit-frame-pointer -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Wall -I../nbase -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DLINUX=1 -DPCAP_TIMEOUT_IGNORED=1  -DVERSION=\"3.30+V\" -DHAVE_CONFIG_H=1 -I.    -L../nbase  -o nmapfe  nmapfe.o nmapfe_sig.o nmapfe_error.o  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lnbase
make: *** [verscan.o] Error 1
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/nmap-3.30-r1/work/nmap-3.30/nmapfe'
Comment 4 Sebastian Siewior 2003-08-03 09:11:07 UTC
strange. it works over here:

g++ -c  -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.30+V\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  verscan.cc -o verscan.o

gcc -march=athlon-tbird -O3 -pipe -fomit-frame-pointer   -c -o regex.o regex.c
Building NmapFE graphical frontend


i USE="+gtk -gnome" for that one and compiler flags are "-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"

g++ and gcc should be the same...
Comment 5 SpanKY gentoo-dev 2003-08-03 11:40:19 UTC
martin: you pasted an incomplete error log ... 
notice the makefile saying it failed building one object when the last compile line 
you show is making a diff object ... 
 
try turning off emake 
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-08-04 11:10:29 UTC
no change to get this working with gcc 2.95
Comment 7 SpanKY gentoo-dev 2003-09-11 19:34:10 UTC
Created attachment 17536 [details]
nmap-3.30-r1.ebuild

update for the V+3.00 patch
Comment 8 SpanKY gentoo-dev 2003-09-11 19:34:54 UTC
unfortunately, martin was right, 2.95.3 doesnt work ...

root@rux0r 0 nmap-3.30 # make
g++ -c  -march=i686 -O3 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall  -Ilibpcap-possiblymodified -Inbase  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.30+V\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified -I. -Imenes  verscan.cc -o verscan.o
verscan.cc: In method `bool ScanStatus::Execute(unsigned int)':
verscan.cc:619: ambiguous overload for `bool ? int : ext::Handle<xml::Element,ext::ReferenceManager<xml::Element> >'
verscan.cc:619: candidates are: operator ?:(bool, ext::Handle<xml::Element,ext::ReferenceManager<xml::Element> >, ext::Handle<xml::Element,ext::ReferenceManager<xml::Element> >) <builtin>
verscan.cc:619:                 operator ?:(bool, xml::Element *, xml::Element *) <builtin>
verscan.cc:628: ambiguous overload for `bool ? int : ext::Handle<xml::Element,ext::ReferenceManager<xml::Element> >'
verscan.cc:628: candidates are: operator ?:(bool, ext::Handle<xml::Element,ext::ReferenceManager<xml::Element> >, ext::Handle<xml::Element,ext::ReferenceManager<xml::Element> >) <builtin>
verscan.cc:628:                 operator ?:(bool, xml::Element *, xml::Element *) <builtin>
make: *** [verscan.o] Error 1
Comment 9 Sebastian Siewior 2003-09-16 08:25:24 UTC
okey, sorry guys. strange it works on my box
Comment 10 Sebastian Siewior 2003-09-16 08:34:59 UTC
oh
some one could close this beacause as far I see this patch is allready in the regular release of nmap :)
Comment 11 SpanKY gentoo-dev 2003-09-16 08:44:13 UTC
sounds good :)